.route-page [hidden]{display:none!important}.route-main{max-width:1480px}.route-intro{align-items:flex-start}.route-intro h1{max-width:16ch}.route-intro .intro-copy{max-width:42rem}.route-loading{min-height:12rem;display:flex;align-items:center;gap:1rem;margin-bottom:1.1rem}.route-loading[hidden],.route-onboarding[hidden],.route-calendar[hidden]{display:none}.route-loading-mark{width:2.8rem;height:2.8rem;display:grid;place-items:center;color:var(--surface);background:var(--black);border-radius:.65rem}.route-loading-mark .ui-icon{width:1.35rem;height:1.35rem}.route-loading h2,.onboarding-heading h2,.route-summary-heading h2{margin:0;font-family:var(--display);font-size:clamp(1.5rem,3vw,2.4rem);line-height:.98;letter-spacing:-.07em}.route-loading p:not(.eyebrow),.onboarding-heading>div>p:not(.eyebrow){margin:.55rem 0 0;color:var(--muted);font-size:.72rem}.route-onboarding{padding:clamp(1.2rem,3vw,2rem);background:var(--surface);border:1px solid var(--line)}.onboarding-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(8rem,16rem);align-items:end;gap:2rem;padding-bottom:1.5rem;border-bottom:1px solid var(--line)}.onboarding-progress{height:.38rem;overflow:hidden;background:#eceeef;border-radius:999px}.onboarding-progress span{display:block;width:16.666%;height:100%;background:var(--black);transition:width .25s ease}.onboarding-form{padding-top:1.75rem}.onboarding-step{min-height:25rem}.onboarding-step[hidden]{display:none}.step-index{margin:0 0 .65rem;color:var(--muted);font-family:var(--mono);font-size:.57rem;letter-spacing:.14em}.onboarding-step h3{max-width:28ch;margin:0 0 1.7rem;font-family:var(--display);font-size:clamp(1.55rem,3vw,2.45rem);line-height:1;letter-spacing:-.07em}.step-copy{max-width:44rem;margin:-.75rem 0 1.45rem;color:var(--muted);font-size:.75rem}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;max-width:55rem}.route-field{display:grid;gap:.42rem;color:var(--ink);font-size:.68rem;font-weight:600}.route-field-wide{grid-column:1 / -1}.route-field input,.route-field select,.route-field textarea{width:100%;min-height:2.8rem;padding:.7rem .75rem;color:var(--ink);background:#fafafa;border:1px solid #d9dbde;border-radius:.55rem;outline:none;font-size:.72rem;font-weight:400}.route-field textarea{min-height:5.2rem;resize:none;line-height:1.5}.route-field input:hover,.route-field select:hover,.route-field textarea:hover{border-color:#a8aaae}.route-field input:focus,.route-field select:focus,.route-field textarea:focus{border-color:var(--black);box-shadow:0 0 0 2px #0505051a}.route-field small{color:var(--muted);font-size:.59rem;font-weight:400;line-height:1.4}.route-field.is-invalid input,.route-field.is-invalid select,.route-field.is-invalid textarea{border-color:var(--black);background:#f3f3f3}.route-fieldset{max-width:55rem;margin:0 0 1.25rem;padding:0;border:0}.route-fieldset legend{margin-bottom:.8rem;color:var(--ink);font-size:.68rem;font-weight:600}.day-choice-grid,.preference-choice-grid{display:flex;flex-wrap:wrap;gap:.55rem}.day-choice-grid label,.preference-choice-grid label{position:relative}.day-choice-grid input,.preference-choice-grid input{position:absolute;width:1px;height:1px;opacity:0}.day-choice-grid span,.preference-choice-grid span{min-height:2.65rem;display:inline-flex;align-items:center;justify-content:center;padding:.5rem .8rem;color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:.55rem;font-size:.68rem;cursor:pointer}.day-choice-grid input:checked+span,.preference-choice-grid input:checked+span{color:var(--surface);background:var(--black);border-color:var(--black)}.day-choice-grid input:focus-visible+span,.preference-choice-grid input:focus-visible+span{outline:2px solid var(--black);outline-offset:3px}.level-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.7rem;max-width:65rem;margin-bottom:1.8rem}.level-field{display:grid;gap:.42rem;color:var(--muted);font-size:.63rem;font-weight:600}.level-field select{min-height:2.8rem;padding:.55rem;color:var(--ink);background:#fafafa;border:1px solid var(--line);border-radius:.55rem;font-size:.64rem}.onboarding-actions{min-height:3.4rem;display:flex;align-items:center;gap:.7rem;padding-top:1.2rem;border-top:1px solid var(--line)}.onboarding-action-spacer{flex:1}.onboarding-actions .primary-button,.onboarding-actions .outline-button{min-width:10rem}.compact-button{min-height:2.45rem!important;min-width:auto!important;padding:.55rem .75rem!important;font-size:.63rem!important}.form-status{min-height:1.2rem;margin:.9rem 0 0;color:var(--muted);font-size:.7rem}.form-status.is-error{color:var(--ink)}.form-status.is-success{color:#3c7755}.route-summary-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:2rem;padding-bottom:.3rem}.route-summary-copy{max-width:48rem;margin:.7rem 0 0;color:var(--muted);font-size:.74rem}.route-ai-note{display:inline-flex;align-items:center;gap:.55rem;max-width:16rem;padding:.65rem .75rem;color:var(--muted);border:1px solid var(--line);border-radius:.55rem;font-size:.6rem;line-height:1.35}.route-ai-note>span:first-child{width:1rem;height:1rem;display:grid;place-items:center;color:var(--ink)}.route-ai-note .ui-icon{width:100%;height:100%}.replan-banner{display:flex;align-items:center;gap:.8rem;padding:.8rem;color:var(--ink);background:#f4f4f2;border:1px solid var(--black)}.replan-banner[hidden]{display:none}.replan-mark{width:1.65rem;height:1.65rem;display:grid;place-items:center;color:var(--surface);background:var(--black);border-radius:.4rem}.replan-mark .ui-icon{width:.95rem;height:.95rem}.replan-banner p{flex:1;margin:0;font-size:.68rem}.replan-banner>div{display:flex;gap:.4rem}@media(max-width:1120px){.level-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.onboarding-heading{grid-template-columns:1fr;gap:1rem}.route-summary-heading{flex-direction:column;gap:1rem}.route-ai-note{max-width:none}}@media(max-width:560px){.field-grid{grid-template-columns:1fr}.route-field-wide{grid-column:auto}.level-grid{grid-template-columns:repeat(2,1fr)}.onboarding-step{min-height:30rem}.onboarding-actions{flex-wrap:wrap}.onboarding-action-spacer{display:none}.onboarding-actions .outline-button:first-child{margin-right:auto}.onboarding-actions .primary-button,.onboarding-actions .outline-button{flex:1;min-width:0}.replan-banner{align-items:flex-start;flex-wrap:wrap}.replan-banner p{min-width:calc(100% - 2.6rem)}.replan-banner>div{width:100%;justify-content:flex-end}}@media(prefers-reduced-motion:reduce){.onboarding-progress span{transition:none}}.study-timer{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:clamp(1.25rem,4vw,3rem);overflow:auto;color:#f7f7f5;background:#08090b;border:0}.study-timer[open]{display:flex;flex-direction:column;align-items:center}.study-timer::backdrop{background:#08090b}.study-timer-top{width:min(100%,76rem);display:flex;align-items:center;justify-content:space-between}.study-timer-icon-button{width:2.8rem;height:2.8rem;display:grid;place-items:center;color:#f7f7f5;background:#141619;border:1px solid #2b2d30;border-radius:50%;font-size:1.45rem;cursor:pointer;transition:background .2s,transform .2s}.study-timer-icon-button:hover{background:#25282c;transform:scale(1.04)}.study-timer-icon-button:focus-visible,.study-timer button:focus-visible,.study-timer input:focus-visible{outline:2px solid #fff;outline-offset:4px}.study-timer-sound{display:flex;align-items:center;gap:.75rem;color:#b6b7b9;font:500 .65rem/1 var(--mono);letter-spacing:.12em}.study-timer-sound .study-timer-icon-button{width:2.65rem;height:2.65rem}.study-timer-sound svg{width:1.25rem;height:1.25rem;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.study-timer-sound .is-muted{color:#85878a}.study-timer-setup,.study-timer-running{width:min(100%,34rem);margin:auto;text-align:center}.study-timer-setup[hidden],.study-timer-running[hidden]{display:none}.study-timer-kicker{margin:0 0 .8rem;color:#989a9d;font:500 .68rem/1.3 var(--mono);letter-spacing:.17em}.study-timer-setup h2{margin:0;color:#fafaf8;font:500 clamp(2.3rem,7vw,4.4rem)/1 var(--display);letter-spacing:-.065em}.study-timer-task{max-width:30rem;margin:1.15rem auto 2.5rem;color:#9da0a3;font-size:.95rem;line-height:1.55}.study-timer-options{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;text-align:left}.study-timer-options>label{min-height:5.3rem;display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:1rem 1.1rem;color:#c8c9ca;background:#121416;border:1px solid #26292c;border-radius:.85rem;font-size:.84rem}.study-timer-options label>span{display:flex;align-items:baseline;gap:.3rem}.study-timer-options input{width:4.4rem;padding:.1rem 0;color:#fff;background:transparent;border:0;font:500 1.7rem/1 var(--display);text-align:right}.study-timer-options small{color:#87898c;font-size:.67rem}.study-timer-pomodoro{display:flex;align-items:center;gap:.8rem;margin:.75rem 0 1.2rem;padding:1rem 1.1rem;color:#ececea;background:#121416;border:1px solid #26292c;border-radius:.85rem;text-align:left;cursor:pointer}.study-timer-pomodoro input{position:absolute;opacity:0;pointer-events:none}.study-timer-check{width:1.25rem;height:1.25rem;flex:0 0 auto;display:grid;place-items:center;border:1px solid #717478;border-radius:.35rem}.study-timer-check:after{width:.35rem;height:.6rem;border:solid #08090b;border-width:0 2px 2px 0;content:"";transform:rotate(45deg) scale(0);transition:transform .16s}.study-timer-pomodoro input:checked+.study-timer-check{background:#f7f7f5;border-color:#f7f7f5}.study-timer-pomodoro input:checked+.study-timer-check:after{transform:rotate(45deg) scale(1)}.study-timer-pomodoro span:last-child{display:grid;gap:.25rem}.study-timer-pomodoro strong{font-size:.82rem;font-weight:500}.study-timer-pomodoro small{color:#999b9e;font-size:.7rem}.study-timer.no-break .study-timer-break-option{opacity:.35;pointer-events:none}.study-timer-start{width:100%;min-height:3.5rem;display:flex;align-items:center;justify-content:center;gap:.7rem;color:#0b0c0e;background:#fafaf8;border:0;border-radius:.75rem;font-size:.9rem;font-weight:600;cursor:pointer;transition:background .2s,transform .2s}.study-timer-start:hover{background:#dedfdd;transform:translateY(-1px)}.study-timer-start span{font-size:1.1rem}.study-timer-running{display:flex;flex-direction:column;align-items:center}.study-timer-running-title{margin:0;color:#f9f9f7;font:500 clamp(1.65rem,4vw,2.4rem)/1 var(--display);letter-spacing:-.055em}.study-timer-orb{position:relative;width:min(64vw,340px);aspect-ratio:1;display:grid;place-items:center;margin:clamp(1.6rem,4vh,2.7rem) 0 1.25rem;isolation:isolate}.study-timer-orb:before{position:absolute;inset:8%;z-index:-1;background:#f4f4f1;border-radius:50%;box-shadow:0 0 80px #ffffff1a;content:""}.study-timer-orb svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;transform:rotate(-90deg)}.study-timer-orb-track,.study-timer-orb-progress{fill:none;stroke:#fff;stroke-width:2.5}.study-timer-orb-track{opacity:.18}.study-timer-orb-progress{stroke-width:4;stroke-linecap:round;transition:stroke-dashoffset .24s linear}.study-timer-orb-content{display:grid;justify-items:center;gap:.4rem;color:#111315}.study-timer-count{font:500 clamp(3.6rem,11vw,5.6rem)/.95 var(--display);letter-spacing:-.08em;font-variant-numeric:tabular-nums}.study-timer-caption{color:#73767a;font:500 .61rem/1 var(--mono);letter-spacing:.14em}.study-timer-microcopy{min-height:1.2rem;margin:0 0 1.4rem;color:#a7a9ab;font-size:.82rem}.study-timer-controls{width:min(100%,25rem);display:grid;grid-template-columns:1fr 1.25fr 1fr;gap:.6rem}.study-timer-controls button{min-height:2.9rem;padding:.6rem;border-radius:.65rem;font-size:.77rem;cursor:pointer;transition:background .2s,transform .2s}.study-timer-primary{color:#090a0c;background:#f5f5f2;border:1px solid #f5f5f2;font-weight:600}.study-timer-primary:hover{background:#dddeda}.study-timer-secondary{color:#d0d1d2;background:#111315;border:1px solid #2b2d30}.study-timer-secondary:hover{background:#1d2023}.study-timer-secondary[hidden]{display:none}.study-timer-status{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@media(max-width:520px){.study-timer{padding:1rem}.study-timer-setup,.study-timer-running{width:100%}.study-timer-task{margin-bottom:1.6rem}.study-timer-options>label{display:grid;align-content:center;gap:.6rem;min-height:5.6rem}.study-timer-options label>span{justify-content:flex-start}.study-timer-orb{width:min(78vw,310px)}.study-timer-microcopy{font-size:.74rem}}@media(prefers-reduced-motion:reduce){.study-timer-icon-button,.study-timer-orb-progress,.study-timer-pomodoro input+.study-timer-check:after,.study-timer-start{transition:none}}.route-intro{padding-bottom:1.8rem}.route-intro h1{max-width:24ch;font-size:clamp(2.5rem,6vw,5rem);letter-spacing:-.055em}.route-intro .intro-copy{max-width:36rem;font-size:.78rem;line-height:1.55}.route-calendar{gap:1.25rem}.route-summary-heading{align-items:center;padding-bottom:.15rem}.route-summary-heading h2{font-size:clamp(1.9rem,3vw,2.6rem);letter-spacing:-.045em}.route-summary-copy{margin-top:.55rem;font-size:.9rem;line-height:1.55}.route-ai-note{max-width:17rem;padding:.75rem .9rem;background:var(--surface);border-radius:.7rem;font-size:.76rem}@media(max-width:760px){.route-summary-heading{align-items:flex-start}}.route-onboarding{max-width:72rem;padding:clamp(1.35rem,4vw,3rem);box-shadow:0 1.2rem 3.5rem #0c0e120a}.onboarding-heading{grid-template-columns:minmax(0,1fr) minmax(9rem,15rem);gap:clamp(1.5rem,5vw,5rem);padding-bottom:1.8rem}.onboarding-heading h2{max-width:18ch;font-size:clamp(1.75rem,4vw,3.35rem)}.onboarding-heading>div>p:not(.eyebrow){max-width:36rem;line-height:1.5}.onboarding-progress{align-self:center;height:.22rem;border-radius:0;background:#e5e6e8}.onboarding-progress span{background:var(--black);border-radius:0;transition:width .3s cubic-bezier(.2,.8,.2,1)}.onboarding-form{padding-top:clamp(1.8rem,4vw,3rem)}.onboarding-step{min-height:27rem}.onboarding-step h3{max-width:23ch;font-size:clamp(1.7rem,4vw,3.1rem)}.step-copy{max-width:42rem;font-size:.76rem;line-height:1.6}.history-gate{max-width:58rem;display:grid;grid-template-columns:minmax(11rem,.6fr) minmax(0,1.4fr);gap:1rem 2.2rem;align-items:end;margin-top:2.6rem;padding:clamp(1.3rem,3vw,2.2rem);color:#f7f7f5;background:#111214;border:1px solid #111214}.history-gate-top{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-bottom:.9rem;border-bottom:1px solid #3a3c40}.history-gate .eyebrow{margin:0;color:#a7a9ad}.history-gate-status{color:#f7f7f5;font-family:var(--mono);font-size:.58rem;text-transform:uppercase;letter-spacing:.08em}.history-gate-count{display:flex;align-items:baseline;gap:.45rem}.history-gate-count strong{font-family:var(--display);font-size:clamp(4rem,10vw,7.5rem);line-height:.78;letter-spacing:-.1em;font-weight:500}.history-gate-count span{color:#a7a9ad;font-family:var(--mono);font-size:.62rem;line-height:1.35;text-transform:uppercase}.history-gate-bar{grid-column:1 / -1;height:.28rem;overflow:hidden;background:#383a3e}.history-gate-bar span{display:block;width:0;height:100%;background:#f7f7f5;transition:width .3s cubic-bezier(.2,.8,.2,1)}.history-gate h4{align-self:end;max-width:20ch;margin:0;font-family:var(--display);font-size:clamp(1.25rem,2.5vw,2rem);line-height:1;letter-spacing:-.065em;font-weight:500}.history-gate p:not(.eyebrow){grid-column:2;margin:0;color:#c8c9cc;font-size:.72rem;line-height:1.55}.history-gate-action{justify-self:start;margin-top:.45rem;color:#f7f7f5;background:transparent;border-color:#606267}.history-gate-action:hover{color:#111214;background:#f7f7f5;border-color:#f7f7f5}.review-step{min-height:27rem}.review-step h3{max-width:19ch}.review-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(17rem,.8fr);gap:clamp(1rem,3vw,2.5rem);align-items:stretch;margin-top:2.2rem}.review-summary-column{display:flex;flex-direction:column;gap:1rem}.review-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line)}.review-summary>div{min-height:6.5rem;display:grid;align-content:space-between;gap:.6rem;padding:1rem;background:#fafafa}.review-summary span{color:var(--muted);font-family:var(--mono);font-size:.56rem;letter-spacing:.08em;text-transform:uppercase}.review-summary strong{max-width:18ch;font-size:.86rem;line-height:1.2;font-weight:600}.route-note{display:flex;gap:.7rem;align-items:flex-start;margin:0;padding:.9rem 0 0;border-top:1px solid var(--line)}.route-note-mark{flex:0 0 auto;display:grid;place-items:center;width:1.3rem;height:1.3rem;color:var(--surface);background:var(--black);font-family:var(--mono);font-size:.72rem}.route-note p{margin:0;color:var(--muted);font-size:.68rem;line-height:1.55}.question-gate-compact{display:flex;flex-direction:column;justify-content:space-between;gap:1rem;padding:1.2rem;background:#f1f2f1;border-left:3px solid var(--black)}.question-gate-compact .eyebrow{margin:0}.question-gate-compact-row{display:flex;align-items:baseline;gap:.45rem}.question-gate-compact-row strong{font-family:var(--display);font-size:3.5rem;line-height:.85;letter-spacing:-.09em}.question-gate-compact-row span{color:var(--muted);font-family:var(--mono);font-size:.58rem;text-transform:uppercase}.question-gate-compact>p:not(.eyebrow){margin:0;color:var(--muted);font-size:.7rem;line-height:1.5}.question-gate-compact .history-gate-action{color:var(--ink);border-color:#b9bbbe}.question-gate-compact .history-gate-action:hover{color:var(--surface);background:var(--black);border-color:var(--black)}.onboarding-actions .primary-button:disabled{cursor:not-allowed;opacity:.38}.onboarding-step h3:focus{outline:0}.history-gate-action:focus-visible,.question-gate-compact:focus-within{outline:2px solid var(--black);outline-offset:3px}@media(max-width:760px){.history-gate{grid-template-columns:1fr}.history-gate p:not(.eyebrow){grid-column:1}.history-gate-action{grid-column:1}.review-layout{grid-template-columns:1fr}}@media(max-width:560px){.review-summary{grid-template-columns:1fr}.history-gate{margin-top:1.5rem}.history-gate-count strong{font-size:5rem}}@media(prefers-reduced-motion:reduce){.onboarding-progress span,.history-gate-bar span{transition:none}}.route-flow-steps[hidden],.cycle-ended-banner[hidden]{display:none}.route-flow-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:0 0 1.2rem;padding:0;list-style:none}.route-flow-steps li{min-height:5.1rem;display:grid;grid-template-columns:1.8rem 1fr;grid-template-rows:auto auto;gap:.15rem .65rem;align-content:center;padding:.85rem 1rem;background:var(--surface);border:1px solid var(--line)}.route-flow-steps li>span{width:1.55rem;height:1.55rem;display:grid;place-items:center;grid-row:1 / 3;color:var(--surface);background:var(--black);border-radius:50%;font-family:var(--mono);font-size:.7rem}.route-flow-steps strong{font-size:.78rem;line-height:1.3}.route-flow-steps small{color:var(--muted);font-size:.68rem;line-height:1.4}.week-preview{margin-top:1.7rem;padding:1rem;background:#f6f7f7;border:1px solid var(--line)}.week-preview-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:.9rem}.week-preview-heading .eyebrow{margin:0 0 .35rem}.week-preview-heading h4{margin:0;font-family:var(--display);font-size:1.15rem;letter-spacing:-.03em}.week-preview-heading>p{max-width:23rem;margin:0;color:var(--muted);font-size:.7rem;line-height:1.45}.week-preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(7.2rem,1fr));gap:.5rem}.week-preview-day{min-width:0;padding:.65rem;background:var(--surface);border:1px solid var(--line)}.week-preview-day>p{margin:0 0 .5rem;color:var(--muted);font-family:var(--mono);font-size:.65rem;text-transform:capitalize}.week-preview-day>strong{display:block;margin-bottom:.3rem;color:var(--ink);font-family:var(--mono);font-size:.72rem}.week-preview-day>span{display:block;color:var(--muted);font-size:.63rem;line-height:1.4}.week-preview-empty{grid-column:1 / -1;margin:0;color:var(--muted);font-size:.75rem}.question-gate-compact .history-gate-bar{width:100%;grid-column:auto;background:#d8dbde}.question-gate-compact .history-gate-bar span{background:var(--black)}.question-gate-ready{padding:.7rem;color:#155d35!important;background:#eaf5ee;border-left:2px solid #147b3c}.cycle-ended-banner{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1.1rem 1.25rem;background:#f5f6f5;border:1px solid var(--black)}.cycle-ended-banner .eyebrow{margin:0 0 .45rem}.cycle-ended-banner h3{margin:0;font-family:var(--display);font-size:1.2rem;letter-spacing:-.035em}.cycle-ended-banner p:not(.eyebrow){max-width:45rem;margin:.35rem 0 0;color:var(--muted);font-size:.72rem;line-height:1.5}.cycle-ended-actions{display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;gap:.5rem}.cycle-ended-actions .outline-button,.cycle-ended-actions .primary-button{width:auto;min-width:0}.cycle-ended-actions button[aria-busy=true]{min-width:12rem}[data-task-resource]{display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none}[data-task-resource]:focus-visible{outline:2px solid var(--black);outline-offset:2px}@media(max-width:760px){.route-flow-steps{grid-template-columns:1fr;gap:.45rem}.route-flow-steps li{min-height:3.7rem}.week-preview-heading,.cycle-ended-banner{align-items:flex-start;flex-direction:column}.cycle-ended-actions{width:100%}.cycle-ended-actions button{flex:1}}@media(max-width:560px){.week-preview{padding:.7rem}.week-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cycle-ended-actions{flex-direction:column}.cycle-ended-actions button{width:100%}}.route-main{max-width:1280px;padding-top:2.5rem;padding-bottom:4rem}.route-intro{align-items:center;padding-bottom:0;margin-bottom:2rem}.route-intro .eyebrow{font-size:.65rem;margin-bottom:.6rem}.route-intro h1{font-size:clamp(2.5rem,4vw,3.5rem);line-height:1.05;letter-spacing:-.055em;margin:0}.route-intro .intro-copy{max-width:45rem;font-size:.95rem;margin-top:.8rem}.route-intro>div{flex:1;min-width:0}.route-intro>button{width:auto;flex:0 0 auto;min-height:44px;font-size:.85rem;padding:.75rem 1rem;border-radius:.65rem;white-space:nowrap}.route-page button:enabled,.route-page select{cursor:pointer}.route-page button:focus-visible,.route-page a:focus-visible,.route-page select:focus-visible{outline:2px solid var(--ink);outline-offset:3px}@media(max-width:720px){.route-main{padding:1.5rem 1rem 3rem}.route-intro{gap:1rem;margin-bottom:1.5rem}.route-intro>button{width:auto}.route-intro .intro-copy{font-size:.9rem}}.route-page{--agenda-ink:#17191d;--agenda-muted:#636975;--agenda-line:#e5e7eb;--agenda-canvas:#f5f6f8}.route-calendar,.route-day-dialog,.demo-page .route-agenda{--ink:var(--agenda-ink);--muted:var(--agenda-muted);--line:var(--agenda-line);--canvas:var(--agenda-canvas)}.route-page:has([data-route-calendar]:not([hidden])){background:var(--agenda-canvas)}.route-page:has([data-route-calendar]:not([hidden])) .route-main{max-width:1440px;padding:2rem clamp(1rem,3.2vw,3rem) 3rem}.route-page:has([data-route-calendar]:not([hidden])) .route-intro{margin-bottom:1.5rem;gap:1rem;align-items:center}.route-page:has([data-route-calendar]:not([hidden])) .route-intro h1{font-size:clamp(2rem,3vw,3rem);letter-spacing:-.055em}.route-page:has([data-route-calendar]:not([hidden])) .route-intro .intro-copy{font-size:.95rem;max-width:55ch}.route-calendar{display:grid;gap:1.1rem}.route-next-study{display:grid;grid-template-columns:minmax(0,1fr) 230px;color:var(--surface);background:#20252a;border:1px solid #20252a;border-radius:20px;overflow:hidden}.route-next-main{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) auto;column-gap:1rem;padding:1.4rem 1.6rem;align-content:center}.route-next-symbol{grid-column:1;grid-row:1/4;display:grid;place-items:center;width:48px;height:48px;align-self:center;border:1px solid #4a5055;background:#30363b;border-radius:15px;color:var(--resolution-accent)}.route-next-symbol .ui-icon{width:24px;height:24px}.route-next-main .eyebrow{grid-column:2;color:#c4cad0;font-size:10px;margin:0 0 .4rem;letter-spacing:.1em}.route-next-main h2{grid-column:2;font:500 clamp(1.15rem,2vw,1.55rem)/1.25 var(--display);letter-spacing:-.035em;margin:0;overflow-wrap:anywhere}.route-next-description{grid-column:2;color:#c4cad0;font-size:12px;margin:.45rem 0 0}.route-next-description>span{margin:0 .35rem;color:#929ba3}.route-next-action{grid-column:3;grid-row:1/4;align-self:center;display:grid;gap:.45rem;margin-left:1.3rem}.route-next-action button{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:44px;padding:.65rem 1rem;color:#17191d;background:var(--resolution-accent);border:0;border-radius:10px;font-size:13px;font-weight:600;cursor:pointer}.route-next-action button:hover{background:#e5ff9b}.route-next-action>span{color:#c4cad0;font-size:10px;text-align:center}.route-next-link{grid-column:2;color:var(--resolution-accent);font-size:13px;margin-top:.7rem;text-underline-offset:3px}.route-today-summary{display:flex;flex-direction:column;justify-content:center;gap:.25rem;margin:1.1rem 0;padding:.2rem 1.5rem;border-left:1px solid #444a50}.route-today-label{color:#c4cad0;font:10px var(--mono);letter-spacing:.1em}.route-today-summary strong{font:500 1.3rem var(--display);letter-spacing:-.03em}.route-today-summary p{margin:0;font-size:11px;color:#c4cad0}.route-today-summary small{display:none}.route-cycle-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1px 0 -.5rem}.route-cycle-heading h2{margin:0;font-size:13px;font-weight:500}.route-cycle-heading p{margin:0;color:var(--muted);font-size:12px}.route-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden}.route-metric-grid article{display:flex;flex-direction:column;gap:.4rem;min-width:0;min-height:118px;padding:1.1rem 1.5rem;border-right:1px solid var(--line)}.route-metric-grid article:last-child{border-right:0}.route-metric-grid article>span{color:var(--muted);font-size:12px}.route-metric-grid article>strong{margin:0;font:500 1.8rem/1.15 var(--display);letter-spacing:-.055em;overflow-wrap:anywhere}.route-metric-grid article .metric-topic{font-size:1.1rem;line-height:1.35;letter-spacing:-.03em}.route-metric-grid article>small{color:var(--muted);font-size:11px;margin-top:auto}.route-completion-track{height:4px;background:var(--canvas);border-radius:9px;overflow:hidden}.route-completion-track>span{display:block;height:100%;background:#4a8067;border-radius:inherit}.route-agenda{min-width:0;margin-top:.8rem;background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:0 4px 24px #17191d03}.route-agenda-heading{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 1.75rem 0}.route-agenda-heading .eyebrow{color:var(--muted);font-size:10px;letter-spacing:.13em;margin:0 0 .35rem}.route-agenda-heading h2{font:500 1.25rem/1.3 var(--display);letter-spacing:-.04em;margin:0}.route-agenda-heading p:not(.eyebrow){font-size:13px;color:var(--muted);margin:.4rem 0 0}.route-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:1rem;padding:1.4rem 1.75rem;background:transparent;border:0}.calendar-nav{display:flex;align-items:center;gap:1.25rem;flex:1;min-width:0;margin:0}.calendar-nav h3{font:500 clamp(1.3rem,2vw,1.8rem)/1.2 var(--display);letter-spacing:-.045em;color:var(--ink);white-space:nowrap;margin:0}.calendar-nav h3:first-letter{text-transform:uppercase}.calendar-nav-actions{display:flex;align-items:center;gap:.3rem}.calendar-arrow{display:grid;place-items:center;width:34px;height:36px;border:0;border-radius:8px;background:transparent;color:var(--muted)}.calendar-arrow .ui-icon{width:16px;height:16px}.calendar-arrow:hover{background:var(--canvas);color:var(--ink)}.calendar-nav .compact-button{min-height:36px!important;font-size:12px!important;padding:.4rem .7rem!important;min-width:auto;width:auto;margin-left:.25rem;border-radius:8px}.calendar-tabs{display:flex;flex-shrink:0;gap:3px;background:var(--canvas);padding:4px;border-radius:10px}.calendar-tab{min-height:34px;padding:.4rem .85rem;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:12px;font-weight:500}.calendar-tab:hover{color:var(--ink);background:#eaecf0}.calendar-tab.is-active{color:var(--ink);background:var(--surface);box-shadow:0 1px 4px #17191d14}.calendar-filters{display:flex;gap:.5rem;min-width:0;margin:0}.calendar-filters .topic-combobox{width:155px;min-width:0}.calendar-filters .topic-combobox-trigger{min-height:42px;padding:.5rem .75rem;border-radius:10px;font-size:12px}.calendar-filters .topic-combobox-popover{border-color:var(--line);border-radius:10px}.calendar-filters .topic-combobox-option{font-size:12px;min-height:38px}.calendar-filters .topic-combobox-list{margin-top:0}.calendar-filters select:not(.topic-select-native){max-width:170px;font-size:12px}.route-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:0}.calendar-surface{min-width:0;padding:0;border:0;border-top:1px solid var(--line);background:var(--surface)}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;padding:14px 0;margin:0;background:#fafbfc;border-bottom:1px solid var(--line);text-align:center}.calendar-weekdays span{font:500 10px var(--mono);letter-spacing:.07em;color:var(--muted);text-transform:uppercase}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;padding:0;background:var(--line)}.calendar-day{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0;min-height:152px;padding:12px 10px 10px;border:0;border-radius:0;color:var(--ink);background:var(--surface);text-align:left;cursor:pointer;transition:background .15s ease,box-shadow .15s ease}.calendar-grid.week-view .calendar-day{min-height:240px}.calendar-day-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;gap:4px}.calendar-day-number{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;font:500 15px var(--display)}.calendar-day-name{display:none}.calendar-day.is-today .calendar-day-name{display:block;color:#44532c;font-size:10px;font-weight:500}.calendar-day.is-today .calendar-day-number{background:var(--resolution-accent);color:#202d13}.calendar-day-preview{display:grid;gap:4px}.calendar-task-preview{display:flex;align-items:center;gap:5px;min-width:0;padding:5px 6px;color:var(--area-ink);background:var(--area-fill);border-radius:5px;font-size:13px;line-height:1.2}.calendar-task-preview>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.calendar-task-preview>i{flex-shrink:0;width:4px;height:4px;background:var(--area-color);border-radius:50%;font-style:normal}.calendar-task-preview.is-complete>i{width:auto;height:auto;background:none;font-size:11px}.calendar-task-preview.is-complete>span{text-decoration:line-through;opacity:.75}.calendar-day-more{font-size:10px;color:var(--muted);margin:5px 0 0;padding-left:2px}.calendar-day-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:2px;margin-top:auto;padding:12px 2px 0}.calendar-day-summary{font-size:10px;color:var(--muted)}.calendar-day-duration{color:var(--muted);font:10px var(--mono)}.calendar-day-progress{display:block;height:3px;border-radius:5px;margin:6px 2px 0;overflow:hidden;background:var(--canvas)}.calendar-day-progress>span{display:block;height:100%;background:#4a8067}.calendar-day-count,.calendar-area-dots{display:none}.calendar-day.is-outside{color:#747b86;background:#f9fafb}.calendar-day.is-outside .calendar-day-number{color:#747b86}.calendar-day.is-outside .calendar-day-preview{opacity:.65}.calendar-day.is-selected{background:#f6f9f1;box-shadow:inset 0 0 0 2px #7d955a;z-index:1}.calendar-day:hover{background:#f5f7f9}.calendar-day.is-selected:hover{background:#f0f5e8}.calendar-day:focus-visible{outline:0!important;box-shadow:inset 0 0 0 3px #17191d;z-index:2}.calendar-day.is-filtered-empty .calendar-day-summary{font-size:9px}.calendar-legend{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1.3rem;padding:1rem 1.75rem;border-top:1px solid var(--line)}.calendar-legend>span{display:inline-flex;align-items:center;gap:.4rem;color:var(--muted);font-size:11px}.calendar-legend i{width:6px;height:6px;background:var(--area-color);border-radius:50%}.calendar-legend .calendar-legend-hint{margin-left:auto;font-size:11px}.study-area-math{--area-color:#5683c5;--area-ink:#315b96;--area-fill:#eef4fd}.study-area-language{--area-color:#9274bb;--area-ink:#6f4f96;--area-fill:#f4effa}.study-area-humanities{--area-color:#b58a3c;--area-ink:#806025;--area-fill:#faf4e8}.study-area-nature{--area-color:#599879;--area-ink:#366e54;--area-fill:#edf7f1}.study-area-essay{--area-color:#bf788f;--area-ink:#944c65;--area-fill:#fcf0f4}.study-area-neutral{--area-color:#7b8490;--area-ink:#515b68;--area-fill:#f0f2f5}.route-status{min-height:1.3rem;margin:0;color:var(--muted);font-size:13px}.route-status.is-error{color:#a23c3c}.route-status.is-success{color:#366e54}.route-day-dialog>.route-status{margin-top:.75rem;line-height:1.5}.route-day-open{overflow:hidden}.route-day-dialog{position:fixed;inset:0;width:min(800px,calc(100% - 3rem));max-width:none;min-height:0;max-height:calc(100dvh - 3rem);margin:auto;padding:1.5rem;border:1px solid var(--line);border-radius:22px;background:var(--surface);color:var(--ink);overflow:auto;overscroll-behavior:contain;box-shadow:0 24px 100px #17191d30}.route-day-dialog:not([open]){display:none}.route-day-dialog::backdrop{background:#17191d60;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.day-panel-heading{position:sticky;top:-1.5rem;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:-1.5rem -1.5rem 0;padding:1.5rem;background:var(--surface);border-bottom:1px solid var(--line)}.day-panel-heading .eyebrow{font-size:10px;margin:0 0 .5rem;color:var(--muted)}.day-panel-heading h3{margin:0;font:500 1.6rem/1.25 var(--display);letter-spacing:-.045em}.day-dialog-tools{display:flex;align-items:center;gap:.7rem}.day-panel-count{white-space:nowrap;color:var(--muted);background:var(--canvas);padding:.5rem .75rem;border-radius:8px;font-size:11px}.day-dialog-close{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:var(--surface);font-size:24px}.day-dialog-close:hover{background:var(--canvas)}.day-task-list{display:grid;gap:.6rem;padding-top:1rem}.day-panel-instruction{color:var(--muted);font-size:13px;margin:0 0 .4rem}.day-task{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:1rem;width:100%;padding:1rem;border:1px solid var(--line);border-radius:13px;text-align:left;color:var(--ink);background:var(--surface)}.day-task-marker{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--area-fill);color:var(--area-ink);font-size:17px}.day-task-title{display:block;font-size:16px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}.day-task-meta{display:block;color:var(--area-ink);font-size:11px;margin:0 0 .35rem}.day-task-status{display:block;font-size:11px;color:var(--muted);margin-top:.3rem}.day-task-time{font:12px var(--mono);color:var(--muted);text-align:right;white-space:nowrap}.day-task-time>span{display:block;font:11px var(--body);margin-top:.55rem;color:var(--ink)}.day-task:hover,.day-task.is-active{background:#fafbfc;border-color:#a9b4c1}.day-task.is-complete .day-task-title{text-decoration:line-through;color:var(--muted)}.task-detail{margin-top:1.25rem;padding:1.5rem;border:1px solid var(--line);border-radius:16px;background:#f9fafb}.task-detail[hidden]{display:none}.task-detail-head{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.task-type-label{font:11px var(--mono);letter-spacing:.08em;color:var(--muted)}.task-detail-head .icon-button{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--line);border-radius:9px}.task-detail h4{margin:.65rem 0 .5rem;font:500 1.5rem/1.25 var(--display);letter-spacing:-.045em;overflow-wrap:anywhere}.task-detail-topic{font-size:12px;color:var(--muted);margin:0}.task-detail-instructions{font-size:14px;line-height:1.7;color:var(--muted)}.route-rationale{font-size:13px}.route-rationale summary{cursor:pointer;font-weight:500;padding:.5rem 0}.route-rationale p{color:var(--muted);line-height:1.6}.task-detail-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;padding:1rem 0;margin:1rem 0;border-block:1px solid var(--line)}.task-detail-meta dt{font-size:11px;color:var(--muted);margin-bottom:.3rem}.task-detail-meta dd{margin:0;font-size:13px;font-weight:500}.task-actions{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.task-actions .compact-button{min-height:44px!important;padding:.7rem 1rem!important;font-size:13px!important;border-radius:10px}.task-actions [data-task-resource]{grid-column:1/-1;background:var(--ink);color:var(--surface);border-color:var(--ink)}.task-actions [data-task-resource]:hover{background:#363c45}.task-actions button:disabled{opacity:.45;cursor:not-allowed;transform:none}.task-skip-field{margin-top:1rem;font-size:13px}.task-skip-field select{font-size:13px}.text-action{margin-top:.75rem;border:0;background:transparent;color:var(--muted);font-size:13px;text-decoration:underline;text-underline-offset:3px}.route-day-empty{padding:2.5rem 1rem;text-align:center}.route-empty-mark{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:var(--canvas);margin:0 auto 1rem;font-size:24px}.route-day-empty h4{font:500 1.4rem var(--display);margin:0;letter-spacing:-.04em}.route-day-empty p{max-width:40ch;margin:.75rem auto 1.25rem;color:var(--muted);font-size:14px;line-height:1.6}.route-day-empty button{font-size:13px;min-height:44px}.route-calendar button:enabled,.route-day-dialog button:enabled{cursor:pointer}.route-calendar button:focus-visible,.route-calendar a:focus-visible,.route-day-dialog button:focus-visible,.route-day-dialog summary:focus-visible{outline:2px solid var(--ink);outline-offset:3px}.route-next-study button:focus-visible,.route-next-study a:focus-visible{outline-color:var(--resolution-accent)}@media(max-width:1200px){.calendar-filters{width:100%;justify-content:flex-end}.calendar-filters .topic-combobox{width:180px}.route-next-main{grid-template-columns:40px minmax(0,1fr)}.route-next-symbol{width:40px;height:40px}.route-next-action{grid-column:2;grid-row:auto;margin:1rem 0 0;justify-items:start}.route-next-action>span{display:none}}@media(max-width:900px){.route-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.route-metric-grid article:nth-child(2){border-right:0}.route-metric-grid article:nth-child(-n+2){border-bottom:1px solid var(--line)}.route-next-study{grid-template-columns:minmax(0,1fr) 190px}.route-today-summary{padding:1rem}.calendar-task-preview{font-size:12px;padding:5px 4px}.calendar-day{padding:10px 6px}.calendar-day-duration{display:none}}@media(max-width:600px){.route-page:has([data-route-calendar]:not([hidden])) .route-main{padding:1.25rem .75rem 2rem}.route-page:has([data-route-calendar]:not([hidden])) .route-intro{align-items:flex-start;flex-direction:row;flex-wrap:wrap;margin-bottom:1.25rem}.route-page:has([data-route-calendar]:not([hidden])) .route-intro .intro-copy{font-size:13px}.route-page:has([data-route-calendar]:not([hidden])) .route-intro>button{min-height:40px;font-size:12px;padding:.5rem .75rem}.route-next-study{grid-template-columns:1fr;border-radius:16px}.route-next-main{padding:1.2rem;grid-template-columns:36px minmax(0,1fr);gap:0 .75rem}.route-next-symbol{width:36px;height:36px}.route-next-main h2{font-size:18px}.route-next-action{margin-top:.85rem}.route-today-summary{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:.35rem .7rem;margin:0 1.2rem;padding:.85rem 0;border-left:0;border-top:1px solid #444a50}.route-today-summary strong{font-size:13px}.route-today-summary p{font-size:11px}.route-cycle-heading{flex-direction:column;align-items:flex-start;gap:.25rem}.route-metric-grid{border-radius:16px}.route-metric-grid article{padding:1rem;min-height:116px}.route-metric-grid article>strong{font-size:1.6rem}.route-metric-grid article .metric-topic{font-size:1rem}.route-metric-grid article>span{font-size:11px}.route-agenda{border-radius:16px;margin-top:.3rem}.route-agenda-heading{padding:1.15rem 1rem 0}.route-agenda-heading h2{font-size:19px}.route-agenda-heading p:not(.eyebrow){font-size:12px;line-height:1.5}.route-toolbar{padding:1rem;gap:.85rem}.calendar-nav{flex-basis:100%;flex-wrap:wrap;justify-content:space-between;gap:.25rem}.calendar-nav h3{font-size:clamp(18px,5.5vw,22px)}.calendar-nav-actions{gap:0}.calendar-arrow{width:28px;min-height:40px}.calendar-nav .compact-button{min-height:40px!important;margin-left:0}.calendar-tabs{margin-right:auto}.calendar-filters{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;width:100%}.calendar-filters .topic-combobox{width:100%}.calendar-filters .topic-combobox-trigger{font-size:11px}.calendar-weekdays{padding:12px 0}.calendar-weekdays span{font-size:9px}.calendar-day{min-height:86px;padding:6px 4px 8px}.calendar-grid.week-view .calendar-day{min-height:110px}.calendar-day-heading{margin-bottom:6px;justify-content:center}.calendar-day-number{width:28px;height:28px;font-size:14px;border-radius:9px}.calendar-day.is-today .calendar-day-name,.calendar-day-preview,.calendar-day-more{display:none}.calendar-area-dots{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:3px;min-height:5px}.calendar-area-dots i{display:block;width:4px;height:4px;border-radius:50%;background:var(--area-color)}.calendar-day-footer{padding:5px 0 0;justify-content:center}.calendar-day-summary{font-size:9px;text-align:center}.calendar-count-value{display:inline-flex;min-width:17px;align-items:center;justify-content:center}.calendar-count-label{display:none}.calendar-day-progress{margin:4px 2px 0;height:2px}.calendar-day.is-filtered-empty .calendar-day-summary{font-size:8px}.calendar-legend{padding:.85rem 1rem;gap:.6rem .9rem}.calendar-legend>span{font-size:10px}.calendar-legend .calendar-legend-hint{display:none}.route-day-dialog{width:calc(100% - 1rem);max-height:calc(100dvh - 1rem);padding:1rem;border-radius:18px}.day-panel-heading{top:-1rem;margin:-1rem -1rem 0;padding:1.15rem 1rem;gap:.5rem}.day-panel-heading h3{font-size:20px}.day-panel-count{display:none}.day-task{grid-template-columns:32px minmax(0,1fr);gap:.6rem;padding:.85rem}.day-task-marker{width:32px;height:32px}.day-task-time{grid-column:2;text-align:left}.day-task-time>span{display:inline;margin-left:1rem}.task-detail{padding:1rem}.task-detail h4{font-size:22px}.task-actions{grid-template-columns:1fr}.task-detail-meta{gap:.5rem}}@media(prefers-reduced-motion:reduce){.calendar-day,.route-calendar button{transition:none}}
