@font-face{font-family:Literata;font-style:normal;font-display:swap;font-weight:200 900;src:url(./literata-latin-wght-normal-DLxlUchJ.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Literata;font-style:normal;font-display:swap;font-weight:200 900;src:url(./literata-latin-ext-wght-normal-BnEbWgdZ.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Literata;font-style:italic;font-display:swap;font-weight:200 900;src:url(./literata-latin-wght-italic-Bm_GJfSc.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Literata;font-style:italic;font-display:swap;font-weight:200 900;src:url(./literata-latin-ext-wght-italic-CC1SwlwQ.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}:root{--font-ui:"Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-read:"Literata", Georgia, "Times New Roman", serif;--font-mono:ui-monospace, "SF Mono", Menlo, Consolas, monospace;--bg:#f6f3ec;--bg-2:#efeadf;--surface:#fffdf8;--surface-2:#f8f4ea;--text:#1e2430;--text-2:#4c5565;--muted:#7a8291;--border:#e2dccd;--border-strong:#cfc6b2;--accent:#4b3a8c;--accent-2:#5b49a6;--accent-soft:#e7e2f5;--accent-text:#fff;--highlight:#ffe9a8;--good:#2f7d32;--good-soft:#dcefdc;--warn:#9a6400;--warn-soft:#fbedc9;--bad:#b3261e;--bad-soft:#f8dcd9;--info-soft:#e7e4f4;--shadow-1:0 1px 2px #28200f0f, 0 1px 1px #28200f0a;--shadow-2:0 6px 20px #28200f1a, 0 2px 6px #28200f0f;--r-sm:8px;--r-md:12px;--r-lg:18px;--r-xl:24px;--sp-1:4px;--sp-2:8px;--sp-3:12px;--sp-4:16px;--sp-5:24px;--sp-6:32px;--sp-7:48px;--nav-w:232px;--tabbar-h:62px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=sepia]{--bg:#f1e7d0;--bg-2:#e9dcbf;--surface:#f8f0dc;--surface-2:#efe3c8;--text:#3a2e1d;--text-2:#5b4a33;--muted:#86735a;--border:#dccaa6;--border-strong:#c9b48b;--accent:#5c3b78;--accent-2:#6e4a8c;--accent-soft:#e8dbe2;--highlight:#f7d98a}:root[data-theme=dark]{--bg:#12161c;--bg-2:#171c24;--surface:#1b212a;--surface-2:#222a35;--text:#e7e9ec;--text-2:#b8c0cb;--muted:#8a94a3;--border:#2c3542;--border-strong:#3a4554;--accent:#a99cf0;--accent-2:#bcb2f5;--accent-soft:#2a2548;--accent-text:#15102a;--highlight:#5a4a12;--good:#6cc070;--good-soft:#1e3320;--warn:#e0b04f;--warn-soft:#3a3016;--bad:#ff7a6e;--bad-soft:#3d1f1c;--info-soft:#221f3b;--shadow-1:0 1px 2px #0000004d;--shadow-2:0 8px 24px #0006;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box}html{text-size-adjust:100%;height:100%}body{background:var(--bg);min-height:100%;color:var(--text);font-family:var(--font-ui);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;overscroll-behavior-y:none;margin:0;font-size:16px;line-height:1.5}#root{min-height:100vh;min-height:100dvh}h1,h2,h3,h4{margin:0 0 var(--sp-3);letter-spacing:-.01em;line-height:1.25}h1{font-size:1.75rem;font-weight:700}h2{font-size:1.35rem;font-weight:650}h3{font-size:1.1rem;font-weight:650}p{margin:0 0 var(--sp-3)}a{color:var(--accent)}button,input,select,textarea{font:inherit;color:inherit}img{max-width:100%;height:auto}hr{border:0;border-top:1px solid var(--border);margin:var(--sp-5) 0}::selection{background:var(--highlight)}:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:6px}.muted{color:var(--muted)}.small{font-size:.875rem}.tiny{font-size:.78rem}.center{text-align:center}.nowrap{white-space:nowrap}.num{font-variant-numeric:tabular-nums}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.shell{min-height:100vh;min-height:100dvh;display:flex}.rail{display:none}.main{min-width:0;padding:calc(var(--safe-top) + var(--sp-4)) calc(var(--safe-right) + var(--sp-4)) calc(var(--tabbar-h) + var(--safe-bottom) + var(--sp-5)) calc(var(--safe-left) + var(--sp-4));flex:1}.page{max-width:980px;margin:0 auto}.page.narrow{max-width:720px}.page.wide{max-width:1200px}.page-head{justify-content:space-between;align-items:flex-end;gap:var(--sp-3);margin:var(--sp-2) 0 var(--sp-5);flex-wrap:wrap;display:flex}.page-head h1{margin:0}.page-head .sub{color:var(--muted);margin-top:4px}.tabbar{z-index:40;height:calc(var(--tabbar-h) + var(--safe-bottom));padding:0 var(--safe-right) var(--safe-bottom) var(--safe-left);background:color-mix(in srgb, var(--surface) 92%, transparent);background:var(--surface);border-top:1px solid var(--border);-webkit-backdrop-filter:saturate(1.4)blur(14px);backdrop-filter:saturate(1.4)blur(14px);justify-content:space-around;align-items:stretch;display:flex;position:fixed;bottom:0;left:0;right:0}.tabbar a,.tabbar button{color:var(--muted);cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;padding:6px 0 4px;font-size:.7rem;font-weight:550;text-decoration:none;display:flex}.tabbar a.active,.tabbar button.active{color:var(--accent)}.tabbar svg{width:24px;height:24px}.more-sheet{right:calc(var(--safe-right) + 10px);bottom:calc(var(--tabbar-h) + var(--safe-bottom) + 8px);z-index:45;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow-2);min-width:220px;padding:6px;position:fixed}.more-sheet a{border-radius:var(--r-md);color:var(--text);align-items:center;gap:12px;padding:12px 14px;font-weight:500;text-decoration:none;display:flex}.more-sheet a:hover,.more-sheet a.active{background:var(--accent-soft);color:var(--accent)}.more-sheet svg{width:20px;height:20px}@media (min-width:900px){.rail{height:100vh;height:100dvh;width:var(--nav-w);padding:calc(var(--safe-top) + var(--sp-5)) var(--sp-3) var(--sp-4) calc(var(--safe-left) + var(--sp-3));border-right:1px solid var(--border);background:var(--bg-2);flex-direction:column;flex:none;display:flex;position:sticky;top:0;overflow-y:auto}.rail .brand{padding:0 10px var(--sp-5);letter-spacing:-.01em;align-items:center;gap:10px;font-weight:700;display:flex}.rail .brand img{border-radius:9px;width:34px;height:34px}.rail .brand small{color:var(--muted);font-size:.75rem;font-weight:500;display:block}.rail nav{flex-direction:column;gap:2px;display:flex}.rail nav .sep{background:var(--border);height:1px;margin:var(--sp-3) 10px}.rail a{border-radius:var(--r-md);color:var(--text-2);align-items:center;gap:12px;padding:10px 12px;font-size:.95rem;font-weight:550;text-decoration:none;display:flex}.rail a:hover{background:var(--surface-2);color:var(--text)}.rail a.active{background:var(--accent-soft);color:var(--accent)}.rail svg{flex:none;width:20px;height:20px}.rail .badge{margin-left:auto}.tabbar,.more-sheet{display:none}.main{padding:calc(var(--safe-top) + var(--sp-6)) calc(var(--safe-right) + var(--sp-6)) var(--sp-7) var(--sp-6)}}.shell.focus .rail,.shell.focus .tabbar{display:none}.shell.focus .main{padding:calc(var(--safe-top) + var(--sp-3)) calc(var(--safe-right) + var(--sp-3)) calc(var(--safe-bottom) + var(--sp-3)) calc(var(--safe-left) + var(--sp-3))}.grid{gap:var(--sp-4);display:grid}.grid.cols-2{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.grid.cols-3{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.grid.cols-4{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.row{align-items:center;gap:var(--sp-3);flex-wrap:wrap;display:flex}.row.between{justify-content:space-between}.row.end{justify-content:flex-end}.stack{gap:var(--sp-3);flex-direction:column;display:flex}.stack.lg{gap:var(--sp-5)}.spacer{flex:1}.section{margin:var(--sp-6) 0 var(--sp-3)}.section-title{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:var(--sp-6) 0 var(--sp-3);font-size:.78rem;font-weight:700}.btn{border-radius:var(--r-md);border:1px solid var(--border-strong);background:var(--surface);min-height:44px;color:var(--text);cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;gap:8px;padding:10px 18px;font-size:.95rem;font-weight:600;text-decoration:none;transition:background .15s,border-color .15s,transform 50ms;display:inline-flex}.btn:hover{background:var(--surface-2)}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn svg{width:18px;height:18px}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.btn.primary:hover{background:var(--accent-2)}.btn.ghost{background:0 0;border-color:#0000}.btn.ghost:hover{background:var(--surface-2)}.btn.danger{color:var(--bad);border-color:var(--bad-soft)}.btn.sm{border-radius:var(--r-sm);min-height:34px;padding:6px 12px;font-size:.85rem}.btn.lg{border-radius:var(--r-lg);min-height:54px;padding:14px 26px;font-size:1.05rem}.btn.block{width:100%}.icon-btn{width:44px;height:44px;color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.icon-btn:hover{background:var(--surface-2);color:var(--text)}.icon-btn svg{width:22px;height:22px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:var(--sp-5);box-shadow:var(--shadow-1)}.card.flat{box-shadow:none}.card.tight{padding:var(--sp-4)}.card h2,.card h3{margin-bottom:var(--sp-2)}.card .kicker{letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin-bottom:6px;font-size:.75rem;font-weight:700}a.card{color:inherit;text-decoration:none;transition:border-color .15s,transform .1s,box-shadow .15s;display:block}a.card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-2)}a.card:active{transform:scale(.995)}.card.accent{background:linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);color:var(--accent-text);border-color:#0000}.card.accent .kicker,.card.accent .muted{color:inherit;opacity:.85}.stat{flex-direction:column;gap:2px;display:flex}.stat .v{letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:1.9rem;font-weight:750;line-height:1.1}.stat .l{color:var(--muted);font-size:.8rem;font-weight:550}.stat .d{font-size:.8rem;font-weight:650}.stat .d.up{color:var(--good)}.stat .d.down{color:var(--bad)}.badge{background:var(--surface-2);color:var(--text-2);border:1px solid var(--border);white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:2px 9px;font-size:.75rem;font-weight:650;display:inline-flex}.badge.accent{background:var(--accent-soft);color:var(--accent);border-color:#0000}.badge.good{background:var(--good-soft);color:var(--good);border-color:#0000}.badge.warn{background:var(--warn-soft);color:var(--warn);border-color:#0000}.badge.bad{background:var(--bad-soft);color:var(--bad);border-color:#0000}.badge.info{background:var(--info-soft);color:var(--text-2);border-color:#0000}.field{margin-bottom:var(--sp-4);flex-direction:column;gap:6px;display:flex}.field>label,.field>.label{font-size:.9rem;font-weight:600}.field .hint{color:var(--muted);font-size:.8rem}.input,select.input,textarea.input{border-radius:var(--r-md);border:1px solid var(--border-strong);background:var(--surface);width:100%;min-height:44px;padding:10px 12px;font-size:1rem}textarea.input{resize:vertical;min-height:110px;line-height:1.5}.input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}input[type=range]{width:100%;accent-color:var(--accent);height:32px}.seg{border-radius:var(--r-md);background:var(--surface-2);border:1px solid var(--border);flex-wrap:wrap;gap:2px;padding:3px;display:inline-flex}.seg button{color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:9px;min-height:34px;padding:7px 12px;font-size:.85rem;font-weight:600}.seg button.on{background:var(--surface);color:var(--text);box-shadow:var(--shadow-1)}.switch{justify-content:space-between;align-items:center;gap:var(--sp-3);cursor:pointer;padding:10px 0;display:flex}.switch input{-webkit-appearance:none;appearance:none;background:var(--border-strong);cursor:pointer;border-radius:999px;flex:none;width:48px;height:28px;transition:background .2s;position:relative}.switch input:after{content:"";background:#fff;border-radius:50%;width:22px;height:22px;transition:left .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0000004d}.switch input:checked{background:var(--accent)}.switch input:checked:after{left:23px}.list{border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface);flex-direction:column;display:flex;overflow:hidden}.list>a,.list>.item,.list>button{align-items:center;gap:var(--sp-3);padding:14px var(--sp-4);border:0;border-bottom:1px solid var(--border);color:inherit;text-align:left;background:0 0;width:100%;min-height:54px;text-decoration:none;display:flex}.list>:last-child{border-bottom:0}.list>a:hover,.list>button:hover{background:var(--surface-2)}.list .title{font-weight:600}.list .meta{color:var(--muted);font-size:.8rem}.list .grow{flex:1;min-width:0}.bar{background:var(--surface-2);border:1px solid var(--border);border-radius:999px;height:8px;overflow:hidden}.bar>span{background:var(--accent);border-radius:999px;height:100%;transition:width .3s;display:block}.overlay{z-index:80;background:#0a0c106b;justify-content:center;align-items:flex-end;animation:.15s ease-out fade;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.sheet{background:var(--surface);border-radius:var(--r-xl) var(--r-xl) 0 0;width:100%;max-width:640px;max-height:88vh;padding:var(--sp-5) var(--sp-5) calc(var(--sp-5) + var(--safe-bottom));box-shadow:var(--shadow-2);animation:.2s ease-out rise;overflow-y:auto}@media (min-width:700px){.overlay{align-items:center}.sheet{border-radius:var(--r-xl)}}.sheet-head{margin-bottom:var(--sp-4);justify-content:space-between;align-items:center;display:flex}.sheet-head h2{margin:0}@keyframes fade{0%{opacity:0}}@keyframes rise{0%{opacity:0;transform:translateY(24px)}}.toast{left:50%;bottom:calc(var(--tabbar-h) + var(--safe-bottom) + 16px);z-index:90;background:var(--text);color:var(--bg);border-radius:var(--r-md);box-shadow:var(--shadow-2);align-items:center;gap:12px;max-width:calc(100vw - 32px);padding:12px 18px;font-weight:550;display:flex;position:fixed;transform:translate(-50%)}.toast button{color:var(--accent-soft);cursor:pointer;background:0 0;border:0;font-weight:700}.callout{border-radius:var(--r-md);padding:var(--sp-3) var(--sp-4);background:var(--info-soft);border-left:4px solid var(--accent);font-size:.93rem}.callout.warn{background:var(--warn-soft);border-left-color:var(--warn)}.callout.good{background:var(--good-soft);border-left-color:var(--good)}.callout.bad{background:var(--bad-soft);border-left-color:var(--bad)}.callout p:last-child{margin-bottom:0}.table-wrap{-webkit-overflow-scrolling:touch;border:1px solid var(--border);border-radius:var(--r-md);overflow-x:auto}table.t{border-collapse:collapse;width:100%;font-size:.92rem}table.t th,table.t td{text-align:left;border-bottom:1px solid var(--border);vertical-align:top;padding:9px 12px}table.t th{background:var(--surface-2);font-weight:650;position:sticky;top:0}table.t tr:last-child td{border-bottom:0}.empty{text-align:center;padding:var(--sp-7) var(--sp-4);color:var(--muted)}.empty svg{opacity:.5;width:48px;height:48px;margin-bottom:var(--sp-3)}.evidence{cursor:pointer;background:var(--surface-2);border:1px solid #0000;border-radius:999px;align-items:center;gap:6px;padding:3px 10px;font-size:.75rem;font-weight:650;display:inline-flex}.evidence .dots{gap:2px;display:inline-flex}.evidence .dots i{opacity:.25;background:currentColor;border-radius:50%;width:6px;height:6px}.evidence .dots i.on{opacity:1}.evidence.strong{color:var(--good);background:var(--good-soft)}.evidence.moderate{color:var(--accent);background:var(--accent-soft)}.evidence.weak{color:var(--warn);background:var(--warn-soft)}.evidence.none{color:var(--bad);background:var(--bad-soft)}.task-list{flex-direction:column;gap:6px;margin-top:14px;display:flex}.task{border-radius:var(--r-md);align-items:center;gap:12px;padding:6px 4px;display:flex}.task-check{border:2px solid var(--border-strong);background:var(--surface);width:30px;height:30px;color:var(--accent-text);cursor:pointer;border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.task.done .task-check{background:var(--good);border-color:var(--good)}.task-check svg{width:18px;height:18px}.task-body{color:inherit;border-radius:var(--r-md);background:var(--surface-2);flex:1;justify-content:space-between;align-items:center;gap:10px;min-height:44px;padding:8px 10px;text-decoration:none;display:flex}.task-body:hover{background:var(--accent-soft)}.task.done .task-body>span:first-child{color:var(--muted);text-decoration:line-through}.list>details.item{display:block}details.item summary::-webkit-details-marker{display:none}details.item.current{background:var(--accent-soft)}.unit-num.done{background:var(--good);color:#fff;border-color:#0000}.heat{grid-template-columns:repeat(21,1fr);gap:4px;margin-top:8px;display:grid}.heat-cell{aspect-ratio:1;background:var(--surface-2);border:1px solid var(--border);border-radius:4px}.heat-cell.l1{background:color-mix(in srgb, var(--accent) 25%, var(--surface));background:var(--accent-soft)}.heat-cell.l2{background:var(--accent);opacity:.55}.heat-cell.l3{background:var(--accent);opacity:.8}.heat-cell.l4{background:var(--accent)}.grow{flex:1;min-width:0}.fn-ref{color:var(--accent);font-size:.7em}.unit-num{background:var(--surface-2);border:1px solid var(--border);width:34px;height:34px;color:var(--text-2);border-radius:10px;flex:none;justify-content:center;align-items:center;font-size:.85rem;font-weight:700;display:inline-flex}.unit-num svg{width:18px;height:18px}.eyebrow{text-transform:uppercase;letter-spacing:.08em;color:var(--accent);margin-bottom:6px;font-size:.72rem;font-weight:700}.lead{font-family:var(--font-read);font-size:1.1rem;line-height:1.6}.clamp2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.pages{flex-wrap:wrap;gap:6px;display:flex}a.badge{text-decoration:none}a.badge:hover{border-color:var(--accent);color:var(--accent)}.icon-btn.on{color:var(--accent);background:var(--accent-soft)}.list .item.sub{padding-left:36px}.list .item.sub .title{font-size:.92em;font-weight:450}.btn.good{border-color:var(--good);color:var(--good)}.btn.warn{border-color:var(--warn);color:var(--warn)}.btn.bad{border-color:var(--bad);color:var(--bad)}.btn.accent{border-color:var(--accent);color:var(--accent)}.preq{font-family:var(--font-read);margin:0;padding-left:22px;line-height:1.55}.preq li{margin:6px 0}.rd{background:var(--bg-2);z-index:5;flex-direction:column;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.rd-top{padding:calc(6px + var(--safe-top)) calc(8px + var(--safe-right)) 6px calc(8px + var(--safe-left));background:var(--surface);border-bottom:1px solid var(--border);align-items:center;gap:6px;display:flex}.rd-where{flex:1;min-width:0;line-height:1.25}.rd-title{white-space:nowrap;text-overflow:ellipsis;font-size:.9rem;font-weight:650;overflow:hidden}.rd-seg svg{flex:none}.rd-seg{max-width:100%;font:inherit;color:var(--accent);cursor:pointer;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:0;align-items:center;gap:4px;padding:0;font-size:.8rem;display:inline-flex;overflow:hidden}div.rd-seg{color:var(--muted);cursor:default}.rd-tools{flex:none;gap:2px;display:flex}.rd-scroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:1;min-height:0;overflow:auto}.rd-page{margin:0 auto;padding:10px}.rd.fit-h .rd-page{justify-content:center;align-items:center;height:100%;display:flex}.rd-img{box-shadow:var(--shadow-2);-webkit-user-select:none;user-select:none;background:#fff;border-radius:2px;display:block}.rd.fit-w .rd-img{width:100%;height:auto}.rd.fit-h .rd-img{object-fit:contain;max-width:100%;max-height:100%}.pg-loading,.pg-missing{aspect-ratio:.78;background:var(--surface);border:1px solid var(--border);border-radius:2px;width:100%}.rd.fit-h .pg-loading,.rd.fit-h .pg-missing{width:auto;height:100%}.pg-loading{animation:1.4s ease-in-out infinite pg-pulse}.pg-missing{color:var(--muted);text-align:center;justify-content:center;align-items:center;padding:20px;display:flex}@keyframes pg-pulse{50%{opacity:.55}}:root[data-theme=dark] .rd.dim .rd-img{filter:invert(.88)hue-rotate(180deg)}.rd-check{max-width:720px;margin:0 auto;padding:6px 12px 28px}.rd-bottom{padding:8px calc(12px + var(--safe-right)) calc(8px + var(--safe-bottom)) calc(12px + var(--safe-left));background:var(--surface);border-top:1px solid var(--border);align-items:center;gap:8px;display:flex}.rd-pos{min-width:0;font:inherit;color:var(--text-2);cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;align-items:center;gap:5px;padding:4px;font-size:.85rem;display:flex}.rd-bar{background:var(--surface-2);border-radius:2px;width:100%;max-width:260px;height:4px;display:block;overflow:hidden}.rd-bar>span{background:var(--accent);height:100%;display:block}.pg-text{white-space:pre-wrap;font-family:var(--font-read);max-height:60vh;font-size:.95rem;line-height:1.55;overflow:auto}.terms{margin:0}.terms dt{margin-top:10px;font-weight:650}.terms dd{color:var(--text-2);margin:2px 0 0;line-height:1.5}.chk{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow-2);padding:16px}.chk-head{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:12px;display:flex}.chk-title{font-size:1.05rem;font-weight:700}.chk-q{font-family:var(--font-read);font-size:1.1rem;font-weight:550;line-height:1.5}.chk-mine{background:var(--surface-2);border-radius:var(--r-md);white-space:pre-wrap;padding:10px 12px}.chk-a{background:var(--accent-soft);border-radius:var(--r-md);font-family:var(--font-read);padding:12px;line-height:1.55}.chk-rates{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.chk-sum{flex-wrap:wrap;align-items:center;gap:8px 16px;display:flex}.chk-ozet{background:var(--accent-soft);border-radius:var(--r-md);font-family:var(--font-read);padding:12px;line-height:1.55}.ch-hero{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:24px;display:grid}.ch-oz .lead{margin:0 0 10px}.ch-actions{flex-direction:column;gap:10px;display:flex}.ch-stats{color:var(--text-2);flex-direction:column;gap:4px;display:flex}.ch-tabs{scrollbar-width:none;margin:20px 0 14px;overflow-x:auto}.ch-tabs::-webkit-scrollbar{display:none}.ch-tabs .seg{flex-wrap:nowrap;width:max-content}.ideas{flex-direction:column;gap:10px;display:flex}.idea summary{cursor:pointer;align-items:center;gap:10px;list-style:none;display:flex}.idea summary::-webkit-details-marker{display:none}.idea-n{background:var(--accent-soft);width:28px;height:28px;color:var(--accent);border-radius:50%;flex:none;justify-content:center;align-items:center;font-size:.85rem;font-weight:800;display:inline-flex}.idea-t{font-weight:650}.idea p{font-family:var(--font-read);line-height:1.6}.segs .kesit summary{cursor:pointer;align-items:center;gap:12px;list-style:none;display:flex}.seg-dot{border:1.5px solid var(--border-strong);width:28px;height:28px;color:var(--text-2);border-radius:50%;flex:none;justify-content:center;align-items:center;font-size:.8rem;font-weight:700;display:inline-flex}.seg-dot.done{background:var(--good);border-color:var(--good);color:#fff}.seg-body{font-family:var(--font-read);padding:10px 0 4px 40px;line-height:1.55}.terms-inline{font-family:var(--font-ui);flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.chain-steps{flex-direction:column;gap:0;margin:12px 0;padding:0;list-style:none;display:flex}.chain-steps li{border-left:3px solid var(--accent);background:var(--surface-2);border-radius:0 var(--r-sm) var(--r-sm) 0;font-family:var(--font-read);padding:9px 12px;line-height:1.5;position:relative}.chain-steps li+li{margin-top:18px}.chain-steps li+li:before{content:"↓";color:var(--muted);font-size:.9rem;position:absolute;top:-19px;left:10px}.chain-steps li.hidden{border-left-color:var(--border-strong);border:1px dashed var(--border-strong);background:0 0}.cmp,.prog-table{border-collapse:collapse;width:100%;font-size:.9rem}.cmp th,.cmp td,.prog-table th,.prog-table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:top;padding:8px 10px;line-height:1.45}.cmp th,.prog-table th{background:var(--surface-2);font-weight:650}.cmp td:first-child{font-weight:600}.prog-table tr.done td:first-child a{color:var(--good)}.prog-table td:not(:first-child),.prog-table th:not(:first-child){white-space:nowrap}.pit{grid-template-columns:1fr 1fr;gap:14px;display:grid}.pit-wrong,.pit-right{padding-left:12px;line-height:1.5}.pit-wrong{border-left:3px solid var(--bad)}.pit-right{border-left:3px solid var(--good)}.recall-box{min-height:42vh;font-family:var(--font-read);resize:vertical;font-size:1.05rem;line-height:1.6}.recall-mine{white-space:pre-wrap;font-family:var(--font-read);margin-top:10px;line-height:1.55}.checklist{flex-direction:column;gap:8px;display:flex}.check-item{border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface);cursor:pointer;align-items:flex-start;gap:10px;padding:10px 12px;line-height:1.5;display:flex}.check-item input{flex:none;margin-top:4px}.check-item.on{background:var(--good-soft);border-color:var(--good)}.card.quiz-mode{color:inherit;flex-direction:column;gap:6px;text-decoration:none;display:flex}.quiz-mode svg{color:var(--accent);width:22px;height:22px}.quiz-mode:hover{border-color:var(--accent)}.quiz-mode.disabled{opacity:.5;pointer-events:none}.quiz-stem{font-family:var(--font-read);margin:18px 0;font-size:1.1rem;line-height:1.6}.quiz-opts{flex-direction:column;gap:8px;margin-bottom:16px;display:flex}.quiz-opt{text-align:left;border:1px solid var(--border-strong);border-radius:var(--r-md);background:var(--surface);width:100%;color:var(--text);font:inherit;cursor:pointer;align-items:flex-start;gap:12px;padding:12px 14px;line-height:1.45;display:flex}.quiz-opt:hover:not(:disabled){border-color:var(--accent)}.quiz-opt:disabled{cursor:default}.quiz-opt.right{background:var(--good-soft);border-color:var(--good)}.quiz-opt.wrong{background:var(--bad-soft);border-color:var(--bad)}.quiz-opt.dim{opacity:.55}.quiz-l{border:1px solid var(--border-strong);border-radius:50%;flex:none;justify-content:center;align-items:center;width:26px;height:26px;font-size:.8rem;font-weight:700;display:inline-flex}.big-score{color:var(--accent);font-size:3rem;font-weight:800;line-height:1.1}.fc-card{flex-direction:column;gap:12px;min-height:260px;margin:16px 0;display:flex}.fc-meta{justify-content:space-between;align-items:center;gap:8px;display:flex}.fc-front{font-family:var(--font-read);font-size:1.3rem;font-weight:550;line-height:1.45}.fc-back{font-family:var(--font-read);border-top:1px solid var(--border);padding-top:12px;font-size:1.1rem;line-height:1.55}.fc-reveal{width:100%}.fc-grades{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.fc-grades .btn{flex-direction:column;gap:0;min-height:58px}.fc-grades .btn small{opacity:.8;font-size:.75rem;font-weight:500}.card.map-oz{border-left:4px solid var(--accent)}.four-q .card{height:100%}.chapters{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;margin:10px 0 24px;display:grid}.card.chap{color:inherit;flex-direction:column;gap:6px;text-decoration:none;display:flex}.chap:hover{border-color:var(--accent)}.chap.done{border-color:var(--good)}.chap-top{justify-content:space-between;align-items:center;display:flex}.chap-top svg{color:var(--good);width:18px;height:18px}.chap-title{font-weight:650;line-height:1.3}.chap-sum{color:var(--text-2);line-height:1.45}.chap-bar{background:var(--surface-2);border-radius:2px;height:4px;margin-top:auto;overflow:hidden}.chap-bar>span{background:var(--accent);height:100%;display:block}.chap.done .chap-bar>span{background:var(--good)}.today-steps{flex-direction:column;gap:10px;display:flex}.step{align-items:center;gap:14px;display:flex}.step.ok{opacity:.7}.step-n{background:var(--accent-soft);width:32px;height:32px;color:var(--accent);border-radius:50%;flex:none;justify-content:center;align-items:center;font-weight:800;display:inline-flex}.card.resume{color:inherit;align-items:center;gap:12px;margin-top:12px;text-decoration:none;display:flex}.resume:hover{border-color:var(--accent)}.resume>svg{width:22px;height:22px;color:var(--accent);flex:none}.search-hit .small{color:var(--text-2);margin:4px 0;line-height:1.45}@media (max-width:760px){.ch-hero{grid-template-columns:1fr;gap:16px}.pit{grid-template-columns:1fr}.step{flex-wrap:wrap}.step>.btn{margin-left:46px}.seg-body{padding-left:0}.fc-grades{grid-template-columns:repeat(2,1fr)}}.list svg{width:18px;height:18px;color:var(--muted);flex:none}.chk-head svg,.callout svg{width:18px;height:18px}.list .seg-dot svg{width:14px;height:14px;color:inherit}.list .btn svg{color:inherit}
