@font-face {
  font-family: "Inter Tight";
  src: url("fonts/InterTight-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

:root {
  --paper: #F7F6F3;
  --surface: #FFFFFF;
  --ink: #1A1916;
  --muted: #5C5955;
  --line: #E4E2DC;
  --ok: #0F5E3F;
  --ok-bg: #E7F3EC;
  --ok-line: #C5E0D2;
  --warn: #7A4E00;
  --warn-bg: #F6EFE2;
  --warn-line: #E8D7B8;
  --err: #8C2A2A;
  --err-bg: #F6EBEA;
  --err-line: #E8C9C9;
  --info: #2A5573;
  --info-bg: #E7EDF2;
  --info-line: #C5D3DE;
  --radius: 12px;
  --radius-pill: 8px;
  --shadow: 0 1px 2px rgba(26, 25, 22, 0.04);
  --shadow-modal: 0 8px 28px rgba(26, 25, 22, 0.10), 0 1px 2px rgba(26, 25, 22, 0.04);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --dur: 240ms;
  --font-display: "Inter Tight", Inter, ui-sans-serif, sans-serif;
  --font-ui: Inter, ui-sans-serif, sans-serif;
  --accent: #1E4A4A;
}

@layer base {
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
  }
}

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button, input, select { font: inherit; color: inherit; }
button { border: 0; background: none; appearance: none; cursor: default; }
img { display: block; max-width: 100%; }

/* Artboards */
.phone {
  width: 390px;
  height: 844px;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.desktop {
  width: 1440px;
  height: 900px;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.card-a5 {
  width: 595px;
  height: 842px;
  background: var(--surface);
  color: var(--ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 52px 40px;
}
.card-a5 .church {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.card-a5 .qr { width: 280px; height: 280px; margin: 48px 0 24px; }
.card-a5 .link {
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.02em;
}
.card-a5 .instr { margin-top: 44px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.card-a5 .instr p + p { margin-top: 14px; color: var(--muted); }
.card-a5 .instr p:first-child { color: var(--ink); }
.card-a5 .wordmark { margin-top: auto; }

.tent-face {
  width: 420px;
  height: 594px;
  background: var(--surface);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 28px 28px;
  overflow: hidden;
}
.tent-face .church {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.tent-face .qr { width: 196px; height: 196px; margin: 22px 0 16px; }
.tent-face .link { font-size: 12px; font-weight: 550; letter-spacing: -0.02em; }
.tent-face .instr { margin-top: 22px; font-size: 12px; line-height: 1.4; }
.tent-face .instr p + p { margin-top: 8px; color: var(--muted); }
.tent-face .wordmark { margin-top: auto; font-size: 13px; }

.tent-stage {
  width: 1100px;
  height: 800px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.tent-stage .stage-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.tent-3d {
  perspective: 1600px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 560px;
}
.tent-wing {
  width: 340px;
  height: 460px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px 16px;
}
.tent-wing.front {
  transform: rotateY(32deg);
  transform-origin: right center;
  border-right: 0;
}
.tent-wing.back {
  transform: rotateY(-32deg);
  transform-origin: left center;
  border-left: 1px solid #D8D5CE;
}
.tent-wing .church {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.tent-wing .qr { width: 150px; height: 150px; margin: 16px 0 12px; }
.tent-wing .link { font-size: 10px; font-weight: 550; letter-spacing: -0.02em; }
.tent-wing .instr { margin-top: 14px; font-size: 9.5px; line-height: 1.4; color: var(--muted); }
.tent-wing .instr p { white-space: nowrap; }
.tent-wing .instr p + p { margin-top: 6px; }
.tent-wing .wordmark { margin-top: auto; font-size: 11px; }
.tent-shadow {
  width: 420px;
  height: 18px;
  margin-top: 4px;
  background: radial-gradient(ellipse at center, rgba(26,25,22,0.10), rgba(26,25,22,0) 70%);
}
.tent-captions {
  display: flex;
  width: 560px;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

/* Chrome */
.status-bar {
  height: 54px;
  padding: 14px 24px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-shrink: 0;
}
.status-bar .time {
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.02em;
  width: 64px;
}
.status-bar .sys { display: flex; align-items: center; gap: 6px; height: 22px; }
.status-bar .sys-icon { display: flex; align-items: center; }
.status-bar .sys-icon.cellular svg { width: 18px; height: 12px; }
.status-bar .sys-icon.wifi svg { width: 16px; height: 12px; }
.status-bar .sys-icon.battery svg { width: 27px; height: 13px; }

.home-indicator {
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}
.home-indicator::after {
  content: "";
  width: 134px;
  height: 5px;
  border-radius: 100px;
  background: var(--ink);
  opacity: 0.88;
}

.phone-main {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.03em;
  line-height: 24px;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark .wm-ref {
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.icon-btn svg { width: 20px; height: 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: var(--radius);
  font-weight: 550;
  font-size: 16px;
  letter-spacing: -0.01em;
  width: 100%;
  text-align: center;
  transition: background var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.btn-primary { background: var(--ink); color: var(--surface); }
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  min-height: 44px;
  font-weight: 550;
}
.btn-disabled, .btn[aria-disabled="true"] {
  background: #E9E7E2;
  color: var(--muted);
  border: 0;
  box-shadow: none;
}
.btn-sm { min-height: 44px; font-size: 15px; width: auto; padding: 0 16px; }

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 16px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
}

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 6px;
}
.field, .select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 0 14px;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-shadow: var(--shadow);
}
.field-value { font-weight: 500; }
.select-chevron { color: var(--muted); display: flex; }
input.field {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  box-shadow: var(--shadow);
}
input.field:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.field.is-error,
input.field.is-error {
  border-color: var(--err);
  box-shadow: none;
}
.code-field {
  justify-content: center;
  text-align: center;
  min-height: 56px;
  font-size: 22px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.4em;
  padding-left: 22px; /* optical centre with letter-spacing */
  padding-right: 8px;
}
.code-field::placeholder { color: #C4C0B8; letter-spacing: 0.4em; }
.field-error {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--err);
  font-weight: 500;
}
.meter-hint,
.inline-note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 500;
}
.meter-hint strong,
.inline-note strong {
  font-weight: 550;
  color: var(--ink);
}

.locale-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  padding: 0 4px 0 14px;
  min-height: 22px;
  font-size: 12px;
  color: var(--muted);
}
.locale-value {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--ink);
  font-weight: 500;
  font-size: 12px;
}
.auto-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.auto-row .toggle { margin-top: 2px; }
.elapsed.is-frozen { color: var(--muted); }


/* Status pills: colour + text + icon, never colour alone */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0 9px 0 7px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  border: 1px solid transparent;
  white-space: nowrap;
}
.pill svg { width: 12px; height: 12px; flex-shrink: 0; }
.pill-live { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); }
.pill-ok { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); }
.pill-delayed { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); }
.pill-failed { background: var(--err-bg); color: var(--err); border-color: var(--err-line); }
.pill-reconnect { background: var(--info-bg); color: var(--info); border-color: var(--info-line); }
.pill-wait { background: #F0EEE9; color: var(--muted); border-color: var(--line); }
.pill-paused { background: var(--paper); color: var(--ink); border-color: var(--line); }
.pill.is-stale { background: var(--surface); }
.pill-live.is-stale, .pill-ok.is-stale { color: var(--ok); border-color: var(--ok-line); }
.pill-delayed.is-stale { color: var(--warn); border-color: var(--warn-line); }
.pill-failed.is-stale { color: var(--err); border-color: var(--err-line); }
.pill-reconnect.is-stale { color: var(--info); border-color: var(--info-line); }
.tip-wrap { position: relative; display: inline-flex; align-items: center; }
.tip {
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: var(--surface);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.2;
  padding: 5px 8px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: var(--shadow-modal);
  z-index: 3;
  pointer-events: none;
}
.tip::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: var(--ink);
}
.transcript.is-dim p { color: var(--muted); }

.lang-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1;
  white-space: nowrap;
}
.pin-control {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  text-transform: none;
  flex-shrink: 0;
}
.pin-state {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.switch-marker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.3;
  text-transform: none;
}
.switch-marker span { white-space: nowrap; }
.switch-marker::before,
.switch-marker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  min-width: 12px;
}
.orig-note {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.live-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-height: 0;
}
.live-targets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  flex: 1;
  min-height: 0;
}
.live-targets.is-two { grid-template-columns: repeat(2, 1fr); }
.live-targets .transcript { height: 100%; min-height: 148px; }
.transcript.is-source { min-height: 108px; flex-shrink: 0; }

.hc .lang-tag { background: #000; color: #FFF; border-color: #FFF; }
.hc .pin-state, .hc .orig-note { color: #FFF; }
.hc .switch-marker { color: #FFF; }
.hc .switch-marker::before,
.hc .switch-marker::after { background: #FFF; }

.banner {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  box-shadow: var(--shadow);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.banner svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.banner strong { font-weight: 650; }
.banner-ok { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ink); }
.banner-ok svg { color: var(--ok); }
.banner-warn { background: var(--warn-bg); border-color: var(--warn-line); }
.banner-warn svg { color: var(--warn); }
.banner-err { background: var(--err-bg); border-color: var(--err-line); }
.banner-err svg { color: var(--err); }
.banner-info { background: var(--info-bg); border-color: var(--info-line); }
.banner-info svg { color: var(--info); }

.meter {
  height: 10px;
  border-radius: 100px;
  background: #E9E7E2;
  overflow: hidden;
  position: relative;
}
.meter-fill {
  height: 100%;
  background: var(--ink);
  border-radius: 100px;
}
.meter-flat .meter-fill { width: 0 !important; background: transparent; }

.caption {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.35;
  font-weight: 550;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.caption-sm { font-size: 20px; }
.caption-lg { font-size: 30px; }
.caption-xl { font-size: 36px; line-height: 1.28; font-weight: 600; }

.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 25, 22, 0.28);
}
.sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-radius: 16px 16px 0 0;
  padding: 8px 20px 34px;
  z-index: 2;
  box-shadow: 0 -8px 24px rgba(26, 25, 22, 0.06);
}
.sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 100px;
  background: #E4E2DC;
  margin: 6px auto 12px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 25, 22, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  z-index: 2;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  width: 480px;
  max-width: 100%;
  box-shadow: var(--shadow-modal);
}

.seg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.seg-btn {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 13px;
  font-weight: 550;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.seg-btn.is-on {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
  font-weight: 600;
  box-shadow: none;
}

.toggle {
  width: 52px;
  height: 32px;
  border-radius: 100px;
  background: #E9E7E2;
  border: 1px solid var(--line);
  position: relative;
  flex-shrink: 0;
}
.toggle.is-on { background: var(--ink); border-color: var(--ink); }
.toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 100px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: left var(--dur) var(--ease);
}
.toggle.is-on::after { left: 23px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 15px;
  font-weight: 550;
  box-shadow: var(--shadow);
}
.chip.is-on { border-color: var(--ink); background: var(--paper); font-weight: 600; box-shadow: none; }
.chip-check {
  width: 18px;
  height: 18px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
}
.chip.is-on .chip-check { background: var(--ink); color: var(--surface); }
.chip.is-source {
  background: var(--paper);
  color: var(--muted);
  box-shadow: none;
  cursor: default;
  gap: 10px;
}
.chip-tag {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 6px;
  color: var(--muted);
  line-height: 1;
}

.app-bar {
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.app-main { flex: 1; min-height: 0; padding: 24px 28px 28px; display: flex; flex-direction: column; }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px 32px;
  width: 680px;
  max-width: 100%;
  box-shadow: var(--shadow);
}

.transcript {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px 18px;
  min-height: 112px;
  box-shadow: var(--shadow);
}
.transcript-kicker {
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.transcript-kicker .left { display: flex; align-items: center; gap: 8px; }
.transcript p {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.03em;
  font-weight: 550;
}

.change-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-size: 14px;
  font-weight: 550;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.print-preview {
  background: var(--surface);
  border: 1px solid var(--line);
  width: 340px;
  height: 481px;
  padding: 24px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow);
}
.print-preview .church {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.print-preview .qr { width: 168px; height: 168px; margin: 18px 0 14px; }
.print-preview .qr img, .card-a5 .qr img, .tent-face .qr img, .tent-wing .qr img { width: 100%; height: 100%; }
.print-preview .link { font-size: 11px; font-weight: 550; letter-spacing: -0.02em; }
.print-preview .instr { margin-top: 16px; font-size: 10.5px; line-height: 1.4; color: var(--muted); }
.print-preview .instr p + p { margin-top: 8px; }
.print-preview .wordmark { margin-top: auto; font-size: 12px; }

.invite-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}


/* Gap marker: skip-to-live after an operator drop */
.gap-marker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.3;
}
.gap-marker span { white-space: nowrap; }
.gap-marker::before,
.gap-marker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  min-width: 12px;
}

/* Calm inline notice for audio degradation (captions stay the hero) */
.audio-notice {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 500;
}
.audio-notice strong {
  font-weight: 550;
  color: var(--ink);
}

/* High contrast: pure black/white, heavier type, no colour status */
.hc,
.hc.phone { background: #000; color: #FFF; }
.hc .wordmark, .hc .wordmark .wm-ref, .hc .caption, .hc .display, .hc p, .hc h1, .hc .field-label { color: #FFF; }
.hc .text-muted, .hc [class*="text-muted"] { color: #FFF !important; }
.hc .icon-btn {
  background: #000;
  color: #FFF;
  border: 2px solid #FFF;
  box-shadow: none;
}
.hc .btn-primary { background: #FFF; color: #000; }
.hc .btn-secondary, .hc .btn-ghost { background: #000; color: #FFF; border: 2px solid #FFF; box-shadow: none; }
.hc .btn-disabled { background: #000; color: #FFF; border: 2px solid #FFF; opacity: 1; }
.hc .pill { background: #000; color: #FFF; border: 2px solid #FFF; }
.hc .banner { background: #000; color: #FFF; border: 2px solid #FFF; box-shadow: none; }
.hc .banner svg { color: #FFF; }
.hc .sheet { background: #000; border-top: 2px solid #FFF; box-shadow: none; }
.hc .sheet-handle { background: #FFF; }
.hc .seg-btn { background: #000; color: #FFF; border: 2px solid #FFF; box-shadow: none; }
.hc .seg-btn.is-on { background: #FFF; color: #000; border-color: #FFF; }
.hc .toggle { background: #000; border: 2px solid #FFF; }
.hc .toggle.is-on { background: #FFF; }
.hc .toggle::after { background: #FFF; }
.hc .toggle.is-on::after { background: #000; }
.hc .home-indicator::after { background: #FFF; opacity: 1; }
.hc .caption { font-weight: 700; }
.hc .btn { font-weight: 700; }
.hc .field-label { font-weight: 700; }

.hc .gap-marker { color: #FFF; }
.hc .gap-marker::before,
.hc .gap-marker::after { background: #FFF; }
.hc .audio-notice,
.hc .audio-notice strong,
.hc .meter-hint,
.hc .meter-hint strong,
.hc .inline-note,
.hc .inline-note strong { color: #FFF; }
.hc .chip.is-source, .hc .chip-tag { color: #FFF; border-color: #FFF; background: #000; }
.hc .field.is-error, .hc input.field.is-error { border-color: #FFF; }
.hc .field-error { color: #FFF; }
.hc .tip { background: #FFF; color: #000; }
.hc .tip::before { border-right-color: #FFF; }
.hc .transcript.is-dim p { color: #FFF; opacity: 0.8; }
.hc .pill.is-stale { background: #000; }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

.suggest-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 6px 8px 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.suggest-msg {
  flex: 1 1 auto;
  min-width: 140px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}
.suggest-msg strong { font-weight: 550; color: var(--ink); }
.speaker-line {
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--muted);
}
.toast {
  position: absolute;
  left: 50%;
  bottom: 168px;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--surface);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.01em;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: var(--shadow-modal);
  white-space: nowrap;
  z-index: 6;
  pointer-events: none;
}
.hc .suggest-strip { background: #000; border-color: #FFF; }
.hc .suggest-msg, .hc .speaker-line { color: #FFF; }
.hc .suggest-msg strong { color: #FFF; }
.hc .toast { background: #FFF; color: #000; }
