@charset "UTF-8";
:root{color-scheme:dark;--bg:#171719;--sidebar:#131315;--panel:#202023;--surface:#252528;--border:#303034;--text:#f0eee9;--muted:#a5a3a1;--faint:#777575;--red:#e06a62;--red-solid:#b93c38;--red-hover:#d04942;--red-wash:#352323;--hero:#242021;--field:#19191c;--shadow:0 16px 40px #00000012}
:root[data-theme=light]{color-scheme:light;--bg:#f6f5f1;--sidebar:#eeede8;--panel:#fffefa;--surface:#f0efe9;--border:#dddbd3;--text:#282624;--muted:#6e6a65;--faint:#77716a;--red:#aa332c;--red-solid:#b93c38;--red-hover:#a22c27;--red-wash:#f9e6df;--hero:#f1e9e3;--field:#f7f6f1;--shadow:0 16px 40px #5c392509}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:26px}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default}a,button,input{outline-offset:4px}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--red)}button{border:0}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.symbols{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.skip{position:fixed;z-index:20;top:-70px;left:20px;background:var(--panel);padding:12px;border:1px solid var(--border)}.skip:focus{top:12px}
.sidebar{position:fixed;inset:0 auto 0 0;width:232px;background:var(--sidebar);border-right:1px solid var(--border);padding:34px 20px 0;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:10px;margin:0 4px 56px;font-size:23px;font-weight:650;letter-spacing:-1px}.brand-os{color:var(--red)}.brand small{display:block;font-size:8px;font-weight:500;letter-spacing:1.45px;margin-top:5px;color:var(--muted)}.brand-mark{width:36px;height:38px;border-radius:10px;background:var(--red-solid);display:grid;place-items:center;color:#fff1e8}.brand-mark svg{width:22px;height:22px}.side-label{font-size:10px;letter-spacing:1.5px;font-weight:600;color:var(--faint);padding-left:13px;margin-bottom:13px}.side-link{height:44px;display:flex;align-items:center;gap:12px;padding:0 13px;border-radius:8px;color:var(--muted);font-size:12px;margin-bottom:5px;transition:background .15s,color .15s}.side-link:hover{background:var(--surface);color:var(--text)}.side-link.active{color:var(--red);background:var(--red-wash);font-weight:600}.side-link svg{width:17px;height:17px}.side-count{margin-left:auto;font-size:10px;color:var(--faint)}.areas-label{margin-top:38px}.dot{height:6px;width:6px;border-radius:50%;margin:0 6px}.basic-dot{background:#c26761}.higher-dot{background:#c6aa7e}.extra-dot{background:#9c9e8c}.notion-card{margin-top:auto;border:1px solid var(--border);border-radius:10px;padding:15px;background:var(--panel)}.notion-icon{font-family:Georgia,serif;font-weight:bold;border:1px solid var(--muted);width:23px;height:23px;display:grid;place-items:center;margin-bottom:13px;border-radius:3px}.notion-card strong{font-size:11px;font-weight:600}.notion-card p{font-size:11px;line-height:1.7;color:var(--muted);margin:8px 0 13px}.notion-card>span:last-child{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--red)}.notion-card svg{width:14px;height:14px}.side-footer{margin-top:23px;padding:22px 4px;border-top:1px solid var(--border);display:flex;align-items:center;gap:10px}.avatar{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:var(--red-wash);color:var(--red);font-weight:600}.side-footer strong{font-size:12px;font-weight:500;display:block}.side-footer small{font-size:10px;color:var(--faint);display:block;margin-top:3px}.online-dot{width:5px;height:5px;border-radius:50%;background:var(--muted);margin-left:auto}
main{margin-left:232px}.topbar{height:79px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);gap:12px}.breadcrumb{color:var(--faint);font-size:12px}.breadcrumb span{padding:0 12px;color:var(--faint)}.breadcrumb strong{font-weight:400;color:var(--text)}.top-actions{display:flex;align-items:center;gap:19px}.today{font-size:11px;color:var(--muted)}.icon-button{height:34px;width:34px;border-radius:8px;display:inline-grid;place-items:center;background:var(--surface);border:1px solid var(--border);flex-shrink:0}.icon-button:hover{background:var(--red-wash)}.icon-button svg{width:16px;height:16px}.page-content{max-width:1440px;padding:34px 42px 0;margin:auto}
.welcome{min-height:277px;border:1px solid var(--border);background:var(--hero);border-radius:14px;display:flex;justify-content:space-between;overflow:hidden;position:relative}.welcome-copy{padding:32px 35px;z-index:1}.eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:600;color:var(--muted);display:flex;align-items:center;gap:9px}.eyebrow span{width:5px;height:5px;background:var(--red);border-radius:50%}h1{font-size:39px;font-weight:550;line-height:1.13;letter-spacing:-1.8px;margin:20px 0 12px}h1 em{font-style:normal;color:var(--red)}.welcome-copy>p{font-size:12px;color:var(--muted);line-height:1.7;margin:0 0 23px}.hero-actions{display:flex;align-items:center;gap:22px}.button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:0 16px;border-radius:6px;font-size:11px;font-weight:550;border:1px solid transparent}.button svg{width:14px;height:14px}.primary{background:var(--red-solid);color:#fff3ed}.primary:hover{background:var(--red-hover)}.text-link{display:inline-flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.text-link:hover{color:var(--text)}.text-link svg{width:13px;height:13px}.hero-art{position:relative;min-width:300px;max-width:380px;flex:1;display:grid;place-items:center}.art-book{width:228px;z-index:1;transform:rotate(-6deg) translateY(-6px)}.art-book svg{width:100%;height:auto;stroke:none}.orbit{position:absolute;border:1px solid var(--border);border-radius:50%;width:255px;height:255px;opacity:.8}.orbit-two{width:340px;height:340px;opacity:.5}.orbit-dot{position:absolute;width:7px;height:7px;background:var(--red);border-radius:50%;top:45px;right:60px}.art-spark{position:absolute;font-size:20px;font-weight:200;color:var(--red);opacity:.8}.spark-one{left:33px;top:60px}.spark-two{right:42px;bottom:74px;font-size:14px}.art-caption{position:absolute;bottom:24px;font-size:8px;letter-spacing:2px;color:var(--faint)}
.overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:20px 0 29px}.stat{border:1px solid var(--border);border-radius:10px;background:var(--panel);padding:20px 16px;display:flex;align-items:center;gap:13px;transition:border-color .15s,transform .15s}.stat:hover{border-color:var(--red);transform:translateY(-2px)}.stat-icon{background:var(--surface);width:34px;height:37px;display:grid;place-items:center;border-radius:8px;color:var(--muted);flex-shrink:0}.stat-icon svg{width:17px;height:17px}.stat-value{font-size:25px;font-weight:500;line-height:1;display:block;letter-spacing:-1px;font-variant-numeric:tabular-nums}.stat-label{font-size:9px;color:var(--muted);display:block;margin-top:9px;line-height:1.3}.stat-arrow{margin-left:auto;width:12px;height:12px;align-self:flex-start;color:var(--faint)}
.routine{display:grid;grid-template-columns:minmax(240px,.84fr) minmax(0,1.16fr);gap:20px;margin-bottom:37px;scroll-margin-top:25px}.panel{background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:23px 25px;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.mini-label{font-size:8px;letter-spacing:1.6px;font-weight:600;color:var(--faint)}h2{font-size:18px;font-weight:550;letter-spacing:-.45px;margin:8px 0 0}.section-icon{width:19px;height:19px;color:var(--muted)}.timer-modes{display:flex;gap:5px;background:var(--field);padding:4px;border-radius:6px;margin-top:21px}.timer-modes button{padding:7px 4px;border-radius:4px;background:transparent;color:var(--muted);font-size:10px;flex:1}.timer-modes button.selected{background:var(--surface);color:var(--text)}.timer-display{text-align:center;font-size:55px;line-height:1;letter-spacing:-2px;font-weight:400;font-variant-numeric:tabular-nums;margin:20px 0 15px}.timer-progress{height:3px;background:var(--surface);border-radius:2px;overflow:hidden}.timer-progress span{display:block;height:100%;width:0;background:var(--red)}.timer-controls{display:flex;justify-content:center;gap:9px;margin-top:17px}.timer-controls .button{min-width:145px;min-height:34px}.timer-note{text-align:center;color:var(--faint);font-size:9px;margin:14px 0 0;line-height:1.5}.local-badge{border:1px solid var(--border);border-radius:4px;padding:5px 7px;color:var(--muted);font-size:8px;white-space:nowrap}.fraction{color:var(--faint);font-size:11px;letter-spacing:0;margin-left:9px;font-weight:400}#task-form{display:flex;border:1px solid var(--border);background:var(--field);border-radius:6px;margin-top:21px;padding:5px}input{min-width:0;color:var(--text);background:none;border:none}input::placeholder{color:var(--faint)}#task-input{width:100%;font-size:11px;padding:0 7px;height:29px}.add-button{width:30px;height:29px;flex-shrink:0;display:grid;place-items:center;background:var(--surface);border-radius:4px;color:var(--muted)}.add-button svg{width:15px;height:15px}.add-button:hover{color:var(--red)}.task-list{list-style:none;margin:14px 0 0;padding:0;max-height:160px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--border) transparent}.task-list li{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--border);min-height:40px}.task-list label{display:flex;align-items:center;gap:10px;flex:1;cursor:pointer;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.task-list input{accent-color:var(--red-solid);width:15px;height:15px;flex-shrink:0;margin:0}.task-list li.done .task-text{text-decoration:line-through;color:var(--faint)}.delete-task{border-radius:4px;display:grid;place-items:center;width:26px;height:26px;background:none;color:var(--faint);flex-shrink:0}.delete-task:hover{background:var(--red-wash);color:var(--red)}.delete-task svg{width:13px;height:13px}.empty-tasks{text-align:center;padding:24px 0 15px}.empty-check{width:29px;height:29px;border:1px solid var(--border);border-radius:50%;display:inline-grid;place-items:center;color:var(--faint)}.empty-check svg{height:14px;width:14px}.empty-tasks p{font-size:12px;line-height:1.7;color:var(--muted);margin:9px 0 6px}.empty-tasks small{color:var(--faint);font-size:10px}.storage-note{font-size:9px;color:var(--faint);margin:14px 0 0;line-height:1.5}
.studies-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:21px}.studies-heading h2{font-size:25px;margin-top:7px;letter-spacing:-.8px}.heading-dot{color:var(--red)}.search-field{display:flex;align-items:center;gap:9px;border:1px solid var(--border);padding:10px 12px;border-radius:6px;background:var(--panel);width:226px}.search-field svg{width:14px;height:14px;color:var(--faint)}.search-field input{font-size:10px;width:100%}.search-field:focus-within{border-color:var(--red)}.studies-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--border);margin-bottom:20px}.filters{display:flex;align-items:center;gap:17px;flex-wrap:wrap}.filters button{background:transparent;padding:0 0 13px;font-size:10px;white-space:nowrap;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px}.filters button.selected{border-color:var(--red);color:var(--text)}.filters button>span{color:var(--faint);font-size:8px;margin-left:4px}.filters button.selected>span{color:var(--red)}.open-hint{font-size:9px;color:var(--faint);display:flex;align-items:center;gap:7px;white-space:nowrap;padding-bottom:12px}.open-hint svg{width:11px;height:11px}.study-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.study-card{min-height:158px;border:1px solid var(--border);border-radius:10px;padding:18px;background:var(--panel);position:relative;display:flex;flex-direction:column;transition:transform .18s,border-color .18s}.study-card:hover{transform:translateY(-3px);border-color:var(--subject)}.subject-icon{height:34px;width:34px;display:grid;place-items:center;border-radius:8px;background:var(--surface);color:var(--subject);font-size:16px;font-family:Georgia,serif;font-weight:500}.subject-icon svg{width:18px;height:18px}.card-external{position:absolute;right:16px;top:19px;width:12px;height:12px;color:var(--faint)}.study-card h3{font-size:12px;font-weight:550;letter-spacing:-.1px;line-height:1.5;margin:15px 0 14px;overflow-wrap:anywhere}.study-card small{font-size:8px;letter-spacing:.4px;color:var(--faint);margin-top:auto}.study-card:hover .card-external{color:var(--subject)}.no-results{text-align:center;padding:50px 12px;color:var(--muted);font-size:12px}.result-note{font-size:9px;color:var(--faint);margin:16px 0 0}.page-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--border);padding:24px 0;margin-top:30px;gap:15px;color:var(--faint);font-size:9px}.footer-brand{letter-spacing:.15px}.footer-brand>span{padding:0 7px;color:var(--red)}.page-footer a{display:flex;align-items:center;gap:7px;color:var(--muted)}.page-footer svg{width:11px;height:11px}.toast{position:fixed;bottom:24px;left:calc(50% + 116px);transform:translateX(-50%);background:var(--text);color:var(--bg);border-radius:8px;padding:13px 20px;font-size:12px;box-shadow:var(--shadow);z-index:10;opacity:0;pointer-events:none;transition:opacity .2s;max-width:calc(100% - 32px);text-align:center}.toast.visible{opacity:1}[hidden]{display:none!important}
@media(min-width:1550px){.page-content{padding-top:42px}.welcome{min-height:310px}.welcome-copy{padding:39px 40px}h1{font-size:46px}.hero-art{max-width:420px}.overview{margin-top:24px}.study-card{min-height:175px}.stat-label{font-size:11px}.stat-value{font-size:28px}.study-card h3{font-size:14px}.study-card small{font-size:10px}.mini-label{font-size:9px}.panel h2{font-size:20px}.timer-note,.storage-note{font-size:10px}}
@media(max-width:1180px){.sidebar{width:200px;padding-left:15px;padding-right:15px}.brand{font-size:21px}.brand small{font-size:7px}.side-link{font-size:11px;gap:9px}main{margin-left:200px}.topbar{padding:0 26px}.page-content{padding:26px 26px 0}.hero-art{min-width:220px}.art-book{width:190px}.orbit-one{width:210px;height:210px}.orbit-two{width:285px;height:285px}.welcome-copy{padding:30px 26px}h1{font-size:35px}.hero-actions{gap:16px}.stat{gap:10px;padding:16px 12px}.stat-icon{width:29px;height:32px}.stat-label{font-size:8px}.stat-arrow{display:none}.open-hint{display:none}.filters{gap:16px}.study-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.toast{left:calc(50% + 100px)}}
@media(max-width:900px){.sidebar{width:70px;padding:27px 12px 0}.brand{margin:0 4px 38px}.brand>span:last-child,.side-label,.side-count,.side-link:not(.active),.notion-card,.side-footer>div,.online-dot{display:none}.brand-mark{min-width:34px}.side-link{justify-content:center;padding:0;font-size:0}.side-link svg{width:18px;height:18px}.side-footer{justify-content:center;margin-top:auto;padding-bottom:22px}.areas-label+nav{display:none}main{margin-left:70px}.welcome-copy{padding:28px 25px}.hero-art{min-width:190px}.art-book{width:170px}.welcome{min-height:260px}.hero-actions{gap:14px}.text-link{font-size:10px}.routine{grid-template-columns:1fr 1.2fr;gap:15px}.panel{padding:20px}.panel h2{font-size:16px}.mini-label{font-size:7px}.local-badge{font-size:7px;padding:4px}.timer-display{font-size:48px}.toast{left:calc(50% + 35px)}}
@media(max-width:680px){.sidebar{display:none}main{margin-left:0}.topbar{height:61px;padding:0 20px}.breadcrumb{font-size:10px}.today{font-size:9px}.top-actions{gap:9px}.icon-button{width:30px;height:30px}.page-content{padding:20px 18px 0}.welcome{min-height:245px}.welcome-copy{padding:26px 22px}.eyebrow{font-size:7px;letter-spacing:1.2px}h1{font-size:35px;margin-top:19px}.welcome-copy>p{font-size:10px;max-width:255px;margin-bottom:20px}.hero-art{display:none}.hero-actions{gap:18px}.button{font-size:10px;min-height:36px;padding:0 12px}.text-link{font-size:10px}.overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0 21px}.stat{padding:17px 14px;gap:12px}.stat-icon{width:33px;height:36px}.stat-value{font-size:25px}.stat-label{font-size:9px}.routine{grid-template-columns:1fr;margin-bottom:30px;gap:14px}.panel{padding:22px}.panel h2{font-size:19px}.mini-label{font-size:8px}.timer-modes{max-width:330px;margin-left:auto;margin-right:auto}.timer-display{font-size:57px}.timer-progress{max-width:330px;margin:auto}.timer-note,.storage-note{font-size:10px}.local-badge{font-size:8px}.empty-tasks{padding:22px 0}.task-list{max-height:220px}.task-list label{font-size:12px}.studies-heading{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:17px}.studies-heading h2{font-size:25px}.search-field{width:100%;padding:12px}.search-field input{font-size:12px}.filters{gap:15px;row-gap:12px;flex-wrap:wrap}.filters button{font-size:10px;padding-bottom:12px}.studies-toolbar{padding-top:4px}.study-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.study-card{padding:16px;min-height:157px}.study-card h3{font-size:12px}.study-card small{font-size:8px}.result-note{font-size:10px}.page-footer{align-items:flex-start;flex-direction:column;gap:14px;font-size:9px;line-height:1.5}.toast{left:50%;width:max-content}.task-form input{font-size:12px}}
/* Keep secondary text legible in embedded and narrow desktop windows. */
.brand small{font-size:9px;letter-spacing:.7px}.side-label,.eyebrow,.mini-label{font-size:10px}.stat-label{font-size:11px}.timer-modes button,.timer-note,.storage-note,.local-badge,.search-field input,.filters button,.result-note{font-size:11px}.study-card h3{font-size:13px}.study-card small{font-size:10px}.open-hint,.page-footer{font-size:10px}.today{font-size:12px}.empty-tasks small{font-size:11px}.task-list label,#task-input{font-size:12px}.art-caption{font-size:9px}.stat{align-items:flex-start}.stat-label{line-height:1.5}.hero-actions{flex-wrap:wrap}
@media(max-width:1180px){.stat-icon{display:none}.stat-value{font-size:27px}}
@media(max-width:680px){.stat-icon{display:grid}.today{font-size:10px}.mini-label,.eyebrow{font-size:9px}.filters{gap:13px}.filters button{font-size:11px}.study-card h3{font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
