/* SafeSend Dupe — one hand-written stylesheet. Fintech-SaaS look:
   white cards, subtle shadows, accent #0b5fff, status pills. */

:root {
  --accent: #0b5fff;
  --accent-dark: #0a4fd6;
  --accent-soft: #e8f0ff;
  --ink: #1a2233;
  --ink-soft: #5b6577;
  --muted: #8a94a6;
  --line: #e6e9f0;
  --bg: #f5f7fb;
  --card: #ffffff;
  --green: #12905a;
  --green-soft: #e2f6ec;
  --amber: #b7791f;
  --amber-soft: #fdf3e0;
  --red: #d23b3b;
  --red-soft: #fbe6e6;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(20, 32, 61, .06), 0 6px 20px rgba(20, 32, 61, .06);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.5;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- firm top bar --------------------------------------------------------- */
.topbar {
  background: #0e1730;
  color: #fff;
  box-shadow: var(--shadow);
}
.topbar-inner, .portal-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--accent); font-size: 18px; }
.brand-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #9fb0d6;
  background: rgba(255, 255, 255, .08);
  padding: 3px 8px;
  border-radius: 20px;
}
.mainnav { display: flex; gap: 4px; margin-left: 12px; }
.mainnav a {
  color: #c7cede;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
}
.mainnav a:hover { background: rgba(255, 255, 255, .07); text-decoration: none; color: #fff; }
.mainnav a.active { background: var(--accent); color: #fff; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.who { color: #c7cede; font-size: 14px; }

/* --- build footer (V3-M OPS-1) --------------------------------------------- */
.build-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 20px;
  color: #98a2b3;
  font-size: 12px;
}

/* --- page shell ----------------------------------------------------------- */
.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px 60px;
}
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 16px;
  flex-wrap: wrap;
}
.page-head h1 { font-size: 24px; margin: 0; }
.page-head .sub { color: var(--muted); margin: 4px 0 0; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.crumbs a { color: var(--muted); }

/* --- cards ---------------------------------------------------------------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 20px;
}
.card h2 { font-size: 16px; margin: 0 0 14px; }
.card h3 { font-size: 14px; margin: 0 0 10px; color: var(--ink-soft); }
.card-flush { padding: 0; overflow: hidden; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-side { grid-template-columns: 2fr 1fr; align-items: start; }
@media (max-width: 820px) {
  .grid-2, .grid-3, .grid-side { grid-template-columns: 1fr; }
}

/* --- stat tiles ----------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 24px; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.stat .num { font-size: 30px; font-weight: 700; line-height: 1; }
.stat .lbl { color: var(--muted); font-size: 13px; margin-top: 8px; text-transform: uppercase; letter-spacing: .04em; }

/* --- tables --------------------------------------------------------------- */
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
table.data th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  background: #fafbfe;
}
table.data tr:last-child td { border-bottom: none; }
table.data tbody tr:hover { background: #fafbff; }

/* --- pills ---------------------------------------------------------------- */
.pill {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}
.pill-green { background: var(--green-soft); color: var(--green); }
.pill-amber { background: var(--amber-soft); color: var(--amber); }
.pill-red   { background: var(--red-soft);   color: var(--red); }
.pill-blue  { background: var(--accent-soft); color: var(--accent-dark); }
.pill-gray  { background: #eef1f6; color: var(--ink-soft); }

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  transition: background .12s ease;
}
.btn:hover { background: var(--accent-dark); text-decoration: none; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline { background: #fff; color: var(--accent); border-color: var(--line); }
.btn-outline:hover { background: var(--accent-soft); }
.btn-block { display: block; width: 100%; text-align: center; }

/* --- forms ---------------------------------------------------------------- */
.form-row { margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label.field { display: block; }
label.field .lbl, .field-lbl {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
input[type=text], input[type=email], input[type=password],
input[type=date], input[type=number], select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-actions { margin-top: 22px; display: flex; gap: 12px; align-items: center; }
.hint { color: var(--muted); font-size: 13px; }

/* --- flashes -------------------------------------------------------------- */
.flashes { margin-bottom: 20px; display: grid; gap: 10px; }
.flash {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  border: 1px solid transparent;
}
.flash-success { background: var(--green-soft); color: var(--green); border-color: #bfe6cf; }
.flash-error   { background: var(--red-soft);   color: var(--red);   border-color: #f2c9c9; }
.flash-info    { background: var(--accent-soft); color: var(--accent-dark); border-color: #cfe0ff; }

/* --- timeline ------------------------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative;
  padding: 0 0 16px 22px;
  border-left: 2px solid var(--line);
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -6px; top: 3px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
}
.timeline .t-action { font-weight: 600; font-size: 14px; }
.timeline .t-meta { color: var(--muted); font-size: 12px; }
.timeline .t-detail { color: var(--ink-soft); font-size: 13px; margin-top: 2px; }

/* --- misc ----------------------------------------------------------------- */
.empty { color: var(--muted); font-style: italic; padding: 8px 0; }
.placeholder-box {
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  background: #fbfcfe;
}
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 8px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.right { text-align: right; }
.mono { font-family: "SF Mono", Consolas, monospace; font-size: 13px; }
.tag-token {
  font-family: Consolas, monospace;
  background: #f1f4fa;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 12px;
  word-break: break-all;
}
.rel-tree {
  font-family: "SF Mono", Consolas, monospace;
  font-size: 13px;
  background: #f8f9fc;
  border: 1px solid var(--border, #e3e7ee);
  border-radius: 8px;
  padding: 14px 16px;
  white-space: pre-wrap;
  overflow-x: auto;
}

/* --- auth screens (centered card) ---------------------------------------- */
.auth-wrap {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.auth-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 34px;
  width: 100%;
  max-width: 420px;
}
.auth-card h1 { font-size: 22px; margin: 0 0 4px; }
.auth-card .sub { color: var(--muted); margin: 0 0 24px; }
.auth-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* --- portal --------------------------------------------------------------- */
.portal-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(20,32,61,.05);
}
.portal-header .brand { color: var(--ink); }
.portal-header .brand-mark { color: var(--accent); }
.portal-header .brand-tag { color: var(--accent-dark); background: var(--accent-soft); }
.portal-who { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.portal-who .who-name { font-weight: 600; font-size: 14px; }
.portal-who .btn-ghost { border-color: var(--line); color: var(--ink-soft); }
.portal-who .btn-ghost:hover { background: var(--bg); }
.portal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 24px 60px;
}
.portal-footer {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.big-code {
  letter-spacing: 8px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
}

/* --- task cards (portal dashboard) --------------------------------------- */
.task-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.task-card h3 { margin: 0 0 6px; font-size: 16px; }
.progress { height: 8px; background: #eef1f6; border-radius: 20px; overflow: hidden; margin-top: 12px; }
.progress > span { display: block; height: 100%; background: var(--accent); border-radius: 20px; }
.contact-card { font-size: 14px; }
.contact-card .name { font-weight: 600; }

/* --- gather: shared ------------------------------------------------------- */
.btn-icon {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  border-radius: 8px;
  width: 30px; height: 30px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
}
.btn-icon:hover { background: var(--red-soft); color: var(--red); border-color: #f2c9c9; }
.cat-head { font-size: 13px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); margin: 24px 0 10px; }
.upload-list { list-style: none; margin: 12px 0 0; padding: 0; }
.upload-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; background: #fafbfe;
  border: 1px solid var(--line); border-radius: 8px; margin-bottom: 6px;
  font-size: 14px;
}
.upload-list li a { font-weight: 500; }
.reject-note {
  background: var(--red-soft); color: var(--red);
  border-radius: 8px; padding: 10px 12px; font-size: 13px; margin: 10px 0;
}

/* --- gather: firm review -------------------------------------------------- */
.review-item .review-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
}
.review-title { font-weight: 600; font-size: 15px; }
.review-actions { display: flex; gap: 12px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.reject-form { display: flex; gap: 8px; align-items: center; flex: 1; min-width: 240px; }
.reject-form input { flex: 1; }

/* --- gather: client checklist --------------------------------------------- */
.progress-card { position: sticky; top: 12px; z-index: 5; }
.progress-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
#submit-btn:disabled { background: #c3ccdd; cursor: not-allowed; }
.gather-item .gi-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.gi-title { font-weight: 600; font-size: 15px; }
.gi-actions { display: flex; gap: 12px; align-items: stretch; margin-top: 14px; flex-wrap: wrap; }
.dropzone {
  flex: 1; min-width: 220px;
  border: 2px dashed var(--line); border-radius: 10px;
  padding: 16px; text-align: center; color: var(--muted); font-size: 14px;
  cursor: pointer; background: #fbfcfe; transition: all .12s ease;
  display: flex; align-items: center; justify-content: center;
}
.dropzone:hover { border-color: var(--accent); color: var(--ink-soft); }
.dropzone.drag { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.dropzone b { color: var(--accent); }
.dropzone-lg { padding: 28px; }
.na-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.na-form input { flex: 1; min-width: 220px; }
.move-select { max-width: 220px; margin-left: auto; }
.el-card .el-sign { margin-top: 14px; max-width: 380px; }

/* --- toasts --------------------------------------------------------------- */
.toasts { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 50; }
.toast {
  background: #0e1730; color: #fff; padding: 12px 16px; border-radius: 10px;
  font-size: 14px; box-shadow: var(--shadow); max-width: 320px;
  opacity: 0; transform: translateY(8px); transition: all .3s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast-success { background: var(--green); }
.toast-error { background: var(--red); }
.toast-info { background: #0e1730; }

/* --- return stepper ------------------------------------------------------- */
.stepper { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.stepper .step {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink-soft); font-weight: 600; font-size: 14px; flex: 1;
  min-width: 120px;
}
.stepper .step:hover { text-decoration: none; border-color: var(--accent); }
.stepper .step .step-dot {
  width: 24px; height: 24px; border-radius: 50%; background: #eef1f6;
  display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--ink-soft);
}
.stepper .step.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.stepper .step.active .step-dot { background: var(--accent); color: #fff; }
.stepper .step.done .step-dot { background: var(--green); color: #fff; }
.stepper .step.done { color: var(--green); }

/* --- return summary cards ------------------------------------------------- */
.summary-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
@media (max-width: 640px) { .summary-cards { grid-template-columns: 1fr; } }
.sum-card {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--muted);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px;
}
.sum-card.good { border-left-color: var(--green); }
.sum-card.bad { border-left-color: var(--red); }
.sum-card .sum-lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.sum-card .sum-amt { font-size: 28px; font-weight: 700; margin: 6px 0 2px; }
.sum-card.good .sum-amt { color: var(--green); }
.sum-card.bad .sum-amt { color: var(--red); }
.sum-card .sum-tag { font-size: 13px; color: var(--ink-soft); }

.pdf-frame { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; height: 480px; }
.pdf-frame iframe { width: 100%; height: 100%; border: 0; }
.review-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.forward-form { display: flex; gap: 8px; align-items: center; }
.forward-form input { min-width: 200px; }

/* --- sign: method + capture ---------------------------------------------- */
.method-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
@media (max-width: 640px) { .method-cards { grid-template-columns: 1fr; } }
.method-card { border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.method-card h3 { margin: 0 0 6px; font-size: 16px; color: var(--ink); }
.sig-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.sig-tab {
  padding: 8px 18px; border: 1px solid var(--line); background: #fff; border-radius: 8px;
  cursor: pointer; font-weight: 600; font-size: 14px; color: var(--ink-soft);
}
.sig-tab.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-dark); }
.sig-preview {
  margin-top: 12px; min-height: 60px; border-bottom: 2px solid var(--line);
  font-family: "Segoe Script", "Brush Script MT", cursive; font-size: 34px; color: #0d2a6b;
  display: flex; align-items: center;
}
#sig-canvas { border: 1px dashed var(--line); border-radius: 10px; background: #fff; touch-action: none; cursor: crosshair; max-width: 100%; }

/* --- KBA quiz ------------------------------------------------------------- */
.kba-q { padding: 14px 0; border-bottom: 1px solid var(--line); }
.kba-qt { font-weight: 600; margin-bottom: 8px; }
.kba-opt { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 14px; cursor: pointer; }
.kba-opt input { width: auto; }
.kba-form .btn { margin-top: 16px; }
.kba-timer { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--accent, #0b5fff); }
.kba-timer.expired { color: #c0392b; }

/* --- return wizard amounts ------------------------------------------------ */
.amount-row { display: flex; gap: 8px; }
.amount-row select { max-width: 130px; }
.radio-line { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 14px; }
.radio-line input { width: auto; }

/* --- modal ------------------------------------------------------------ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(14, 23, 48, .45);
  display: flex; align-items: center; justify-content: center;
  z-index: 60; padding: 20px;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px; width: 100%; max-width: 380px;
}
.modal h3 { margin: 0 0 4px; font-size: 17px; }
.modal .hint { margin-bottom: 14px; }
.modal .field { margin-bottom: 14px; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 6px; }

/* --- voucher table (portal payments + return Pay step) --------------------- */
.voucher-table td { vertical-align: top; }
tr.row-overdue { background: var(--red-soft); }
tr.row-soon { background: var(--amber-soft); }
.voucher-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.reminder-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }

/* --- tracking filter tabs --------------------------------------------------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.tab {
  padding: 7px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
  background: #eef1f6; color: var(--ink-soft);
}
.tab:hover { text-decoration: none; background: var(--accent-soft); color: var(--accent-dark); }
.tab.active { background: var(--accent); color: #fff; }
tr.row-link { cursor: pointer; }

/* --- needs attention -------------------------------------------------------- */
.attention-list { list-style: none; margin: 0; padding: 0; }
.attention-list li {
  padding: 10px 12px; background: var(--amber-soft); border-radius: 8px;
  margin-bottom: 8px; font-size: 14px;
}
.attention-list li a { color: var(--ink); font-weight: 500; }

/* --- dashboard stage tiles as links ----------------------------------------- */
a.stat { text-decoration: none; color: inherit; display: block; }
a.stat:hover { border-color: var(--accent); text-decoration: none; }

/* --- wizard --------------------------------------------------------------- */
.wizard-controls { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.wizard-table input[type=text], .wizard-table input[type=number], .wizard-table select { font-size: 13px; padding: 7px 9px; }
.wizard-table tr.row-excluded { opacity: 0.55; }
.wizard-table .hint-chip { display: inline-block; }
.item-edit { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.item-edit:last-child { border-bottom: none; }
.item-edit-form { flex: 1; }
.item-edit-grid { display: grid; grid-template-columns: 80px 150px 1fr 1fr; gap: 10px; }
@media (max-width: 720px) { .item-edit-grid { grid-template-columns: 1fr 1fr; } }

/* --- firm "view as client" banner ------------------------------------- */
.impersonation-banner {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 9px 16px;
  background: #7c3aed; color: #fff;
  font-size: 13.5px; letter-spacing: .01em;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.impersonation-banner strong { font-weight: 700; }
.btn-banner {
  background: #fff; color: #7c3aed; border: none;
  font-weight: 600; padding: 5px 12px; border-radius: 6px;
}
.btn-banner:hover { background: #f3e8ff; color: #6d28d9; }

/* --- dispatch progress board (V3-J2) --------------------------------- */
.head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.inline-form { display: inline; margin: 0; }
.funnel-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.funnel-cell {
  flex: 1 1 90px; min-width: 88px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 8px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); text-decoration: none;
}
.funnel-cell:hover { background: var(--accent-soft); text-decoration: none; }
.funnel-cell.active { border-color: var(--accent); background: var(--accent-soft); }
.funnel-n { font-size: 22px; font-weight: 700; line-height: 1; }
.funnel-lbl { font-size: 12px; color: var(--muted); }
.bulk-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bulk-select { font-size: 13px; color: var(--ink-soft); display: inline-flex; gap: 6px; align-items: center; }
