/* ============================================================
   Outreacher — Web App component styles (ported from design)
   ============================================================ */

/* ---------- App shell ---------- */
.app { display: grid; grid-template-columns: 248px 1fr; height: 100vh; overflow: hidden; }
[data-density="compact"] .app { grid-template-columns: 224px 1fr; }

/* ---------- Sidebar ---------- */
.sb { background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.sb-brand { display: flex; align-items: center; gap: 11px; padding: 20px 20px 16px; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: var(--primary); color: var(--on-primary);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.logo-mark svg { width: 18px; height: 18px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.brand-name b { color: var(--accent); }

.sb-nav { padding: 6px 12px; display: flex; flex-direction: column; gap: 2px; }
.sb-sec { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); padding: 16px 12px 6px; }
.nav-item {
  display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: var(--r-sm);
  color: var(--text-2); font-size: 14px; font-weight: 500; cursor: pointer; border: none; background: none;
  width: 100%; text-align: left; transition: background .12s, color .12s; position: relative;
  text-decoration: none;
}
.nav-item svg { width: 18px; height: 18px; flex: none; opacity: .9; }
.nav-item:hover { background: var(--surface-2); color: var(--text); }
.nav-item.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.nav-item .count { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--text-3); background: var(--surface-2); padding: 1px 7px; border-radius: 99px; }
.nav-item.active .count { background: color-mix(in oklab, var(--accent) 18%, transparent); color: var(--accent); }

.sb-foot { margin-top: auto; padding: 12px; border-top: 1px solid var(--line); }
.ext-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; }
.ext-row { display: flex; align-items: center; gap: 9px; }
.dot { width: 8px; height: 8px; border-radius: 99px; flex: none; }
.dot.on { background: var(--pos); box-shadow: 0 0 0 3px var(--pos-soft); }
.dot.off { background: var(--text-3); }
.acct { display: flex; align-items: center; gap: 10px; padding: 10px 6px 2px; cursor: pointer; }

/* ---------- Topbar ---------- */
.main { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--bg); }
.topbar { display: flex; align-items: center; gap: 16px; padding: 0 28px; height: 64px; flex: none; border-bottom: 1px solid var(--line); background: var(--surface); }
.page-title { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.page-sub { font-size: 13px; color: var(--text-2); margin-top: 1px; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.scroll { overflow-y: auto; min-height: 0; flex: 1; }
.page { padding: 28px; max-width: 1280px; margin: 0 auto; width: 100%; }

/* ---------- Search ---------- */
.search { display: flex; align-items: center; gap: 9px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 12px; height: 38px; min-width: 240px; }
.search svg { width: 16px; height: 16px; color: var(--text-3); }
.search input { border: none; background: none; outline: none; font: inherit; font-size: 14px; color: var(--text); width: 100%; }
.search input::placeholder { color: var(--text-3); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 14px; font-weight: 600; border-radius: var(--r-sm); padding: 0 15px; height: 38px; cursor: pointer; border: 1px solid transparent; white-space: nowrap; transition: background .12s, border-color .12s, transform .04s, box-shadow .12s; text-decoration: none; }
.btn:active { transform: translateY(.5px); }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-press); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-press); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-soft { background: var(--surface-2); color: var(--text); }
.btn-soft:hover { background: var(--surface-3); }
.btn-danger { background: var(--neg-soft); color: var(--neg); }
.btn-danger:hover { background: color-mix(in oklab, var(--neg) 20%, var(--surface)); }
.btn-sm { height: 32px; padding: 0 11px; font-size: 13px; border-radius: var(--r-xs); }
.btn-lg { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-icon { width: 38px; padding: 0; }
.btn-icon.btn-sm { width: 32px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card-pad { padding: 20px; }

/* ---------- KPI ---------- */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; position: relative; overflow: hidden; }
.kpi-label { font-size: 12.5px; color: var(--text-2); font-weight: 500; display: flex; align-items: center; gap: 7px; }
.kpi-label svg { width: 15px; height: 15px; }
.kpi-val { font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -.03em; margin-top: 10px; line-height: 1; }
.kpi-val .unit { font-size: 16px; color: var(--text-3); font-weight: 500; }
.kpi-delta { font-size: 12px; font-family: var(--font-mono); margin-top: 8px; display: inline-flex; align-items: center; gap: 4px; }
.kpi-delta.up { color: var(--pos); }
.kpi-delta.down { color: var(--neg); }

/* ---------- Badges / chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: var(--r-pill); line-height: 1.4; white-space: nowrap; }
.badge svg { width: 12px; height: 12px; }
.badge.neutral { background: var(--surface-2); color: var(--text-2); }
.badge.accent { background: var(--accent-soft); color: var(--accent); }
.badge.pos { background: var(--pos-soft); color: var(--pos); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.neg { background: var(--neg-soft); color: var(--neg); }
.badge.dot-badge::before { content:""; width:6px; height:6px; border-radius:99px; background: currentColor; }

/* ---------- Avatar ---------- */
.av { border-radius: 99px; flex: none; display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--font-display); overflow: hidden; position: relative; }
.av-2 { width: 22px; height: 22px; font-size: 10px; }
.av-1 { width: 32px; height: 32px; font-size: 12px; }
.av-md { width: 40px; height: 40px; font-size: 14px; }
.av-lg { width: 56px; height: 56px; font-size: 19px; }
.verified { color: var(--info); flex: none; }
.verified svg { width: 15px; height: 15px; display: block; }

/* ---------- Profile cell ---------- */
.profile { display: flex; align-items: center; gap: 11px; min-width: 0; }
.profile .nm { display: flex; align-items: center; gap: 5px; font-weight: 600; font-size: 14px; color: var(--text); }
.profile .hd { font-family: var(--font-mono); font-size: 12px; color: var(--text-2); }
.metric { font-family: var(--font-mono); font-size: 13px; color: var(--text); }
.metric .lbl { color: var(--text-3); font-size: 11px; }
.hd { font-family: var(--font-mono); font-size: 12px; color: var(--text-2); }

/* ---------- Table ---------- */
.tbl-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl thead th { text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
.tbl tbody td { padding: calc(11px * var(--d)) 16px; border-bottom: 1px solid var(--line-soft); font-size: 14px; vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: none; }
.tbl tbody tr { transition: background .1s; }
.tbl tbody tr:hover { background: var(--surface-2); }
.tbl tbody tr.sel { background: var(--accent-soft-2); }
.bio-clamp { color: var(--text-2); font-size: 13px; max-width: 320px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }

/* ---------- Toolbar / filter row ---------- */
.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .spacer { flex: 1; }

/* ---------- Progress ---------- */
.bar { height: 7px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: var(--accent); transition: width .4s cubic-bezier(.2,.8,.2,1); }
.bar.pos > i { background: var(--pos); }

/* ---------- Section header ---------- */
.sec-head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 14px; }
.sec-head h2 { font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: -.01em; margin: 0; }
.sec-head .more { margin-left: auto; font-size: 13px; color: var(--accent); font-weight: 600; cursor: pointer; background: none; border: none; }

/* ---------- Modal ---------- */
.overlay { position: fixed; inset: 0; background: rgba(11,12,16,.5); backdrop-filter: blur(3px); display: grid; place-items: center; z-index: 50; animation: fade .15s; padding: 24px; }
@keyframes fade { from { opacity: 0; } }
.modal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-lg); width: 100%; max-width: 920px; max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; animation: modalpop .22s cubic-bezier(.2,.8,.2,1); }
@keyframes modalpop { from { transform: translateY(12px) scale(.99); opacity: 0; } }
.modal-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line); flex: none; }
.modal-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.modal-body { padding: 24px; overflow-y: auto; min-height: 0; }
.modal-foot { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-top: 1px solid var(--line); flex: none; background: var(--surface-2); }

/* steps */
.steps { display: flex; align-items: center; gap: 6px; }
.step { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-3); }
.step .n { width: 22px; height: 22px; border-radius: 99px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; background: var(--surface-3); color: var(--text-2); flex: none; }
.step.active { color: var(--text); }
.step.active .n { background: var(--accent); color: #fff; }
.step.done .n { background: var(--pos); color: #fff; }
.step-line { width: 24px; height: 1.5px; background: var(--line); }

/* ---------- DM preview ---------- */
.dm-preview { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.dm-bubble { background: var(--accent); color: #fff; padding: 11px 14px; border-radius: 18px 18px 4px 18px; font-size: 14px; line-height: 1.45; max-width: 80%; margin-left: auto; box-shadow: var(--sh-sm); }

/* template editor */
.tmpl { width: 100%; min-height: 150px; resize: vertical; font: inherit; font-size: 14.5px; line-height: 1.5; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; outline: none; }
.tmpl:focus { border-color: var(--accent); box-shadow: var(--ring); }

/* field */
.field { margin-bottom: 18px; }
.field > label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field .hint { font-size: 12px; color: var(--text-3); font-weight: 400; }
.input { width: 100%; font: inherit; font-size: 14px; height: 40px; padding: 0 13px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); color: var(--text); outline: none; }
.input:focus { border-color: var(--accent); box-shadow: var(--ring); }

/* segmented */
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 3px; gap: 3px; }
.seg button { font: inherit; font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: 6px; border: none; background: none; color: var(--text-2); cursor: pointer; text-transform: capitalize; }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: var(--sh-sm); }

/* range */
input[type=range].rng { -webkit-appearance: none; width: 100%; height: 6px; border-radius: 99px; background: var(--surface-3); outline: none; }
input[type=range].rng::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 99px; background: var(--accent); cursor: pointer; box-shadow: var(--sh-sm); border: 3px solid var(--surface); }

/* status pills for recipients */
.rstatus { display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:600; }
.rstatus .d { width:7px; height:7px; border-radius:99px; }

.empty { text-align: center; padding: 60px 20px; color: var(--text-2); }
.empty svg { width: 40px; height: 40px; color: var(--text-3); margin-bottom: 12px; }

.fade-in { animation: fade .2s ease; }

/* funnel */
.funnel { display: grid; gap: 10px; }
.funnel-row { display: grid; grid-template-columns: 110px 1fr 64px; align-items: center; gap: 14px; }
.funnel-row .fl { font-size: 13px; color: var(--text-2); font-weight: 500; }
.funnel-row .fv { font-family: var(--font-mono); font-size: 13px; text-align: right; }
.funnel-bar { height: 28px; border-radius: var(--r-xs); background: var(--accent); display: flex; align-items: center; padding: 0 10px; color: #fff; font-size: 12px; font-weight: 600; min-width: 30px; }

/* ============================================================
   List builder (Prospects)
   ============================================================ */
.builder { display: grid; grid-template-columns: minmax(0,1fr) 384px; gap: 28px; align-items: start; }
@media (max-width: 1100px) { .builder { grid-template-columns: 1fr; } }

.bld-step { margin-bottom: 30px; }
.bld-step .sh { display: flex; align-items: center; gap: 11px; margin-bottom: 5px; }
.bld-step .sh .num { width: 25px; height: 25px; border-radius: 99px; background: var(--primary); color: var(--on-primary); font-family: var(--font-mono); font-size: 12px; font-weight: 700; display: grid; place-items: center; flex: none; }
.bld-step .sh h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin: 0; }
.bld-step .sub { font-size: 13.5px; color: var(--text-2); line-height: 1.5; margin: 0 0 16px 36px; max-width: 60ch; }
.bld-step .sub b { color: var(--text); font-weight: 600; }
.bld-body { margin-left: 36px; }
@media (max-width: 1100px) { .bld-step .sub, .bld-body { margin-left: 0; } }

.seed-add { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 7px 0 13px; height: 42px; margin-bottom: 16px; max-width: 440px; }
.seed-add > span { color: var(--text-3); font-family: var(--font-mono); font-size: 15px; }
.seed-add input { flex: 1; border: none; outline: none; font: inherit; font-size: 14px; background: none; color: var(--text); }
.seed-add input::placeholder { color: var(--text-3); }

.src-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .src-grid { grid-template-columns: 1fr; } }
.src-card { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); padding: 14px; display: flex; flex-direction: column; gap: 12px; transition: border-color .14s, box-shadow .14s; }
.src-card.active { border-color: color-mix(in oklab, var(--accent) 45%, var(--line)); box-shadow: var(--sh-sm); }
.src-card.stale.active { border-color: color-mix(in oklab, var(--warn) 60%, var(--line)); }
.src-card.unknown { border-style: dashed; background: var(--surface-2); }
.src-top { display: flex; align-items: center; gap: 10px; }
.av-ghost { background: var(--surface-3) !important; color: var(--text-3); }
.fresh { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 99px; display: inline-flex; align-items: center; gap: 5px; flex: none; white-space: nowrap; }
.fresh svg { width: 11px; height: 11px; }
.fresh.ok { background: var(--pos-soft); color: var(--pos); }
.fresh.stale { background: var(--warn-soft); color: var(--warn); }
.fresh.never { background: var(--surface-3); color: var(--text-2); }

.list-toggles { display: flex; gap: 9px; }
.ltog { flex: 1; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; padding: 9px 11px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface-2); cursor: pointer; font: inherit; text-align: left; transition: background .12s, border-color .12s; }
.ltog .lt-k { font-size: 11.5px; color: var(--text-2); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.ltog .lt-v { font-family: var(--font-mono); font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.ltog .lt-box { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--ink-300); flex: none; }
.ltog .lt-box.dash { border-style: dashed; }
.ltog .lt-check { width: 16px; height: 16px; border-radius: 5px; background: var(--accent); border: 1.5px solid var(--accent); flex: none; display: grid; place-items: center; }
.ltog .lt-check svg { color: #fff; }
.ltog:hover:not([disabled]) { border-color: var(--ink-300); }
.ltog.on { background: var(--accent-soft); border-color: var(--accent); }
.ltog.on .lt-k { color: var(--accent); }
.ltog[disabled] { cursor: not-allowed; background: var(--surface); }
.ltog[disabled] .lt-v { color: var(--text-3); }
.lt-fresh { font-family: var(--font-mono); font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.lt-fresh svg { width: 10px; height: 10px; }
.lt-fresh.ok { color: var(--pos); }
.lt-fresh.stale { color: var(--warn); }
.lt-fresh.never { color: var(--text-3); }

.src-note { font-size: 11.5px; color: var(--warn); display: flex; align-items: center; gap: 6px; line-height: 1.4; }
.src-note svg { flex: none; }

/* unknown profile */
.unknown-body { display: flex; flex-direction: column; gap: 11px; }
.unknown-body p { font-size: 12px; color: var(--text-2); line-height: 1.5; margin: 0; }

/* keyword fields */
.kw-field { margin-bottom: 18px; max-width: 560px; }
.kw-lbl { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.kw-lbl .hint { font-size: 12px; color: var(--text-3); font-weight: 400; }
.kw-box { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; padding: 7px 9px; min-height: 44px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.kw-box:focus-within { border-color: var(--accent); box-shadow: var(--ring); }
.kw-box input { border: none; outline: none; font: inherit; font-size: 13.5px; flex: 1; min-width: 140px; background: none; color: var(--text); }
.kw-box input::placeholder { color: var(--text-3); }
.kw-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; padding: 4px 5px 4px 11px; border-radius: var(--r-pill); }
.kw-tag.inc { background: var(--accent-soft); color: var(--accent); }
.kw-tag.exc { background: var(--neg-soft); color: var(--neg); }
.kw-tag .x { cursor: pointer; display: grid; place-items: center; opacity: .65; width: 16px; height: 16px; border-radius: 99px; }
.kw-tag .x:hover { opacity: 1; background: color-mix(in oklab, currentColor 16%, transparent); }
.kw-sug { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.kw-sug button { font-size: 12px; font-family: var(--font-mono); padding: 3px 10px; border-radius: 99px; border: 1px dashed var(--line); background: none; color: var(--text-2); cursor: pointer; }
.kw-sug button:hover { border-color: var(--accent); color: var(--accent); }

/* verified switch row */
.vrow { display: flex; align-items: center; gap: 11px; width: 100%; max-width: 560px; padding: 12px 15px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; color: var(--text); }
.vrow .verified { color: var(--info); }
.vrow.on { border-color: var(--accent); background: var(--accent-soft-2); }
.vr-knob { width: 38px; height: 22px; border-radius: 99px; background: var(--surface-3); position: relative; flex: none; transition: background .15s; }
.vr-knob::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 99px; background: #fff; box-shadow: var(--sh-sm); transition: left .15s; }
.vrow.on .vr-knob { background: var(--accent); }
.vrow.on .vr-knob::after { left: 18px; }
.vr-meta { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--text-3); font-weight: 500; }

/* summary rail */
.summary { position: sticky; top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); }
.summary-h { padding: 18px 20px 16px; border-bottom: 1px solid var(--line); }
.su-k { font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); }
.summary-big { font-family: var(--font-display); font-size: 42px; font-weight: 600; letter-spacing: -.03em; line-height: 1; margin: 8px 0 6px; }
.su-sub { font-size: 12.5px; color: var(--text-2); line-height: 1.4; }
.su-sub b { color: var(--text); font-family: var(--font-mono); }
.summary-funnel { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.summary-funnel .funnel-row { grid-template-columns: 1fr auto; gap: 10px; }
.summary-funnel .funnel-bar { grid-column: 1 / -1; grid-row: 2; height: 8px; padding: 0; min-width: 8px; transition: width .4s cubic-bezier(.2,.8,.2,1); }
.summary-funnel .fl { grid-row: 1; grid-column: 1; }
.summary-funnel .fv { grid-row: 1; grid-column: 2; font-weight: 700; }
.summary-funnel .funnel-row { row-gap: 6px; margin-bottom: 4px; }

.stale-banner { margin: 16px; padding: 14px; border-radius: var(--r-md); background: var(--warn-soft); border: 1px solid color-mix(in oklab, var(--warn) 30%, transparent); }
.stale-banner .sb-top { display: flex; align-items: center; gap: 7px; color: var(--warn); font-size: 13.5px; }
.stale-banner .sb-top svg { flex: none; }
.stale-banner .sb-body { font-size: 12.5px; color: var(--text); line-height: 1.45; margin-top: 9px; display: flex; flex-direction: column; gap: 5px; }
.stale-banner .sb-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stale-banner .sb-age { font-family: var(--font-mono); font-size: 11px; color: var(--warn); font-weight: 700; flex: none; }

.su-preview { padding: 14px 20px; border-bottom: 1px solid var(--line); }
.su-plabel { display: flex; align-items: center; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.su-plabel span { margin-left: auto; font-family: var(--font-mono); color: var(--accent); letter-spacing: 0; text-transform: none; }
.su-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line-soft); }
.su-row:first-of-type { border-top: none; }
.su-more { font-size: 12px; color: var(--text-3); font-family: var(--font-mono); padding-top: 9px; border-top: 1px solid var(--line-soft); }
.su-empty { font-size: 13px; color: var(--text-2); padding: 10px 0; line-height: 1.4; }

.summary-foot { padding: 16px 20px 18px; }
.su-name-lbl { display: block; font-size: 12px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.su-hint { font-size: 12px; color: var(--text-3); text-align: center; margin-top: 10px; line-height: 1.4; }

/* ============================================================
   Campaign builder (new campaign wizard)
   ============================================================ */
.builder-page { max-width: 860px; margin: 0 auto; }
.builder-page.wide { max-width: 1020px; }
.builder-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-md); overflow: hidden; }
.builder-head { display: flex; align-items: center; gap: 14px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.builder-body { padding: 28px 24px; min-height: 320px; }
.builder-foot { display: flex; align-items: center; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--line); background: var(--surface-2); }

.var-chip { font-family: var(--font-mono); font-size: 12px; padding: 4px 9px; border-radius: var(--r-xs); background: var(--accent-soft); color: var(--accent); border: 1px dashed color-mix(in oklab, var(--accent) 40%, transparent); cursor: pointer; font: inherit; }
.var-chip:hover { background: color-mix(in oklab, var(--accent) 20%, transparent); }

/* review card */
.review-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.review-card .rc-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--surface-2); display: grid; place-items: center; color: var(--text-2); flex: none; }
.review-card .rc-label { font-size: 11.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.review-card .rc-val { font-weight: 600; font-size: 14.5px; margin-top: 2px; }

[data-step] { display: none; }
[data-step].active { display: block; }

/* ---------- Prospecting sessions banner (prospects page) ---------- */
.ps-wrap { margin-bottom: 20px; }
.ps-head { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-bottom: 10px; }
.ps-head svg { color: var(--accent); flex: none; }
.ps-row { display: flex; flex-direction: column; gap: 8px; }
.ps-card { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.ps-card.queued { border-color: color-mix(in oklab, var(--accent) 38%, var(--line)); background: var(--accent-soft-2); }
.ps-avs { display: flex; flex: none; }
.ps-avs .av { width: 30px; height: 30px; font-size: 11px; border: 2px solid var(--surface); }
.ps-card.queued .ps-avs .av { border-color: var(--accent-soft-2); }
.ps-title { font-size: 13.5px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-scope { font-size: 12px; color: var(--text-2); margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.ps-badge { font-size: 10.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; padding: 1.5px 6px; border-radius: 5px; }
.ps-badge.accent { background: var(--accent-soft); color: var(--accent); text-transform: none; }
.ps-badge.warn { background: var(--warn-soft); color: var(--warn); text-transform: none; letter-spacing: 0; font-weight: 600; }
.ps-icon-btn { border: none; background: none; color: var(--text-3); cursor: pointer; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; flex: none; }
.ps-icon-btn:hover { background: var(--surface-2); color: var(--neg); }
