@font-face{font-family:system;src:local('Segoe UI')}
:root{font-family:system,'Segoe UI',sans-serif;font-size:15px;color:#20332c;background:#f6f8f6;--bg:#f6f8f6;--surface:#fff;--ink:#20332c;--muted:#69786f;--line:#dde5df;--green:#17654f;--soft:#e8f1eb;--coral:#cd674c;--gold:#a57213;--gold-bg:#faf0d9;--shadow:0 6px 24px #183c2810;color-scheme:light}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button,a,input,textarea,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #d69a38}button{color:inherit}a{color:var(--green)}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.25;font-weight:650}h2{font-size:18px;font-weight:650}h3{font-size:15px;font-weight:600}p{line-height:1.6}small,.small{font-size:12px;line-height:1.5}.muted{color:var(--muted)}.eyebrow{font-size:11px;text-transform:uppercase;font-weight:650;letter-spacing:0;color:var(--muted)}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.between{justify-content:space-between}.stack{display:grid;gap:16px}.icon{width:18px;height:18px;flex-shrink:0}.button{display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border:1px solid var(--line);background:var(--surface);border-radius:6px;font-size:13px;font-weight:600;text-decoration:none}.button:hover{border-color:var(--green)}.button.primary{background:var(--green);border-color:var(--green);color:#fff}.button.quiet{background:transparent;border-color:transparent;padding-left:8px;padding-right:8px}.icon-button{display:inline-grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:6px;background:var(--surface)}.icon-button:hover{background:var(--soft)}.tag{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:4px;background:var(--soft);color:var(--green);font-size:11px;font-weight:600}.tag.gold{background:var(--gold-bg);color:var(--gold)}.tag.neutral{background:var(--bg);color:var(--muted)}.rule{border:0;border-top:1px solid var(--line);margin:24px 0}.skip-link{position:absolute;left:16px;top:-100px;z-index:100;background:var(--surface);padding:10px}.skip-link:focus{top:12px}
.shell{display:grid;grid-template-columns:216px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;border-right:1px solid var(--line);padding:30px 22px 20px;display:flex;flex-direction:column;gap:32px;background:var(--surface)}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font-size:26px;font-weight:700}.brand img{width:38px;height:38px}.brand small{font-size:10px;font-weight:500;display:block;color:var(--muted);margin-top:1px}.navigation{display:grid;gap:5px}.nav-link{display:flex;align-items:center;gap:11px;border:0;border-radius:6px;background:transparent;padding:12px 14px;text-align:left;color:var(--muted);font-size:13px;font-weight:600;min-height:44px}.nav-link.active{color:var(--green);background:var(--soft)}.nav-link:hover{color:var(--ink)}.sidebar-bottom{margin-top:auto;display:grid;gap:22px}.exam-label{padding:16px 0;border-top:1px solid var(--line)}.exam-label strong{display:block;margin-top:6px;font-size:15px}.user-label{display:flex;align-items:center;gap:10px;font-size:13px}.avatar{width:32px;height:32px;display:grid;place-items:center;background:var(--soft);color:var(--green);border-radius:50%;font-size:11px;font-weight:650}.workspace{min-width:0}.topbar{height:78px;border-bottom:1px solid var(--line);padding:0 42px;display:flex;justify-content:space-between;align-items:center;gap:15px}.topbar-title{font-size:13px;color:var(--muted)}.topbar-right{display:flex;align-items:center;gap:14px}.level-label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:650}.level-label .icon{color:var(--gold)}.content{max-width:1320px;margin:auto;padding:35px 42px 50px}.view-heading{display:flex;gap:20px;justify-content:space-between;align-items:start;margin-bottom:27px}.view-heading h1{margin-top:10px;max-width:700px}.subhead{margin-top:12px;display:flex;gap:7px;flex-wrap:wrap}.day-controls{display:flex;align-items:center;gap:6px;flex-shrink:0}.date-input{border:1px solid var(--line);border-radius:6px;padding:8px;background:var(--surface);color:var(--ink);width:143px;min-height:38px;font-size:12px}.study-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:32px}.study-main,.study-aside{min-width:0}.section-heading{margin-bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.section-heading h2{font-size:16px}.step-counter{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.workbench{border:1px solid var(--line);border-radius:8px;background:var(--surface);overflow:hidden;box-shadow:var(--shadow)}.workbench-header{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.workbench-header .row{gap:8px}.step-dot{width:8px;height:8px;border-radius:50%;background:var(--green)}.workbench-body{display:grid;grid-template-columns:minmax(0,1fr) 156px;padding:30px 24px;gap:24px;align-items:center;min-height:212px}.active-label{font-size:11px;color:var(--green);font-weight:650;margin-bottom:10px}.active-task{font-size:22px;line-height:1.3;font-weight:600;margin-bottom:12px}.active-detail{color:var(--muted);font-size:13px;line-height:1.7;max-width:520px}.timer{text-align:center;padding-left:20px;border-left:1px solid var(--line)}.timer-value{font-size:36px;font-weight:550;line-height:1.2;font-variant-numeric:tabular-nums}.timer small{display:block;margin-top:5px;color:var(--muted)}.timer-actions{display:flex;justify-content:center;gap:7px;margin-top:15px}.timer-actions .icon-button{background:var(--bg)}.timer-actions .play{background:var(--green);color:#fff;border-color:var(--green)}.workbench-footer{padding:14px 24px;background:var(--bg);border-top:1px solid var(--line);display:flex;align-items:center;gap:10px;justify-content:space-between}.workbench-footer .button{font-size:12px;min-height:38px}.round-controls{margin-top:24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.round-controls .button{font-size:12px}.tasks{margin-top:12px}.task-row{display:grid;grid-template-columns:22px minmax(0,1fr) 48px;gap:12px;align-items:center;padding:16px 2px;border-bottom:1px solid var(--line);min-height:68px}.task-row input{width:18px;height:18px;margin:0;accent-color:var(--green);cursor:pointer}.task-description{background:transparent;border:0;text-align:left;padding:0;line-height:1.5;font-size:13px}.task-row .minutes{text-align:right;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.task-row.done .task-description{color:var(--muted);text-decoration:line-through}.task-row.current .task-description{font-weight:600;color:var(--green)}.session-end{margin-top:18px;display:flex;align-items:center;justify-content:space-between;gap:12px}.session-end .small{color:var(--muted)}.starter-success{padding:16px 0;margin-top:12px;color:var(--green);font-size:13px;font-weight:600}.notes-inline{margin-top:28px;border-top:1px solid var(--line);padding-top:20px}.notes-inline summary{font-size:13px;font-weight:600;cursor:pointer}.notes-inline textarea{margin-top:12px}.field{display:grid;gap:8px;font-size:13px;font-weight:500}.text-input,textarea,select{width:100%;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:6px;padding:11px 12px;min-height:42px}textarea{resize:vertical;line-height:1.6;font-size:13px}.notes-inline small{display:block;margin-top:7px;color:var(--muted)}.readiness{margin-top:25px}.readiness .eyebrow{margin-bottom:10px}.segments{display:flex;gap:5px;flex-wrap:wrap}.segments button{border:1px solid var(--line);background:var(--surface);padding:8px 10px;font-size:11px;border-radius:5px}.segments button.selected{background:var(--soft);border-color:var(--green);color:var(--green)}
.aside-section{padding:0 0 25px;margin-bottom:25px;border-bottom:1px solid var(--line)}.aside-section:last-child{border-bottom:0}.aside-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;font-size:13px;font-weight:600}.xp-total{font-size:31px;font-weight:600;display:flex;align-items:baseline;gap:7px;font-variant-numeric:tabular-nums}.xp-total small{font-size:12px;color:var(--muted);font-weight:400}.level-progress{height:6px;background:var(--line);border-radius:3px;overflow:hidden;margin:15px 0 9px}.level-progress>div{height:100%;background:var(--green);border-radius:3px;transition:width .3s}.week-dots{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:14px 0}.week-dot{text-align:center;font-size:10px;color:var(--muted);display:grid;gap:7px;justify-items:center}.week-dot span{height:28px;width:28px;border-radius:50%;background:var(--line);display:grid;place-items:center}.week-dot.active span{background:var(--green);color:#fff}.week-dot.today span{outline:1px solid var(--green);outline-offset:3px}.week-dot .icon{width:13px;height:13px}.mini-summary{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:17px}.mini-summary strong{display:block;font-size:20px;font-variant-numeric:tabular-nums;margin-bottom:3px}.mini-summary span{font-size:11px;color:var(--muted)}.badge-preview{display:flex;align-items:center;gap:12px}.badge-art{width:56px;height:56px;object-fit:contain;flex-shrink:0}.badge-preview strong{font-size:13px;display:block;margin-bottom:5px}.badge-preview small{color:var(--muted)}.next-up-title{font-size:14px;font-weight:600;line-height:1.5;margin-bottom:8px}.next-up{font-size:12px;color:var(--muted)}.next-up button{margin-top:12px}
.roadmap-legend{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:24px;font-size:12px;color:var(--muted)}.legend-dot{height:8px;width:8px;display:inline-block;background:var(--green);border-radius:50%;margin-right:6px}.legend-dot.light{background:var(--line)}.week-section{border-top:1px solid var(--line);padding:22px 0}.week-section>summary{cursor:pointer;display:flex;gap:15px;align-items:center;justify-content:space-between;list-style:none}.week-section>summary::-webkit-details-marker{display:none}.week-title{display:flex;gap:13px;align-items:center;min-width:0}.week-number{color:var(--green);font-size:12px;width:36px;height:36px;border:1px solid var(--line);border-radius:6px;display:grid;place-items:center;flex-shrink:0}.week-title strong{font-size:14px;display:block;margin-bottom:5px}.week-title small{color:var(--muted)}.day-row{display:grid;grid-template-columns:80px minmax(0,1fr) 80px 28px;align-items:center;gap:12px;border:0;border-bottom:1px solid var(--line);padding:15px 5px;background:transparent;text-align:left;width:100%;font-size:13px}.day-row:hover{background:var(--soft)}.day-row time{font-size:12px;color:var(--muted)}.day-row .status{font-size:10px;color:var(--muted);text-align:right}.day-row .status.complete{color:var(--green)}.plan-tabs{display:flex;gap:8px;margin-bottom:25px}.plan-tabs button{border:1px solid var(--line);padding:9px 14px;background:var(--surface);border-radius:6px;font-size:12px}.plan-tabs button.active{background:var(--green);color:#fff;border-color:var(--green)}.portion-list{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.portion{padding:16px 0;border-bottom:1px solid var(--line);display:flex;align-items:start;gap:10px;font-size:13px;line-height:1.5}.portion .icon{width:16px;color:var(--green);margin-top:2px}.notes-list{display:grid;gap:20px}.note-item{padding:20px 0;border-top:1px solid var(--line)}.note-item h2{font-size:16px;margin:8px 0 12px}.note-item p{white-space:pre-wrap;font-size:13px}.empty{padding:45px 0;max-width:450px}.empty .icon{width:32px;height:32px;color:var(--muted);margin-bottom:15px}.empty p{margin:12px 0 20px;color:var(--muted);font-size:13px}.reward-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:25px}.reward{border:1px solid var(--line);border-radius:8px;padding:25px 20px;background:var(--surface)}.reward img{width:72px;height:72px;display:block;margin-bottom:15px}.reward.locked img{filter:grayscale(1);opacity:.45}.reward h2{font-size:15px;margin-bottom:8px}.reward p{font-size:12px;color:var(--muted);margin-bottom:15px}.reward small{color:var(--green)}.progress-summary{display:flex;align-items:center;gap:30px;flex-wrap:wrap;padding:20px 0;border-bottom:1px solid var(--line)}.progress-summary strong{font-size:28px;font-weight:600;display:block}.progress-summary span{font-size:12px;color:var(--muted)}.activity-grid{display:grid;grid-template-columns:repeat(17,minmax(0,1fr));gap:5px;margin:22px 0}.activity-cell{aspect-ratio:1;background:var(--line);border-radius:3px;min-width:0;border:0}.activity-cell.partial{background:#a9d1bb}.activity-cell.complete{background:var(--green)}.activity-cell:hover{outline:2px solid var(--gold)}
.settings{max-width:740px}.settings-section{padding:24px 0;border-top:1px solid var(--line)}.settings-section h2{font-size:16px;margin-bottom:18px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 0;font-size:13px}.setting-row p{font-size:12px;color:var(--muted);margin-top:5px;max-width:480px}.setting-row input[type=checkbox]{width:20px;height:20px;accent-color:var(--green);flex-shrink:0}.settings .date-input{width:155px}.settings-section .field{margin-bottom:15px}.source-link{display:inline-flex;align-items:center;gap:7px;font-size:12px;margin-top:12px}.footer-status{margin-top:35px;padding-top:20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.footer-status .icon{width:12px;height:12px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);max-width:calc(100vw - 32px);width:max-content;padding:13px 20px;background:var(--ink);color:var(--surface);border-radius:6px;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:.2s;z-index:100;font-size:13px;line-height:1.5}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:8px;max-width:470px;width:calc(100% - 32px);padding:28px}dialog::backdrop{background:#16251c77}dialog h2{margin-bottom:15px}dialog p{font-size:13px;color:var(--muted);margin-bottom:20px}dialog .row{justify-content:flex-end}dialog input{margin:12px 0 20px}.focus-mode .sidebar,.focus-mode .topbar,.focus-mode .study-aside,.focus-mode .tasks,.focus-mode .round-controls,.focus-mode .notes-inline,.focus-mode .readiness,.focus-mode .footer-status{display:none}.focus-mode .shell{display:block}.focus-mode .content{max-width:850px;padding-top:70px}.focus-mode .study-layout{grid-template-columns:1fr}.focus-mode .view-heading .day-controls{display:none}.focus-mode .workbench-body{min-height:260px}.focus-mode .active-task{font-size:26px}.focus-mode .task-counter-hide{display:none}.focus-mode .workbench-header{padding:20px 24px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
[data-theme=dark]{--bg:#121c17;--surface:#1b2921;--ink:#e6eee8;--muted:#a3b7a9;--line:#34463a;--green:#8bd6b2;--soft:#273e31;--coral:#eb9579;--gold:#edc572;--gold-bg:#3d3523;--shadow:0 6px 24px #0002;color-scheme:dark;background:var(--bg);color:var(--ink)}[data-theme=dark] .button.primary,[data-theme=dark] .timer-actions .play,[data-theme=dark] .plan-tabs button.active{color:#12251a}[data-theme=dark] .toast{color:var(--bg)}[data-theme=dark] .workbench-footer{background:var(--bg)}
@media(min-width:1600px){.content{padding-top:48px}.study-layout{gap:44px}.workbench-body{min-height:235px}}
@media(max-width:1150px){.sidebar{width:184px;padding-left:16px;padding-right:16px}.shell{grid-template-columns:184px minmax(0,1fr)}.content{padding:28px}.topbar{padding:0 28px}.study-layout{grid-template-columns:minmax(0,1fr) 220px;gap:22px}.view-heading{flex-wrap:wrap}.workbench-body{grid-template-columns:minmax(0,1fr) 128px;gap:16px;padding:24px 20px}.timer{padding-left:14px}.timer-value{font-size:30px}.workbench-header,.workbench-footer{padding-left:20px;padding-right:20px}.reward-grid{grid-template-columns:1fr 1fr}.week-dots{gap:2px}.week-dot span{width:24px;height:24px}}
@media(max-width:920px){.study-layout{grid-template-columns:minmax(0,1fr)}.study-aside{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:10px}.aside-section{margin:0}.study-aside .next-aside{display:none}.workbench-body{grid-template-columns:minmax(0,1fr) 150px}.timer-value{font-size:36px}.portion-list{grid-template-columns:1fr}}
@media(max-width:680px){.shell{display:block}.sidebar{position:fixed;top:auto;bottom:0;height:68px;width:100%;padding:0 12px;background:var(--surface);z-index:20;border:0;border-top:1px solid var(--line);display:block}.sidebar>.brand,.sidebar-bottom{display:none}.navigation{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:100%;gap:0}.nav-link{padding:8px 0;border-radius:0;display:flex;flex-direction:column;justify-content:center;gap:4px;font-size:9px;min-width:0}.nav-link .icon{width:20px;height:20px}.nav-link.active{background:transparent}.topbar{height:65px;padding:0 20px}.topbar-title{font-size:19px;font-weight:700;color:var(--ink)}.topbar-title::before{content:'Dose / '}.topbar-right{gap:8px}.level-label{font-size:10px}.topbar .icon-button{width:32px;height:32px}.content{padding:25px 20px 100px}.view-heading{gap:18px;margin-bottom:22px}.view-heading h1{font-size:25px;margin-top:8px}.day-controls{gap:5px}.date-input{width:143px}.workbench-header{padding:15px 17px}.workbench-body{padding:22px 17px;grid-template-columns:minmax(0,1fr) 104px;gap:14px;min-height:210px}.active-task{font-size:19px}.active-detail{font-size:12px}.timer{padding-left:12px}.timer-value{font-size:27px}.timer-actions{gap:5px}.timer-actions .icon-button{height:34px;width:34px}.timer small{font-size:10px}.workbench-footer{padding:12px 15px;flex-wrap:wrap}.workbench-footer .button.primary{flex:1}.workbench-footer .small{font-size:11px}.section-heading h2{font-size:15px}.task-row{grid-template-columns:20px minmax(0,1fr) 38px;gap:10px}.task-description{font-size:12px}.round-controls{gap:8px}.round-controls .small{font-size:11px}.round-controls .button{font-size:11px;min-height:38px;padding:8px 10px}.session-end{align-items:start}.session-end .button{font-size:11px;padding:8px}.study-aside{gap:20px}.aside-heading{font-size:12px}.badge-preview{align-items:start;flex-direction:column}.mini-summary{gap:12px}.week-dot span{height:23px;width:23px}.week-dots{gap:1px}.week-dot{font-size:9px}.study-aside .badge-aside{display:none}.reward-grid{gap:12px}.reward{padding:18px 14px}.reward img{width:60px;height:60px}.reward h2{font-size:13px}.reward p{font-size:11px}.day-row{grid-template-columns:58px minmax(0,1fr) 25px;gap:9px;font-size:12px}.day-row .status{display:none}.week-title strong{font-size:13px}.week-title small{font-size:10px}.week-section{padding:18px 0}.week-number{width:30px;height:30px}.activity-grid{grid-template-columns:repeat(14,minmax(0,1fr));gap:4px}.progress-summary{gap:22px}.progress-summary strong{font-size:23px}.setting-row{gap:16px}.footer-status{font-size:10px}.toast{bottom:82px;font-size:12px}.focus-mode .content{padding:30px 20px}.focus-mode .workbench-body{grid-template-columns:1fr;text-align:center}.focus-mode .active-detail{margin:auto}.focus-mode .timer{border:0;padding:15px 0 0}.focus-mode .timer-value{font-size:46px}.focus-mode .active-task{font-size:23px}.focus-mode .section-heading{flex-wrap:wrap}}
@media(max-width:360px){.content{padding-left:15px;padding-right:15px}.topbar{padding:0 15px}.topbar-title{font-size:16px}.workbench-body{grid-template-columns:minmax(0,1fr) 93px;padding-left:13px;padding-right:13px;gap:11px}.active-task{font-size:17px}.timer-value{font-size:25px}.level-label{max-width:100px;flex-wrap:wrap}.study-aside{grid-template-columns:1fr}.study-aside .momentum-aside{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
