/* The utility page: one sheet in the middle. Fill the form at the top and the sheet reprints below it. */
body.app { background: var(--app-bg); }
body.app .rail { background: var(--app-bg); }
.desk-app { padding: 20px 40px 56px; }
.strip { max-width: 920px; margin: 0 auto 12px; display: flex; justify-content: space-between; gap: 16px; font: 400 13px/18px var(--mono); color: var(--grey); }
.sheet { max-width: 920px; margin: 0 auto; background: var(--paper); border-radius: 3px; padding: 22px 40px 28px; box-shadow: 0 0 0 1px rgb(var(--shade) / .08), 0 1px 2px -1px rgba(0, 0, 0, .06), 0 18px 40px -20px rgba(0, 0, 0, .14); }
.sheet-head { display: flex; align-items: center; gap: 10px; height: 36px; border-bottom: 1px solid var(--line); margin: 0 -40px; padding: 0 40px 14px; }
.sheet-head .n { font: 400 13px/1 var(--mono); color: var(--off); }
.sheet-head .name { font-size: 15px; }
.sheet-head .path { font: 400 13px/1 var(--mono); color: var(--grey); }
.sheet-head .pill { margin-left: auto; }
.q { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.08; margin: 18px 0 16px; max-width: 22em; }
.qsub { display: none; }
.sheet-foot { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: 13px; color: var(--grey); }
.sheet-foot .fixed { color: var(--ink); font-family: var(--mono); }

/* the form at the top of the sheet: underlined fields like a printed form */
.form { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr) auto; gap: 16px 20px; align-items: end; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.form.two { grid-template-columns: minmax(0, 1fr) auto; }
.form.one { grid-template-columns: 1fr; }
.fld { display: grid; gap: 4px; min-width: 0; }
.fld > span { font-size: 13px; color: var(--grey); }
.fld select, .fld input[type="text"], .fld input[type="url"], .fld textarea { width: 100%; min-height: 44px; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; padding: 8px 0; font-size: 16px; border-radius: 0; transition: border-color 150ms var(--press); }
.fld select { appearance: none; padding-right: 22px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 10px) 50%, calc(100% - 5px) 50%; background-size: 5px 5px; background-repeat: no-repeat; text-overflow: ellipsis; cursor: pointer; }
.fld textarea { min-height: 96px; font: 400 13px/20px var(--mono); resize: vertical; }
.fld select:hover, .fld input:hover, .fld textarea:hover { border-bottom-color: var(--grey); }
.fld select:focus-visible, .fld input:focus-visible, .fld textarea:focus-visible { outline: none; border-bottom: 2px solid var(--ink); }
.fld .hint { font-size: 13px; line-height: 18px; color: var(--grey); min-height: 18px; }
.fld .hint.err { color: var(--err); }
.fld.ro output { min-height: 44px; display: flex; align-items: center; border-bottom: 1px dashed var(--line-2); font: 400 14px/20px var(--mono); color: var(--mute); }
.or { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; margin-top: 12px; }

/* printed area */
.print { padding-top: 18px; }
.pl { transform-origin: 0 0; }
.printing .pl { animation: printIn 460ms var(--out) both; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes printIn { from { opacity: 0; transform: translateY(8px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
.chart { position: relative; height: 300px; margin: 0 -12px; }
.chart canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; touch-action: none; }
.tip { position: absolute; top: 4px; min-width: 128px; padding: 6px 10px; border-radius: 8px; background: var(--paper); box-shadow: 0 0 0 1px var(--line-2); font: 400 13px/18px var(--mono); color: var(--ink); pointer-events: none; opacity: 0; transition: opacity 120ms var(--press), left 200ms var(--out); white-space: nowrap; }
.tip.on { opacity: 1; }
.chart-key { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 400 13px/18px var(--mono); color: var(--mute); margin-top: 4px; }
.chart-key span { display: inline-flex; align-items: center; gap: 8px; }
.chart-key i { width: 22px; border-top: 2px solid var(--ink); display: inline-block; }
.chart-key i.b { border-top: 1px solid rgb(var(--ink-rgb) / .4); }
.chart-key i.a { border-top: 1px solid rgb(var(--grey-rgb) / .55); }
.chart-key i.p { width: 7px; height: 7px; border: 0; background: var(--ink); }

.answer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 32px; align-items: end; padding: 4px 0 16px; border-bottom: 1px solid var(--line); }
.answer .lead b { display: block; font-weight: 400; font-size: 104px; line-height: .84; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.answer .lead span { display: block; margin-top: 10px; max-width: 15em; font-size: 15px; line-height: 21px; color: var(--mute); }
.nums { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 28px; margin: 0; justify-content: start; }
.nums dt { font-size: 13px; color: var(--grey); }
.nums dd { margin: 2px 0 0; font: 400 22px/26px var(--mono); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.nums dd small { font-size: 13px; color: var(--grey); letter-spacing: 0; }
.answer + .pl .chart { margin-top: 10px; }
.grid6 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; gap: 0 12px; margin-top: 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); align-items: end; }
.grid6 dt { font-size: 13px; color: var(--grey); }
.grid6 dd { margin: 2px 0 0; font: 400 24px/28px var(--mono); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.grid6 dd small { font-size: 13px; color: var(--grey); letter-spacing: 0; }
.grid6 .big dd { font-size: 40px; line-height: 40px; }
.stampbox { align-self: center; }
.stamp-big { display: inline-block; padding: 9px 11px; border: 1.5px solid var(--ink); border-radius: 2px; font: 500 14px/1 var(--mono); letter-spacing: .02em; transform: rotate(-6deg); }
.stamp-big.dim { border-color: var(--off); color: var(--grey); }
.printing .stamp-big { animation: stampIn 550ms cubic-bezier(.18, 0, .32, 1.18) both; animation-delay: calc(var(--i, 6) * 80ms + 200ms); }
@keyframes stampIn { from { opacity: 0; transform: scale(1.8) rotate(-30deg); } to { opacity: 1; transform: scale(1) rotate(-6deg); } }

.times { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 14px; font-size: 14px; line-height: 20px; color: var(--mute); }
.times b { display: block; font: 400 13px/18px var(--mono); color: var(--grey); font-weight: 400; }

.blk { margin-top: 26px; }
.blk > h2 { font-size: 13px; font-weight: 400; font-family: var(--mono); color: var(--grey); margin: 0 0 8px; }
.post { border-left: 2px solid var(--ink); padding-left: 16px; }
.post .meta { font: 400 13px/18px var(--mono); color: var(--grey); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.post .meta a { color: var(--mute); }
.post blockquote { margin: 6px 0 0; font-size: 20px; line-height: 28px; letter-spacing: -0.02em; white-space: pre-line; }
.post p { margin: 8px 0 0; color: var(--mute); font-size: 15px; line-height: 22px; }
.note { margin: 8px 0 0; font-size: 14px; line-height: 20px; color: var(--mute); }
.kv { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 0 16px; align-items: center; border-top: 1px solid var(--line); min-height: 48px; padding: 8px 0; }
.kv:last-child { border-bottom: 1px solid var(--line); }
.kv > span:first-child { font-size: 14px; color: var(--grey); }
.kv code, .kv .mono { font: 400 13px/18px var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.kv .acts { display: flex; gap: 6px; }
.mini { min-height: 36px; padding: 0 10px; border: 0; border-radius: 2px; background: rgb(var(--shade) / .06); font-size: 14px; cursor: pointer; display: inline-grid; place-items: center; text-decoration: none; color: var(--ink); transition: background-color 150ms var(--press), transform 150ms var(--press); position: relative; }
.mini::after { content: ""; position: absolute; inset: -4px; }
.mini:hover { background: rgb(var(--shade) / .1); }
.mini:active { transform: scale(.97); }
.mini > span { grid-area: 1 / 1; transition: opacity 150ms var(--press); }
.mini > span[hidden] { display: block; visibility: hidden; opacity: 0; }

.others { list-style: none; margin: 0; padding: 0; }
.others li { border-top: 1px solid var(--line); }
.others li:last-child { border-bottom: 1px solid var(--line); }
.others button { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 96px 120px; gap: 12px; align-items: center; min-height: 48px; padding: 6px 0; border: 0; background: transparent; text-align: left; font-size: 15px; cursor: pointer; transition: background-color 150ms var(--press); }
.others button:hover { background: rgb(var(--shade) / .03); }
.others button[aria-pressed="true"] { font-weight: 500; }
.others .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.others .v { font: 400 13px/1 var(--mono); text-align: right; color: var(--mute); }

.checkrow { display: grid; grid-template-columns: 200px 1fr 1fr 48px; gap: 12px; align-items: center; min-height: 44px; border-top: 1px solid var(--line); font-size: 15px; }
.checkrow.head { font: 400 13px/18px var(--mono); color: var(--grey); min-height: 32px; border-top: 0; }
.checkrow .mono { font-size: 14px; }
.checkrow .eq { font: 500 20px/1 var(--mono); text-align: center; }
.checkrow .eq.no { color: var(--err); }
.printing .checkrow .eq { animation: stampIn 550ms cubic-bezier(.18, 0, .32, 1.18) both; animation-delay: calc(var(--i, 0) * 120ms + 300ms); }

.reqs { list-style: none; margin: 0; padding: 0; font: 400 13px/18px var(--mono); color: var(--mute); }
.reqs li { display: grid; grid-template-columns: 52px minmax(0, 1fr) 90px; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); }
.reqs li span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reqs li span:last-child { text-align: right; }
.reqsum { font: 400 13px/18px var(--mono); color: var(--ink); margin-bottom: 6px; }

/* board */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.seg button { min-height: 36px; padding: 0 10px; border: 0; border-radius: 2px; background: rgb(var(--shade) / .05); font-size: 14px; cursor: pointer; transition: background-color 150ms var(--press), color 150ms var(--press), transform 150ms var(--press); }
.seg button:hover { background: rgb(var(--shade) / .09); }
.seg button:active { transform: scale(.97); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.seg button .c { font-family: var(--mono); font-size: 13px; opacity: .7; margin-left: 4px; }
.filters { display: grid; gap: 12px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.filters .row2 { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; }
.chk { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--ink); }
.tbl { width: 100%; border-collapse: collapse; margin-top: 8px; }
.tbl th { text-align: left; font: 400 13px/18px var(--mono); color: var(--grey); padding: 10px 8px 8px 0; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tbl td { height: 48px; padding: 0 8px 0 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.tbl tbody tr { cursor: pointer; transition: background-color 150ms var(--press); }
.tbl tbody tr:hover { background: rgb(var(--shade) / .03); }
.tbl td.m, .tbl td.r { font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.tbl td.r { text-align: right; }
.tbl td.h { max-width: 0; width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl td.h a { text-decoration: none; }
.tbl td.h a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tbl td.h .fu { font: 400 13px/1 var(--mono); color: var(--grey); margin-right: 6px; }
.more { margin-top: 12px; }
.emptyst { padding: 28px 0 8px; }
.emptyst h3 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.emptyst p { margin: 6px 0 14px; color: var(--grey); font-size: 15px; line-height: 22px; max-width: 40em; }

/* method sliders */
.sl { display: grid; grid-template-columns: 200px minmax(0, 1fr) 76px; gap: 16px; align-items: center; min-height: 52px; border-top: 1px solid var(--line); }
.sl label { font-size: 15px; }
.sl input[type="range"] { width: 100%; accent-color: var(--ink); height: 44px; }
.sl output { font: 400 15px/1 var(--mono); text-align: right; }
.counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; border-top: 2px solid var(--ink); }
.counts div { padding: 12px 12px 12px 0; border-right: 1px solid var(--line); }
.counts div:last-child { border-right: 0; }
.counts b { display: block; font: 400 34px/38px var(--mono); letter-spacing: -0.03em; font-weight: 400; }
.counts span { font-size: 13px; color: var(--grey); }
.counts em { font-style: normal; font: 400 13px/18px var(--mono); color: var(--mute); }
.defs { margin: 0; }
.defs div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 22px; }
.defs dt { color: var(--grey); }
.defs dd { margin: 0; }
.defs code { font: 400 14px/22px var(--mono); }
.changed { list-style: none; margin: 8px 0 0; padding: 0; font-size: 14px; }
.changed li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; min-height: 40px; align-items: center; border-top: 1px solid var(--line); }
.changed li .mono { font-size: 13px; color: var(--grey); }
.changed li span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* bind, watch, next */
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 22px; }
.steps li::before { counter-increment: s; content: "[0" counter(s) "]"; font: 400 13px/22px var(--mono); color: var(--off); }
.steps li b { font-weight: 500; }
.steps li .st { font: 400 13px/22px var(--mono); color: var(--grey); white-space: nowrap; }
.code { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 12px; }
.code div { border-top: 2px solid var(--ink); padding-top: 8px; }
.code span { font-size: 13px; color: var(--grey); }
.code b { display: block; font: 400 30px/36px var(--mono); letter-spacing: -0.02em; font-weight: 400; overflow-wrap: anywhere; }
.sample { display: inline-block; margin-top: 10px; font: 400 13px/18px var(--mono); color: var(--mute); }
.reason { font-size: 13px; color: var(--grey); min-height: 18px; margin-top: 6px; }
.chan { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.chan:last-child { border-bottom: 1px solid var(--line); }
.chan > span:first-child { font-size: 17px; letter-spacing: -0.02em; }
.chan p { margin: 0; font-size: 14px; line-height: 20px; color: var(--grey); }
pre.payload { margin: 12px 0 0; padding: 14px 16px; background: var(--panel); border-radius: 2px; font: 400 13px/19px var(--mono); overflow-x: auto; white-space: pre; }
.nextlist { list-style: none; margin: 0; padding: 0; }
.nextlist li { display: grid; grid-template-columns: 48px minmax(0, 1fr) 120px; gap: 12px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.nextlist li:last-child { border-bottom: 1px solid var(--line); }
.nextlist .mono { font-size: 13px; color: var(--off); }
.nextlist b { font-weight: 400; font-size: 18px; letter-spacing: -0.02em; display: block; }
.nextlist p { margin: 2px 0 0; color: var(--grey); font-size: 14px; line-height: 20px; }
.nextlist .when { font: 400 13px/18px var(--mono); color: var(--mute); text-align: right; }

/* skeleton while the recorded set loads */
.skel { height: 14px; border-radius: 2px; background: linear-gradient(90deg, var(--skel-a) 0, var(--skel-b) 40%, var(--skel-a) 80%); background-size: 200% 100%; animation: wave 1.2s linear infinite; margin: 12px 0; }
@keyframes wave { to { background-position: -200% 0; } }

.toasts { position: fixed; right: 24px; bottom: 24px; display: grid; gap: 8px; z-index: 50; }
.toast { background: var(--ink); color: var(--on-ink); border-radius: 2px; padding: 10px 14px; font-size: 14px; transform: translateY(0); opacity: 1; transition: transform 400ms var(--out), opacity 400ms var(--out); }
.toast.in { transform: translateY(100%); opacity: 0; }

@media (max-width: 860px) {
  .desk-app { padding: 12px 12px 40px; }
  .sheet { padding: 16px 16px 20px; }
  .sheet-head { margin: 0 -16px; padding: 0 16px 12px; }
  .form, .form.two { grid-template-columns: 1fr; }
  .q { font-size: 26px; margin-bottom: 4px; }
  .q .g { display: none; }
  .qsub { display: block; margin: 0 0 16px; color: var(--grey-h); font-size: 20px; line-height: 24px; letter-spacing: -0.03em; }
  .mini, .seg button { min-height: 44px; }
  .chart { height: 260px; margin: 0 -8px; }
  .grid6 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; }
  .answer { grid-template-columns: 1fr; }
  .answer .lead b { font-size: 72px; }
  .stampbox { grid-column: 1 / -1; }
  .times { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 6px; }
  .others button { grid-template-columns: minmax(0, 1fr) 80px; }
  .others button .v:last-child { display: none; }
  .checkrow { grid-template-columns: 110px 1fr 1fr 32px; font-size: 13px; }
  .sl { grid-template-columns: 1fr 64px; }
  .sl label { grid-column: 1 / -1; padding-top: 8px; }
  .counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .defs div { grid-template-columns: 1fr; gap: 2px; }
  .tbl th:nth-child(3), .tbl td:nth-child(3) { display: none; }
  .tbl td.h { width: 60%; }
  .chan { grid-template-columns: 1fr; gap: 8px; }
  .code { grid-template-columns: 1fr; gap: 12px; }
  .nextlist li { grid-template-columns: 40px minmax(0, 1fr); }
  .nextlist .when { grid-column: 2; text-align: left; }
  .strip { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .printing .pl, .printing .stamp-big, .printing .checkrow .eq { animation: none; }
  .skel { animation: none; }
}

/* ---------- live site additions ---------- */
.cap { margin: 6px 0 0; font: 400 12px/17px var(--mono); color: var(--mute); }
.tip { white-space: normal; max-width: 260px; }
.post blockquote a, .note a, .kv a:not(.mini), .emptyst a:not(.btn) { color: var(--ink); text-underline-offset: 3px; }
.fld select[disabled] { cursor: default; color: var(--grey); }
.tbl td.h.wrap { white-space: normal; max-width: none; }
.tbl a.code { font-family: var(--mono); font-size: 13px; }
.keyrow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: end; }
.chk.small { font-size: 14px; min-height: 36px; }
.addr { font: 400 15px/22px var(--mono); overflow-wrap: anywhere; }
.big-code b { font-size: 26px; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; border-top: 2px solid var(--ink); }
.tiers div { padding: 12px 12px 12px 0; border-right: 1px solid var(--line); }
.tiers div:last-child { border-right: 0; }
.tiers b { display: block; font: 400 22px/28px var(--mono); }
.tiers span { font-size: 13px; color: var(--grey); }
.steps-check li .ok { color: var(--ink); }
.steps-check li .no { color: var(--err); }
.state-line { font: 400 13px/18px var(--mono); color: var(--mute); margin-top: 8px; }
.pathlist { list-style: none; margin: 0; padding: 0; font: 400 13px/18px var(--mono); }
.pathlist li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.closed-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; }
@media (max-width: 860px) {
  .keyrow { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .tiers div { border-right: 0; border-bottom: 1px solid var(--line); }
}
.checkrow.wide { grid-template-columns: 200px 1fr 1fr 48px; align-items: start; padding: 10px 0; }
button.link { border: 0; background: none; padding: 0 2px; min-height: 0; font: inherit; font-family: var(--mono); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
button.link:hover { text-decoration-thickness: 2px; }
.hint button.link { display: inline-block; min-height: 24px; }
@media (max-width: 860px) { .checkrow.wide { grid-template-columns: 1fr 32px; } .checkrow.wide > span:first-child { grid-column: 1 / -1; color: var(--grey); } .checkrow.wide .mono { grid-column: 1 !important; } }
.others .sub { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 12px; align-items: center; min-height: 48px; padding: 6px 0; font-size: 15px; }
.others .sub .t { overflow-wrap: anywhere; }
.others .sub .t .mono { font-size: 13px; color: var(--grey); }
.others .sub .v { font: 400 13px/18px var(--mono); color: var(--mute); overflow-wrap: anywhere; }
.tbl tbody tr.static { cursor: default; }
.tbl tbody tr.static:hover { background: transparent; }
.tbl td .fu, .tbl td.m .fu { font: 400 12px/1 var(--mono); color: var(--grey); }
.steps li a, .chan p a, .hint a { color: var(--ink); text-underline-offset: 3px; }
.fld input[type="date"], .fld input[type="password"] { width: 100%; min-height: 44px; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; padding: 8px 0; font-size: 16px; border-radius: 0; }
.fld input[type="password"]:focus-visible, .fld input[type="date"]:focus-visible { outline: none; border-bottom: 2px solid var(--ink); }
.chan .btn { text-decoration: none; }
@media (max-width: 860px) { .others .sub { grid-template-columns: 1fr auto; } .others .sub .v { grid-column: 1; } }
.emptyst .cs, p.cs { font: 500 clamp(26px, 3vw, 40px)/1.1 var(--mono); letter-spacing: .04em; color: var(--ink); margin: 6px 0 14px; max-width: none; }
.form.pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 860px) { .form.pair { grid-template-columns: 1fr; } }
/* wide tables scroll inside their own box on phones; the page itself never scrolls sideways */
.scrollx { max-width: 100%; overflow-x: auto; }
@media (max-width: 860px) { .scrollx > .tbl { min-width: 600px; } .scrollx > .tbl td.h { max-width: 220px; } }
