/*
  Unify - caption page styling.

  The approved direction: a dark blue-graphite ground, jade for live and
  confirmed text, amber for a line being reworked, muted rose for a line the
  confidence gate flagged. State is carried by a 2px left rail on every line
  rather than by badges, because a badge per line turns a transcript into a
  dashboard and Grant reads this while he is also in the meeting.

  Both themes come out of one set of custom properties. `prefers-color-scheme`
  decides by default and the header button overrides it; nothing else in the
  file names a colour directly.
*/

:root {
  color-scheme: dark;

  --ground: #0f1419;
  --raised: #161d23;
  --sunken: #0b1015;
  --line: #232c34;          /* hairline borders */
  --ink: #dfe6ea;
  --ink-soft: #97a4ad;
  --ink-faint: #6b7981;

  --jade: #4fb89a;          /* live, confirmed */
  --amber: #e0a33e;         /* pending an improvement */
  --rose: #c4797b;          /* the gate flagged this line */
  --jade-wash: rgba(79, 184, 154, 0.13);
  --amber-wash: rgba(224, 163, 62, 0.10);
  --rose-wash: rgba(196, 121, 123, 0.09);

  --radius: 4px;
  --rail: 2px;
  --gutter: 3.5rem;   /* the time column; trimmed with the cadence pass */

  /* Latin from the system UI face, CJK from whatever the platform ships.
     Bundling a CJK webfont would add megabytes to a .exe that has to be
     copied around on a memory stick. The Latin faces are listed first so
     they win for Latin glyphs and fall through for the rest. */
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "PingFang HK", "PingFang TC", "Microsoft JhengHei",
          "Microsoft YaHei", "Noto Sans CJK TC", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas,
          "Liberation Mono", monospace;
}

:root[data-theme="light"] {
  color-scheme: light;

  --ground: #f6f7f6;
  --raised: #ffffff;
  --sunken: #eceeed;
  --line: #dcdfdd;
  --ink: #1a2026;
  --ink-soft: #5a666e;
  --ink-faint: #808d95;

  --jade: #2f8a70;
  --amber: #a8741a;
  --rose: #a85a5c;
  --jade-wash: rgba(47, 138, 112, 0.10);
  --amber-wash: rgba(168, 116, 26, 0.10);
  --rose-wash: rgba(168, 90, 92, 0.08);
}

/* Light is opt-in, not automatic. This is a display surface glanced at
   mid-meeting, often on a second screen; the palette, the state rails and the
   contrast were all designed against the dark ground. Following
   `prefers-color-scheme` meant a viewer landed on the less-designed variant
   because of a system setting they chose months ago for something else.
   The header button switches; nothing switches for them. */
@media (prefers-color-scheme: light) {
  :root[data-theme="never-auto"] {
    color-scheme: light;

    --ground: #f6f7f6;
    --raised: #ffffff;
    --sunken: #eceeed;
    --line: #dcdfdd;
    --ink: #1a2026;
    --ink-soft: #5a666e;
    --ink-faint: #808d95;

    --jade: #2f8a70;
    --amber: #a8741a;
    --rose: #a85a5c;
    --jade-wash: rgba(47, 138, 112, 0.10);
    --amber-wash: rgba(168, 116, 26, 0.10);
    --rose-wash: rgba(168, 90, 92, 0.08);
  }
}

* { box-sizing: border-box; }

/* An author `display` beats the user agent's rule for [hidden], and the host
   controls are hidden with the attribute. A viewer must not see a switch they
   are not allowed to touch, so this one is worth the !important. */
[hidden] { display: none !important; }

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* -- header and footer ---------------------------------------------------- */

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.6rem 1rem;
  background: var(--raised);
  border-bottom: 1px solid var(--line);
}

.bar.status {
  border-bottom: none;
  border-top: 1px solid var(--line);
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  padding: 0.45rem 1rem;
}

.identity {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-right: auto;
  min-width: 0;
}

.wordmark {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.meeting {
  color: var(--ink-soft);
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pip {
  align-self: center;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-faint);
  flex: none;
}

.pip[data-state="live"] { background: var(--jade); }
.pip[data-state="idle"] { background: var(--ink-faint); }
.pip[data-state="waiting"] { background: var(--amber); }
.pip[data-state="down"] { background: var(--rose); }

.controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.field {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

select, .ghost {
  font: inherit;
  font-size: 0.875rem;
  color: var(--ink);
  background: var(--sunken);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.25rem 0.5rem;
}

.ghost { cursor: pointer; }
.ghost:hover, select:hover { border-color: var(--jade); }

select:disabled { color: var(--ink-faint); cursor: default; }

.switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  cursor: pointer;
  user-select: none;
}

.switch input { accent-color: var(--jade); margin: 0; }

.spend {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: 0.75rem;
  color: var(--ink-faint);
}

.spend-value {
  font-family: var(--mono);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--jade);
  outline-offset: 2px;
}

/* -- banners -------------------------------------------------------------- */

#banners:empty { display: none; }

.banner {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--line);
  background: var(--rose-wash);
  color: var(--ink);
}

.banner.warn { background: var(--amber-wash); }
.banner.note { background: var(--jade-wash); }

.banner button {
  margin-left: auto;
  font: inherit;
  color: var(--ink-soft);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0.25rem;
}

/* -- transcript ----------------------------------------------------------- */

main {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
}

.transcript {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  overflow-anchor: none;   /* the scroll is pinned by hand; see app.js */
  /* The column is established once, here, and every line fills it. Centring
     each line individually instead left the rail floating in the middle of a
     full-width scroller with a large dead margin beside it.

     The column grows with the window rather than sitting at a fixed 36rem.
     That fixed measure came from prose typography, where a long paragraph
     needs a short line to stay readable. This is not prose: captions arrive
     one per turn, most are a sentence or less, and on a wide screen a narrow
     column just wasted the space while making the long lines wrap three times.
     `clamp` keeps a floor for phones and a ceiling so an ultrawide monitor
     does not produce a genuinely unreadable measure. */
  padding: 1rem max(1rem, calc((100% - clamp(36rem, 82vw, 74rem)) / 2)) 40vh;
  scroll-behavior: auto;
}

.placeholder {
  color: var(--ink-faint);
  font-size: 0.9375rem;
  margin: 1rem auto;
  max-width: 46rem;
}

.line {
  position: relative;   /* the Correct button is taken out of flow; see below */
  display: grid;
  grid-template-columns: var(--gutter) 1fr;
  gap: 0 0.75rem;
  width: 100%;
  margin: 0;
  /* The right padding is a lane for the Correct button, which is positioned
     out of flow and would otherwise print across the end of the caption. */
  padding: 0.1rem 4.25rem 0.1rem 0.75rem;
  border-left: var(--rail) solid var(--ink-faint);
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
}

/* Clicking a line focuses it, and the global focus ring drew a full rounded
   box around the caption -- a heavy green rectangle in the middle of a
   transcript, for the ordinary act of clicking something. Keyboard users still
   need an unmistakable indicator, so the ring stays; it is pulled inside the
   line and paired with a background so it reads as "this row" rather than as
   an alert. */
.line:focus-visible {
  outline: 1px solid var(--jade);
  outline-offset: -1px;
  background: var(--sunken);
}

/* -- cadence --------------------------------------------------------------

   A transcript where every line is padded identically reads as a list, and a
   meeting does not sound like a list. Lines that follow closely on the one
   above are drawn as one block; a pause opens a gap and restates the time.

   This groups by **silence, not by speaker** -- we have no idea who is talking
   (SPEAKERS.md). Pauses track turn-taking closely enough to be worth showing,
   and the claim it makes is only "someone stopped", never "someone else
   started". The threshold and the measurements behind it are in app.js.
*/

.line[data-flow="break"] {
  margin-top: 0.85rem;
}

/* Within a block the time is dropped rather than repeated: it is the same
   moment to a second or so, and a column of near-identical numbers is the
   thing that made this read as a spreadsheet. `visibility` keeps the grid
   column, so the text stays on one left edge down the whole transcript. */
.line[data-flow="continues"] .time {
  visibility: hidden;
}

.line[data-flow="continues"] {
  border-top-left-radius: 0;
}

/* The first line of the transcript is a block start, not a continuation. */
.transcript > .line:first-of-type {
  margin-top: 0;
}

.line:hover { background: var(--sunken); }

.line .time {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink-faint);
  text-align: right;
  padding-top: 0.28rem;
  user-select: none;
}

.line .text {
  margin: 0;
  /* Mixed CJK and Latin is the normal case here, not the exception: a little
     extra leading keeps a line of hanzi from crowding the Latin above it, and
     `break-word` stops a long unbroken English term from widening the page.
     1.55 rather than 1.7 -- enough for hanzi, tight enough that a block of
     lines reads as a paragraph rather than as separate rows. */
  line-height: 1.55;
  overflow-wrap: break-word;
  word-break: normal;
}

/* -- line state ------------------------------------------------------------

   The rail is quiet by default and stays quiet for every ordinary line, so a
   grouped block reads as one calm stripe rather than a bar chart. It was
   originally jade on live, jade on escalated and faint jade on partial --
   which is to say coloured on essentially every line, so the colour carried
   almost no information and a block spanning two states changed colour partway
   down for no reason a reader could see.

   What is left is exceptional by construction:
     amber solid   a better version is in flight, right now
     grey dotted   the gate is unsure -- present, not shouting. With the gate
                   defaulting off nothing acts on it, so it is a hint about
                   which line to click, not a report of anything happening
     a tick        this line was improved or corrected (see `.tick`)
*/

.line[data-state="flagged"] {
  border-left-style: dotted;
  border-left-color: var(--ink-faint);
}

.line[data-state="escalating"] { border-left-color: var(--amber); }

/* What was done to a line is marked on the line, not painted down its side. A
   tick says "someone improved this" exactly where the reader is already
   looking, and it survives the block grouping because it belongs to the text
   rather than to the row. */
.tick {
  margin-left: 0.35rem;
  color: var(--jade);
  font-weight: 600;
  cursor: help;
}

/* Pending: the agreed behaviour is italic while a better version is in
   flight, so the reader can tell "this may change" from "this is the text". */
.line[data-state="escalating"] .text { font-style: italic; color: var(--ink-soft); }

.line[data-state="partial"] .text::after {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 1em;
  margin-left: 0.15em;
  vertical-align: -0.15em;
  background: var(--jade);
  opacity: 0.7;
  animation: blink 1.1s steps(1, end) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .line[data-state="partial"] .text::after { animation: none; }
  .swap { animation: none !important; }
}

/* The in-place swap: a brief wash, no movement. The line must not jump when
   Claude's version lands - a reader mid-sentence loses their place. */
.swap { animation: swap 1.1s ease-out; }
@keyframes swap {
  from { background: var(--jade-wash); }
  to { background: transparent; }
}

/* Unconfirmed lookahead. Dimmed, never italic - italic means pending, and the
   two must not be confusable. */
.stash { color: var(--ink-faint); }

/* A glossed term: the English as spoken, its meaning in brackets after it
   (DECISIONS.md section 5). */
.term {
  border-bottom: 1px dotted var(--jade);
  padding-bottom: 1px;
}

.gloss {
  color: var(--ink-soft);
  font-size: 0.9em;
}

/* -- per-line detail ------------------------------------------------------ */

.meta {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.75rem;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: var(--ink-faint);
}

.meta:empty { display: none; }

.meta button {
  font: inherit;
  color: var(--ink-soft);
  background: none;
  border: none;
  border-bottom: 1px dotted var(--line);
  padding: 0;
  cursor: pointer;
}

.meta button:hover { color: var(--ink); border-bottom-color: var(--ink-soft); }

.original {
  grid-column: 2;
  margin: 0.25rem 0 0.15rem;
  padding: 0.3rem 0.6rem;
  border-left: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.original .label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Chips are a toggle and off by default: they make the gate arguable while it
   is still being tuned, and clutter once it is trusted (DECISIONS.md 11). */
.chips { display: none; gap: 0.35rem; flex-wrap: wrap; }
body[data-chips="on"] .chips { display: inline-flex; }

.chip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 0.35rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* What was heard. Prose rather than a value, and monospace sets CJK badly on
   most Windows machines - the fallback face is not the one the captions use. */
.chip.source { font-family: var(--sans); font-size: 0.75rem; }

.chip.flag { border-color: var(--rose); color: var(--rose); }
.chip.model { border-color: var(--jade); color: var(--jade); }
.chip.pending { border-color: var(--amber); color: var(--amber); }

/* -- jump to live --------------------------------------------------------- */

.jump {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  font: inherit;
  font-size: 0.8125rem;
  color: var(--ground);
  background: var(--jade);
  border: none;
  border-radius: var(--radius);
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* -- small screens (the PWA case, Phase 4) -------------------------------- */

@media (max-width: 34rem) {
  :root { --gutter: 3.2rem; }
  body { font-size: 15px; }
  .line { padding-right: 0.25rem; }
  .hint { display: none; }
  /* No lane to spare at this width, and correcting a transcript is desk work
     on the host's machine. Hidden rather than left to overlap the caption. */
  .fix-open { display: none; }
}

/* ---------------------------------------------------------------------------
   Controls.

   Everything above styles our own elements; these are the browser's. A native
   <select> and checkbox sit in a completely different visual language to the
   rest of the page - different corner radius, different focus ring, different
   idea of what a control looks like - and next to custom UI they read as
   unfinished rather than as neutral. They also carry no type hierarchy, so the
   header ended up five same-weight things in a row with no rhythm.
--------------------------------------------------------------------------- */

.field { display: flex; align-items: center; gap: 0.5rem; }

.field-label,
.spend-label {
  font-family: var(--mono, ui-monospace, Consolas, monospace);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}

select#lang {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-size: 13.5px;
  color: var(--ink);
  background-color: var(--sunken);
  /* Chevron drawn from two gradients rather than left to the platform, which
     otherwise supplies a widget from a different design system entirely. */
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 13px center, right 8px center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  border: 1px solid var(--line);
  border-radius: var(--radius, 4px);
  padding: 5px 26px 5px 10px;
  cursor: pointer;
}
select#lang:disabled { opacity: 0.5; cursor: default; }
select#lang option { background: var(--raised); color: var(--ink); }

.switch { align-items: center; gap: 0.5rem; font-size: 12.5px; }

.switch input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  width: 30px;
  height: 17px;
  border-radius: 9px;
  background: var(--line);
  position: relative;
  flex: none;
  cursor: pointer;
  transition: background 0.18s;
}
.switch input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--raised);
  transition: transform 0.18s;
}
.switch input[type="checkbox"]:checked { background: var(--jade); }
.switch input[type="checkbox"]:checked::after { transform: translateX(13px); }

/* `hidden` must beat the flex display or a viewer sees the host's switch -
   this exact collision shipped once already. */
.switch[hidden], [hidden] { display: none !important; }

.wordmark { font-size: 14.5px; font-weight: 640; letter-spacing: -0.01em; }

.spend-value {
  font-family: var(--mono, ui-monospace, Consolas, monospace);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

/* -- correction panel ------------------------------------------------------

   Host only. A <dialog>, so focus trapping, Escape and the backdrop are the
   browser's job rather than ours.

   The quoted line at the top is the whole reason this is a panel and not an
   inline edit: correcting a translation means reading what was *heard* beside
   what came out, and neither fits in the transcript row.
*/

.fix {
  width: min(34rem, calc(100vw - 2rem));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--raised);
  color: var(--ink);
}

.fix::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.fix form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
}

.fix h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.fix-quote {
  border-left: var(--rail) solid var(--jade);
  padding: 0.55rem 0 0.55rem 0.75rem;
  background: var(--sunken);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.fix-quote p {
  margin: 0;
}

/* What the ASR heard. Shown in the source language and dimmer than the
   translation: it is evidence, not the thing being corrected. */
.fix-heard {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.fix-heard:empty::before {
  content: "(no source text for this line)";
  color: var(--ink-faint);
  font-style: italic;
}

.fix-live {
  margin-top: 0.35rem !important;
  color: var(--ink);
}

.fix-field,
.fix-term {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.fix-field > span,
.fix-term legend,
.fix-pair label > span {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.fix-term {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem;
}

.fix-term legend {
  padding: 0 0.35rem;
}

.fix-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 0.5rem;
}

.fix-pair label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.fix-arrow {
  padding-bottom: 0.55rem;
  color: var(--ink-faint);
}

.fix input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sunken);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
}

.fix input[type="text"]:focus-visible {
  outline: 2px solid var(--jade);
  outline-offset: -1px;
}

.fix small {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--ink-faint);
}

/* Warnings are amber, not red: none of them is a refusal. They exist because
   the failure mode is invisible at the point of decision, not because the
   person is wrong. */
.fix-warnings {
  border-left: var(--rail) solid var(--amber);
  background: var(--amber-wash);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.6rem 0.75rem;
  font-size: 0.83rem;
  line-height: 1.45;
}

.fix-warnings ul {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}

.fix-warnings li + li {
  margin-top: 0.3rem;
}

.fix-warnings strong {
  font-weight: 600;
  color: var(--amber);
}

.fix-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.fix-actions button {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.fix-actions .primary {
  border: 1px solid var(--jade);
  background: var(--jade-wash);
  color: var(--ink);
}

.fix-actions .primary:hover {
  background: var(--jade);
  color: var(--ground);
}

/* The affordance on each line. Hidden for viewers entirely, and only drawn on
   hover or focus for the host: a button on every row would turn a transcript
   into a form, and the host is reading this during a meeting. */
/* Out of flow, deliberately. `.meta:empty` collapses to nothing, so a button
   sitting in the meta row gave every single line an extra ~18px whether or not
   anyone was looking at it -- the transcript grew a blank stripe under each
   caption. Absolute positioning costs the layout nothing and keeps the row
   collapsed.

   It needs a lane of its own, though: `.line` reserves the room on the right
   (see `padding-right`) so the button sits beside the caption rather than on
   top of it. Overlapping text was worse than the spacing it replaced. */
.fix-open {
  position: absolute;
  top: 0.1rem;
  right: 0.4rem;
  border: 0;
  background: none;
  padding: 0 0.25rem;
  font: inherit;
  font-size: 0.72rem;
  color: var(--ink-faint);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.12s ease;
}

.line:hover .fix-open,
.line:focus-within .fix-open,
.fix-open:focus-visible {
  opacity: 1;
}

.fix-open:hover {
  color: var(--jade);
  text-decoration: underline;
}

/* A corrected line no longer pins its button open: the tick says it happened,
   and a permanently visible control on some rows and not others was the same
   mistake the rails were making. */

@media (prefers-reduced-motion: reduce) {
  .fix-open { transition: none; }
}

/* An utterance the recogniser heard and the translator returned nothing for.
   Said plainly rather than left blank: a rose rail against empty space reads
   as a bug in the page, when what it actually reports is a lost turn. Muted
   and italic so it is legible as commentary, not mistaken for speech. */
.lost {
  color: var(--ink-faint);
  font-style: italic;
  font-size: 0.9em;
}
