/* The account standing page (/standing) and the admin's moderation page (/admin). */

body.mod { min-height: 100dvh; }
.mod-top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: 760px; margin: 0 auto; padding: 1.1rem 20px 0;
}
.mod-top .brand .logo { height: 36px; }
.mod-top-links { display: flex; gap: 1.1rem; align-items: center; }
.link-button {
  border: 0; background: none; box-shadow: none; padding: .4rem 0; border-radius: 0;
  color: var(--ink-soft); font-weight: 600; text-decoration: underline; text-underline-offset: .2em;
}
.link-button:hover:not(:disabled) { transform: none; box-shadow: none; color: var(--ink); }
.link-button:active:not(:disabled) { transform: none; box-shadow: none; }
.mod-main { max-width: 760px; margin: 0 auto; padding: 1.6rem 20px 4rem; }
.mod-main.wide, .mod-top.wide { max-width: 1100px; }
.mod-main h1 { margin-bottom: .35rem; }
.mod-main .sub { color: var(--ink-soft); margin: 0 0 1.4rem; max-width: 60ch; }
.mod-main .panel { margin-bottom: 1.1rem; }
.mod-main .panel h2 { margin-bottom: .2rem; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; }
.panel-head .count { font-weight: 700; color: var(--ink-soft); white-space: nowrap; }

/* a list of strikes: one line each, the date on the right */
.strikes { list-style: none; margin: 0; padding: 0; }
.strikes li {
  display: grid; grid-template-columns: auto 1fr auto; gap: .2rem .9rem; align-items: baseline;
  padding: .75rem 0; border-top: 1.5px solid var(--line);
}
.strikes li:first-child { border-top: 0; padding-top: .2rem; }
.strikes .n { font-family: var(--display); font-weight: 700; font-size: 1.15rem; min-width: 1.2em; }
.strikes .what { font-weight: 600; }
.strikes .when { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.strikes .note { grid-column: 2 / -1; color: var(--muted); font-size: .85rem; }
.strikes li.removed .n, .strikes li.removed .what { color: var(--muted); text-decoration: line-through; }
.strikes .tools { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
.scores { font-variant-numeric: tabular-nums; color: var(--ink-soft); font-size: .85rem; }

.appeal-form { display: grid; gap: .7rem; }
.appeal-form textarea, .mod-main textarea {
  font-family: var(--sans); font-size: .95rem; min-height: 7.5em; resize: vertical;
}
.form-row { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; }
.form-row input { flex: 1 1 220px; min-width: 0; border-radius: var(--radius-sm); }
.form-error { min-height: 1.4em; margin: 0; color: var(--coral-deep); font-weight: 600; font-size: .9rem; }
:root[data-theme="night"] .form-error { color: #F0A58F; }
blockquote.said {
  margin: .4rem 0 .8rem; padding: .7rem 1rem; border-radius: var(--radius-sm);
  background: var(--paper-2); white-space: pre-wrap; overflow-wrap: anywhere;
}
.rules { color: var(--muted); font-size: .88rem; margin-top: 1.6rem; max-width: 62ch; }
.danger-zone { margin-top: 1rem; font-size: .88rem; }
.danger-zone summary { cursor: pointer; color: var(--muted); font-weight: 600; }
.danger-zone .form-row { margin-top: .7rem; }

/* the plain-words pages: /privacy, /terms and /credits, with a line of links to each other at the foot */
.legal h2 { margin-top: 1.6rem; }
.legal h3 { margin-top: 1.2rem; font-size: 1.05rem; }
.legal p, .legal li { max-width: 62ch; line-height: 1.55; }
.legal ul { padding-left: 1.2rem; }
.legal li + li { margin-top: .35rem; }
.legal-foot { display: flex; flex-wrap: wrap; gap: 0 1.4rem; margin-top: 2.6rem; padding-top: .5rem; border-top: 1.5px solid var(--line); font-size: .9rem; color: var(--muted); }
.legal-foot > * { display: inline-flex; align-items: center; min-height: 44px; }   /* (each a whole target) */
.legal-foot [aria-current] { font-weight: 700; color: var(--ink-soft); }

/* admin */
.status-line { display: flex; gap: .6rem; align-items: center; font-weight: 600; margin: 0 0 1.4rem; }
.status-dot { width: .65rem; height: .65rem; border-radius: 50%; background: var(--c-best); flex: none; }
.status-dot.down { background: var(--c-blunder); }
.who { font-weight: 700; overflow-wrap: anywhere; }
.facts { color: var(--ink-soft); font-size: .88rem; }
.appeal + .appeal { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 2px solid var(--line); }
.verdict { display: grid; gap: .6rem; margin-top: .8rem; }
.verdict label { display: flex; gap: .5rem; align-items: center; font-weight: 600; font-size: .92rem; }
.mod input[type=checkbox] { width: 1.1rem; height: 1.1rem; margin: 0; padding: 0; accent-color: var(--meadow); box-shadow: none; flex: none; }
.strike-tick { display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; font-size: .88rem; cursor: pointer; }
.rows { width: 100%; border-collapse: collapse; font-size: .9rem; }
.rows th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0 .6rem .4rem 0; }
.rows td { padding: .55rem .6rem .55rem 0; border-top: 1.5px solid var(--line); vertical-align: top; }
.rows td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.empty { color: var(--muted); margin: 0; }
.record-actions { display: grid; gap: .7rem; margin-top: 1rem; }
.history { list-style: none; margin: .4rem 0 0; padding: 0; font-size: .85rem; color: var(--ink-soft); }
.history li { padding: .25rem 0; }

@media (max-width: 600px) {
  .mod-top { padding-top: .9rem; }
  .mod-main { padding-top: 1.2rem; }
  .strikes li { grid-template-columns: auto 1fr; }
  .strikes .when { grid-column: 2; }
  /* each row a little block: the cells one under another, the button to their right */
  .rows thead { display: none; }
  .rows tr { display: grid; grid-template-columns: 1fr auto; gap: 0 .8rem; padding: .6rem 0; border-top: 1.5px solid var(--line); }
  .rows td { grid-column: 1; border: 0; padding: .1rem 0; }
  .rows td:last-child { grid-column: 2; grid-row: 1 / span 5; align-self: center; }
  .rows td.num { color: var(--muted); font-size: .82rem; }
  /* the fair-play numbers: each a line, said what it is (the table's head is hidden) */
  .fair-table .rows tr { grid-template-columns: 1fr; }
  .fair-table .rows td:last-child { grid-column: 1; grid-row: auto; }
  .fair-table .rows td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 600; }
}

/* ------------------------------------------------------------ the fair-play queue */
.fair-item + .fair-item { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 2px solid var(--line); }
.fair-item .who { margin: 0 0 .15rem; }
.fair-item .facts { margin: 0 0 .5rem; }
.fair-table { overflow-x: auto; margin: .4rem 0 .6rem; }
.fair-moves { font-size: .85rem; line-height: 1.6; color: var(--ink-soft); }
.fair-since { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; font-weight: 600; font-size: .9rem; }
.fair-since input { flex: 0 1 12rem; }

/* ------------------------------------------------- /admin#analytics (adminstats.js, sankey.js, heatmap.js) */
/* chart colours: one series in slot 1's blue; leaving in orange (the dataviz palette's validated pair,
   checked against these cards in both themes); the retention cells a one-hue blue ramp */
.mod {
  --viz-1: #2a78d6; --viz-left: #eb6834; --viz-context: #b7ad95; --viz-grid: var(--line);
  --ret-0: #e3eefc; --ret-1: #b7d3f6; --ret-2: #86b6ef; --ret-3: #3987e5; --ret-4: #1c5cab;
}
:root[data-theme="night"] .mod {
  --viz-1: #3987e5; --viz-left: #d95926; --viz-context: #5f6b58;
  --ret-0: #24382f; --ret-1: #1c3f63; --ret-2: #184f95; --ret-3: #2a78d6; --ret-4: #6da7ec;
}
.admin-tabs { margin: 0 0 1.2rem; }
.admin-tabs a.button {
  display: inline-flex; align-items: center; min-height: 40px; padding: .25em 1.1em; border: 2px solid var(--outline);
  margin-left: -2px; background: var(--card); color: var(--ink); text-decoration: none; font-weight: 700; font-size: .9rem;
}
.admin-tabs a.button:first-child { border-radius: 999px 0 0 999px; margin-left: 0; }
.admin-tabs a.button:last-child { border-radius: 0 999px 999px 0; }
.admin-tabs a.button.on { background: var(--ink); color: var(--paper); }
@media (max-width: 420px) {   /* four parts on a phone: they share its width */
  .admin-tabs { display: flex; }
  .admin-tabs a.button { flex: 1 1 auto; justify-content: center; padding: .25em .55em; font-size: .85rem; }
}
#admin.stale > :not(.admin-tabs), .flow-body.stale { opacity: .55; transition: opacity .2s; }
.stats-top { display: flex; justify-content: space-between; align-items: flex-end; gap: .8rem 1.2rem; flex-wrap: wrap; margin-bottom: 1rem; }
.stats-top .sub { margin: 0; }
.stats-controls { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: .6rem; }
.stats-seg button { min-height: 40px; }
.stats-select { min-height: 40px; border-radius: 999px; max-width: 100%; }
.stats h3 { margin: 1.2rem 0 .3rem; }
.stats .muted { margin: .2rem 0 .7rem; }
.stats .empty { color: var(--muted); }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 1.1rem; }
.stat-tile { display: grid; gap: .15rem; align-content: start; padding: 1rem 1.1rem; border: 2px solid var(--outline); border-radius: var(--radius); background: var(--card); }
.tile-label { font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.tile-value { font: 700 2rem/1.1 var(--sans); color: var(--ink); }
.tiles .stat-tile:first-child .tile-value { font-size: 3rem; }
.tile-note { font-size: .82rem; color: var(--muted); }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 34px; margin-top: .4rem; }
.spark i { flex: 1; max-width: 14px; border-radius: 3px 3px 0 0; background: var(--viz-context); }
.spark i.now { background: var(--viz-1); }

.chart-wrap, .sankey-box { position: relative; }
.line-chart { max-width: 100%; height: auto; display: block; touch-action: pan-y; }
.line-chart .grid { stroke: var(--viz-grid); stroke-width: 1; }
.line-chart .tick { fill: var(--muted); font: 11px var(--sans); }
.line-chart .series { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.line-chart .series.main { stroke: var(--viz-1); }
.line-chart .series.context { stroke: var(--viz-context); }
.line-chart .end { fill: var(--viz-1); stroke: var(--card); stroke-width: 2; }
.line-chart .cross { stroke: var(--muted); stroke-width: 1; }
.chart-tip {
  position: absolute; top: 4px; z-index: 2; min-width: 140px; max-width: 220px; padding: .45rem .65rem; pointer-events: none;
  border: 2px solid var(--outline); border-radius: 10px; background: var(--card); font-size: .82rem; line-height: 1.35;
}
.chart-tip b { color: var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; margin-top: .5rem; font-size: .82rem; color: var(--ink-soft); }
.key::before { content: ''; display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: .4rem; vertical-align: middle; background: var(--viz-1); }
.key.context::before { background: var(--viz-context); }
.key.go::before, .key.left::before { height: 10px; width: 10px; border-radius: 2px; }
.key.left::before { background: var(--viz-left); }
.chart-tip .key::before { width: 10px; }

.sankey-scroll { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.sankey { display: block; font-family: var(--sans); }
.sk-stage { fill: var(--ink-soft); font-size: 11px; font-weight: 700; }
.sk-label { fill: var(--ink); font-size: 11px; font-weight: 600; }
.sk-count { fill: var(--muted); font-size: 11px; }
.sk-node { fill: var(--viz-1); }
.sk-node.left { fill: var(--viz-left); }
.sk-band { fill: var(--viz-1); fill-opacity: .28; transition: fill-opacity .12s; cursor: pointer; outline: none; }
.sk-band.left { fill: var(--viz-left); fill-opacity: .34; }
.sk-band:hover, .sk-band:focus-visible { fill-opacity: .6; }
.sk-node:focus-visible { stroke: var(--ink); stroke-width: 2; outline: none; }
.sk-table { margin-top: .6rem; font-size: .88rem; }
.sk-table summary { cursor: pointer; color: var(--ink-soft); font-weight: 600; min-height: 32px; }

.funnel { display: grid; gap: 6px; }
.fun-row { display: grid; grid-template-columns: minmax(8rem, 1.1fr) 2fr 5.5rem 3.5rem; gap: .6rem; align-items: center; font-size: .88rem; }
.fun-head { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.fun-bar { height: 14px; }
.fun-bar i { display: block; height: 100%; border-radius: 0 4px 4px 0; background: var(--viz-1); }
.fun-n { font-variant-numeric: tabular-nums; font-weight: 700; text-align: right; }
.fun-n small { color: var(--muted); font-weight: 500; }
.fun-drop { font-variant-numeric: tabular-nums; color: var(--ink-soft); text-align: right; }
.fun-row.worst .fun-drop, .fun-row.worst .fun-step { font-weight: 800; color: var(--ink); }
.fun-note { margin: .6rem 0 0; }
@media (max-width: 560px) {
  .fun-row { grid-template-columns: 1fr 4.6rem 3rem; }
  .fun-row .fun-bar { grid-column: 1 / -1; grid-row: 2; height: 8px; }
  .fun-head span:nth-child(2) { display: none; }
}

.table-wrap { overflow-x: auto; }
.stats-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.stats-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 0 .7rem .35rem 0; white-space: nowrap; }
.stats-table td { padding: .45rem .7rem .45rem 0; border-top: 1.5px solid var(--line); vertical-align: top; white-space: nowrap; }
.stats-table td.wrap { white-space: normal; overflow-wrap: anywhere; min-width: 11rem; }
@media (max-width: 560px) {
  .stats-table .wide { display: none; }   /* a phone gets the columns that matter; chessknight analytics has the rest */
  .stats-table th, .stats-table td { padding-right: .5rem; }
  .stats-table td.wrap { min-width: 7rem; }
  .ret { min-width: 2.9rem; padding: .15rem .25rem; }
}
.stats-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stats-table .link-button { min-height: 32px; }
.ret { display: inline-block; min-width: 3.2rem; padding: .15rem .4rem; border-radius: 6px; text-align: center; }
.ret.r0 { background: var(--ret-0); }
.ret.r1 { background: var(--ret-1); }
.ret.r2 { background: var(--ret-2); }
.ret.r3 { background: var(--ret-3); color: #fff; }
.ret.r4 { background: var(--ret-4); color: #fff; }
:root[data-theme="night"] .ret.r4 { color: #0d1b2a; }
.ret.none { color: var(--muted); }
.tag-new { margin-left: .4rem; padding: 0 .4rem; border-radius: 6px; background: var(--sun-soft); font-size: .75rem; font-weight: 700; }
.warn { color: var(--coral-deep); }
.exp + .exp { margin-top: 1rem; padding-top: 1rem; border-top: 1.5px solid var(--line); }
.signals { margin: .2rem 0; padding-left: 1.1rem; }
.mod .game-emails-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 40rem; font-weight: 600; }
.mod button.switch {
  position: relative; flex: none; width: 58px; height: 34px; padding: 0; border-radius: 999px;
  background: var(--paper-2); box-shadow: 2px 2px 0 var(--outline);
}
.mod button.switch:hover:not(:disabled) { transform: none; box-shadow: 2px 2px 0 var(--outline); }
.mod button.switch[aria-checked="true"] { background: var(--meadow); }
.mod .switch-knob {
  position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: #FFFBF0; border: 2px solid var(--outline); transition: transform .18s cubic-bezier(.3, 1.4, .5, 1);
}
.mod button.switch[aria-checked="true"] .switch-knob { transform: translateX(24px); }

/* ------------------------------------------------- /admin#flags (adminflags.js) */
a.flag-card { display: block; color: inherit; text-decoration: none; }
a.flag-card:hover { border-color: var(--ink); }
a.flag-card h2 { font-family: ui-monospace, monospace; font-size: 1.05rem; overflow-wrap: anywhere; }
.flag-card .muted, .flag-card .flag-line { margin: .25rem 0 0; }
.flag-line { margin: .35rem 0; }
.flag-status { font-weight: 700; font-size: .85rem; color: var(--ink-soft); white-space: nowrap; display: inline-flex; align-items: center; gap: .4rem; }
.flag-status::before { content: ''; width: .6rem; height: .6rem; border-radius: 50%; background: var(--line-strong); }
.flag-status.running::before { background: var(--c-best); }
.flag-status.paused::before { background: var(--sun); }
.flag-status.shipped::before { background: var(--c-great); }
.flag-status.stopped::before { background: var(--c-blunder); }
.flag-back { display: flex; align-items: center; width: max-content; min-height: 36px; margin: 0 0 .4rem; color: var(--ink-soft); font-weight: 600; text-decoration: none; }
.flag-acc { display: block; color: var(--muted); font-size: .78rem; font-weight: 500; }
.flag-top { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.flag-top h1 { font-family: ui-monospace, monospace; font-size: 1.6rem; overflow-wrap: anywhere; }
.flag-actions { margin: 0 0 .4rem; }
.flag-actions button { min-height: 44px; }
.flag-ask { font-weight: 600; flex: 1 1 100%; }
.flag-foot { margin-top: 1.4rem; }
.flag-setup { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.2rem; margin: 0; }
.flag-setup dt { font-weight: 700; color: var(--ink-soft); }
.flag-setup dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .flag-setup { grid-template-columns: 1fr; gap: .15rem; } .flag-setup dd { margin-bottom: .5rem; } }
.flag-log, .flag-guards { list-style: none; margin: 0; padding: 0; }
.flag-log li { display: grid; grid-template-columns: 9.5rem 1fr auto; gap: .2rem .9rem; padding: .55rem 0; border-top: 1.5px solid var(--line); font-size: .9rem; }
.flag-log .when, .flag-log .who { color: var(--ink-soft); white-space: nowrap; }
@media (max-width: 560px) { .flag-log li { grid-template-columns: 1fr; } }
.flag-guards li { padding: .3rem 0; font-size: .9rem; }
.flag-form { display: grid; gap: 1.1rem; }
.flag-field { display: grid; gap: .4rem; }
.flag-label { font-weight: 700; }
.flag-field > .muted { margin: 0; font-size: .85rem; }
.flag-field input[type=text], .flag-field textarea, .flag-field select { width: 100%; max-width: 34rem; border-radius: var(--radius-sm); }
.flag-hypo { font-family: inherit; font-size: inherit; min-height: 4em; }
.flag-variants { display: grid; gap: .5rem; }
.flag-variant { display: grid; grid-template-columns: minmax(6rem, 9rem) minmax(0, 1fr) auto auto; gap: .5rem; align-items: center; max-width: 40rem; }
.flag-variant input { min-width: 0; border-radius: var(--radius-sm); }
.v-split { display: inline-flex; align-items: center; gap: .25rem; white-space: nowrap; }
.v-split input, .flag-pct input { width: 5rem; }
@media (max-width: 560px) { .flag-variant { grid-template-columns: 1fr 1fr; } }
.flag-radios, .flag-checks { display: grid; gap: .35rem; }
.flag-radio, .flag-check { display: flex; align-items: center; gap: .5rem; min-height: 36px; }
.flag-since { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.flag-summary { margin: 0; padding: .7rem .9rem; border-radius: var(--radius-sm); background: var(--paper-2); }

/* /admin#reports (adminreports.js): a player's reports, each with what happened, then one decision */
.report-group .facts { margin: 0 0 .45rem; }
.report-group .status-line { margin: 0 0 .5rem; color: var(--coral-deep); }
:root[data-theme="night"] .report-group .status-line { color: #F0A58F; }
.report-trend .facts { margin: 0 0 .25rem; }
details.report-item { padding: .7rem 0; border-top: 1.5px solid var(--line); }
details.report-item > summary { cursor: pointer; overflow-wrap: anywhere; }
details.report-item blockquote.said { margin: .6rem 0; }
.report-game, .report-studio, .report-contact { margin-top: .6rem; }
.report-game-cols { display: flex; gap: 1rem 1.4rem; flex-wrap: wrap; align-items: flex-start; }
.report-board-col { flex: none; width: min(260px, 100%); display: grid; gap: .4rem; }
.report-board { width: 100%; aspect-ratio: 1; border-radius: 8px; overflow: hidden; border: 2px solid var(--outline); }
.report-board .cg-wrap { width: 100%; height: 100%; }
.report-steps { display: flex; align-items: center; justify-content: center; gap: .6rem; }
.report-steps button { min-width: 44px; min-height: 36px; font-size: 1.1rem; }
.report-ply { min-width: 7em; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.report-game-side { flex: 1 1 16rem; min-width: 0; }
ol.report-timeline { list-style: none; margin: .3rem 0 0; padding: 0; max-height: 300px; overflow-y: auto; font-size: .88rem; }
ol.report-timeline li { padding: .1rem 0; }
ol.report-timeline li.theirs { font-weight: 700; }
ol.report-timeline button.link, .report-moves button.link {
  margin: 0; padding: .15rem 0; font-size: inherit; text-decoration: none; text-align: left; font-weight: inherit; color: var(--ink);
}
ol.report-timeline button.link:hover, .report-moves button.link:hover { text-decoration: underline; }
.report-at { display: inline-block; min-width: 3.2em; color: var(--muted); font-variant-numeric: tabular-nums; }
img.report-emote { width: 26px; height: 26px; object-fit: contain; vertical-align: middle; margin-right: .3rem; }
.report-moves { display: flex; flex-wrap: wrap; gap: 0 .55rem; margin: .4rem 0; font-size: .9rem; }
.report-moves button.link.on { font-weight: 800; text-decoration: underline; }
pre.report-pgn {
  margin: .4rem 0 0; padding: .6rem .8rem; background: var(--paper-2); border-radius: var(--radius-sm);
  font-size: .78rem; white-space: pre-wrap; overflow-wrap: anywhere;
}
.report-files { display: flex; flex-wrap: wrap; gap: .7rem; margin: .3rem 0; }
.report-files figure { margin: 0; display: grid; gap: .2rem; max-width: 160px; font-size: .75rem; color: var(--ink-soft); }
a.report-thumb img { display: block; width: 72px; height: 72px; object-fit: contain; background: var(--paper-2); border-radius: 6px; }
a.report-file { font-weight: 600; font-size: .85rem; }
ul.report-contact-list { margin: .2rem 0 0; padding-left: 1.1rem; font-size: .85rem; color: var(--ink-soft); }
.report-actions select { min-height: 40px; border-radius: var(--radius-sm); max-width: 100%; }
.report-days { display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; font-size: .9rem; }
.form-row .report-days input { width: 5rem; flex: none; }
.report-days[hidden], .report-actions select[hidden], .report-tell[hidden] { display: none; }
.report-tell { display: inline-flex; gap: .5rem; align-items: center; font-weight: 600; font-size: .9rem; flex: 1 1 16rem; }

/* ------------------------------------------------- /admin#voice (adminvoice.js): the phrase catalog */
.v-facts { margin: -.8rem 0 .6rem; font-size: .88rem; max-width: 70ch; }
.v-assume { margin: 0 0 1rem; font-size: .88rem; color: var(--ink-soft); }
.v-assume summary { cursor: pointer; font-weight: 600; color: var(--muted); min-height: 32px; }
.v-assume ul { margin: .4rem 0 0; padding-left: 1.1rem; max-width: 70ch; }
.v-top { display: flex; flex-wrap: wrap; gap: .6rem .8rem; align-items: center; margin: 0 0 .4rem; }
.v-view button { min-height: 44px; }
.v-search { flex: 1 1 14rem; min-width: 0; min-height: 44px; border-radius: 999px; }
.v-row { padding: 1.1rem 0 1.2rem; border-top: 2px solid var(--line); display: grid; gap: .6rem; position: relative; }
.v-body > .v-row:first-child, .v-group > .v-g-about + .v-row { border-top: 0; }
.v-about { display: grid; gap: .35rem; min-width: 0; align-content: start; }
.v-act { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; align-content: start; min-width: 0; }
.v-head { display: flex; flex-wrap: wrap; gap: .2rem .7rem; align-items: baseline; font-size: .8rem; }
.v-id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; color: var(--ink-soft); overflow-wrap: anywhere; }
.v-tag { font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; }
.v-tag.spoken { color: var(--coral-deep); }
:root[data-theme="night"] .v-tag.spoken { color: var(--coral); }
.v-where { color: var(--muted); }
.v-text { margin: 0; font-size: 1.05rem; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.v-blank { color: var(--muted); font-weight: 500; }
.v-blank::before { content: '{'; }
.v-blank::after { content: '}'; }
.v-variants { margin: 0; padding-left: 1.1rem; font-size: .95rem; line-height: 1.45; }
.v-variants li { overflow-wrap: anywhere; }
.v-example { margin: 0; font-size: .9rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.v-when, .v-flag { margin: 0; font-size: .88rem; color: var(--ink-soft); max-width: 75ch; }
.v-flag { color: var(--coral-deep); font-weight: 600; }
:root[data-theme="night"] .v-flag { color: var(--coral); }
.v-often { margin: 0; font-size: .85rem; display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .1rem .9rem; align-items: baseline; }
.v-often > :not(.v-k) { grid-column: 2; }
.v-bracket { color: var(--muted); font-weight: 400; }
.v-k { font-weight: 700; color: var(--muted); }
.v-rate b { font-weight: 700; }
.v-modes { margin: 0; font-size: .78rem; color: var(--muted); overflow-wrap: anywhere; }
.v-modes code { font-size: .74rem; }
.v-mark { display: flex; gap: .7rem; align-items: center; }
.v-marks button { min-height: 44px; padding-left: .9em; padding-right: .9em; white-space: nowrap; }
.v-saved { min-width: 3.5em; font-size: .82rem; font-weight: 700; color: var(--meadow); }
.mod-main textarea.v-note { min-height: 3.4em; font-size: .92rem; width: 100%; min-width: 0; box-sizing: border-box; }
.v-more { justify-self: start; margin: .8rem 0 0; min-height: 44px; }
.v-group { border-top: 2px solid var(--line); padding: .8rem 0 0; }
.v-group summary { cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; min-height: 44px; }
.v-g-title { font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.v-g-n { color: var(--muted); font-weight: 700; font-size: .85rem; white-space: nowrap; }
.v-g-about { margin: 0 0 .2rem; font-size: .88rem; }
@media (min-width: 900px) {   /* the words, and beside them the mark and the note */
  .v-row { grid-template-columns: minmax(0, 1fr) 340px; gap: 1.6rem; }
  .mod-main textarea.v-note { min-height: 5.2em; }
}
@media (max-width: 520px) {   /* phones: the marks share the width; "Saved" over their right end */
  .v-marks { display: flex; }
  .v-marks button { flex: 1 1 0; padding-left: .2em; padding-right: .2em; font-size: .8rem; }
  .v-mark { display: block; }
  .v-saved { position: absolute; right: 0; margin-top: -1.3rem; text-align: right; }
  .v-often { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .v-often > :not(.v-k) { grid-column: 1; }
}
