:root{color-scheme:light;--font-sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI Variable Text","Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif;--font-display:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI Variable Display","Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif;--font-serif:ui-serif,"New York","Iowan Old Style",Charter,"Palatino Linotype",Georgia,serif;--font-math:"STIX Two Math","Cambria Math",ui-serif,"New York","Iowan Old Style","Times New Roman",serif;--paper:#faf8f3;--surface:#ffffff;--surface-2:#f3f0e8;--surface-3:#ebe7dc;--line:#e5e0d4;--line-strong:#cbc4b4;--ink:#17191c;--ink-2:#45484d;--ink-3:#686b70;--accent:#1d4d45;--accent-hover:#163e38;--accent-ink:#ffffff;--accent-soft:#e6efeb;--accent-shadow:rgba(29,77,69,0.45);--gold:#6f5317;--gold-soft:#f5edd9;--gold-bright:#c9a24a;--ok:#2d6a4c;--ok-soft:#e6f0ea;--part:#8a5a10;--part-soft:#f8eedb;--miss:#9a3a2c;--miss-soft:#f8e7e3;--radius-s:8px;--radius:14px;--radius-l:22px;--shadow-1:0 1px 2px rgba(24,22,16,0.05),0 1px 1px rgba(24,22,16,0.03);--shadow-2:0 18px 40px -18px rgba(24,22,16,0.22),0 2px 6px rgba(24,22,16,0.05);--ease:cubic-bezier(0.2,0.7,0.2,1);--dur:220ms;--gutter:clamp(20px,4.5vw,48px)}*,:after,:before{box-sizing:border-box}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0;min-height:100vh;min-height:100dvh;background:var(--paper);color:var(--ink);font:400 17px/1.55 var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}img,svg{display:block;max-width:100%}svg.ic{display:inline-block;flex:none;width:1.15em;height:1.15em}h1,h2,h3,h4{margin:0;font-family:var(--font-display);font-weight:600;letter-spacing:-.022em;line-height:1.12;text-wrap:balance}h1{font-size:clamp(2rem,1.35rem + 2.6vw,3.4rem)}h2{font-size:clamp(1.45rem,1.2rem + 1.1vw,2.05rem)}h3{font-size:1.2rem;letter-spacing:-.012em}p{text-wrap:pretty}ol,p,ul{margin:0}ol,ul{padding:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}a{color:var(--accent);text-underline-offset:3px}::selection{background:var(--accent-soft)}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}[tabindex="-1"]:focus{outline:none}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.skip{position:absolute;left:12px;top:-80px;z-index:100;padding:10px 16px;border-radius:10px;background:var(--ink);color:#fff;text-decoration:none}.skip:focus{top:12px}.eyebrow{font-size:.76rem;font-weight:650;letter-spacing:.09em;text-transform:uppercase;color:var(--ink-3)}.lead{font-size:clamp(1.08rem,1rem + .4vw,1.3rem);line-height:1.5}.lead,.muted{color:var(--ink-2)}.faint{color:var(--ink-3)}.small{font-size:.875rem}.math{font-size:1.06em;white-space:nowrap}.math,.math-block{font-family:var(--font-math);letter-spacing:.01em}.math-block{font-size:clamp(1.25rem,1.05rem + 1vw,1.75rem);line-height:1.35}.wrap{width:100%;max-width:var(--wrap,1120px);margin-inline:auto;padding-inline:var(--gutter)}.stack{flex-direction:column;gap:var(--gap,16px)}.row,.stack{display:flex}.row{flex-wrap:wrap;align-items:center;gap:var(--gap,12px)}.spread{justify-content:space-between}.grid-auto{display:grid;gap:var(--gap,16px);grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--min,220px)),1fr))}.surface{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.divider{height:1px;margin:0;border:0;background:var(--line)}.btn{--btn-bg:var(--surface);--btn-fg:var(--ink);--btn-line:var(--line-strong);display:inline-flex;align-items:center;justify-content:center;gap:.55em;min-height:44px;padding:.62em 1.15em;border:1px solid var(--btn-line);border-radius:var(--btn-radius,999px);background:var(--btn-bg);color:var(--btn-fg);font-size:1rem;font-weight:560;line-height:1.2;text-align:center;text-decoration:none;transition:background-color var(--dur) var(--ease),border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease),transform .12s var(--ease);-webkit-tap-highlight-color:transparent}.btn:hover{--btn-bg:var(--surface-2)}.btn:active{transform:translateY(1px)}.btn-primary{--btn-bg:var(--accent);--btn-fg:var(--accent-ink);--btn-line:var(--accent);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 8px 18px -10px var(--accent-shadow)}.btn-primary:hover{--btn-bg:var(--accent-hover);--btn-line:var(--accent-hover)}.btn-ghost{--btn-bg:transparent;--btn-line:transparent}.btn-ghost:hover{--btn-bg:var(--surface-2)}.btn-quiet{--btn-bg:transparent;--btn-line:transparent;padding-inline:.6em;color:var(--ink-2);font-weight:500}.btn-quiet:hover{--btn-bg:var(--surface-2);color:var(--ink)}.btn-lg{min-height:54px;padding:.8em 1.55em;font-size:1.06rem}.btn-sm{min-height:36px;padding:.4em .9em;font-size:.9rem}.btn-block{width:100%}.icon-btn{width:44px;height:44px;min-height:44px;padding:0}.btn[aria-disabled=true],.btn[disabled]{opacity:.42;cursor:not-allowed;transform:none;box-shadow:none}.btn-apple{--btn-bg:#000;--btn-fg:#fff;--btn-line:#000}.btn-apple:hover{--btn-bg:#1d1d1f}.btn-google{--btn-bg:#fff;--btn-fg:#1f1f1f;--btn-line:#c9c4b8}.btn-google:hover{--btn-bg:#f7f6f2}.calm-toggle[aria-pressed=true]{color:var(--accent)}.field{display:grid;gap:6px;min-width:0}.field>label,.label{font-size:.9rem;font-weight:600;color:var(--ink)}.hint{font-size:.85rem;color:var(--ink-3);line-height:1.45}.field input,.field select,.field textarea,.input{width:100%;min-height:48px;padding:11px 14px;border:1px solid var(--line-strong);border-radius:var(--input-radius,12px);background:var(--surface);font-size:1.0625rem;line-height:1.4;transition:border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease)}.field textarea,textarea.input{min-height:9.5rem;resize:vertical;line-height:1.55}.field select,select.input{appearance:none;-webkit-appearance:none;padding-right:42px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2345484d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px}.field input:hover,.field select:hover,.field textarea:hover,.input:hover{border-color:var(--ink-3)}.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible,.input:focus-visible{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}::placeholder{color:var(--ink-3);opacity:.85}.field [aria-invalid=true],.input[aria-invalid=true]{border-color:var(--miss)}.choice{position:relative;display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);cursor:pointer;transition:border-color var(--dur) var(--ease),background-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease)}.choice:hover{border-color:var(--line-strong)}.choice input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.choice:has(input:checked){border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.choice:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.choice-title{display:block;font-weight:600}.choice-note{display:block;font-size:.85rem;color:var(--ink-3)}.choice.is-soon{border-style:dashed;background:transparent;color:var(--ink-3)}.badge{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:999px;background:var(--surface-2);color:var(--ink-2);font-size:.75rem;font-weight:650;letter-spacing:.06em;line-height:1.35;text-transform:uppercase;white-space:nowrap}.badge .ic{width:12px;height:12px}.badge-soon{background:transparent;border:1px dashed var(--line-strong);color:var(--ink-3)}.badge-prep{background:var(--gold-soft);color:var(--gold)}.badge-pilot{background:var(--accent-soft);color:var(--accent)}.tone-ok{--tone:var(--ok);--tone-soft:var(--ok-soft)}.tone-part{--tone:var(--part);--tone-soft:var(--part-soft)}.tone-miss{--tone:var(--miss);--tone-soft:var(--miss-soft)}.badge-tone{background:var(--tone-soft);color:var(--tone)}.callout{padding:14px 16px;border-radius:var(--radius);background:var(--tone-soft,var(--surface-2));border:1px solid color-mix(in srgb,var(--tone,var(--line-strong)) 24%,transparent)}.check-list{list-style:none;display:grid;gap:8px}.check-list li{display:flex;gap:10px;align-items:flex-start}.check-list .ic{margin-top:.2em;color:var(--tone,var(--accent))}.proto{font-size:.8rem;color:var(--ink-2)}.proto summary{display:inline-flex;align-items:center;gap:6px;list-style:none;cursor:pointer;min-height:32px;padding:5px 12px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.86);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.proto summary::-webkit-details-marker{display:none}.proto summary .ic{width:15px;height:15px;color:var(--gold)}.proto[open] summary{border-color:var(--line-strong)}.proto-body{display:grid;gap:8px;max-width:34rem;margin-top:8px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:var(--shadow-2);line-height:1.5}.tutor{width:var(--tutor,96px);height:auto;aspect-ratio:1;object-fit:contain;user-select:none;-webkit-user-drag:none}.flip{display:block;width:100%;min-height:var(--flip-h,168px);padding:0;border:0;background:none;text-align:left;perspective:1200px}.flip-inner{position:relative;display:grid;min-height:inherit;transform-style:preserve-3d;transition:transform .56s var(--ease)}.flip[aria-pressed=true] .flip-inner{transform:rotateY(180deg)}.flip-face{grid-area:1/1;display:flex;flex-direction:column;gap:10px;padding:18px 20px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);backface-visibility:hidden;-webkit-backface-visibility:hidden}.flip-back{transform:rotateY(180deg);background:var(--accent-soft);border-color:transparent}.flip-kicker{font-size:.75rem;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3)}.flip-text{font-size:1.05rem;font-weight:550;line-height:1.42}.flip:focus-visible{outline:none}.flip:focus-visible .flip-face{outline:2px solid var(--accent);outline-offset:3px}.flip{position:relative}.flip-face{padding-bottom:44px}.flip-cue{position:absolute;bottom:12px;right:18px;z-index:2;display:inline-flex;align-items:center;gap:6px;font-size:.75rem;color:var(--ink-3);pointer-events:none}.flip-cue svg{width:16px;height:16px}.quiz{display:grid;gap:10px;min-width:0;margin:0;padding:0;border:0}.quiz legend{display:block;margin-bottom:10px;padding:0;font-size:1.05rem;font-weight:600;line-height:1.4}.quiz-n{display:block;margin-bottom:4px;font-size:.75rem;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3)}.quiz-opts{display:grid;gap:8px}.quiz-opt{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);text-align:left;line-height:1.4;transition:border-color var(--dur) var(--ease),background-color var(--dur) var(--ease)}.quiz-opt:hover{border-color:var(--line-strong)}.quiz-mark{flex:none;display:grid;place-items:center;width:22px;height:22px;border:1.5px solid var(--line-strong);border-radius:50%;color:#fff}.quiz-mark .ic{width:14px;height:14px;stroke-width:2.4}.quiz-opt.is-right{border-color:var(--ok);background:var(--ok-soft)}.quiz-opt.is-right .quiz-mark{border-color:var(--ok);background:var(--ok)}.quiz-opt.is-wrong{border-color:var(--miss);background:var(--miss-soft)}.quiz-opt.is-wrong .quiz-mark{border-color:var(--miss);background:var(--miss)}.quiz-why{font-size:.95rem;color:var(--ink-2)}.tl-fig{width:100%;height:auto;overflow:visible}.fig-g{opacity:0;transition:opacity .42s var(--ease)}.fig-g.on{opacity:1}.fig-axis{fill:none;stroke:var(--line-strong);stroke-width:1.2}.fig-curve{fill:none;stroke:var(--ink);stroke-width:2.4;stroke-linecap:round;stroke-dasharray:1}.fig-g.on .fig-curve{animation:tl-draw 1.3s var(--ease) both}.fig-span{stroke:var(--accent);stroke-width:5;stroke-linecap:round;opacity:.28}.fig-drop{fill:none;stroke:var(--ink-3);stroke-width:1;stroke-dasharray:3 3}.fig-neg{fill:var(--miss)}.fig-pos{fill:var(--ok)}.fig-zero{fill:var(--surface);stroke:var(--accent);stroke-width:2}.fig-zero.solid{fill:var(--accent)}.fig-tan{stroke:var(--accent);stroke-width:2.6;stroke-linecap:round}.fig-label,.fig-tick{font:600 11px var(--font-sans);fill:var(--ink-2);paint-order:stroke;stroke:var(--surface);stroke-width:4px;stroke-linejoin:round}.fig-tick{font-weight:500;fill:var(--ink-3)}.fig-label.strong{font-size:12.5px;font-weight:700;fill:var(--ink)}.fig-label.math{font-family:var(--font-math);font-size:13px;font-weight:500}.fig-label.neg{fill:var(--miss)}.fig-label.pos{fill:var(--ok)}.fig-label.acc{fill:var(--accent)}.anim{display:grid;gap:14px}.anim-stage{padding:clamp(14px,3vw,24px);border:1px solid var(--line);border-radius:var(--radius-l);background:var(--surface)}.anim-sub{min-height:5.2em;padding:12px 16px;border-radius:12px;background:#1c1d1f;color:#eeebe4;font-size:1rem;line-height:1.5}.anim-title{color:#fff;font-weight:650}.anim-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.anim-dots{display:flex;gap:2px}.anim-dot{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:8px;background:transparent}.anim-dot:before{content:"";width:8px;height:8px;border-radius:4px;background:var(--line-strong);transition:width var(--dur) var(--ease),background-color var(--dur) var(--ease)}.anim-dot[aria-current=step]:before{width:20px;background:var(--accent)}.anim-done{margin-left:auto}.success-mark{width:var(--mark,120px);height:auto;overflow:visible;color:var(--accent)}.sm-ring{fill:none;stroke:currentColor;stroke-width:2.2;stroke-dasharray:1;animation:tl-draw .9s var(--ease) both}.sm-check{fill:none;stroke:currentColor;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;animation:tl-draw .52s .64s var(--ease) both}.sm-ray{fill:none;stroke:var(--gold-bright);stroke-width:2.2;stroke-linecap:round;stroke-dasharray:1;animation:tl-ray .9s calc(.82s + var(--i) * 35ms) var(--ease) both}dialog.tl-dialog{width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--line);border-radius:var(--radius-l);background:var(--surface);color:var(--ink);box-shadow:0 30px 80px -20px rgba(24,22,16,.35)}dialog.tl-dialog[open]{animation:tl-pop .26s var(--ease) both}dialog.tl-dialog::backdrop{background:rgba(24,22,16,.32);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}.dialog-body{position:relative;display:grid;gap:16px;padding:clamp(22px,4vw,34px)}.dialog-body>h2{padding-right:44px;font-size:1.45rem}.dialog-x{position:absolute;top:12px;right:12px}.dialog-actions{padding-top:4px}.lt{overflow:hidden;border:1px solid var(--line-strong);border-radius:var(--radius)}.lt,.lt-toggle{background:var(--surface)}.lt-toggle{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;width:100%;min-height:52px;padding:12px 16px;border:0;color:var(--ink);text-align:left}.lt-toggle:hover{background:var(--surface-2)}.lt-live{flex:none;width:9px;height:9px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.lt-title{font-weight:650}.lt-tag{font-size:.75rem;font-weight:600;letter-spacing:.03em}.lt-chev,.lt-tag{color:var(--ink-3)}.lt-chev{margin-left:auto;transition:transform var(--dur) var(--ease)}.lt-toggle[aria-expanded=true] .lt-chev{transform:rotate(90deg)}.lt-body{display:grid;gap:12px;padding:4px 16px 16px;border-top:1px solid var(--line)}.lt-body[hidden]{display:none}.lt-chips{list-style:none;display:flex;flex-wrap:wrap;gap:6px;padding-top:12px}.lt-chips li{display:inline-flex;gap:6px;max-width:100%;padding:4px 10px;border-radius:999px;background:var(--surface-2);font-size:.8rem;line-height:1.4}.lt-chip-k{flex:none;font-weight:600;color:var(--ink-3)}.lt-chip-v{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lt-note{display:flex;gap:8px;font-size:.82rem;color:var(--ink-3)}.lt-note .ic{flex:none;width:15px;height:15px;margin-top:.15em}.lt-log{list-style:none;display:grid;gap:10px;max-height:420px;overflow-y:auto}.lt-log[hidden]{display:none}.lt-a,.lt-u{display:grid;gap:4px;padding:10px 12px;border-radius:12px}.lt-u{justify-self:end;max-width:88%;background:var(--surface-2)}.lt-a{border:1px solid var(--line);background:var(--accent-soft)}.lt-who{font-size:.75rem;font-weight:650;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}.lt-text{font-size:.95rem;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.lt-meta{font-size:.76rem;color:var(--ink-3)}.lt-a.is-pending .lt-text{color:var(--ink-3);font-style:italic}.lt-suggest{display:flex;flex-wrap:wrap;gap:6px}.lt-sug{min-height:32px;padding:4px 12px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--ink-2);font-size:.84rem}.lt-sug:hover{border-color:var(--accent);color:var(--accent)}.lt-q{min-height:5.5rem;font-size:1rem}.lt-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.lt-count{margin-left:auto;font-size:.78rem;font-variant-numeric:tabular-nums;color:var(--ink-3)}.lt-status{font-size:.88rem;color:var(--ink-2)}.lt-status:empty{display:none}.lt-status.is-error{color:var(--miss)}.lt-status.is-ok{color:var(--ok)}.print-sheet{display:grid;gap:12px;max-width:720px;padding:clamp(24px,5vw,44px);border:1px solid var(--line);border-radius:6px;background:#fff;box-shadow:var(--shadow-1);color:#141414;font-family:var(--font-serif);line-height:1.55}.print-sheet .ps-title{font-family:var(--font-serif);font-size:1.85rem;letter-spacing:-.01em}.print-sheet h3{margin-top:10px;font-family:var(--font-sans);font-size:.76rem;letter-spacing:.09em;text-transform:uppercase;color:#555}.print-sheet ol{display:grid;gap:6px;padding-left:1.3em}.ps-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 12px;padding-bottom:10px;border-bottom:1px solid #ddd;font-family:var(--font-sans);font-size:.78rem;color:#555}.ps-task{font-family:var(--font-math);font-size:1.15rem}.ps-lines span{display:block;height:30px;border-bottom:1px solid #cfcfcf}.ps-foot{margin-top:8px;padding-top:10px;border-top:1px solid #ddd;font-family:var(--font-sans);font-size:.78rem;color:#666}#print-root{display:none}@media print{@page{margin:16mm}body{background:#fff}body>:not(#print-root){display:none!important}#print-root{display:block!important}.print-sheet{max-width:none;padding:0;border:0;box-shadow:none}}@keyframes tl-rise{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes tl-fade{0%{opacity:0}to{opacity:1}}@keyframes tl-pop{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}@keyframes tl-draw{0%{stroke-dashoffset:1}to{stroke-dashoffset:0}}@keyframes tl-ray{0%{stroke-dashoffset:1;opacity:0}40%{opacity:1}to{stroke-dashoffset:0;opacity:.9}}.rise{animation:tl-rise .56s var(--ease) both;animation-delay:var(--delay,0s)}.fade-in{animation:tl-fade .42s var(--ease) both;animation-delay:var(--delay,0s)}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:1ms!important;animation-delay:0s!important;animation-iteration-count:1!important;transition-duration:1ms!important;transition-delay:0s!important;scroll-behavior:auto!important}.flip .flip-back,.flip .flip-inner{transform:none!important}.flip:not([aria-pressed=true]) .flip-back,.flip[aria-pressed=true] .flip-front{visibility:hidden}}:root[data-calm=on] *,:root[data-calm=on] :after,:root[data-calm=on] :before{animation-duration:1ms!important;animation-delay:0s!important;animation-iteration-count:1!important;transition-duration:1ms!important;transition-delay:0s!important;scroll-behavior:auto!important}:root[data-calm=on] .flip .flip-back,:root[data-calm=on] .flip .flip-inner{transform:none!important}:root[data-calm=on] .flip:not([aria-pressed=true]) .flip-back,:root[data-calm=on] .flip[aria-pressed=true] .flip-front{visibility:hidden}@media (forced-colors:active){.btn,.choice,.flip-face,.quiz-opt{border:1px solid ButtonText}.choice:has(input:checked),.quiz-opt[aria-pressed=true]{outline:2px solid Highlight}.fig-curve,.fig-tan{stroke:CanvasText}}@media (max-width:480px){body{font-size:16.5px}.btn-lg{min-height:52px;padding-inline:1.25em}.anim-done{width:100%;margin-left:0}.print-sheet{padding:20px}}:root{--paper:#efede7;--sheet:#fffefb;--accent:#233a63;--accent-hover:#1a2d4e;--accent-soft:#e8edf6;--accent-shadow:rgba(35,58,99,0.45);--d-ochre:#8f5f16;--d-ochre-bright:#c79a46;--d-ochre-soft:#f6ecda;--d-red:#8c2d24;--d-margin:#e6c4be;--d-rule:#dfe4ea;--d-tint:#f7f6f1;--d-top-h:56px;--d-help-w:clamp(360px,30vw,440px);--btn-radius:12px;--input-radius:10px}main:focus{outline:none}[hidden]{display:none!important}body{overflow:hidden}.d-noscript{padding:24px;text-align:center}.d-app{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;width:100%;height:100vh;height:100dvh;overflow:hidden}.d-top{grid-row:1}.d-strip{grid-row:2}.d-main{grid-row:3;min-height:0;overflow:hidden}.d-zone{grid-row:4}.d-page{height:100%;overflow-y:auto;overscroll-behavior:contain}.d-page-inner{max-width:1120px;margin:0 auto;padding:clamp(24px,5vh,56px) clamp(20px,4vw,48px) 64px}.d-top{position:relative;z-index:30;display:flex;align-items:center;gap:14px;min-width:0;min-height:var(--d-top-h);padding:6px clamp(14px,2.4vw,28px);background:rgba(239,237,231,.96);border-bottom:1px solid rgba(40,36,28,.08)}.d-menu-btn{display:none}.d-brand{display:inline-flex;align-items:center;gap:10px;padding:6px 2px;border:0;background:none;font-size:1.12rem;font-weight:700;letter-spacing:-.02em;color:var(--ink)}.d-brand .d-pilot{font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3)}.tutor-wordmark{display:inline-flex;align-items:center;gap:9px;white-space:nowrap}.tutor-wordmark img{display:block;flex:none;width:32px;height:32px}.tutor-wordmark strong{color:inherit;font-size:inherit;font-weight:750;letter-spacing:-.02em}.d-tools{display:flex;align-items:center;gap:12px;margin-left:auto}.d-tool{min-height:40px;font-size:.9rem}.d-pos{display:inline-flex;align-items:center;gap:2px;margin-right:6px;padding:3px;border-radius:11px;background:rgba(255,255,255,.7);box-shadow:inset 0 0 0 1px var(--line)}.d-pos-label{padding:0 6px 0 8px;font-size:.76rem;font-weight:650;letter-spacing:.05em;text-transform:uppercase;color:var(--ink-3)}.d-pos-btn{min-height:34px;padding:4px 12px;border:0;border-radius:8px;background:transparent;color:var(--ink-2);font-size:.86rem;font-weight:560}.d-pos-btn[aria-pressed=true]{background:var(--sheet);color:var(--accent);box-shadow:var(--shadow-1)}.d-tools .proto{position:relative;margin-right:4px}.d-tools .proto-body{position:absolute;top:calc(100% + 8px);right:0;z-index:60;width:min(32rem,calc(100vw - 32px));margin:0}.d-strip{position:relative;z-index:20;display:flex;align-items:center;gap:12px;min-height:48px;padding:4px clamp(14px,2.4vw,28px);background:var(--sheet);border-bottom:1px solid var(--line)}.d-strip-bar,.d-strip-line,.d-strip[hidden]{display:none}.d-stages{list-style:none;display:flex;flex:1;align-items:center;gap:4px;min-width:0}.d-stage{position:relative;flex:1 1 0;min-width:0}.d-stage+.d-stage:before{content:"";position:absolute;top:50%;left:-4px;width:4px;height:2px;background:var(--line)}.d-stage.is-done+.d-stage:before{background:var(--accent)}.d-stage-btn{position:relative;display:flex;align-items:center;gap:8px;width:100%;min-height:40px;padding:4px 8px;border:0;border-radius:10px;background:transparent;color:var(--ink-2);font-size:.88rem;font-weight:560;text-align:left}.d-stage-btn:not([aria-disabled=true]):hover{background:var(--surface-2);color:var(--ink)}.d-stage-btn[aria-disabled=true]{cursor:not-allowed}.d-stage-dot{flex:none;display:grid;place-items:center;width:26px;height:26px;border:1.5px solid var(--line-strong);border-radius:50%;background:var(--sheet);font-size:.78rem;font-weight:650;font-variant-numeric:tabular-nums;color:var(--ink-3)}.d-stage-dot .ic{width:14px;height:14px;stroke-width:2.4}.d-stage-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.d-stage-phases{position:absolute;bottom:5px;left:50%;display:flex;gap:3px;translate:-50% 0;pointer-events:none;animation:d-phase-fill .5s ease both}.d-stage-phases i{width:8px;height:4px;border-radius:3px;background:var(--line-strong)}.d-stage-phases i[data-s=done]{background:var(--ok)}.d-stage-phases i[data-s=now]{background:var(--d-ochre-bright,var(--accent))}@keyframes d-phase-fill{0%{scale:.85;opacity:.4}60%{scale:1.12}to{scale:1;opacity:1}}@media (prefers-reduced-motion:reduce){.d-stage-phases{animation:none}}.d-stage.is-done .d-stage-dot{border-color:var(--accent);background:var(--accent);color:#fff}.d-stage.is-here .d-stage-btn{background:var(--d-ochre-soft);color:var(--d-ochre)}.d-stage.is-here .d-stage-dot{border-color:var(--d-ochre-bright);background:var(--w,#fff);color:var(--d-ochre)}.d-stage.is-locked .d-stage-btn{color:var(--ink-3);opacity:.62}.d-strip-sum{flex:none;font-size:.8rem;font-variant-numeric:tabular-nums;color:var(--ink-3)}.d-work{display:grid;grid-template-columns:minmax(0,1fr) var(--d-help-w);gap:18px;height:100%;min-height:0;padding:14px clamp(14px,2.4vw,28px) 10px}.d-sheet{min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;border-radius:8px;background:var(--sheet);box-shadow:0 0 0 1px rgba(40,36,28,.07),0 16px 36px -28px rgba(40,36,28,.35)}.d-paper{position:relative;display:grid;align-content:start;gap:18px;min-height:100%;padding:clamp(18px,2.6vw,34px) clamp(18px,3vw,44px) 0 clamp(30px,4.6vw,70px)}.d-paper:before{content:"";position:absolute;top:0;bottom:0;left:clamp(16px,3vw,46px);width:1px;background:var(--d-margin)}.d-paper-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 14px;padding-bottom:8px;border-bottom:3px double var(--line-strong);font-size:.75rem;font-weight:650;letter-spacing:.09em;text-transform:uppercase;color:var(--ink-2)}.d-paper-meta{font-size:.82rem;font-weight:500;letter-spacing:0;text-transform:none;color:var(--ink-3)}.d-paper-page{color:var(--d-red)}.d-help{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;border-radius:16px;background:rgba(255,255,255,.72);box-shadow:0 0 0 1px rgba(40,36,28,.08)}.d-help-head{display:flex;align-items:center;gap:12px;min-height:76px;padding:10px 14px;border-bottom:1px solid var(--line)}.d-guide-pic,.d-help-head{position:relative;flex:none}.d-guide-pic{width:56px;height:56px;overflow:hidden;border-radius:14px;background:var(--w,#fff);box-shadow:0 0 0 1px var(--line)}.d-guide-pic .tutor{position:absolute;top:2px;left:50%;width:88px;max-width:none;transform:translateX(-50%)}.d-guide-text{display:grid;min-width:0}.d-guide-name{font-weight:700}.d-guide-role{font-size:.84rem;color:var(--ink-3)}.d-handover{display:none;align-items:center;gap:8px;min-width:0}.d-handover .d-guide-pic{width:44px;height:44px}.d-handover .d-guide-pic .tutor{width:70px}.d-handover .ic{flex:none;color:var(--d-ochre)}.d-handover-text{font-size:.9rem;font-weight:600;color:var(--d-ochre)}.d-help-head.is-handover .d-handover{display:flex;animation:tl-fade .3s var(--ease) both}.d-help-head.is-handover .d-guide{display:none}.d-guide{display:flex;align-items:center;gap:12px;min-width:0}.d-help-close{display:none;margin-left:auto}.d-help-body{flex:1 1 0;min-width:0;min-height:96px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:16px}.d-dock{flex:none;display:flex;flex-direction:column;min-width:0;min-height:0;padding:10px}.d-dock:empty{display:none}.d-dock .d-composer{flex:1 1 auto}.d-help:has(.d-composer.is-open) .d-help-body{display:none}.d-help:has(.d-composer.is-open) .d-dock{flex:1 1 auto}.d-zone{position:relative;z-index:25;min-width:0;height:130px}.d-zone:empty,body:not(.is-work) .d-zone{display:none}.d-composer{display:flex;flex-direction:column;gap:10px;min-width:0;min-height:0}.d-box{min-width:0;border:1px solid var(--line-strong);border-radius:18px;background:var(--sheet);box-shadow:0 14px 32px -22px rgba(20,25,40,.4)}.d-zone .d-composer{position:fixed;right:0;bottom:10px;left:0;width:min(720px,calc(100% - 2 * clamp(14px, 2.4vw, 28px)));max-height:64vh;max-height:64dvh;margin:0 auto}.d-zone .d-composer.is-open{height:64vh;height:64dvh}.d-zone .d-box{box-shadow:0 0 0 1px rgba(40,36,28,.04),0 22px 48px -24px rgba(20,25,40,.5)}.d-veil{display:none;position:fixed;z-index:24;top:var(--d-veil-top,104px);right:0;bottom:0;left:0;background:rgba(24,22,18,.18)}@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.d-veil{-webkit-backdrop-filter:blur(3.5px);backdrop-filter:blur(3.5px)}}@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.d-veil{background:rgba(24,22,18,.26)}}@media (prefers-reduced-transparency:reduce){.d-veil{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(24,22,18,.26)}}body.d-overlay-open .d-veil{display:block;animation:tl-fade .2s var(--ease) both}.d-chip.d-chip-hist{border-color:var(--line);background:var(--sheet);color:var(--ink-2)}.d-answer,.d-live{flex:1 1 auto;display:flex;flex-direction:column;min-height:0;overflow:hidden}.d-composer.is-open .d-answer,.d-composer.is-open .d-live{animation:d-up .24s var(--ease) both}@keyframes d-up{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}.d-inbox{position:relative;flex:none;display:flex;flex-direction:column}.d-answer-head{flex:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 10px 2px 14px}.d-answer-title{font-size:.75rem;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3)}.d-thread{list-style:none;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:grid;align-content:start;gap:10px;padding:4px 14px 10px}.d-item{display:grid;gap:4px;padding:10px 12px;border-radius:14px}.d-item.is-user{justify-self:end;max-width:86%;background:var(--surface-2)}.d-item.is-ai{border:1px solid var(--line);background:var(--accent-soft)}.d-item.is-hint{border:1px solid #ecdcb8;background:var(--gold-soft)}.d-item.is-error{border:1px solid #ecc9c2;background:var(--miss-soft)}.d-who{font-size:.75rem;font-weight:650;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}.d-item.is-hint .d-who{color:var(--gold)}.d-text{font-size:.95rem;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.d-meta{font-size:.76rem;color:var(--ink-3)}.d-shimmer{display:grid;gap:7px;padding:4px 0}.d-shimmer span{height:10px;border-radius:5px;background:linear-gradient(90deg,#dfe5f0,#f4f6fb 50%,#dfe5f0);background-size:200% 100%;animation:d-shimmer 1.3s linear infinite}.d-shimmer span:nth-child(2){width:86%}.d-shimmer span:nth-child(3){width:64%}@keyframes d-shimmer{0%{background-position:200% 0}to{background-position:0 0}}.d-after{flex:none;display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 12px 2px;border-top:1px solid var(--line)}.d-after>.btn,.d-source{flex:none;white-space:nowrap}.d-source{margin:0;padding:2px 14px 9px;overflow:hidden;font-size:.75rem;line-height:1.4;text-overflow:ellipsis;color:var(--ink-3)}.d-sug{max-width:100%;min-height:44px;padding:4px 12px;border:1px solid var(--line);border-radius:16px;background:var(--sheet);color:var(--ink-2);font-size:.84rem;line-height:1.3;text-align:left;overflow-wrap:anywhere}.d-sug:hover{border-color:var(--accent);color:var(--accent)}.d-chiprow{flex:none;height:52px;padding:4px 12px;overflow:hidden}.d-chips{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;min-width:0;height:44px;overflow-x:auto;scrollbar-width:none}.d-chips::-webkit-scrollbar{display:none}.d-chips-note{max-width:100%;overflow:hidden;font-size:.8rem;line-height:30px;white-space:nowrap;text-overflow:ellipsis;color:var(--ink-3)}.d-chip{flex:none;display:inline-flex;align-items:center;gap:6px;max-width:100%;border:1px solid #ecdcb8;border-radius:999px;background:var(--gold-soft);color:var(--gold);font-weight:600}.d-chip,.d-chips .d-sug{min-height:44px;padding:3px 11px;font-size:.8rem}.d-chips .d-sug{flex:0 0 auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.d-chip .ic{width:15px;height:15px}.d-chip[aria-disabled=true]{opacity:.6;cursor:default}.d-line{flex:none;gap:8px;padding:5px 8px}.d-line,.d-pill{display:flex;align-items:flex-end;min-width:0}.d-pill{order:1;flex:1 1 auto;gap:4px;padding:3px 3px 3px 8px;border:1px solid var(--line-strong);border-radius:24px;background:var(--w,#fff)}.d-pill:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.d-field{position:relative;display:flex}.d-field,.d-input{flex:1 1 auto;min-width:0}.d-input{height:40px;min-height:40px;max-height:120px;padding:9px 6px;resize:none;overflow-y:auto;border:0;border-radius:12px;background:transparent;font:inherit;font-size:1rem;line-height:22px}.d-input:focus-visible{outline:none}.d-input:disabled{color:var(--ink-3)}.d-cancel,.d-send{flex:none;width:44px;height:44px;min-height:44px;padding:0;border-radius:50%}.d-foot{flex:none;position:relative;height:24px;padding:1px 16px 0;overflow:hidden}.d-composer-note,.d-status{margin:0;overflow:hidden;font-size:.75rem;line-height:18px;white-space:nowrap;text-overflow:ellipsis;color:var(--ink-3)}.d-status{color:var(--ink-2)}.d-status:empty{display:none}.d-status.is-error{color:var(--miss)}.d-dock .d-note-long,.d-note-short,.d-status:not(:empty)+.d-composer-note{display:none}.d-dock .d-note-short{display:inline}.d-composer.is-open .d-status{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.d-composer.is-open .d-composer-note{visibility:hidden}.d-dock .d-composer.is-open .d-foot{height:0;padding:0}.d-help-btn,.d-scrim{display:none}@media (max-width:760px){:root{--d-top-h:52px}.d-top{gap:8px;padding:4px 12px}.d-brand .d-pilot,.d-pos{display:none}.d-menu-btn{display:inline-flex;margin-left:auto}.d-tools{position:absolute;top:100%;right:8px;left:8px;z-index:60;display:none;flex-direction:column;align-items:stretch;gap:2px;margin:0;padding:8px;border-radius:16px;background:var(--sheet);box-shadow:0 0 0 1px var(--line),0 20px 40px -20px rgba(20,25,40,.45)}.d-top.menu-open .d-tools{display:flex}.d-tools>.btn{justify-content:flex-start;width:100%}.d-tools .proto{margin:0}.d-tools .proto summary{width:100%;min-height:44px}.d-tools .proto-body{position:static;width:auto;margin-top:6px;box-shadow:none}.d-strip{flex-direction:column;align-items:stretch;gap:0;padding:0}.d-strip-line{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:6px 16px;border:0;background:none;color:var(--ink);font-weight:600;text-align:left}.d-strip-now{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.d-strip-count{font-size:.82rem;font-variant-numeric:tabular-nums;color:var(--ink-3)}.d-strip-chev{color:var(--ink-3);transform:rotate(90deg);transition:transform var(--dur) var(--ease)}.d-strip.is-open .d-strip-chev{transform:rotate(-90deg)}.d-strip-bar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;padding:0 16px 8px}.d-strip-bar i{height:5px;border-radius:3px;background:var(--surface-3)}.d-strip-bar i.is-done{background:var(--accent)}.d-strip-bar i.is-here{background:var(--d-ochre-bright)}.d-stages,.d-strip-sum{display:none}.d-strip.is-open .d-stages{position:absolute;top:100%;right:0;left:0;display:grid;gap:2px;padding:8px 12px 12px;background:var(--sheet);box-shadow:0 18px 30px -18px rgba(20,25,40,.4)}.d-strip.is-open .d-stage+.d-stage:before{display:none}.d-work{grid-template-columns:minmax(0,1fr);padding:8px 8px 6px}.d-paper{padding:16px 14px 0 28px}.d-paper:before{left:14px}.d-zone{height:128px}.d-zone .d-composer{bottom:6px;width:calc(100% - 12px)}.d-line{gap:6px;padding:5px 6px}.d-note-long{display:none}.d-note-short{display:inline}.d-help-btn{display:inline-flex;flex:none;align-items:center;justify-content:center;width:44px;height:44px;margin-bottom:2px;padding:0;border:1px solid var(--line-strong);border-radius:50%;background:var(--sheet);color:var(--accent)}.d-help-btn span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.d-help{position:fixed;z-index:80;right:0;bottom:0;left:0;max-height:86vh;max-height:86dvh;border-radius:22px 22px 0 0;background:var(--sheet);box-shadow:0 -20px 50px -20px rgba(20,25,40,.45);transform:translateY(104%);visibility:hidden;transition:transform .26s var(--ease),visibility 0s linear .26s}.d-help.is-open{transform:none;visibility:visible;transition:transform .26s var(--ease)}.d-help-close{display:inline-flex}.d-help .d-help-body{flex:1 1 auto}.d-scrim{position:fixed;inset:0;z-index:70;background:rgba(24,22,18,.32)}body.has-sheet .d-scrim{display:block}}@media (min-width:761px) and (max-width:1020px){.d-tool{width:44px;padding:0}.d-tool>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.d-stage-title{font-size:.8rem}}@media (min-width:761px) and (max-width:1180px){.d-stage:not(.is-here){flex:0 0 auto}.d-stage:not(.is-here) .d-stage-title{display:none}.d-stage.is-here{flex:1 1 auto}}.d-h1{font-size:clamp(1.55rem,1.15rem + 1.3vw,2.3rem);font-weight:700;letter-spacing:-.03em}.d-lead{max-width:62ch;font-size:1.04rem;color:var(--ink-2)}.d-sub{margin-top:4px;font-family:var(--font-sans);font-size:.76rem;font-weight:650;letter-spacing:.09em;text-transform:uppercase;color:var(--ink-3)}.d-error{display:flex;align-items:flex-start;gap:8px;color:var(--miss);font-weight:560}.d-error[hidden]{display:none}.d-error .ic{margin-top:.15em}.d-actions{position:sticky;bottom:0;z-index:3;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:4px -10px 0;padding:12px 10px 14px;border-top:1px solid var(--line);background:var(--sheet);box-shadow:0 -18px 16px -8px var(--sheet)}.d-page .d-actions{background:var(--paper);box-shadow:0 -18px 16px -8px var(--paper)}.d-actions>.btn-quiet{margin-left:-.6em}.d-actions-fwd{justify-content:flex-end;gap:10px;margin-left:auto}.d-actions-fwd,.d-btnrow{display:flex;flex-wrap:wrap}.d-btnrow{align-items:center;gap:8px}.d-link{position:relative;padding:0;border:0;background:none;color:var(--accent);font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.d-link:before{content:"";position:absolute;inset:-12px -6px}.d-task{display:grid;gap:10px;padding:16px 18px;border-left:3px solid var(--accent);border-radius:10px;background:var(--d-tint);min-width:0}.d-task.is-own{border-left-color:var(--d-ochre-bright)}.d-task-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.d-task-text{overflow-x:auto;font-size:clamp(1.15rem,1rem + .7vw,1.45rem)}.d-task-own{font-family:var(--font-serif);font-size:1.1rem;white-space:pre-wrap;overflow-wrap:anywhere}.d-task-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:.9rem;color:var(--ok)}.d-example-note,.d-hurdle-line,.d-next-hint{display:flex;align-items:flex-start;gap:8px;font-size:.95rem;color:var(--ink-2)}.d-example-note .ic,.d-hurdle-line .ic,.d-next-hint .ic{flex:none;margin-top:.15em;color:var(--accent)}.d-example-note{padding:10px 12px;border-radius:10px;background:var(--d-ochre-soft);color:var(--ink)}.d-reserved{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1.5px dashed var(--line-strong);border-radius:12px;color:var(--ink-2);font-size:.93rem}.d-reserved .ic{flex:none;margin-top:.15em;color:var(--accent)}.d-more summary{display:inline-flex;align-items:center;min-height:44px;font-weight:600;color:var(--accent);cursor:pointer}.d-more[open]>:not(summary){margin-top:6px}.d-ref{display:grid;gap:6px;padding-left:1.3em;font-family:var(--font-math);font-size:1.02rem}.d-model{padding:12px 16px;border-left:2px solid var(--accent);background:var(--d-tint);font-family:var(--font-serif)}.d-form{display:grid;gap:18px}.d-sentence{font-family:var(--font-serif);font-size:clamp(1.2rem,1rem + .9vw,1.6rem);line-height:2}.d-inline-select{max-width:100%;min-height:44px;padding:0 .95em 0 4px;vertical-align:baseline;border:0;border-bottom:1.5px solid var(--line-strong);border-radius:0;appearance:none;-webkit-appearance:none;color:var(--accent);font:inherit;text-overflow:ellipsis;cursor:pointer;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23233a63' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1px center /.6em}.d-inline-select:hover{border-color:var(--accent)}.d-inline-select:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:4px}.d-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.d-gap{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px 12px;padding:12px 14px;border-radius:12px;background:var(--part-soft)}.d-gap[hidden]{display:none}.d-gap>.ic{margin-top:.15em;color:var(--part)}.d-gap p{flex:1 1 240px}.d-seg{display:inline-flex;justify-self:start;gap:2px;padding:3px;border-radius:11px;background:var(--surface-3)}.d-seg label{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:6px 16px;border-radius:9px;color:var(--ink-2);font-weight:560;cursor:pointer}.d-seg input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.d-seg label:has(input:checked){background:var(--w,#fff);color:var(--ink);box-shadow:var(--shadow-1)}.d-seg label:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.d-panel{display:grid;justify-items:start;gap:10px}.d-panel[hidden]{display:none}.d-panel .field{width:100%}.d-tasktext{font-size:1.08rem}.d-drop{padding:18px;border:1.5px dashed var(--line-strong);border-radius:12px;background:var(--d-tint)}.d-file:focus-visible+.d-file-btn{outline:2px solid var(--accent);outline-offset:3px}.d-photo{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.d-photo[hidden]{display:none}.d-photo img,.d-thumb img{width:96px;height:96px;object-fit:cover;border:1px solid var(--line);border-radius:10px}.d-photo-meta{display:grid;justify-items:start;gap:2px}.d-thumb{display:flex;align-items:center;gap:12px;margin:0}.d-read{font-family:var(--font-math);font-size:clamp(1.4rem,1.2rem + 1vw,1.8rem)}.d-read mark{padding:0 .08em;border-radius:4px;background:var(--gold-soft);color:var(--ink);box-shadow:0 0 0 1.5px var(--gold-bright)}.d-formula-row{display:grid;gap:10px;padding:14px 16px;border-radius:12px;background:var(--d-tint)}.d-formula{font-family:var(--font-math);font-size:1.35rem}.d-fstatus{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:var(--tone);font-size:.92rem;font-weight:550}.d-facts{margin:0}.d-facts div{display:grid;grid-template-columns:10rem minmax(0,1fr);gap:12px;padding:10px 0;border-top:1px solid var(--line)}.d-facts dt{font-size:.85rem;font-weight:600;color:var(--ink-3)}.d-facts dd{margin:0}.d-hurdles,.d-unsure{display:grid;gap:10px;min-width:0;margin:0;padding:0;border:0}.d-unsure legend{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:8px;padding:0;font-weight:600}.d-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.d-proof{display:grid;gap:8px}.d-proof-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px}.d-proof-title{font-size:1.15rem;letter-spacing:-.015em}.d-proof-sub{font-size:.85rem;color:var(--ink-3)}.d-ruled{display:block;width:100%;padding:0 12px;border:0;border-radius:0;resize:vertical;background-color:transparent;background-attachment:local;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 31px,var(--d-rule) 31px,var(--d-rule) 32px);box-shadow:inset 0 1px 0 var(--d-rule);font-family:var(--font-serif);font-size:1.1rem;line-height:32px;color:var(--ink)}.d-ruled::placeholder{color:var(--ink-3);font-style:italic}.d-ruled:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:4px;background-color:#fffdf5}.d-ruled[aria-invalid=true]{box-shadow:inset 3px 0 0 var(--miss),inset 0 1px 0 var(--d-rule)}.d-prompt{display:grid;gap:8px}.d-prompt-q{font-weight:600;line-height:1.45}.d-samples{display:grid;gap:8px}.d-samples-label{gap:8px;font-size:.88rem;color:var(--ink-2)}.d-samples-label,.d-verdict{display:flex;flex-wrap:wrap;align-items:center}.d-verdict{gap:10px}.d-correct{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,36%);gap:22px;align-items:start}.d-marked{font-family:var(--font-serif);font-size:1.12rem;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere}.d-mark{padding:0 .06em;color:inherit;background:linear-gradient(transparent 58%,var(--tone-soft) 58%);text-decoration:underline 2px var(--tone);text-underline-offset:5px}.d-mark-n{margin-left:2px;font-family:var(--font-sans);font-size:.75em;font-weight:700;color:var(--ink-2)}.d-ins{margin:0 .15em 0 .3em;padding:0 .2em;border-radius:3px;background:var(--part-soft);color:var(--part);font-style:italic;text-decoration:none}.d-ins:before{content:"+ ";font-style:normal;font-weight:700}.d-margin{list-style:none;display:grid;gap:10px;padding-left:16px;border-left:1px solid var(--d-margin)}.d-margin li{display:flex;gap:10px;font-size:.9rem;line-height:1.45;color:var(--ink-2)}.d-margin-n{flex:none;display:grid;place-items:center;width:22px;height:22px;border:1.5px solid var(--tone);border-radius:50%;color:var(--tone);font-size:.75rem;font-weight:700}.d-ownproof{display:grid;gap:8px}.d-stamp{justify-self:start;padding:4px 12px;border:2px solid var(--ink-3);border-radius:6px;color:var(--ink-3);font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;transform:rotate(-1.5deg)}.d-selfcheck{display:grid;gap:2px;margin:0;padding:14px 16px;border:1px solid var(--line);border-radius:12px}.d-selfcheck legend{padding:0 6px;font-weight:600}.d-check{display:flex;align-items:flex-start;gap:12px;min-height:40px;padding:6px 0;cursor:pointer}.d-check input{flex:none;width:20px;height:20px;margin-top:2px;accent-color:var(--accent)}.d-help-body>*+*{margin-top:16px}.d-help-sec{display:grid;gap:10px;min-width:0}.d-help-title{font-size:1.12rem;font-weight:680;letter-spacing:-.015em;line-height:1.3}.d-help-text{font-size:.96rem;line-height:1.55;color:var(--ink-2);overflow-wrap:anywhere}.d-notes{list-style:none;display:grid;gap:10px}.d-notes li{display:flex;gap:10px;font-size:.94rem;color:var(--ink-2)}.d-notes .ic{flex:none;margin-top:.15em;color:var(--accent)}.d-fb{display:grid;gap:8px;padding:12px 14px;border-radius:12px;background:var(--tone-soft)}.d-fb h3{font-size:.75rem;font-weight:650;letter-spacing:.09em;text-transform:uppercase;color:var(--tone)}