@font-face { font-family: "Playfair Display"; src: url("fonts/playfair-display-latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Inter; src: url("fonts/inter-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url("fonts/inter-latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --black-950: #0A0A0B;
  --black-900: #111113;
  --black-800: #1A1A1D;
  --graphite-700: #2A2A2E;
  --silver-400: #A9AEB5;
  --silver-200: #D6D9DD;
  --ivory: #F7F3EA;
  --gold-300: #F3D27A;
  --gold-500: #D4A537;
  --gold-600: #B8862B;
  --alert: #FFB4A8;
  --ok: #A8E6B8;
  --tap: 48px;
  --radius: 8px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black-950);
  color: var(--silver-200);
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: break-word;
}
h1, h2, h3 { color: var(--ivory); line-height: 1.2; margin: 0; }
h1 { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: clamp(1.9rem, 6vw, 3rem); }
h2 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0; }
a { color: var(--gold-300); }
main { outline: none; }
:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 2px; }

.wrap { width: min(1080px, calc(100% - 32px)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 50; background: var(--black-900); padding: 12px; }
.note { color: var(--silver-400); padding-block: 24px; }

/* Header. Call Now stays reachable while scrolling and adds no extra bar. */
.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 64px;
  padding: 8px max(16px, env(safe-area-inset-right)) 8px max(16px, env(safe-area-inset-left));
  background: var(--black-900);
  border-bottom: 1px solid var(--graphite-700);
}
.brand { display: flex; align-items: center; gap: 8px; flex: 1 1 180px; min-height: var(--tap); min-width: 0; color: var(--ivory); text-decoration: none; font-weight: 600; }
.brand img { width: 40px; height: 40px; flex: none; }
.brand span { min-width: 0; line-height: 1.2; }
.call-now {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap); min-width: var(--tap); padding: 0 14px;
  background: var(--gold-500); color: var(--black-950);
  border-radius: var(--radius); font-weight: 600; text-decoration: none; white-space: nowrap;
}
.call-number { display: none; margin-left: 6px; }
@media (min-width: 640px) { .call-number { display: inline; } }
@media (max-width: 380px) { .brand span { font-size: 0.9rem; line-height: 1.15; } }
.demo-banner { background: var(--gold-300); color: var(--black-950); font-weight: 600; text-align: center; padding: 8px 16px; }

/* Buttons and inputs */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap); padding: 0 16px;
  border-radius: var(--radius); border: 1px solid var(--gold-600);
  background: transparent; color: var(--ivory);
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn-gold { background: var(--gold-500); color: var(--black-950); border-color: var(--gold-500); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.text-btn { background: none; border: 0; color: var(--gold-300); font: inherit; text-decoration: underline; cursor: pointer; min-height: var(--tap); padding: 0 4px; }
label { display: block; font-weight: 600; color: var(--ivory); }
input, select, textarea {
  display: block; width: 100%; margin-top: 6px;
  min-height: var(--tap); padding: 10px 12px;
  background: var(--black-800); color: var(--ivory);
  border: 1px solid var(--silver-400); border-radius: var(--radius);
  font: inherit; font-size: 16px; font-weight: 400;
}
input[type="checkbox"] { display: inline-block; width: 24px; min-height: 24px; height: 24px; margin: 0 10px 0 0; accent-color: var(--gold-500); flex: none; }
.check { display: flex; align-items: center; min-height: var(--tap); font-weight: 400; color: var(--silver-200); }
.message { padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--alert); color: var(--alert); margin-block: 12px; }
.message.good { border-color: var(--ok); color: var(--ok); }
.message:empty { display: none; }

/* Picker */
.hero { padding-block: 36px 24px; }
.hero p { margin-top: 12px; max-width: 42rem; color: var(--silver-200); font-size: 1.1rem; }
.picker { list-style: none; margin: 0; padding: 0 0 8px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
.picker > li { flex: 0 0 min(240px, 78vw); scroll-snap-align: start; }
@media (min-width: 900px) {
  .picker { flex-wrap: wrap; overflow: visible; }
  .picker > li { flex: 1 1 200px; }
}
.pick {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 80px; padding: 16px 18px;
  background: var(--black-800); border: 1px solid var(--gold-600); border-radius: var(--radius);
  color: var(--ivory); text-decoration: none; font-size: 1.15rem; font-weight: 600;
}
.pick:hover { border-color: var(--gold-300); }
.pick span:last-child { color: var(--gold-300); flex: none; }
.team-link { padding-block: 16px 8px; }

/* Signature move: the path a lead travels lights up one stage at a time as you scroll. */
.journey { padding-block: 48px 72px; }
.journey > p { color: var(--silver-400); margin-top: 8px; }
.steps { list-style: none; margin: 24px 0 0; padding: 0; border-left: 2px solid var(--graphite-700); }
.step { position: relative; padding: 18px 0 18px 22px; opacity: 0.35; transition: opacity 0.5s ease; }
.step::before { content: ""; position: absolute; left: -8px; top: 26px; width: 14px; height: 14px; border-radius: 50%; background: var(--graphite-700); transition: background 0.5s ease; }
.step.on { opacity: 1; }
.step.on::before { background: var(--gold-500); }
.step p { color: var(--silver-200); }
@media (prefers-reduced-motion: reduce) { .step, .step::before { transition: none; } }

/* Sign in */
.signin { max-width: 26rem; padding-block: 32px 48px; }
.signin form { margin-top: 20px; display: grid; gap: 14px; }

/* Dashboard. This is the working tool: no animation anywhere below here. */
.page { padding-block: 20px 56px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; }
.page-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fetched { color: var(--silver-400); font-size: 0.9rem; margin-top: 4px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 20px 0 0; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .stats { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.stats.money { margin-top: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 960px) { .stats.money { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { background: var(--black-800); border: 1px solid var(--graphite-700); border-radius: var(--radius); padding: 12px 14px; }
.stat dt { color: var(--silver-400); font-size: 0.9rem; }
.stat dd { margin: 2px 0 0; color: var(--ivory); font-size: 1.5rem; font-weight: 600; }
.stat dd.unknown { color: var(--silver-400); font-size: 1.15rem; padding-block: 3px; }
.stat small { display: block; color: var(--silver-400); font-size: 0.8rem; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { min-height: var(--tap); padding: 0 14px; border-radius: 24px; border: 1px solid var(--graphite-700); background: transparent; color: var(--silver-200); font: inherit; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--gold-500); border-color: var(--gold-500); color: var(--black-950); font-weight: 600; }
.search-row { display: grid; gap: 10px; margin-top: 12px; }
@media (min-width: 640px) { .search-row { grid-template-columns: 2fr 1fr; } }
.leads { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.lead { display: flex; align-items: stretch; background: var(--black-800); border: 1px solid var(--graphite-700); border-radius: var(--radius); }
.lead-main { flex: 1; min-width: 0; padding: 12px 14px; color: var(--silver-200); text-decoration: none; }
.lead-main:hover .lead-name { text-decoration: underline; }
.lead-name { display: block; color: var(--ivory); font-weight: 600; font-size: 1.05rem; }
.lead-meta { display: block; font-size: 0.9rem; color: var(--silver-400); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pill { font-size: 0.8rem; padding: 2px 10px; border-radius: 12px; border: 1px solid var(--graphite-700); color: var(--silver-200); }
.pill.todo { border-color: var(--gold-500); color: var(--gold-300); }
.pill.test { border-color: var(--alert); color: var(--alert); }
.lead-call { flex: none; display: flex; align-items: center; justify-content: center; width: 72px; min-height: var(--tap); border-left: 1px solid var(--graphite-700); color: var(--gold-300); font-weight: 600; text-decoration: none; }
.empty { padding: 24px 16px; text-align: center; color: var(--silver-400); border: 1px dashed var(--graphite-700); border-radius: var(--radius); margin-top: 16px; }

/* One lead */
.crumb { display: inline-flex; align-items: center; min-height: var(--tap); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.detail { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 900px) { .detail { grid-template-columns: 1fr 1fr; align-items: start; } }
.detail-side { display: grid; gap: 16px; min-width: 0; }
.panel { background: var(--black-900); border: 1px solid var(--graphite-700); border-radius: var(--radius); padding: 16px; }
.outcome-form { display: grid; gap: 14px; margin-top: 12px; }
.pair { display: grid; gap: 14px; }
@media (min-width: 480px) { .pair { grid-template-columns: 1fr 1fr; } }
.save-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.facts { margin: 12px 0 0; display: grid; gap: 10px; }
.facts div { display: grid; gap: 0; }
.facts dt { color: var(--silver-400); font-size: 0.85rem; }
.facts dd { margin: 0; color: var(--ivory); }
.facts dd.blank { color: var(--silver-400); }
.transcript { white-space: pre-wrap; margin-top: 12px; }

/* Team overview */
.team-grid { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.team-card { background: var(--black-900); border: 1px solid var(--graphite-700); border-radius: var(--radius); padding: 16px; }
.team-card h2 a { color: var(--ivory); }

/* Ad numbers. Static on purpose, like the rest of the working tool. */
.ads-panel, .site-panel { margin-top: 20px; padding: 16px; background: var(--black-900); border: 1px solid var(--graphite-700); border-radius: var(--radius); }
.ads-panel .filters, .site-panel .filters { margin-top: 12px; }
.site-contact p { margin: 4px 0; }
.sync-line { display: flex; align-items: center; gap: 8px; }
.sync-mark {
  display: inline-block; width: 14px; height: 14px; flex: none;
  border: 2px solid var(--gold-500); border-right-color: transparent; border-radius: 50%;
  vertical-align: -2px; animation: sync-spin 0.8s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .sync-mark { animation: none; border-right-color: var(--gold-500); }
}
@keyframes sync-spin { to { transform: rotate(360deg); } }
.board-title { margin-top: 18px; font-size: 1rem; font-weight: 600; }
.board-title + .stats { margin-top: 8px; }
.section-title { margin-top: 28px; }
.section-title + .stats { margin-top: 10px; }
.ad-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.ad-card { background: var(--black-800); border: 1px solid var(--graphite-700); border-radius: var(--radius); padding: 12px 14px; }
.ad-card h3 { font-size: 1rem; font-weight: 600; }
.ad-facts { margin: 8px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
@media (min-width: 640px) { .ad-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 960px) { .ad-facts { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.ad-facts dt { color: var(--silver-400); font-size: 0.8rem; }
.ad-facts dd { margin: 0; color: var(--ivory); font-weight: 600; }
.team-link a { display: inline-flex; align-items: center; min-height: var(--tap); }
.add-page { max-width: 34rem; }
.lead { flex-wrap: wrap; }
.lead-contacted { flex: none; display: flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0 12px; border-left: 1px solid var(--graphite-700); font-weight: 600; color: var(--silver-200); cursor: pointer; }
.lead-contacted input { margin: 0; }
.lead > .message { flex-basis: 100%; margin: 0 12px 12px; }
.alerts { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.alerts .message { margin: 0; }

/* ===== Premium skin, 2026-11-11. Depth instead of flat boxes: layered shadows, a top light edge,
   a gold rim on the things that matter. All depth is static. The only motion stays the picker's journey
   section above; nothing moves between a person and a save. ===== */
:root {
  --surface-1: linear-gradient(180deg, #1C1C20 0%, #141417 100%);
  --surface-2: linear-gradient(180deg, #212126 0%, #17171B 100%);
  --edge: inset 0 1px 0 rgba(255,255,255,0.06), inset 0 -1px 0 rgba(0,0,0,0.5);
  --lift: 0 1px 1px rgba(0,0,0,0.4), 0 6px 14px -6px rgba(0,0,0,0.7), 0 18px 36px -18px rgba(0,0,0,0.8);
  --lift-gold: 0 0 0 1px rgba(212,165,55,0.35), 0 10px 28px -10px rgba(212,165,55,0.35), 0 22px 44px -22px rgba(0,0,0,0.9);
  --radius: 14px;
}
body {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(212,165,55,0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(169,174,181,0.06), transparent 60%),
    var(--black-950);
  background-attachment: fixed;
  font-feature-settings: "tnum" 1, "ss01" 1;
}
.top {
  background: rgba(14,14,16,0.82);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(212,165,55,0.18);
  box-shadow: 0 8px 24px -16px rgba(0,0,0,0.9);
}
.brand img { filter: drop-shadow(0 4px 10px rgba(212,165,55,0.35)); }
/* .btn.btn-gold, not only .btn-gold: the .btn rule just below sets a dark background at the same weight and
   used to win, leaving every gold button (Sign in included) as near-black text on near-black. */
.call-now, .btn-gold, .btn.btn-gold {
  background: linear-gradient(180deg, var(--gold-300) 0%, var(--gold-500) 55%, var(--gold-600) 100%);
  border: 0; color: #140F02;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), inset 0 -2px 0 rgba(0,0,0,0.18), 0 6px 16px -6px rgba(212,165,55,0.6);
}
.btn { border-radius: 12px; border-color: rgba(212,165,55,0.45); background: var(--surface-2); box-shadow: var(--edge), var(--lift); }
.btn:hover { border-color: var(--gold-300); }
.btn:active, .call-now:active { transform: translateY(1px); }
input, select, textarea {
  background: #0F0F12; border: 1px solid #34343A; border-radius: 12px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.6);
}
input:focus, select:focus, textarea:focus { border-color: var(--gold-500); outline: none; box-shadow: inset 0 2px 4px rgba(0,0,0,0.6), 0 0 0 3px rgba(212,165,55,0.25); }

/* Panels, stats and cards all sit on one depth system */
.panel, .ads-panel, .site-panel, .team-card, .stat, .lead, .ad-card, .pick {
  background: var(--surface-1);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  box-shadow: var(--edge), var(--lift);
}
.ads-panel, .site-panel, .panel { padding: 20px; }
.ads-panel h2, .site-panel h2, .panel h2, .team-card h2 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; letter-spacing: 0.01em; }
.ads-panel h2::before, .site-panel h2::before, .panel h2::before, .team-card h2::before {
  content: ""; width: 26px; height: 26px; flex: none; border-radius: 8px;
  background: radial-gradient(circle at 30% 25%, #FFF1C2 0%, var(--gold-300) 25%, var(--gold-500) 60%, #7A5615 100%);
  box-shadow: inset 0 -3px 5px rgba(0,0,0,0.35), 0 4px 10px -3px rgba(212,165,55,0.55);
  transform: perspective(60px) rotateX(12deg) rotateY(-12deg);
}

/* The number tiles: the most important reading on the page, so they get the most depth */
.stats { gap: 12px; }
.stat { position: relative; overflow: hidden; padding: 14px 16px 16px; }
.stat::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(243,210,122,0.55), transparent); }
.stat dt { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; font-weight: 600; }
.stat dd { font-size: 1.85rem; line-height: 1.15; margin-top: 6px; letter-spacing: -0.01em; }
.stats.money .stat { box-shadow: var(--edge), var(--lift-gold); }
.stats.money .stat dd { background: linear-gradient(180deg, #FFF3CF, var(--gold-300) 60%, var(--gold-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats.money .stat dd.unknown { background: none; color: var(--silver-400); }

/* Leads: easy scan, one row per person */
.leads { gap: 10px; }
.lead { overflow: hidden; }
.lead-main { padding: 14px 16px; }
.lead-name { font-size: 1.1rem; }
.lead-call, .lead-contacted { border-left-color: rgba(255,255,255,0.06); }
.lead-call { background: linear-gradient(180deg, rgba(212,165,55,0.14), rgba(212,165,55,0.04)); }
.pill { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.10); padding: 3px 10px; font-weight: 600; }
.pill.todo { background: rgba(212,165,55,0.12); }
.chip { background: var(--surface-2); border-color: rgba(255,255,255,0.08); box-shadow: var(--edge); }
.chip[aria-pressed="true"] { background: linear-gradient(180deg, var(--gold-300), var(--gold-500)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 6px 14px -6px rgba(212,165,55,0.55); }

/* Picker: 3D tiles a prospect sees first */
.hero h1 { background: linear-gradient(180deg, #FFFDF6, var(--ivory) 55%, #CDBF9C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pick { min-height: 96px; padding: 18px 20px; border-color: rgba(212,165,55,0.28); }
.pick::before {
  content: ""; width: 40px; height: 40px; flex: none; margin-right: 4px; border-radius: 12px;
  background: radial-gradient(circle at 30% 25%, #FFF1C2 0%, var(--gold-300) 25%, var(--gold-500) 60%, #6F4E12 100%);
  box-shadow: inset 0 -4px 7px rgba(0,0,0,0.35), 0 8px 16px -6px rgba(212,165,55,0.6);
  transform: perspective(80px) rotateX(14deg) rotateY(-14deg);
}
.pick span:first-of-type { flex: 1; }
.pick:hover { border-color: var(--gold-300); box-shadow: var(--edge), var(--lift-gold); }
.ad-facts dd { font-size: 1.05rem; }
.message { border-radius: 12px; background: rgba(255,180,168,0.06); }
.message.good { background: rgba(168,230,184,0.06); }
.empty { border-radius: var(--radius); background: rgba(255,255,255,0.02); }
.demo-banner { background: linear-gradient(90deg, var(--gold-500), var(--gold-300), var(--gold-500)); }

/* ---------- 2026-11-11: live, speed to lead, money chain, owner board ---------- */

/* Each kind of panel gets its own gold object, so sections are told apart at a glance. */
.site-panel h2::before { border-radius: 50%; transform: none; background: radial-gradient(circle at 32% 28%, #FFF6D6 0%, var(--gold-300) 22%, var(--gold-500) 58%, #5E420F 100%); }
.ads-panel h2::before { border-radius: 7px; transform: perspective(60px) rotateX(18deg) rotateY(-22deg); }
.customers-panel h2::before { border-radius: 50% 50% 12px 12px; transform: none; }
.next-up h2::before, .team-card h2::before { display: none; }

/* Live: a still dot, never a pulse. This is the working tool. */
.live { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; max-width: 100%; margin-top: 8px; padding: 4px 12px 4px 10px; border-radius: 999px;
  background: rgba(168,230,184,0.07); border: 1px solid rgba(168,230,184,0.25); color: var(--ok); font-size: 0.85rem; font-weight: 600; overflow-wrap: normal; }
.live > span:nth-child(2) { white-space: nowrap; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #E9FFF0, var(--ok) 55%, #3E8A57);
  box-shadow: 0 0 0 3px rgba(168,230,184,0.15), 0 0 10px rgba(168,230,184,0.55); flex: none; }
.live-when { color: var(--silver-400); font-weight: 400; }

/* Speed to lead */
.pill.wait { font-variant-numeric: tabular-nums; }
.pill.wait.fresh { border-color: rgba(168,230,184,0.55); color: var(--ok); background: rgba(168,230,184,0.08); }
.pill.wait.warm { border-color: var(--gold-500); color: var(--gold-300); background: rgba(212,165,55,0.12); }
.pill.wait.late { border-color: var(--alert); color: var(--alert); background: rgba(255,180,168,0.08); }
.next-up {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px;
  margin-top: 20px; padding: 18px 20px 18px 76px; position: relative;
  border-radius: var(--radius); border: 1px solid rgba(212,165,55,0.45);
  background: linear-gradient(135deg, rgba(212,165,55,0.16), rgba(212,165,55,0.03) 55%), var(--surface-1);
  box-shadow: var(--edge), var(--lift-gold);
}
.next-up::before {
  content: ""; position: absolute; left: 20px; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 12px;
  background: radial-gradient(circle at 30% 25%, #FFF1C2 0%, var(--gold-300) 25%, var(--gold-500) 60%, #6F4E12 100%);
  box-shadow: inset 0 -4px 7px rgba(0,0,0,0.35), 0 8px 16px -6px rgba(212,165,55,0.6);
  transform: perspective(80px) rotateX(14deg) rotateY(-14deg);
}
.next-up.clear { border-color: rgba(168,230,184,0.35); background: linear-gradient(135deg, rgba(168,230,184,0.10), transparent 55%), var(--surface-1); box-shadow: var(--edge), var(--lift); }
.next-up.clear::before { background: radial-gradient(circle at 30% 25%, #F1FFF5 0%, var(--ok) 40%, #3E8A57 100%); box-shadow: inset 0 -4px 7px rgba(0,0,0,0.3), 0 8px 16px -6px rgba(168,230,184,0.5); }
.next-copy { min-width: 0; flex: 1 1 260px; }
.next-copy h2 { font-size: 1.2rem; }
.next-copy p { margin-top: 4px; color: var(--silver-200); }
.next-copy strong { color: var(--ivory); }
.next-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 420px) { .next-up { padding-left: 20px; padding-top: 72px; } .next-up::before { top: 18px; margin-top: 0; } }

/* Funnel: numbered steps, read left to right (or top to bottom on a phone). */
.stats.funnel { counter-reset: step; }
.stats.funnel .stat { counter-increment: step; padding-top: 30px; }
.stats.funnel .stat::before {
  content: counter(step); position: absolute; top: 9px; right: 10px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.7rem; font-weight: 600; color: #140F02;
  background: radial-gradient(circle at 35% 30%, #FFF1C2, var(--gold-500) 70%); box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.rate { display: block; margin-top: 4px; font-size: 0.8rem; font-weight: 600; color: var(--gold-300); }
.customers-panel { margin-top: 20px; }
.customers-panel .stats { margin-top: 16px; }

/* Money chain: dollars in, customers, dollars back */
.chain-wrap { margin-top: 14px; }
.chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .chain { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .chain { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; } }
.chain-link {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 16px;
  border-radius: 12px; background: var(--surface-2); border: 1px solid rgba(255,255,255,0.07); box-shadow: var(--edge), var(--lift);
}
.chain-link.meta { border-top: 2px solid rgba(169,174,181,0.6); }
.chain-link.records { border-top: 2px solid var(--gold-500); }
.chain-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; color: var(--silver-400); }
.chain-value { font-size: 1.45rem; color: var(--ivory); font-variant-numeric: tabular-nums; }
.chain-link.unknown .chain-value { font-size: 1.05rem; color: var(--silver-400); padding-block: 4px; }
@media (min-width: 1000px) {
  .chain-link + .chain-link::before {
    content: ""; position: absolute; left: -15px; top: 50%; width: 10px; height: 10px; margin-top: -5px;
    border-top: 2px solid var(--gold-500); border-right: 2px solid var(--gold-500); transform: rotate(45deg); opacity: 0.8;
  }
}
.chain-verdict { margin-top: 12px; font-weight: 600; color: var(--gold-300); }

/* Owner board: every business at once */
.owner-board { margin-top: 20px; padding: 20px; border-radius: var(--radius); border: 1px solid rgba(212,165,55,0.3);
  background: linear-gradient(160deg, rgba(212,165,55,0.10), transparent 45%), var(--surface-1); box-shadow: var(--edge), var(--lift-gold); }
.owner-board .stats { margin-top: 0; }
@media (min-width: 960px) { .stats.owner-totals { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.owner-board .note { padding-block: 12px 0; }
.team-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.team-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; }
.team-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.team-card h2 { font-size: 1.15rem; }
.team-card h2 a { text-decoration: none; }
.team-card h2 a:hover { text-decoration: underline; }
.status { flex: none; font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); color: var(--silver-200); background: rgba(255,255,255,0.03); }
.status.good { color: var(--ok); border-color: rgba(168,230,184,0.4); background: rgba(168,230,184,0.07); }
.status.bad { color: var(--alert); border-color: rgba(255,180,168,0.5); background: rgba(255,180,168,0.07); }
.stats.mini { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 0; }
.stats.mini .stat { padding: 10px 12px 12px; }
.stats.mini .stat dd { font-size: 1.3rem; }
.stats.mini .stat dd.unknown { font-size: 0.95rem; }
.team-card .note { padding-block: 0; }
.open-business { align-self: flex-start; margin-top: auto; }
.setup { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 4px; }
.setup summary { display: flex; align-items: center; gap: 10px; min-height: var(--tap); cursor: pointer; color: var(--silver-200); font-weight: 600; font-size: 0.9rem; }
.setup-meter { display: inline-flex; gap: 3px; }
.setup-meter .seg { width: 14px; height: 10px; border-radius: 3px; background: #2A2A2E; box-shadow: inset 0 1px 2px rgba(0,0,0,0.6); }
.setup-meter .seg.on { background: linear-gradient(180deg, var(--gold-300), var(--gold-600)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 2px 5px -1px rgba(212,165,55,0.6); }
.setup-list { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 6px; }
.setup-list li { display: flex; justify-content: space-between; gap: 10px; font-size: 0.9rem; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,0.02); }
.setup-list li.on strong { color: var(--ok); }
.setup-list li.off strong { color: var(--silver-400); }

/* Phone fit. At 320px a tile is about 120px wide, so big numbers scale with the screen and fit whole.
   No nowrap: if a huge amount still does not fit, it wraps, because a clipped number would be wrong. */
.stat dd { font-size: clamp(1.25rem, 5vw, 1.85rem); }
.chain-value { font-size: clamp(1.1rem, 4.6vw, 1.45rem); }
.stats.owner-totals .stat dd { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
@media (max-width: 420px) {
  .ads-panel, .site-panel, .panel, .owner-board { padding: 14px; }
  .team-card { padding: 14px; }
}
.team-card { container-type: inline-size; }
.stats.mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats.mini .stat dd { font-size: 1.15rem; }
@container (min-width: 380px) { .stats.mini { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- 2026-11-11: where people clicked ---------- */
.stats.taps-more { margin-top: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats.depth { margin-top: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .stats.depth { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 420px) { .stats.taps-more .stat dd { font-size: 1.1rem; } }
.taps { margin-top: 10px; }
.tap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: tap; }
.tap-row {
  --share: 0%;
  position: relative; overflow: hidden; counter-increment: tap;
  display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; grid-template-areas: "rank name count" "rank where count";
  align-items: center; column-gap: 12px; padding: 12px 14px 14px;
  border-radius: 12px; background: var(--surface-2); border: 1px solid rgba(255,255,255,0.06); box-shadow: var(--edge), var(--lift);
}
.tap-row::before {
  content: counter(tap); grid-area: rank; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.75rem; font-weight: 600; color: #140F02;
  background: radial-gradient(circle at 35% 30%, #FFF1C2, var(--gold-500) 70%); box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.tap-name { grid-area: name; color: var(--ivory); font-weight: 600; min-width: 0; }
.tap-where { grid-area: where; color: var(--silver-400); font-size: 0.85rem; min-width: 0; }
.tap-count { grid-area: count; color: var(--gold-300); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.tap-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--share); border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300)); box-shadow: 0 0 8px rgba(212,165,55,0.45); }
.tap-row.kind-call .tap-bar { background: linear-gradient(90deg, #3E8A57, var(--ok)); }
.tap-row.kind-outbound .tap-bar { background: linear-gradient(90deg, #5d6168, var(--silver-200)); }
.taps-all { margin-top: 10px; }
.taps-all summary { display: flex; align-items: center; min-height: var(--tap); cursor: pointer; color: var(--gold-300); font-weight: 600; }
.taps-all .tap-list { margin-top: 8px; }

/* Client theme. Colors come from the signed-in brand pack. The login screen stays Forever Gold. */
html[data-theme="client"] body {
  background: var(--theme-bg);
  color: var(--theme-ink);
  font-family: var(--theme-body);
}
html[data-theme="client"] h1,
html[data-theme="client"] h2,
html[data-theme="client"] h3 {
  color: var(--theme-ink);
  font-family: var(--theme-display);
}
html[data-theme="client"] .panel,
html[data-theme="client"] .stat,
html[data-theme="client"] .lead,
html[data-theme="client"] .rank-card,
html[data-theme="client"] .site-panel,
html[data-theme="client"] .ads-panel,
html[data-theme="client"] .ad-card,
html[data-theme="client"] .next-up,
html[data-theme="client"] .next-up.clear {
  background: var(--theme-card);
  color: var(--theme-ink);
  border-color: color-mix(in srgb, var(--theme-ink) 16%, transparent);
}
html[data-theme="client"] .next-copy p,
html[data-theme="client"] .next-copy strong,
html[data-theme="client"] .note,
html[data-theme="client"] .fetched,
html[data-theme="client"] .tap-where,
html[data-theme="client"] .lead-name {
  color: var(--theme-ink);
}
html[data-theme="client"] a:not(.call-now):not(.btn),
html[data-theme="client"] .text-btn { color: var(--theme-link, var(--theme-accent)); }
html[data-theme="client"] .call-now {
  background: var(--theme-accent);
  color: var(--theme-accent-text);
}
html[data-theme="client"] header {
  background: var(--theme-card);
  border-bottom-color: color-mix(in srgb, var(--theme-ink) 16%, transparent);
}
html[data-theme="client"] .brand,
html[data-theme="client"] #brand-name { color: var(--theme-ink); }
html[data-theme="client"] input,
html[data-theme="client"] select,
html[data-theme="client"] textarea {
  background: var(--theme-bg);
  color: var(--theme-ink);
  border-color: color-mix(in srgb, var(--theme-ink) 28%, transparent);
  box-shadow: none;
}
html[data-theme="client"] .btn:not(.btn-gold) {
  background: var(--theme-bg);
  color: var(--theme-ink);
}
html[data-theme="client"] .btn-gold {
  background: var(--theme-accent);
  color: var(--theme-accent-text);
}
html[data-theme="client"] header .brand img { max-height: 56px; width: auto; }
.rank-list, .request-list, .needs-email { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rank-card h2, .request-card, .tap-name, .lead-name, label, button, input, textarea {
  /* break-word, not anywhere: anywhere also shrinks the minimum width, which let a flex row squeeze text to one letter a line. */
  overflow-wrap: break-word;
  min-width: 0;
}
.rank-place, .tap-count, .stat dd { font-variant-numeric: tabular-nums; }
.file-input, input, textarea, select { font-size: 16px; max-width: 100%; }
.hero-shot { display: block; width: 100%; max-height: 220px; object-fit: cover; border-radius: 8px; }
.view-as { padding: 10px 12px; border-radius: 8px; background: var(--black-800); }
.request-form, .people-panel label, .change-panel label, .ads-ask label { display: grid; gap: 6px; margin-top: 10px; }
@media (max-width: 420px) {
  .rank-card, .request-card, .website-card { padding: 12px; }
  .save-row { display: flex; flex-wrap: wrap; gap: 8px; }
  .save-row .btn { min-height: var(--tap); min-width: var(--tap); }
}


/* Client theme, second pass: every control that was still Forever Gold dark on a light brand. */
html[data-theme="client"] .chip {
  background: var(--theme-card);
  color: var(--theme-ink);
  border-color: color-mix(in srgb, var(--theme-ink) 24%, transparent);
  box-shadow: none;
}
html[data-theme="client"] .chip[aria-pressed="true"] {
  background: var(--theme-accent);
  border-color: var(--theme-accent);
  color: var(--theme-accent-text);
  box-shadow: none;
}
html[data-theme="client"] .tap-row,
html[data-theme="client"] .request-card,
html[data-theme="client"] .view-as {
  background: var(--theme-bg);
  color: var(--theme-ink);
  border-color: color-mix(in srgb, var(--theme-ink) 14%, transparent);
  box-shadow: none;
}
html[data-theme="client"] .tap-name,
html[data-theme="client"] .tap-count,
html[data-theme="client"] .stat dt,
html[data-theme="client"] .stat dd,
html[data-theme="client"] label,
html[data-theme="client"] summary { color: var(--theme-ink); }
html[data-theme="client"] .tap-row::before { background: var(--theme-accent); color: var(--theme-accent-text); box-shadow: none; }
html[data-theme="client"] .tap-bar { background: var(--theme-accent); box-shadow: none; }
html[data-theme="client"] .btn:focus-visible,
html[data-theme="client"] .chip:focus-visible,
html[data-theme="client"] a:focus-visible { outline: 3px solid var(--theme-ink); outline-offset: 2px; }

/* New pieces */
.website-card .save-row, .change-panel .save-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.website-card .hero-shot { margin-bottom: 12px; }
.my-requests { margin-top: 16px; }
.request-body { white-space: pre-wrap; }
.request-top { margin: 0; }
.request-done summary { min-height: var(--tap); display: flex; align-items: center; cursor: pointer; font-weight: 600; }
.rank-head { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.rank-head h3 { margin: 0; min-width: 0; overflow-wrap: break-word; }
.rank-place { margin: 0; font-size: 1.6rem; font-weight: 700; min-width: 1.5em; }
.rank-card.unranked { opacity: 0.85; }
.rank-rate { font-size: 1.1rem; font-weight: 600; }
.people-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.person-row { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; min-width: 0; overflow-wrap: break-word; }
.people-panel select { min-height: var(--tap); }
/* Messages: the pale alert and OK colors are for the dark theme. On a client theme, ink text and a colored edge. */
html[data-theme="client"] .message { color: var(--theme-ink); background: var(--theme-card); border-color: #C62828; border-left-width: 6px; }
html[data-theme="client"] .message.good { border-color: #2E7D32; }

/* Client theme, root fix: remap the Forever Gold palette itself, so every older rule (notes, stat captions,
   live pill, wait pills, borders, chips, gold rims) follows the brand instead of being chased one by one.
   --black-950 is only ever text on a gold fill once the page body is themed, so it becomes the button text. */
html[data-theme="client"] {
  --black-950: var(--theme-accent-text);
  --black-900: var(--theme-card);
  --black-800: var(--theme-bg);
  --graphite-700: color-mix(in srgb, var(--theme-ink) 20%, var(--theme-card));
  --silver-200: var(--theme-ink);
  --silver-400: color-mix(in srgb, var(--theme-ink) 72%, var(--theme-card));
  --ivory: var(--theme-ink);
  --gold-300: var(--theme-link);
  --gold-500: var(--theme-accent);
  --gold-600: var(--theme-accent);
  --ok: color-mix(in srgb, #2E7D32 60%, var(--theme-ink));
  --alert: color-mix(in srgb, #C62828 65%, var(--theme-ink));
  --surface-1: var(--theme-card);
  --surface-2: var(--theme-bg);
  --edge: 0 0 0 0 transparent;
  --lift: 0 1px 2px rgba(0,0,0,0.10);
  --lift-gold: 0 0 0 1px color-mix(in srgb, var(--theme-accent) 40%, transparent);
}
html[data-theme="client"] .top { background: var(--theme-card); }
html[data-theme="client"] .ads-panel h2::before,
html[data-theme="client"] .site-panel h2::before,
html[data-theme="client"] .panel h2::before,
html[data-theme="client"] .next-up::before {
  background: var(--theme-accent);
  box-shadow: none;
  transform: none;
}
html[data-theme="client"] .next-up.clear::before { background: var(--ok); }
html[data-theme="client"] .live { background: transparent; border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
html[data-theme="client"] .live-dot { background: var(--ok); box-shadow: none; }
html[data-theme="client"] .demo-banner { background: var(--theme-accent); color: var(--theme-accent-text); }
/* The money figures are gradient text that starts at pale cream: invisible at the top on a light brand. Solid ink. */
html[data-theme="client"] .stats.money .stat dd { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--theme-ink); }
/* Wait pills: colored text on a tint fell under 4.5:1 on dark brands. Ink text always reads; the border keeps the color. */
html[data-theme="client"] .pill.wait.fresh,
html[data-theme="client"] .pill.wait.warm,
html[data-theme="client"] .pill.wait.late { color: var(--theme-ink); background: transparent; border-width: 2px; }

/* Phones: the customer's details get the whole first row; Contacted and Call share the row under it.
   Before this, at 320px the details column got 40px and wrapped one letter per line. */
@media (max-width: 560px) {
  .lead-main { flex: 1 1 100%; }
  .lead-contacted { flex: 1 1 auto; border-left: 0; border-top: 1px solid var(--graphite-700); }
  .lead-call { border-top: 1px solid var(--graphite-700); }
}
/* Smallest phones: a stat tile has about 89px inside at 320px, and "$10,000.00" at 20px needs 91px. Smaller digits,
   and a money figure never splits across lines. Checked in a 320px frame 2026-11-24. */
@media (max-width: 380px) {
  .stat dd { font-size: 1.05rem; }
  .stats.money .stat dd { white-space: nowrap; }
}
/* .note carries 24px of padding for page-level notes. Inside these cards it only spaced the rows apart. */
.person-row .note, .request-card .note, .rank-card .note, .my-requests .note,
.change-panel .note, .ads-ask .note, .website-card .note { padding-block: 0; }
.person-row { padding-block: 6px; border-bottom: 1px solid var(--graphite-700); }

/* Clarity pass: working screens stay immediate, with one readable section at a time. */
.page h1, html[data-theme="client"] .page h1 { font: 600 clamp(1.5rem, 4vw, 2.1rem)/1.25 Inter, system-ui, sans-serif; letter-spacing: -.025em; }
.page h2, .page h3, html[data-theme="client"] .page h2, html[data-theme="client"] .page h3 { font-family: Inter, system-ui, sans-serif; letter-spacing: normal; }
.page { gap: 20px; }
.page-head { align-items: start; }
.section-nav { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border: 1px solid var(--graphite-700); border-radius: 12px; background: var(--black-900); }
.section-nav a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 14px; border-radius: 7px; color: var(--silver-200); text-decoration: none; font-weight: 600; line-height: 1.3; }
.section-nav a[aria-current="page"] { background: var(--gold-500); color: var(--black-950); }
.section-nav a:hover { box-shadow: inset 0 0 0 1px currentColor; }
.section-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.section-stack > *, .ad-card, .ad-facts > div { min-width: 0; }
.page .website-card h2 { display: block; overflow-wrap: break-word; }
.date-context { font-size: .9rem; color: var(--silver-200); padding: 12px 0; }
.page .note { padding-block: 10px; font-size: .9rem; line-height: 1.6; }
.quick-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.quick-link { display: grid; gap: 6px; padding: 18px; min-height: 96px; background: var(--black-800); border: 1px solid var(--graphite-700); border-radius: 8px; text-decoration: none; }
.quick-link span { font-size: .95rem; color: var(--silver-200); }
.recovery-link { display: inline-flex; align-items: center; min-height: 48px; }
.lead-contacted { flex: 0 1 180px; display: flex; flex-direction: column-reverse; justify-content: center; align-items: stretch; gap: 4px; padding: 12px; }
.lead-contacted select { min-width: 0; width: 100%; margin: 0; }
.lead-contacted span { font-size: .85rem; }
.tap-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name count" "where count" "destination count"; gap: 6px 12px; padding: 14px; }
.tap-row::before { display: none; }
.tap-name { white-space: normal; overflow: visible; text-overflow: unset; line-height: 1.5; }
.tap-destination { grid-area: destination; font-size: .85rem; color: var(--silver-400); overflow-wrap: break-word; }
.tap-count { align-self: center; }
.thread-timeline { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 12px; }
.thread-timeline li { padding: 12px 14px; border-left: 3px solid var(--silver-400); background: var(--black-800); border-radius: 4px; }
.thread-timeline .from-team { border-left-color: var(--gold-500); }
.request-body { white-space: pre-wrap; overflow-wrap: break-word; }
.request-card { display: grid; gap: 8px; min-width: 0; }
.request-card details { min-width: 0; }
.request-card summary, .taps-all summary { min-height: 48px; padding: 12px 4px; cursor: pointer; }
.request-card form { display: grid; gap: 12px; margin-top: 16px; }
.unread { margin-left: 10px; color: var(--black-950); background: var(--gold-300); }
html[data-theme="client"] .section-nav, html[data-theme="client"] .quick-link, html[data-theme="client"] .thread-timeline li { background: var(--theme-card); border-color: color-mix(in srgb, var(--theme-ink) 25%, transparent); }
html[data-theme="client"] .section-nav a, html[data-theme="client"] .date-context, html[data-theme="client"] .quick-link, html[data-theme="client"] .quick-link span, html[data-theme="client"] .tap-destination { color: var(--theme-ink); }
html[data-theme="client"] .section-nav a[aria-current="page"] { background: var(--theme-accent); color: var(--theme-accent-text); }
html[data-theme="client"] .thread-timeline .from-team { border-left-color: var(--theme-accent); }
html[data-theme="client"] .page .note, html[data-theme="client"] .tap-where { opacity: 1; }
@media (max-width: 600px) {
  .section-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-nav a { padding: 10px 6px; font-size: .9rem; }
  .quick-links { grid-template-columns: 1fr; }
  .page-tools { gap: 8px; }
  .page-tools .btn { flex: 1 1 130px; }
  .lead-contacted { flex: 1 1 100%; border-left: 0; }
  .lead { flex-wrap: wrap; }
  .stat small { font-size: .85rem; }
  .chain { gap: 10px; }
}

.page .funnel .stat::before, .page .funnel .stat::after { display: none; }
.page .stat, .page .owner-board, .page .panel { box-shadow: none; }

.page .stat dt, .page .chain-label { text-transform: none; letter-spacing: normal; font-size: .9rem; }
.new-request { border-top: 1px solid var(--silver-400); margin-top: 20px; padding-top: 12px; }
.new-request summary { min-height: 48px; padding: 12px 0; cursor: pointer; font-weight: 600; }
.site-panel .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block: 16px; }
.site-panel .stats.taps-more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page .site-panel h2::before, .page .ads-panel h2::before { display: none; }
@media (max-width: 600px) { .site-panel .stats, .site-panel .stats.taps-more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Keep account controls together, below the daily business actions. */
.business-head { margin-bottom: 8px; }
.account-tools { display: flex; justify-content: flex-end; gap: 8px; align-items: center; margin-top: 8px; }
.account-tools .text-btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; }
.ad-facts small { display: block; line-height: 1.45; color: var(--silver-400); font-size: .82rem; margin-top: 5px; }
@media (max-width: 600px) { .account-tools { justify-content: flex-start; } }

@media (min-width: 960px) { .ad-facts { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
