/* formersi.com /cursive/ section (dsbuild-q89-2026-11-11). Uses the site tokens only; the identity is
   handwriting guide lines printed on the keycaps: every letter sits on top line / dashed midline / baseline. */
@font-face{font-family:"Formersi Math Letters";font-style:normal;font-weight:400;font-display:swap;src:url(/static/fonts/notosansmath-alnum.woff2) format("woff2");unicode-range:U+2100-214F,U+1D400-1D7FF}
:root{--font:"Recursive","Formersi Math Letters",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;--glyph:"Recursive","Formersi Math Letters","Segoe UI Symbol","Apple Symbols","Noto Sans Symbols 2","Noto Sans Symbols","Noto Sans Math","Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji","DejaVu Sans",system-ui,sans-serif}
.cv-svg{display:block;width:100%;height:auto;overflow:visible}
.cv-st{fill:none;stroke:var(--ink);stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round}
.cv-dot{fill:var(--ink)}
.cv-g line{stroke:var(--line);stroke-width:.9}
.cv-g .mid{stroke-dasharray:3 3}
.cv-g .base{stroke:var(--cap-edge);stroke-width:1.3}
.cv-g .desc{stroke-dasharray:1 3}
.cv-sd{fill:var(--accent)}
.hit{fill:transparent}
a:hover .cv-st,a:focus-visible .cv-st{stroke:var(--accent)}
a:hover .cv-dot,a:focus-visible .cv-dot{fill:var(--accent)}
svg a:focus{outline:none}
svg a:focus-visible .hit{stroke:var(--accent);stroke-width:1.6;rx:6}

/* stroke-order figure */
.cv-order .cv-badge circle{fill:var(--accent)}
.cv-order .cv-badge text{fill:var(--on-accent);font:700 6.6px/1 var(--font);text-anchor:middle}
.cv-order .cv-arrow{fill:var(--accent)}
.cv-order.cv-play .cv-st{stroke-dasharray:var(--l);stroke-dashoffset:var(--l);animation:cvd var(--t) cubic-bezier(.4,.1,.5,1) var(--d) forwards}
.cv-order.cv-play .cv-dot,.cv-order.cv-play .cv-badge,.cv-order.cv-play .cv-arrow{opacity:0;animation:cvf .25s ease var(--d) forwards}
@keyframes cvd{to{stroke-dashoffset:0}}
@keyframes cvf{to{opacity:1}}
.cv-anim .cv-st{stroke-dasharray:1;stroke-dashoffset:1;animation:cvd 1.5s ease .1s forwards}
.cv-anim .cv-dot{opacity:0;animation:cvf .3s ease 1.5s forwards}
@media (prefers-reduced-motion:reduce){.cv-order.cv-play .cv-st,.cv-anim .cv-st{animation:none;stroke-dasharray:none;stroke-dashoffset:0}
  .cv-order.cv-play .cv-dot,.cv-order.cv-play .cv-badge,.cv-order.cv-play .cv-arrow,.cv-anim .cv-dot{animation:none;opacity:1}}
.cv-orderfig{padding:var(--s-5)}
.cv-ordergrid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:var(--s-6);align-items:center}
.cv-orderart{background:var(--bg);border:1px solid var(--line);border-bottom:5px solid var(--cap-edge);border-radius:var(--r-lg);padding:var(--s-3)}
.cv-orderart svg{max-height:340px}
.cv-orderfig h3{margin-top:0}
.cv-orderfig .steps{margin:0 0 var(--s-4)}
@media (max-width:760px){.cv-ordergrid{grid-template-columns:1fr;gap:var(--s-4)}}

/* hero: the letter on a keycap ruled like writing paper */
.cv-hero .cv-cap{width:200px;height:200px;padding:4px 2px 0;display:flex;align-items:center;justify-content:center}
.cv-hero .cv-cap .cv-big{width:100%;height:100%}
.cv-hero .cv-cap .cv-st{stroke-width:3.4}
.cv-hero .cv-cap .cp{display:none}
.kcopy{font:inherit;font-family:var(--glyph);font-size:1.45rem;line-height:1;min-width:44px;min-height:44px;padding:4px 10px;cursor:pointer;color:var(--ink);
  background:var(--surface);border:1px solid var(--line);border-bottom:4px solid var(--cap-edge);border-radius:9px}
.kcopy:hover{border-color:var(--accent);border-bottom-color:var(--accent)}
.cv-hero .ways .kcopy{font-size:1.3rem;min-height:40px}
@media (max-width:699px){.cv-hero .cv-cap{width:132px;height:132px}}

/* copy tables, fonts, joins, words */
.cv-fonts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--s-3)}
.cv-ftile{margin:0;background:var(--surface);border:1px solid var(--line);border-bottom:4px solid var(--cap-edge);border-radius:var(--r-lg);padding:var(--s-3);display:flex;flex-direction:column;gap:var(--s-2)}
.cv-font{display:block;height:96px;width:100%;fill:var(--ink)}
.cv-ftile figcaption{font-size:var(--fs-xs);color:var(--ink-2);line-height:1.35}
.cv-ftile figcaption b{display:block;color:var(--ink);font-size:var(--fs-sm)}
.cv-ftile figcaption span{display:block}
@media (max-width:899px){.cv-fonts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:520px){.cv-fonts{grid-template-columns:repeat(2,minmax(0,1fr))}}
.cv-joins{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s-3)}
.cv-join{margin:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:var(--s-2) var(--s-3)}
.cv-join svg{max-height:110px}
.cv-join figcaption{font-variation-settings:"MONO" 1;font-size:var(--fs-sm);color:var(--muted);text-align:center}
.cv-words{list-style:none;margin:0;padding:0;border-top:2px solid var(--ink)}
.cv-words li{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:var(--s-4);align-items:center;padding:var(--s-2) 0;border-bottom:1px solid var(--line)}
.cv-words svg{max-height:96px;width:auto;max-width:100%}
.cv-words .wl{display:flex;align-items:center;justify-content:space-between;gap:var(--s-3)}
.cv-words .wl b{font-size:var(--fs-lg)}
@media (max-width:600px){.cv-words li{grid-template-columns:1fr}.cv-words svg{max-height:84px}}
.cv-sheetsec{display:grid;grid-template-columns:200px minmax(0,1fr);gap:var(--s-6);align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);padding:var(--s-5)}
.cv-sheetsec h2{font-size:var(--fs-xl)}
.cv-sheetsvg{display:block;width:100%;height:auto;filter:drop-shadow(0 2px 0 var(--cap-edge))}
.cv-sheetsvg .pg{fill:#fffdf8;stroke:#d3cdbf}
.cv-sheetsvg .hd{fill:#dfe5f6}
.cv-sheetsvg .cv-st{stroke:#1b1c1f;stroke-width:3.4}
.cv-sheetsvg .cv-dot{fill:#1b1c1f}
.cv-sheetsvg .tr .cv-st{stroke:#8d8d93;stroke-dasharray:.1 6}
.cv-sheetsvg .cv-g line{stroke:#cfc9bb;stroke-width:2}
@media (max-width:600px){.cv-sheetsec{grid-template-columns:minmax(0,1fr);gap:var(--s-4);padding:var(--s-4)}.cv-sheetprev{width:140px;justify-self:center}}
.cv-rel .g{width:2.2em;height:2.2em;display:flex;align-items:center}
.cv-rel .g svg{height:100%;width:auto}
.cvg .cv-st{stroke-width:4.2}

/* hub home */
.cv-home .gen{margin-top:var(--s-5)}
.cv-lg{display:flex;flex-direction:column;align-items:stretch;gap:var(--s-3)}
.cv-lg .legend-cap.cv-paper{width:100%;max-width:520px;height:auto;padding:var(--s-5) var(--s-4) var(--s-3)}
.cv-paper .cv-st{stroke-width:3.2}
.cv-lgcap{margin:0;color:var(--ink-2);font-size:var(--fs-sm)}
.cv-keyrow .cv-krk .g{height:48px;width:auto;display:flex;align-items:center;justify-content:center}
.cv-keyrow .cv-krk .g svg{height:48px;width:auto}
.cv-chart{padding:var(--s-4) var(--s-5)}
.cv-chart .cv-strip+.cv-strip{margin-top:var(--s-2)}
.cv-chart .cv-st{stroke-width:2.9}
.cv-cats .cvprev{background:var(--bg);border-radius:var(--r-md);padding:6px 8px;border:1px solid var(--line)}
.cv-cats .cvprev svg{max-height:70px}
.cv-kl kbd.kk{font-family:var(--glyph)}
.cv-bandart{background:#191a1e;border:1px solid #3a3d44;border-radius:var(--r-md);padding:6px 10px}
.cv-bandart svg{max-height:72px;width:auto;max-width:100%}
.cv-onband .cv-st{stroke:#f0eee8}
.cv-onband .cv-dot{fill:#f0eee8}
.cv-onband .cv-g line{stroke:#4a4d55}
.cv-onband .cv-g .base{stroke:#8a8d95}
.cv-ltrs a{font-weight:650;padding:8px 6px;display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px}
td.cvlinks a{display:inline-flex;align-items:center;min-height:40px;margin-right:12px;white-space:nowrap}
td.cvt{white-space:nowrap}
td.cvt svg{display:inline-block;height:44px;width:auto;vertical-align:middle}
.cv-lic{white-space:pre-wrap;font-size:13px;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:12px;max-height:340px;overflow:auto}

/* generators */
.gen{background:var(--surface);border:1px solid var(--line);border-bottom:5px solid var(--cap-edge);border-radius:var(--r-xl);padding:var(--s-4)}
.gen>label{display:block;font-weight:650;margin-bottom:var(--s-2)}
.gen .row{display:flex;gap:var(--s-2)}
.gen input[type=text]{flex:1;min-width:0;height:52px;border:1px solid var(--line);border-bottom-width:3px;border-radius:var(--r-md);background:var(--bg);color:var(--ink);padding:0 14px;font:inherit;font-size:var(--fs-lg)}
.gen input[type=text]:focus{border-color:var(--accent)}
.gen .tools{margin-top:var(--s-3)}
.gen-out{list-style:none;margin:var(--s-3) 0 0;padding:0}
.gen-out li{display:grid;grid-template-columns:150px minmax(0,1fr) auto;gap:var(--s-3);align-items:center;padding:8px 0;border-top:1px solid var(--line)}
.gen-out li[hidden]{display:none}
.gen-out .sl{font-size:var(--fs-sm);color:var(--muted);font-variation-settings:"MONO" 1}
.gen-out .so{font-family:var(--glyph);font-size:1.35rem;line-height:1.3;color:var(--ink);overflow-wrap:anywhere}
.gen.big .gen-out .so{font-size:1.5rem}
.gen-empty,.gen-none{margin:var(--s-3) 0 0;padding:var(--s-4);border:2px dashed var(--line);border-radius:var(--r-md);color:var(--muted);text-align:center}
@media (max-width:599px){.gen-out li{grid-template-columns:minmax(0,1fr) auto}.gen-out .sl{grid-column:1/-1;margin-bottom:-6px}}

/* name tracing */
.cv-nt{display:grid;grid-template-columns:300px minmax(0,1fr);gap:var(--s-6);align-items:start}
.cv-ntform{background:var(--surface);border:1px solid var(--line);border-bottom:5px solid var(--cap-edge);border-radius:var(--r-xl);padding:var(--s-4);display:flex;flex-direction:column;gap:var(--s-3);position:sticky;top:var(--s-4)}
.cv-ntform label{font-weight:650;display:block;margin-bottom:4px}
.cv-ntform input[type=text],.cv-ntform select{width:100%;height:46px;border:1px solid var(--line);border-bottom-width:3px;border-radius:var(--r-md);background:var(--bg);color:var(--ink);padding:0 12px;font:inherit}
.cv-ntform .chk label{font-weight:500;display:flex;gap:8px;align-items:center;min-height:40px}
.cv-ntform .chk input{width:20px;height:20px}
.nt-msg{margin:0;font-size:var(--fs-sm);color:var(--muted)}
.nt-msg.warn{color:var(--ink);font-weight:600}
.cv-ntsheet{background:#fffdf8;color:#1b1c1f;border:1px solid #d3cdbf;border-radius:6px;padding:28px 30px 18px;box-shadow:0 3px 0 #bdb6a6;aspect-ratio:8.5/11;display:flex;flex-direction:column}
.cv-ntsheet .nt-head{display:flex;justify-content:space-between;gap:16px;font-size:14px;margin-bottom:14px;color:#3f4147;flex-wrap:wrap}
.cv-ntsheet .nt-row+.nt-row{margin-top:6px}
.cv-ntsheet .cv-st{stroke:#1b1c1f;stroke-width:2.6}
.cv-ntsheet .cv-dot{fill:#1b1c1f}
.cv-ntsheet .cv-g line{stroke:#cfc9bb}
.cv-ntsheet .cv-g .base{stroke:#8f8a80}
.cv-ntsheet .cv-trace .cv-st{stroke:#8d8d93;stroke-width:2.4;stroke-dasharray:.1 4.6}
.cv-ntsheet .cv-trace .cv-dot{fill:#8d8d93}
.cv-ntsheet .cv-sd{fill:#2142a6}
.cv-ntsheet .nt-foot{margin:auto 0 0;padding-top:10px;font-size:11px;color:#595b62}
@media (max-width:860px){.cv-nt{grid-template-columns:1fr}.cv-ntform{position:static}.cv-ntsheet{padding:14px 12px 10px;aspect-ratio:auto}}
@media print{
  body:has(.cv-ntsheet) .hd,body:has(.cv-ntsheet) .ft,body:has(.cv-ntsheet) .crumbs,body:has(.cv-ntsheet) .skip,.cv-noprint,.toast{display:none!important}
  body:has(.cv-ntsheet){background:#fff}
  .cv-nt{display:block}
  .cv-ntsheet{border:0;box-shadow:none;padding:0;aspect-ratio:auto;min-height:95vh}
  @page{margin:12mm}}
.cv-sheetsec .btn,.hub-hero .btn{white-space:normal;text-align:center;height:auto;min-height:44px}
