/* Priors website: 911 call-taker demo (Concept UI). Script: assets/demos/calltaker.js.
   The console borrows the real CAD's look (cad/public/console.css): Plex Mono, 2px corners, dense grids,
   window headers in small caps, clay for a new event, pine for verified. Colours come from the site tokens,
   with a night-console set under the dark theme. Layout follows the demo's own width (container queries). */

.ct {
  --c-bg: var(--bg);
  --c-panel: var(--surface);
  --c-head: color-mix(in srgb, var(--bg-2) 75%, var(--surface));
  --c-desk: color-mix(in srgb, var(--line) 70%, var(--bg-2));
  --c-line: var(--line);
  --c-line-2: color-mix(in srgb, var(--line) 55%, var(--surface));
  --c-in-line: color-mix(in srgb, var(--line) 80%, var(--muted));
  --c-fg: var(--fg);
  --c-fg-2: color-mix(in srgb, var(--fg) 80%, var(--muted));
  --c-muted: var(--muted);
  --c-term: #155a37;
  --c-green: var(--sign);
  --c-clay: var(--clay);
  --c-blue: #1d5d9b;
  --c-p1: #b3261e; --c-p2: #8a5800; --c-p4: var(--muted);
  --c-ok-bg: #e1f0e6; --c-bad-bg: #fbe6e2; --c-warn-bg: #fbf1d8; --c-new-bg: #f3ead9; --c-new-line: #d9c39c;
  --c-sel: #e3efe6;
  --c-shadow: 0 30px 60px -34px rgba(0, 0, 0, .45);
  container: ct / inline-size;
  display: grid; gap: .85rem; min-width: 0;
  color: var(--fg);
}
:root[data-theme="dark"] .ct {
  --c-head: #13201a; --c-desk: #070d0a;
  --c-line-2: #1f2d25; --c-in-line: #34483c;
  --c-term: #7fd6a3; --c-blue: #85b9ea;
  --c-p1: #ff7b6b; --c-p2: #ffb547;
  --c-ok-bg: rgba(87, 199, 138, .13); --c-bad-bg: rgba(255, 107, 91, .13); --c-warn-bg: rgba(255, 181, 71, .1);
  --c-new-bg: rgba(224, 112, 63, .14); --c-new-line: rgba(224, 112, 63, .45);
  --c-sel: rgba(87, 199, 138, .14);
  --c-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}

/* ---------- label, badges, note (site styles) ---------- */
.ct-meta { display: grid; gap: .45rem; }
.ct-meta-row { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.ct-concept {
  display: inline-flex; align-items: center; font: 700 .66rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
  padding: .34rem .5rem; border-radius: 3px; background: var(--fg); color: var(--bg);
}
.ct-note { font-size: .82rem; color: var(--muted); max-width: 72ch; }
.ct .status { white-space: normal; text-align: left; line-height: 1.15; }
.ct-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- the console ---------- */
.ct-con {
  background: var(--c-bg); color: var(--c-fg); border: 1px solid var(--c-line); border-radius: 6px; overflow: hidden;
  font: 500 12.5px/1.4 var(--font-mono); box-shadow: var(--c-shadow);
}
.ct-con button, .ct-con input, .ct-con select { font: inherit; color: inherit; }
.ct-con button { cursor: pointer; }
.ct-con button:disabled { cursor: default; }
.ct-con :focus-visible { outline: 2px solid var(--c-clay); outline-offset: 1px; border-radius: 2px; }

.ct-titlebar { display: flex; align-items: stretch; height: 30px; background: var(--c-panel); border-bottom: 1px solid var(--c-line); white-space: nowrap; overflow: hidden; }
.ct-brand { display: flex; align-items: center; padding: 0 12px; background: var(--c-green); color: #f4fbf6; font-weight: 700; font-size: 12.5px; letter-spacing: .12em; }
.ct-tb { display: flex; align-items: center; padding: 0 11px; border-right: 1px solid var(--c-line); font-weight: 600; font-size: 11.5px; color: var(--c-fg-2); }
.ct-clock { color: var(--c-term); font-size: 13px; }
.ct-tb-sp { flex: 1; }
.ct-line { border-right: 0; border-left: 1px solid var(--c-line); color: var(--c-muted); gap: 7px; }
.ct-line::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .5; }
.ct-line.is-ring { color: var(--c-p1); }
.ct-line.is-ring::before { opacity: 1; animation: ct-blink 1s steps(2) infinite; }
.ct-line.is-live { color: var(--c-term); }
.ct-line.is-live::before { opacity: 1; }
@keyframes ct-blink { 50% { opacity: .15; } }

/* call picker: the F-key strip's place */
.ct-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 3px; background: var(--c-head); border-bottom: 1px solid var(--c-line); }
.ct-pick {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 34px; padding: 4px 9px;
  border: 1px solid var(--c-line); border-radius: 2px; background: var(--c-panel); text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .03em;
}
.ct-pick b { color: var(--c-green); font-weight: 700; }
:root[data-theme="dark"] .ct-pick b { color: var(--c-term); }
.ct-pick-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; }
.ct-pick-best { font-size: 10px; color: var(--c-muted); letter-spacing: .06em; }
.ct-pick.is-done .ct-pick-best { color: var(--c-term); }
.ct-pick:hover { border-color: var(--c-in-line); }
.ct-pick[aria-current="true"] { background: var(--c-bg); border-color: var(--c-in-line); box-shadow: inset 0 -2px 0 var(--c-clay); }

/* desk: line window and event window side by side, pending under both */
.ct-desk {
  display: grid; gap: 3px; padding: 3px; background: var(--c-desk);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  grid-template-areas: "line ev" "pend pend";
}
.ct-w-line { grid-area: line; } .ct-w-ev { grid-area: ev; } .ct-w-pend { grid-area: pend; }
.ct-win { min-width: 0; display: flex; flex-direction: column; background: var(--c-bg); border: 1px solid var(--c-line); }
.ct-win-h {
  margin: 0; min-height: 24px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 8px; background: var(--c-head); border-bottom: 1px solid var(--c-line);
  font: 700 11px/1.2 var(--font-mono); letter-spacing: .12em; color: var(--c-fg-2); text-transform: none;
}
.ct-win-k { color: var(--c-term); font-weight: 600; letter-spacing: .04em; }
.ct-sp { flex: 1; }
.ct-mini { min-height: 20px; padding: 0 7px; border: 1px solid var(--c-line); border-radius: 2px; background: var(--c-panel); font-size: 10.5px !important; font-weight: 700 !important; letter-spacing: .06em; }
.ct-mini:hover:not(:disabled) { border-color: var(--c-in-line); }
.ct-mini:disabled { opacity: .4; }
.ct-sub { margin: 0 0 4px; font: 700 10.5px var(--font-mono); letter-spacing: .12em; color: var(--c-muted); }

/* ---------- 911 line ---------- */
.ct-ali { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; padding: 5px 8px; border-bottom: 1px solid var(--c-line-2); font-size: 11.5px; font-weight: 600; color: var(--c-fg-2); background: var(--c-panel); min-height: 29px; }
.ct-ali-k { padding: 1px 5px; border: 1px solid var(--c-in-line); border-radius: 2px; font-size: 10px; letter-spacing: .08em; color: var(--c-muted); }
.ct-ali-ph { color: var(--c-term); }
.ct-tx-wrap { position: relative; flex: 1; min-height: 0; display: flex; }
.ct-transcript { flex: 1; height: 238px; overflow-y: auto; padding: 6px 8px 8px; overscroll-behavior: contain; scrollbar-width: thin; }
.ct-tl { display: grid; grid-template-columns: 60px 50px minmax(0, 1fr); gap: 6px; padding: 2px 0; }
.ct-tl time { color: var(--c-muted); }
.ct-tl b { font-weight: 700; color: var(--c-muted); letter-spacing: .04em; }
.ct-tl-caller .ct-tl-t { color: var(--c-fg); font-family: var(--font-body); font-size: 13.5px; line-height: 1.45; }
.ct-tl-caller b { color: var(--c-clay); }
.ct-tl-op .ct-tl-t { color: var(--c-term); }
.ct-tl-op b { color: var(--c-term); }
.ct-tl-sys .ct-tl-t { color: var(--c-blue); }
.ct-tl-sys b { color: var(--c-blue); }
.ct-tl-t.is-live::after { content: ""; display: inline-block; width: 7px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--c-clay); animation: ct-blink .9s steps(2) infinite; }
.ct-ringing { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 16px; text-align: center; background: color-mix(in srgb, var(--c-bg) 88%, transparent); }
.ct-ringing[hidden] { display: none; }
.ct-ringing-t { margin: 0; color: var(--c-muted); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.ct-answer {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 3px;
  border: 1px solid var(--c-green); background: var(--c-green); color: #f4fbf6 !important; font-weight: 700 !important; letter-spacing: .1em; font-size: 13px !important;
}
.ct-answer:hover { filter: brightness(1.08); }
.ct-ring { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #f4fbf6; }
.ct-ring::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #f4fbf6; opacity: 0; animation: ct-ring 1.2s ease-out infinite; }
@keyframes ct-ring { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }

.ct-ask { padding: 7px 8px 8px; border-top: 1px solid var(--c-line); background: var(--c-panel); }
.ct-qs { display: flex; flex-wrap: wrap; gap: 4px; }
.ct-q {
  min-height: 30px; padding: 3px 9px; border: 1px solid var(--c-in-line); border-radius: 2px; background: var(--c-bg);
  font-family: var(--font-body) !important; font-size: 12.5px !important; font-weight: 600 !important; text-align: left; color: var(--c-fg);
}
.ct-q:hover:not(:disabled) { border-color: var(--c-green); background: var(--c-sel); }
.ct-q:disabled { opacity: .45; }
.ct-q[aria-pressed="true"] { opacity: 1; color: var(--c-term); border-color: transparent; background: var(--c-sel); }
.ct-q[aria-pressed="true"] span::before { content: "✓ "; font-family: var(--font-mono); }

/* ---------- event entry ---------- */
.ct-ev-h { flex-wrap: wrap; row-gap: 2px; padding-block: 3px; }
.ct-ev-title { font-size: 12px; letter-spacing: .08em; color: var(--c-term); white-space: nowrap; }
.ct-ev-meta { font-weight: 600; letter-spacing: .04em; color: var(--c-muted); font-size: 10.5px; }
.ct-w-ev.is-new .ct-ev-h { background: var(--c-new-bg); border-bottom-color: var(--c-new-line); }
.ct-w-ev.is-new .ct-ev-title { color: var(--c-clay); }
.ct-form[hidden], .ct-review[hidden] { display: none; }
.ct-form { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.ct-fields {
  display: grid; gap: 3px 6px; align-items: end; padding: 7px 8px 6px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 58px 80px;
  grid-template-areas: "type type pri ag" "tinfo tinfo tinfo tinfo" "loc loc loc ver" "geo geo geo geo" "caller caller cb cb";
}
.a-type { grid-area: type; } .a-pri { grid-area: pri; } .a-ag { grid-area: ag; } .a-tinfo { grid-area: tinfo; }
.a-loc { grid-area: loc; } .a-ver { grid-area: ver; } .a-geo { grid-area: geo; } .a-caller { grid-area: caller; } .a-cb { grid-area: cb; }
.ct-f { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ct-f > label, .ct-lbl { font: 600 10px var(--font-mono); letter-spacing: .1em; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-k { font-style: normal; font-weight: 500; letter-spacing: .02em; margin-left: 6px; opacity: .8; }
.ct-cb { position: relative; }
.ct-con input[type="text"], .ct-con select {
  width: 100%; height: 30px; padding: 2px 7px; border-radius: 2px; border: 1px solid var(--c-in-line); background: var(--c-panel);
  font: 500 13px var(--font-mono); text-transform: uppercase; color: var(--c-fg);
}
.ct-con input[type="text"]::placeholder { text-transform: none; color: var(--c-muted); opacity: .75; font-family: var(--font-body); font-size: 12px; }
.ct-con input:disabled, .ct-con select:disabled { opacity: .55; }
.ct-con select { padding-right: 4px; }
.ct-info { margin: 0 0 4px; font-size: 10.5px; letter-spacing: .04em; color: var(--c-muted); min-height: 1.4em; }
.ct-info.is-bad { color: var(--c-p1); }
.ct-btn {
  min-height: 30px; padding: 0 10px; border: 1px solid var(--c-in-line); border-radius: 2px; background: var(--c-panel);
  font-size: 11px !important; font-weight: 700 !important; letter-spacing: .08em;
}
.ct-btn:hover:not(:disabled) { background: var(--c-sel); border-color: var(--c-green); }
.ct-btn:disabled { opacity: .5; }
.a-ver .ct-btn { width: 100%; }
.ct-geo { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 2px; padding: 4px 7px; border: 1px solid var(--c-line); border-radius: 2px; background: var(--c-panel); font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--c-muted); min-height: 27px; }
.ct-geo.is-ok { color: var(--c-term); border-color: var(--c-green); background: var(--c-ok-bg); }
.ct-geo.is-bad { color: var(--c-p1); border-color: color-mix(in srgb, var(--c-p1) 60%, transparent); background: var(--c-bad-bg); }
.ct-cand { color: var(--c-fg); text-align: left; }
.ct-premise { margin: 3px 0 2px; padding: 4px 7px; border: 1px solid color-mix(in srgb, var(--c-p1) 60%, transparent); background: var(--c-bad-bg); color: var(--c-p1); font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.ct-premise::before { content: "⚠ "; }
.ct-premise[hidden] { display: none; }
.ct-ro { display: flex; align-items: center; height: 28px; padding: 2px 7px; border: 1px dashed var(--c-line); border-radius: 2px; font-size: 12.5px; font-weight: 600; color: var(--c-fg-2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* combobox list */
.ct-list {
  position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 2px); margin: 0; padding: 2px 0; list-style: none;
  max-height: 228px; overflow-y: auto; background: var(--c-panel); border: 1px solid var(--c-in-line); border-radius: 2px;
  box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .45); overscroll-behavior: contain;
}
.ct-list[hidden] { display: none; }
.ct-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 6px 8px; cursor: pointer; }
.ct-list li b { font-weight: 700; color: var(--c-fg); min-width: 7ch; }
.ct-list li span { color: var(--c-muted); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-list li:hover, .ct-list li[aria-selected="true"] { background: var(--c-sel); }
.ct-list li[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--c-clay); }

.ct-narr-wrap { flex: 1; display: flex; flex-direction: column; min-height: 0; padding: 6px 8px; border-top: 1px solid var(--c-line); }
.ct-narr { flex: 1; margin: 0; padding: 5px 7px; list-style: none; min-height: 92px; max-height: 128px; overflow-y: auto; border: 1px solid var(--c-line); background: var(--c-panel); border-radius: 2px; overscroll-behavior: contain; }
.ct-narr:empty::before { content: "Facts the caller gives are keyed in here."; color: var(--c-muted); font-family: var(--font-body); font-size: 12px; font-style: italic; }
.ct-narr li { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 6px; padding: 1px 0; color: var(--c-term); font-size: 12px; }
.ct-narr li time { color: var(--c-muted); }
.ct-sendrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 10px; padding: 6px 8px 8px; }
.ct-formmsg { margin: 0 auto 0 0; color: var(--c-p1); font-weight: 700; font-size: 11.5px; letter-spacing: .04em; }
.ct-sendtime { color: var(--c-muted); font-weight: 600; font-size: 11.5px; letter-spacing: .04em; }
.ct-send {
  min-height: 34px; padding: 0 14px; border: 1px solid var(--c-green); border-radius: 2px; background: var(--c-green); color: #f4fbf6 !important;
  font-size: 11.5px !important; font-weight: 600 !important; letter-spacing: .08em;
}
.ct-send b { font-weight: 800; }
.ct-send:hover:not(:disabled) { filter: brightness(1.08); }
.ct-send:disabled { opacity: .45; }

/* ---------- QA review ---------- */
.ct-review { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.ct-score { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-bottom: 1px solid var(--c-line); background: var(--c-panel); }
.ct-score-n { margin: 0; display: flex; align-items: baseline; gap: 2px; font-family: var(--font-display); line-height: 1; }
.ct-score-n b { font-size: 2.6rem; font-weight: 900; }
.ct-score-n span { font: 600 12px var(--font-mono); color: var(--c-muted); }
.ct-score-n:focus { outline: none; }
.ct-score-n:focus-visible { outline: 2px solid var(--c-clay); outline-offset: 2px; }
.ct-score.v-ok b { color: var(--c-term); } .ct-score.v-part b { color: var(--c-p2); } .ct-score.v-miss b { color: var(--c-p1); }
.ct-score-g { margin: 0; font-weight: 700; letter-spacing: .1em; font-size: 12px; }
.ct-score-s { margin: 1px 0 0; color: var(--c-muted); font-size: 11px; }
.ct-qa { width: 100%; border-collapse: collapse; font-size: 12px; }
.ct-qa thead th { text-align: left; padding: 4px 8px; font-size: 10px; letter-spacing: .1em; color: var(--c-muted); font-weight: 600; background: var(--c-head); border-bottom: 1px solid var(--c-line); }
.ct-qa .r { text-align: right; }
.ct-qa tbody th { text-align: left; font-weight: 700; letter-spacing: .06em; padding: 5px 8px 0; white-space: nowrap; }
.ct-qa tbody td { padding: 5px 8px 0; font-weight: 600; white-space: nowrap; }
.ct-qa tr.why td { padding: 1px 8px 6px 28px; white-space: normal; font: 400 12.5px/1.45 var(--font-body); color: var(--c-fg-2); border-bottom: 1px solid var(--c-line-2); }
.ct-mark { display: inline-block; width: 16px; margin-right: 4px; font-weight: 800; }
.ct-qa .v-ok .ct-mark, .ct-qa .v-ok td.r { color: var(--c-term); }
.ct-qa .v-part .ct-mark, .ct-qa .v-part td.r { color: var(--c-p2); }
.ct-qa .v-miss .ct-mark, .ct-qa .v-miss td.r { color: var(--c-p1); }
.ct-review .ct-sendrow { margin-top: auto; border-top: 1px solid var(--c-line); }

/* ---------- pending grid ---------- */
.ct-grid { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12px; }
.ct-grid th { text-align: left; padding: 4px 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; color: var(--c-muted); background: var(--c-head); border-bottom: 1px solid var(--c-line); white-space: nowrap; }
.ct-grid td { padding: 4px 6px; border-bottom: 1px solid var(--c-line-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-grid .c-p { width: 28px; } .ct-grid .c-ev { width: 92px; } .ct-grid .c-ty { width: 72px; }
.ct-grid .c-bt { width: 44px; } .ct-grid .c-rc { width: 78px; } .ct-grid .c-w { width: 60px; }
.ct-grid td.p1 { color: var(--c-p1); font-weight: 700; } .ct-grid td.p2 { color: var(--c-p2); font-weight: 700; } .ct-grid td.p4 { color: var(--c-p4); }
.ct-grid td.ty-fire { color: var(--c-p1); } .ct-grid td.ty-law { color: var(--c-p2); } .ct-grid td.ty-ems { color: var(--c-blue); }
.ct-grid tr.is-new td { background: var(--c-sel); color: var(--c-term); }
.ct-grid tr.is-new td:first-child { box-shadow: inset 3px 0 0 var(--c-clay); }
.ct-grid tr.is-u td.c-loc { color: var(--c-p1); }
.ct-grid tbody tr:last-child td { border-bottom: 0; }

/* ---------- narrower: stack the windows ---------- */
@container ct (max-width: 820px) {
  .ct-desk { grid-template-columns: minmax(0, 1fr); grid-template-areas: "line" "ev" "pend"; }
  .ct-transcript { height: 220px; }
}
@container ct (max-width: 560px) {
  .ct-hide-s { display: none; }
  .ct-pick { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 1px; min-height: 58px; padding: 5px 7px; }
  .ct-pick-l { white-space: normal; line-height: 1.2; font-size: 11px; }
  .ct-pick b { font-size: 10.5px; letter-spacing: .06em; }
  .ct-pick-best { font-size: 9.5px; }
  .ct-fields { grid-template-columns: minmax(0, 1fr) 56px 74px; grid-template-areas: "type pri ag" "tinfo tinfo tinfo" "loc loc loc" "ver ver ver" "geo geo geo" "caller caller caller" "cb cb cb"; }
  .a-ver .ct-btn { min-height: 36px; }
  .ct-con input[type="text"], .ct-con select { height: 36px; font-size: 16px; }
  .ct-tl { grid-template-columns: 46px minmax(0, 1fr); }
  .ct-tl time { display: none; }
  .ct-narr li { grid-template-columns: minmax(0, 1fr); }
  .ct-narr li time { display: none; }
  .ct-qs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-q { min-height: 40px; font-size: 12.5px !important; line-height: 1.25; }
  .ct-grid .c-ev, .ct-grid .c-bt, .ct-grid .c-rc { display: none; }
  .ct-grid .c-ty { width: 64px; }
  .ct-qa { table-layout: fixed; }
  .ct-qa thead th:nth-child(1) { width: 38%; } .ct-qa thead th:nth-child(2) { width: 27%; }
  .ct-qa thead th:nth-child(3) { width: 15%; } .ct-qa thead th:nth-child(4) { width: 20%; }
  .ct-qa tbody th, .ct-qa tbody td, .ct-qa thead th { padding-left: 6px; padding-right: 6px; white-space: normal; }
  .ct-qa tbody th { overflow-wrap: anywhere; }
  .ct-mark { width: 12px; margin-right: 2px; }
  .ct-qa tr.why td { padding-left: 6px; }
  .ct-send { min-height: 40px; }
  .ct-tb { padding: 0 8px; }
}
@container ct (max-width: 400px) {
  .ct-hide-m { display: none; }
  .ct-score-n b { font-size: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ct-line.is-ring::before, .ct-ring::after, .ct-tl-t.is-live::after { animation: none; }
  .ct-ring::after { opacity: .5; transform: scale(1.2); }
}
