:root{font-family:Instrument Sans,PingFang SC,Microsoft YaHei,system-ui,sans-serif;color:#252b26;background:#f6f4ee;font-synthesis:none;line-height:1.6;--paper: #fffdf8;--ink: #252b26;--muted: #616960;--line: #dedfd3;--accent: #214c3b;--accent-ink: #164431;--accent-soft: #e8efe5;--red: #873e33;--red-soft: #f9ede8;--amber: #735116;--amber-soft: #f7efd9;--radius: 14px;--display: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;--mono: "IBM Plex Mono", "Cascadia Code", ui-monospace, monospace}*{box-sizing:border-box}body{margin:0;min-width:280px}button,input,select,textarea{font:inherit}button{color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.6}a{color:inherit}:focus-visible{outline:3px solid #397d61;outline-offset:3px}h1:focus{outline:none}h1,h2,h3,p,figure{margin:0}h1,h2,h3,.row-title{overflow-wrap:anywhere}h1{font-family:var(--display);font-size:clamp(2rem,4vw,3.15rem);line-height:1.23;font-weight:800;letter-spacing:-.035em}h2{font-size:1.2rem;line-height:1.4}h3{font-size:.98rem;line-height:1.5}svg{flex:none;vertical-align:middle}img{max-width:100%;height:auto}.muted{color:var(--muted)}.small{font-size:.83rem}.error,.notice{padding:.75rem 1rem;border-radius:9px;overflow-wrap:anywhere}.error{color:var(--red);background:var(--red-soft)}.notice{color:var(--accent-ink);background:var(--accent-soft)}.paper{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);min-width:0}.empty{padding:1.25rem;color:var(--muted)}.actions,.filter-row,.chips,.pagination{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}.actions{margin-top:1rem}.pagination{justify-content:center;margin-top:1.25rem}.site-header{background:var(--paper);border-bottom:1px solid var(--line)}.header-inner{max-width:1260px;min-height:66px;padding:0 28px;margin:auto;display:flex;align-items:center;gap:2.5rem}.brand{display:flex;align-items:center;gap:.65rem;text-decoration:none;font-weight:800;font-size:1.08rem;white-space:nowrap}.brand-mark{width:35px;height:35px;display:inline-grid;place-items:center;border-radius:10px;background:var(--accent);color:#fff;flex:none}.site-nav{display:flex;gap:.45rem;align-items:center}.site-nav a,.account-links a{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:42px;padding:.4rem .75rem;color:var(--muted);text-decoration:none;border-radius:8px;font-size:.92rem;white-space:nowrap}.site-nav a.router-link-active,.account-links a.router-link-active{background:var(--accent-soft);color:var(--accent-ink);font-weight:650}.account-links{margin-left:auto;display:flex;gap:.25rem}.account-links a{min-width:42px;padding:.4rem}.page{width:min(100%,1260px);min-height:74vh;margin:0 auto;padding:42px 28px 64px}.page-title,.home-heading{margin-bottom:1.5rem}.page-title p{margin-top:.45rem}.section-header{display:flex;align-items:center;justify-content:space-between;gap:.85rem;margin-bottom:.85rem;flex-wrap:wrap}.button,.text-button,.chip{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:42px;border-radius:8px;text-decoration:none;font-weight:650;font-size:.9rem;text-align:center;transition:background-color .15s ease,color .15s ease,transform .15s ease}.button{padding:.45rem .85rem;border:1px solid var(--line);background:var(--paper);color:var(--ink)}.button:hover:not(:disabled),.text-button:hover:not(:disabled),.chip:hover:not(:disabled){background:var(--accent-soft)}.button:active:not(:disabled),.rating:active:not(:disabled){transform:translateY(1px)}.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.primary:hover:not(:disabled){background:#183c2e;color:#fff}.compact{font-size:.84rem;min-height:38px}.text-button{padding:.3rem .5rem;border:0;background:transparent;color:var(--accent-ink)}.danger{color:var(--red)}.chip{min-height:34px;font-size:.82rem;padding:.3rem .68rem;background:var(--paper);border:1px solid var(--line);border-radius:999px;color:var(--muted)}.chip[aria-pressed=true]{background:var(--accent-soft);border-color:#96b2a1;color:var(--accent-ink)}label{display:grid;gap:.3rem;color:var(--ink);font-size:.89rem;font-weight:650;min-width:0}input:not([type=checkbox]),select,textarea{min-height:42px;min-width:0;max-width:100%;width:100%;padding:.48rem .62rem;color:var(--ink);background:var(--paper);border:1px solid #cdd1c5;border-radius:8px;font-size:.96rem;font-weight:400}textarea{resize:vertical}input[type=checkbox]{width:17px;height:17px;accent-color:var(--accent);margin:0}.check-row{display:flex;align-items:center;gap:.55rem;min-height:35px}.dashboard{max-width:990px;margin:auto}.home-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem}.eyebrow{display:flex;align-items:center;gap:.5rem;color:var(--muted);font-size:.9rem;margin-bottom:.35rem}.home-hero{background:var(--accent);color:#fffdf4;border-radius:17px;padding:clamp(1.3rem,4vw,2.6rem);display:flex;align-items:end;justify-content:space-between;gap:1rem;background-image:repeating-linear-gradient(0deg,transparent,transparent 35px,#ffffff0b 36px)}.hero-label{color:#e5ead5;font-weight:650}.home-hero h2{font-family:var(--display);font-size:clamp(1.5rem,3.4vw,2.5rem);line-height:1.22;margin:.3rem 0 .65rem}.home-hero h2 span{font:650 clamp(2.3rem,6vw,4.5rem)/1 var(--mono)}.home-hero p:last-child{color:#edf0e2}.hero-actions{display:grid;justify-items:start;gap:.4rem}.hero-button{border-color:transparent;color:var(--accent-ink)}.continue-link{display:inline-flex;align-items:center;gap:.45rem;color:#fffdf4;font-size:.87rem}.home-section{margin-top:1.75rem}.status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}.status-tile{display:grid;gap:.3rem;padding:.85rem 1rem;text-decoration:none;color:var(--muted)}.status-tile strong{color:var(--ink);font:650 1.8rem/1.3 var(--mono)}.status-tile:hover{box-shadow:0 2px 10px #21372b14}.status-tile.unlearned,.status-pill.unlearned,.chip.unlearned{background:var(--red-soft);color:var(--red)}.status-tile.learning,.status-pill.learning,.chip.learning{background:var(--amber-soft);color:var(--amber)}.status-tile.mastered,.status-pill.mastered,.chip.mastered{background:var(--accent-soft);color:var(--accent-ink)}.topic-list a{display:flex;align-items:center;gap:.65rem;padding:.85rem 1rem;text-decoration:none}.topic-list a+a{border-top:1px solid var(--line)}.topic-list a svg:last-child{margin-left:auto}.library-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:24px;align-items:start}.chapter-panel{padding:1rem}.chapter-panel h2{margin-bottom:.8rem}.chapter-group{padding-top:.9rem}.chapter-group h3{color:var(--muted);margin-bottom:.3rem}.chapter-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.2rem;align-items:center}.chapter-button,.mark-button{border:0;background:transparent;min-height:41px;border-radius:7px;padding:.34rem .42rem;display:flex;align-items:center;gap:.3rem;text-align:left;font-size:.84rem}.chapter-button.chosen,.mark-button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent-ink);font-weight:650}.mark-button{font-size:.72rem;color:var(--muted)}.search-form{display:flex;align-items:stretch;gap:.5rem;min-width:0}.search-field{position:relative;flex:1}.search-field svg{position:absolute;left:.75rem;top:.8rem;color:var(--muted)}.search-field input{padding-left:2.25rem}.filter-row{margin:.75rem 0 1.15rem}.question-list{overflow:hidden}.question-list>a,.question-list>button{width:100%;display:grid;align-items:center;gap:.7rem;grid-template-columns:minmax(0,1fr) auto 18px;padding:.82rem 1rem;text-decoration:none;text-align:left;background:transparent;border:0}.question-list>:not(:first-child){border-top:1px solid var(--line)}.question-list>:is(a,button):hover{background:#f1f3e9}.question-list>:focus-visible{outline-offset:-4px}.row-title{font-weight:650}.status-pill{font-size:.76rem;color:var(--muted);padding:.2rem .45rem;background:#eeefe8;border-radius:999px;white-space:nowrap}.progress-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.45fr);align-items:start;gap:1rem}.progress-panel{padding:1.15rem}.progress-panel h2{margin-bottom:.55rem}.progress-panel h3{margin-bottom:.4rem}.progress-panel p+.button{margin-top:.5rem}.dates{padding:0;margin:.55rem 0 0;list-style:none}.dates li{display:flex;justify-content:space-between;padding:.35rem 0;border-bottom:1px solid var(--line)}.exercise-stats,.chapter-stats+.chapter-stats{margin-top:.65rem;padding-top:.65rem;border-top:1px solid var(--line)}.date-filter{display:flex;align-items:center;gap:.5rem}.date-filter input{width:auto}.reading{max-width:760px;margin:0 auto}.reading>.prompt{margin-bottom:1.15rem}.reading .prompt .button{margin-top:1.1rem}.login-card{max-width:460px;margin:clamp(1rem,7vw,5rem) auto;padding:clamp(1.2rem,4vw,2.25rem)}.login-card h1{font-size:clamp(1.65rem,4vw,2.35rem);margin:.85rem 0 .35rem}.login-card form{display:grid;gap:.9rem;margin-top:1.3rem}.login-card .error{margin-top:.75rem}.study-layout{display:grid;grid-template-columns:238px minmax(0,1fr);align-items:start;gap:28px}.study-rail{position:sticky;top:1.25rem}.rail-title{display:flex;gap:.55rem;align-items:center;margin:.7rem 0 .25rem}.study-rail ol{list-style:decimal-leading-zero;padding-left:2.15rem;margin-top:.8rem;max-height:58vh;overflow:auto}.study-rail li{padding-left:.25rem;color:var(--muted);font-size:.83rem}.study-rail li a{display:block;text-decoration:none;padding:.45rem .52rem;border-radius:6px}.study-rail li a:hover,.study-rail li.current a{background:var(--accent-soft);color:var(--accent-ink)}.study-rail li.current a{font-weight:700}.study-content{min-width:0}.sheet-context{display:flex;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.75rem;color:var(--muted);font-size:.91rem}.position{font-family:var(--mono)}.prompt{position:relative;padding:clamp(1.25rem,4vw,2.7rem);overflow:hidden}.prompt-label{color:var(--accent-ink);display:flex;align-items:center;gap:.55rem;font-size:.88rem;font-weight:650;margin-bottom:.85rem}.prompt h1{max-width:23ch}.prompt>p.muted{margin-top:.75rem}.paper-progress{position:absolute;left:0;bottom:0;width:100%;height:4px;background:#edf0e7}.paper-progress span{display:block;height:100%;background:#719b80;transition:width .25s ease}.card-details{margin-top:1.15rem;min-width:0}.details-top{display:flex;align-items:center;justify-content:space-between;min-height:43px;color:var(--muted);font-size:.88rem}.disclosure{border:1px solid var(--line);border-radius:9px;background:var(--paper);margin-bottom:.5rem;min-width:0}.disclosure-trigger{display:grid;grid-template-columns:20px 1fr 20px;align-items:center;gap:.65rem;text-align:left;padding:.7rem .9rem;width:100%;min-height:49px;border:0;border-radius:8px;background:transparent;color:var(--accent-ink);font-weight:650;overflow-wrap:anywhere}.disclosure-trigger .chevron{transition:transform .16s ease;color:var(--muted)}.disclosure-trigger[aria-expanded=true]{background:#f0f2e9}.disclosure-trigger[aria-expanded=true] .chevron{transform:rotate(180deg)}.disclosure-body{padding:.8rem .9rem 1rem;min-width:0;animation:reveal .2s ease-out both;overflow-wrap:anywhere}@keyframes reveal{0%{opacity:.2;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}.source-list{padding:0;list-style:none;margin:0}.source-list li+li{margin-top:.6rem}.source-list a{display:inline-flex;gap:.3rem;align-items:center;color:var(--accent-ink);text-underline-offset:.15em}.source-list li span{display:block;color:var(--muted);font-size:.85rem}.markdown{overflow-wrap:anywhere;min-width:0}.markdown>:first-child{margin-top:0}.markdown>:last-child{margin-bottom:0}.markdown p+p{margin-top:.65rem}.markdown code,pre{font-family:var(--mono);font-size:.88em}.markdown :not(pre)>code{border-radius:4px;background:#e9eee4;padding:.12em .23em}pre{max-width:100%;overflow:auto;white-space:pre;padding:.85rem;border-radius:8px;margin:.5rem 0;color:#f2f5e8;background:#26342d}pre code{font:inherit}.hljs-keyword,.hljs-type{color:#c3d7fb}.hljs-string,.hljs-number{color:#f8d29e}.hljs-comment{color:#b2c6b5}.hljs-title{color:#d7eab0}.code-meta{font-size:.83rem;margin-bottom:.35rem}.figure figcaption{color:var(--muted);font-size:.88rem;font-weight:650;margin-bottom:.55rem}.figure img{display:block;max-height:450px;object-fit:contain;margin:0 auto .5rem}.diagram-stage{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;justify-items:stretch;gap:.55rem;padding:.8rem;border:1px solid #e0e3d8;border-radius:10px;color:var(--accent-ink);background:#f6f7ef;animation:reveal .22s ease-out both}.diagram-stage>svg{width:clamp(24px,5vw,52px)}.diagram-node{display:grid;gap:.2rem;text-align:center;border:1px solid #cbd8cd;border-radius:8px;padding:.65rem .4rem;background:#fffdf8;font-size:.88rem}.diagram-node.target{background:#e6eee4}.diagram-node code{color:#365445;font:.77rem var(--mono);overflow-wrap:anywhere}.diagram-note{margin:.65rem 0;font-size:.9rem}.diagram-note p{color:var(--muted)}.diagram-actions{display:flex;gap:.45rem;justify-content:end;flex-wrap:wrap}.rating-bar{margin-top:1rem;padding:.75rem;background:var(--paper);border:1px solid var(--line);border-radius:10px}.rating-bar .error{margin-bottom:.55rem}.rating-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem}.rating{min-height:48px;display:inline-flex;justify-content:center;align-items:center;gap:.4rem;border:1px solid transparent;border-radius:8px;padding:.45rem .25rem;font-weight:700;font-size:.9rem}.rating:hover:not(:disabled){border-color:currentColor}.rating.unlearned{background:var(--red-soft);color:var(--red)}.rating.learning{background:var(--amber-soft);color:var(--amber)}.rating.mastered{background:var(--accent);color:#fff}.save-status{margin:.25rem 0 0;text-align:center;font-size:.82rem;color:var(--muted)}.exercise,.empty-state{padding:clamp(1.15rem,4vw,2rem)}.empty-state>svg{color:var(--accent-ink);margin-bottom:.65rem}.empty-state p{margin:.6rem 0;color:var(--muted)}.exercise h1,.empty-state h1{font-size:clamp(1.5rem,4vw,2.35rem);margin-bottom:1rem}.exercise-options{display:grid;gap:.55rem;margin:1rem 0}.exercise-options .button{justify-content:start;text-align:left;opacity:1}.exercise-options .correct,.feedback{background:var(--accent-soft);color:var(--accent-ink)}.exercise-options .incorrect{background:var(--red-soft);color:var(--red)}.feedback{padding:.8rem;border-radius:8px;margin-bottom:.8rem}.feedback>strong{display:block;margin-bottom:.4rem}.mobile-back{display:none}.manage-tabs{display:flex;flex-wrap:wrap;gap:.55rem;margin-bottom:1rem}.manage-toolbar{display:flex;gap:1rem;justify-content:space-between;margin-bottom:.85rem}.manage-toolbar .search-form{flex:1;max-width:34rem}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;align-items:start}.editor-layout:not(.previewing){max-width:800px}.editor,.editor-fields{display:grid;gap:.85rem;min-width:0}.editor{padding:clamp(1rem,3vw,1.5rem)}.editor-fields{border:0;padding:0;margin:0}.editor-details{border:1px solid var(--line);border-radius:9px;padding:.65rem .75rem;min-width:0}.editor-details summary{cursor:pointer;font-weight:650;color:var(--accent-ink)}.editor-details[open] summary{margin-bottom:.65rem}.editor-details>label,.editor-item,.editor-details .button{margin-top:.55rem}.editor-item{display:grid;gap:.65rem;border-left:2px solid var(--line);padding-left:.7rem}.editor-item>.text-button{justify-self:start}.editor-preview{min-width:0}.editor-preview>.progress-panel{margin-top:.85rem}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.editor-actions{margin-top:0;padding-bottom:.8rem;border-bottom:1px solid var(--line)}.revision-actions{border-top:1px solid var(--line);padding-top:.75rem}.revision-actions{align-items:end}.import-plan{display:grid;gap:.55rem}.notice,.page-title+.error{margin-bottom:.9rem}@media(min-width:1050px){.study-sheet>.card-details:has(.diagram-disclosure .disclosure-body){display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.87fr);grid-template-rows:auto repeat(5,min-content);column-gap:.85rem;align-content:start;align-items:start}.study-sheet>.card-details:has(.diagram-disclosure .disclosure-body)>:not(.diagram-disclosure){grid-column:1}.study-sheet .diagram-disclosure:has(.disclosure-body){grid-column:2;grid-row:2 / span 5}.editor-layout.previewing{grid-template-columns:minmax(0,1fr) minmax(0,.85fr)}}@media(max-width:900px){.study-layout{grid-template-columns:182px minmax(0,1fr);gap:1rem}.library-layout{grid-template-columns:215px minmax(0,1fr);gap:1rem}}@media(max-width:720px){.header-inner{flex-wrap:wrap;gap:0;min-height:56px;padding:.45rem 1rem .35rem}.site-nav{order:3;width:100%;margin-top:.3rem;gap:.3rem;justify-content:start}.site-nav a{padding:.25rem .62rem;min-height:38px}.site-nav a svg{width:15px}.page{padding:1.15rem 1rem 2rem}.study-layout,.library-layout,.progress-layout{grid-template-columns:minmax(0,1fr)}.study-rail{display:none}.study-sheet .prompt{padding:1.1rem 1.2rem 1.25rem}.study-sheet .prompt h1{font-size:clamp(1.7rem,6.8vw,2rem)}.study-sheet .prompt-label{margin-bottom:.55rem}.study-sheet .prompt>p.muted{margin-top:.5rem}.study-sheet .card-details{margin-top:.65rem}.study-content:has(.rating-bar){padding-bottom:calc(6.25rem + env(safe-area-inset-bottom))}.rating-bar{z-index:5;position:fixed;left:0;right:0;bottom:0;border-radius:0;border-width:1px 0 0;padding:.62rem 1rem calc(.62rem + env(safe-area-inset-bottom));box-shadow:0 -4px 20px #2b3c3010}.rating{font-size:.83rem}.status-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.status-tile{padding:.6rem .8rem}.home-hero{align-items:start;flex-direction:column}.home-library{font-size:.78rem;padding-inline:.5rem}.chapter-panel{padding:.75rem}.chapter-entry{gap:.65rem}.question-list>a,.question-list>button{padding:.72rem .65rem;gap:.4rem}.question-list>a>svg,.question-list>button>svg{width:14px}.manage-toolbar{flex-wrap:wrap;gap:.55rem}.manage-toolbar .search-form{flex-basis:100%;max-width:none}}@media(max-width:390px){.page,.header-inner,.rating-bar{padding-inline:.75rem}.rating{gap:.2rem;font-size:.78rem}.rating svg{width:15px}.form-grid{grid-template-columns:minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important}}:root{color:#1f2938;background:#fbf8ef;--paper: #fffdf8;--ink: #1f2938;--muted: #535c6a;--line: #d8d8d4;--accent: #26374e;--accent-ink: #253c58;--accent-soft: #eaf0f8;--red: #8d4036;--red-soft: #fff0e9;--amber: #72501b;--amber-soft: #fff1d7;--radius: 12px;--display: "Instrument Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;--ink-line: #384052;--highlighter: #ffd792;--mint: #e5efe5;--notebook: #fbf8ef}body{background-image:radial-gradient(circle,#667e9d36 1px,transparent 1.2px);background-size:22px 22px;background-position:center 12px}h1{font-size:clamp(1.9rem,3.3vw,2.75rem);letter-spacing:-.045em}:focus-visible{outline-color:#496b9c}.site-header{background:var(--paper);border-bottom:1px solid var(--ink-line)}.header-inner{min-height:60px}.brand{letter-spacing:-.02em}.brand-mark{color:var(--ink);background:var(--highlighter);border:1.5px solid var(--ink-line);border-radius:9px 6px 8px 7px;transform:rotate(-5deg);box-shadow:1px 2px 0 var(--ink-line)}.brand-mark svg{transform:rotate(5deg)}.site-nav a.router-link-active,.account-links a.router-link-active{background:#fff0d8;color:var(--ink)}.button,.chip{border-color:#c7cbd0}.primary{background:var(--highlighter);border-color:var(--ink-line);color:var(--ink);box-shadow:2px 2px 0 var(--ink-line);border-radius:8px 7px 8px 6px}.primary:hover:not(:disabled){background:#ffcf77;color:var(--ink)}.primary:active:not(:disabled){box-shadow:0 1px 0 var(--ink-line);transform:translate(1px,1px)}.page{padding-top:34px}.home-heading{align-items:center}.home-hero{position:relative;background:#e8eef7;color:var(--ink);border:1.5px solid var(--ink-line);border-radius:16px 11px 15px 12px;box-shadow:3px 4px 0 var(--ink-line);padding:clamp(1.15rem,3.4vw,2rem)}.hero-label{color:var(--accent-ink)}.home-hero h2{margin-block:.25rem .45rem}.home-hero p:last-child,.continue-link{color:#3c506a}.hero-button{border-color:var(--ink-line);background:var(--highlighter);color:var(--ink);box-shadow:2px 2px 0 var(--ink-line)}.hero-button:hover:not(:disabled){background:#ffcf77}.status-tile{border-color:#ced0d1;border-radius:10px 8px 9px 7px}.status-tile.mastered,.status-pill.mastered,.chip.mastered{color:#32563d;background:var(--mint)}.study-rail{padding:.65rem .65rem .6rem;border:1px solid #d0d3d8;border-radius:12px 9px;background:#fffdf8ed}.study-rail .rail-title{padding-left:.35rem}.study-rail>.muted{padding-left:.35rem}.study-rail li.current a{background:#fff0d6;color:var(--ink)}.sheet-context{margin-bottom:.6rem}.sheet-context>span:first-child{background:#ffebc5;padding:.2rem .58rem;border:1px solid #b18a55;border-radius:5px 4px 6px 3px;color:#654b2c;font-weight:650}.position{color:var(--ink);font-weight:650}.prompt{border:1.5px solid var(--ink-line);border-radius:14px 9px;box-shadow:3px 4px 0 var(--ink-line);padding:clamp(1.15rem,3.8vw,2.35rem)}.prompt h1{max-width:32ch}.prompt-label{margin-bottom:.72rem}.prompt-label>svg{transform:rotate(-8deg)}.paper-progress{height:4px;background:#f0eee9}.paper-progress span{background:#e6a851;border-radius:0 2px 2px 0}.card-details{margin-top:.95rem}.details-top{min-height:38px}.disclosure{border-color:#d1d2d3;border-radius:8px 7px}.disclosure-trigger{min-height:46px;color:var(--ink)}.disclosure-trigger[aria-expanded=true]{background:#edf1f7}.disclosure-trigger:hover{background:#f4f5f6}.disclosure-trigger>svg:first-child{color:#49627e}.diagram-stage{color:#314862;border-color:#ced6e1;border-radius:9px 6px 10px 7px;background:#f5f7fa}.diagram-node{background:var(--paper);border:1px solid #64758b}.diagram-node.target{background:#e8eef7}.diagram-node code{color:#33465d}pre{background:#222e40;color:#f6f3ea}.markdown :not(pre)>code{display:inline-block;max-width:100%;vertical-align:baseline;background:#e9edf4}.rating-bar{border-color:#d3d3d5;background:#fffdf8}.rating{border:1px solid currentColor;border-radius:8px 6px}.rating.mastered{background:var(--mint);color:#31523b}.rating:hover:not(:disabled){box-shadow:1px 2px 0 currentColor}.exercise{border:1.5px solid var(--ink-line);border-radius:14px 9px;box-shadow:2px 3px 0 var(--ink-line)}.exercise-options .correct,.feedback{background:var(--mint);color:#31523b}.chapter-panel{background:var(--paper);border:1px solid var(--line);border-radius:10px 8px 9px 7px}.chapter-button.chosen,.mark-button[aria-pressed=true]{background:#fff0d8;color:#67481e}.directory-toggle{display:none}.library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.library-card{display:flex;flex-direction:column;gap:.54rem;min-width:0;padding:.9rem 1rem;text-decoration:none;background:var(--paper);border:1px solid #c9cdd4;border-radius:11px 8px 10px;transition:box-shadow .15s,border-color .15s}.library-card:hover{border-color:var(--ink-line);box-shadow:2px 3px #37445c25}.library-card-main{display:flex;flex:1;flex-direction:column;gap:.54rem;min-width:0;color:inherit;text-decoration:none}.library-card h3{font-size:1.02rem}.library-card-meta,.library-card-end{display:flex;align-items:center;gap:.45rem;color:var(--muted);font-size:.79rem}.library-card-meta{justify-content:space-between}.library-card-end{margin-top:auto}.library-card-end>span{display:inline-flex;align-items:center;gap:.25rem}.card-answer{min-height:38px;margin-left:auto;padding:.2rem .35rem;font-size:.81rem}.library-keywords{display:flex;align-items:start;flex-wrap:wrap;gap:.35rem .55rem;color:var(--muted);font-size:.8rem}.library-keywords span:not(:last-child):after{content:"·";margin-left:.55rem;color:#77808e}.library-visual{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:.38rem;padding:.48rem;border-radius:7px 5px;background:#edf1f7;color:var(--accent-ink);font-size:.75rem;text-align:center}.library-visual>span{overflow-wrap:anywhere;padding:.2rem .25rem;background:var(--paper);border:1px solid #c3ccd9;border-radius:5px}.question-list>:is(a,button):hover{background:#edf1f7}.login-card,.editor{border-color:#c5c9d1}@media(min-width:1160px){.library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.header-inner{min-height:55px}.page{padding-top:1.1rem}.directory-toggle{display:inline-flex;justify-content:start}.directory-toggle span{margin-left:auto;color:var(--muted);font-weight:400}.directory-chevron{transition:transform .15s ease}.directory-chevron.turned{transform:rotate(180deg)}.chapter-panel:not(.directory-open){display:none}.chapter-panel{margin-top:-.55rem}.study-sheet .prompt h1{font-size:clamp(1.55rem,6.15vw,1.95rem)}.study-sheet .prompt{padding:1rem 1.05rem 1.2rem}.home-library{display:none}.home-hero{box-shadow:2px 3px 0 var(--ink-line)}}@media(max-width:480px){.library-grid{grid-template-columns:minmax(0,1fr)}}.details-actions{display:flex;align-items:center;gap:.3rem}.study-rail li a{text-wrap:pretty}@media(max-width:720px){.jump-rating{display:none}}.markdown h3{margin-block:1rem .35rem}.markdown h3:first-child{margin-top:0}.markdown :is(ol,ul){padding-left:1.45rem}.markdown li+li{margin-top:.4rem}.guest-rating{display:flex;justify-content:center}.guide-star{color:#80551b;font-size:.78rem;font-weight:650;white-space:nowrap}.guest-rating .text-button{min-height:32px;font-size:.8rem}@media(max-width:720px){.study-content:has(.guest-rating){padding-bottom:calc(8rem + env(safe-area-inset-bottom))}}.mobile-nav{display:none}.mode-actions{display:flex;flex-wrap:wrap;gap:.55rem}.answer-page{width:min(100%,800px);margin:auto}.answer-topline,.answer-context,.answer-label,.answer-input-actions,.feedback-heading,.answer-pagination{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.answer-topline{margin:-.35rem -.5rem .75rem}.answer-context{color:var(--muted);font-size:.88rem;margin-bottom:.65rem}.answer-context>span:first-child{display:inline-flex;gap:.4rem;align-items:center;font-weight:650;color:var(--accent-ink)}.answer-question{padding:clamp(1rem,3vw,1.75rem);border:1.5px solid var(--ink-line);border-radius:14px 9px;box-shadow:3px 4px 0 var(--ink-line)}.answer-question h1{font-size:clamp(1.5rem,3vw,2.15rem);margin:.2rem 0 .5rem}.answer-composer{padding:1.15rem;margin-top:1.15rem}.answer-label{margin-bottom:.5rem}.answer-label label{font-size:1rem;font-weight:750}.answer-label span,.answer-hint{font-size:.8rem;color:var(--muted)}.answer-composer textarea{display:block;line-height:1.7;min-height:10rem;border-color:#bec7d2}.answer-composer textarea:focus{border-color:#496b9c}.answer-composer textarea[readonly]{background:#f3f5f7}.answer-input-actions{margin-top:.75rem;flex-wrap:wrap}.answer-hint{margin-top:.5rem;line-height:1.5}.answer-model{margin-top:.6rem;color:var(--muted);font-size:.84rem;overflow-wrap:anywhere}.answer-model a{margin-left:.35rem;color:var(--accent-ink);text-underline-offset:.15em}.answer-error{margin-top:.8rem}.answer-feedback,.answer-rating{margin-top:1rem;padding:1.15rem}.answer-feedback{border-color:#bfcfbd;background:#f4f8f1}.feedback-heading{margin-bottom:.65rem}.feedback-heading strong{font-size:1.8rem;color:#31523b;line-height:1}.feedback-heading strong small{font-size:.8rem;color:var(--muted)}.answer-kicker{font-size:.78rem;color:#49624b}.answer-feedback h3{margin-top:.9rem}.answer-feedback ul{padding-left:1.3rem;margin:.25rem 0 0}.answer-feedback li+li{margin-top:.35rem}.answer-reference-toggle{margin-top:1rem}.answer-rating .rating-actions{margin-top:.8rem}.answer-saved{margin-top:.6rem;color:#31523b;font-size:.86rem}.answer-exercise{margin-top:1rem}.answer-exercise h2{margin-top:.35rem}.answer-pagination{margin-top:1.2rem}.models-page{max-width:900px;margin:auto}.models-back{margin:-.4rem -.5rem .6rem}.models-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1.35rem}.models-heading h1{font-size:clamp(1.8rem,3vw,2.5rem)}.models-heading .muted{margin-top:.35rem}.models-eyebrow{display:flex;align-items:center;gap:.4rem;margin-bottom:.4rem;color:var(--accent-ink);font-size:.85rem;font-weight:700}.models-message{margin-bottom:1rem}.models-empty{padding:clamp(1.3rem,4vw,2.2rem);border:1.5px solid var(--ink-line);box-shadow:3px 4px 0 var(--ink-line)}.models-empty p{margin:.45rem 0 1.2rem;max-width:32rem}.models-empty-icon{display:grid;place-items:center;width:42px;height:42px;margin-bottom:.85rem;border:1px solid var(--ink-line);border-radius:11px 7px 10px;background:var(--highlighter);transform:rotate(-4deg)}.models-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.models-list:has(>.model-card:only-child){grid-template-columns:minmax(0,1fr)}.model-card{padding:1.1rem;border-color:#c9cdd4;border-radius:11px 8px 10px}.model-card.current{border-color:#66846a;background:#f7faf4}.model-card-heading{display:flex;align-items:start;justify-content:space-between;gap:.6rem}.model-card-heading h2{min-width:0;overflow-wrap:anywhere}.model-active{flex:none;display:inline-flex;align-items:center;gap:.25rem;padding:.18rem .5rem;border-radius:999px;background:var(--mint);color:#31523b;font-size:.76rem;font-weight:700}.model-meta{margin-top:.5rem;color:#46576c;font-weight:500;overflow-wrap:anywhere}.model-address{margin-top:.15rem;color:var(--muted);font-size:.82rem;overflow-wrap:anywhere}.model-actions{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;margin-top:.9rem}.model-form{max-width:700px;padding:clamp(1rem,3vw,1.6rem)}.model-form fieldset{display:grid;gap:.9rem;padding:0;margin:0;min-width:0;border:0}.model-form label{gap:.38rem;font-size:.9rem}.model-form input{min-height:46px}.model-field-hint{color:var(--muted);font-size:.82rem;line-height:1.55}.model-form fieldset .model-field-hint{margin-top:-.55rem}.model-test-hint{margin-top:1rem}.model-form-actions{display:flex;justify-content:space-between;gap:.6rem;margin:1.2rem 0 .65rem;scroll-margin-bottom:calc(5rem + env(safe-area-inset-bottom))}.model-test-result{display:flex;align-items:center;gap:.5rem;margin-top:1rem}@media(max-width:720px){.site-nav{display:none}.page.with-mobile-nav{padding-bottom:calc(5.25rem + env(safe-area-inset-bottom))}.mobile-nav{display:flex;position:fixed;z-index:8;bottom:0;left:0;right:0;padding:.3rem .5rem env(safe-area-inset-bottom);background:var(--paper);border-top:1px solid var(--ink-line);box-shadow:0 -4px 16px #3840520d}.mobile-nav a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.08rem;min-height:52px;color:var(--muted);text-decoration:none;font-size:.72rem;border-radius:8px}.mobile-nav a.router-link-active,.mobile-nav a.active{color:var(--ink);font-weight:700;background:#fff0d8}.answer-question h1{font-size:clamp(1.45rem,6vw,1.8rem)}.answer-composer{padding:.9rem}.answer-input-actions .primary{margin-left:auto}.models-heading{align-items:start}.models-heading .button{flex:none}.models-list{grid-template-columns:minmax(0,1fr)}.model-form-actions>.button{flex:1}}
