@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');
:root{font-family:'DM Sans',system-ui,sans-serif;color:#ecf4f6;background:#0b111d;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}:focus-visible{outline:2px solid #4de1c2;outline-offset:3px}[hidden]{display:none!important}.app-shell{display:flex;min-height:100vh;background:radial-gradient(circle at 67% -20%,#163e46 0,transparent 38%),#0b111d}.sidebar{width:238px;flex:none;border-right:1px solid #243242;padding:32px 20px;display:flex;flex-direction:column;background:#0b1421}.brand{display:flex;align-items:center;gap:11px;font:800 22px Outfit,sans-serif;letter-spacing:-.7px}.brand-mark{display:grid;place-items:center;background:#35dfb3;color:#0b1720;border-radius:13px;font-size:25px;width:39px;height:39px}.brand-accent{color:#4de1c2}.brand small{display:block;color:#91a3af;font:500 11px 'DM Sans',sans-serif;letter-spacing:.7px;margin-top:2px}.nav{margin-top:62px;display:grid;gap:8px}.nav-item{background:transparent;border:0;color:#a9b9c6;display:flex;align-items:center;gap:14px;text-align:left;font-weight:700;font-size:14px;padding:14px 15px;border-radius:13px}.nav-item:hover,.nav-item.active{background:#163a42;color:#76f1d2}.nav-item>span:first-child{font-size:20px;width:22px;text-align:center}.nav-arrow{margin-left:auto;color:#769099}.sidebar-bottom{margin-top:auto;border:1px solid #294151;border-radius:17px;padding:20px;color:#a3b6c1;font-size:13px;line-height:1.6;background:linear-gradient(140deg,#153139,#111b2c)}.sidebar-bottom p{margin:8px 0 0}.small-icon{font-size:24px;color:#70ebcf}.main{width:100%;max-width:1500px;margin:0 auto;padding:41px clamp(22px,4vw,58px) 70px}.topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:25px;margin-bottom:34px}.eyebrow{color:#8299a9;font-size:11px;font-weight:800;letter-spacing:2px;margin:0 0 10px}.eyebrow.teal{color:#55dcbc}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Outfit,'DM Sans',sans-serif}h1{font-size:clamp(30px,3vw,42px);line-height:1.1;letter-spacing:-1.5px;margin-bottom:9px}h2{font-size:23px;letter-spacing:-.6px;margin-bottom:0}h3{font-size:15px}.muted{color:#91a6b5;font-size:14px;line-height:1.55;margin:0}.top-actions{display:flex;align-items:center;gap:15px;padding-top:8px;white-space:nowrap}.storage-note{font-size:12px;color:#839baa}.storage-note::first-letter{color:#52dab5}.games-link,.ghost-btn,.secondary-btn,.tool-btn{border:1px solid #345063;border-radius:11px;background:#162637;color:#dbf1f0;font-size:13px;font-weight:700;padding:12px 16px}.games-link:hover,.ghost-btn:hover,.secondary-btn:hover,.tool-btn:hover{border-color:#4de1c2}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);gap:22px}.left-column,.right-column{display:grid;align-content:start;gap:22px}.card{background:linear-gradient(150deg,#172536,#101b2b);border:1px solid #294052;border-radius:21px;padding:26px;box-shadow:0 17px 35px #0002}.focus-card{background:radial-gradient(circle at 77% 19%,#1a4044 0,transparent 43%),linear-gradient(160deg,#18293a,#101b2b)}.card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:25px}.status-pill{font-size:11px;color:#84e8d0;background:#133d3c;border:1px solid #285d57;border-radius:20px;padding:7px 11px;white-space:nowrap}.field-label{display:block;color:#c4d6de;font-size:13px;font-weight:700;margin-bottom:10px}.task-input,.next-row input,.capture-row input,textarea{width:100%;background:#0d1928;color:#f3fcfd;border:1px solid #385166;border-radius:11px;padding:14px 15px;outline:0}.task-input:focus,.next-row input:focus,.capture-row input:focus,textarea:focus{border-color:#48e1be;box-shadow:0 0 0 3px #42e0bd1b}input::placeholder,textarea::placeholder{color:#6f8798}.task-input{font-size:16px}.timer-row{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:30px}.timer-ring{width:230px;height:230px;flex:none;border-radius:50%;background:conic-gradient(#49deb9 0deg,#304d54 0deg);padding:11px;box-shadow:0 0 35px #31c9a91a}.timer-inner{border-radius:50%;width:100%;height:100%;background:#132737;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.timer-label{color:#6bddbf;font-size:9px;font-weight:800;letter-spacing:1.5px}.timer-inner strong{font:700 48px Outfit,sans-serif;letter-spacing:-2px;margin:7px 0}.timer-sub{font-size:10px;color:#8ea7b6}.timer-settings{max-width:260px;width:100%}.duration-options{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.duration-options button{color:#bed4da;background:#142536;border:1px solid #345064;border-radius:9px;padding:10px 7px;font-size:12px;font-weight:700}.duration-options button.selected{background:#235c57;color:#9dffe5;border-color:#42d5b4}.duration-options button:disabled{opacity:.5;cursor:not-allowed}.setting-hint{color:#7894a5;font-size:11px;line-height:1.5;margin:13px 0 17px}.timer-controls{display:flex;gap:8px;flex-wrap:wrap}.primary-btn{background:#4de1bb;color:#0a2525;border:0;border-radius:11px;padding:13px 18px;font-size:13px;font-weight:800;box-shadow:0 8px 25px #27d0ac2b}.primary-btn:hover{background:#74efd0}.session-tools{display:flex;gap:10px;margin-top:28px;border-top:1px solid #31495a;padding-top:20px;flex-wrap:wrap}.tool-btn.success{color:#a5f4d7}.plan-card .card-head{margin-bottom:12px}.next-row,.capture-row{display:flex;gap:9px;margin-top:18px}.next-row input,.capture-row input{min-width:0}.feedback{font-size:12px;color:#65e7c3;margin:7px 0 0;min-height:17px}.stats-card{padding-bottom:22px}.stats-grid{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #304656;padding:10px 0 24px;gap:15px}.stats-grid div{display:flex;flex-direction:column;gap:2px}.stats-grid strong{font:700 42px Outfit,sans-serif;color:#72edce}.stats-grid span{font-size:12px;color:#93a9b6}.weekly{padding-top:23px}.weekly-head{display:flex;justify-content:space-between;align-items:center}.weekly-head h3{margin:0}.weekly-head span{font-size:11px;color:#8299a9}.weekly-chart{height:100px;display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:15px}.bar-column{height:100%;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px}.bar-track{height:72px;width:100%;max-width:27px;border-radius:6px;background:#203646;display:flex;align-items:flex-end;overflow:hidden}.bar-fill{width:100%;min-height:3px;background:linear-gradient(#62ecc9,#259c88);border-radius:6px}.bar-column span{font-size:10px;color:#8fa6b1}.distraction-card .card-head{margin-bottom:9px}.soft-icon{font-size:22px;color:#eabb79}.distraction-list{list-style:none;margin:15px 0 0;padding:0;max-height:190px;overflow:auto}.distraction-list li{display:flex;justify-content:space-between;gap:8px;padding:10px 0;border-bottom:1px solid #263e4f;font-size:12px;color:#c8d9df}.distraction-list button{background:none;border:0;color:#839ba8;font-size:15px;padding:0 4px}.distraction-list button:hover{color:#eeb6ae}.empty-hint{font-size:12px;color:#718c9d;margin:15px 0 0}.rescue-card{display:flex;align-items:center;gap:13px;border:1px solid #325b59;background:linear-gradient(100deg,#154842,#122c36);border-radius:18px;padding:19px}.rescue-card:hover{border-color:#6eebce}.rescue-icon{display:grid;place-items:center;color:#0b2725;background:#57e9c5;width:40px;height:40px;border-radius:12px;font-size:22px;flex:none}.rescue-card strong{display:block;font-size:13px;margin-bottom:4px}.rescue-card small{font-size:11px;color:#a8c9c9;line-height:1.4;display:block}.rescue-go{margin-left:auto;color:#7fe9cd}.history-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.history-heading h2{font-size:30px;margin-bottom:5px}.history-card{max-width:900px}.history-entry{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #2a4352;padding:17px 0}.history-entry:last-child{border-bottom:0}.history-entry strong{font-size:15px}.history-entry p{font-size:12px;color:#8ea7b4;margin:6px 0 0}.history-entry span{color:#68e2bd;font-weight:800;white-space:nowrap}.empty-hint.large{font-size:14px;padding:30px 0;margin:0}dialog.modal{border:1px solid #3e6564;border-radius:21px;background:#162637;color:#eef8f8;padding:28px;width:min(450px,calc(100% - 30px));box-shadow:0 35px 100px #0009}dialog::backdrop{background:#000a}.modal-icon{display:grid;place-items:center;background:#3ce0b5;color:#0b2626;font-weight:900;font-size:23px;border-radius:50%;width:44px;height:44px;margin-bottom:16px}.modal h2{margin-bottom:8px}.modal .field-label{margin-top:22px}.modal textarea{resize:vertical}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}
@media(max-width:1050px){.sidebar{width:195px}.dashboard-grid{grid-template-columns:1fr}.right-column{grid-template-columns:1fr 1fr}.stats-card{grid-row:span 2}}@media(max-width:740px){.app-shell{display:block}.sidebar{width:100%;padding:16px 18px;border-right:0;border-bottom:1px solid #263a4b}.brand{font-size:19px}.brand-mark{width:34px;height:34px}.brand small,.sidebar-bottom{display:none}.nav{display:flex;gap:5px;margin-top:16px;overflow:auto}.nav-item{white-space:nowrap;padding:9px 11px;font-size:12px}.nav-item>span:first-child{font-size:16px;width:auto}.main{padding:27px 17px 45px}.topbar{display:block;margin-bottom:23px}.top-actions{margin-top:16px}.storage-note{display:none}.dashboard-grid,.right-column{display:grid;grid-template-columns:1fr;gap:15px}.left-column{gap:15px}.stats-card{grid-row:auto}.card{padding:20px}.timer-row{flex-direction:column;align-items:center;margin-top:25px}.timer-ring{width:224px;height:224px}.timer-settings{max-width:none}.timer-controls .primary-btn{flex:1}.duration-options{grid-template-columns:repeat(4,1fr)}.duration-options button{font-size:11px;padding:9px 3px}.setting-hint{margin:10px 0}.card-head{margin-bottom:19px}.history-heading{align-items:flex-start;gap:9px}.history-heading h2{font-size:25px}.history-heading .ghost-btn{white-space:nowrap;padding:10px}}

/* Quiet night palette inspired by the supplied reference. */
:root{color:#e7e9eb;background:#101a2b}
.app-shell{background:#101a2b}
.sidebar{background:#111c30;border-color:#314159}
.brand-mark{background:#d9c8ad;color:#1e3048}
.brand-accent{color:#d7c1a4}
.nav-item.active,.nav-item:hover{background:#283d58;color:#f0e7d8}
.sidebar-bottom{background:#1a2a42;border-color:#344961;color:#b7c1cc}
.small-icon,.eyebrow.teal,.rescue-go{color:#d6bb9d}
.main{max-width:1440px}
.eyebrow{color:#aab6c4}
.muted{color:#aebbc9}
.storage-note{color:#b6c4cc}
.storage-note::first-letter{color:#d5bea0}
.card{background:#192942;border-color:#32455e;box-shadow:none}
.focus-card{background:#1b2d48}
.status-pill{color:#e5d3bd;background:#2f4055;border-color:#58677a}
.task-input,.next-row input,.capture-row input,textarea{background:#142239;border-color:#465972;color:#f4f2ee}
.task-input:focus,.next-row input:focus,.capture-row input:focus,textarea:focus{border-color:#d4bca0;box-shadow:0 0 0 3px #d4bca022}
input::placeholder,textarea::placeholder{color:#8798aa}
.timer-ring{background:conic-gradient(#d6bca0 0deg,#41546c 0deg);box-shadow:none}
.timer-inner{background:#203550}
.timer-label,.timer-sub{color:#bbcad6}
.duration-options button{background:#20334e;border-color:#455a72;color:#d9e0e7}
.duration-options button.selected{background:#455a72;border-color:#acb7c2;color:#fff}
.setting-hint{color:#a6b4c2}
.primary-btn{background:#d8c3a8;color:#1a2b41;box-shadow:none}
.primary-btn:hover{background:#e5d3ba}
.games-link,.ghost-btn,.secondary-btn,.tool-btn{background:#263b56;border-color:#4a5e77;color:#e7e9e9}
.games-link:hover,.ghost-btn:hover,.secondary-btn:hover,.tool-btn:hover{border-color:#cbb79d}
.stats-grid strong{color:#e3d0b8}
.bar-track{background:#2d405a}.bar-fill{background:#bfc8d0}
.soft-icon{color:#d6bca0}.rescue-card{background:#263a55;border-color:#4a5b73}.rescue-card:hover{border-color:#c7b69e}.rescue-icon{background:#d8c3a8;color:#1c314b}
.history-entry span,.feedback{color:#dec9ad}
dialog.modal{background:#1b2c45;border-color:#5a6880}.modal-icon{background:#d8c3a8;color:#1b2d45}
.landscape-banner{position:relative;height:220px;margin-bottom:24px;border-radius:21px;overflow:hidden;border:1px solid #3d5068;background:#203452 url('/landscape.png') center 54%/cover no-repeat}
.landscape-banner::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0d1a2bd9 0%,#0d1a2b66 48%,transparent 78%)}
.landscape-copy{position:relative;z-index:1;padding:29px 38px;max-width:500px}
.landscape-copy .eyebrow{font-size:11px;color:#e4cfb5}
.landscape-copy h2{font-size:clamp(24px,2.4vw,32px);line-height:1.18;margin-bottom:10px;font-weight:600}
.landscape-copy p:last-child{color:#c6d0d7;font-size:14px}
@media(max-width:740px){.landscape-banner{height:190px;margin-bottom:16px}.landscape-copy{padding:24px}.landscape-copy h2{font-size:25px}.topbar{margin-bottom:21px}}
.timer-sub:empty{display:none}
.topbar{margin-bottom:24px}
.landscape-banner{height:205px}
.landscape-copy{padding:30px 38px}
.focus-card .card-head,.distraction-card .card-head{margin-bottom:20px}
.stats-card h2{margin-bottom:15px}
.timer-controls{margin-top:17px}
@media(max-width:740px){.landscape-banner{height:175px}.landscape-copy{padding:25px}.topbar{margin-bottom:18px}}
