/* Bell15 landing and reading pages (docs, rules, contract, holders) in the picked design, draft C. The shared tokens and
   parts (header, note window, chip, pill, menu, toasts, bracket) are in site.css; this file holds only what these pages add. */

/* ---------- landing: the split stage. The reading column scrolls, the desk on the right never moves ---------- */
.landing { --col: 40vw; --hdr: 72px; }
.landing .hdr::before { content: ""; position: absolute; left: 0; top: 0; width: var(--col); height: 88px; background: linear-gradient(var(--desk) 62%, rgba(5, 5, 5, 0)); pointer-events: none; z-index: -1; }
.landing .hdr.full::before { width: 100%; }
.split { display: grid; grid-template-columns: var(--col) 1fr; align-items: start; }
.col { padding: 0 clamp(32px, 4vw, 72px) 0 40px; min-width: 0; }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--desk); perspective: 1700px; border-left: 1px solid var(--line); }
.flood { position: absolute; inset: 0; background: var(--flood, transparent); opacity: 0; transition: opacity 4600ms linear; pointer-events: none; }
.stage.hit .flood { opacity: 1; transition-duration: 300ms; }

/* hero */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hdr) + 24px) 0 48px; }
.hero h1 { margin: 0; font-weight: 500; font-size: clamp(64px, 8vw, 140px); line-height: .92; letter-spacing: -.045em; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .ln > span { display: block; }
html.js .hero h1 .ln > span { animation: rise 900ms var(--ease-long) 80ms both; }
@keyframes rise { from { transform: translateY(108%); } }
.lede { margin: 28px 0 0; max-width: 21em; font-size: 20px; line-height: 1.45; color: var(--ink); }
html.js .lede { animation: up 800ms var(--ease) 260ms both; }
html.js .standing { animation: up 800ms var(--ease) 380ms both; }
html.js .ways { animation: up 800ms var(--ease) 480ms both; }
@keyframes up { from { opacity: 0; transform: translateY(12px); } }
.standing { margin: 36px 0 0; max-width: 30em; }
.standing .note-h { margin: 0 0 6px; color: var(--ink-3); font-weight: 500; }
.standing li { align-items: flex-start; padding: 6px 0; }
.standing .box { margin-top: 4px; }
.standing small { display: block; font-size: 15px; color: var(--ink-3); }
.standing .soon { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--ink); }
.standing .soon b { font-size: 20px; font-weight: 500; }
.soon-tag { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; font-size: 22px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); background: var(--win); }
.tok { margin-top: 8px; }
.tok-ca { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 4px; }
.tok-ca code { font: 14px/1.4 var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.tok-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; margin: 8px 0 6px; padding: 0; }
.tok-nums div { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; color: var(--ink-3); border-top: 1px dashed var(--line-2); padding-top: 4px; }
.tok-nums dt { margin: 0; } .tok-nums dd { margin: 0; color: var(--ink); font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tok-links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15px; }
.ways { margin: 30px 0 0; font-size: 20px; line-height: 2.1; color: var(--ink-2); }
.ways .chip { font-size: 20px; margin: 0 2px; }
.ways .pill { font-size: 17px; margin-right: 10px; vertical-align: middle; }
.xlink { color: var(--ink-2); font-size: 15px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.xlink:hover { color: var(--ink); }
.tlink { color: var(--accent-ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.tlink:hover { text-decoration: underline; }
.copy { min-height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--panel); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; font-size: 14px;
  transition: background-color 160ms var(--ease-press), transform 150ms var(--ease-press); }
.copy:hover { background: var(--raise); color: var(--ink); }
.copy:active { transform: scale(.96); }

/* the desk */
.rig { position: absolute; left: 50%; top: calc(var(--hdr) + 12px); width: 460px; transform-origin: 50% 40%; will-change: transform; transform-style: preserve-3d; }
.rig .note { width: 460px; position: relative; }
.rig .note.past { position: absolute; left: 0; top: 0; pointer-events: none; overflow: hidden; filter: saturate(.6); }
.rig .note.past .rcpt { grid-template-rows: 1fr; }
/* inside the 3D rig a press never moves a control: in Chromium a control that scales on press inside preserve-3d takes
   the pointerdown but loses the pointerup to its parent, so no click fires. The press shows as a colour step instead. */
.rig .chip:active, .rig .pill:active, .rig .copy:active, .rig .look .go:active { transform: none; }
.rig .chip:active { background: rgba(22, 143, 224, .32); }
.rig .chip.quiet:active, .rig .pill:active, .rig .copy:active { background: #343434; }
.rig .look .go:active { background: #3c3c3c; }
.note-body { min-height: 120px; }
.ttl .ch { display: inline-block; white-space: pre; }
html.js .ttl .ch.new { animation: settle 240ms var(--ease-long) both; }
@keyframes settle { from { transform: scale(1.35); opacity: .2; } }
.ln-in { animation: lineIn 260ms var(--ease) both; }
@keyframes lineIn { from { opacity: 0; transform: translateY(6px); } }
.rcpt { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 450ms var(--ease); }
.rcpt.open { grid-template-rows: 1fr; }
.rcpt > div { overflow: hidden; }
.rig .note { transition: box-shadow 2400ms linear; }
.rcpt .card { margin: 10px 0 4px; padding: 12px 14px 6px; border-radius: 10px; background: #101010; box-shadow: inset 0 0 0 1px var(--line); }
.rcpt .res { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--ink-2); }
.rcpt .res b { font-size: 24px; font-weight: 600; font-family: var(--mono); }
.rcpt .res .k { font: inherit; color: var(--ink); }
.brk { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: 0; }
.rcpt.draw .brk { animation: draw 700ms var(--ease) 120ms both; }
@keyframes draw { from { stroke-dashoffset: var(--len); } }
.after { min-height: 28px; margin: 6px 0 0; font-size: 15px; color: var(--ink-2); }
.after .chip { margin: 4px 6px 0 0; }
.eqrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.eq { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: #fff; font: 600 20px/1 var(--mono); }
.eq.no { background: var(--down); }
.eq.stamp { animation: stamp 420ms cubic-bezier(.18, 0, .32, 1.18) both; }
@keyframes stamp { from { transform: scale(1.8) rotate(-20deg); opacity: 0; } }
.fine { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-3); overflow-wrap: anywhere; }
.cells { margin: 6px 0 4px 18px; line-height: 0; }
.cells i { display: inline-block; width: 5px; height: 14px; margin-right: 1px; border-radius: 1px; box-shadow: inset 0 0 0 1px #555; }
.cells i.on { background: #b4b4b4; box-shadow: none; }
.ticks li { color: var(--ink); }
.ticks .p { margin-left: auto; font-family: var(--mono); font-size: 15px; color: var(--ink-2); }
canvas.ch { display: block; width: 100%; height: 150px; margin: 10px 0 6px; }
.note .tryagain { margin-top: 10px; }

/* the desktop file the result arrives in (V158) */
.file { position: absolute; left: calc(100% + 44px); top: 150px; width: 118px; display: grid; justify-items: center; gap: 6px; text-align: center; }
.file .ico { width: 64px; height: 50px; border-radius: 7px; background: #121212; box-shadow: 0 0 0 1px var(--line-2), 0 6px 18px rgba(0, 0, 0, .5); display: grid; place-items: center; overflow: hidden; }
.file .ico svg { width: 52px; }
.file .nm { padding: 2px 7px; border-radius: 5px; font-size: 12px; font-weight: 600; line-height: 1.35; transition: background-color 160ms; overflow-wrap: normal; word-break: normal; }
.file.sel .nm { background: #1d5fd1; }
.ghost { position: absolute; z-index: 5; width: 64px; height: 50px; border-radius: 7px; background: #121212; box-shadow: 0 0 0 1px var(--line-2), 0 18px 40px rgba(0, 0, 0, .6); display: grid; place-items: center; pointer-events: none; }
.ghost svg { width: 52px; }
.pointer { position: absolute; z-index: 6; width: 18px; height: 22px; pointer-events: none; }

/* V272 input: how you reach an account */
.look { margin-top: 16px; display: flex; align-items: center; gap: 8px; min-height: 58px; padding: 7px 7px 7px 16px; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.look:focus-within { box-shadow: inset 0 0 0 1px var(--accent-ring); }
.look input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; color: var(--ink); font: 400 16px var(--sans); }
.look input::placeholder { color: var(--ink-3); }
.look .chip { flex: none; }
.look .go { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--raise); cursor: pointer; display: grid; place-items: center; transition: background-color 160ms, transform 150ms var(--ease-press); }
.look .go:hover { background: #343434; }
.look .go:active { transform: scale(.94); }
.look .go svg { width: 18px; height: 18px; }
.look-hint { margin: 8px 4px 0; font-size: 13px; color: var(--ink-3); min-height: 1.5em; }
.caption { position: absolute; left: 40px; right: 40px; bottom: 24px; margin: 0; max-width: 46em; font-size: 15px; color: var(--ink-2); }
.caption b { color: var(--ink); font-weight: 500; }

/* sections in the column */
.sec { padding: 96px 0; border-top: 1px solid var(--line); }
.sec h2 { margin: 0 0 20px; font-size: 40px; line-height: 1.05; font-weight: 500; letter-spacing: -.03em; }
.sec p { margin: 0 0 16px; max-width: 34em; color: var(--ink-2); }
@supports (animation-timeline: view()) {
  html.js .sec .rv { animation: up linear both; animation-timeline: view(); animation-range: entry 10% entry 45%; }
}
.slip { width: 100%; border-collapse: collapse; font-size: 15px; }
.slip th { text-align: left; font-weight: 500; color: var(--ink-3); padding: 0 12px 10px 0; font-size: 13px; }
.slip td { padding: 14px 12px 14px 0; border-top: 1px dashed var(--line-2); vertical-align: top; color: var(--ink-2); }
.slip td:first-child { color: var(--ink); white-space: nowrap; font-weight: 500; }
.slip td:last-child { color: var(--ink-3); }
.feat .pin { position: sticky; top: calc(var(--hdr) + 8px); background: var(--desk); padding: 8px 0 12px; z-index: 2; }
.feat .pin p { margin: 6px 0 0; font-size: 15px; color: var(--ink-3); }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { border-top: 1px solid var(--line); }
.rows li > a, .rows li > div { display: block; padding: 22px 0; text-decoration: none; }
.rows li > a { transition: background-color 160ms; }
.rows li > a:hover b { color: var(--accent-ink); }
.rows b { display: block; font-weight: 500; font-size: 20px; color: var(--ink); }
.rows span { color: var(--ink-2); font-size: 15px; }
.rows .next b::after { content: attr(data-next); margin-left: 10px; padding: 2px 8px; border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); vertical-align: 3px; }
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.tile { padding: 16px 16px 14px; border-radius: 12px; background: var(--win); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.tile b { display: block; font: 600 32px/1.1 var(--mono); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tile span { font-size: 15px; color: var(--ink-2); }
.tile.big { grid-column: span 6; } .tile.big b { font-size: 64px; }
.tile.w3 { grid-column: span 3; } .tile.w2 { grid-column: span 2; }
.src { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.names { columns: 2; column-gap: 24px; margin: 20px 0; padding: 0; list-style: none; font-size: 15px; }
.names li { break-inside: avoid; }
.names button { display: flex; gap: 8px; align-items: center; width: 100%; min-height: 32px; padding: 0; border: 0; background: none; color: var(--ink-2); cursor: pointer; text-align: left; font-size: 15px; }
.names button:hover { color: var(--accent-ink); }
.names button i { width: 9px; height: 9px; flex: none; box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.names .on button { color: var(--ink); } .names .on button i { background: var(--ink); box-shadow: none; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-3); }
.legend i { display: inline-block; width: 9px; height: 9px; margin-right: 6px; box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.legend i.on { background: var(--ink); box-shadow: none; }

/* after the split: questions and the first step run full width */
.full { padding: 112px 40px; border-top: 1px solid var(--line); background: var(--page); position: relative; z-index: 3; }
.full h2 { margin: 0 0 40px; font-size: 40px; font-weight: 500; letter-spacing: -.03em; }
.faq { max-width: 1200px; margin: 0 auto; }
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; }
.qa h3 { margin: 0 0 8px; font-size: 20px; font-weight: 500; }
.qa p { margin: 0; color: var(--ink-2); max-width: 36em; }
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 1200px; margin: 0 auto; }
.cta h2 { margin: 0 0 12px; }
.cta p { color: var(--ink-2); margin: 0; max-width: 30em; }
.first { display: block; text-decoration: none; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); padding: 18px 18px 14px 22px; transition: box-shadow 160ms, transform 150ms var(--ease-press); }
.first:hover { box-shadow: inset 0 0 0 1px var(--accent-ring); }
.first:active { transform: scale(.99); }
.first .typed { font-size: 22px; min-height: 64px; color: var(--ink); }
.first .typed .chip { pointer-events: none; }
.first .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 15px; }
.first .send { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; }

/* footer strip, every page */
.strip { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; padding: 16px 40px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-3); background: var(--page); position: relative; z-index: 3; }
.strip a { color: var(--ink-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.strip a:hover { color: var(--ink); }
.strip .brand { color: var(--ink); font-size: 15px; }
.strip .brand img { width: 20px; height: 20px; }
.strip .sp { margin-left: auto; }

@media (min-width: 1700px) { .names { columns: 3; } }
@media (max-width: 1100px) { .landing { --col: 44vw; } .mosaic .tile.w2 { grid-column: span 3; } }
@media (max-width: 860px) {
  .split { display: flex; flex-direction: column; align-items: stretch; }
  .col { display: contents; }
  .hero { order: 1; min-height: 0; padding: 104px 16px 32px; }
  .stage { order: 2; position: relative; width: 100%; height: auto; padding: 24px 16px 28px; border-left: 0; border-top: 1px solid var(--line); }
  .col > .sec { order: 3; padding: 72px 16px; }
  .rig { position: relative; left: auto; top: auto; width: 100%; }
  .rig .note { width: 100%; }
  .file { display: none; }
  .caption { position: static; margin-top: 44px; min-height: 6.4em; }
  .landing .hdr { position: absolute; }
  .hdr { padding: 0 12px 0 16px; }
  .qa, .cta { grid-template-columns: 1fr; gap: 32px; }
  .full { padding: 80px 16px; }
  .strip { padding: 12px 16px; }
  .strip .sp { margin-left: 0; flex-basis: 100%; height: 0; }
  .slip td:first-child { white-space: normal; }
  .sec h2, .full h2 { font-size: 32px; }
  .note-body { padding: 20px 18px 8px; }
  .note-foot { padding: 10px 18px 16px; }
  .tok-nums { grid-template-columns: minmax(0, 1fr); }
  .mosaic .tile.w2 { grid-column: span 2; padding: 14px 12px 12px; }
  .mosaic .tile.w2 span { font-size: 14px; }
}
@media (max-width: 480px) { .hero h1 { font-size: 64px; } .mosaic .tile.big b { font-size: 48px; } .tile b { font-size: 26px; } .soon-tag { font-size: 20px; } }

/* ---------- reading pages: an index on the left and one long note (docs, rules, contract, holders) ---------- */
.wrap { display: grid; grid-template-columns: 240px minmax(0, 820px); gap: 48px; justify-content: center; padding: 96px 32px 80px; }
.wrap.single { grid-template-columns: minmax(0, 820px); }
.toc { position: sticky; top: 96px; align-self: start; max-height: calc(100svh - 120px); overflow: auto; }
.toc p { margin: 0 0 10px; font-size: 13px; color: var(--ink-3); }
.toc a { display: flex; align-items: center; min-height: 36px; padding: 0 10px; border-radius: 8px; text-decoration: none; font-size: 15px; color: var(--ink-3); transition: background-color 150ms, color 150ms; }
.toc a:hover { color: var(--ink); background: var(--panel); }
.toc a[aria-current="true"] { color: var(--ink); background: var(--panel); box-shadow: inset 2px 0 0 var(--accent); }
.doc { min-width: 0; }
.doc .note-body { padding: 40px 48px 24px; }
.doc h1 { margin: 0 0 12px; font-size: 48px; line-height: 1.04; font-weight: 500; letter-spacing: -.035em; }
.doc .lead { margin: 0 0 8px; font-size: 20px; line-height: 1.5; color: var(--ink); max-width: 36em; }
.doc section { padding: 36px 0 8px; border-top: 1px solid var(--line); margin-top: 32px; scroll-margin-top: 88px; }
.doc h2 { margin: 0 0 14px; font-size: 28px; line-height: 1.15; font-weight: 500; letter-spacing: -.02em; }
.doc h3 { margin: 24px 0 8px; font-size: 18px; font-weight: 600; }
.doc p, .doc li { color: var(--ink-2); max-width: 64ch; }
.doc p b, .doc li b, .doc td b { color: var(--ink); font-weight: 500; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc .note-body a:not(.chip):not(.pill):not(.brand):not(.copy) { color: var(--accent-ink); text-decoration: none; }
.doc .note-body a:not(.chip):not(.pill):not(.brand):not(.copy):hover { text-decoration: underline; }
.doc td code { overflow-wrap: break-word; }
.doc code { font-family: var(--mono); font-size: 15px; color: var(--ink); background: #101010; padding: 1px 6px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--line); overflow-wrap: anywhere; }
.file-b { margin: 14px 0; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-2); background: #0b0b0b; }
.file-b .fn { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 8px 6px 12px; font-size: 13px; color: var(--ink-3); border-bottom: 1px solid var(--line); background: #121212; }
.file-b .fn .copy { min-height: 36px; }
.file-b pre { margin: 0; padding: 12px 14px; font: 14px/1.6 var(--mono); color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.tbl { overflow-x: auto; margin: 12px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th { text-align: left; font-size: 13px; font-weight: 500; color: var(--ink-3); padding: 0 12px 8px 0; }
.doc td { padding: 10px 12px 10px 0; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.doc td.n, .doc th.n { text-align: right; white-space: nowrap; }
.doc td.n { font-family: var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.doc td.m { font-family: var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 13px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); white-space: nowrap; }
.tag.live { color: var(--up); box-shadow: inset 0 0 0 1px rgba(16, 185, 129, .4); }
.ex { margin: 14px 0; padding: 16px 18px 10px; border-radius: 12px; background: #101010; box-shadow: inset 0 0 0 1px var(--line); }
.ex p { margin: 0 0 8px; }
.ex .bracket { max-width: 640px; }
.mk { display: flex; gap: 18px; align-items: center; margin: 12px 0; }
.mk img { width: 64px; height: 64px; flex: none; }
.state { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; margin: 12px 0; font-size: 15px; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.facts dd.m { font-family: var(--mono); font-size: 14px; }
.docfoot { display: flex; flex-wrap: wrap; gap: 0 20px; align-items: center; justify-content: center; }
.docfoot a { color: var(--ink-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.docfoot a:hover { color: var(--ink); }
.docfoot .brand { color: var(--ink); font-size: 15px; }
.docfoot .brand img { width: 20px; height: 20px; }
.seeds { columns: 2; column-gap: 24px; margin: 8px 0 16px; padding: 0; list-style: none; }
.seeds li { break-inside: avoid; margin: 0; }
.doc .seeds a { display: flex; justify-content: space-between; gap: 10px; min-height: 36px; align-items: center; border-bottom: 1px dashed var(--line); }
.seeds small { font: 13px var(--mono); color: var(--ink-3); }
.pn { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
/* the 404 page: one short note in the middle of the desk */
.wrap.lost { min-height: 100svh; align-content: center; }
.lost .btnrow { margin: 18px 0 8px; }

/* forms on the reading pages (holders) */
.hform { display: grid; gap: 8px; max-width: 560px; }
.hform label { font-size: 14px; color: var(--ink-3); }
.field-in { width: 100%; min-height: 48px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--panel); color: var(--ink); font: 15px var(--mono); box-shadow: inset 0 0 0 1px var(--line); }
.field-in:focus { outline: 0; box-shadow: inset 0 0 0 1px var(--accent-ring); }
.field-in.bad { box-shadow: inset 0 0 0 1px rgba(244, 63, 94, .6); }
.hint { margin: 0; font-size: 14px; color: var(--ink-3); min-height: 1.5em; overflow-wrap: anywhere; }
.hint.bad { color: #ffb3c0; }
.btnrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tierbig { margin: 0 0 6px; font-size: 32px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 960px) {
  .wrap { grid-template-columns: minmax(0, 1fr); padding: 88px 12px 48px; gap: 16px; }
  .wrap .toc { display: none; }
  .doc .note-body { padding: 28px 18px 16px; }
  .doc h1 { font-size: 36px; }
  .doc ~ .strip, .wrap ~ .strip { padding: 12px 16px; }
  .hdr { position: absolute; }
}
@media (max-width: 640px) {
  .tbl.wide table { min-width: 560px; }
  .tbl.stack thead { display: none; }
  .tbl.stack table, .tbl.stack tbody, .tbl.stack tr, .tbl.stack td { display: block; width: 100%; }
  .tbl.stack tr { padding: 10px 0; border-top: 1px solid var(--line); }
  .tbl.stack td { border: 0; padding: 4px 0; text-align: left; }
  .tbl.stack td.n { text-align: left; }
  .tbl.stack td[data-label]::before { content: attr(data-label); display: block; font: 500 13px var(--sans); color: var(--ink-3); }
}
@media (max-width: 760px) { .seeds { columns: 1; } .doc .seeds a { min-height: 44px; } .doc td > a, .doc .tok-links a { display: inline-flex; align-items: center; min-height: 44px; } .copy, .file-b .fn .copy { min-height: 44px; } .names button { min-height: 44px; } .toc a { min-height: 44px; }
  .strip a, .docfoot a, .doc td > a, .doc .tok-links a, .tok-links .tlink { min-width: 44px; justify-content: center; } }

@media (prefers-reduced-motion: reduce) {
  .stage .flood { display: none; }
}
