@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/f639721981034f88-s.woff2?dpl=dpl_H2T3sSEBeMng6JWhsgUe2L2LYeaU) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/9766a7e9e2e0ad5a-s.woff2?dpl=dpl_H2T3sSEBeMng6JWhsgUe2L2LYeaU) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/b66cf8e69499582a-s.woff2?dpl=dpl_H2T3sSEBeMng6JWhsgUe2L2LYeaU) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/aa016aab0e6d1295-s.woff2?dpl=dpl_H2T3sSEBeMng6JWhsgUe2L2LYeaU) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/22a5144ee8d83bca-s.p.woff2?dpl=dpl_H2T3sSEBeMng6JWhsgUe2L2LYeaU) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Geist Fallback;src:local("Arial");ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.00%;size-adjust:104.76%}.__className_fe9d73{font-family:Geist,Geist Fallback;font-style:normal}.__variable_fe9d73{--font-geist-sans:"Geist","Geist Fallback"}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/013b72fa676f92e0-s.woff2?dpl=dpl_H2T3sSEBeMng6JWhsgUe2L2LYeaU) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/b9408752a0c24fb9-s.woff2?dpl=dpl_H2T3sSEBeMng6JWhsgUe2L2LYeaU) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/65f03d54ccadf4a8-s.woff2?dpl=dpl_H2T3sSEBeMng6JWhsgUe2L2LYeaU) format("woff2");unicode-range:u+2000-2001,u+2004-2008,u+200a,u+23b8-23bd,u+2500-259f}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/e038a29029a234f2-s.woff2?dpl=dpl_H2T3sSEBeMng6JWhsgUe2L2LYeaU) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/2b5b02fc7e511755-s.woff2?dpl=dpl_H2T3sSEBeMng6JWhsgUe2L2LYeaU) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/7d4881bb7e1bf84d-s.p.woff2?dpl=dpl_H2T3sSEBeMng6JWhsgUe2L2LYeaU) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Geist Mono Fallback;src:local("Arial");ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.00%;size-adjust:134.59%}.__className_945a7f{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}.__variable_945a7f{--font-geist-mono:"Geist Mono","Geist Mono Fallback"}:root{--background:#0d1113;--surface:#151b1e;--surface-raised:#1b2327;--surface-soft:#202b2f;--border:#2d393e;--text:#f2f6f4;--text-muted:#a9b5b0;--accent:#97e0c3;--accent-strong:#b5efd8;--accent-ink:#102018;--radius-small:0.75rem;--radius-medium:1.25rem;--radius-large:2rem;--shadow:0 24px 64px rgb(0 0 0/24%)}*{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}html{min-width:320px;background:var(--background)}body{min-height:100vh;margin:0;background:radial-gradient(circle at 75% -10%,rgb(82 150 125/18%),transparent 32rem),var(--background);color:var(--text);font-family:var(--font-geist-sans),system-ui,sans-serif}a,button{font:inherit}a:focus-visible,button:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.app-shell{width:min(100%,96rem);min-height:100vh;margin:0 auto}.topbar{display:flex;justify-content:space-between;min-height:5.25rem;padding:1rem clamp(1rem,4vw,3.5rem)}.brand,.topbar{align-items:center}.brand{display:inline-flex;gap:.75rem;color:var(--text);font-size:1.05rem;font-weight:680;letter-spacing:-.02em;text-decoration:none}.brand-mark{display:grid;width:2.35rem;height:2.35rem;place-items:center;border-radius:.8rem;background:var(--accent);color:var(--accent-ink);font-weight:800}.language-switcher{display:flex;gap:.2rem;padding:.2rem;border:1px solid var(--border);border-radius:999px;background:rgb(21 27 30/72%)}.language-switcher form{display:contents}.language-button{min-height:2.25rem;padding:.35rem .75rem;border:0;border-radius:999px;background:transparent;cursor:pointer;font-size:.8rem;font-weight:650}.language-button[aria-pressed=true]{background:var(--surface-soft);color:var(--text)}.dashboard{padding:clamp(1rem,3vw,2rem) clamp(1rem,4vw,3.5rem) 4rem}.subject-form{display:grid;gap:1.1rem;max-width:38rem}.subject-form label{display:grid;gap:.5rem}.subject-form .organization-children label{display:flex;align-items:center;padding:.5rem}.subject-form .organization-children input{width:1.25rem;height:1.25rem;flex-shrink:0}.subject-form input,.subject-form select,.subject-form textarea{width:100%;min-width:0;padding:.75rem;border:1px solid #47615b;border-radius:.6rem;background:#182423;color:#f5f7f6;font:inherit}.field-help{margin:0;font-size:.9rem}.form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:1rem}.subject-list{list-style:none;padding:0;margin:1.5rem 0 0;display:grid;gap:1rem}.completed-subjects{margin-top:1.5rem}.completed-subjects>summary{cursor:pointer;padding:.75rem 0;font-weight:650}.subject-list article{padding:1.2rem;border:1px solid #344944;border-radius:1rem;overflow-wrap:anywhere}.subject-list h3{margin:0 0 .6rem}.subject-list h3 a{text-decoration-color:var(--accent)}.hierarchy-tree,.hierarchy-tree ul{list-style:none;padding-left:1rem;display:grid;gap:1rem}.hierarchy-tree{padding:0}.hierarchy-tree details{border:1px solid var(--border);border-radius:.6rem;padding:.8rem;overflow-wrap:anywhere}.hierarchy-tree summary{cursor:pointer;line-height:1.6}.hierarchy-tree summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.hierarchy-tree .field-help{margin:.7rem 0}.subject-detail section{margin-top:1.5rem}.activity-list{padding-left:1.5rem}.activity-list>li{margin-block:1.5rem;padding-left:.5rem;overflow-wrap:anywhere}.activity-list p{margin-block:.4rem}.change-record{border:1px solid var(--border);border-radius:var(--radius-small);padding:1rem;max-width:38rem;overflow-wrap:anywhere}.hierarchy-tree details>a{display:inline-block;margin:.6rem 0}.subject-list p{margin:0 0 1rem}.account-controls{display:flex;gap:1rem;justify-content:flex-end}.login-panel{margin:1rem clamp(1rem,4vw,3.5rem);padding:1.25rem;border:1px solid var(--border);border-radius:var(--radius-medium)}.login-panel p{color:var(--text-muted);line-height:1.6}.settings-panel{display:grid;gap:1.5rem;justify-items:start}.settings-panel h1{max-width:none;font-size:clamp(2rem,6vw,4rem)}.settings-panel p{max-width:40rem;line-height:1.6;color:var(--text-muted)}.hero{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(18rem,.7fr);gap:clamp(2rem,6vw,6rem);align-items:end;padding:clamp(2rem,6vw,5rem) 0 clamp(2.5rem,6vw,5rem)}.eyebrow{margin:0 0 .65rem;color:var(--accent);font-size:.76rem;font-weight:750;letter-spacing:.13em;text-transform:uppercase}h1,h2,p{text-wrap:pretty}h1{max-width:13ch;font-size:clamp(2.5rem,7vw,5.5rem);letter-spacing:-.065em;line-height:.98}h1,h2{margin:0;font-weight:620}h2{font-size:clamp(1.4rem,3vw,2rem);letter-spacing:-.035em}.hero-description{max-width:42rem;margin:1.5rem 0 0;color:var(--text-muted);font-size:clamp(1rem,2vw,1.15rem);line-height:1.65}.foundation-list{display:grid;gap:.8rem;margin:0;padding:1.25rem;border:1px solid var(--border);border-radius:var(--radius-medium);background:rgb(21 27 30/70%);list-style:none}.foundation-list li{display:flex;gap:.75rem;align-items:center;color:var(--text-muted);font-size:.9rem}.foundation-list span{display:grid;width:1.55rem;height:1.55rem;flex:0 0 auto;place-items:center;border-radius:50%;background:rgb(151 224 195/12%);color:var(--accent)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(18rem,.8fr);gap:1rem}.assistant-panel,.subjects-panel{border:1px solid var(--border);border-radius:var(--radius-large);box-shadow:var(--shadow)}.subjects-panel{min-height:28rem;padding:clamp(1.25rem,3vw,2rem);background:var(--surface)}.panel-heading{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.status-pill{padding:.45rem .7rem;border-radius:999px;background:rgb(151 224 195/10%);font-size:.72rem;font-weight:700;white-space:nowrap}.empty-state{display:grid;min-height:20rem;place-items:center;align-content:center;padding:2rem 1rem;text-align:center}.empty-state p{max-width:28rem;margin:1.5rem 0;color:var(--text-muted);line-height:1.6}.empty-state small{margin-top:.7rem;color:var(--text-muted)}.empty-illustration{position:relative;width:7rem;height:5rem}.empty-illustration span{position:absolute;inset:0;border:1px solid var(--border);border-radius:1rem;background:var(--surface-raised);transform-origin:bottom center}.empty-illustration span:first-child{transform:rotate(-8deg) translateX(-1rem)}.empty-illustration span:nth-child(2){transform:rotate(8deg) translateX(1rem)}.empty-illustration span:last-child{border-color:rgb(151 224 195/45%);background:linear-gradient(to bottom,transparent 1.1rem,rgb(151 224 195/12%) 1.1rem 1.2rem,transparent 1.2rem 2rem),var(--surface-soft)}.primary-button,.primary-link{display:inline-flex;min-height:2.9rem;align-items:center;justify-content:center;padding:.7rem 1.15rem;border:0;border-radius:var(--radius-small);background:var(--accent);color:var(--accent-ink);font-weight:720;text-decoration:none}.primary-button:disabled{cursor:not-allowed;opacity:.62}.assistant-panel{position:relative;overflow:hidden;min-height:28rem;padding:clamp(1.5rem,4vw,2.5rem);background:linear-gradient(145deg,rgb(151 224 195/12%),transparent 55%),var(--surface-raised)}.assistant-panel:after{position:absolute;right:-6rem;bottom:-8rem;width:18rem;height:18rem;border-radius:50%;background:rgb(151 224 195/8%);content:"";filter:blur(2px)}.assistant-panel h2{position:relative;max-width:15ch;z-index:1}.assistant-panel>p:not(.eyebrow){position:relative;max-width:31rem;margin:1rem 0 0;z-index:1;color:var(--text-muted);line-height:1.6}.assistant-orb{display:grid;width:5rem;height:5rem;margin-bottom:3.5rem;place-items:center;border:1px solid rgb(151 224 195/28%);border-radius:50%;background:rgb(151 224 195/7%)}.assistant-orb span{width:2rem;height:2rem;border-radius:45% 55% 62% 38%/47% 44% 56% 53%;background:var(--accent);box-shadow:0 0 2rem rgb(151 224 195/55%)}.assistant-status{position:absolute;bottom:2rem;left:clamp(1.5rem,4vw,2.5rem);z-index:1;display:flex;gap:.55rem;align-items:center;color:var(--text-muted);font-size:.82rem;font-weight:620}.assistant-status span{width:.55rem;height:.55rem;border-radius:50%;background:var(--accent);box-shadow:0 0 0 .25rem rgb(151 224 195/10%)}.centered-page{display:grid;min-height:calc(100vh - 5.25rem);place-items:center;align-content:center;gap:1.5rem;padding:2rem;text-align:center}.centered-page h1{max-width:none;font-size:clamp(2rem,6vw,4rem)}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;margin:-1px;padding:0;border:0;clip:rect(0 0 0 0);white-space:nowrap}@media (max-width:56rem){.dashboard-grid,.hero{grid-template-columns:1fr}.hero{gap:2rem}.foundation-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:38rem){.topbar{align-items:flex-start}.brand{margin-top:.2rem}.language-switcher{flex-direction:column;border-radius:.9rem}.language-button{width:100%;border-radius:.65rem}.hero{padding-top:2.5rem}.foundation-list{grid-template-columns:1fr}.panel-heading{flex-direction:column}.assistant-panel,.subjects-panel{border-radius:var(--radius-medium)}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.url-snapshot{min-width:0;max-width:100%;overflow-wrap:anywhere}.source-original{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.photo-preview{width:min(300px,100%);aspect-ratio:1;display:grid;place-items:center;overflow:hidden;background:#f2f4f7}.photo-preview img{width:100%;height:100%}.photo-selection button{margin-bottom:.5rem}.source-image{position:relative;max-width:760px;width:100%;background:#f2f4f7}.source-image img{display:block;width:100%;height:100%;object-fit:contain}.source-image svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.source-image rect{fill:#ffd16620;stroke:#945d00;stroke-width:3;vector-effect:non-scaling-stroke}.source-image text{fill:#663f00;font-size:28px;font-weight:700}.source-image g:target rect{fill:#ffd16660;stroke:#164abf;stroke-width:5}.chat-panel,.search-form{display:grid;gap:1rem;min-width:0;width:100%;max-width:48rem}.chat-create-form{width:100%}.chat-panel select,.chat-panel textarea,.search-form input,.search-form select{width:100%;max-width:100%;box-sizing:border-box}.chat-panel fieldset{display:grid;gap:.5rem;min-width:0}.chat-transcript{display:grid;gap:1.5rem}.chat-turn,.search-hit{border:1px solid var(--border,#d9dce3);padding:1rem;min-width:0;overflow-wrap:anywhere}.chat-draft,.chat-question,.chat-segment p,.search-hit blockquote,.search-hit p{white-space:pre-wrap}.chat-question{background:#eef2ff;padding:1rem;border-radius:.75rem;color:#172039}.chat-turn-scope{font-size:.85rem}.chat-action{margin-block:.5rem}.chat-page{max-width:960px}.written-prompt{white-space:pre-wrap}.written-actions{display:flex;flex-wrap:wrap;gap:.75rem}.written-choice{display:flex;align-items:center;gap:.75rem;min-height:46px;padding-block:.5rem}.subject-form .written-choice input{width:auto;min-height:auto}.subject-form fieldset{min-width:0;display:grid;gap:.75rem;border:1px solid var(--border,#d9dce3);border-radius:.75rem;padding:1rem}.subject-form fieldset>div{display:grid;gap:.5rem}:root{--study-drawer-width:460px}.assistant-launcher{right:1rem}.study-drawer{position:fixed;top:0;right:0;bottom:0;z-index:70;width:min(100vw,var(--study-drawer-width));overflow:auto;background:#111b1b;border-left:1px solid #42615b;padding:1rem;box-shadow:-1rem 0 3rem #0005}.assistant-launcher[hidden],.study-drawer[hidden]{display:none}.study-drawer-heading{display:flex;gap:1rem;align-items:center;justify-content:space-between}.study-drawer button,.study-drawer select{min-height:44px}.study-drawer select{max-width:100%}.study-drawer .chat-transcript{max-height:45dvh;overflow:auto}@media (min-width:1200px){.app-shell:has(.study-drawer:not([hidden])){padding-right:calc(var(--study-drawer-width) + 1rem)}}:root{color-scheme:dark;--background:#101817;--surface:#172220;--surface-raised:#1d2b27;--surface-soft:#263831;--border:#34473f;--text:#edf4ee;--text-muted:#b1c2b8;--accent:#9cddbd;--accent-strong:#beefd5;--accent-ink:#122d22;--focus:#f3ca72;--source-bg:#3b321e;--source-text:#f7d88e;--radius-large:1.2rem;--shadow:0 3px 14px rgb(0 0 0/8%);--sidebar-width:13rem;--study-drawer-width:23rem}:root[data-theme=light]{color-scheme:light;--background:#f5f6f1;--surface:#ffffff;--surface-raised:#eef2e9;--surface-soft:#e4eee5;--border:#cbd7cd;--text:#193b34;--text-muted:#53675e;--accent:#176449;--accent-strong:#125139;--accent-ink:#ffffff;--focus:#9d6500;--source-bg:#fff1ce;--source-text:#67480a}body{background:var(--background);line-height:1.6;font-size:.95rem}a{color:var(--accent);text-underline-offset:3px;overflow-wrap:anywhere}button,input,select,textarea{font:inherit}button{cursor:pointer;min-height:44px;padding:.6rem 1rem;border:1px solid var(--border);border-radius:.65rem;color:var(--text);background:var(--surface-raised)}button:disabled{cursor:not-allowed;opacity:.55}input,select,textarea{min-height:44px;max-width:100%;border:1px solid var(--border);border-radius:.65rem;background:var(--surface);color:var(--text);padding:.65rem .8rem}input[type=checkbox],input[type=radio]{min-height:1.2rem;width:1.2rem;accent-color:var(--accent)}input::file-selector-button{min-height:44px;border:0;border-radius:.5rem;padding:.6rem .8rem;margin-right:.7rem;background:var(--surface-soft);color:var(--text);font:inherit;cursor:pointer}textarea{resize:vertical;line-height:1.6}input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:3px}[hidden]{display:none!important}h1{font-size:clamp(1.8rem,3vw,2.5rem);max-width:none;letter-spacing:-.045em;line-height:1.15}h2{font-size:1.4rem;line-height:1.3;margin:0 0 1rem}h3{font-size:1.05rem;margin:0 0 .75rem}p{overflow-wrap:anywhere}summary{min-height:44px;padding:.5rem 0;cursor:pointer}progress{display:block;width:100%;max-width:30rem;height:.5rem;margin:1rem 0;accent-color:var(--accent);border:0}progress::-webkit-progress-bar{background:var(--surface-soft);border-radius:5px}progress::-webkit-progress-value{background:var(--accent);border-radius:5px}.app-shell{max-width:none;width:100%;padding:0!important}.signed-shell{display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr)}.app-content{min-width:0}.app-sidebar{position:sticky;top:0;height:100dvh;padding:1.8rem 1rem 6rem;border-right:1px solid var(--border);background:var(--surface)}.app-sidebar .brand{margin-bottom:2.5rem}.primary-nav{display:grid;gap:.4rem}.primary-nav a{display:flex;align-items:center;gap:.8rem;min-height:48px;padding:.7rem .85rem;color:var(--text-muted);text-decoration:none;border-radius:.75rem;font-size:.86rem}.primary-nav a[aria-current=page]{background:var(--surface-soft);color:var(--accent);font-weight:700}.primary-nav a span:first-child{width:1.3rem;text-align:center;font-size:1.2rem}.sidebar-add{display:block;margin:2rem .4rem;font-size:.85rem}.topbar{min-height:5rem;padding:1rem 2rem;border-bottom:1px solid var(--border);background:var(--surface);gap:1rem;flex-wrap:wrap}.signed-shell .topbar>.brand{display:none}.signed-shell .topbar{justify-content:flex-end}.account-controls{align-items:center;gap:.7rem;flex-wrap:wrap}.account-controls a,.settings-panel a:not(.primary-link){color:var(--accent)}.language-switcher{background:var(--surface-raised);border-radius:.75rem;flex-direction:row}.language-button{min-height:44px;color:var(--text-muted)}.theme-switcher button{display:inline-flex;gap:.55rem;align-items:center;min-height:44px}.account-menu{position:relative;font-size:.85rem}.account-menu summary{padding:.6rem .8rem;border:1px solid var(--border);border-radius:.65rem}.account-menu>div{position:absolute;right:0;top:100%;min-width:13rem;padding:1rem;display:grid;gap:.8rem;z-index:65;background:var(--surface);border:1px solid var(--border);border-radius:.75rem;box-shadow:var(--shadow)}.account-menu form{margin:0}.global-tools{display:flex;gap:1.25rem;align-items:center;justify-content:space-between;padding:1rem 2rem;border-bottom:1px solid var(--border);flex-wrap:wrap;font-size:.85rem}.global-search{min-height:44px;width:min(24rem,40%);background:var(--surface);border:1px solid var(--border);border-radius:.65rem;padding:.6rem 1rem;text-decoration:none}.dashboard{padding:2rem;max-width:96rem;margin:0 auto;width:100%;min-width:0}.settings-panel{display:block}.settings-panel>*{margin-bottom:1.3rem}.centered-page h1,.settings-panel h1{font-size:clamp(1.8rem,3vw,2.5rem)}.settings-panel p{max-width:65ch;line-height:1.65}.settings-panel>section,.ui-card{padding:1.5rem;border:1px solid var(--border);border-radius:1rem;background:var(--surface);margin-bottom:1.25rem;min-width:0}.settings-panel>section .ui-card{padding:1rem}.ui-card>:last-child{margin-bottom:0}.hero{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:.5rem 0 2rem}.hero-description,.lead{margin:.75rem 0 0;color:var(--text-muted);font-size:1rem}.foundation-list{background:var(--surface)}.dashboard-grid{grid-template-columns:minmax(0,1.8fr) minmax(18rem,1fr);gap:1.5rem}.home-main{min-width:0}.recommendation{background:var(--surface-raised);border-color:var(--border)}.recommendation form,.recommendation>a{display:inline-block;margin:.5rem 1rem .5rem 0}.recommendation ul{padding-left:1.2rem;color:var(--text-muted)}.home-support h2{font-size:1.2rem}.workspace-list{list-style:none;margin:0;padding:0}.workspace-list li{padding:1rem 0;border-bottom:1px solid var(--border)}.workspace-list li:last-child{border:0}.workspace-list p{margin:.4rem 0 0;font-size:.82rem;color:var(--text-muted)}.subjects-panel{min-height:0;border-radius:1rem;padding:1.5rem;box-shadow:none}.subject-list article{background:var(--surface);padding:1.25rem;border-radius:.8rem}.subject-list h3 a{color:var(--text)}.subject-list p{font-size:.85rem;color:var(--text-muted)}.panel-heading{align-items:center;flex-direction:row;flex-wrap:wrap;margin-bottom:1rem}.status-pill{display:inline-block;white-space:normal;background:var(--surface-soft);color:var(--accent);border-radius:.4rem}.primary-button,.primary-link{min-height:44px;border:1px solid transparent;font-size:.87rem;padding:.65rem 1rem;cursor:pointer}.primary-button:hover,.primary-link:hover{background:var(--accent-strong)}.empty-state{min-height:14rem;padding:1.5rem}.assistant-panel{min-height:22rem;background:var(--surface-raised);border-radius:1rem;padding:1.5rem}.assistant-panel:after{display:none}.assistant-panel h2{max-width:none}.assistant-orb{margin-bottom:1rem;width:3rem;height:3rem}.assistant-status{position:static;margin:1rem 0}.login-panel{width:100%;margin:1rem auto 0;padding:1.5rem 2rem;background:var(--surface);border-block:1px solid var(--border)}.mode-tabs{display:flex;flex-wrap:wrap;gap:.6rem;padding:.5rem 0 1rem;margin:1rem 0;border-bottom:1px solid var(--border)}.mode-tabs a{display:inline-flex;align-items:center;min-height:44px;padding:.6rem 1rem;border:1px solid var(--border);border-radius:.65rem;text-decoration:none;color:var(--text-muted)}.mode-tabs a[aria-current=page]{background:var(--surface-soft);color:var(--accent);font-weight:700}.material-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem;margin-top:2rem}.material-choice{text-decoration:none;color:var(--text);transition:border-color .15s}.material-choice:hover{border-color:var(--accent)}.material-choice>span{display:inline-grid;place-items:center;width:3rem;height:3rem;border-radius:.8rem;background:var(--surface-soft);color:var(--accent);font-size:1.5rem;margin-bottom:1rem}.material-choice p{font-size:.87rem;color:var(--text-muted)}.evidence-note{color:var(--text-muted);max-width:65ch}.library-filters{display:flex;align-items:end;gap:1rem;flex-wrap:wrap;padding:1.2rem;border:1px solid var(--border);border-radius:1rem;background:var(--surface)}.library-filters label{display:grid;gap:.5rem;flex:1 1 10rem;font-size:.85rem}.subject-form{max-width:46rem;padding:1.2rem;border:1px solid var(--border);border-radius:1rem;background:var(--surface)}.subject-form input,.subject-form select,.subject-form textarea{background:var(--background);color:var(--text)}.subject-form .subject-form{border:0;padding:0}.photo-selection{min-width:0;padding:1rem;border:1px solid var(--border);border-radius:.8rem}.photo-selection button{margin:.25rem}.chat-panel,.search-form{max-width:68rem}.chat-panel select,.chat-panel textarea,.search-form input,.search-form select{background:var(--background);border:1px solid var(--border);color:var(--text);min-height:44px}.chat-turn,.search-hit{background:var(--surface);padding:1.5rem;border-radius:1rem;border:1px solid var(--border);margin:1rem 0}.chat-turn-scope{color:var(--text-muted)}.chat-segment{border-left:3px solid var(--source-text);padding-left:1rem;margin:1.5rem 0}.chat-action{background:var(--surface-raised);border-radius:.75rem;padding:1rem}blockquote{margin:1rem 0;padding:1rem 1.2rem;border-left:3px solid var(--source-text);background:var(--source-bg);color:var(--source-text);overflow-wrap:anywhere}.source-original{background:var(--background);border:1px solid var(--border);border-radius:.75rem;padding:1.2rem;max-width:75ch}.source-original mark{color:var(--source-text);background:var(--source-bg)}.source-review-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:1.5rem;align-items:start}.source-review-grid>section{min-width:0}.source-original-column{position:sticky;top:1rem;max-height:80dvh;overflow:auto}[role=alert]{padding:1rem;border:1px solid var(--source-text);border-radius:.7rem;background:var(--source-bg);color:var(--source-text)!important}.study-workspace{min-width:0}.study-drawer{position:sticky;inset:auto;top:1rem;width:auto;max-height:calc(100dvh - 2rem);align-self:start;border:1px solid var(--border);border-radius:1rem;background:var(--surface);box-shadow:none;padding:1.2rem;margin:2rem 1.5rem 2rem 0}.study-drawer .chat-transcript{max-height:none;overflow:visible}.study-drawer .chat-turn{padding:1rem}.study-drawer-heading{position:sticky;top:-1.2rem;background:var(--surface);padding:.75rem 0;z-index:1}.study-drawer-heading h2{font-size:1.1rem}.study-drawer-heading>div{min-width:0;overflow-wrap:anywhere}.study-drawer-heading>button{flex-shrink:0;max-width:45%}.assistant-launcher{position:fixed;left:1rem;right:auto;bottom:1rem;z-index:60;width:calc(var(--sidebar-width) - 2rem);min-height:44px;border:1px solid var(--border);border-radius:.75rem;padding:.8rem;background:var(--surface-soft);color:var(--accent);text-decoration:none;text-align:center;font-size:.82rem}.skip-link{position:fixed;top:.5rem;left:.5rem;z-index:100;padding:.75rem;background:var(--surface);transform:translateY(-200%)}.skip-link:focus{transform:none}.dashboard{container-type:inline-size}.account-menu-icon,.global-add-short{display:none}h1,h2,h3{overflow-wrap:anywhere}@container (max-width: 44rem){.material-options,.source-review-grid{grid-template-columns:1fr}.source-original-column{position:static;max-height:none}}@media (max-width:760px){.account-menu-label,.global-add-full{display:none}.account-menu-icon,.global-add-short{display:inline}.account-menu summary{width:44px;text-align:center}.global-tools{flex-wrap:nowrap}.global-search{width:auto;min-width:0;flex:1 1}.global-tools>a{white-space:nowrap}}.question-map{display:flex;flex-wrap:wrap;gap:.5rem;padding:1rem 0}.question-map a{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;border:1px solid var(--border);background:var(--surface-soft);border-radius:.6rem;text-decoration:none}.submission-review button{margin:.4rem .5rem .4rem 0}#original-source,[id^=quote-],[id^=test-question-]{scroll-margin-top:1rem}@media (min-width:1101px){.study-workspace:has(.study-drawer:not([hidden])){display:grid;grid-template-columns:minmax(0,1fr) var(--study-drawer-width)}}@media (max-width:1100px){.dashboard-grid,.material-options,.source-review-grid{grid-template-columns:1fr}.source-original-column{position:static;max-height:none}.study-drawer{position:fixed;inset:0;z-index:80;width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding:1.25rem;overflow:auto;overscroll-behavior:contain}.study-drawer .chat-transcript{max-height:none}}@media (max-width:760px){.signed-shell{display:block}.app-sidebar{position:static;height:auto;padding:0;border:0;background:transparent}.app-sidebar>.brand,.sidebar-add{display:none}.signed-shell .topbar>.brand{display:inline-flex;font-size:.95rem}.topbar{padding:.9rem 1rem;min-height:auto;gap:.75rem}.account-controls,.signed-shell .topbar{justify-content:space-between}.account-controls{width:100%;gap:.4rem}.account-menu{font-size:.75rem}.language-button{padding:.45rem .65rem;font-size:.75rem;width:auto}.theme-switcher button{font-size:.75rem;padding:.55rem .7rem}.global-tools{padding:.8rem 1rem;gap:.5rem}.global-search{width:100%}.dashboard{padding:1.5rem 1rem 7rem}.hero{display:block;padding:0 0 1.5rem}.hero .primary-link{margin-top:1rem}.hero-description{font-size:.95rem}.primary-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:60;padding:.4rem .25rem max(.4rem,env(safe-area-inset-bottom));gap:0;background:var(--surface);border-top:1px solid var(--border)}.primary-nav a{flex-direction:column;justify-content:center;gap:.15rem;padding:.25rem;font-size:.65rem;text-align:center;line-height:1.3;min-height:52px}.primary-nav a:last-child{grid-column:5}.primary-nav a span:first-child{font-size:1.1rem}.assistant-launcher{left:60%;right:auto;bottom:max(.4rem,env(safe-area-inset-bottom));width:20%;min-height:52px;padding:.4rem .25rem;border:0;font-size:.65rem;border-radius:.5rem;background:var(--surface)}.assistant-launcher:before{content:"✦";display:block;font-size:1.2rem}.assistant-launcher{display:flex;flex-direction:column;justify-content:center;gap:.15rem;line-height:1.3}.chat-turn,.settings-panel>section,.subjects-panel,.ui-card{padding:1.15rem}.subject-form{padding:1rem}.mode-tabs{gap:.4rem}.mode-tabs a{flex:1 1 auto;justify-content:center;font-size:.8rem;padding:.5rem .65rem}.status-pill{white-space:normal}.chat-panel fieldset{min-width:0}.written-actions{flex-wrap:wrap}.study-drawer-heading{top:-1.25rem}.app-content{padding-bottom:env(safe-area-inset-bottom)}.signed-shell:has(.study-drawer:not([hidden])) .primary-nav{visibility:hidden}}