/* Arrival-ordered Inbox surface. */

/* --------------------------------------------------- filter strip (chrome)
   The site hero-mock's top strip, made functional: mono, uppercase, tracked
   labels with tabular counts over a hairline rule. Sticky under the chrome;
   a near-opaque paper tint so rows never show through the labels. */
.inbox-live {
  display: flex; align-items: center; gap: 10px;
  min-height: 48px; margin: -8px 0 14px; padding: 8px 10px 8px 14px;
  border: 1px solid var(--hair); border-radius: var(--r-card);
  background: var(--surface); box-shadow: var(--elev-1);
}
.live-dot {
  width: 8px; height: 8px; flex: none; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 4px var(--green-wash);
}
.live-dot[data-tone="refreshing"] { background: var(--teal); box-shadow: 0 0 0 4px var(--teal-wash); }
.live-dot[data-tone="offline"], .live-dot[data-tone="error"] {
  background: var(--amber); box-shadow: 0 0 0 4px var(--amber-wash);
}
.live-copy { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.live-label { font-size: 13px; font-weight: 600; line-height: 1.3; }
.live-detail { font-size: 11.5px; color: var(--ink2); line-height: 1.3; }
.live-time {
  margin-left: auto; color: var(--ink3); font-size: 10.5px;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.live-count {
  flex: none; min-height: 32px; padding: 4px 10px;
  color: var(--accent-ink); background: var(--teal-wash);
  border: 1px solid var(--hair-dark); border-radius: var(--r-pill);
  font: 600 10.5px/1.2 var(--mono); letter-spacing: .02em; cursor: pointer;
}
.live-count:hover { border-color: var(--teal); }
.live-refresh { flex: none; width: 36px; height: 36px; }
.live-refresh-icon { display: inline-flex; }
.inbox-live[data-tone="refreshing"] .live-refresh-icon { animation: live-spin .8s linear infinite; }
.live-nav-count {
  position: absolute; top: 2px; right: 3px; z-index: 2;
  min-width: 18px; height: 18px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--surface); border-radius: var(--r-pill);
  background: var(--teal); color: #fff;
  font: 700 9px/1 var(--mono); font-variant-numeric: tabular-nums;
}
.live-nav-count[hidden] { display: none; }
@keyframes live-spin { to { transform: rotate(360deg); } }

.inbox-filters {
  position: sticky;
  top: calc(var(--safe-top) + var(--topbar-h) + 10px + var(--nav-desktop-h) + 6px);
  z-index: 3;
  border-radius: var(--r-card) var(--r-card) 0 0;
  border-bottom: 1px solid var(--hair);
  background: var(--filters-tint);
  -webkit-backdrop-filter: var(--glass-blur-fn);
  backdrop-filter: var(--glass-blur-fn);
}
.inbox-filter-summary { display: none; }
.inbox-filter-panel {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
  padding: 10px 14px;
}
.fbtn {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 32px; padding: 4px 12px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase; line-height: 1.2;
  color: var(--ink3); background: none; border: 1px solid transparent;
  border-radius: var(--r-pill); cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.fbtn:hover { background: var(--paper); color: var(--ink); }
.fbtn.is-on { color: var(--pill-fg); background: var(--pill-bg); border-color: var(--pill-bg); }
.fcount { font-size: 11px; color: var(--ink3); font-variant-numeric: tabular-nums; }
.fbtn.is-on .fcount { color: inherit; opacity: .72; }
.fselect {
  margin-left: auto; min-height: 32px; padding: 4px 8px;
  font: 500 12.5px/1.2 var(--font); color: var(--ink2);
  background: var(--surface); border: 1px solid var(--hair-dark);
  border-radius: var(--r-chip);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.fselect:hover { border-color: var(--ink3); }
/* quiet export affordance on the right of the filter strip */
.fexport {
  flex: none; margin-left: 12px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase;
}

/* fallbacks — the filter strip must be legible when blur is unavailable */
@supports not ((-webkit-backdrop-filter: blur(4px)) or (backdrop-filter: blur(4px))) {
  .inbox-filters { background: rgba(255, 255, 255, .98); }
}
@media (prefers-reduced-transparency: reduce) {
  .inbox-filters {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: var(--surface);
  }
}

/* queue niceties (rows are opaque links) */
.q-days { color: var(--ink3); }
.inbox-card .queue-row { transition: background-color var(--dur-fast) var(--ease-out); }

/* facet separator in the filter strip */
.fsep { width: 1px; height: 18px; background: var(--hair-dark); margin: 0 6px; flex: none; }

/* ------------------------------------------------- history disclosure (F3)
   The sealed trail sits one honest click away; the summary row is a full-width
   40px target with a rotating chevron. */
.d-history { border: 0; }
.d-history-summary {
  display: flex; align-items: center; gap: 8px;
  list-style: none; cursor: pointer;
  min-height: 40px; padding: 4px 0;
  border-radius: var(--r-chip);
}
.d-history-summary::-webkit-details-marker { display: none; }
.d-history-summary .section-label { margin: 0; }
.d-history-summary:hover .section-label { color: var(--ink); }
.d-history-chev {
  width: 8px; height: 8px; flex: none; margin-left: 2px;
  border-right: 1.5px solid var(--ink3-decor); border-top: 1.5px solid var(--ink3-decor);
  transform: rotate(135deg) translateY(1px);
  transition: transform var(--dur-fast) var(--ease-out);
}
.d-history[open] .d-history-chev { transform: rotate(-45deg); }
.d-history > .tl, .d-history > .tl-loading, .d-history > .notice-warn { margin-top: 6px; }

/* toast action (the 10s Undo) */
.inbox-toast .toast-act {
  color: var(--toast-fg); font-weight: 600; text-decoration: underline;
  text-underline-offset: 3px; margin-left: 12px; flex: none;
  min-height: 32px; pointer-events: auto;
}

/* --------------------------------------------------------- detail: layout */
.d-sec { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hair); }
.d-sec:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.d-meta { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
/* the record's arrival stamp — mono metadata, like the site's hm-age */
.d-idline {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em;
  color: var(--ink2); font-variant-numeric: tabular-nums;
}
.d-refline { font-size: 13px; color: var(--ink2); }
.d-refline b { color: var(--ink); font-weight: 600; }
.d-catline { font-size: 12px; display: flex; align-items: baseline; gap: 4px; }
.d-urgency { line-height: 1.9; }

/* ------------------------------------------------------ history timeline */
.tl { list-style: none; margin: 0; padding: 0; font-size: 12px; }
.tl-row {
  display: grid; grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 0 8px; align-items: baseline;
  padding: 7px 0; border-top: 1px solid var(--hair);
}
.tl-row:first-child { border-top: 0; }
.tl-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); align-self: center; justify-self: center;
  box-shadow: 0 0 0 3px var(--teal-wash);
}
.tl-main { min-width: 0; }
.tl-what { font-weight: 600; display: block; }
.tl-note { display: block; color: var(--ink2); overflow-wrap: anywhere; }
.tl-side { text-align: right; display: flex; flex-direction: column; gap: 2px; flex: none; }
.tl-when { font-family: var(--mono); font-size: 11px; color: var(--ink3); white-space: nowrap; }
.tl-seal { font-family: var(--mono); font-size: 11px; color: var(--ink3); }

/* ------------------------------------------------------------ source block
   The referrer's verbatim words, on an opaque paper card so the excerpt stays
   ink-crisp. Set in the display italic — the same editorial voice the site
   gives quoted words — behind a neutral left rule (no status colour, because
   the source implies no Refera judgement). */
.src-quote {
  margin: 0 0 12px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-left: 3px solid var(--hair-dark);
  border-radius: var(--r-card);
  padding: 14px 18px;
}
.src-quote blockquote {
  margin: 0; font-family: var(--display); font-size: 15px; font-style: italic;
  font-weight: 400; color: var(--ink); letter-spacing: 0.002em;
  white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6;
}
.src-mono blockquote { font-family: var(--mono); font-size: 12px; font-style: normal; }
.src-cap {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em;
  color: var(--ink3); margin-top: 10px;
}
.src-flash {
  outline: 2px solid var(--amber); outline-offset: 3px;
  border-color: var(--amber); border-left-color: var(--amber);
}
.att-sum { font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.att-list { list-style: none; padding: 0; margin: 0; font-size: 12px; }
.att-list li { padding: 3px 0; }

/* ------------------------------------------------------- extraction table */
.x-method { margin-bottom: 8px; }
.x-field { white-space: nowrap; color: var(--ink2); }
/* correction capture: value cell holds value · corrected chip · edit */
.x-val { display: flex; align-items: center; gap: 8px; min-width: 0; }
.x-val > span:first-child { overflow-wrap: anywhere; }
.x-edit-row { display: flex; align-items: center; gap: 8px; }
.x-edit-input {
  min-width: 0; flex: 1; max-width: 220px;
  font: 400 13px/1.4 var(--font); color: var(--ink);
  border: 1px solid var(--hair-dark); border-radius: var(--r-chip);
  padding: 4px 8px; background: var(--surface);
}
.x-edit-input:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.x-edit-save, .x-edit-cancel { font-size: 11px; flex: none; }
.x-edit-error, .write-error {
  display: block; color: var(--danger); font-size: 12px; line-height: 1.45;
  margin-top: 6px;
}
.x-edit-error[hidden], .write-error[hidden] { display: none; }
.x-corr-note { margin-top: 8px; }
.urgency-lock { white-space: nowrap; }
/* ready-card footer: the anti-lock-in line */
.ready-foot { margin-top: 12px; }
.missing { color: var(--amber); font-weight: 500; }
.conf { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.conf-track {
  width: 56px; height: 5px; border-radius: 999px;
  background: var(--hair); overflow: hidden; flex: none;
}
.conf-fill { display: block; height: 100%; border-radius: 999px; background: var(--teal); }
.conf-low .conf-fill { background: var(--amber); }
.conf-num { font-family: var(--mono); font-size: 11px; color: var(--ink3); }
.conf-review { font-size: 11px; }

/* --------------------------------------- amber state notices (first-class) */
/* UNKNOWN / needs-info are respectable states, not errors: amber wash panel
   per DESIGN attention-amber. Never red. */
.notice-warn {
  background: var(--amber-wash); border: 1px solid #F0DCB8;
  border-radius: var(--r-card); padding: 16px; font-size: 13px;
  display: flex; flex-direction: column; gap: 8px;
}
.nw-title {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber);
}
.nw-strong { font-weight: 600; color: var(--ink); }
.nw-list { margin: 0; padding-left: 18px; }
.nw-list li { padding: 1px 0; font-weight: 500; }
.dup-banner { margin-bottom: 16px; }
.dup-banner a { font-weight: 600; }

/* Patient booking is the principal administrative follow-up after a complete
   referral. It is deliberately a work card, not a diary: the practice's own
   booking system remains authoritative and every external action is manual. */
.booking-work-card {
  border: 1px solid color-mix(in srgb, var(--teal) 34%, var(--hair));
  background: linear-gradient(145deg, var(--teal-wash), var(--surface) 72%);
  border-radius: var(--r-card); padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.booking-work-card h3 { margin: 0; font: 500 20px/1.22 var(--display); color: var(--ink); }
.booking-kicker {
  margin: 0; color: var(--teal); font: 600 10px/1.2 var(--mono);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.booking-actions, .booking-system-actions { gap: 8px; align-items: center; }
.booking-system-actions { padding-top: 2px; }
.booking-complete { border-color: var(--teal); }
.booking-blocked { border-color: var(--hair-dark); background: var(--surface2); }
.booking-attest {
  border: 1px solid var(--hair); border-radius: var(--r-card); margin: 0 0 12px;
  padding: 12px; display: grid; gap: 9px; background: var(--surface2);
}
.booking-attest legend {
  padding: 0 6px; color: var(--ink2); font: 600 10px/1.2 var(--mono);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.booking-check { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.45; }
.booking-check input { margin-top: 2px; inline-size: 16px; block-size: 16px; flex: none; accent-color: var(--teal); }
.booking-evidence-fields {
  border: 1px solid var(--hair); border-radius: 8px; margin: 0 0 12px;
  padding: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px; background: var(--surface2);
}
.booking-evidence-fields legend {
  padding: 0 6px; color: var(--ink2); font: 600 10px/1.2 var(--mono);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.booking-evidence-field { display: grid; align-content: start; gap: 5px; min-width: 0; }
.booking-evidence-field > span { color: var(--ink2); font-size: 13px; font-weight: 600; }
.booking-evidence-field input,
.booking-evidence-field select {
  box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px;
  padding: 8px 10px; border: 1px solid var(--hair-dark); border-radius: 8px;
  background: var(--surface); color: var(--ink); font: 500 14px/1.2 var(--font);
}
.booking-evidence-field select { margin: 0; }
.booking-evidence-field input:focus-visible,
.booking-evidence-field select:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.booking-evidence-fields > .hint { grid-column: 1 / -1; margin: 0; }
.booking-evidence-summary { font-size: 14px; font-weight: 650; color: var(--ink); }
.booking-progress {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.booking-progress > li {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--hair);
  border-radius: 8px;
  background: var(--surface);
}
.booking-progress > li[data-state="complete"] { border-color: var(--teal); }
.booking-progress > li[data-state="current"] { border-color: var(--amber); }
.booking-progress-label,
.booking-progress-state,
.booking-progress-meta { display: block; }
.booking-progress-label { color: var(--ink); font-size: 14px; line-height: 1.35; }
.booking-progress-state { margin-top: 3px; color: var(--ink3); font-size: 13px; line-height: 1.4; }
.booking-progress-meta {
  margin-top: 4px;
  color: var(--ink3);
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------- ready-to-enter
   The field-by-field card the practice manager copies into the PMS. Opaque,
   ink-crisp, a whisper of lift — never glass. */
.ready-card {
  border: 1px solid var(--hair); border-radius: var(--r-card);
  padding: 14px 16px; background: var(--surface);
}
.ready-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; margin-bottom: 8px;
}
.ready-sub { font-size: 12px; color: var(--ink2); }
.ready-card .field-list dd { padding-right: 0; }

/* ----------------------------------------------------------------- actions */
.act-row { margin-bottom: 12px; }
.act-logged {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; background: var(--green-wash); border: 1px solid #CDEBD8;
  border-radius: var(--r-card); padding: 10px 12px; margin-bottom: 12px;
  box-shadow: var(--elev-1);
}
.draft-host { margin: 12px 0; }
.draft-host:empty { margin: 0; }
.draft-tag { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--ink3); }
.draft-card-head .fselect { margin-left: 0; font-weight: 400; text-transform: none; letter-spacing: 0; max-width: 60%; }
.draft-ta {
  display: block; width: 100%; border: 0; background: var(--surface);
  padding: 16px; font: 400 13px/1.6 var(--font); color: var(--ink);
  min-height: 220px; resize: vertical;
}
.draft-ta:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }

/* -------------------------------------------------------------------- toast
   A calm dark pill that confirms a sealed action. Floats above the bottom tab
   bar on mobile (never hides behind it) and rises in on a spring. */
.inbox-toast {
  position: fixed; left: 50%; bottom: calc(24px + var(--safe-bottom)); z-index: 120;
  transform: translate(-50%, 10px);
  background: var(--toast-bg); color: var(--toast-fg); font-size: 13px;
  font-variant-numeric: tabular-nums;
  padding: 11px 16px; border-radius: var(--r-input);
  box-shadow: var(--elev-overlay), inset 0 1px 0 rgba(255, 255, 255, .12);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--spring);
  max-width: min(90vw, 480px);
}
.inbox-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==================================================================== 390px */
@media (max-width: 719px) {
  .inbox-live {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 7px 10px; margin-top: -4px; padding: 9px 8px 9px 12px;
  }
  .live-time { grid-column: 2; margin-left: 0; white-space: normal; }
  .live-count { grid-column: 2; width: max-content; min-height: 36px; }
  .live-refresh { grid-column: 3; grid-row: 1 / span 2; width: 44px; height: 44px; }
  .live-nav-count { top: 0; right: calc(50% - 22px); }
  /* Keep every facet reachable without pushing the queue down the screen. */
  .inbox-filters {
    position: static;
  }
  .inbox-filter-summary {
    display: grid; grid-template-columns: auto minmax(0, 1fr) 12px;
    align-items: center; gap: 8px; min-height: 48px; padding: 7px 12px;
    color: var(--ink); cursor: pointer; list-style: none;
  }
  .inbox-filter-summary::-webkit-details-marker { display: none; }
  .filter-summary-label {
    font: 600 10.5px/1.2 var(--mono);
    letter-spacing: .07em;
    text-transform: uppercase;
  }
  .filter-summary-active {
    display: flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden;
  }
  .filter-active-chip {
    flex: none; max-width: 96px; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap; padding: 3px 7px;
    border: 1px solid var(--tone-teal-border);
    border-radius: var(--r-chip);
    color: var(--teal); background: var(--teal-wash);
    font-size: 10.5px; font-weight: 600; line-height: 1.2;
  }
  .filter-active-more { max-width: none; }
  .filter-summary-all { color: var(--ink3); font-size: 12px; }
  .filter-summary-caret {
    width: 9px; height: 9px; justify-self: end; border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    color: var(--ink3);
    transform: rotate(45deg) translate(-2px, 2px);
    transition: transform var(--dur) var(--ease-out);
  }
  .inbox-filters[open] .filter-summary-caret {
    transform: rotate(-135deg) translate(-1px, 1px);
  }
  .inbox-filter-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 8px;
    border-top: 1px solid var(--hair);
  }
  .fbtn { width: 100%; justify-content: center; min-height: 44px; padding: 4px 8px; }
  .fsep { display: none; }
  .fselect { margin-left: 0; width: 100%; min-width: 0; min-height: 44px; }
  .fexport { width: 100%; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; margin-left: 0; }
  .x-edit-input { max-width: 150px; }
  table.data[data-testid="extraction-table"],
  table.data[data-testid="extraction-table"] tbody,
  table.data[data-testid="extraction-table"] tr,
  table.data[data-testid="extraction-table"] td {
    display: block;
    width: 100%;
  }
  table.data[data-testid="extraction-table"] thead { display: none; }
  table.data[data-testid="extraction-table"] tr {
    padding: 10px 0;
    border-top: 1px solid var(--hair);
  }
  table.data[data-testid="extraction-table"] tr:first-child { border-top: 0; }
  table.data[data-testid="extraction-table"] td {
    border: 0;
    padding: 2px 0;
  }
  table.data[data-testid="extraction-table"] td:nth-child(1) {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink3);
  }
  table.data[data-testid="extraction-table"] .x-val {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 10px;
  }
  table.data[data-testid="extraction-table"] .x-val .chip { grid-column: 1; width: max-content; }
  table.data[data-testid="extraction-table"] .edit-btn {
    min-width: 44px;
    min-height: 44px;
    justify-self: end;
  }
  table.data[data-testid="extraction-table"] .conf {
    display: grid;
    grid-template-columns: auto minmax(72px, 1fr) auto;
    width: 100%;
    min-height: 32px;
  }
  table.data[data-testid="extraction-table"] .conf-track { width: auto; }
  /* the sheet's thumb bar (drawer-foot) carries Discard / Edit / Approve —
     hide the in-card copies so there is exactly one primary CTA on screen */
  .draft-host .draft-actions .btn { display: none; }
  .tl-row { grid-template-columns: 14px minmax(0, 1fr); }
  .tl-side { grid-column: 2; flex-direction: row; gap: 8px; text-align: left; }
  .ready-head { flex-direction: column; align-items: stretch; }
  .draft-card-head { flex-wrap: wrap; }
  .draft-card-head .fselect { max-width: 100%; width: 100%; }

  /* the toast clears the floating bottom tab bar, always above it */
  .inbox-toast {
    left: var(--tabbar-gap); right: var(--tabbar-gap);
    bottom: calc(var(--tabbar-h) + var(--safe-bottom) + var(--tabbar-gap) + 14px);
    transform: translateY(12px); max-width: none;
  }
  .inbox-toast.show { transform: translateY(0); }
}

@media (max-width: 479px) {
  .fbtn { padding-inline: 6px; }
  .fselect { width: 100%; min-width: 0; padding-inline: 5px; font-size: 11px; }
  .booking-evidence-fields { grid-template-columns: 1fr; }
  .booking-evidence-fields > .hint { grid-column: 1; }
}

@media (max-width: 360px) {
  .inbox-live { grid-template-columns: auto minmax(0, 1fr) 44px; }
  .live-detail { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .inbox-live[data-tone="refreshing"] .live-refresh-icon { animation: none; }
}

/* ------------------------------------------------ geo site suggestion card
   Assignment-area flag (core/georoute.js). Kept visually distinct from the
   urgency treatment: hairline card, teal accent, mono metadata voice. */
.geo-card { border: 1px solid var(--hair); border-radius: 10px; padding: 14px 16px; background: var(--surface); }
.geo-pick { font-size: 15px; }
.geo-pick .geo-km { color: var(--ink3); margin-left: 6px; }
.geo-basis { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); margin-top: 4px; }
.geo-note { font-size: 13px; color: var(--ink2); margin-top: 8px; }
.geo-cands { list-style: none; margin: 10px 0 0; padding: 8px 0 0; border-top: 1px solid var(--hair); display: grid; gap: 6px; }
.geo-cand { display: flex; align-items: baseline; gap: 10px; font-size: 13px; }
.geo-cand-name { flex: 1; }
.geo-cand-km { color: var(--ink3); }
.geo-intake { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--hair); }
.geo-intake-accepting { color: var(--green); background: var(--green-wash); border-color: var(--tone-ok-border); }
.geo-intake-paused, .geo-intake-limited { color: var(--ink3); background: var(--paper); }

/* Attribution is meaningful content and must retain full text contrast. */
.chip-verbatim > .attrib { opacity: 1; }
