/*
 * Influencer Tracker styles. monday.com-inspired: neutral surfaces, saturated
 * colour ONLY for status pills / group bars / the primary button.
 * Tokens verified from monday's Vibe design system (see
 * dev-plans/influencer-tracker-ui-research-2026-10-12.md).
 * Docs: docs/INFLUENCER-TRACKER-UI.md
 */

:root {
  --primary: #0073ea; --primary-hover: #0060b9; --primary-selected: #cce5ff; --primary-soft: #f0f7ff;
  --text: #323338; --text-2: #676879; --text-3: #6f7282;
  --bg-app: #f6f7fb; --surface: #ffffff; --surface-2: #f5f6f8; --hover: rgba(103,104,121,.1);
  --border: #d0d4e4; --border-soft: #e6e9ef;
  --done: #00c875; --working: #fdab3d; --stuck: #df2f4a; --empty: #c4c4c4;
  --danger: #d83a52; --danger-hover: #b63546; --positive: #00854d;
  --sh-sm: 0 4px 8px rgba(0,0,0,.08); --sh-md: 0 6px 20px rgba(0,0,0,.2); --sh-lg: 0 15px 50px rgba(0,0,0,.3);
  --r-4: 4px; --r-8: 8px; --r-12: 12px; --r-16: 16px;
  --brand-gold: #c99a2e; --brand-gold-soft: #fbf3df;
  --brand-grad: linear-gradient(90deg, #22c4e6, #e04fc0 55%, #f1ac3f);
  --font: 'Figtree', Roboto, -apple-system, sans-serif;
  --font-title: 'Poppins', 'Figtree', sans-serif;
  --ease-enter: cubic-bezier(0,0,.35,1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 400 14px/20px var(--font); color: var(--text); background: var(--bg-app); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 32px; padding: 0 12px; border-radius: var(--r-4); border: 1px solid transparent;
  background: transparent; cursor: pointer; white-space: nowrap; font-weight: 500;
  transition: background 70ms, border-color 70ms, transform 70ms;
}
.btn:active { transform: scale(.96); }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { border-color: var(--border); background: var(--surface); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-ghost:hover { background: var(--hover); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: var(--danger-hover); }
.btn-lg { height: 40px; padding: 0 16px; font-size: 15px; }
.btn-icon { width: 32px; padding: 0; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; height: 60px; padding: 0 24px;
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border-bottom: 1px solid var(--border-soft);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-logo { width: 32px; height: 32px; flex: none; display: block; } /* Color Glow gold mark (assets/logo-mark.svg) */
.brand-name { font: 600 18px/1 var(--font-title); letter-spacing: -.2px; }
.brand-sub { font-size: 12px; color: var(--text-2); }
.topbar .spacer { flex: 1; }
.search { position: relative; width: min(280px, 32vw); }
.search input {
  width: 100%; height: 34px; padding: 0 12px 0 32px; border: 1px solid var(--border-soft);
  border-radius: var(--r-8); background: var(--surface-2);
}
.search input:focus { outline: none; border-color: var(--primary); background: var(--surface); }
.search svg { position: absolute; left: 10px; top: 9px; color: var(--text-3); }
.mode-badge { font-size: 12px; padding: 3px 8px; border-radius: 99px; background: #fff3d6; color: #8a5a00; }

/* ---------- menus ---------- */
.menu-wrap { position: relative; }
.menu {
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 210px; z-index: 40;
  background: var(--surface); border-radius: var(--r-8); box-shadow: var(--sh-md); padding: 6px;
}
.menu button { display: flex; width: 100%; padding: 8px 10px; border: 0; background: none; border-radius: var(--r-4); cursor: pointer; text-align: left; gap: 8px; }
.menu button:hover { background: var(--hover); }
.menu .danger { color: var(--danger); }
.menu hr { border: 0; border-top: 1px solid var(--border-soft); margin: 6px 0; }

/* ---------- layout ---------- */
.main { max-width: 1080px; margin: 0 auto; padding: 24px 24px 80px; }
.hello h1 { font: 600 24px/30px var(--font-title); margin: 0 0 4px; letter-spacing: -.3px; }
.hello p { margin: 0 0 20px; color: var(--text-2); }

.summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -8px 0 16px; font-size: 14px; }
.summary .sum { border: 0; background: none; padding: 2px 0; cursor: pointer; font-weight: 600; color: var(--text); }
.summary .sum:hover { text-decoration: underline; }
.summary .sum.red { color: var(--stuck); }
.summary .sum.orange { color: #a85d00; }
.summary .sep { color: var(--text-3); }
.more-views { padding: 0 4px 0 12px; }
.more-views select { border: 0; background: transparent; height: 30px; cursor: pointer; max-width: 220px; }
.more-items summary { cursor: pointer; color: var(--primary); padding: 6px 0; font-size: 13px; }
.owed-line { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(0,0,0,.06); font-size: 13px; color: var(--text-2); }
.late { color: var(--stuck); font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.stat {
  background: var(--surface); border-radius: var(--r-8); padding: 14px 16px; border: 1px solid var(--border-soft);
  cursor: pointer; text-align: left; transition: box-shadow .2s, border-color .2s;
}
.stat:hover { box-shadow: var(--sh-sm); border-color: var(--border); }
.stat .num { font: 600 24px/30px var(--font-title); }
.stat .lbl { color: var(--text-2); font-size: 13px; }
.stat.red .num { color: var(--stuck); }
.stat.orange .num { color: #a85d00; }
.stat.green .num { color: var(--positive); }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 16px; scrollbar-width: none; }
.chip {
  flex: none; height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--border);
  background: var(--surface); cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.chip:hover { background: var(--surface-2); }
.chip.on { background: var(--primary-selected); border-color: var(--primary); color: #0b4a8f; font-weight: 600; }
.chip .count { font-size: 12px; color: var(--text-2); }
.chip.on .count { color: #0b4a8f; }

/* ---------- groups + rows ---------- */
.group { margin-bottom: 24px; }
.group-head { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; cursor: pointer; user-select: none; }
.group-head h2 { font: 500 17px/24px var(--font-title); margin: 0; color: var(--g); }
.group-head .count { color: var(--text-2); font-size: 13px; }
.group-head .caret { color: var(--g); transition: transform .15s; }
.group.collapsed .caret { transform: rotate(-90deg); }
.group.collapsed .rows { display: none; }
.rows { background: var(--surface); border-radius: var(--r-8); box-shadow: 0 1px 2px rgba(0,0,0,.04); overflow: hidden; border-left: 6px solid var(--g); }
.row {
  /* Fixed outer columns so every row's stage pill and due date line up (rows are separate grids). */
  display: grid; grid-template-columns: minmax(0, 1.3fr) 168px minmax(0, 2fr) 130px 210px;
  align-items: center; gap: 12px; padding: 10px 14px; min-height: 60px;
  border-top: 1px solid var(--border-soft); cursor: pointer; transition: background 70ms;
}
.row:first-child { border-top: 0; }
.row:hover, .row:focus-within { background: var(--primary-soft); }
.row .name-link { color: inherit; }
.row .name-link:hover { text-decoration: underline; }
.reminded { font-size: 12px; color: var(--text-2); }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.avatar {
  flex: none; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-weight: 600; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.who .name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who .handle { color: var(--text-2); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .stage { display: flex; }
.row .stage .pill { flex: 1; max-width: 168px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; height: 28px; padding: 0 10px;
  border-radius: var(--r-4); font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.next .title { font-weight: 500; }
.next .more { font-size: 12.5px; color: var(--text-2); }
.next .who-tag { font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px; color: var(--text-3); font-weight: 600; }
.due { font-size: 13px; color: var(--text-2); white-space: nowrap; }
.due.overdue { color: var(--stuck); font-weight: 600; }
.due.today { color: #b84a14; font-weight: 600; }
.due .bang { display: inline-flex; width: 16px; height: 16px; border-radius: 50%; background: var(--stuck); color: #fff; font-size: 11px; align-items: center; justify-content: center; margin-right: 4px; font-weight: 700; }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }

.empty { text-align: center; padding: 56px 20px; background: var(--surface); border-radius: var(--r-12); }
.empty .art { font-size: 40px; margin-bottom: 8px; }
.empty h3 { font: 500 18px/24px var(--font-title); margin: 0 0 6px; }
.empty p { color: var(--text-2); margin: 0 0 16px; }

/* ---------- side panel ---------- */
.scrim { position: fixed; inset: 0; background: rgba(41,47,76,.35); z-index: 50; animation: fade .2s; }
.panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(620px, 100vw); z-index: 51;
  background: var(--surface); box-shadow: var(--sh-lg); display: flex; flex-direction: column;
  animation: slide .25s var(--ease-enter);
}
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.panel.still, .scrim.still { animation: none; }
@keyframes fade { from { opacity: 0; } }
.panel-head { padding: 18px 20px 0; }
.panel-top { display: flex; align-items: flex-start; gap: 12px; }
.panel-top .avatar { width: 44px; height: 44px; font-size: 16px; }
.panel-top h2 { font: 600 22px/28px var(--font-title); margin: 0; }
.panel-top .sub { color: var(--text-2); font-size: 13px; }
.panel-top .grow { flex: 1; min-width: 0; }
.steps { display: flex; gap: 4px; margin: 16px 0 12px; }
.step { flex: 1; }
.step .bar { height: 6px; border-radius: 3px; background: var(--border-soft); }
.step.done .bar { background: var(--brand-grad); background-size: 600% 100%; }
.step.current .bar { background: var(--working); }
.step .lbl { font-size: 11.5px; color: var(--text-2); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.step.current .lbl { color: var(--text); font-weight: 600; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border-soft); margin: 0 -20px; padding: 0 16px; }
.tab { border: 0; background: none; padding: 10px 10px; cursor: pointer; color: var(--text-2); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab:hover { color: var(--text); }
.tab.on { color: var(--text); font-weight: 600; border-color: var(--primary); }
.panel-body { flex: 1; overflow-y: auto; padding: 18px 20px 40px; }

.card { border: 1px solid var(--border-soft); border-radius: var(--r-8); padding: 14px; margin-bottom: 14px; }
.card h3 { font: 600 13px/18px var(--font); text-transform: uppercase; letter-spacing: .5px; color: var(--text-2); margin: 0 0 10px; }
.next-card { background: var(--primary-soft); border-color: var(--primary-selected); }
.todo-line { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(0,0,0,.05); }
.todo-line:first-of-type { border-top: 0; }
.todo-line .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.todo-line .t { flex: 1; min-width: 0; }
.todo-line .t small { display: block; color: var(--text-2); }
.owes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.owes ul { margin: 0; padding-left: 18px; color: var(--text); }
.owes li { margin: 2px 0; }
.owes .none { color: var(--text-3); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.fact .k { font-size: 12px; color: var(--text-2); }
.fact .v { font-weight: 500; }
.deliv { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border-soft); flex-wrap: wrap; }
.deliv:first-of-type { border-top: 0; }
.deliv .name { font-weight: 600; min-width: 130px; }
.deliv .meta { flex: 1; font-size: 12.5px; color: var(--text-2); min-width: 140px; }
.mini-pill { font-size: 12px; height: 22px; padding: 0 8px; border-radius: var(--r-4); display: inline-flex; align-items: center; background: var(--surface-2); color: var(--text-2); }
.mini-pill.ok { background: #d6f5e6; color: #036339; }
.mini-pill.warn { background: #fff0d6; color: #8a5a00; }
.mini-pill.bad { background: #fbd9de; color: #a1142b; }

/* activity */
.composer textarea { width: 100%; min-height: 64px; border: 1px solid var(--border); border-radius: var(--r-8); padding: 10px 12px; resize: vertical; }
.composer textarea:focus { outline: none; border-color: var(--primary); }
.composer .bar { display: flex; justify-content: flex-end; margin-top: 8px; gap: 8px; }
.timeline { list-style: none; margin: 16px 0 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border-soft); }
.timeline .ico { width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.timeline .what { font-weight: 500; }
.timeline .detail { color: var(--text-2); white-space: pre-wrap; word-break: break-word; }
.timeline .when { font-size: 12px; color: var(--text-3); }
.tag-auto { font-size: 11px; padding: 1px 6px; border-radius: 4px; background: #ede3fb; color: #5b2a9e; margin-left: 6px; font-weight: 600; }

/* ---------- forms + modals ---------- */
.modal-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(41,47,76,.7); display: flex; align-items: center; justify-content: center; padding: 16px; animation: fade .15s; }
.modal {
  width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--surface);
  border-radius: var(--r-16); box-shadow: var(--sh-lg); padding: 24px; animation: pop .18s var(--ease-enter);
}
.modal.wide { width: min(720px, 100%); }
@keyframes pop { from { transform: scale(.97); opacity: 0; } }
.modal h2 { font: 600 20px/26px var(--font-title); margin: 0 0 6px; }
.modal .intro { color: var(--text-2); margin: 0 0 16px; }
.modal .actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.fields { display: grid; gap: 14px; }
.fields.cols-2 { grid-template-columns: 1fr 1fr; }
.fields .wide { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.field input:not([type=checkbox]), .field select, .field textarea {
  width: 100%; min-height: 38px; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--r-4); background: var(--surface);
}
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-selected); }
.field .hint { font-size: 12px; color: var(--text-2); margin-top: 4px; }
.field.check { display: flex; align-items: center; gap: 8px; }
.field.check label { margin: 0; font-weight: 400; }
.field.err input, .field.err select, .field.err textarea { border-color: var(--danger); }
.form-error { color: var(--danger); font-size: 13px; margin-top: 10px; }
details.more { border-top: 1px solid var(--border-soft); padding-top: 12px; }
details.more summary { cursor: pointer; color: var(--primary); font-weight: 500; margin-bottom: 12px; }
.section-title { font: 600 14px/20px var(--font-title); margin: 18px 0 10px; }
.section-title:first-child { margin-top: 0; }
.channel-row { display: grid; grid-template-columns: 130px 1fr 32px; gap: 8px; align-items: center; margin-bottom: 8px; }
.attach-hint { background: #fff8e6; border: 1px solid #ffe2a3; color: #6b4a00; padding: 8px 12px; border-radius: var(--r-8); font-size: 13px; margin-bottom: 12px; }
.mail-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.submission { background: var(--surface-2); border-radius: var(--r-8); padding: 12px; margin-bottom: 4px; word-break: break-word; }

/* ---------- toasts ---------- */
.toasts { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; }
.toast { background: #323338; color: #fff; padding: 10px 14px; border-radius: var(--r-4); box-shadow: var(--sh-md); min-width: 220px; display: flex; gap: 12px; align-items: center; animation: pop .18s; }
.toast.error { background: var(--danger); }
.toast.success { background: var(--positive); }
.toast button { background: none; border: 0; color: #fff; text-decoration: underline; cursor: pointer; }

/* ---------- gate ---------- */
.gate { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; }
.gate-card { width: min(380px, 100%); background: var(--surface); border-radius: var(--r-16); box-shadow: var(--sh-md); padding: 32px 28px; text-align: center; }
.gate-card .gate-logo { width: 64px; height: 64px; margin: 0 auto 12px; }
.gate-card h1 { font: 600 22px/28px var(--font-title); margin: 0 0 4px; }
.gate-card p { color: var(--text-2); margin: 0 0 20px; }
.gate-card input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--r-8); margin-bottom: 12px; font-size: 15px; }
.gate-card input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-selected); }
.gate-card .btn { width: 100%; }
.gate-card .err { color: var(--danger); min-height: 20px; margin-top: 10px; font-size: 13px; }
.boot { min-height: 100vh; display: flex; align-items: center; justify-content: center; color: var(--text-2); }

/* ---------- tables (insights) ---------- */
.table-wrap { background: var(--surface); border-radius: var(--r-8); overflow: auto; border: 1px solid var(--border-soft); }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th, table.data td { padding: 10px 12px; border-bottom: 1px solid var(--border-soft); text-align: right; white-space: nowrap; }
table.data th:first-child, table.data td:first-child { text-align: left; }
table.data th { font-weight: 600; color: var(--text-2); background: var(--surface-2); cursor: pointer; position: sticky; top: 0; }
table.data tr:last-child td { border-bottom: 0; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .row { grid-template-columns: 1fr auto; grid-template-areas: 'who stage' 'next next' 'due act'; gap: 8px; }
  .row .who { grid-area: who; } .row .stage { grid-area: stage; } .row .next { grid-area: next; }
  .row .due { grid-area: due; } .row .row-actions { grid-area: act; }
}
@media (max-width: 600px) {
  .topbar { padding: 8px 12px; gap: 8px; height: auto; flex-wrap: wrap; }
  .brand-sub { display: none; }
  .search { order: 10; width: 100%; }
  .main { padding: 16px 12px 104px; }
  .step .lbl { display: none; }
  .step.current .lbl { display: block; overflow: visible; }
  .modal .actions { position: sticky; bottom: -18px; background: var(--surface); padding: 12px 0 4px; margin-bottom: -4px; }
  .facts, .owes, .fields.cols-2 { grid-template-columns: 1fr; }
  .panel { width: 100vw; }
  .modal { padding: 18px; }
  
  .add-top { display: none; }
}


/* ---------- deliverable mix steppers (fields type "mix") ---------- */
.mix-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.mix-row { display: grid; grid-template-columns: 1fr 32px 44px 32px; align-items: center; gap: 4px; padding: 6px 6px 6px 10px; border: 1px solid var(--border-soft); border-radius: var(--r-8); }
.mix-row.on { border-color: var(--primary); background: var(--primary-soft); }
.mix-row span { font-size: 13px; }
.mix-row input { text-align: center; min-height: 32px !important; padding: 4px !important; }

/* ---------- journey (panel Overview): Now card, phase list, per-deliverable pipelines ---------- */
.now-card { border-left: 4px solid var(--primary); background: var(--primary-soft); border-color: var(--primary-selected); }
.now-card.is-overdue { border-left-color: var(--stuck); }
.now-phase { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--text-2); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 rgba(0,115,234,.5); animation: pulse 1.8s infinite; }
.is-overdue .pulse { background: var(--stuck); }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(0,115,234,0); } 100% { box-shadow: 0 0 0 0 rgba(0,115,234,0); } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
.now-title { font: 600 18px/24px var(--font-title); margin: 6px 0 2px; }
.now-when { color: var(--text-2); font-size: 13px; }
.now-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.then { margin-top: 12px; font-size: 13px; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.then > span:first-child { font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: .5px; }
.then .then-step { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 99px; padding: 2px 10px; }
.then .arrow { color: var(--text-3); }
.card h3 .count { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--text-3); margin-left: 6px; }

.journey { list-style: none; margin: 0; padding: 0; position: relative; }
.journey .phase { position: relative; padding-left: 0; }
.journey .phase:not(:last-child)::after { content: ''; position: absolute; left: 11px; top: 30px; bottom: -4px; width: 2px; background: var(--border-soft); }
.journey .phase.done:not(:last-child)::after { background: var(--done); }
.journey summary { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; list-style: none; }
.journey summary::-webkit-details-marker { display: none; }
.journey .node { width: 24px; height: 24px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; border: 2px solid var(--border); background: var(--surface); color: #fff; position: relative; z-index: 1; }
.journey .done .node { background: var(--done); border-color: var(--done); }
.journey .current .node { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 4px var(--primary-selected); }
.journey .skipped .node { border-style: dashed; color: var(--text-3); }
.journey .optional .node { border-style: dashed; }
.journey .pl { font-weight: 600; flex: 1; }
.journey .todo .pl, .journey .skipped .pl, .journey .optional .pl { color: var(--text-3); font-weight: 500; }
.journey .pm { font-size: 12.5px; color: var(--text-2); }
.journey .phase-body { margin: 0 0 10px 34px; }
.substeps { list-style: none; margin: 0; padding: 0; }
.substeps li { display: flex; align-items: center; gap: 8px; padding: 5px 0; flex-wrap: wrap; font-size: 13.5px; }
.substeps .dot, .pipe-steps .dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-size: 9px; color: #fff; flex: none; background: var(--surface); }
.substeps .done .dot, .pipe-steps .done .dot { background: var(--done); border-color: var(--done); }
.substeps .current .dot, .pipe-steps .current .dot { border-color: var(--primary); color: var(--primary); }
.substeps .todo .sl { color: var(--text-2); }
.substeps .done .sl { color: var(--text-2); text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
.substeps .current .sl { font-weight: 600; }
.substeps .when, .pipe-steps .when { font-size: 12px; color: var(--text-3); }
.substeps .sub-actions { margin-left: auto; display: flex; gap: 6px; }
.pipe { border: 1px solid var(--border-soft); border-radius: var(--r-8); padding: 10px; margin-bottom: 8px; }
.pipe-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.pipe-head .name { font-weight: 600; }
.pipe-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0 0 4px; padding: 0; }
.pipe-steps li { display: flex; flex-direction: column; align-items: center; gap: 3px; position: relative; font-size: 12px; text-align: center; }
.pipe-steps li:not(:last-child)::after { content: ''; position: absolute; top: 7px; left: calc(50% + 10px); right: calc(-50% + 10px); height: 2px; background: var(--border-soft); }
.pipe-steps li.done:not(:last-child)::after { background: var(--done); }
.pipe-steps .lbl { color: var(--text-2); }
.pipe-steps .current .lbl { color: var(--text); font-weight: 600; }
.pipe .deliv { border-top: 1px solid var(--border-soft); margin-top: 6px; padding-bottom: 0; }
.pipe .deliv .name, .pipe .deliv > .mini-pill { display: none; } /* the pipeline head already shows name + status */
.spark-box { margin-top: 6px; }

/* ---------- calendar (#/calendar) ---------- */
.cal-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.cal-nav { display: flex; align-items: center; gap: 6px; }
.cal-nav h2 { font: 600 18px/24px var(--font-title); margin: 0 0 0 8px; }
.cal-tools { display: flex; gap: 8px; align-items: center; }
.seg { display: inline-flex; border: 1px solid var(--border); border-radius: var(--r-4); overflow: hidden; }
.seg button { border: 0; background: var(--surface); padding: 0 12px; height: 32px; cursor: pointer; }
.seg button.on { background: var(--primary); color: #fff; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--text-2); margin-bottom: 10px; }
.cal-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--k); margin-right: 5px; vertical-align: -1px; }
.cal-month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-8); overflow: hidden; }
.cal-dow { padding: 8px; font-size: 12px; font-weight: 600; color: var(--text-2); background: var(--surface-2); border-bottom: 1px solid var(--border-soft); }
.cal-day { min-height: 104px; padding: 6px; border-right: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal-day:nth-child(7n + 7) { border-right: 0; }
.cal-day.other { background: var(--surface-2); }
.cal-day.other .cal-num { color: var(--text-3); }
.cal-day.today { background: var(--primary-soft); }
.cal-day.today .cal-num { background: var(--primary); color: #fff; border-radius: 99px; padding: 0 7px; align-self: flex-start; }
.cal-num { font-size: 12.5px; font-weight: 600; margin-bottom: 2px; }
.cal-chip { display: block; font-size: 11.5px; line-height: 16px; padding: 2px 6px; border-radius: 4px; color: var(--text); background: var(--surface-2); background: color-mix(in srgb, var(--k) 14%, white); border-left: 3px solid var(--k); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-chip:hover { text-decoration: none; filter: brightness(.96); }
.cal-chip.late { background: #fbe3e7; border-left-color: var(--stuck); }
.cal-chip.mine b { text-decoration: underline; text-decoration-color: rgba(0,0,0,.25); }
.cal-chip .ic { margin-right: 3px; }
.cal-more { border: 0; background: none; color: var(--primary); font-size: 12px; text-align: left; padding: 2px 4px; cursor: pointer; }
.cal-quarter { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 16px; align-items: start; }
.mini-months { display: grid; gap: 12px; }
.mini-month { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-8); padding: 10px; }
.mini-title { font-weight: 600; margin-bottom: 6px; }
.mini-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.mini-dow { font-size: 11px; color: var(--text-3); text-align: center; }
.mini-day { position: relative; height: 32px; border: 0; background: none; border-radius: 6px; font-size: 12px; cursor: pointer; color: var(--text-2); }
.mini-day.busy { color: var(--text); font-weight: 600; }
.mini-day.busy i { position: absolute; left: 50%; bottom: 3px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--k); }
.mini-day.late i { background: var(--stuck); }
.mini-day.today { outline: 2px solid var(--primary); }
.mini-day.sel { background: var(--primary-selected); }
.mini-day:hover { background: var(--hover); }
.agenda { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-8); padding: 12px 14px; }
.agenda-week h3 { font: 600 13px/18px var(--font); text-transform: uppercase; letter-spacing: .5px; color: var(--text-2); margin: 10px 0 6px; }
.agenda-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--border-soft); }
.agenda-row.late .agenda-date { color: var(--stuck); font-weight: 600; }
.agenda-date { width: 54px; flex: none; font-size: 13px; color: var(--text-2); }
.agenda-kind { width: 26px; height: 26px; flex: none; border-radius: 6px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); background: color-mix(in srgb, var(--k) 16%, white); font-size: 13px; }
.agenda-what { flex: 1; min-width: 0; color: var(--text); }
/* Day count button: hidden on desktop (chips show), the tap target on phones. */
.cal-count { display: none; border: 0; border-radius: 99px; background: var(--primary-selected); color: #0b4a8f; font-weight: 600; font-size: 12px; min-width: 26px; height: 26px; cursor: pointer; align-self: center; }
.cal-count.late { background: #fbd9de; color: #a1142b; }
.cal-day.sel { box-shadow: inset 0 0 0 2px var(--primary); }
.cal-overdue { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: #fff5f6; border: 1px solid #f4c3cb; border-radius: var(--r-8); padding: 8px 10px; margin-bottom: 10px; font-size: 13px; }
.cal-overdue b { color: var(--stuck); }
.cal-overdue-item { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
.cal-overdue-item .cal-chip { max-width: 260px; }
@media (max-width: 860px) {
  .cal-quarter { grid-template-columns: 1fr; }
  .cal-day { min-height: 72px; }
}
@media (max-width: 600px) {
  .nav-label { display: none; }
  .cal-month .cal-chip, .cal-month .cal-more { display: none; }
  .cal-count { display: block; }
  .cal-day { min-height: 60px; padding: 4px; }
  .mini-months { grid-template-columns: 1fr; }
}


/* ================= v3 usability redesign ================= */

/* --- visible tabs (top) + bottom bar on phones --- */
.brand-name { font: 600 17px/1 var(--font-title); }
.tabs-nav { display: flex; gap: 2px; margin-left: 12px; }
.nav-tab { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: var(--r-8); color: var(--text-2); font-weight: 500; text-decoration: none; position: relative; border: 0; background: none; cursor: pointer; }
.nav-tab:hover { background: var(--hover); color: var(--text); text-decoration: none; }
.nav-tab.on { color: var(--text); }
.tabs-nav .nav-tab.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -12px; height: 3px; border-radius: 3px; background: var(--brand-gold); }
.nav-ic { font-size: 14px; opacity: .75; }
.bottom-nav { display: none; }

/* --- Today --- */
.money-line { color: var(--text-2); }
.money-line a { color: inherit; text-decoration: underline; text-decoration-color: var(--border); }
.today-block { margin-bottom: 28px; }
.block-title { font: 600 16px/22px var(--font-title); margin: 0 0 10px; display: inline-flex; gap: 8px; align-items: baseline; }
.block-title .count { font: 400 13px var(--font); color: var(--text-2); }
.todo-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: var(--r-12); box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.todo-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--border-soft); cursor: pointer; }
.todo-row:first-child { border-top: 0; }
.todo-row:hover { background: var(--primary-soft); }
.todo-row.is-late { box-shadow: inset 3px 0 0 var(--stuck); }
.todo-title { font-weight: 500; }
.todo-who { font-size: 12.5px; color: var(--text-2); }
.avatar.sm { width: 30px; height: 30px; font-size: 12px; }
.waiting summary { list-style: none; cursor: pointer; }
.waiting summary::-webkit-details-marker { display: none; }
.waiting summary .block-title::before { content: '▸'; color: var(--text-3); font-size: 12px; }
.waiting[open] summary .block-title::before { content: '▾'; }
.later-note { margin: 8px 4px 0; }
.empty.small { padding: 22px; }

/* --- Influencers table --- */
.inf-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.inf-bar .chips { margin: 0; }
.inf-bar .search { width: min(300px, 100%); }
.inf-bar .search input { width: 100%; height: 36px; padding: 0 12px; border: 1px solid var(--border-soft); border-radius: var(--r-8); background: var(--surface); }
table.data.inf-table td, table.data.inf-table th { text-align: left; white-space: normal; }
table.data.inf-table td.num, table.data.inf-table th:last-child { text-align: right; white-space: nowrap; }
.inf-table tbody tr { cursor: pointer; }
.th-sort { all: unset; cursor: pointer; font: inherit; color: inherit; }
.th-sort:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.sort-mobile { display: none; }
.sort-mobile select { font: inherit; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); }
.inf-table tbody tr:hover { background: var(--primary-soft); }
.inf-table .who { display: flex; gap: 10px; align-items: center; }
.inf-table .handle { font-size: 12px; color: var(--text-2); }
.inf-table .next-cell { min-width: 220px; }
.inf-table .who-tag { font-size: 11px; font-weight: 600; letter-spacing: .3px; color: var(--text-3); text-transform: uppercase; }
.stage-text { font-weight: 500; white-space: nowrap; }
.stage-n { font-weight: 400; color: var(--text-2); font-size: 12.5px; }
.panel-stage { margin-top: 6px; }

/* --- panel: Now card with all your moves --- */
.now-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(0,0,0,.06); }
.now-item:first-of-type { border-top: 0; }
.now-item.is-late .now-title { color: var(--stuck); }
.now-text { flex: 1; min-width: 0; }
.now-item .now-title { font: 600 15px/20px var(--font); margin: 0; }
.now-item .now-actions { margin: 0; }
.now-sub { font-size: 11.5px; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; color: var(--text-3); margin: 10px 0 2px; }
.edit-box { margin-top: 4px; }
.edit-box > summary { list-style: none; display: inline-flex; margin-bottom: 12px; }
.edit-box > summary::-webkit-details-marker { display: none; }
.edit-box[open] > summary { margin-bottom: 4px; }

/* --- kickoff pack --- */
.kick-files { display: grid; gap: 8px; margin: 12px 0; }
.kick-file { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--border-soft); border-radius: var(--r-8); }
.kick-steps { margin: 12px 0 0 18px; padding: 0; display: grid; gap: 8px; line-height: 1.5; }
.kick-steps code { background: var(--surface-2); padding: 1px 6px; border-radius: 4px; }

/* --- lighter chrome: fewer borders, more air --- */
.card { border-color: transparent; background: var(--surface); box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 0 0 1px var(--border-soft); }
.hello h1 { font-size: 26px; }

@media (max-width: 600px) {
  .tabs-nav, .add-top { display: none; }
  .bottom-nav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--border-soft); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); justify-content: space-around; }
  .bottom-nav .nav-tab { flex-direction: column; gap: 2px; height: 52px; padding: 4px 8px; font-size: 11px; }
  .bottom-nav .nav-ic { font-size: 18px; }
  .bottom-nav .nav-tab.on { color: var(--brand-gold); }
  .main { padding-bottom: 96px; }
  .todo-row { grid-template-columns: 30px minmax(0, 1fr); row-gap: 8px; }
  .todo-row .due { grid-column: 2; grid-row: 2; align-self: center; }
  .todo-row .row-actions { grid-column: 2; grid-row: 2; justify-self: end; }
  .inf-table thead { display: none; }
  /* Phone: two-line cards — name + due, then the next step. Stage and paid live in the panel. */
  .inf-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px; border-bottom: 1px solid var(--border-soft); }
  table.data.inf-table td { border: 0; padding: 0; }
  .sort-mobile { display: block; }
  .inf-table td:nth-child(1) { grid-column: 1; grid-row: 1; }
  .inf-table td:nth-child(4) { grid-column: 2; grid-row: 1; align-self: center; }
  .inf-table td:nth-child(2), .inf-table td:nth-child(5) { display: none; }
  .inf-table .next-cell { grid-column: 1 / -1; grid-row: 2; min-width: 0; padding-left: 40px; font-size: 13px; color: var(--text-2); }
  .who .name, .who .name-link { white-space: normal; }
}
.group-label { font: 600 12px/16px var(--font); text-transform: uppercase; letter-spacing: .5px; color: var(--text-2); margin: 16px 2px 6px; }
.group-label:first-of-type { margin-top: 4px; }
.group-label .count { font-weight: 400; margin-left: 4px; }

/* v4 creator page line (panel Overview) */
.creator-link { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 8px 12px; margin: 10px 0; border-radius: var(--r-8); background: var(--brand-gold-soft); font-size: 13px; color: var(--text-2); }
.pill-new { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 10px; background: #e6f4ea; color: var(--positive); vertical-align: 1px; }
.auto-note { font-size: 12px; color: var(--text-2); white-space: nowrap; }
.now-item.auto .now-title { color: var(--text-2); font-weight: 500; }

/* v5 outreach */
.fit { display: inline-block; min-width: 30px; text-align: center; font-weight: 700; font-size: 12px; padding: 2px 6px; border-radius: 10px; background: var(--surface-2); color: var(--text-2); }
.fit.hi { background: #e6f4ea; color: var(--positive); } .fit.mid { background: #fff4df; color: #9a6400; } .fit.lo { background: var(--surface-2); }
.pill-out { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 10px; background: var(--brand-gold-soft); color: #8a6a1c; vertical-align: 1px; }
.pd-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.pd-name { font-weight: 700; font-size: 16px; display: flex; gap: 8px; align-items: center; }
.msg-box { background: var(--surface-2); border-radius: var(--r-8); padding: 10px 12px; margin: 10px 0; }
.msg-box .section-title { display: flex; justify-content: space-between; align-items: center; margin: 0 0 6px; }
.touch { padding: 8px 10px; border-left: 3px solid var(--border); margin: 6px 0; }
.touch.in { border-left-color: var(--brand-gold); background: var(--brand-gold-soft); border-radius: 0 var(--r-8) var(--r-8) 0; }
.touch-when { font-size: 12px; color: var(--text-2); }
.touch-text { white-space: pre-wrap; margin-top: 2px; }
.key-box { font: 500 13px/18px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-2); padding: 10px 12px; border-radius: var(--r-8); word-break: break-all; user-select: all; }
.inf-bar .chips { flex-wrap: wrap; }
/* outreach v5.1: funnel + vetting columns */
.funnel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; }
.funnel-step { all: unset; cursor: pointer; padding: 6px 10px; border-radius: var(--r-8); background: var(--surface); border: 1px solid var(--border-soft); font-size: 13px; color: var(--text-2); }
.funnel-step b { font-size: 15px; color: var(--text); margin-right: 2px; }
.funnel-step.on { border-color: var(--brand-gold); background: var(--brand-gold-soft); }
.funnel-arrow { color: var(--text-3); }
/* Outreach table (v5.1): its own layout — full width, one line per column, no sideways scroll. */
.main.wide { max-width: 1440px; }
.out-wrap { overflow: visible; }
table.data.out-table { table-layout: fixed; width: 100%; }
table.data.out-table th, table.data.out-table td { text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; padding: 9px 10px; }
.out-table .c-rank { width: 34px; text-align: right; }
.out-table .c-who { width: 24%; }
.out-table .c-fit { width: 52px; }
.out-table .c-fol { width: 80px; }
.out-table .c-niche { width: 13%; }
.out-table .c-loc { width: 11%; }
.out-table .c-eng { width: 200px; }
.out-table .c-stage { width: auto; }
.out-table .c-due { width: 110px; }
.out-table .c-act { width: 150px; text-align: right; }
.out-table .who { display: flex; gap: 10px; align-items: center; min-width: 0; }
.out-table .who-text { min-width: 0; }
.out-table .who-text > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.out-table .handle { font-size: 12px; color: var(--text-2); }
.out-table .next-line { font-size: 12px; }
.out-table tbody tr { cursor: pointer; }
.out-table tbody tr:hover { background: var(--primary-soft); }
.out-table .row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.fit-inline, .vet-inline { display: none; }
@media (max-width: 1180px) {
  .out-table .c-niche, .out-table .c-loc, .out-table .c-eng, .out-table .c-fol { display: none; }
  .out-table .c-who { width: 34%; }
  .vet-inline { display: block; font-size: 12px; }
}
@media (max-width: 760px) {
  .out-table thead { display: none; }
  .out-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 12px; border-bottom: 1px solid var(--border-soft); }
  table.data.out-table td { border: 0; padding: 0; white-space: normal; }
  .out-table .c-rank, .out-table .c-fit, .out-table .c-fol, .out-table .c-niche, .out-table .c-loc, .out-table .c-eng { display: none; }
  .out-table .c-who { grid-column: 1; grid-row: 1; width: auto; }
  .out-table .c-due { grid-column: 2; grid-row: 1; width: auto; align-self: start; text-align: right; }
  .out-table .c-stage { grid-column: 1 / -1; grid-row: 2; padding-left: 40px; }
  .out-table .c-act { grid-column: 1 / -1; grid-row: 3; width: auto; justify-content: flex-end; }
  .fit-inline { display: inline-block; }
  .out-table .who-text > * { white-space: normal; }
  .funnel { gap: 4px; }
  .funnel-arrow { display: none; }
  .funnel-step { padding: 4px 8px; font-size: 12px; }
}
.instr { width: 100%; font: 12px/18px ui-monospace, SFMono-Regular, Menlo, monospace; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--r-8); background: var(--surface-2); resize: vertical; }
.settings-btn { height: 36px; padding: 0 12px; gap: 6px; font-weight: 500; }
.settings-btn .gear { font-size: 20px; line-height: 1; }
@media (max-width: 600px) { .settings-btn .nav-txt { display: none; } .settings-btn { padding: 0 10px; } }
.msg-list { display: flex; flex-direction: column; gap: 8px; max-height: 360px; overflow: auto; }
.agent-msg { padding: 8px 10px; border-radius: var(--r-8); background: var(--surface-2); }
.agent-msg.from_agent { background: var(--brand-gold-soft); }
.agent-msg .touch-when { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.inbox-compose textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r-8); }
.inbox-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.inbox-list .agent-msg.to_agent { background: var(--surface); border: 1px solid var(--border-soft); }
/* 2026-10-20 review: calmer outreach */
.avatar.neutral { background: var(--surface-2); color: var(--text-2); }
img.avatar.photo { object-fit: cover; }
.fit { background: transparent; color: var(--text-2); font-weight: 600; padding: 0; min-width: 0; }
.fit.hi { background: #e6f4ea; color: var(--positive); padding: 2px 6px; }
.reply-quote { margin-top: 4px; font-size: 13px; color: var(--text-2); font-style: italic; }
.out-intro { font-size: 13px; }
.out-table .c-rank { width: 44px; text-overflow: clip; font-variant-numeric: tabular-nums; }
.out-table .c-due { width: 132px; }
.block-title .hint { font-weight: 400; font-size: 12px; margin-left: 8px; }
@media (max-width: 760px) {
  .out-intro { display: none; }
  .out-table .c-who .handle, .out-table .c-who .vet-inline { font-size: 12px; }
}
/* 2026-10-20 round 2: phone touch targets, quiet "unverified" badge */
@media (max-width: 600px) {
  .row-actions .btn, .modal .actions .btn, .chips .chip, .funnel-step { min-height: 44px; height: auto; }
  .modal .actions .btn-link { min-height: 44px; }
}
.unv { font-size: 10px; text-transform: uppercase; letter-spacing: .04em; padding: 1px 5px; border-radius: 4px; background: var(--surface-2); color: var(--text-2); vertical-align: middle; }
.passed-why { font-size: 12px; color: var(--text-2); }
