/* ===== The shared vocabulary ================================================
   Every piece more than one page uses, in one place, so a new page is built
   from these and declares only its own layout in its own sheet. The names,
   sizes and colours are the ones the seller side set (Today, the record,
   Sellers, the session); the table that defines them is in
   docs/superpowers/specs/2026-10-31-crm-design-consistency-design.md,
   "Part 0". Every colour is a token from tokens.css; no hex lives here.

   Sections, in order: type helpers · buttons · chips · pills · tiles and
   bars · the dark card · the list card · the two-line cell · the score tile ·
   signal chips · avatars · menus · empty states · keyboard hints · the page
   head, search and chip row · counters · the stepper · forms · stats ·
   drawers · pick rows · the sub paragraph. */

/* ---- type helpers --------------------------------------------------------- */
.eyebrow { font-size: var(--fs-micro); font-weight: 600; letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.sub { color: var(--muted); }
p.sub { margin: 0; font-size: var(--fs-body); line-height: 1.55; text-wrap: pretty; }

/* ---- buttons -------------------------------------------------------------
   One button, six fills. The default is the quiet one (a line, muted text);
   .btn-ink is the primary; .btn-ember is the one hot thing a screen gets and
   always carries ink text. Sizes: .btn-sm for a row's actions, .btn-lg for
   the session's Save & next. */
.btn {
  font: inherit; font-size: var(--fs-meta); font-weight: 600; line-height: 1.2;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 8px 12px;
  background: var(--surface); color: var(--muted); cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn:hover { color: var(--ink); border-color: var(--line-strong); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: default; pointer-events: none; }
.btn.on { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.btn.good.on { background: var(--good); border-color: var(--good); color: var(--surface); }
.btn.danger:hover { color: var(--ember-ink); border-color: var(--ember-ink); }
.btn-ink { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.btn-ink:hover { background: var(--ink-2); color: var(--on-dark); border-color: var(--ink-2); }
.btn-ink.danger { background: var(--ember-ink); border-color: var(--ember-ink); color: var(--surface); }
.btn-ink.danger:hover { background: var(--ember-ink); color: var(--surface); filter: brightness(1.08); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.btn-ember { background: var(--ember); color: var(--ink); border-color: var(--ember); border-radius: 8px; font-size: var(--fs-body); padding: 12px 14px; }
.btn-ember:hover { background: var(--ember); color: var(--ink); border-color: var(--ember); filter: brightness(1.05); }
.btn-dark { background: var(--ink-2); color: var(--on-dark); border-color: var(--ink-2); border-radius: 8px; font-size: var(--fs-body); font-weight: 500; padding: 12px 16px; }
.btn-dark:hover { background: var(--ink-2); color: var(--on-dark); border-color: var(--line-on-dark-strong); }
.btn-ghost-dark { background: transparent; color: var(--on-dark); border-color: var(--line-on-dark-strong); }
.btn-ghost-dark:hover { background: transparent; color: var(--on-dark); border-color: var(--on-dark-muted); }
.btn-link { border: none; background: none; padding: 0; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 2px; font-weight: 500; border-radius: 0; }
.btn-link:hover { color: var(--ink); text-decoration-color: var(--ink); }
.btn-link.danger { color: var(--ember-ink); text-decoration-color: var(--ember-bg); }
.btn-link.danger:hover { color: var(--ember-ink); text-decoration-color: var(--ember-ink); }
.btn-sm { font-size: var(--fs-micro); padding: 6px 10px; }
.btn-lg { font-size: var(--fs-body); padding: 10px 18px; font-weight: 700; }
.btn-wide { width: 100%; flex: 1; }

/* ---- chips ---------------------------------------------------------------
   A filter or a choice. Pressed is ink; a temperature keeps its own tint;
   .chip-soft is the session's lighter pressed state (an ink border, no fill). */
.chip {
  font: inherit; font-size: var(--fs-micro); font-weight: 600; line-height: 1.2;
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--control-line); background: var(--surface); color: var(--ink);
  border-radius: var(--r-chip); padding: 6px 12px; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.chip:hover { border-color: var(--ink); }
.chip[disabled] { opacity: .45; cursor: default; }
.chip[aria-pressed="true"], .chip.on { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.chip.hot { color: var(--ember-ink); } .chip.warm { color: var(--amber-ink); } .chip.cold { color: var(--muted); }
.chip.hot[aria-pressed="true"], .chip.hot.on { background: var(--ember-bg); color: var(--ember-ink); border-color: var(--ember-ink); }
.chip.warm[aria-pressed="true"], .chip.warm.on { background: var(--amber-bg); color: var(--amber-ink); border-color: var(--amber); }
.chip.cold[aria-pressed="true"], .chip.cold.on { background: var(--line-soft); color: var(--muted); border-color: var(--line-strong); }
.chip-soft[aria-pressed="true"], .chip-soft.on { background: var(--surface); color: var(--ink); border-color: var(--ink); font-weight: 700; }
.chip b { font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-micro); }

/* ---- pills ---------------------------------------------------------------
   A status: a stage, a temperature, a mail state, an engagement. The row
   form is sentence case; .pill-tag is the hero form (uppercase, tracked). */
.pill { display: inline-block; font-size: 12px; font-weight: 600; border-radius: 4px; padding: 4px 8px; text-align: center; white-space: nowrap; line-height: 1.2; background: var(--line-soft); color: var(--muted); }
.pill.hot, .pill.urgent { color: var(--surface); background: var(--ember-ink); }
.pill.warm { color: var(--amber-ink); background: var(--amber-bg); }
.pill.cold, .pill.plain, .pill.legacy { color: var(--muted); background: var(--line-soft); }
.pill.stage { color: var(--on-dark); background: var(--ink); }
.pill.new { color: var(--ember-ink); background: var(--ember-bg); }
.pill.good { color: var(--good); background: var(--good-bg); }
.pill-tag { font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; border-radius: 3px; }

/* ---- tiles and bars ------------------------------------------------------
   A labelled figure on a card: an eyebrow, a mono number, a muted line. */
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; color: var(--ink); text-decoration: none; font: inherit; text-align: left; }
a.tile, button.tile { cursor: pointer; }
a.tile:hover, button.tile:hover { border-color: var(--line-strong); }
.tile-n { font-family: var(--font-mono); font-size: var(--fs-display); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.tile-n.ember { color: var(--ember-ink); }
.tile-n .of { font-size: var(--fs-meta); color: var(--muted); font-weight: 500; }
.tile-sub { font-size: var(--fs-micro); color: var(--muted); }
.tile.warn .tile-sub { color: var(--amber-ink); font-weight: 600; }
.bar { display: block; height: 4px; border-radius: 2px; background: var(--line-soft); overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--ink); border-radius: inherit; }
.bar-lg { height: 6px; border-radius: 3px; }

/* ---- the dark card ---------------------------------------------------------
   One per screen: the thing the screen is for. Ink, one big figure, and the
   screen's one ember button. */
.dark-card { background: var(--ink); color: var(--on-dark); border-radius: var(--r-hero); padding: 22px 24px 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-hero); }
.dark-card .eyebrow { color: var(--on-dark-muted); }
.dark-card .sub, .dark-card p.sub { color: var(--on-dark-muted); }
.dark-card .faint { color: var(--on-dark-faint); }
.dark-card hr { border: 0; border-top: 1px solid var(--line-on-dark); margin: 0; }
.dark-card-n { font-family: var(--font-display); font-size: var(--fs-figure); font-weight: 600; line-height: 1; letter-spacing: 0.01em; color: var(--on-dark); text-decoration: none; font-variant-numeric: tabular-nums; }
a.dark-card-n:hover { color: var(--ember); }
.dark-card .good { color: var(--good-on-dark); }
.dark-card .due { color: var(--ember-on-dark); font-weight: 600; }

/* ---- the list card ---------------------------------------------------------
   Rows in a card with a header band. The grid columns are the page's. */
.list-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.list-head { display: grid; gap: 14px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: var(--fs-micro); font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: var(--track-wide); background: var(--surface-2); }
.list-row { display: grid; gap: 14px; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); color: var(--ink); text-decoration: none; position: relative; }
.list-row:last-child { border-bottom: none; }
a.list-row, .list-row[role="button"] { cursor: pointer; }
a.list-row:hover, .list-row[role="button"]:hover { background: var(--surface-2); }
.list-row.selected { background: var(--ember-row); }
.list-row.active { outline: 2px solid var(--ink); outline-offset: -2px; }
.list-row input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: var(--ink); }
.list-name { font-size: var(--fs-strong); font-weight: 600; }
.list-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.list-sub { font-size: var(--fs-meta); color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.list-money { font-family: var(--font-mono); font-size: var(--fs-meta); font-variant-numeric: tabular-nums; }
.list-money.neg { color: var(--ember-ink); } .list-money.pos { color: var(--good); }
.list-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: var(--fs-micro); color: var(--muted); margin-top: 12px; flex-wrap: wrap; }
.list-foot a { color: var(--ink); font-weight: 600; }

/* ---- the two-line cell ---------------------------------------------------
   A fact over its context: "Oct 27 · texted back" / "Call me after the 1st". */
.two { font-size: var(--fs-meta); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.two .b { color: var(--muted); }
.two .q { color: var(--muted); font-style: italic; }
.two .overdue, .two .unbooked { color: var(--ember-ink); font-weight: 600; }
.two .today { color: var(--amber-ink); font-weight: 600; }
.two .upcoming, .two .callback { font-weight: 600; }
.two .none { color: var(--muted); }

/* ---- the score tile --------------------------------------------------------
   A mono number over a tier label, tinted by tier; or a buyer's letter tier. */
.score { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 600; font-size: 18px; padding: 5px 0; border-radius: 6px; line-height: 1; background: var(--line-soft); color: var(--muted); min-width: 54px; }
.score .tier { font-family: var(--font-ui); font-size: 9px; letter-spacing: 0.1em; margin-top: 3px; font-weight: 600; }
.score.HOT { background: var(--ember-bg); color: var(--ember-ink); }
.score.WARM { background: var(--amber-bg); color: var(--amber-ink); }
.score.A { background: var(--ink); color: var(--on-dark); }
.score.B { background: var(--amber-bg); color: var(--amber-ink); }
.score.none { opacity: .5; }

/* ---- signal chips ----------------------------------------------------------
   TAX, EVICT, ABSENT: small, tracked, loud when the signal is distress. */
.sigs { display: flex; gap: 4px; flex-wrap: wrap; }
.sig, .tag { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 0.06em; padding: 1px 6px; border-radius: 3px; background: var(--line-soft); color: var(--muted); line-height: 1.5; white-space: nowrap; text-transform: uppercase; }
.sig.loud { background: var(--ember-bg); color: var(--ember-ink); }
.sig.mid { background: var(--amber-bg); color: var(--amber-ink); }
.sig.event { background: var(--ember-ink); color: var(--surface); }
.tag.sms-replied { background: var(--good-bg); color: var(--good); }
.tag.sms-replied.unread { box-shadow: inset 0 0 0 1px var(--good); }
.tag.sms-stop { background: var(--ember-bg); color: var(--ember-ink); }
.tag.sms-failed { background: var(--amber-bg); color: var(--amber-ink); }

/* ---- avatars ---------------------------------------------------------------- */
.avatar { width: 26px; height: 26px; border-radius: 13px; background: var(--p, var(--line-soft)); color: var(--surface); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 12px; flex: none; }
.avatar-sm { width: 22px; height: 22px; border-radius: 11px; font-size: 11px; }
.avatar.none { background: var(--line-soft); color: var(--muted); }

/* ---- menus -----------------------------------------------------------------
   A popover under its button. .menu-grid is the two-column form of selects
   the Sellers "More filters" uses. */
.menu { position: relative; display: inline-flex; }
.menu-list { position: absolute; top: calc(100% + 6px); right: 0; z-index: 5; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-ctl); box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 180px; padding: 6px; }
.menu-list.left { right: auto; left: 0; }
.menu-list[hidden] { display: none; }
.menu-list > button, .menu-list > label, .menu-list > a { font: inherit; font-size: var(--fs-meta); text-align: left; background: none; border: none; padding: 8px 10px; border-radius: 4px; cursor: pointer; color: var(--ink); display: flex; justify-content: space-between; gap: 10px; text-decoration: none; }
.menu-list > button:hover, .menu-list > a:hover { background: var(--surface-2); }
.menu-list > button[aria-pressed="true"] { font-weight: 700; }
.menu-list > label { align-items: center; white-space: nowrap; }
.menu-list > .menu-sep { border-top: 1px solid var(--line); border-radius: 0 0 4px 4px; margin-top: 4px; padding-top: 10px; }
.menu-list input[type="date"] { font: inherit; font-size: var(--fs-meta); border: 1px solid var(--control-line); border-radius: 4px; padding: 4px 6px; }
.menu-grid { border-radius: var(--r-card); padding: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-width: 360px; }
.menu-grid[hidden] { display: none; }
.menu-grid > label { display: flex; flex-direction: column; align-items: stretch; gap: 3px; font-size: var(--fs-micro); color: var(--muted); padding: 0; cursor: default; min-width: 0; }
/* Fill the column: sized to its longest option, a select spills out of the menu. */
.menu-grid select, .menu-grid input[type="number"] { font: inherit; font-size: var(--fs-meta); border: 1px solid var(--control-line); border-radius: var(--r-ctl); padding: 6px 8px; background: var(--surface); color: var(--ink); width: 100%; min-width: 0; }

/* ---- empty states ------------------------------------------------------------ */
.empty-card { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-card); padding: 16px 18px; font-size: var(--fs-meta); color: var(--muted); line-height: 1.5; }
.empty-card a { color: var(--ink); font-weight: 600; }

/* ---- keyboard hints ----------------------------------------------------------- */
kbd { font-family: var(--font-mono); font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; background: var(--surface); line-height: 1.4; }

/* ---- the page head, the search box, the chip row --------------------------
   A list page's top line: eyebrow, title with a mono count, tools on the
   right; then a row of chips. */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head .eyebrow-line { margin: 0 0 6px; font-size: var(--fs-meta); color: var(--muted); }
.page-title { margin: 0; font-family: var(--font-display); font-size: 48px; font-weight: 600; line-height: 1; letter-spacing: -0.015em; }
.page-title .count { font-family: var(--font-mono); font-size: 20px; font-weight: 500; color: var(--muted); letter-spacing: 0; vertical-align: 8px; margin-left: 6px; }
.page-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.search-box { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--control-line); border-radius: 8px; padding: 9px 12px; width: 300px; max-width: 100%; }
.search-box svg { color: var(--muted); flex: none; }
.search-box input { font: inherit; font-size: 14px; border: none; outline: none; flex: 1; min-width: 0; background: transparent; color: var(--ink); }
.search-box kbd { color: var(--muted); }
.chip-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.chip-row .lbl { font-size: var(--fs-micro); color: var(--muted); margin-right: 2px; }
.chip-row .sep { width: 1px; height: 20px; background: var(--line); margin: 0 6px; }
.chip-row .right { margin-left: auto; font-size: var(--fs-micro); color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.chip-row .right a { color: var(--ink); font-weight: 600; }
.market-chip[data-county] { border-left: 4px solid var(--county, var(--line)); }

/* ---- counters ----------------------------------------------------------------
   The stage line as a card of cells, one per primary filter. Set --n on the
   element to the number of cells. */
.counters { display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; margin-bottom: 16px; }
.counter { font: inherit; text-align: left; text-decoration: none; color: var(--ink); background: var(--surface); border: none; border-right: 1px solid var(--line-soft); padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 4px; cursor: pointer; min-width: 0; }
.counter:last-child { border-right: none; }
.counter:hover { background: var(--surface-2); }
.counter[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); }
.counter[aria-pressed="true"] .eyebrow { color: var(--on-dark-muted); }
.counter-n { font-family: var(--font-mono); font-size: var(--fs-title); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.counter-n.ember { color: var(--ember-ink); }
.counter[aria-pressed="true"] .counter-n.ember { color: var(--ember); }
@media (max-width: 1100px) {
  .counters { grid-template-columns: repeat(min(var(--n, 7), 4), minmax(0, 1fr)); }
  .counter { border-bottom: 1px solid var(--line-soft); }
}
@media (max-width: 700px) {
  .counters { grid-template-columns: repeat(min(var(--n, 7), 3), minmax(0, 1fr)); }
  .counter { padding: 10px 12px 8px; }
  .counter-n { font-size: 18px; }
}

/* ---- the stepper ---------------------------------------------------------------
   Dots joined by lines: done is ink, current is an ember ring on ink,
   future is hollow. Labels under each dot. */
.stepper { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; flex: 1; min-width: 0; }
.step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; }
.step-row { display: flex; align-items: center; width: 100%; height: 18px; }
.step-line { flex: 1; height: 2px; background: var(--line); }
.step-line.done { background: var(--ink); }
.step-line.none { background: transparent; }
.step-dot { width: 12px; height: 12px; border-radius: 6px; border: 2px solid var(--line-strong); box-sizing: border-box; background: var(--surface); flex: none; padding: 0; cursor: pointer; }
.step-dot.done { background: var(--ink); border-color: var(--ink); }
.step-dot.current { width: 18px; height: 18px; border-radius: 9px; background: var(--ember); border: 3px solid var(--ink); }
.step-dot[disabled] { cursor: default; }
.step-label { font-size: var(--fs-micro); color: var(--muted); white-space: nowrap; font-weight: 500; }
.step-label.current { color: var(--ink); font-weight: 700; font-size: 12px; }
@media (max-width: 700px) {
  .step-label { display: none; }
  .step-label.current { display: block; }
}

/* ---- forms ---------------------------------------------------------------------
   A field is a label over its control. Labels are sentence case and muted;
   inputs are 6px with an ink focus ring. */
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field-label { font-size: 12px; font-weight: 500; color: var(--muted); display: flex; align-items: baseline; gap: 6px; }
.field-label .optional-tag, .optional-tag { font-weight: 400; color: var(--muted); text-transform: none; letter-spacing: 0; font-size: 12px; }
.field input, .field select, .field textarea, .input, select {
  font: inherit; font-size: var(--fs-body); width: 100%; box-sizing: border-box;
  border: 1px solid var(--control-line); border-radius: var(--r-ctl); padding: 9px 11px;
  background: var(--surface); color: var(--ink);
}
select { width: auto; cursor: pointer; font-size: var(--fs-meta); padding: 8px 10px; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus, select:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.field textarea, textarea.input { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: var(--ink); padding: 0; }
.field.inline { flex-direction: row; align-items: center; gap: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.form-grid .wide { grid-column: span 2; }
.form-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.form-error { color: var(--ember-ink); font-size: var(--fs-meta); }
.form-error[hidden] { display: none; }
.form-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.form-card[hidden] { display: none; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } .form-grid .wide { grid-column: auto; } }

/* ---- stats -----------------------------------------------------------------------
   A labelled figure inside a drawer or a card, smaller than a tile. */
.stat-row { display: flex; gap: 22px; flex-wrap: wrap; }
.stat { min-width: 62px; display: flex; flex-direction: column; gap: 3px; }
.stat-n { font-family: var(--font-mono); font-size: var(--fs-title); font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-l { font-size: var(--fs-micro); font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: var(--track-wide); }
.stat.good .stat-n { color: var(--good); }
.stat.warn .stat-n { color: var(--amber-ink); }

/* ---- drawers -----------------------------------------------------------------------
   A drawer is sections under eyebrows, a foot with the dangerous thing on
   the left. The modal shell itself is in components.css. */
.drawer-section { display: flex; flex-direction: column; gap: 12px; }
.drawer-eyebrow { font-size: var(--fs-micro); font-weight: 600; letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--muted); padding-bottom: 6px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: baseline; gap: 8px; }
.drawer-eyebrow .optional-tag { letter-spacing: 0; }
.drawer-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.drawer-actions { display: flex; flex-direction: column; gap: 10px; }
.value-row { display: flex; gap: 16px; flex-wrap: wrap; font-size: var(--fs-meta); color: var(--muted); font-variant-numeric: tabular-nums; }
.value-row b { color: var(--ink); font-weight: 600; }

/* ---- pick rows -----------------------------------------------------------------
   One choice per row in a picker. */
.pick-list { display: flex; flex-direction: column; gap: 6px; }
.pick-row { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; font: inherit; font-size: var(--fs-body); padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--surface); color: var(--ink); cursor: pointer; }
.pick-row:hover { border-color: var(--line-strong); background: var(--surface-2); }
.pick-row .pick-sub { margin-left: auto; font-size: var(--fs-meta); color: var(--muted); white-space: nowrap; }

/* ---- small shared bits -----------------------------------------------------------
   Phone rows and contact chips used by more than one record. */
.phone-list { display: flex; flex-direction: column; gap: 8px; }
.phone-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; }
.phone-row.hit, .phone-row.answers { background: var(--good-bg); border-color: var(--good-bg); }
.phone-num { font-family: var(--font-mono); font-size: var(--fs-strong); font-weight: 600; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.phone-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.email-chip { font-size: var(--fs-meta); padding: 5px 9px; border-radius: var(--r-ctl); border: 1px solid var(--line); color: var(--ink); text-decoration: none; background: var(--surface); width: fit-content; }
.email-chip:hover { border-color: var(--line-strong); }
.assign-row { display: flex; gap: 6px; flex-wrap: wrap; }
.assign-btn.active.who { background: var(--p); border-color: var(--p); color: var(--surface); }

/* Fingers, not a mouse: a chip, a small button and a menu row are at least
   40px tall, whatever their type size. */
@media (pointer: coarse) {
  .chip, .btn-sm, .menu-list > button { min-height: 40px; }
}
