.practice-stack{display:grid;gap:1.25rem}.practice-setup{display:grid;grid-template-columns:minmax(0,1fr) minmax(15rem,.64fr);gap:1.125rem;align-items:start}.practice-stack .panel h2,.practice-result-questions>h2{margin:0 0 1rem;font-size:1.125rem;font-weight:720}.practice-mode-panel,.practice-filter-panel,.practice-resume,.practice-question-card,.practice-explanations,.practice-results-panel,.practice-missing{padding:clamp(1rem,2.8vw,1.5rem)}.practice-mode-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr));gap:.65rem}.practice-mode{display:grid;align-content:start;justify-items:start;min-height:6.5rem;gap:.25rem;padding:.75rem;border:1px solid var(--line);border-radius:.85rem;background:var(--surface);color:var(--ink);text-align:left;line-height:1.55;cursor:pointer}.practice-mode[aria-pressed=true],.practice-choice[data-selected=true]{border-color:var(--accent);background:var(--accent-soft)}.practice-mode-icon{display:inline-flex;align-items:center;justify-content:center;margin-bottom:.15rem;width:1.95rem;height:1.95rem;border-radius:.6rem;background:var(--accent-soft);color:var(--accent)}.practice-mode strong,.practice-filter-panel label>span{font-size:.9rem;font-weight:710}.practice-mode small,.practice-resume-row small{display:block;color:var(--muted);font-size:.775rem}.practice-filter-panel{display:grid;gap:.8rem}.practice-stack .practice-filter-panel h2{margin-bottom:.25rem}.practice-filter-panel label{display:grid;gap:.28rem;min-width:0}.practice-filter-panel .field,.practice-note .field{width:100%;min-height:2.75rem;font-size:1rem}.practice-filter-panel .practice-inline-label{display:flex;align-items:center;gap:.5rem;min-height:2.75rem;cursor:pointer}.practice-inline-label input{accent-color:var(--accent);width:1rem;height:1rem}.practice-match-count{margin:0;color:var(--muted);font-size:.82rem;text-align:center}.practice-start-btn{width:100%;justify-content:center}.practice-resume-row{display:flex;align-items:center;gap:.7rem;width:100%;min-height:3rem;padding:.55rem .3rem;border:0;border-top:1px solid var(--line);background:transparent;color:var(--ink);text-align:left;cursor:pointer}.practice-resume-action{margin-left:auto;color:var(--accent);font-size:.835rem;font-weight:660}.practice-question-layout{max-width:52rem;margin-inline:auto}.practice-question-header,.practice-question-header>div{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.practice-question-header .eyebrow{margin:0}.practice-question-header progress{width:100%;height:.45rem;overflow:hidden;appearance:none;border:0;border-radius:1rem;background:var(--line);color:var(--accent)}.practice-question-header progress::-webkit-progress-bar{background:var(--line);border-radius:inherit}.practice-question-header progress::-webkit-progress-value{background:var(--accent);border-radius:inherit}.practice-question-header progress::-moz-progress-bar{background:var(--accent);border-radius:inherit}.practice-index{margin:0;font-size:1.1rem;font-variant-numeric:tabular-nums;font-weight:730}.practice-index span,.practice-question-card h1>span{color:var(--muted);font-size:.8em;font-weight:550}.practice-clock{display:inline-flex;align-items:center;gap:.3rem;font-variant-numeric:tabular-nums;font-weight:700}.practice-question-card h1,.practice-missing h1{margin:.9rem 0 .75rem;font-size:clamp(1.2rem,4vw,1.65rem)}.practice-question-card h1:focus{outline:none}.practice-question-meta,.practice-question-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}.practice-question-buttons{margin-top:1.15rem}.practice-bookmark{display:inline-flex;align-items:center;gap:.3rem;margin-left:auto;min-height:2.75rem;padding-inline:.5rem;border:0;background:transparent;color:var(--muted);font-size:.825rem;cursor:pointer}.practice-bookmark[aria-pressed=true]{color:var(--accent);font-weight:700}.practice-bookmark[aria-pressed=true] svg{fill:currentColor}.practice-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.practice-prompt{margin:0 0 1rem}.practice-statement,.practice-hint>p{margin:.65rem 0 1rem;padding:.75rem .9rem;border:1px solid var(--line);border-radius:.65rem;background:var(--surface)}.practice-hint{margin-bottom:1rem}.practice-answers,.practice-confidence{display:grid;min-width:0;gap:.55rem;margin:0;padding:0;border:0}.practice-choice{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.65rem;align-items:start;min-height:3rem;padding:.65rem .75rem;border:1px solid var(--line);border-radius:.65rem;cursor:pointer}.practice-choice:focus-within{outline:2px solid var(--accent);outline-offset:2px}.practice-choice-input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:inherit}.practice-choice-mark{display:inline-grid;place-items:center;min-width:1.75rem;min-height:1.75rem;padding-inline:.25rem;border-radius:.45rem;background:var(--surface);color:var(--muted);font-weight:720}.practice-choice-check{margin-top:.3rem;color:var(--accent)}.practice-answers:disabled .practice-choice{cursor:default}.practice-blank{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.65rem;min-width:0;font-weight:650}.practice-blank .field{width:100%;min-width:0;min-height:2.75rem;font-size:1rem}.practice-confidence{display:flex;flex-wrap:wrap;margin-top:1rem}.practice-confidence legend{margin-bottom:.4rem;font-size:.875rem;font-weight:680}.practice-confidence button,.practice-tier button{min-height:2.75rem;padding:.35rem .65rem;border:1px solid var(--line);border-radius:.5rem;background:var(--panel);color:var(--ink);font-size:.82rem;cursor:pointer}.practice-confidence button[aria-pressed=true],.practice-tier button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);font-weight:700}.practice-note{margin-top:1rem;border-top:1px solid var(--line)}.practice-note summary{display:flex;align-items:center;gap:.35rem;min-height:2.75rem;color:var(--muted);cursor:pointer}.practice-note summary::-webkit-details-marker,.practice-result-item summary::-webkit-details-marker{display:none}.practice-source-link,.practice-sources a{display:inline-flex;align-items:center;flex-wrap:wrap;gap:.3rem;text-decoration:underline;text-underline-offset:.2em;color:var(--ink);font-size:.825rem}.practice-source-link{margin-top:.5rem}.practice-result-banner{display:flex;gap:.3rem 1rem;align-items:center;flex-wrap:wrap;padding:.9rem 1rem;border:1px solid var(--line);border-radius:.8rem;background:var(--panel)}.practice-result-banner strong,.practice-results-tiles strong,.practice-explanations h2{display:inline-flex;align-items:center;gap:.4rem}.practice-result-banner p{flex-basis:100%;margin:0}.practice-result-correct{background:color-mix(in srgb,var(--panel),#2e9c72 10%)}.practice-result-wrong{background:color-mix(in srgb,var(--panel),#c75e35 10%)}.practice-explanations header,.practice-explanation-status,.practice-tier{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem}.practice-explanations header{justify-content:space-between;margin:0 0 .85rem}.practice-explanations header h2{margin:0}.practice-explanation-option,.practice-explanation-overview{padding:.75rem 0;border-top:1px solid var(--line)}.practice-explanation-option:last-child{padding-bottom:0}.practice-explanation-option h3{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.5rem;margin:0 0 .55rem;font-size:.96rem;font-weight:680;line-height:1.65}.practice-explanation-option p,.practice-explanation-overview p{margin:.5rem 0}.practice-explanation-facts{display:grid;gap:.65rem;margin-block:.65rem}.practice-explanation-facts dt{font-size:.875rem;font-weight:700}.practice-explanation-facts dd{margin:.2rem 0 0;white-space:pre-wrap;line-height:1.7}.practice-sources{margin:.6rem 0 0;padding:0;list-style:none}.practice-updated{font-size:.78rem}.practice-next{justify-self:start}.practice-notice{padding:.7rem .85rem;margin:0;border:1px solid var(--line);border-radius:.65rem;background:var(--accent-soft);color:var(--ink);font-size:.86rem}.practice-error{margin-bottom:1rem}.practice-finish{margin-top:1rem}.practice-finish p{margin:0 0 .65rem}.practice-finish>div{display:flex;gap:.5rem;flex-wrap:wrap}.practice-results-panel{display:grid;gap:1.25rem}.practice-results-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.practice-results-tiles>div{display:grid;gap:.3rem;padding:.85rem;border:1px solid var(--line);border-radius:.7rem}.practice-results-tiles span{color:var(--muted);font-size:.825rem}.practice-table-scroll{overflow-x:auto}.practice-table-scroll table{width:100%;margin-block:.7rem;border-collapse:collapse;font-size:.875rem;text-align:left}.practice-table-scroll :is(th,td){padding:.45rem .5rem;border-bottom:1px solid var(--line)}.practice-result-item+.practice-result-item{margin-top:.5rem}.practice-result-item>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:.6rem;min-height:3.05rem;padding:.55rem .8rem;list-style:none;cursor:pointer}.practice-result-detail{padding:0 .8rem .8rem}.practice-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}@media(max-width:680px){.practice-setup{grid-template-columns:1fr}.practice-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.practice-mode{min-height:5rem}.practice-question-meta .practice-bookmark{margin-left:0}.practice-question-buttons>.btn-primary,.practice-next{justify-content:center;width:100%}}.textbook-switch{display:flex;flex-wrap:wrap;gap:.35rem;margin-block:1rem;width:fit-content;padding:.25rem;border:1px solid var(--line);border-radius:1rem;background:var(--panel)}.textbook-switch .btn{background:transparent;color:var(--muted);border-color:transparent;box-shadow:none}.textbook-switch .btn[aria-pressed=true]{color:var(--ink);background:var(--accent-soft)}.textbook-grid{display:grid;grid-template-columns:minmax(11rem,15rem) minmax(0,1fr);gap:1.1rem;align-items:start}.textbook-index{padding:.5rem}.textbook-index ul,.textbook-sources ul{margin:0;padding:0;list-style:none}.textbook-index button{display:flex;min-block-size:2.75rem;width:100%;gap:.45rem;align-items:center;justify-content:space-between;text-align:start;padding:.55rem .65rem;border-radius:.65rem;background:transparent;color:var(--ink);border:0;font:inherit;cursor:pointer}.textbook-index button svg{flex:none;color:var(--muted)}.textbook-index button:hover,.textbook-index button[aria-current]{background:var(--accent-soft)}.textbook-index button[aria-current]{font-weight:700}.textbook-reader{min-width:0;padding:clamp(1rem,3vw,2rem);line-height:1.8;scroll-margin-top:5rem}.textbook-reader h2,.textbook-reader h3{color:var(--ink);line-height:1.45}.textbook-reader h2{font-size:clamp(1.4rem,2.8vw,2rem);margin-block:.2rem .5rem}.textbook-reader h3{font-size:1.05rem;margin-block:0 .35rem;display:flex;align-items:center;gap:.45rem}.textbook-reader p{margin-block:.25rem .5rem}.textbook-reader section{margin-top:1.25rem}.textbook-chapter,.textbook-sources{border-block-end:1px solid var(--line);padding-block-end:.8rem}.textbook-sources{border-block:1px solid var(--line) 0;padding-block:1rem 0}.textbook-sources li+li{margin-top:.65rem}.textbook-sources a{color:var(--ink);text-decoration:underline;text-underline-offset:.2em}.textbook-sources a svg{display:inline-block;vertical-align:middle}.textbook-sources small{display:block}.textbook-example,.textbook-feedback{padding:.85rem 1rem;border-radius:.75rem;background:var(--accent-soft)}.textbook-timeline{list-style-type:decimal;padding-inline-start:1.6rem;margin:0}.textbook-timeline li{padding:.2rem .35rem}.textbook-timeline li::marker{font-weight:700}.textbook-quiz fieldset{margin:0 0 .75rem;min-inline-size:0;padding:0;border:0}.textbook-quiz legend{padding:0;margin-block-end:.65rem}.textbook-option{display:flex;align-items:baseline;min-block-size:2.75rem;gap:.7rem;padding:.35rem .65rem;margin-block-end:.35rem;border:1px solid var(--line);border-radius:.65rem;cursor:pointer}.textbook-option:has(input:checked){background:var(--accent-soft)}.textbook-option input{margin:0;flex:none;accent-color:var(--accent)}.textbook-feedback,.textbook-practice{margin-top:.75rem}.textbook-comparison{width:100%;border-collapse:collapse;table-layout:fixed;margin-top:1rem;overflow-wrap:anywhere}.textbook-comparison :is(th,td){padding:.55rem;border:1px solid var(--line);vertical-align:top;text-align:start}.textbook-comparison thead th{background:var(--accent-soft)}.textbook-comparison th:first-child{width:22%}@media(max-width:760px){.textbook-grid{grid-template-columns:minmax(0,1fr)}.textbook-index ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.15rem}}@media(max-width:380px){.textbook-comparison :is(th,td){padding:.35rem}}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.contents{display:contents}.inline{display:inline}.table{display:table}.transform{transform:var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, )}.filter{filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{font-synthesis:none;color-scheme:light;--bg:#f8f7f4;--surface:#f8f7f4;--panel:#fffefa;--ink:#232520;--muted:#666960;--line:#e8e7df;--cool-line:#dedfd6;--accent:#ab3e19;--accent-hover:#913314;--accent-soft:#fbeddf;--track:#ecece4;--sage:#e9efe5;--sage-ink:#45614b;--purple:#eeeaf8;--purple-ink:#645095;--blue:#e7eff4;--blue-ink:#345c75;--error:#9f2e25;--header-height:70px;--sidebar-width:234px;font-family:Hiragino Sans,Noto Sans CJK JP,Yu Gothic,Meiryo,system-ui,sans-serif}:root[data-theme=dark]{color-scheme:dark;--bg:#191a17;--surface:#191a17;--panel:#22241f;--ink:#f4f3ea;--muted:#b7b9ab;--line:#3b3e35;--cool-line:#494d40;--accent:#ffad81;--accent-hover:#fbc9ad;--accent-soft:#4b3023;--track:#424438;--sage:#303c30;--sage-ink:#b9d6b9;--purple:#3b324a;--purple-ink:#d6c4ff;--blue:#293945;--blue-ink:#b7d9f2;--error:#ffa39b}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--bg:#191a17;--surface:#191a17;--panel:#22241f;--ink:#f4f3ea;--muted:#b7b9ab;--line:#3b3e35;--cool-line:#494d40;--accent:#ffad81;--accent-hover:#fbc9ad;--accent-soft:#4b3023;--track:#424438;--sage:#303c30;--sage-ink:#b9d6b9;--purple:#3b324a;--purple-ink:#d6c4ff;--blue:#293945;--blue-ink:#b7d9f2;--error:#ffa39b}}body{min-width:280px;color:var(--ink);background:var(--bg);margin:0;font-size:1rem;line-height:1.6}button:not(:disabled),summary{cursor:pointer}button:disabled{opacity:.55;cursor:default}a{color:inherit}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}h1,h2,h3,p{overflow-wrap:anywhere}h1,h2,h3{font-weight:730}svg{flex-shrink:0}.muted{color:var(--muted)}.fine-print{font-size:.8rem}.skip-link{z-index:30;color:var(--ink);background:var(--panel);padding:.5rem 1rem;position:fixed;top:12px;left:12px;transform:translateY(-200%)}.skip-link:focus{transform:none}.app-shell{min-height:100dvh}.sidebar{z-index:10;width:var(--sidebar-width);background:var(--panel);border-right:1px solid var(--line);flex-direction:column;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:11px;min-height:108px;padding:0 22px;text-decoration:none;display:flex}.brand-mark{color:#fff8ed;background:#b84620;border-radius:12px;flex-shrink:0;place-items:center;width:40px;height:40px;display:grid}.brand strong,.brand b{line-height:1.22;display:block}.brand strong{font-size:.88rem;font-weight:760}.brand b{letter-spacing:-.025em;font-size:1.13rem}.navigation{gap:6px;padding:5px 14px;display:grid}.nav-link{text-align:start;color:var(--muted);border-radius:9px;align-items:center;gap:13px;width:100%;min-height:49px;padding:12px 13px;font-size:.89rem;font-weight:670;text-decoration:none;display:flex}.nav-link:hover{background:var(--surface);color:var(--ink)}.nav-link.active{color:var(--accent);background:var(--accent-soft);font-weight:790}.sidebar-footer{margin-top:auto;padding:12px 14px 20px}.device-status{color:var(--muted);border-top:1px solid var(--line);align-items:center;gap:9px;margin:13px 8px 0;padding:15px 5px 0;font-size:.72rem;display:flex}.status-dot{background:#638167;border-radius:50%;flex-shrink:0;width:7px;height:7px}.status-dot.is-offline{background:#c46640}.content-shell{margin-left:var(--sidebar-width)}.topbar{min-height:var(--header-height);border-bottom:1px solid var(--line);background:var(--panel);justify-content:space-between;align-items:center;gap:1rem;padding:0 clamp(22px,3.3vw,48px);display:flex}.top-section{font-size:.85rem;font-weight:700}.top-actions,.today,.offline-label,.top-brand{align-items:center;gap:8px;display:flex}.top-actions{gap:13px}.today,.offline-label{color:var(--muted);font-size:.8rem}.mobile-settings,.top-brand{display:none}.content{max-width:1500px;margin:0 auto;padding:30px clamp(22px,3.3vw,48px) 50px}.content:focus{outline:none}.screen-heading{margin:0 0 23px}.screen-heading h1{letter-spacing:-.04em;margin:0 0 8px;font-size:clamp(1.7rem,2.4vw,2.28rem);font-weight:780;line-height:1.25}.screen-heading p{color:var(--muted);margin:0;font-size:.91rem}.home-layout{grid-template-columns:minmax(0,1fr) minmax(218px,271px);align-items:start;gap:clamp(18px,2.3vw,32px);display:grid}.dashboard-main,.dashboard-rail{min-width:0}.dashboard-rail{gap:14px;padding-top:2px;display:grid}.hero{isolation:isolate;color:#fff8ed;background:linear-gradient(107deg,#9e3618,#b4471d 47%,#c95525);border-radius:17px;align-items:center;min-height:260px;display:grid;position:relative;overflow:hidden}.hero-copy{z-index:1;padding:clamp(22px,2.7vw,38px)}.hero-label{color:#fff6e9;background:#78311773;border-radius:6px;align-items:center;gap:7px;padding:4px 9px;font-size:.77rem;font-weight:730;display:inline-flex}.hero h2{letter-spacing:-.045em;margin:15px 0 6px;font-size:clamp(1.62rem,3vw,2.77rem);font-weight:800;line-height:1.22}.hero p{color:#fff0e4;max-width:28em;margin:0;font-size:.85rem}.hero .hero-button{color:#893212;background:#fff8ec;border-color:#fff8ec;min-height:43px;margin-top:22px;padding-inline:15px;box-shadow:0 4px 13px #74321832}.hero-button:hover{background:#ffe7cd}.hero-button:focus-visible{outline-color:#fff8ec}.hero-art{pointer-events:none;color:#f9d19e;opacity:.87;place-items:center;display:grid;position:absolute;inset:0 0 0 55%}.hero-orbit{aspect-ratio:1;border:1px solid #ffdca858;border-radius:46% 54% 48% 52%;position:absolute;transform:rotate(24deg)}.orbit-outer{width:min(370px,160%)}.orbit-middle{width:min(282px,123%);transform:rotate(-26deg)}.orbit-inner{background:#ffce8c15;width:min(200px,88%);transform:rotate(14deg)}.hero-emblem{background:linear-gradient(140deg,#ffffff2d,#ffcf8811);border:1px solid #ffdfaf9c;border-radius:27px;place-items:center;width:113px;height:113px;display:grid;position:relative;transform:rotate(-10deg);box-shadow:0 15px 32px #7e321b55}.hero-spark{background:#ffdb9c;border-radius:50%;width:8px;height:8px;position:absolute;box-shadow:0 0 0 4px #ffdeaa28}.spark-one{top:24%;left:23%}.spark-two{width:5px;height:5px;bottom:22%;right:15%}.panel{background:var(--panel);border:1px solid var(--line);border-radius:13px}.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:17px 0 0;display:grid}.stat-card{align-items:center;gap:10px;min-width:0;min-height:87px;padding:12px;display:flex}.stat-icon,.subject-icon,.rail-icon,.empty-icon{width:36px;height:36px;color:var(--accent);background:var(--accent-soft);border-radius:9px;flex-shrink:0;place-items:center;display:grid}.stat-icon.target,.rail-icon.sage{color:var(--sage-ink);background:var(--sage)}.stat-icon.flame,.rail-icon.lavender{color:var(--purple-ink);background:var(--purple)}.stat-card div{min-width:0;display:grid}.stat-card div>span{color:var(--muted);font-size:.73rem;line-height:1.35}.stat-card strong{font-variant-numeric:tabular-nums;margin-top:4px;font-size:clamp(1rem,1.6vw,1.43rem);line-height:1.25}.stat-card small{color:var(--muted);font-size:.7em}.subject-section{margin-top:28px}.section-line{justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px;display:flex}.section-line h2,.study-panel h2{margin:0;font-size:1.16rem;line-height:1.4}.section-line p{color:var(--muted);margin:4px 0 0;font-size:.79rem}.text-action{color:var(--accent);text-align:start;border:0;align-items:center;gap:3px;min-height:35px;font-size:.78rem;font-weight:750;line-height:1.45;display:inline-flex}.text-action:hover{text-decoration:underline}.subject-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.subject-card{text-align:start;flex-direction:column;gap:9px;min-width:0;padding:13px;display:flex}.subject-card:hover{border-color:var(--accent)}.subject-card-top{justify-content:space-between;align-items:center;gap:5px;display:flex}.subject-card strong{overflow-wrap:anywhere;flex:1;font-size:.85rem;line-height:1.5;display:block}.subject-icon{width:33px;height:33px}.subject-icon-1{color:var(--sage-ink);background:var(--sage)}.subject-icon-2{color:var(--blue-ink);background:var(--blue)}.subject-icon-3{color:var(--purple-ink);background:var(--purple)}.progress-track{background:var(--track);border-radius:99px;width:100%;height:6px;display:block;overflow:hidden}.progress-track>span{background:var(--accent);border-radius:inherit;height:100%;display:block}.subject-count{color:var(--muted);font-size:.72rem;line-height:1.2}.rail-card{align-content:start;gap:9px;padding:16px 16px 12px;display:grid}.rail-heading{align-items:center;gap:9px;display:flex}.rail-heading h2{margin:0;font-size:.95rem;line-height:1.5}.rail-icon{width:32px;height:32px}.rail-card p{margin:0}.rail-card .muted{font-size:.79rem}.rail-card .pill{justify-self:start}.rail-kpi{letter-spacing:-.03em;font-variant-numeric:tabular-nums;margin:10px 0 4px;font-size:1.55rem;font-weight:780;line-height:1.2}.rail-kpi small{color:var(--muted);font-size:.81rem;font-weight:600}.pill{width:fit-content;color:var(--muted);background:var(--track);border-radius:6px;align-items:center;gap:5px;padding:3px 8px;font-size:.74rem;font-weight:700;line-height:1.45;display:inline-flex}.btn,.icon-button{border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:8px 14px;font-size:.89rem;font-weight:720;line-height:1.4;text-decoration:none;display:inline-flex}.btn-primary{background:var(--accent);color:var(--panel)}.btn-primary:hover:not(:disabled){background:var(--accent-hover)}.btn-secondary{border-color:var(--cool-line);background:var(--panel);color:var(--ink)}.btn-secondary:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.icon-button{min-width:44px;color:var(--muted);padding:0}.icon-button.mobile-settings{display:none}.eyebrow{color:var(--accent);font-size:.77rem;font-weight:720}.field{border:1px solid var(--cool-line);background:var(--panel);width:100%;min-height:44px;color:var(--ink);border-radius:8px;margin-top:4px;padding:8px 10px;font-size:1rem}input[type=checkbox],input[type=radio]{accent-color:var(--accent)}.wide-feature{gap:15px;max-width:1070px;display:grid}.wide-feature .screen-heading{margin:0 0 5px}.loading-state{color:var(--muted);padding:18px}.error-panel{padding:25px}.tabs{flex-wrap:wrap;gap:7px;display:flex}.tabs button{min-height:44px;color:var(--muted);border:1px solid var(--line);background:var(--panel);border-radius:9px;align-items:center;gap:6px;padding:8px 12px;font-size:.85rem;font-weight:680;display:inline-flex}.tabs button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft);border-color:var(--accent-soft)}.tabs button span{font-variant-numeric:tabular-nums}.study-panel{padding:clamp(15px,2vw,24px)}.study-panel>p{margin-top:8px}.study-panel a{color:var(--accent);text-decoration:underline}.empty-state{text-align:center;padding:36px 19px}.empty-icon{width:52px;height:52px;margin:0 auto 12px}.empty-state h2{font-size:1.15rem}.empty-state p{color:var(--muted);margin:8px 0 18px}.review-list{margin:0;padding:0;list-style:none}.review-list li{border-top:1px solid var(--line);justify-content:space-between;align-items:start;gap:10px;padding:11px 0;display:flex}.review-list li p{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.86rem;display:-webkit-box;overflow:hidden}.review-list .pill{white-space:nowrap}.analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.analysis-filter{justify-self:start;align-items:center;gap:12px;display:flex}.analysis-filter select{width:auto;margin-top:0}.analysis-stat-grid{margin:0}.bar-chart{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:14px;display:grid}.bar-column{text-align:center;color:var(--muted);font-size:.72rem;display:grid}.bar-value{min-height:2em}.bar-track{border-bottom:1px solid var(--line);justify-content:center;align-items:end;height:80px;margin:0 0 5px;display:flex}.bar-track>span{background:var(--accent);border-radius:5px 5px 0 0;width:min(23px,75%);display:block}.metric-list{margin:8px 0;padding:0;list-style:none}.metric-list li{border-bottom:1px solid var(--line);justify-content:space-between;align-items:baseline;gap:10px;padding:8px 0;font-size:.9rem;display:flex}.metric-list strong{white-space:nowrap}.analytics-subhead{padding-top:12px}.mock-result{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}.settings-form{gap:15px;display:grid}.settings-form .btn{justify-self:start}.form-grid,.checkbox-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.settings-form label,.data-year label{gap:1px;font-size:.9rem;font-weight:670;display:grid}.field-group{border:1px solid var(--line);border-radius:9px;margin:0;padding:12px}.field-group legend{padding:0 5px;font-size:.89rem;font-weight:670}.settings-form .checkbox-label{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;min-height:32px}.checkbox-label input{width:18px;height:18px}.notice{color:var(--sage-ink);background:var(--sage);overflow-wrap:anywhere;border-radius:9px;padding:10px 14px}.notice.is-error{color:var(--error);background:var(--accent-soft)}.button-row{flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0;display:flex}.file-label{border:1px dashed var(--cool-line);border-radius:9px;flex-wrap:wrap;align-items:center;gap:8px;margin:13px 0;padding:11px;font-weight:690;display:flex}.file-label input{max-width:100%;font-size:.86rem;display:block}.file-label input::file-selector-button{border:1px solid var(--cool-line);background:var(--surface);color:var(--ink);cursor:pointer;border-radius:7px;margin-inline-end:8px;padding:7px 10px}.data-year{margin:12px 0 2px}.data-detail{border-top:1px solid var(--line);padding:12px 0}.data-detail summary{color:var(--accent);font-weight:700}.data-detail dl{margin:8px 0}.data-detail dt{font-weight:700}.data-detail dd{margin:0 0 8px}@media(max-width:1180px){:root{--sidebar-width:184px}.content,.topbar{padding-inline:24px}.home-layout{grid-template-columns:minmax(0,1fr) minmax(196px,222px);gap:17px}.dashboard-rail{gap:12px}.hero-art{inset-inline-start:60%}}@media(max-width:980px){:root{--sidebar-width:158px}.home-layout{grid-template-columns:minmax(0,1fr)}.dashboard-rail{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-art{inset-inline-start:57%}}@media(max-width:720px){.content-shell{margin:0}.sidebar{width:auto;padding:0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);border:0;border-top:1px solid var(--line);inset:auto 0 0}.sidebar .brand,.sidebar-footer,.top-section{display:none}.navigation{grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:4px 5px;display:grid}.nav-link{text-align:center;border-radius:8px;flex-direction:column;justify-content:center;gap:2px;min-height:48px;padding:4px 0;font-size:.66rem}.topbar{min-height:55px;padding:env(safe-area-inset-top) max(13px,env(safe-area-inset-right)) 0 max(13px,env(safe-area-inset-left))}.top-brand{font-size:.82rem;font-weight:800;display:flex}.top-brand svg{color:var(--accent)}.top-actions{gap:4px}.today{font-size:.71rem}.today svg{display:none}.offline-label{font-size:.69rem}.icon-button.mobile-settings{display:inline-flex}.content{padding:21px max(14px,env(safe-area-inset-right)) calc(79px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}.screen-heading{margin-bottom:16px}.screen-heading p{font-size:.85rem}.hero{min-height:205px}.hero-copy{padding:21px 17px}.hero h2{font-size:clamp(1.44rem,6.1vw,2rem)}.hero p{max-width:20em;font-size:.8rem}.hero-art{opacity:.5;inset-inline-start:68%}.hero-emblem{border-radius:15px;width:67px;height:67px}.hero-emblem svg{width:48px;height:48px}.stat-grid{gap:7px}.stat-card{gap:5px;min-height:68px;padding:9px 7px}.stat-icon{width:28px;height:28px}.stat-icon svg{width:15px}.stat-card div>span{font-size:.65rem}.home-layout{flex-direction:column;align-items:stretch;gap:13px;display:flex}.dashboard-main,.dashboard-rail{display:contents}.home-heading{order:0;margin:0}.hero{order:1}.home-layout .stat-grid{order:2;margin:0}.home-layout .rail-goal{order:3}.subject-section{order:4;margin:5px 0}.rail-card{order:5}.section-line .text-action{white-space:nowrap}.subject-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.subject-card{padding:11px}.dashboard-rail,.analysis-grid{grid-template-columns:1fr}.form-grid,.checkbox-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:370px){.stat-icon{display:none}.stat-card{padding-inline:8px}.form-grid,.checkbox-grid{grid-template-columns:1fr}.section-line{align-items:flex-start}.today{display:none}}.license-confirmation{align-items:flex-start;gap:8px;font-size:.91rem;display:flex}.license-confirmation input{flex-shrink:0;width:18px;height:18px;margin-block-start:4px}.pdf-import-issues{padding-inline-start:30px;list-style:outside}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
