.cols{gap:1.5rem;display:grid}@media (width>=64rem){.cols{grid-template-columns:minmax(0,40rem) minmax(0,1fr);align-items:start}.cols .toc{border-radius:16px;margin-inline:0}.cols .bar{border:2px solid var(--line);border-radius:16px;margin-inline:0}.intro h1{margin:1rem 0 .3rem}#f{gap:.7rem;line-height:1.6}#f .sec{gap:.6rem;padding:.8rem .9rem .9rem}#f .sec>.note{margin-top:-.2rem}#f fieldset.box{gap:.55rem;padding:.6rem .75rem .7rem}#f .row{gap:.6rem}#f label{gap:.15rem}#f input:not([type=radio]):not([type=checkbox]),#f select,#f textarea{border-radius:10px;min-height:2.3rem;padding:.35rem .65rem}#f fieldset.pills{gap:.4rem}#f fieldset.pills label{min-height:2.1rem;padding:.15rem .8rem}#f fieldset.list label{padding:.35rem .7rem}#f .note{font-size:.84rem}#f .l,#f legend{font-size:.82rem}#f h2{font-size:1rem}#f .callout{padding:.5rem .8rem}}.pv{flex-direction:column;gap:.6rem;min-width:0;display:none}.pv-head{align-items:center;gap:.5rem;display:flex}.pv-head h2{flex-wrap:wrap;flex:1;align-items:baseline;gap:.4rem;min-width:0}.pv-head h2 .note{font-weight:500}.btn-small{border-radius:10px;min-height:auto;padding:.3rem .8rem;font-size:.85rem}.pv-tabs{flex-wrap:wrap;gap:.5rem;display:flex}.pv-tabs:not(:has(.seg:not([hidden]))){display:none}.seg{background:var(--bg);border:2px solid var(--line);border-radius:12px;gap:.2rem;padding:.2rem;display:inline-flex}.seg button{min-height:auto;color:var(--muted);background:0 0;border:0;border-radius:10px;padding:.3rem .9rem;font-size:.88rem}.seg button[aria-pressed=true]{background:var(--card);color:var(--fg);box-shadow:0 1px 3px #0000001f}.pv-view{border:2px solid var(--line);background:var(--line);cursor:grab;-webkit-user-select:none;user-select:none;touch-action:pan-x pan-y;border-radius:12px;position:relative;overflow:hidden}.pv-view.dragging,.pv-view.dragging *{cursor:grabbing}.pv-view svg{width:100%;height:100%;display:block}.pv-view .paper{fill:#fff}.pv-status{text-align:center;color:#4d6b65;margin:0;position:absolute;inset:40% 0 auto}.zoom-ctl{gap:.3rem;display:grid;position:absolute;top:.5rem;right:.5rem}.zoom-ctl button{background:var(--card);width:2.6rem;min-height:2.6rem;color:var(--accent);border:2px solid var(--line);border-radius:10px;padding:0;font-size:1.3rem;line-height:1}.zoom-ctl button.fit{font-size:.75rem}.ink text{font-kerning:none;fill:#000;font-family:kosodate-form,sans-serif}.ink ellipse,.ink path{fill:none;stroke:#000}.pv .hit{fill:#0000}.pv .hit:hover{fill:color-mix(in srgb, var(--accent) 12%, transparent)}.pv .bad{fill:#b3402a1a;stroke:#b3402a;stroke-width:1.2px;pointer-events:none}.focus{fill:#ffd20057;stroke:#c08a00;stroke-width:1.3px;pointer-events:none;animation:.45s ease-out pop}.focus.calc{fill:#ffd2001f;stroke-dasharray:3 2}@keyframes pop{0%{stroke-width:5px}}.where{color:var(--hl-fg);background:var(--hl-bg);border-radius:12px;margin:0;padding:.4rem .8rem;font-size:.9rem;font-weight:800}.where:empty{display:none}.pv-info{background:var(--accent-soft);color:var(--accent-ink);border-radius:14px;margin:0;padding:.6rem 1rem;font-size:.9rem}.linked{outline:3px dashed var(--accent);outline-offset:4px;border-radius:12px}.pv-hint .for-touch{display:none}@media (pointer:coarse){.pv-hint .for-touch{display:inline}.pv-hint .for-mouse{display:none}}.pv-close{display:none}@media (prefers-reduced-motion:reduce){.focus{animation:none}}@media (width>=64rem){.pv{height:calc(100vh - 24px);display:flex;position:sticky;top:12px}.pv-view{flex:auto;min-height:20rem}[data-preview-open]{display:none}}@media (width<=63.99rem){.pv.open{z-index:20;background:var(--bg);padding:calc(env(safe-area-inset-top) + 12px) 16px calc(env(safe-area-inset-bottom) + 12px);display:flex;position:fixed;inset:0}.pv.open .pv-view{touch-action:none;flex:auto;min-height:0}.pv.open .pv-close{display:inline-block}body.pv-lock{overflow:hidden}.pv.open{gap:.45rem}.pv.open .seg button{padding:.25rem .6rem;font-size:.82rem}.pv.open .pv-info{padding:.4rem .8rem;font-size:.82rem}.pv.open .pv-hint{font-size:.78rem}.pv.open .pv-hint .more{display:none}.bar:has([data-preview-open]){flex-wrap:wrap;row-gap:.4rem}.bar:has([data-preview-open]) .status{flex:100%}.bar:has([data-preview-open]) .btn,.bar:has([data-preview-open]) .btn-ghost{flex:1}}dialog.ex-sheet{overscroll-behavior:contain;max-width:46rem;max-height:90dvh}dialog.ex-sheet[open]{animation:.28s cubic-bezier(.2,.8,.2,1) ex-up}@keyframes ex-up{0%{opacity:.4;transform:translateY(40%)}}.ex-sheet .in{padding-top:.6rem}.ex-sheet .grab{background:var(--line-strong);border-radius:999px;width:3rem;height:.35rem;margin:.2rem auto .1rem}.ex-top{touch-action:none;cursor:grab;gap:.6rem;display:grid}.ex-head{align-items:center;gap:.6rem;display:flex}.ex-sheet .ex-head h2{flex:1;justify-content:flex-start;min-width:0;font-size:1.1rem}.seg-row{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.ex-view{border:2px solid var(--line);background:var(--line);cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none;border-radius:10px;height:min(48dvh,24rem);position:relative;overflow:hidden}.ex-view.dragging,.ex-view.dragging *{cursor:grabbing}.ex-view svg{width:100%;height:100%;display:block}.ex-view .paper{fill:#fff}.ex-view .hit{fill:#0000}.ex-view .hit:hover{fill:color-mix(in srgb, var(--accent) 14%, transparent)}.ex-sheet .for-touch{display:none}@media (pointer:coarse){.ex-sheet .for-touch{display:inline}.ex-sheet .for-mouse{display:none}}.ex-tips{gap:.35rem;margin:0;padding-left:1.2rem;display:grid}.ex-btn{background:var(--hl-bg);min-height:auto;color:var(--hl-fg);border-radius:999px;padding:.25rem .8rem;font-size:.82rem}@media (width>=46rem){.ex-sheet .grab{display:none}}.sec-head{align-items:center;gap:.6rem;display:flex}.sec-head h2{flex:1;min-width:0}@media (prefers-reduced-motion:reduce){dialog.ex-sheet[open]{animation:none}}
