:root {
  --bg: #0f1419;
  --surface: #1a222d;
  --surface-2: #243040;
  --text: #e8edf4;
  --muted: #8b9cb3;
  --accent: #3d8bfd;
  --accent-hover: #5a9dff;
  --ok: #3ecf8e;
  --bad: #f07178;
  --radius: 8px;
  --tap: 40px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.3;
  min-height: 100dvh;
  padding-bottom: calc(152px + env(safe-area-inset-bottom));
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--surface-2);
  padding: 8px 12px;
}

.header-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header h1 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.btn-home-back {
  background: var(--surface-2);
  border: none;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 6px 12px;
  min-height: 32px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-home-back[hidden] {
  display: none !important;
}

/* ─── HOME SCREEN ─────────────────────────────────────────── */

.screen-home {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 0 24px;
}

.screen-home[hidden] {
  display: none !important;
}

.home-prompt {
  margin: 4px 0 4px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.home-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 18px;
  border: 1px solid var(--surface-2);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.home-btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  min-height: 88px;
  justify-content: center;
}

.home-btn--primary:hover {
  background: var(--accent-hover);
}

.home-btn-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.home-btn-sub {
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.9;
}

.home-btn--secondary {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px;
  margin-top: 4px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.home-btn--secondary:hover {
  color: var(--text);
}

main {
  padding: 8px 10px calc(168px + env(safe-area-inset-bottom));
  max-width: 560px;
  margin: 0 auto;
  scroll-padding-bottom: calc(168px + env(safe-area-inset-bottom));
}

.context-settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: end;
  margin-bottom: 10px;
  padding: 8px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--surface-2);
}

.context-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.context-field-date {
  grid-column: 1 / -1;
}

.context-label {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.context-select {
  width: 100%;
  min-height: var(--tap);
  border: 1px solid var(--surface-2);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0 8px;
}

.context-date-input {
  width: 100%;
  min-height: var(--tap);
  border: 1px solid var(--surface-2);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0 8px;
  font-family: inherit;
}

.date-display {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.date-warning {
  margin: 4px 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bad);
}

.date-warning[hidden] {
  display: none !important;
}


.last-count-section {
  margin-bottom: 10px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius);
}

.last-count-section[hidden] {
  display: none !important;
}

.last-count-actions {
  display: flex;
  gap: 6px;
}

.last-count-details {
  margin: 8px 0 0;
  padding: 8px;
  background: var(--bg);
  border: 1px solid var(--surface-2);
  border-radius: 6px;
  color: var(--text);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  font-size: 0.75rem;
  line-height: 1.35;
  white-space: pre-wrap;
  overflow-x: auto;
}

.panel[hidden] {
  display: none !important;
}

.denom-section {
  margin-bottom: 10px;
}

.denom-section > h2 {
  margin: 0 0 4px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.bills-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.coins-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  align-items: start;
}

.coins-col h3 {
  margin: 0 0 4px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.denom-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.denom-row {
  display: grid;
  grid-template-columns: 1fr 52px 92px;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border-radius: 6px;
  padding: 4px 6px;
  min-height: 36px;
}

.denom-row label {
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qty-input {
  width: 100%;
  height: var(--tap);
  max-height: 36px;
  border: 1px solid var(--surface-2);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  text-align: center;
  padding: 0 4px;
}

.qty-input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

.line-total {
  text-align: right;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  padding-right: 2px;
}

/* iPhone width: coin labels must be fully visible (no "5..." truncation). */
@media (max-width: 480px) {
  .coins-split {
    gap: 4px;
  }

  /* Only change rows inside the coin section. */
  .coins-split .denom-row {
    grid-template-columns: 1fr 38px 52px; /* give more room to the label */
    gap: 2px;
    padding: 4px 4px;
    min-height: 44px; /* allow wrapped label to have vertical space */
  }

  .coins-split .denom-row label {
    font-size: 0.78rem;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.05;
  }

  .coins-split .line-total {
    font-size: 0.8rem;
    padding-right: 0;
  }
}

@media (max-width: 340px) {
  .coins-split {
    grid-template-columns: 1fr;
  }

  .bills-list {
    grid-template-columns: 1fr;
  }
}

.step-badge {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step-badge.blind {
  color: var(--accent);
}

.step-badge.badge--recount {
  color: var(--accent);
}

.total-bar {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100% - 20px, 560px);
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.35);
}

.total-label {
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.total-amount {
  font-size: 1.6rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  margin: 0 0 6px;
  line-height: 1.1;
}

.total-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.btn {
  min-height: 40px;
  border: none;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0 12px;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  flex: 1;
}

.btn.primary:hover {
  background: var(--accent-hover);
}

.btn.secondary {
  background: var(--surface-2);
  color: var(--text);
  flex: 1;
}

.btn.subtle {
  min-height: 34px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.78rem;
  flex: 1;
}

.btn.confirming {
  background: var(--bad);
  color: #fff;
}

.btn.full {
  width: 100%;
  margin-top: 8px;
}

.total-bar.blind-count .total-label,
.total-bar.blind-count #double-grand-total {
  display: none;
}

.drs-overlay {
  position: fixed;
  inset: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: flex-end;
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.7);
}

.drs-overlay[hidden] {
  display: none !important;
}

.drs-card {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius);
  padding: 20px 16px 16px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
}

.drs-instruction {
  margin: 0 0 4px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.drs-overlay-total {
  margin: 0 0 12px;
  font-size: 2.4rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  line-height: 1;
}

.drs-question {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.drs-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drs-card-actions .btn.full {
  width: 100%;
  margin-top: 0;
}

/* ── Step 19: Recount matched DRS confirmation ──────────────────────── */

.drs-recount-drs-confirm {
  margin: 14px 0 0;
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--surface-2);
  border-radius: 6px;
}

.drs-recount-drs-confirm[hidden] {
  display: none !important;
}

.check-these-lines-label {
  margin: 8px 0 4px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.denom-diff-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px solid var(--surface-2);
  font-size: 0.85rem;
}

.denom-diff-row:last-child {
  border-bottom: none;
}

.denom-diff-label {
  font-weight: 600;
  color: var(--text);
}

.denom-diff-counts {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.recount-checklist-note {
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

/* ── Step 17: Variance section ──────────────────────────────────────── */

.drs-variance-section {
  margin: 14px 0 0;
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--surface-2);
  border-radius: 6px;
}

.drs-variance-section[hidden] {
  display: none !important;
}

.drs-variance-prompt {
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.drs-expected-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 0 12px;
  margin-bottom: 10px;
  border: 1px solid var(--surface-2);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.drs-expected-input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

.variance-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 12px;
  margin: 0 0 10px;
}

.variance-grid dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  align-self: center;
}

.variance-grid dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.variance-diff-small {
  color: var(--muted);
}

.variance-diff-large {
  color: var(--bad);
}

.drs-variance-note {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.drs-variance-next {
  margin: 0 0 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.recount-coin-reminder {
  margin: 0 0 10px;
  padding: 8px 10px;
  font-size: 0.82rem;
  color: var(--text);
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
}

.drs-replace-confirm {
  margin: 14px 0 0;
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--bad);
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

.drs-replace-confirm[hidden] {
  display: none !important;
}

.drs-replace-confirm p {
  margin: 0 0 4px;
  font-weight: 600;
}

.drs-replace-confirm .drs-card-actions {
  margin-top: 10px;
}

.blind-active-msg {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
}

.double-step-result {
  padding-bottom: 16px;
}

.result-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.result-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
  border: 2px solid var(--surface-2);
}

.result-card.match {
  border-color: var(--ok);
}

.result-card.mismatch {
  border-color: var(--bad);
}

.result-card h2 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.result-card.match h2 {
  color: var(--ok);
}

.result-card.mismatch h2 {
  color: var(--bad);
}

.result-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  margin: 0;
}

.result-grid dt {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.result-grid dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.result-grid dd.highlight {
  color: var(--bad);
}

.result-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.denom-diff-heading {
  margin: 14px 0 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}

.denom-diff-list {
  margin: 0;
  padding-left: 1rem;
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.45;
}

.denom-diff-list li {
  margin-bottom: 4px;
}

.result-grid dd.zero-diff {
  color: var(--ok);
}

.result-note.result-note-inline {
  margin-top: 6px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%) translateY(12px);
  background: var(--surface-2);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 20;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 561px) {
  .total-bar {
    width: 560px;
  }
}

/* ─── DEVICE SETUP ────────────────────────────────────────── */

.device-setup-fields {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.device-setup-fields[hidden] {
  display: none !important;
}

.device-setup-save {
  grid-column: 1 / -1;
}

.device-locked-display {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}

.device-locked-display[hidden] {
  display: none !important;
}

.device-locked-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.device-locked-text {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.btn-link {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.78rem;
  cursor: pointer;
  padding: 4px 0;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 2px;
  flex-shrink: 0;
}

.device-change-warning {
  grid-column: 1 / -1;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--bad);
  border-radius: 6px;
}

.device-change-warning[hidden] {
  display: none !important;
}

.device-change-warning-text {
  margin: 0 0 10px;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.45;
}

.device-change-actions {
  display: flex;
  gap: 8px;
}

/* ─── DAY CLOSE PANEL ─────────────────────────────────────── */

.day-close-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.day-close-content {
  padding-bottom: 24px;
}

.day-close-empty,
.day-close-loading {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 32px 0;
  margin: 0;
}

.dc-meta {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dc-registers {
  margin-bottom: 4px;
}

.dc-register-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--surface);
  border-radius: 6px;
  margin-bottom: 4px;
  min-height: 44px;
}

.dc-reg-label {
  font-size: 0.92rem;
  font-weight: 600;
}

.dc-reg-total {
  font-size: 0.92rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.dc-row--missing .dc-reg-label {
  color: var(--muted);
}

.dc-reg-total--missing {
  color: var(--muted);
  font-weight: 500;
}

.dc-row--unresolved .dc-reg-label {
  color: var(--bad);
}

.dc-reg-total--unresolved {
  color: var(--bad);
  font-weight: 600;
  font-size: 0.85rem;
}

.dc-reg-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.dc-checklist-flag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dc-unresolved-note {
  margin: 6px 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bad);
}

.dc-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: var(--surface-2);
  border-radius: 6px;
  margin: 8px 0 4px;
  min-height: 48px;
}

.dc-total-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dc-total-amount {
  font-size: 1.3rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.dc-incomplete {
  margin: 6px 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bad);
}

.dc-all-complete {
  margin: 6px 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ok);
}

/* ─── PENDING SUBMISSION BANNER ──────────────────────────── */

.pending-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: color-mix(in srgb, #c07800 18%, var(--bg));
  border-bottom: 1px solid #7a5000;
}

.pending-banner[hidden] {
  display: none !important;
}

.pending-banner-text {
  margin: 0;
  font-size: 0.85rem;
  color: #f0c060;
  flex: 1;
}

.pending-banner-retry {
  background: transparent;
  border: 1px solid #f0c060;
  color: #f0c060;
  border-radius: var(--radius);
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.pending-banner-retry:disabled {
  opacity: 0.5;
  cursor: default;
}

/* ─── OPENING CASH ────────────────────────────────────────── */

.oc-state {
  padding: 12px 0 8px;
}

.oc-form-area[hidden] {
  display: none !important;
}

.oc-loading,
.oc-message {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 32px 0;
  margin: 0;
}

.oc-error {
  color: var(--bad);
  font-size: 0.9rem;
  text-align: center;
  padding: 32px 0;
  margin: 0;
}

.oc-old-warning {
  padding: 10px 14px;
  margin-bottom: 14px;
  background: color-mix(in srgb, #c07800 18%, var(--bg));
  border: 1px solid #7a5000;
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: #f0c060;
  line-height: 1.45;
}

.oc-instruction {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px;
}

.oc-subtext {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 12px;
}

/* Result states */

.oc-result-title,
.oc-mismatch-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 16px;
}

.oc-result--match .oc-result-title {
  color: var(--ok);
}

.oc-result--fail .oc-result-title {
  color: var(--bad);
}

.oc-open-with-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 4px;
}

.oc-open-with-amount {
  font-size: 2.2rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  margin: 0 0 20px;
  line-height: 1.1;
}

/* Mismatch state */

.oc-check-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 6px;
}

.oc-mismatch-list {
  margin: 0 0 14px;
  padding-left: 20px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.oc-recount-prompt {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 8px;
}

/* Still-fails state */

.oc-slack-prompt {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 10px;
}

/* ─── VERIFICATION COUNT BADGE ────────────────────────────── */

.step-badge.badge--verification {
  color: var(--bad);
}

/* ─── UNRESOLVED MESSAGE ──────────────────────────────────── */

.unresolved-message {
  margin: 10px 0 14px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--bad) 12%, transparent);
  border-left: 3px solid var(--bad);
  border-radius: 0 4px 4px 0;
}
