/* DPH premium workspace. Native typography, quiet surfaces, original brand color.
   Presentation only: preserve the existing navigation, data and interaction model.
   Radius scale: 16px surfaces, 8px controls. Motion is limited to state feedback. */
:root {
  --navy: #172b38;
  --ink: #20282e;
  --muted: #5d6870;
  --paper: #f5f6f7;
  --line: #e2e6e8;
  --teal: #176554;
  --wash: #edf4f1;
  --radius: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
body { background: var(--paper); }
button, input, select, textarea { font-family: inherit; }
button, .button { font-size: 13px; border-radius: 8px; font-weight: 500; }
button:hover, .button:hover { border-color: #98a8a5; }
:focus-visible, .table-wrap:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.shell { grid-template-columns: 248px minmax(0, 1fr); min-height: 100dvh; }
.sidebar {
  background: #fff; color: var(--ink); padding: 32px 18px 20px;
  height: 100dvh; border-right: 1px solid var(--line);
  scrollbar-width: thin; scrollbar-color: #c9d1d5 transparent;
}
.brand { gap: 12px; color: var(--ink); font-family: inherit; font-size: 17px; font-weight: 600; }
.brand img { width: 48px; height: 48px; border-radius: 8px; }
.brand-sub { font-family: inherit; color: var(--muted); font-size: 9px; letter-spacing: 1.35px; margin-top: 6px; font-weight: 500; }
.partnership { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; margin: 26px 0 20px; padding: 0 8px 26px; }
.partnership > span { color: var(--muted); font-size: 11px; letter-spacing: 0; margin-bottom: 14px; }
.partnership img { display: block; width: 192px; max-width: 100%; height: auto; object-fit: contain; object-position: left; }
.sidebar .nav-label { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0; margin: 0 12px 12px; }
.sidebar nav { gap: 3px; }
.sidebar nav a { color: #53616a; min-height: 44px; padding: 10px 12px; font-size: 13px; gap: 11px; border: 0; border-radius: 8px; }
.sidebar nav a svg { width: 18px; height: 18px; opacity: .85; }
.sidebar nav a:hover { background: #f3f5f6; color: var(--ink); }
.sidebar nav a.active { color: #164e43; background: var(--wash); font-weight: 600; box-shadow: inset 2px 0 var(--teal); }
.sidebar nav a.active::after { display: none; }
.sidebar-bottom { padding: 28px 10px 0; }
.team-mark { border-color: var(--line); padding-top: 20px; font-size: 12px; line-height: 1.4; }
.team-mark small { color: var(--muted); font-size: 11px; }
.avatar { background: #eef1f3; color: #53616a; }
.sidebar .quiet { color: var(--muted); font-size: 12px; margin-top: 12px; }
.sidebar .quiet:hover { background: #f3f5f6; color: var(--ink); }
main { width: 100%; max-width: 1660px; margin: 0 auto; padding: 0 clamp(24px, 3.2vw, 56px); }
.topbar, main[data-page="overview"] .topbar { height: 64px; }
.workspace-label { font-size: 11px; letter-spacing: 0; }
.workspace-label > span { color: #a0a9b0; padding: 0 10px; }
.badge { font-size: 11px; border-radius: 6px; padding: 5px 9px; }
.page-header, main[data-page="overview"] .page-header { padding: 32px 0 20px; gap: 24px; align-items: center; }
h1, main[data-page="overview"] h1 { font-family: inherit; font-size: clamp(28px, 2.4vw, 36px); font-weight: 600; line-height: 1.15; letter-spacing: -1.1px; }
h2, h3, h4 { letter-spacing: -.2px; }
.intro { font-size: 14px; line-height: 1.6; max-width: 65ch; }
.eyebrow { color: var(--muted); letter-spacing: .8px; }
.header-actions select, main[data-page="overview"] .header-actions select { font-size: 13px; max-width: 170px; }
.header-actions button { font-size: 13px; }
.sync-row, main[data-page="overview"] .sync-row { font-size: 11px; margin-bottom: 24px; line-height: 1.5; }
#content, main[data-page="overview"] #content { gap: 28px; }
.card { border-color: var(--line); padding: 28px; border-radius: 16px; box-shadow: none; }
.card .section-top h2, .section-top h2, .section-top h3 { font-size: 18px; font-weight: 600; letter-spacing: -.35px; }
.card .section-top p, .section-top p { font-size: 13px; line-height: 1.6; margin-top: 5px; }
.section-top a, .text-link { font-size: 12px; }
.card .section-top { margin-bottom: 22px; }

/* One instrument panel instead of twelve competing cards. */
.desk-kpi-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.desk-kpi { border: 0; border-radius: 0; background: #fff; padding: 24px 20px; min-height: 146px; color: var(--ink); box-shadow: inset -1px 0 var(--line); }
.desk-kpi:nth-child(6n) { box-shadow: none; }
.desk-kpi:nth-child(n+7) { border-top: 1px solid var(--line); }
.desk-kpi h3 { font-size: 12px; font-weight: 500; letter-spacing: 0; line-height: 1.45; min-height: 34px; margin-bottom: 10px; color: #4f5c65; }
.desk-number { font-size: clamp(28px, 2.3vw, 36px); font-weight: 600; line-height: 1.12; letter-spacing: -1.3px; }
.desk-kpi p, .desk-kpi-primary p { color: var(--muted); font-size: 11px; line-height: 1.45; margin-top: 12px; }
.desk-kpi-primary { background: #fff; color: var(--ink); }
.desk-kpi-primary .desk-number { color: var(--teal); }
.desk-kpi:hover, .desk-kpi-primary:hover { background: #f4f8f6; }
.desk-kpi:active, .desk-kpi-primary:active { background: #e9f1ed; }
.desk-kpi:focus-visible { outline-offset: -4px; }
.kpi-context { font-size: 11px; margin-top: 12px; }
.definitions-link { font-size: 11px; min-height: 36px; }
.client-priorities { background: transparent; border: 0; border-radius: 0; padding: 0 2px; }
.client-priorities .priority-actions { gap: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.priority-actions > a { background: transparent; border: 0; border-radius: 0; border-right: 1px solid var(--line); padding: 19px 20px; font-size: 13px; line-height: 1.5; }
.priority-actions > a:last-child { border-right: 0; }
.priority-actions > a:hover { background: var(--wash); }
.priority-actions > a:focus-visible { outline-offset: -4px; }
.client-priorities .panel-note { font-size: 12px; }
.performance-grid, .desk-detail-grid { gap: 24px; }
.performance-grid > .card, .desk-detail-grid > .card { padding: 28px; }
.chart-switch > label { font-size: 12px; min-height: 44px; padding: 12px 16px; }
.chart-switch input:checked + label { background: var(--wash); border-color: #b5c9c0; }
.chart-legend, .chart-scale, .activity-column > span { font-size: 11px; }
.chart-caption, .panel-note { font-size: 12px; line-height: 1.65; }
.disposition-row > div:first-child { font-size: 13px; }
.disposition-row strong { font-size: 13px; }
.disposition-row small { font-size: 11px; }
.disposition-track { height: 4px; background: #edf0f2; }
.disposition-track > span { background: #6c8c83; }
.quiet-empty { background: #f6f7f8; border: 0; padding: 22px; font-size: 13px; }
.pipeline-totals, .signal-grid > div { border: 0; background: #f5f7f7; }
.followup-columns { gap: 28px; min-width: 0; }
.followup-columns > * { min-width: 0; }
.followup-row strong, .column-heading, .coverage-counts dt { font-size: 13px; }
.followup-row small, .followup-columns .muted { font-size: 12px; }
.quality-explanation dt { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 12px; }
.quality-explanation dd { font-size: 14px; }
.quality-row { padding: 24px 0; }
.quality-panel .section-top p { font-size: 12px; }
.quality-detail, .quality-note { line-height: 1.65; }
.calendar-inline { border: 0; border-radius: 10px; background: #f4efe5; padding: 14px 18px; font-size: 12px; }
.calendar-inline .text-link { font-size: 12px; }
.learning-grid section { border-top: 1px solid var(--line); }
.learning-grid p, .ops-task p, .property-cards p { font-size: 13px; }
.insight-section h2 { font-size: 19px; }
.property-cards article { border-radius: 12px; padding: 24px; }
.territory-totals dt { font-size: 12px; line-height: 1.5; }
.territory-totals dd { font-size: 30px; font-weight: 500; letter-spacing: -.8px; }
.territory-filters label, .ops-task label, .field dt { font-size: 12px; }
.territory-map text { font-family: inherit; }
.call-shortcuts button { border-radius: 8px; }
.call-filter-form label { font-weight: 500; }
.call-match-summary > div { border-left: 1px solid var(--line); }
.call-match-summary span { font-size: 12px; }
.call-match-summary strong { font-weight: 600; letter-spacing: -.6px; }
table { font-size: 13px; }
th { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; background: #f5f7f8; }
td { border-color: #e8ecee; }
tbody tr:hover { background: #f8faf9; }
td strong { font-size: 13px; }
.table-wrap { padding: 0; }
dialog { border-radius: 18px; padding: 32px; box-shadow: 0 24px 80px #172b3826; }
.dialog-head h2 { font-family: inherit; font-size: 28px; font-weight: 600; letter-spacing: -.7px; }
.field dd, .transcript { font-size: 14px; }
footer { font-size: 11px; line-height: 1.6; padding: 28px 0; }

@media (max-width: 1380px) {
  .shell { grid-template-columns: 228px minmax(0, 1fr); }
  .sidebar { padding-inline: 14px; }
  .desk-kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .desk-kpi { padding: 22px 18px; min-height: 142px; }
  .desk-kpi:nth-child(6n) { box-shadow: inset -1px 0 var(--line); }
  .desk-kpi:nth-child(4n) { box-shadow: none; }
  .desk-kpi:nth-child(n+5) { border-top: 1px solid var(--line); }
}
@media (min-width: 1101px) {
  .page-header, main[data-page="overview"] .page-header { flex-direction: row; }
}
@media (max-width: 1100px) {
  .page-header, main[data-page="overview"] .page-header { align-items: flex-start; flex-direction: column; gap: 16px; }
  .performance-grid, .desk-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .shell { display: block; }
  .sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 120px; align-items: center; gap: 0 18px; height: auto; padding: 18px 16px 10px; border-right: 0; border-bottom: 1px solid var(--line); overflow: visible; }
  .brand { font-size: 15px; gap: 9px; min-width: 0; max-width: none; }
  .brand img { width: 40px; height: 40px; }
  .brand-sub { font-size: 8px; letter-spacing: .8px; }
  .partnership { position: static; width: auto; padding: 0; margin: 0; border: 0; }
  .partnership > span { font-size: 9px; margin-bottom: 8px; color: var(--muted); }
  .partnership img { width: 120px; height: auto; }
  .sidebar .nav-label, .sidebar-bottom .team-mark { display: none; }
  .sidebar nav { grid-column: 1 / -1; margin-top: 20px; gap: 4px; overflow-x: auto; max-width: 100%; padding-bottom: 6px; scrollbar-width: thin; }
  .sidebar nav a { min-height: 44px; padding: 10px 12px; font-size: 12px; }
  .sidebar-bottom { position: static; grid-column: 1 / -1; padding: 0; margin: 0; justify-self: end; }
  .sidebar .quiet { margin: 0; padding: 8px; min-height: 36px; font-size: 11px; }
  main { padding: 0 16px; }
  .topbar, main[data-page="overview"] .topbar { height: auto; min-height: 56px; gap: 10px; padding: 12px 0; flex-wrap: wrap; }
  .workspace-label { font-size: 10px; }
  .workspace-label > span { padding: 0 5px; }
  .page-header, main[data-page="overview"] .page-header { padding: 24px 0 16px; gap: 18px; }
  h1, main[data-page="overview"] h1 { font-size: 28px; letter-spacing: -.8px; }
  .header-actions, main[data-page="overview"] .header-actions { width: 100%; margin: 0; justify-content: space-between; }
  .header-actions select, main[data-page="overview"] .header-actions select { max-width: 180px; font-size: 13px; }
  .sync-row, main[data-page="overview"] .sync-row { font-size: 11px; margin-bottom: 20px; gap: 12px; }
  #content, main[data-page="overview"] #content { gap: 22px; }
  .desk-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .desk-kpi { padding: 20px 16px; min-height: 138px; }
  .desk-kpi:nth-child(n+3) { border-top: 1px solid var(--line); }
  .desk-kpi:nth-child(2n) { box-shadow: none; }
  .desk-kpi h3 { font-size: 12px; min-height: auto; }
  .desk-number { font-size: 30px; }
  .desk-kpi p { font-size: 11px; }
  .kpi-context { align-items: flex-start; font-size: 11px; gap: 6px; }
  .card, .performance-grid > .card, .desk-detail-grid > .card { padding: 20px; }
  .card .section-top h2 { font-size: 17px; }
  .card .section-top p { font-size: 12px; }
  .client-priorities { padding: 0; }
  .client-priorities .priority-actions { grid-template-columns: 1fr; }
  .priority-actions > a { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px; }
  .priority-actions > a:last-child { border-bottom: 0; }
  .table-wrap { padding: 0; }
  .chart-switch > label { padding-inline: 12px; }
  .chart-legend { font-size: 11px; gap: 10px; }
  .quality-row { padding: 20px 0; }
  .calendar-inline { padding: 16px; }
  .call-filter-form input, .call-filter-form select { font-size: 16px; }
  .field dd, .transcript { font-size: 14px; }
  dialog { padding: 20px; }
  footer { font-size: 11px; }
}
@media (max-width: 380px) {
  .sidebar { grid-template-columns: minmax(0, 1fr) 104px; gap: 0 12px; }
  .brand { font-size: 14px; }
  .brand img { width: 34px; height: 34px; }
  .partnership img { width: 104px; }
}
@media (prefers-reduced-motion: no-preference) {
  button, a, select { transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Structured call evidence: concise counts, detail on demand, native keyboard controls. */
.capture-summary{margin:18px 0;padding:20px;border:1px solid #dce5e3;border-radius:12px;background:#fff;color:#20282e;min-width:0}
.capture-summary h2,.capture-summary h4{font-size:17px;margin:0 0 6px}.capture-summary p,.capture-detail p{font-size:12px;line-height:1.65}.capture-summary summary,.capture-review summary{min-height:44px;display:list-item;padding:12px 0;cursor:pointer;font-weight:600}
.capture-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:18px 0}.capture-metrics>div{min-width:0}.capture-metrics dt{font-size:12px;color:#526371}.capture-metrics dd{font-size:26px;font-weight:600;margin:6px 0;font-variant-numeric:tabular-nums}.capture-metrics small{font-size:11px;line-height:1.5;color:#526371;display:block}.capture-note{color:#526371}.capture-summary details{border-top:1px solid #dce5e3;margin-top:12px}.capture-coverage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px}.capture-coverage>div{display:flex;gap:16px;justify-content:space-between;border-bottom:1px solid #eef2f1;padding:8px 0;font-size:12px}.capture-coverage dd{margin:0;font-variant-numeric:tabular-nums}.capture-facts{margin:12px 0}.capture-facts>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;border-top:1px solid #e2e6e8;padding:12px 0}.capture-facts dt{font-size:12px;color:#526371}.capture-facts dd{margin:0;font-size:12px;overflow-wrap:anywhere}.capture-facts dd span{display:block;margin:6px 0;line-height:1.6}.capture-facts dd strong{display:block}.capture-review fieldset{min-width:0;border:0;padding:0;margin:0}.capture-review legend{font-size:12px;margin:8px 0}.capture-review [data-capture-axis],.capture-corrections{padding:12px 0;border-top:1px solid #e2e6e8}.capture-review label{display:grid;gap:6px;margin:8px 0;font-size:12px}.capture-review input,.capture-review select,.capture-review textarea{width:100%;min-height:44px}.capture-review [hidden]{display:none!important}.capture-summary :focus-visible,.capture-review :focus-visible{outline:3px solid #176554;outline-offset:3px}
@media(max-width:640px){.capture-summary{padding:16px}.capture-metrics{grid-template-columns:1fr;gap:14px}.capture-metrics>div{border-bottom:1px solid #eef2f1;padding-bottom:12px}.capture-metrics dd{font-size:24px}.capture-coverage{grid-template-columns:1fr}.capture-facts>div{grid-template-columns:1fr;gap:6px}}

/* Search that finds anything (2026-09-25): header search, match snippets, saved searches, seller timeline. */
.global-search-host { flex: 1; max-width: 560px; margin: 0 16px; position: relative; }
.global-search input { min-height: 40px; padding: 8px 14px; border-radius: 999px; border-color: var(--line); background: #fff; font-size: 12px; }
.global-search input:focus { border-color: var(--teal); }
.global-search-results { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 48px #142c3a24; max-height: min(70vh, 520px); overflow-y: auto; padding: 6px; }
.global-search-results ul { list-style: none; margin: 0; padding: 0; }
.global-search-results li button { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 12px; width: 100%; text-align: left; border: 0; border-radius: 8px; padding: 10px 12px; min-height: 0; background: transparent; }
.global-search-results li button:hover, .global-search-results li button:focus { background: var(--wash); }
.search-who strong { display: block; font-size: 13px; font-weight: 600; }
.search-who span { font-size: 11px; color: var(--muted); }
.search-what { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.search-what small { font-size: 10px; color: var(--muted); }
.search-match { grid-column: 1 / -1; display: block; font-size: 11px; line-height: 1.6; color: #45565e; background: #f5f7f4; border-radius: 6px; padding: 4px 8px; margin-top: 4px; }
.search-match b { color: var(--teal); font-weight: 600; }
.search-all { display: block; padding: 10px 12px; font-size: 12px; font-weight: 500; text-decoration: none; border-top: 1px solid var(--line); margin-top: 4px; }
.search-empty { margin: 0; padding: 12px; font-size: 12px; color: var(--muted); }
.call-scope { display: inline-flex !important; align-items: center; gap: 8px; font-size: 11px; white-space: nowrap; min-height: 44px; }
.call-scope input { width: auto; min-height: 0; }
.call-saved { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.call-saved:empty { display: none; }
.saved-chip { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.saved-chip button { min-height: 32px; border: 0; border-radius: 0; padding: 6px 12px; font-size: 11px; }
.saved-chip button.quiet { padding: 6px 10px; color: var(--muted); }
.call-save-form { display: flex; gap: 8px; margin: 0 0 12px; max-width: 520px; }
.call-results td .quiet { margin-top: 8px; font-size: 10px; padding: 6px 10px; }
#seller-dialog { width: min(1040px, calc(100% - 32px)); }
.seller-head { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 20px; }
.seller-head h2 { font-family: Lora, Georgia, serif; font-size: 26px; font-weight: 400; margin: 0 0 4px; }
.seller-head .muted { margin: 0; }
.seller-head > button { align-self: flex-start; min-height: 40px; }
.seller-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 28px; }
.seller-list { list-style: none; padding: 0; margin: 0 0 20px; }
.seller-list li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.7; }
.seller-list small { display: block; color: var(--muted); font-size: 11px; }
.seller-calls { list-style: none; padding: 0; margin: 0; }
.seller-call { padding: 14px 0; border-top: 1px solid var(--line); }
.seller-call-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 12px; }
.seller-call-head small { width: 100%; color: var(--muted); font-size: 11px; }
.seller-call p { font-size: 12px; line-height: 1.7; margin: 0 0 6px; }
.seller-next b { color: var(--teal); font-weight: 600; }
.seller-call button { min-height: 34px; padding: 6px 12px; font-size: 11px; }
@media (max-width: 760px) {
  .global-search-host { order: 3; flex-basis: 100%; max-width: none; margin: 4px 0 0; }
  .seller-grid { grid-template-columns: 1fr; }
  .call-save-form { flex-wrap: wrap; }
}

/* ---- Today, Results and the four-item menu (2026-09-25, "remove the bloat") ---------------------------- */
.today-hero { padding: 20px 24px; }
.today-line { font-size: 18px; line-height: 1.45; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.today-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 16px 0; }
.today-kpi { padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.today-kpi .label { font-size: 12px; font-weight: 600; color: var(--muted); cursor: help; }
.today-kpi .number { font-size: 30px; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.today-kpi small { font-size: 11px; color: var(--muted); }
.today-change { margin: 0; font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.today-change.up { color: #0f7a4a; }
.today-change.down { color: #b42318; }
.today-bars { display: flex; align-items: flex-end; gap: 4px; height: 40px; margin-top: 10px; border-bottom: 1px solid var(--line); }
.today-bars span { flex: 1; max-width: 18px; min-width: 6px; background: #c9d8d3; border-radius: 3px 3px 0 0; }
.today-bars span.now { background: var(--teal); }
.today-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 960px) { .today-grid { grid-template-columns: minmax(0, 1fr); } }
.today-list { margin-top: 14px; }
.today-list h3 { font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.today-list ul { list-style: none; margin: 0; padding: 0; }
.today-appt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.today-appt small { grid-column: 2; color: var(--muted); }
.today-call { padding: 12px 0; border-top: 1px solid var(--line); }
.today-list li:first-child { border-top: 0; }
.today-call-main { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.today-call-meta { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.today-note { margin: 6px 0 0; line-height: 1.5; }
.today-next { margin: 4px 0 0; font-size: 13px; }
.today-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.today-actions audio { width: 100%; max-width: 360px; height: 36px; }
.today-more { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--teal); text-decoration: none; }
.res-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.res-strip > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; }
.res-strip span { font-size: 12px; color: var(--muted); font-weight: 600; }
.res-strip strong { font-size: 24px; font-variant-numeric: tabular-nums; }
.res-strip small { font-size: 11px; color: var(--muted); }
.res-legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin: 4px 0 8px; }
.res-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.res-legend .calls::before, .res-col-bars .calls { background: #c9d8d3; }
.res-legend .reached::before, .res-col-bars .reached { background: var(--teal); }
.res-cols { display: flex; align-items: flex-end; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.res-col { flex: 1 0 30px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.res-col-bars { display: flex; align-items: flex-end; gap: 2px; height: 124px; }
.res-col-bars span { width: 10px; border-radius: 3px 3px 0 0; }
.res-col small { font-size: 10px; color: var(--muted); }
.res-details { margin-top: 12px; }
.res-details summary, #how-we-count summary { cursor: pointer; font-weight: 600; }
#how-we-count summary h2 { display: inline; font-size: 16px; }
.res-bar { display: block; padding: 8px 0; color: inherit; text-decoration: none; }
a.res-bar:hover .res-bar-top span { text-decoration: underline; }
.res-bar-top { display: flex; justify-content: space-between; gap: 12px; }
.res-bar-top strong small { font-weight: 400; color: var(--muted); }
.res-track { height: 6px; border-radius: 3px; background: #e7ecee; margin-top: 6px; }
.res-track span { display: block; height: 6px; border-radius: 3px; background: var(--teal); }
.res-bar.best .res-bar-top span { font-weight: 700; color: var(--teal); }
.res-bar small { color: var(--muted); font-size: 11px; }
.res-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 8px 0 12px; }
.res-stats span { display: block; font-size: 12px; color: var(--muted); }
.res-stats strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.res-sub { font-size: 12px; font-weight: 600; color: var(--muted); margin: 8px 0 0; }
.res-foot { margin-top: 12px; }
.res-link { margin: 8px 0 0; }
.res-link a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.res-defs { display: grid; gap: 12px; margin: 16px 0 0; }
.res-defs dt { font-weight: 600; }
.res-defs dd { margin: 2px 0 0; color: var(--muted); line-height: 1.5; }
.handoff-notes summary { cursor: pointer; line-height: 1.5; }
.handoff-notes p { white-space: pre-wrap; line-height: 1.5; }
.legacy-nav { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; }
.legacy-nav p { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px 12px; }
.legacy-nav a { font-size: 13px; }
.today-outcomes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 12px; font-size: 12px; }
.today-outcomes span { color: var(--muted); font-weight: 600; margin-right: 4px; }
.today-outcomes a { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--ink); text-decoration: none; background: #fff; }
.today-outcomes a:hover { border-color: var(--teal); }
.today-note { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Phone: the four menu items share the row instead of scrolling off screen; numbers sit two across. */
@media (max-width: 720px) {
  nav[aria-label="Campaign"] > a:not([hidden]) { flex: 1 1 0; flex-shrink: 1; min-width: 0; justify-content: center; gap: 4px; padding: 10px 6px; }
  nav[aria-label="Campaign"] > a svg { width: 15px; flex: none; }
  .legacy-nav { display: none; }
  .today-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .today-kpi { padding: 14px; }
  .today-kpi .number { font-size: 24px; }
  .today-kpi small { display: none; }
  .today-line { font-size: 16px; }
  .res-stats { grid-template-columns: minmax(0, 1fr); }
}
.today-cover { margin: 0 0 6px; font-size: 13px; color: var(--ink); }
.today-missed .badge.amber { background: #fff4e5; color: #8a4b00; }
/* Calls to fix (Lisa and CFG staff) */
.nav-count { margin-left: auto; min-width: 20px; padding: 1px 7px; border-radius: 999px; background: #b42318; color: #fff; font-size: 11px; font-weight: 700; text-align: center; }
.fix-intro ol { margin: 8px 0 8px 18px; padding: 0; line-height: 1.6; }
.fix-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.fix-row { padding: 16px 20px; display: grid; gap: 6px; }
.fix-row.fix-done { opacity: .5; }
.fix-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.fix-who strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.fix-who span, .fix-meta { color: var(--muted); font-size: 13px; }
.fix-meta, .fix-heard { margin: 0; }
.fix-heard { line-height: 1.5; }
.fix-actions { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin-top: 4px; }
.fix-actions audio { width: 100%; max-width: 360px; height: 36px; }
.fix-to { display: grid; gap: 4px; font-size: 12px; color: var(--muted); }
.fix-to select { min-height: 36px; }
.fix-result { margin: 0; font-size: 13px; color: var(--teal); }
.badge.danger { background: #fdecea; color: #b42318; }
/* Today (2026-10-03 audit): possible sellers, callbacks owed, the AI draft label and Lisa's days off */
.today-sellers { margin-top: 16px; }
.today-seller .badge.amber, .today-callback .badge.amber { background: #fff4e5; color: #8a4b00; }
.today-draft { display: inline-block; margin-right: 4px; padding: 1px 6px; border-radius: 4px; background: #eef2f1; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; vertical-align: 1px; }
.today-agreed { color: var(--ink); }
.today-sub { margin: 0 0 6px; font-size: 12px; }
.today-off { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--teal); }
.today-outcomes .today-chip { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--ink); background: #fff; font-style: normal; }
/* 2026-10-03 audit #3 and #5 (Calls, call dialog, seller history, territory): the draft label on an AI summary nobody has checked, and what the recording shows about a logged callback. */
.draft-label { display: block; margin: 0 0 4px; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--amber, #84551b); }
.callback-agreement { display: block; margin: 6px 0 0; font-size: 12px; color: var(--teal); }
.seller-call .callback-agreement, .seller-call .draft-label { margin: 0 0 4px; }
/* 2026-10-03 audit #1 (Calls to fix): why a call that shows interest is offered as Callback, not a no. */
.fix-why { margin: 0; font-size: 13px; font-weight: 600; color: var(--amber, #84551b); }
/* 2026-10-03 audit #6 (Results, How far through the list): each list figure says what it counts. */
.res-stats small { display: block; margin-top: 2px; font-size: 11px; line-height: 1.35; color: var(--muted); }
/* 2026-10-08 list A/B test: the data list tag on every call, the Data source filter and "Which list works better". */
.data-tag { display: inline-block; width: fit-content; margin-top: 4px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: 10px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.data-tag-existing { border-color: #c9d8d3; background: #f1f6f4; color: #2f5d52; }
.data-tag-investor_machine { border-color: #e6d3b4; background: #fbf5ea; color: #84551b; }
.call-results td > .data-tag { display: inline-block; }
.today-call-main .data-tag, .pill-row .data-tag, .fix-who .data-tag { margin-top: 0; }
.seller-head .data-tag { margin: 0 0 0 8px; vertical-align: 1px; }
@media (min-width: 1101px) { .call-filter-primary { grid-template-columns: minmax(210px, 1.6fr) repeat(4, minmax(130px, 1fr)); } }
.list-mode { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 4px 0 6px; }
.list-mode button { min-height: 40px; border: 0; border-radius: 0; padding: 8px 14px; font-size: 12px; background: #fff; }
.list-mode button + button { border-left: 1px solid var(--line); }
.list-mode button[aria-pressed="true"] { background: var(--teal); color: #fff; }
.list-mode-note { margin: 0 0 12px; font-size: 12px; }
.list-compare-table { width: 100%; table-layout: fixed; }
.list-compare-table th, .list-compare-table td { padding: 10px 14px; text-align: left; vertical-align: top; white-space: normal; overflow-wrap: anywhere; }
.list-compare-table thead th:first-child { width: 38%; }
.list-compare-table thead th { font-weight: 600; color: var(--ink); }
.list-compare-table thead th a { display: block; margin-top: 4px; font-size: 11px; font-weight: 500; }
.list-compare-table tbody th { font-weight: 500; background: transparent; }
.list-compare-table tbody th small { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; color: var(--muted); }
.list-compare-table td { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.list-compare-table td small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); }
@media (max-width: 720px) {
  .list-mode { display: flex; }
  .list-mode button { flex: 1 1 0; padding: 8px 10px; }
  .list-compare-table th, .list-compare-table td { padding: 8px 6px; }
  .list-compare-table thead th:first-child { width: 36%; }
  .list-compare-table thead th { font-size: 11px; }
  .list-compare-table tbody th { font-size: 12px; }
  .list-compare-table td { font-size: 14px; }
}
/* 2026-10-08 Investor Machine by group, under "Which list works better". Wide on a phone: the table scrolls inside its
   own frame (the page never does) and the group names stay pinned on the left. Group tags are longer: they may wrap. */
.data-tag { max-width: 100%; }
@media (max-width: 720px) { .data-tag { white-space: normal; } }
.list-groups { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.list-groups-head h3 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.list-groups-head p { margin: 0 0 12px; font-size: 12px; }
.list-groups-head .list-groups-swipe { display: none; margin-top: -4px; font-style: italic; }
.list-groups-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 8px; }
.list-groups-table { width: 100%; min-width: 760px; table-layout: fixed; }
.list-groups-table th, .list-groups-table td { padding: 10px 12px; text-align: left; vertical-align: top; white-space: normal; overflow-wrap: break-word; }
.list-groups-table thead th { font-size: 11px; font-weight: 600; color: var(--ink); overflow-wrap: normal; word-break: normal; }
.list-groups-table thead th small { display: block; margin-top: 2px; font-size: 10px; font-weight: 400; color: var(--muted); }
.list-groups-table th:first-child { position: sticky; left: 0; z-index: 1; width: 25%; box-shadow: 1px 0 0 var(--line); }
.list-groups-table thead th:first-child { background: #f5f7f8; }
.list-groups-table tbody th { font-size: 12px; font-weight: 500; background: #fff; border-top: 1px solid var(--line); }
.list-groups-table tbody th a { display: block; margin-top: 4px; font-size: 11px; font-weight: 500; }
.list-groups-table td { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.list-groups-table td small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); }
@media (max-width: 720px) {
  .list-groups-head .list-groups-swipe { display: block; }
  .list-groups-table { min-width: 740px; }
  .list-groups-table th, .list-groups-table td { padding: 8px 8px; }
  .list-groups-table th:first-child { width: 132px; }
  .list-groups-table td { font-size: 13px; }
}
