:root {
  --bg: #050b16;
  --bg-grid: rgba(61, 174, 255, 0.07);
  --panel: rgba(16, 31, 53, 0.88);
  --panel-strong: rgba(20, 43, 73, 0.95);
  --line: rgba(78, 154, 236, 0.36);
  --text: #f5f8ff;
  --muted: #b5c8e8;
  --cyan: #3dcfff;
  --blue: #236fc4;
  --green: #24d37a;
  --gold: #ecb940;
  --danger: #ff647c;
  --bg-primary: #031427;
  --bg-secondary: #071d36;
  --panel-bg: rgba(11, 38, 72, 0.82);
  --panel-bg-dark: rgba(5, 25, 49, 0.92);
  --panel-border: rgba(72, 155, 235, 0.38);
  --panel-border-hover: rgba(46, 213, 255, 0.65);
  --text-primary: #f7faff;
  --text-secondary: #b4c9ea;
  --text-muted: #7fa1ce;
  --accent-blue: #219cff;
  --accent-cyan: #20d7ff;
  --accent-teal: #29e0c1;
  --accent-green: #42e5a4;
  --accent-amber: #ffc247;
  --accent-purple: #8f7cff;
  --radius-card: 18px;
  --radius-inner: 12px;
  --shadow-panel: 0 12px 35px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  --glow-blue: 0 0 22px rgba(32, 160, 255, 0.14);
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.consent-check {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.45;
}

.consent-check input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--cyan);
  flex: 0 0 auto;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(115deg, rgba(3, 7, 15, 0.92), rgba(7, 20, 38, 0.94), rgba(9, 49, 78, 0.82)),
    linear-gradient(var(--bg-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 96px 96px, 96px 96px, auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  border-radius: 8px;
}

.modal-open {
  overflow: hidden;
}

.login-page {
  display: grid;
  place-items: center;
  padding: 28px;
}

.login-shell {
  width: min(760px, 100%);
}

.login-card,
.panel,
.toolbar,
.metric {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--panel-strong), rgba(8, 17, 31, 0.94));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.login-card {
  border-radius: 22px;
  padding: clamp(24px, 5vw, 48px);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(61, 207, 255, 0.36);
  padding: 8px;
}

.brand-logo.small {
  width: 70px;
  height: 70px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 4px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.eyebrow,
.label {
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.notice {
  display: grid;
  gap: 8px;
  margin: 28px 0;
  padding: 22px;
  border: 1px solid rgba(78, 154, 236, 0.34);
  border-radius: 16px;
  background: rgba(3, 10, 22, 0.62);
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
}

.notice strong {
  color: var(--text);
  font-size: 26px;
}

.form-stack {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(130, 172, 225, 0.46);
  border-radius: 10px;
  background: #eaf2ff;
  color: #031021;
  padding: 0 16px;
  font-weight: 700;
}

textarea {
  min-height: 110px;
  padding: 14px 16px;
  resize: vertical;
}

button,
.top-actions a {
  min-height: 48px;
  border: 1px solid rgba(78, 154, 236, 0.62);
  background: linear-gradient(120deg, #38c8e8, #236fc4);
  color: #02101f;
  padding: 0 22px;
  font-weight: 900;
  cursor: pointer;
}

.top-actions button {
  border-color: rgba(255, 100, 124, 0.5);
  background: rgba(255, 100, 124, 0.08);
  color: var(--text);
}

.ghost-button,
.link-button {
  background: rgba(11, 23, 42, 0.74);
  color: var(--text);
}

.link-button {
  min-height: 0;
  border: 0;
  background: transparent;
  color: #7fcfff;
  padding: 0;
  text-align: left;
}

.link-button:hover {
  color: var(--cyan);
  text-decoration: underline;
}

.connected,
.muted {
  color: var(--muted);
}

.connected {
  margin: 28px 0 0;
  text-align: center;
}

.error {
  color: var(--danger);
  font-weight: 800;
}

.app-shell {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 52px;
}

.workspace-nav {
  position: fixed;
  z-index: 20;
  top: 28px;
  bottom: 28px;
  left: 24px;
  display: flex;
  flex-direction: column;
  width: 210px;
  padding: 20px 13px;
  border: 1px solid rgba(61, 207, 255, 0.2);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(12, 36, 62, 0.99) 0%, rgba(5, 15, 29, 0.99) 52%, rgba(2, 8, 16, 0.99) 100%);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.workspace-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 6px 30px;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.workspace-nav-brand img { width: 36px; height: 36px; object-fit: contain; }

.workspace-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  box-shadow: none;
  color: #9fb9d9;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.workspace-tab:hover { border-color: rgba(61, 207, 255, 0.28); background: rgba(61, 207, 255, 0.08); color: #fff; transform: none; }
.workspace-tab.active { border-color: rgba(61, 207, 255, 0.48); background: linear-gradient(90deg, rgba(22, 140, 217, 0.56), rgba(61, 207, 255, 0.13)); color: #fff; box-shadow: 0 9px 24px rgba(8, 128, 210, 0.18); }
.workspace-tab span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  min-width: 34px;
  height: 24px;
  border-radius: 8px;
  background: rgba(61, 207, 255, 0.12);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
}
.workspace-nav > p { margin: auto 8px 4px; padding-top: 18px; border-top: 1px solid rgba(78, 154, 236, 0.14); color: #5f84ae; font-size: 10px; font-weight: 800; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; }

.active-dealer-rail {
  margin: 16px 2px 12px;
  padding: 13px 12px;
  border: 1px solid rgba(61, 207, 255, 0.26);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(20, 100, 162, 0.25), rgba(7, 20, 36, 0.28));
}

.active-dealer-rail span {
  display: block;
  color: #77a4cf;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.active-dealer-rail small { display: none !important; }

.active-dealer-rail strong {
  display: block;
  margin-top: 5px;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.25;
}

[data-workspace-panel][hidden] { display: none !important; }

/* Keep the left rail on normal desktop displays, including browsers using zoom. */
@media (min-width: 701px) {
  .app-shell { width: auto; max-width: 1480px; margin: 0 32px 0 258px; }
}

@media (max-width: 700px) {
  .workspace-nav { top: 12px; bottom: 12px; left: 10px; width: 164px; padding: 14px 8px; border-radius: 14px; }
  .workspace-nav-brand { margin: 0 5px 18px; font-size: 14px; }
  .workspace-nav-brand img { width: 28px; height: 28px; }
  .workspace-tab { min-height: 42px; padding: 0 9px; font-size: 11px; }
  .workspace-tab span { flex-basis: 30px; width: 30px; min-width: 30px; height: 22px; font-size: 10px; }
  .workspace-nav > p { margin: auto 5px 3px; font-size: 8px; }
  .app-shell { width: calc(100% - 196px); margin: 0 12px 0 auto; }
}

/* Product-quality dashboard pass */
.workspace-nav {
  position: fixed !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.workspace-nav-brand { display: flex !important; }
.workspace-nav > p { display: block !important; }
.workspace-tab { width: 100% !important; flex: 0 0 auto !important; }

.topbar { padding: 2px 0 24px; }
.topbar .brand-row { gap: 14px; }
.topbar .brand-logo.small { width: 46px; height: 46px; }
.topbar h1 { font-size: clamp(30px, 3vw, 42px); letter-spacing: -0.04em; }
.topbar .eyebrow, .label { color: var(--cyan); letter-spacing: .12em; }

.panel, .metric, .toolbar, .chart-card {
  border-color: rgba(93, 164, 235, 0.28);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255,255,255,.025);
}

.metric { position: relative; overflow: hidden; min-height: 126px; padding: 20px; }
.metric::after { content: ''; position: absolute; inset: auto -22px -28px auto; width: 86px; height: 86px; border-radius: 50%; background: rgba(61,207,255,.08); }
.metric span, .campaign-summary span { font-size: 11px; letter-spacing: .1em; }
.metric strong { position: relative; z-index: 1; margin-top: 10px; font-size: clamp(30px, 3vw, 42px); letter-spacing: -.04em; }

input, select, textarea {
  border-color: rgba(137, 185, 240, .56);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.48), 0 1px 2px rgba(0,0,0,.1);
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(61,207,255,.28); border-color: var(--cyan); }

.crm-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; border: 0; background: transparent; }
.crm-steps span { position: relative; min-height: 48px; padding: 0 10px; border: 1px solid rgba(93,164,235,.22); border-radius: 12px; background: rgba(4,18,34,.52); }
.crm-steps span + span::before { content: ''; position: absolute; left: -13px; top: 50%; width: 12px; height: 1px; margin: 0; background: rgba(61,207,255,.55); }
.crm-steps b { background: linear-gradient(145deg, #2ed5f4, #2274c8); color: #00111d; }
.crm-file-drop input[type="file"] { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 1px !important; opacity: 0 !important; pointer-events: none; }
.crm-file-drop { border-width: 2px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.02); }

.campaign-performance-grid { grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); }
.campaign-performance-grid div { transition: transform .16s ease, border-color .16s ease; }
.campaign-performance-grid div:hover { transform: translateY(-2px); border-color: rgba(61,207,255,.52); }

.campaign-preview-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.campaign-preview-actions button { min-height: 38px; padding: 0 14px; font-size: 12px; }
.campaign-send { border-color: rgba(36,211,122,.55) !important; background: linear-gradient(120deg, #34d399, #169b63) !important; color: #03170e !important; }
.campaign-send-progress { margin-top: 12px; padding: 12px 14px; border: 1px solid rgba(61,207,255,.28); border-radius: 10px; background: rgba(4, 20, 38, .58); }
.campaign-send-progress > div { display:flex; justify-content:space-between; gap:12px; color:#ddecff; font-size:12px; font-weight:850; }
.campaign-send-progress span { color: var(--cyan); }
.campaign-send-progress .customer-campaign-progress-track { margin: 9px 0 0; }
.campaign-send-progress.complete { border-color: rgba(36,211,122,.42); }
.campaign-send-progress.complete span { color: #55e6a7; }
.campaign-lifecycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 13px 0 3px; border-top: 1px solid rgba(78,154,236,.16); }
.campaign-lifecycle span { display:flex; align-items:center; gap:7px; color:#7892b3; font-size:11px; font-weight:900; text-transform:uppercase; letter-spacing:.06em; }
.campaign-lifecycle b { display:grid; place-items:center; width:20px; height:20px; border:1px solid rgba(120,146,179,.4); border-radius:50%; color:#9eb4d0; font-size:10px; }
.campaign-lifecycle .complete { color:#72e2b0; }
.campaign-lifecycle .complete b { border-color:rgba(36,211,122,.5); background:rgba(36,211,122,.14); color:#34d399; }
.campaign-funnel { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:8px; margin:12px 0 2px; }
.campaign-funnel div { position:relative; min-height:64px; padding:11px 13px; border:1px solid rgba(67,145,222,.24); border-radius:10px; background:rgba(6,25,47,.48); }
.campaign-funnel span { display:block; color:#8eabd0; font-size:10px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.campaign-funnel strong { display:block; margin-top:4px; color:#f5f9ff; font-size:23px; line-height:1; }
.campaign-funnel i { position:absolute; right:-13px; top:20px; z-index:1; display:grid; place-items:center; width:20px; height:20px; border:1px solid rgba(61,207,255,.35); border-radius:50%; background:#102542; color:#3dcfff; font-size:17px; font-style:normal; }
.campaign-preview-dialog { width: min(1040px, calc(100vw - 48px)); max-width: none; }
.campaign-preview-frame { display: block; width: 100%; height: min(72vh, 760px); border: 1px solid rgba(78,154,236,.25); border-radius: 10px; background: #fff; }
.campaign-preview-header-actions { display:flex; align-items:center; gap:10px; }
.campaign-live-link { display:flex; align-items:center; gap:9px; min-height:43px; padding:7px 11px; border:1px solid rgba(131,234,255,.78); border-radius:13px; background:linear-gradient(135deg,#0ab5e9 0%,#256be8 58%,#6947f7 100%); color:#fff; box-shadow:0 0 0 1px rgba(63,219,255,.2),0 8px 24px rgba(22,112,239,.32); text-decoration:none; transition:transform .18s ease,box-shadow .18s ease; }
.campaign-live-link:hover { transform:translateY(-2px); box-shadow:0 0 0 2px rgba(116,235,255,.36),0 12px 30px rgba(33,121,251,.45); }
.campaign-live-link i { width:9px; height:9px; border-radius:50%; background:#71ffb1; box-shadow:0 0 12px #71ffb1; }
.campaign-live-link span { display:grid; gap:1px; line-height:1; }
.campaign-live-link b { font-size:12px; letter-spacing:.01em; }
.campaign-live-link small { color:#dff9ff; font-size:9px; font-weight:800; letter-spacing:.03em; }
.campaign-live-link em { display:grid; place-items:center; width:23px; height:23px; border:1px solid rgba(255,255,255,.35); border-radius:8px; background:rgba(2,20,69,.2); font-size:15px; font-style:normal; }

.table-wrap { border: 1px solid rgba(93,164,235,.22); border-radius: 14px; overflow: auto; }
table thead th { position: sticky; top: 0; z-index: 2; background: #102b49; box-shadow: 0 1px 0 rgba(93,164,235,.34); }
tbody tr:nth-child(even) { background: rgba(49, 101, 155, .11); }
tbody tr:hover { background: rgba(61,207,255,.1); }
.table-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 14px; color: var(--muted); font-size: 13px; font-weight: 800; }
.table-pagination button { min-height: 38px; padding: 0 14px; }

@media (max-width: 700px) {
  .crm-steps { grid-template-columns: 1fr; }
  .crm-steps span + span::before { display: none; }
  .goal-playbook-grid { grid-template-columns: 1fr; }
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(78, 154, 236, 0.24);
}

.top-actions {
  display: flex;
  gap: 12px;
}

.top-actions a {
  display: grid;
  place-items: center;
  background: rgba(11, 23, 42, 0.74);
  color: var(--text);
}

.status-grid,
.metric-grid,
.content-grid {
  display: grid;
  gap: 16px;
}

.status-grid {
  grid-template-columns: 1fr;
  margin-top: 28px;
}

.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 16px 0;
}

.metric-grid .metric-primary { grid-column: 1 / -1; min-height: 112px; }

.content-grid {
  grid-template-columns: 1fr;
}

.panel,
.metric,
.toolbar {
  border-radius: 10px;
  padding: 22px;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(61, 207, 255, 0.08), rgba(41, 119, 217, 0.06)),
    rgba(8, 20, 38, 0.9);
}

.toolbar-fields {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(180px, 0.8fr) repeat(2, minmax(190px, 0.85fr));
  gap: 18px;
  align-items: end;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(78, 154, 236, 0.18);
}

.toolbar label {
  gap: 9px;
  color: #c9dcfa;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.toolbar input,
.toolbar select {
  min-height: 56px;
  border-color: rgba(120, 173, 240, 0.5);
  background: linear-gradient(180deg, #f1f6ff, #dfeafa);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 10px 24px rgba(0, 0, 0, 0.15);
}

.toolbar button {
  min-width: 164px;
}

.toolbar input[type="date"] {
  cursor: pointer;
  padding-right: 50px;
  color-scheme: light;
}

.toolbar input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  width: 22px;
  height: 22px;
  opacity: 0.95;
  filter: invert(22%) sepia(68%) saturate(1789%) hue-rotate(184deg) brightness(86%) contrast(94%);
}

.date-control {
  position: relative;
}

.date-control::after {
  content: "Calendar";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 28px;
  height: 28px;
  overflow: hidden;
  color: transparent;
  pointer-events: none;
  border: 1px solid rgba(18, 68, 116, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(#1e77c8 0 5px, transparent 5px),
    linear-gradient(90deg, transparent 7px, rgba(18, 68, 116, 0.25) 8px, transparent 9px),
    linear-gradient(#ffffff, #eaf2ff);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.toolbar-status {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(78, 154, 236, 0.18);
  border-radius: 999px;
  background: rgba(5, 10, 19, 0.38);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.metric {
  border-top: 4px solid var(--cyan);
}

.metric span,
.metric small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.metric strong {
  display: block;
  margin: 8px 0;
  color: var(--text);
  font-size: 42px;
  line-height: 1;
}

.live-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 14px;
  padding: 0 2px;
}

.live-chart-header h2,
.chart-title h3 {
  margin: 0;
}

.live-chart-header h2 {
  font-size: 28px;
  letter-spacing: 0;
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.chart-card {
  grid-column: span 4;
  min-height: 292px;
  border: 1px solid rgba(78, 154, 236, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(18, 48, 82, 0.92), rgba(7, 17, 33, 0.96)),
    rgba(8, 18, 34, 0.88);
  padding: 22px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.wide-chart {
  grid-column: span 12;
  min-height: 320px;
}

.chart-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.chart-title h3 {
  color: #dcecff;
  font-size: 19px;
  line-height: 1.2;
}

.chart-title span {
  color: var(--cyan);
  font-weight: 900;
  white-space: nowrap;
}

.donut-chart,
.pie-chart {
  display: grid;
  place-items: center;
  min-height: 168px;
}

.donut-chart svg,
.pie-chart svg {
  width: 168px;
  height: 168px;
  overflow: visible;
}

.campaign-count-chart {
  min-height: 168px;
}

.campaign-count-graphic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  width: min(250px, 100%);
  padding: 16px 18px;
  border: 1px solid rgba(61, 207, 255, 0.22);
  border-radius: 20px;
  background:
    radial-gradient(circle at 20% 15%, rgba(61, 207, 255, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(13, 44, 78, 0.72), rgba(6, 18, 35, 0.82));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.campaign-count-graphic strong {
  display: block;
  color: #f8fbff;
  font-size: 46px;
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.campaign-count-graphic span {
  display: block;
  margin-top: 5px;
  color: #9db4db;
  font-size: 12px;
  font-weight: 900;
}

.campaign-count-graphic > div {
  display: flex;
  align-items: end;
  gap: 6px;
  height: 78px;
}

.campaign-count-graphic i {
  display: block;
  width: 13px;
  min-height: 12px;
  border-radius: 999px 999px 4px 4px;
  box-shadow: 0 0 18px rgba(61, 207, 255, 0.16);
}

.chart-track,
.chart-progress,
.pie-slice {
  fill: none;
  stroke-width: 16;
}

.chart-track {
  stroke: rgba(164, 188, 216, 0.14);
}

.chart-progress {
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  stroke: #28d782;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px rgba(40, 215, 130, 0.22));
}

.pie-slice {
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  stroke-width: 46;
}

.pie-hole {
  fill: rgba(6, 16, 31, 0.98);
}

.donut-chart text,
.pie-chart text {
  fill: var(--text);
  font-size: 22px;
  font-weight: 900;
}

.pie-chart .chart-small {
  fill: var(--muted);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.chart-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
  margin-top: 2px;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid rgba(78, 154, 236, 0.18);
  border-radius: 999px;
  background: rgba(5, 10, 19, 0.42);
}

.chart-legend i {
  width: 12px;
  height: 12px;
  border-radius: 4px;
}

.bar-chart {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  min-height: 230px;
  padding: 22px 8px 0;
  border-top: 1px solid rgba(78, 154, 236, 0.14);
  background:
    repeating-linear-gradient(
      to top,
      transparent,
      transparent 48px,
      rgba(164, 188, 216, 0.07) 49px
    );
}

.bar-item {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 52px;
  flex: 1;
}

.bar-item span {
  width: min(38px, 70%);
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(180deg, var(--cyan), #2977d9);
  box-shadow: 0 10px 28px rgba(61, 207, 255, 0.18);
}

.bar-item strong {
  color: var(--text);
  font-size: 15px;
}

.bar-item small {
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
}

.hbar-chart {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.hbar-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.9fr) minmax(120px, 1fr) 54px;
  gap: 10px;
  align-items: center;
}

.hbar-row span {
  overflow: hidden;
  color: var(--muted);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hbar-row div {
  height: 12px;
  border-radius: 999px;
  background: rgba(164, 188, 216, 0.13);
  overflow: hidden;
}

.hbar-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), #2977d9);
}

.hbar-row strong {
  color: var(--text);
  text-align: right;
}

.empty-chart {
  display: grid;
  min-height: 150px;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
}

.section-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  background: rgba(36, 211, 122, 0.14);
  color: var(--green);
  padding: 0 14px;
  font-weight: 900;
}

.visitor-filters {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(180px, 0.7fr) minmax(240px, 1fr) auto auto;
  gap: 12px;
  align-items: end;
  margin: 18px 0 8px;
}

.visitor-summary {
  margin: 0 0 8px;
}

.campaign-panel {
  background:
    radial-gradient(circle at 12% 0%, rgba(61, 207, 255, 0.18), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(236, 185, 64, 0.14), transparent 30%),
    linear-gradient(160deg, rgba(20, 43, 73, 0.95), rgba(8, 17, 31, 0.94));
}

.campaign-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.campaign-summary article {
  min-height: 92px;
  border: 1px solid rgba(78, 154, 236, 0.28);
  border-radius: 14px;
  background: rgba(4, 12, 26, 0.52);
  padding: 16px;
}

.campaign-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.campaign-summary strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 30px;
  line-height: 1;
}

.campaign-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.campaign-form label {
  color: #c9dcfa;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.campaign-full,
.campaign-actions {
  grid-column: 1 / -1;
}

.campaign-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  padding-top: 4px;
}

.campaign-actions button {
  min-width: 220px;
  box-shadow: 0 14px 34px rgba(61, 207, 255, 0.22);
}

.campaign-status {
  min-height: 34px;
  max-width: 280px;
  padding: 6px 10px;
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
}

.crm-upload-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(61, 207, 255, 0.5);
  background:
    radial-gradient(circle at 94% 18%, rgba(61, 207, 255, 0.16), transparent 28%),
    radial-gradient(circle at 8% 100%, rgba(68, 210, 139, 0.11), transparent 32%),
    linear-gradient(145deg, rgba(18, 53, 87, 0.98), rgba(7, 19, 35, 0.98));
}

.crm-upload-heading { margin-bottom: 16px; }

.crm-upload-heading h2 { font-size: clamp(24px, 2.4vw, 31px); }

.crm-upload-heading .muted { max-width: 760px; line-height: 1.55; }

.crm-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 12px 14px;
  border: 1px solid rgba(93, 173, 255, 0.2);
  border-radius: 12px;
  background: rgba(4, 15, 29, 0.42);
}

.crm-steps span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9dcfa;
  font-size: 12px;
  font-weight: 800;
}

.crm-steps span + span::before { content: "â€º"; color: var(--cyan); font-size: 20px; margin-right: 2px; }

.crm-steps b {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: rgba(61, 207, 255, 0.18);
  color: var(--cyan);
}

.crm-upload-form { gap: 16px; }

.crm-field { display: grid; gap: 7px; }

.crm-field > span { color: #d9e9ff; font-size: 12px; font-weight: 800; }

.crm-file-drop {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 100px;
  padding: 18px 20px;
  border: 1px dashed rgba(61, 207, 255, 0.66);
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(26, 95, 150, 0.18), rgba(9, 29, 51, 0.52));
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.crm-file-drop:hover { border-color: var(--cyan); background: linear-gradient(90deg, rgba(26, 123, 190, 0.27), rgba(9, 29, 51, 0.64)); transform: translateY(-1px); }

.crm-file-drop input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.crm-file-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--cyan), #1775c7);
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(30, 155, 242, 0.24);
}

.crm-file-drop > span:nth-child(2) { display: grid; gap: 4px; }
.crm-file-drop strong { color: #fff; font-size: 15px; }
.crm-file-drop small, .crm-consent small { color: #a7c4e9; font-size: 12px; }

.crm-file-drop em {
  margin-left: auto;
  padding: 6px 9px;
  border: 1px solid rgba(61, 207, 255, 0.36);
  border-radius: 7px;
  color: var(--cyan);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.crm-consent {
  padding: 12px 14px;
  border: 1px solid rgba(78, 154, 236, 0.17);
  border-radius: 10px;
  background: rgba(5, 18, 34, 0.46);
}

.crm-consent span { display: grid; gap: 3px; }
.crm-consent strong { color: #e1edff; font-size: 12px; }

.crm-actions { justify-content: flex-start; gap: 12px; padding-top: 0; }
.crm-actions button { min-width: 190px; }

.crm-upload-note {
  margin: -5px 0 0;
  color: #93b8e4;
  font-size: 12px;
}

.customer-campaign-progress {
  padding: 14px 16px;
  border: 1px solid rgba(61, 207, 255, 0.28);
  border-radius: 12px;
  background: rgba(3, 17, 34, 0.56);
}

.customer-campaign-progress > div:first-child { display: flex; justify-content: space-between; gap: 12px; color: #e7f3ff; }
.customer-campaign-progress strong { font-size: 13px; }
.customer-campaign-progress span { color: var(--cyan); font-weight: 900; }
.customer-campaign-progress-track { height: 9px; overflow: hidden; margin: 10px 0 7px; border-radius: 999px; background: rgba(105, 146, 194, 0.22); }
.customer-campaign-progress-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1d91dc, #36d6e7); box-shadow: 0 0 18px rgba(54, 214, 231, 0.5); transition: width .35s ease; }
.customer-campaign-progress small { color: #91b5dc; font-size: 12px; }

.access-panel { border-color: rgba(78, 154, 236, 0.32); }

.gm-report-shell { max-width: 1180px; }

.executive-report-page {
  background:
    radial-gradient(circle at 12% 0%, rgba(61, 207, 255, 0.12), transparent 30%),
    radial-gradient(circle at 92% 14%, rgba(117, 72, 255, 0.14), transparent 28%),
    linear-gradient(120deg, #020712 0%, #07111f 48%, #050814 100%);
}

.executive-report-page .gm-report-shell {
  width: min(1520px, calc(100vw - 48px));
  max-width: none;
  padding-top: 28px;
}

.executive-report-topbar {
  position: relative;
  align-items: flex-start;
  padding: 8px 0 34px;
  border-bottom-color: rgba(116, 157, 220, 0.18);
}

.executive-report-topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61, 207, 255, 0.44), rgba(117, 72, 255, 0.3), transparent);
}

.executive-report-mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
  border-radius: 18px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.44), transparent 26%),
    linear-gradient(135deg, #3dcfff 0%, #7c6dff 100%);
  color: #061126;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -0.03em;
  box-shadow: 0 18px 44px rgba(61, 207, 255, 0.18);
}

.executive-dealer-logo {
  width: clamp(92px, 7vw, 124px);
  height: 86px;
  object-fit: contain;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter:
    drop-shadow(0 16px 30px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 18px rgba(61, 207, 255, 0.16));
}

.executive-report-topbar .eyebrow {
  color: var(--cyan);
  font-size: 13px;
  letter-spacing: 0.34em;
}

.executive-report-topbar h1 {
  margin-top: 12px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-shadow: 0 16px 40px rgba(117, 163, 255, 0.18);
}

.executive-report-topbar .brand-row p:not(.eyebrow) {
  margin-top: 16px;
  color: #91aad6;
  font-size: clamp(16px, 1.8vw, 21px);
}

.executive-period-card {
  min-width: 260px;
  margin-left: auto;
  padding: 20px 22px;
  border: 1px solid rgba(126, 151, 223, 0.28);
  border-radius: 20px;
  background:
    radial-gradient(circle at 14% 88%, rgba(61, 207, 255, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(18, 39, 58, 0.9), rgba(22, 24, 52, 0.92));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
  text-align: right;
}

.executive-period-card span,
.executive-period-card small {
  display: block;
  color: #879bc2;
  font-weight: 950;
}

.executive-period-card span {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.executive-period-card strong {
  display: block;
  margin: 10px 0 14px;
  color: #edf5ff;
  font-size: 22px;
  line-height: 1.1;
}

.executive-period-card small {
  color: #2ee6d2;
  font-size: 14px;
}

.executive-period-card i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
}

.executive-report-page .gm-report-hero {
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 210px) minmax(390px, 0.8fr);
  align-items: end;
  margin: 22px 0 26px;
  padding: 18px;
  border-color: rgba(78, 154, 236, 0.18);
  border-radius: 18px;
  background: rgba(4, 12, 25, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.executive-report-page .gm-report-hero h2 {
  font-size: 24px;
}

.executive-report-page .gm-report-hero .muted {
  color: #7f97c0;
}

.gm-report-hero {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(150px, 190px) minmax(380px, auto);
  align-items: end;
  gap: 20px;
  margin: 24px 0 18px;
  padding: 28px;
  border: 1px solid rgba(61, 207, 255, 0.4);
  border-radius: 16px;
  background: radial-gradient(circle at 88% 10%, rgba(61, 207, 255, 0.2), transparent 34%), linear-gradient(135deg, #153d64, #0a1a2c 72%);
}

.gm-report-hero h2 { margin: 4px 0 8px; font-size: clamp(26px, 3vw, 38px); }
.gm-report-hero > div:first-child { min-width: 0; }
.gm-report-hero label { min-width: 0; color: #c9dcfa; font-size: 12px; font-weight: 800; }
.gm-report-hero select { margin-top: 7px; }
.gm-metrics { margin-bottom: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }

.executive-report-page .public-campaign-visual {
  margin-top: 28px;
  padding: 26px;
  border-color: rgba(91, 136, 214, 0.3);
  border-radius: 20px;
  background:
    radial-gradient(circle at 10% 0%, rgba(61, 207, 255, 0.12), transparent 32%),
    radial-gradient(circle at 92% 4%, rgba(117, 72, 255, 0.1), transparent 30%),
    linear-gradient(160deg, rgba(18, 32, 62, 0.92), rgba(7, 15, 30, 0.96));
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34);
}

.executive-report-page {
  background:
    radial-gradient(circle at 8% 0%, rgba(46, 144, 255, 0.18), transparent 30%),
    radial-gradient(circle at 92% 12%, rgba(70, 211, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #050b16 0%, #07111f 48%, #03070e 100%);
}

.executive-report-page .gm-report-shell {
  max-width: 1600px;
}

.executive-report-page .topbar {
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(146, 176, 222, 0.14);
}

.executive-report-page .topbar h1 {
  letter-spacing: -0.055em;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.executive-report-page .gm-report-hero,
.executive-report-page .panel,
.executive-report-page .public-campaign-visual,
.executive-report-page .executive-period-card {
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 0%, rgba(61, 207, 255, 0.1), transparent 30%),
    linear-gradient(145deg, rgba(18, 35, 66, 0.96), rgba(8, 17, 34, 0.97));
  border-color: rgba(96, 147, 218, 0.26);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.executive-report-page .executive-kpi-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.executive-report-page .traffic-performance-overview {
  gap: 24px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.executive-report-page .traffic-performance-overview .performance-metric {
  min-height: 228px;
  border: 1px solid rgba(96, 147, 218, 0.24);
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 7%, rgba(61, 207, 255, 0.12), transparent 28%),
    linear-gradient(145deg, rgba(23, 38, 74, 0.98), rgba(13, 24, 49, 0.98));
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32);
}

.executive-report-page .traffic-performance-overview .performance-metric strong {
  margin: 24px 0 16px;
  font-size: clamp(44px, 5vw, 64px);
}

.value-proof-panel {
  position: relative;
  overflow: hidden;
}

.value-proof-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(36, 211, 122, 0.08), transparent 32%),
    radial-gradient(circle at 76% 12%, rgba(76, 149, 255, 0.16), transparent 30%);
}

.value-proof-title,
.value-proof-grid,
.value-proof-split,
.value-proof-footer {
  position: relative;
  z-index: 1;
}

.value-proof-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.value-proof-card {
  min-height: 188px;
  padding: 24px;
  border: 1px solid rgba(96, 147, 218, 0.24);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 9%, rgba(61, 207, 255, 0.16), transparent 30%),
    linear-gradient(150deg, rgba(22, 39, 76, 0.98), rgba(10, 20, 43, 0.98));
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.25),
    inset 0 -3px 0 rgba(61, 207, 255, 0.75);
}

.value-proof-card span {
  display: block;
  color: #9eb4dc;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.value-proof-card strong {
  display: block;
  margin: 26px 0 18px;
  color: #f6f9ff;
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 950;
  letter-spacing: -0.06em;
}

.value-proof-card small {
  color: #8da5cf;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.value-proof-card--opportunity {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25), inset 0 -3px 0 #26e6b0;
}

.value-proof-card--roi {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25), inset 0 -3px 0 #ffd84a;
}

.value-proof-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  margin-top: 18px;
}

.value-proof-feature {
  padding: 24px;
  border: 1px solid rgba(96, 147, 218, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 96% 0%, rgba(61, 207, 255, 0.1), transparent 30%),
    rgba(7, 17, 34, 0.62);
}

.value-proof-feature h3 {
  margin: 8px 0 18px;
  color: #ffffff;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: -0.04em;
}

.value-proof-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.value-proof-stats li {
  display: grid;
  gap: 7px;
  padding: 13px;
  border-radius: 14px;
  background: rgba(15, 31, 58, 0.82);
  border: 1px solid rgba(61, 207, 255, 0.12);
}

.value-proof-stats span {
  color: #8fa8d4;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.value-proof-stats strong {
  color: #2ee6d2;
  font-size: 24px;
  font-weight: 950;
}

.value-proof-footer {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-left: 3px solid #24d37a;
  border-radius: 16px;
  background: rgba(5, 12, 24, 0.46);
  color: #bdd0ee;
  font-weight: 750;
}

.value-proof-panel--top-campaigns {
  padding: 26px;
}

.value-proof-panel--top-campaigns .value-proof-split {
  display: block;
}

.top-campaigns-feature {
  padding: 0;
  border: 0;
  background: transparent;
}

.top-campaigns-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.top-campaign-card {
  position: relative;
  min-height: 230px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(96, 147, 218, 0.24);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 0%, rgba(61, 207, 255, 0.16), transparent 34%),
    linear-gradient(150deg, rgba(23, 42, 80, 0.98), rgba(9, 20, 42, 0.98));
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.28),
    inset 0 -3px 0 #26e6b0;
}

.top-campaign-card:nth-child(2) {
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.28),
    inset 0 -3px 0 #3dcfff;
}

.top-campaign-card:nth-child(3) {
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.28),
    inset 0 -3px 0 #7d6bff;
}

.top-campaign-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(36, 211, 122, 0.16);
  color: #2ee6d2;
  font-size: 17px;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(36, 211, 122, 0.2);
}

.top-campaign-card span {
  display: block;
  color: #9eb4dc;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.top-campaign-card h3 {
  margin: 8px 0 10px;
  color: #ffffff;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.top-campaign-card p {
  margin: 0 0 18px;
  color: #98afd9;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
}

.top-campaign-card ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-campaign-card li {
  display: grid;
  gap: 3px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(7, 17, 34, 0.56);
  border: 1px solid rgba(61, 207, 255, 0.1);
}

.top-campaign-card b {
  color: #2ee6d2;
  font-size: 20px;
  font-weight: 950;
}

.top-campaign-card small {
  color: #8fa8d4;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.executive-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-card);
  background:
    linear-gradient(145deg, rgba(17, 54, 96, 0.88), rgba(7, 29, 56, 0.92));
  box-shadow: var(--shadow-panel), var(--glow-blue);
}

.executive-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.035), transparent 35%);
}

.executive-card > * {
  position: relative;
  z-index: 1;
}

.executive-report-page .performance-metric {
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 50% 0%, rgba(32, 215, 255, 0.11), transparent 38%),
    linear-gradient(145deg, rgba(17, 54, 96, 0.82), rgba(7, 29, 56, 0.94));
  box-shadow: var(--shadow-panel);
}

.executive-report-page .metric-icon-badge,
.large-icon-badge,
.stat-icon,
.queue-title .large-icon-badge {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.metric-icon-badge,
.large-icon-badge {
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  border: 1px solid rgba(32, 215, 255, 0.32);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(32, 215, 255, 0.18), rgba(33, 156, 255, 0.06) 60%, transparent 100%);
  color: var(--accent-cyan);
  box-shadow:
    inset 0 0 22px rgba(32, 215, 255, 0.08),
    0 0 28px rgba(32, 215, 255, 0.12);
}

.large-icon-badge {
  width: 76px;
  height: 76px;
  margin: 0;
}

.metric-icon-badge svg,
.large-icon-badge svg,
.stat-icon svg,
.executive-period-card svg,
.followup-row i svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
  color: var(--accent-cyan);
}

.stat-icon svg,
.executive-period-card svg,
.followup-row i svg {
  width: 18px;
  height: 18px;
}

.executive-report-page .performance-metric span {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.executive-report-page .performance-metric strong {
  margin: 18px 0 14px;
  color: var(--text-primary);
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 850;
  letter-spacing: -0.05em;
}

.executive-report-page .performance-metric small {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.35;
}

.executive-report-page .campaign-performance-overview:not(.traffic-performance-overview) .performance-metric {
  min-height: 185px;
  border-radius: 0;
  border-width: 0 1px 0 0;
  box-shadow: inset 0 -3px 0 rgba(32, 215, 255, 0.75);
}

.executive-report-page .campaign-performance-overview:not(.traffic-performance-overview) .performance-metric:last-child {
  border-right: 0;
}

.executive-report-page .campaign-performance-overview:not(.traffic-performance-overview) .metric-icon-badge {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.top-campaign-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.top-campaign-card:hover {
  transform: translateY(-3px);
  border-color: var(--panel-border-hover);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.34), 0 0 26px rgba(32, 215, 255, 0.12), inset 0 -3px 0 #26e6b0;
}

.top-campaign-card:nth-child(2):hover {
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.34), 0 0 26px rgba(32, 215, 255, 0.12), inset 0 -3px 0 #3dcfff;
}

.top-campaign-card:nth-child(3):hover {
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.34), 0 0 26px rgba(143, 124, 255, 0.12), inset 0 -3px 0 #8f7cff;
}

.top-campaign-card li {
  justify-items: start;
}

.top-campaign-card li b {
  order: 2;
}

.top-campaign-card li small {
  order: 3;
}

.top-campaign-card .stat-icon {
  order: 1;
}

.executive-action-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 18px;
  margin-top: 24px;
}

.feature-campaign-panel,
.followup-queue-panel {
  padding: 24px;
}

.feature-campaign-main,
.queue-title {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.feature-campaign-panel h2,
.followup-queue-panel h2 {
  margin: 6px 0 8px;
  color: var(--text-primary);
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.feature-campaign-panel p {
  margin: 0;
  color: var(--text-secondary);
  font-weight: 750;
}

.feature-campaign-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 22px 0 18px;
  padding: 14px;
  list-style: none;
  border: 1px solid rgba(72, 155, 235, 0.18);
  border-radius: 16px;
  background: rgba(5, 25, 49, 0.48);
}

.feature-campaign-stats li {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-right: 1px solid rgba(180, 201, 234, 0.12);
  text-align: center;
}

.feature-campaign-stats li:last-child {
  border-right: 0;
}

.feature-campaign-stats b {
  color: var(--text-primary);
  font-size: 28px;
  font-weight: 950;
}

.feature-campaign-stats small {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.success-banner {
  padding: 12px 14px;
  border: 1px solid rgba(66, 229, 164, 0.24);
  border-radius: 14px;
  background: rgba(66, 229, 164, 0.14);
  color: #62f2b8;
  font-weight: 950;
}

.followup-rows {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.followup-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(72, 155, 235, 0.18);
  border-radius: 14px;
  background: rgba(5, 25, 49, 0.52);
  transition: transform 160ms ease, border-color 160ms ease;
}

.followup-row:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 213, 255, 0.42);
}

.followup-row i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(32, 215, 255, 0.1);
  color: var(--accent-cyan);
}

.followup-row span {
  color: var(--text-secondary);
  font-weight: 800;
  line-height: 1.3;
}

.followup-row b {
  min-width: 40px;
  padding: 7px 10px;
  border-radius: 999px;
  text-align: center;
  background: rgba(66, 229, 164, 0.15);
  color: var(--accent-green);
  font-weight: 950;
}

.followup-row.is-urgent b {
  background: rgba(255, 194, 71, 0.15);
  color: var(--accent-amber);
}

.executive-period-card svg {
  margin-right: 8px;
  color: var(--accent-green);
}

.backend-executive-page {
  background:
    radial-gradient(circle at 16% 0%, rgba(33, 156, 255, 0.16), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(41, 224, 193, 0.08), transparent 30%),
    linear-gradient(180deg, #041526 0%, #02101f 100%);
}

.backend-executive-page .app-shell {
  max-width: 1540px;
}

.backend-executive-page .topbar {
  position: relative;
  margin-bottom: 26px;
  padding: 24px;
  border: 1px solid rgba(72, 155, 235, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 0%, rgba(32, 215, 255, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(13, 42, 77, 0.74), rgba(4, 18, 36, 0.78));
  box-shadow: var(--shadow-panel), var(--glow-blue);
}

.backend-executive-page .topbar::before {
  content: "";
  width: 58px;
  height: 58px;
  border: 1px solid rgba(32, 215, 255, 0.34);
  border-radius: 18px;
  background:
    radial-gradient(circle, rgba(32, 215, 255, 0.18), rgba(33, 156, 255, 0.05) 64%),
    rgba(5, 25, 49, 0.65);
  box-shadow: 0 0 24px rgba(32, 215, 255, 0.12);
}

.backend-executive-page .topbar .brand-logo.small {
  width: 54px;
  height: 54px;
  border-radius: 18px;
}

.backend-executive-page .topbar h1 {
  color: var(--text-primary);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.backend-executive-page .topbar .brand-row p:not(.eyebrow) {
  color: var(--text-secondary);
  font-size: 17px;
}

.backend-executive-page .workspace-nav {
  border-color: rgba(72, 155, 235, 0.28);
  background:
    radial-gradient(circle at 50% 0%, rgba(32, 215, 255, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(9, 33, 62, 0.98), rgba(2, 10, 22, 0.99));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45), var(--glow-blue);
}

.backend-executive-page .workspace-tab {
  border-radius: 14px;
}

.backend-executive-page .workspace-tab.active {
  border-color: rgba(32, 215, 255, 0.54);
  background: linear-gradient(90deg, rgba(33, 156, 255, 0.58), rgba(41, 224, 193, 0.13));
}

.ava-assistant-panel {
  position: relative;
  overflow: hidden;
}

.ava-assistant-panel::before,
.ava-queue-panel::before {
  content: "";
  position: absolute;
  inset: -80px auto auto -80px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(61, 207, 255, 0.22), transparent 68%);
  pointer-events: none;
}

.ava-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.ava-chat-card,
.ava-draft-panel,
.ava-request-card {
  border: 1px solid rgba(61, 207, 255, 0.24);
  background: linear-gradient(145deg, rgba(10, 34, 61, 0.94), rgba(11, 20, 43, 0.98));
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 40px rgba(0, 0, 0, 0.18);
}

.ava-chat-card {
  padding: 16px;
}

.ava-conversation {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 360px;
  min-height: 220px;
  overflow: auto;
  padding: 4px 4px 12px;
}

.ava-message {
  max-width: 82%;
  padding: 12px 14px;
  border-radius: 16px;
  color: #dbeafe;
  line-height: 1.45;
  font-weight: 750;
  border: 1px solid rgba(148, 202, 255, 0.16);
}

.ava-message--assistant {
  align-self: flex-start;
  background: rgba(18, 49, 87, 0.86);
}

.ava-message--user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(28, 182, 255, 0.88), rgba(78, 91, 248, 0.84));
  color: #fff;
}

.ava-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 8px 0 14px;
}

.ava-suggestions button {
  border: 1px solid rgba(61, 207, 255, 0.28);
  background: rgba(6, 24, 47, 0.82);
  color: #bfe6ff;
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 850;
  cursor: pointer;
}

.ava-suggestions button:hover {
  border-color: rgba(61, 207, 255, 0.64);
  color: #fff;
  box-shadow: 0 0 22px rgba(61, 207, 255, 0.18);
}

.ava-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.ava-form input,
.ava-request-actions select {
  width: 100%;
  border: 1px solid rgba(61, 207, 255, 0.24);
  border-radius: 14px;
  background: rgba(3, 13, 29, 0.9);
  color: #fff;
  padding: 13px 14px;
  font-weight: 800;
}

.ava-form button,
.ava-draft-panel button {
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  min-height: 46px;
  background: linear-gradient(135deg, #2ed8ff, #267be8);
  color: #011224;
  font-weight: 950;
  cursor: pointer;
}

.ava-draft-panel {
  padding: 18px;
}

.ava-draft-panel h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(20px, 2vw, 28px);
}

.ava-draft-panel dl {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.ava-draft-panel dl div {
  border: 1px solid rgba(61, 207, 255, 0.18);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(7, 24, 46, 0.78);
}

.ava-draft-panel dt {
  color: #39d7ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  font-weight: 950;
}

.ava-draft-panel dd {
  margin: 3px 0 0;
  color: #fff;
  font-weight: 850;
}

.ava-request-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ava-request-card {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.ava-request-card span {
  display: block;
  color: #39d7ff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ava-request-card h3 {
  margin: 4px 0 6px;
  color: #fff;
  font-size: 16px;
}

.ava-request-card p {
  color: #a8c7ef;
  margin: 0;
  line-height: 1.4;
}

.ava-request-card small {
  display: block;
  color: #88a8d2;
  margin-top: 10px;
  font-weight: 800;
}

.ava-request-actions {
  display: grid;
  gap: 10px;
  align-content: end;
}

.ava-request-actions .pill {
  justify-self: start;
}

.ava-voice-bubble-shell {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 14px;
  font-family: inherit;
}

.ava-report-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
}

.ava-report-inline-dock .ava-report-widget,
.ava-report-inline-dock elevenlabs-convai {
  display: block;
  width: 100%;
  min-height: 96px;
  overflow: visible;
}

.ava-report-inline-dock {
  display: grid;
  gap: 12px;
  margin: 16px 0 18px;
  padding: 16px;
  border: 1px solid rgba(61, 207, 255, 0.26);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 0%, rgba(61, 207, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(9, 35, 65, 0.95), rgba(8, 18, 41, 0.98));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  overflow: visible;
}

.ava-report-inline-dock h3 {
  margin: 2px 0 3px;
  color: #fff;
  font-size: 20px;
}

.ava-report-inline-dock p:not(.label) {
  margin: 0;
  color: #9fc0eb;
  font-size: 13px;
  line-height: 1.4;
}

.ava-voice-bubble {
  display: grid;
  grid-template-columns: 48px auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(77, 219, 255, 0.7);
  border-radius: 999px;
  padding: 9px 16px 9px 9px;
  background: linear-gradient(135deg, rgba(16, 86, 143, 0.98), rgba(10, 22, 54, 0.98));
  color: #fff;
  font-weight: 950;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.36), 0 0 34px rgba(61, 207, 255, 0.34);
  cursor: pointer;
}

.ava-voice-bubble span {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 42%, #ffffff 0 9%, transparent 10%),
    radial-gradient(circle at 50% 45%, rgba(61, 207, 255, 0.85), rgba(37, 91, 246, 0.92));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.22), 0 0 24px rgba(61, 207, 255, 0.52);
  position: relative;
}

.ava-voice-bubble span::before,
.ava-voice-bubble span::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-top: 0;
  border-radius: 0 0 18px 18px;
}

.ava-voice-bubble span::after {
  inset: auto 21px 9px;
  width: 6px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: #fff;
}

.ava-voice-panel {
  width: min(420px, calc(100vw - 28px));
  border: 1px solid rgba(77, 219, 255, 0.36);
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 0%, rgba(61, 207, 255, 0.18), transparent 36%),
    linear-gradient(155deg, rgba(10, 36, 67, 0.98), rgba(5, 13, 31, 0.99));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.48), 0 0 38px rgba(61, 207, 255, 0.18);
  color: #fff;
}

.ava-voice-panel header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid rgba(77, 219, 255, 0.18);
}

.ava-voice-panel h2 {
  margin: 0;
  color: #fff;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.ava-voice-panel header small {
  color: #9fc0eb;
  font-weight: 850;
}

.ava-voice-panel header button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(77, 219, 255, 0.34);
  border-radius: 12px;
  background: rgba(8, 24, 48, 0.8);
  color: #fff;
  font-weight: 950;
  cursor: pointer;
}

.ava-voice-start {
  width: calc(100% - 36px);
  margin: 18px;
  min-height: 54px;
  border: 0;
  border-radius: 17px;
  background: linear-gradient(135deg, #25d9ff, #2d77ff 58%, #7b61ff);
  color: #fff;
  font-weight: 950;
  box-shadow: 0 16px 32px rgba(32, 134, 255, 0.28);
  cursor: pointer;
}

.ava-bubble-widget-stage {
  margin: 0 18px 18px;
  border: 1px solid rgba(77, 219, 255, 0.22);
  border-radius: 18px;
  background: rgba(2, 11, 27, 0.74);
  padding: 12px;
}

.ava-voice-panel details {
  margin: 0 18px 18px;
  border: 1px solid rgba(77, 219, 255, 0.18);
  border-radius: 18px;
  background: rgba(5, 19, 39, 0.7);
  padding: 12px;
}

.ava-voice-panel summary {
  color: #bfe6ff;
  font-weight: 900;
  cursor: pointer;
}

.ava-voice-panel .ava-conversation {
  max-height: 210px;
  min-height: 120px;
  margin-top: 10px;
}

@media (max-width: 980px) {
  .ava-workspace,
  .ava-request-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .ava-message {
    max-width: 94%;
    text-align: left;
  }

  .ava-form {
    grid-template-columns: 1fr;
  }

  .ava-form button {
    width: 100%;
  }

  .ava-voice-bubble-shell {
    right: 14px;
    bottom: 14px;
  }

  .ava-report-widget,
  .ava-report-widget--inline {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    height: 190px !important;
    min-height: 190px;
    display: block;
    overflow: visible;
  }

  .ava-report-inline-dock {
    padding: 26px 18px 28px;
    gap: 22px;
    justify-items: center;
    text-align: center;
  }

  .ava-report-inline-dock elevenlabs-convai {
    width: min(100%, 360px);
    height: 190px !important;
    min-height: 190px;
    display: block;
    overflow: visible;
  }

  .ava-voice-bubble {
    grid-template-columns: 44px;
    padding: 8px;
  }

  .ava-voice-bubble b {
    display: none;
  }

  .ava-voice-bubble span {
    width: 44px;
    height: 44px;
  }
}

.backend-executive-page .panel,
.backend-executive-page .toolbar,
.backend-executive-page .metric,
.backend-executive-page .chart-card,
.backend-executive-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-card);
  background:
    linear-gradient(145deg, rgba(17, 54, 96, 0.82), rgba(7, 29, 56, 0.93));
  box-shadow: var(--shadow-panel), var(--glow-blue);
}

.backend-executive-page .panel::before,
.backend-executive-page .toolbar::before,
.backend-executive-page .metric::before,
.backend-executive-page .chart-card::before,
.backend-executive-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.035), transparent 35%);
}

.backend-executive-page .panel > *,
.backend-executive-page .toolbar > *,
.backend-executive-page .metric > *,
.backend-executive-page .chart-card > *,
.backend-executive-card > * {
  position: relative;
  z-index: 1;
}

.backend-executive-page .status-grid .panel {
  padding: 28px;
  min-height: 140px;
}

.backend-executive-page .status-grid .panel h2 {
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.05em;
}

.backend-executive-page .toolbar {
  padding: 22px;
  gap: 18px;
}

.backend-executive-page input,
.backend-executive-page select,
.backend-executive-page textarea {
  border-color: rgba(72, 155, 235, 0.42);
  background: rgba(232, 242, 255, 0.94);
}

.backend-executive-page .metric {
  display: grid;
  justify-items: center;
  min-height: 210px;
  padding: 26px;
  text-align: center;
}

.backend-executive-page .metric strong {
  margin: 14px 0 10px;
  color: var(--text-primary);
  font-size: clamp(46px, 5vw, 70px);
  font-weight: 950;
}

.backend-executive-page .metric span,
.backend-executive-page .campaign-summary span {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.backend-executive-page .metric small {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 750;
}

.backend-icon-badge {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  border: 1px solid rgba(32, 215, 255, 0.32);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(32, 215, 255, 0.18), rgba(33, 156, 255, 0.06) 64%, transparent);
  color: var(--accent-cyan);
  box-shadow: inset 0 0 22px rgba(32, 215, 255, 0.08), 0 0 28px rgba(32, 215, 255, 0.12);
}

.backend-icon-badge svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.backend-executive-page .campaign-summary {
  border: 1px solid rgba(72, 155, 235, 0.22);
  border-radius: 18px;
  background: rgba(5, 25, 49, 0.42);
  overflow: hidden;
}

.backend-executive-page .campaign-summary article {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 150px;
  padding: 20px;
  border-right: 1px solid rgba(180, 201, 234, 0.1);
  text-align: center;
  background: transparent;
  box-shadow: inset 0 -3px 0 rgba(32, 215, 255, 0.75);
}

.backend-executive-page .campaign-summary article:last-child {
  border-right: 0;
}

.backend-executive-page .campaign-summary .backend-icon-badge,
.backend-executive-page .chart-card > .backend-icon-badge {
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
}

.backend-executive-page .campaign-summary strong {
  color: var(--text-primary);
  font-size: clamp(30px, 3vw, 44px);
  letter-spacing: -0.04em;
}

.backend-executive-page .section-title h2,
.backend-executive-page .section-title.compact h2 {
  color: var(--text-primary);
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.04em;
}

.backend-executive-page .pill {
  border: 1px solid rgba(66, 229, 164, 0.18);
  background: rgba(66, 229, 164, 0.15);
  color: var(--accent-green);
}

.backend-executive-page .chart-grid {
  gap: 18px;
}

.backend-executive-page .chart-card {
  padding: 22px;
}

.backend-executive-page .chart-title {
  align-items: start;
}

.backend-executive-page .chart-title h3 {
  color: var(--text-primary);
  font-size: 20px;
  letter-spacing: -0.03em;
}

.backend-executive-page .campaign-attribution-list {
  gap: 16px;
}

.backend-executive-page .campaign-attribution-card,
.backend-executive-page .campaign-performance-card,
.backend-executive-page .campaign-history-card,
.backend-executive-page .captured-leads-panel {
  border-radius: 18px;
  border-color: rgba(72, 155, 235, 0.28);
  background:
    radial-gradient(circle at 92% 0%, rgba(32, 215, 255, 0.1), transparent 30%),
    rgba(5, 25, 49, 0.54);
}

.backend-executive-page .campaign-attribution-card:hover,
.backend-executive-page .campaign-performance-card:hover,
.backend-executive-page .campaign-history-card:hover {
  transform: translateY(-2px);
  border-color: var(--panel-border-hover);
}

.backend-executive-page .captured-leads-panel {
  padding: 22px;
}

.gm-report-links-panel {
  margin-top: 18px;
}

.gm-report-link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.gm-report-link-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(72, 155, 235, 0.26);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 0%, rgba(32, 215, 255, 0.12), transparent 34%),
    rgba(5, 25, 49, 0.58);
  box-shadow: inset 0 -3px 0 rgba(32, 215, 255, 0.66);
}

.gm-report-link-card span {
  display: block;
  color: var(--accent-cyan);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gm-report-link-card strong {
  display: block;
  margin-top: 5px;
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.15;
}

.gm-report-link-card small {
  display: block;
  margin-top: 6px;
  color: var(--text-secondary);
  font-weight: 750;
}

.gm-report-link-card a,
.gm-report-link-card b {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.gm-report-link-card a {
  border: 1px solid rgba(66, 229, 164, 0.34);
  background: rgba(66, 229, 164, 0.15);
  color: var(--accent-green);
  box-shadow: 0 0 20px rgba(66, 229, 164, 0.1);
}

.gm-report-link-card a:hover,
.gm-report-link-card a:focus-visible {
  border-color: rgba(66, 229, 164, 0.72);
  background: rgba(66, 229, 164, 0.22);
  transform: translateY(-1px);
}

.gm-report-link-card b {
  border: 1px solid rgba(255, 194, 71, 0.22);
  background: rgba(255, 194, 71, 0.12);
  color: var(--accent-amber);
}

.gm-report-link-card--disabled {
  opacity: 0.72;
  box-shadow: inset 0 -3px 0 rgba(255, 194, 71, 0.42);
}

.gm-report-link-card--selected {
  min-height: 124px;
}

.gm-report-link-card--selected strong {
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.04em;
}

.gm-report-link-card--selected a,
.gm-report-link-card--selected b {
  min-height: 48px;
  padding-inline: 22px;
}

.gm-portal-login-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 12%, rgba(45, 190, 255, .22), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(123, 98, 255, .18), transparent 34%),
    linear-gradient(135deg, #06101f 0%, #0b2340 48%, #071322 100%);
}

.gm-portal-login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.gm-portal-login-card {
  position: relative;
  overflow: hidden;
  width: min(100%, 820px);
  padding: clamp(28px, 5vw, 54px);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(18, 57, 96, .96), rgba(6, 21, 41, .98) 62%, rgba(5, 17, 31, .98)),
    radial-gradient(circle at 24% 14%, rgba(46, 200, 255, .22), transparent 34%);
  border: 1px solid rgba(55, 187, 255, .38);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .44), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.gm-portal-login-glow {
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 16%, rgba(47, 208, 255, .24), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(45, 240, 200, .14), transparent 24%),
    linear-gradient(120deg, rgba(255, 255, 255, .10), transparent 24%, transparent 74%, rgba(42, 124, 228, .12));
  opacity: .9;
}

.gm-portal-login-card > *:not(.gm-portal-login-glow) {
  position: relative;
  z-index: 1;
}

.gm-portal-login-brand {
  display: flex;
  align-items: center;
  gap: clamp(22px, 4vw, 34px);
  margin-bottom: 26px;
}

.gm-portal-logo {
  width: clamp(126px, 18vw, 178px);
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
  filter:
    drop-shadow(0 20px 34px rgba(0, 0, 0, .42))
    drop-shadow(0 0 24px rgba(45, 190, 255, .28));
}

.gm-portal-logo--small {
  width: clamp(82px, 9vw, 118px);
}

.gm-portal-login-brand h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: .95;
  color: #f8fbff;
  letter-spacing: -0.06em;
}

.gm-portal-login-brand p:not(.eyebrow) {
  margin: 10px 0 0;
  color: #b9d7f4;
  font-size: 17px;
  line-height: 1.45;
}

.gm-portal-login-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 26px;
}

.gm-portal-login-proof span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  color: #cbe3ff;
  font-weight: 900;
  background: rgba(5, 19, 36, .68);
  border: 1px solid rgba(68, 178, 255, .24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.gm-portal-login-proof i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #2df0c8;
  box-shadow: 0 0 16px rgba(45, 240, 200, .85);
}

.gm-portal-login-form {
  display: grid;
  gap: 16px;
}

.gm-portal-login-form label {
  display: grid;
  gap: 8px;
  color: #a9c8ef;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

.gm-portal-login-form input {
  width: 100%;
  border: 1px solid rgba(79, 183, 255, .36);
  border-radius: 18px;
  padding: 17px 18px;
  background: rgba(4, 14, 27, .88);
  color: #fff;
  font-size: 16px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.gm-portal-login-form input:focus {
  border-color: #2fc8ff;
  box-shadow: 0 0 0 4px rgba(47, 200, 255, .14);
}

.gm-portal-login-form button,
.gm-portal-topbar button {
  border: 0;
  border-radius: 18px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #31c3f4, #2a7ce4);
  color: #04111f;
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(35, 176, 239, .22);
}

.gm-portal-login-form button:hover,
.gm-portal-topbar button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.gm-portal-login-footer {
  margin: 16px 0 0;
  color: #b7d3ee;
  font-size: 15px;
  letter-spacing: .01em;
}

.gm-portal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 10%, rgba(39, 181, 255, .18), transparent 30%),
    linear-gradient(135deg, #06101f, #0b223d 58%, #071321);
}

.gm-portal-shell {
  width: min(100% - 28px, 1700px);
  margin: 0 auto;
  padding: 22px 0 34px;
}

.gm-portal-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  margin-bottom: 18px;
  border-radius: 26px;
}

.gm-portal-topbar h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.055em;
  color: #fff;
}

.gm-portal-topbar p:not(.eyebrow) {
  margin: 4px 0 0;
  color: #9ebbe3;
}

.gm-portal-frame-card {
  padding: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #071425;
}

.gm-portal-dealer-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px) auto;
  align-items: end;
  gap: 18px;
  padding: 22px 24px;
  margin-bottom: 18px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 10% 18%, rgba(47, 208, 255, .16), transparent 30%),
    linear-gradient(135deg, rgba(17, 54, 92, .96), rgba(7, 24, 45, .98));
  border: 1px solid rgba(46, 190, 255, .34);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .07);
}

.gm-portal-dealer-picker h2 {
  margin: 4px 0 6px;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.045em;
}

.gm-portal-dealer-picker p:not(.eyebrow) {
  margin: 0;
  color: #a9c8ef;
  line-height: 1.45;
}

.gm-portal-dealer-picker label {
  display: grid;
  gap: 8px;
  color: #a9c8ef;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 12px;
}

.gm-portal-dealer-picker select {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(79, 183, 255, .38);
  border-radius: 18px;
  padding: 0 18px;
  color: #fff;
  font-weight: 900;
  background: rgba(5, 17, 32, .82);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.gm-portal-dealer-picker select:focus {
  border-color: #31c3f4;
  box-shadow: 0 0 0 4px rgba(49, 195, 244, .14);
}

.gm-portal-empty-state {
  min-height: 420px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 48px 24px;
  text-align: center;
  color: #c7dcf6;
}

.gm-portal-empty-state h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 4vw, 42px);
}

.gm-portal-empty-state p {
  margin: 0;
}

.gm-portal-frame-card iframe {
  display: block;
  width: 100%;
  height: calc(100vh - 150px);
  min-height: 760px;
  border: 0;
  background: #071425;
}

@media (max-width: 760px) {
  .gm-portal-login-brand,
  .gm-portal-topbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .gm-portal-login-card {
    padding: 28px 22px;
  }

  .gm-portal-logo {
    width: 132px;
  }

  .gm-portal-login-proof {
    grid-template-columns: 1fr;
  }

  .gm-portal-dealer-picker {
    grid-template-columns: 1fr;
    align-items: stretch;
    text-align: center;
  }

  .gm-portal-topbar .top-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .gm-portal-frame-card iframe {
    height: calc(100vh - 220px);
    min-height: 680px;
  }
}

.google-backend-panel {
  margin-top: 18px;
}

.google-connect-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.google-connect-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(69, 173, 255, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(66, 133, 244, 0.16), transparent 34%),
    radial-gradient(circle at 92% 0%, rgba(52, 168, 83, 0.14), transparent 30%),
    rgba(5, 25, 49, 0.58);
  box-shadow: inset 0 -3px 0 rgba(45, 240, 200, 0.5);
}

.google-connect-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(61, 207, 255, 0.42);
  border-radius: 16px;
  color: var(--accent-cyan);
  background: rgba(8, 68, 112, 0.58);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: -0.02em;
  box-shadow: 0 0 22px rgba(61, 207, 255, 0.15);
}

.google-connect-card strong {
  display: block;
  color: var(--text-primary);
  font-size: 18px;
  line-height: 1.15;
}

.google-connect-card small {
  display: block;
  margin-top: 7px;
  color: var(--text-secondary);
  font-weight: 760;
  line-height: 1.45;
}

.google-connect-card > button,
.google-location-map-form {
  grid-column: 1 / -1;
}

.google-location-map-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.google-actions {
  margin-top: 14px;
  justify-content: flex-start;
}

@media (max-width: 700px) {
  .backend-executive-page .topbar {
    display: grid;
    padding: 18px;
  }

  .backend-executive-page .campaign-summary {
    grid-template-columns: 1fr;
  }

  .backend-executive-page .campaign-summary article {
    border-right: 0;
    border-bottom: 1px solid rgba(180, 201, 234, 0.1);
  }

  .gm-report-link-grid {
    grid-template-columns: 1fr;
  }

  .gm-report-link-card {
    grid-template-columns: 1fr;
  }

  .google-connect-grid,
  .google-location-map-form {
    grid-template-columns: 1fr;
  }
}

.executive-report-page .section-title.compact {
  align-items: center;
}

.executive-report-page .section-title.compact h2 {
  font-size: clamp(24px, 2.5vw, 34px);
  letter-spacing: -0.035em;
}

.executive-report-page .label {
  color: #ffd84a;
  letter-spacing: 0.24em;
}

.executive-report-page .pill {
  min-height: 30px;
  background: rgba(36, 211, 122, 0.16);
  color: #38e79d;
  box-shadow: inset 0 0 0 1px rgba(36, 211, 122, 0.14);
}

.executive-report-page .traffic-performance-overview {
  grid-template-columns: repeat(4, minmax(190px, 1fr));
}

.executive-report-page .campaign-performance-overview {
  gap: 1px;
  border-color: rgba(92, 148, 230, 0.32);
  border-radius: 18px;
  background: rgba(74, 131, 220, 0.24);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.24);
}

.executive-report-page .performance-metric {
  min-height: 178px;
  padding: 26px;
  background:
    radial-gradient(circle at 88% 12%, rgba(61, 207, 255, 0.18), transparent 30%),
    linear-gradient(150deg, rgba(22, 39, 76, 0.98), rgba(12, 23, 48, 0.98));
}

.executive-report-page .traffic-performance-overview .performance-metric {
  min-height: 194px;
}

.executive-report-page .direct-referral-highlight {
  overflow: hidden;
}

.executive-report-page .direct-referral-highlight b {
  display: inline-flex;
  width: fit-content;
  margin-top: 2px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15, 30, 61, 0.82);
  color: #b9ccf2;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: -0.01em;
  box-shadow: inset 0 0 0 1px rgba(69, 196, 255, 0.14);
}

.direct-referral-mini {
  display: flex;
  height: 5px;
  margin-top: auto;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(111, 130, 174, 0.22);
}

.direct-referral-mini i,
.direct-referral-mini em {
  display: block;
  min-width: 3px;
  height: 100%;
}

.direct-referral-mini i {
  background: linear-gradient(90deg, #178ee8, #39c9ff);
}

.direct-referral-mini em {
  background: linear-gradient(90deg, #52d23d, #91dc45);
}

.public-visitor-trend-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(63, 177, 255, 0.38);
  background:
    radial-gradient(circle at 12% 18%, rgba(54, 196, 255, 0.16), transparent 24%),
    radial-gradient(circle at 88% 8%, rgba(40, 129, 224, 0.18), transparent 25%),
    linear-gradient(145deg, rgba(13, 42, 76, 0.98), rgba(10, 24, 50, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.visitor-trend-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(101, 159, 229, 0.25);
}

.visitor-trend-head h2 {
  margin: 0;
  font-size: clamp(22px, 2.1vw, 30px);
  letter-spacing: -0.035em;
}

.visitor-trend-head p {
  margin: 4px 0 0;
}

.visitor-trend-head > strong {
  color: #37d2ff;
  font-size: 18px;
  font-weight: 950;
  white-space: nowrap;
}

.public-visitor-trend-chart {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(34px, 1fr);
  gap: clamp(8px, 1vw, 16px);
  align-items: end;
  min-height: 155px;
  padding: 22px 12px 0;
  border-radius: 18px;
  background:
    repeating-linear-gradient(to bottom, rgba(125, 160, 215, 0.12) 0 1px, transparent 1px 42px),
    linear-gradient(180deg, rgba(20, 49, 88, 0.22), rgba(8, 21, 44, 0));
}

.visitor-trend-bar {
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-items: end;
  min-width: 0;
  min-height: 145px;
  text-align: center;
}

.visitor-trend-bar span {
  display: block;
  width: min(42px, 100%);
  min-height: 8px;
  margin: 0 auto 8px;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, #43d9ff 0%, #287be5 100%);
  box-shadow: 0 0 24px rgba(54, 202, 255, 0.26);
}

.visitor-trend-bar b {
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
}

.visitor-trend-bar small {
  color: #a9c3f3;
  font-size: 12px;
  font-weight: 850;
}

.visitor-map-panel {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-color: rgba(61, 199, 255, 0.34);
  background:
    radial-gradient(circle at 20% 12%, rgba(53, 190, 255, 0.18), transparent 26%),
    radial-gradient(circle at 84% 28%, rgba(39, 214, 176, 0.12), transparent 24%),
    linear-gradient(145deg, rgba(13, 45, 82, 0.98), rgba(9, 22, 48, 0.98));
}

.visitor-map-title {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  justify-content: space-between;
}

.visitor-map-title h2 {
  margin: 8px 0 6px;
  max-width: 100%;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.visitor-map-title p:not(.label) {
  margin: 0;
  color: #8fa7d4;
  font-size: 14px;
  line-height: 1.45;
}

.visitor-map-title > strong {
  flex: 0 0 auto;
  max-width: 130px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(24, 211, 143, 0.15);
  color: #43f1b5;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(67, 241, 181, 0.18);
}

.visitor-map-canvas {
  position: relative;
  min-height: 260px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(89, 151, 230, 0.28);
  border-radius: 22px;
  background:
    radial-gradient(circle at 72% 18%, rgba(29, 143, 222, 0.32), transparent 22%),
    linear-gradient(90deg, rgba(15, 98, 148, 0.24), rgba(20, 154, 184, 0.18)),
    linear-gradient(160deg, rgba(13, 40, 73, 0.98), rgba(8, 22, 45, 0.98));
}

.visitor-map-canvas::before {
  content: "";
  position: absolute;
  inset: 15% 18% 11% 21%;
  opacity: 0.42;
  background: linear-gradient(150deg, rgba(83, 225, 168, 0.34), rgba(55, 168, 230, 0.2));
  clip-path: polygon(41% 0, 56% 8%, 66% 22%, 72% 40%, 86% 58%, 78% 66%, 87% 82%, 78% 100%, 62% 85%, 54% 62%, 42% 50%, 31% 31%, 17% 23%, 19% 9%);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.28));
}

.visitor-map-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(103, 157, 221, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 157, 221, 0.09) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}

.visitor-map-state {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.08);
  font-size: 92px;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.visitor-map-gridline {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(65, 210, 255, 0.32), transparent);
}

.visitor-map-gridline--one {
  left: 8%;
  right: 8%;
  top: 39%;
  height: 1px;
}

.visitor-map-gridline--two {
  top: 8%;
  bottom: 8%;
  left: 58%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(65, 210, 255, 0.28), transparent);
}

.visitor-map-pin {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: var(--pin-size);
  height: var(--pin-size);
  padding: 0;
  border: 0;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 28%, #ffffff 0 7%, #41d4ff 8% 38%, #1d66ff 70%);
  color: #ffffff;
  cursor: default;
  box-shadow: 0 0 0 7px rgba(39, 148, 255, 0.13), 0 14px 36px rgba(0, 0, 0, 0.34), 0 0 34px rgba(66, 212, 255, 0.34);
}

.visitor-map-pin svg {
  position: absolute;
  inset: 15%;
  width: 70%;
  height: 70%;
  fill: none;
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 1.8;
}

.visitor-map-pin b {
  position: relative;
  z-index: 2;
  font-size: 13px;
  font-weight: 950;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.visitor-map-legend {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.visitor-map-legend span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(69, 156, 226, 0.22);
  border-radius: 14px;
  background: rgba(7, 22, 47, 0.48);
  color: #b9cff6;
  font-size: 12px;
  font-weight: 850;
}

.visitor-map-legend span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visitor-map-legend i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #39d8ff;
  box-shadow: 0 0 16px rgba(57, 216, 255, 0.65);
}

.visitor-map-legend b {
  margin-left: auto;
  color: #ffffff;
}

.visitor-real-map-panel {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  box-sizing: border-box;
  padding: 26px;
  border-color: rgba(61, 199, 255, 0.34);
  background:
    radial-gradient(circle at 18% 10%, rgba(53, 190, 255, 0.18), transparent 26%),
    linear-gradient(145deg, rgba(13, 45, 82, 0.98), rgba(9, 22, 48, 0.98));
}

.visitor-real-map-panel .visitor-map-title .label {
  display: block;
  margin: 0 0 8px;
  line-height: 1.25;
}

.visitor-location-real-map {
  height: 330px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(89, 151, 230, 0.34);
  border-radius: 22px;
  background: #173456;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 46px rgba(0, 0, 0, 0.24);
}

.visitor-location-real-map .leaflet-tile-pane {
  filter: saturate(0.88) contrast(1.03) brightness(0.9);
}

.visitor-location-real-map .leaflet-control-zoom {
  overflow: hidden;
  border: 1px solid rgba(38, 161, 236, 0.45);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
}

.visitor-location-real-map .leaflet-control-zoom a {
  background: rgba(9, 25, 51, 0.9);
  color: #d9efff;
  border-color: rgba(89, 151, 230, 0.24);
}

.visitor-real-map-marker {
  display: grid;
  place-items: center;
}

.real-map-pin {
  display: grid;
  place-items: center;
  border: 3px solid rgba(198, 233, 255, 0.88);
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 26%, #75dcff 0 8%, #1168df 9% 38%, #062b89 76%);
  color: #ffffff;
  box-shadow: 0 0 0 8px rgba(5, 45, 130, 0.24), 0 14px 30px rgba(0, 0, 0, 0.42), inset 0 -10px 18px rgba(0, 8, 42, 0.28);
}

.real-map-pin b {
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.78), 0 0 2px rgba(0, 0, 0, 0.9);
}

.visitor-location-real-map .leaflet-popup-content-wrapper,
.visitor-location-real-map .leaflet-popup-tip {
  background: #0b1d3c;
  color: #d8e9ff;
  border: 1px solid rgba(61, 199, 255, 0.32);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
}

.visitor-location-real-map .leaflet-popup-content {
  margin: 12px 14px;
  font-family: inherit;
  font-weight: 800;
}

.marketplace-activity-panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
  margin-top: 24px;
  border: 1px solid rgba(49, 190, 255, 0.34);
  background:
    radial-gradient(circle at 12% 0%, rgba(45, 198, 255, 0.18), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(51, 226, 181, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(15, 55, 92, 0.96), rgba(13, 29, 64, 0.98));
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255,255,255,0.035);
}

.marketplace-activity-panel::after {
  content: "";
  position: absolute;
  inset: auto -12% -42% 38%;
  height: 220px;
  background: radial-gradient(circle, rgba(48, 211, 255, 0.16), transparent 62%);
  pointer-events: none;
}

.marketplace-activity-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 20px;
}

.marketplace-activity-head h2 {
  margin: 4px 0 6px;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.05em;
}

.marketplace-activity-head p:not(.label) {
  margin: 0;
  max-width: 820px;
  color: #a9c9f8;
  font-size: 15px;
}

.marketplace-account-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 206, 76, 0.35);
  background: rgba(255, 206, 76, 0.12);
  color: #ffd85c;
  font-weight: 900;
  white-space: nowrap;
}

.marketplace-account-pill i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
}

.marketplace-account-pill.is-linked {
  border-color: rgba(39, 227, 169, 0.35);
  background: rgba(39, 227, 169, 0.13);
  color: #28f3bb;
}

.marketplace-metric-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.marketplace-metric-grid--gm {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.marketplace-metric {
  min-height: 154px;
  padding: 16px;
  border: 1px solid rgba(69, 173, 255, 0.24);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(8, 28, 59, 0.92), rgba(14, 48, 88, 0.82));
  box-shadow: inset 0 -3px 0 rgba(46, 211, 255, 0.7);
}

.marketplace-metric-grid--gm .marketplace-metric {
  min-height: 170px;
  padding: 20px;
}

.marketplace-metric i,
.marketplace-alert-row i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 14px;
  color: #31d7ff;
  background: rgba(49, 215, 255, 0.1);
  border: 1px solid rgba(49, 215, 255, 0.32);
}

.marketplace-metric svg,
.marketplace-alert-row svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.marketplace-metric span {
  display: block;
  color: #a8c7f5;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marketplace-metric strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.marketplace-metric small {
  display: block;
  margin-top: 10px;
  color: #8fb0e5;
  font-weight: 800;
  line-height: 1.25;
}

.marketplace-posted-preview {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(69, 173, 255, 0.24);
  border-radius: 18px;
  background: rgba(3, 17, 38, 0.42);
}

.marketplace-posted-preview h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.marketplace-posted-preview p {
  margin: 4px 0 0;
  color: #91b4e8;
  font-weight: 800;
}

.marketplace-posted-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.marketplace-posted-preview-head b {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid rgba(39, 227, 169, 0.32);
  border-radius: 999px;
  background: rgba(39, 227, 169, 0.12);
  color: #2df5bd;
  font-size: 12px;
  font-weight: 1000;
}

.marketplace-posted-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.marketplace-posted-vehicle {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(69, 173, 255, 0.18);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(9, 30, 60, 0.9), rgba(12, 47, 86, 0.68));
}

.marketplace-posted-vehicle--premium {
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
  min-height: 96px;
  padding: 11px;
  border-color: rgba(69, 173, 255, 0.3);
  background:
    radial-gradient(circle at 18% 0%, rgba(45, 240, 200, 0.16), transparent 38%),
    linear-gradient(145deg, rgba(10, 34, 67, 0.96), rgba(15, 55, 96, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.marketplace-posted-photo {
  position: relative;
  width: 92px;
  height: 68px;
  align-self: center;
}

.marketplace-posted-photo img,
.marketplace-posted-photo .marketplace-posted-vehicle-placeholder {
  width: 92px;
  height: 68px;
  border-radius: 14px;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.24);
}

.marketplace-posted-photo span {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 3px 7px;
  border: 1px solid rgba(45, 245, 189, 0.42);
  border-radius: 999px;
  background: rgba(4, 40, 42, 0.86);
  color: #2df5bd;
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.marketplace-posted-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.marketplace-posted-info > small {
  margin-top: 4px;
  color: #9ebcff;
}

.marketplace-posted-info div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.marketplace-posted-info b,
.marketplace-posted-info em {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  border-radius: 999px;
  line-height: 1;
}

.marketplace-posted-info b {
  padding: 5px 8px;
  background: rgba(45, 240, 200, 0.12);
  color: #2df0c8;
  font-size: 11px;
  font-weight: 1000;
}

.marketplace-posted-info em {
  padding: 5px 0;
  color: #91b5eb;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.marketplace-posted-vehicle img,
.marketplace-posted-vehicle-placeholder {
  width: 58px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(49, 215, 255, 0.1);
  border: 1px solid rgba(49, 215, 255, 0.25);
}

.marketplace-posted-photo img,
.marketplace-posted-photo .marketplace-posted-vehicle-placeholder {
  width: 92px;
  height: 68px;
  border-radius: 14px;
}

.marketplace-posted-vehicle-placeholder {
  display: grid;
  place-items: center;
  color: #31d7ff;
}

.marketplace-posted-vehicle-placeholder svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.marketplace-posted-vehicle strong {
  display: block;
  color: #fff;
  font-size: 12px;
  font-weight: 1000;
  line-height: 1.1;
}

.marketplace-posted-vehicle small {
  display: block;
  margin-top: 4px;
  color: #88ade4;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
}

.marketplace-posted-vehicle[hidden] {
  display: none !important;
}

.marketplace-posted-pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.marketplace-posted-pager span {
  min-width: 96px;
  text-align: center;
  color: #9fbbeb;
  font-size: 12px;
  font-weight: 900;
}

.marketplace-posted-pager button {
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid rgba(69, 173, 255, 0.35);
  border-radius: 999px;
  background: rgba(9, 37, 70, 0.72);
  color: #d9e8ff;
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
}

.marketplace-posted-pager button:not(:disabled):hover,
.marketplace-posted-pager button:not(:disabled):focus-visible {
  border-color: rgba(45, 240, 200, 0.62);
  color: #2df0c8;
}

.marketplace-posted-pager button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.marketplace-posted-preview--empty {
  border-style: dashed;
  background: rgba(6, 22, 48, 0.32);
}

.google-business-profile-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(69, 173, 255, 0.28);
  background:
    radial-gradient(circle at 12% 0%, rgba(66, 133, 244, 0.22), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(52, 168, 83, 0.18), transparent 32%),
    linear-gradient(145deg, rgba(9, 34, 69, 0.96), rgba(11, 26, 57, 0.96));
}

.gbp-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.gbp-head h2 {
  margin: 4px 0 6px;
  color: #fff;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.05em;
}

.gbp-head p:not(.label) {
  margin: 0;
  color: #9db9e9;
  font-weight: 800;
}

.gbp-metric-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gbp-metric {
  min-height: 145px;
  padding: 16px;
  border: 1px solid rgba(69, 173, 255, 0.22);
  border-radius: 18px;
  background: rgba(4, 19, 43, 0.52);
  box-shadow: inset 0 -3px 0 rgba(66, 133, 244, 0.82);
}

.gbp-metric i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 15px;
  color: #34a853;
  background: rgba(52, 168, 83, 0.12);
  border: 1px solid rgba(52, 168, 83, 0.3);
}

.gbp-metric svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gbp-metric span {
  display: block;
  color: #a8c7f5;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gbp-metric strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.gbp-metric small {
  display: block;
  margin-top: 10px;
  color: #8fb0e5;
  font-weight: 850;
}

.gbp-connect-card,
.gbp-loading {
  position: relative;
  z-index: 1;
  padding: 18px;
  border: 1px dashed rgba(69, 173, 255, 0.32);
  border-radius: 18px;
  background: rgba(3, 17, 38, 0.42);
  color: #b9cef1;
  font-weight: 850;
}

.gbp-connect-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 20px;
}

.gbp-connect-card p {
  margin: 0 0 12px;
  color: #9db9e9;
}

.gbp-connect-card ul {
  margin: 0;
  padding-left: 18px;
  color: #ffd24d;
}

.marketplace-metric--good {
  box-shadow: inset 0 -3px 0 rgba(39, 227, 169, 0.82);
}

.marketplace-metric--good i {
  color: #27e3a9;
  background: rgba(39, 227, 169, 0.12);
  border-color: rgba(39, 227, 169, 0.35);
}

.marketplace-metric--warn {
  box-shadow: inset 0 -3px 0 rgba(255, 210, 77, 0.85);
}

.marketplace-metric--warn i {
  color: #ffd24d;
  background: rgba(255, 210, 77, 0.12);
  border-color: rgba(255, 210, 77, 0.34);
}

.marketplace-metric--hot {
  box-shadow: inset 0 -3px 0 rgba(255, 83, 131, 0.86);
}

.marketplace-metric--hot i {
  color: #ff5383;
  background: rgba(255, 83, 131, 0.12);
  border-color: rgba(255, 83, 131, 0.34);
}

.marketplace-activity-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  margin-top: 14px;
}

.marketplace-activity-split article {
  padding: 18px;
  border: 1px solid rgba(69, 173, 255, 0.22);
  border-radius: 18px;
  background: rgba(4, 18, 42, 0.46);
}

.marketplace-activity-split h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.marketplace-alert-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(124, 177, 240, 0.13);
  color: #c6dcff;
  font-weight: 850;
}

.marketplace-alert-row:first-of-type {
  border-top: 0;
}

.marketplace-alert-row i {
  width: 34px;
  height: 34px;
  margin-bottom: 0;
}

.marketplace-alert-row b {
  color: #fff;
  font-size: 20px;
}

.marketplace-alert-row--good i {
  color: #27e3a9;
  background: rgba(39, 227, 169, 0.12);
  border-color: rgba(39, 227, 169, 0.35);
}

.marketplace-alert-row--warn i {
  color: #ffd24d;
  background: rgba(255, 210, 77, 0.12);
  border-color: rgba(255, 210, 77, 0.34);
}

.marketplace-alert-row--hot i {
  color: #ff5383;
  background: rgba(255, 83, 131, 0.12);
  border-color: rgba(255, 83, 131, 0.34);
}

.marketplace-activity-split dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.marketplace-activity-split dl div {
  padding: 12px;
  border-radius: 14px;
  background: rgba(10, 34, 70, 0.66);
  border: 1px solid rgba(124, 177, 240, 0.12);
}

.marketplace-activity-split dt {
  color: #90afe4;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marketplace-activity-split dd {
  margin: 5px 0 0;
  color: #fff;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .marketplace-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .marketplace-posted-vehicle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .marketplace-activity-panel {
    padding: 20px 14px;
  }

  .marketplace-activity-head,
  .marketplace-activity-split {
    grid-template-columns: 1fr;
  }

  .marketplace-account-pill {
    justify-self: start;
  }

  .marketplace-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketplace-metric-grid--gm {
    grid-template-columns: 1fr;
  }

  .marketplace-metric {
    min-height: 132px;
    padding: 14px;
  }

  .marketplace-posted-preview-head {
    display: grid;
    align-items: start;
  }

  .marketplace-posted-vehicle-grid {
    grid-template-columns: 1fr;
  }

  .gbp-head {
    display: grid;
  }

  .gbp-metric-grid {
    grid-template-columns: 1fr;
  }
}

.executive-report-page .performance-metric span {
  color: #9eb4dc;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.executive-report-page .performance-metric strong {
  margin: 26px 0 20px;
  font-size: clamp(42px, 4vw, 58px);
}

.executive-report-page .performance-metric small {
  color: #8198c3;
  font-size: 14px;
  line-height: 1.35;
}

.executive-report-page .destination-icon {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 15px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.03em;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
}

.destination-icon--landing {
  background: linear-gradient(135deg, #526dff, #31d1ff);
}

.destination-icon--facebook {
  background: #1877f2;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 900;
}

.destination-icon--instagram {
  background:
    radial-gradient(circle at 30% 105%, #fdf497 0 16%, #fd5949 34%, #d6249f 58%, #285aeb 100%);
  font-size: 13px;
}

.destination-icon--calls {
  background: linear-gradient(135deg, #24d37a, #13bfa4);
}

.destination-icon--shares {
  background: linear-gradient(135deg, #ecb940, #7d6bff);
}

.destination-icon--ava {
  background: linear-gradient(135deg, #42d9ff, #7c55ff);
}

.destination-icon--google {
  background: #ffffff;
  color: #4285f4;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  text-shadow:
    0.08em 0 #34a853,
    -0.08em 0 #ea4335,
    0 0.08em #fbbc05;
}

.destination-icon--website {
  background: linear-gradient(135deg, #123f67, #3dcfff);
}

.executive-report-page .performance-metric b {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(61, 207, 255, 0.12);
  color: #2ee6d2;
  font-size: 14px;
  box-shadow: inset 0 0 0 1px rgba(61, 207, 255, 0.12);
}

.executive-report-page .performance-metric--cursor b {
  background: rgba(236, 185, 64, 0.14);
  color: #ffd45f;
}

.executive-report-page .content-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.executive-report-page .content-grid .panel {
  min-height: 360px;
  padding: 28px;
  border-color: rgba(91, 136, 214, 0.28);
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 4%, rgba(61, 207, 255, 0.1), transparent 28%),
    linear-gradient(155deg, rgba(18, 32, 62, 0.92), rgba(8, 16, 33, 0.96));
}

.executive-report-page .hbar-chart {
  margin-top: 24px;
}

.executive-report-page .hbar-row {
  grid-template-columns: minmax(130px, 0.7fr) minmax(180px, 1fr) minmax(52px, auto);
  gap: 14px;
  padding: 12px 0;
}

.executive-report-page .hbar-row span {
  color: #d8e6ff;
  font-weight: 850;
}

.executive-report-page .hbar-row div {
  height: 11px;
  background: rgba(116, 157, 220, 0.16);
}

.executive-report-page .hbar-row i {
  background: linear-gradient(90deg, #24d37a, #3dcfff, #6c67ff);
  box-shadow: 0 0 18px rgba(61, 207, 255, 0.2);
}

.executive-report-page .destination-breakdown-grid,
.destination-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 10px;
}

.destination-breakdown-card {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 66px;
  padding: 12px 14px;
  border: 1px solid rgba(78, 154, 236, 0.28);
  border-radius: 10px;
  background: rgba(7, 18, 35, 0.72);
  color: var(--text);
  text-align: left;
  cursor: default;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

button.destination-breakdown-card {
  font: inherit;
}

.destination-breakdown-card .destination-icon {
  position: static;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 13px;
}

.destination-breakdown-card span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.destination-breakdown-card strong,
.destination-breakdown-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.destination-breakdown-card span strong {
  color: #f5f8ff;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.1;
}

.destination-breakdown-card small {
  color: #9db4db;
  font-size: 11px;
  font-weight: 900;
}

.destination-breakdown-card > b {
  color: var(--cyan);
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
}

.destination-breakdown-card.public-phone-activity {
  cursor: pointer;
  outline: 0;
  border-color: rgba(61, 207, 255, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(61, 207, 255, 0.14),
    0 0 16px rgba(61, 207, 255, 0.12);
}

.destination-breakdown-card.public-phone-activity::before,
.destination-breakdown-card.public-phone-activity::after {
  display: none;
}

.destination-breakdown-card.public-phone-activity small {
  color: #a9f8c7;
  text-decoration: none;
}

.destination-breakdown-card.public-phone-activity:hover,
.destination-breakdown-card.public-phone-activity:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(36, 211, 122, 0.62);
  background: rgba(10, 29, 48, 0.88);
  box-shadow:
    inset 0 0 0 1px rgba(36, 211, 122, 0.22),
    0 0 22px rgba(61, 207, 255, 0.18);
}

.destination-breakdown-card.public-phone-activity:focus-visible {
  outline: 3px solid rgba(36, 211, 122, 0.44);
  outline-offset: 3px;
}

.public-visitor-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
}

.public-source-filter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px 9px 14px;
  border: 1px solid rgba(61, 207, 255, 0.35);
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 0%, rgba(61, 207, 255, 0.18), transparent 45%),
    rgba(5, 22, 38, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 12px 30px rgba(0, 0, 0, 0.18);
}

.public-source-filter span {
  color: #8eb7ef;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.public-source-filter select {
  min-width: 210px;
  border: 0;
  border-radius: 999px;
  padding: 9px 34px 9px 13px;
  color: #ecf6ff;
  background: rgba(15, 51, 84, 0.92);
  font-weight: 900;
  outline: none;
}

.public-source-filter select:focus {
  box-shadow: 0 0 0 3px rgba(61, 207, 255, 0.22);
}

.public-report-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.public-report-pagination span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.public-report-pagination button {
  min-width: 92px;
}

@media (max-width: 900px) {
  .crm-steps { flex-wrap: wrap; }
  .crm-steps span + span::before { display: none; }
  .executive-report-page .gm-report-shell { width: min(100% - 28px, 1520px); }
  .executive-report-topbar { display: grid; }
  .executive-period-card { width: 100%; margin-left: 0; text-align: left; }
  .gm-report-hero { display: flex; align-items: start; flex-direction: column; }
  .gm-report-hero label { width: 100%; }
  .gm-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .executive-report-page .traffic-performance-overview,
  .executive-report-page .campaign-performance-overview,
  .executive-report-page .content-grid {
    grid-template-columns: 1fr;
  }
  .value-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .top-campaigns-grid {
    grid-template-columns: 1fr;
  }
  .executive-action-grid {
    grid-template-columns: 1fr;
  }
  .public-visitor-controls {
    justify-content: stretch;
  }
  .public-source-filter {
    width: 100%;
    align-items: stretch;
    border-radius: 20px;
    flex-direction: column;
    gap: 8px;
  }
  .public-source-filter select {
    width: 100%;
    min-width: 0;
  }
  .feature-campaign-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature-campaign-stats li:nth-child(2) {
    border-right: 0;
  }
  .value-proof-split {
    grid-template-columns: 1fr;
  }
  .value-proof-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .executive-report-page .destination-breakdown-grid,
  .destination-breakdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .executive-report-page .topbar h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .executive-report-page .gm-report-shell {
    width: min(100% - 22px, 1520px);
  }

  .executive-report-page .topbar,
  .executive-report-page .brand-row,
  .executive-report-page .gm-report-hero,
  .executive-report-page .section-title.compact,
  .executive-report-page .visitor-trend-head,
  .executive-report-page .visitor-map-title {
    text-align: center;
    justify-items: center;
  }

  .executive-report-page .brand-row {
    gap: 14px;
  }

  .executive-report-page .executive-dealer-logo,
  .executive-report-page .executive-report-mark,
  .executive-report-page .brand-logo,
  .executive-report-page .metric-icon-badge,
  .top-campaign-rank {
    margin-inline: auto;
  }

  .executive-period-card {
    text-align: center;
  }

  .executive-period-card small,
  .visitor-map-title > strong,
  .visitor-trend-head > strong,
  .executive-report-page .pill {
    justify-self: center;
    margin-inline: auto;
  }

  .executive-report-page .gm-report-hero h2,
  .executive-report-page .section-title.compact h2,
  .visitor-map-title h2,
  .visitor-trend-head h2,
  .top-campaign-card h3,
  .top-campaign-card p {
    text-align: center;
    text-wrap: balance;
  }

  .executive-report-page .label {
    text-align: center;
  }

  .executive-report-page .campaign-performance-overview,
  .executive-report-page .traffic-performance-overview {
    gap: 10px;
    border-radius: 22px;
    background: rgba(19, 55, 97, 0.58);
  }

  .executive-report-page .performance-metric {
    min-height: 224px;
    padding: 22px 18px;
    border-radius: 18px;
    justify-items: center;
    text-align: center;
  }

  .executive-report-page .campaign-performance-overview:not(.traffic-performance-overview) .performance-metric {
    min-height: 214px;
  }

  .executive-report-page .performance-metric strong {
    margin: 16px 0 12px;
    font-size: clamp(40px, 15vw, 58px);
    text-align: center;
  }

  .executive-report-page .performance-metric span,
  .executive-report-page .performance-metric small,
  .executive-report-page .performance-metric b {
    text-align: center;
  }

  .direct-referral-mini {
    width: min(220px, 100%);
  }

  .value-proof-grid,
  .value-proof-stats,
  .executive-report-page .destination-breakdown-grid,
  .destination-breakdown-grid {
    grid-template-columns: 1fr;
  }

  .value-proof-card {
    min-height: 150px;
  }

  .feature-campaign-main,
  .queue-title {
    display: grid;
  }

  .executive-report-page .content-grid .panel,
  .executive-report-page .section-title.compact,
  .executive-report-page .hbar-chart,
  .executive-report-page .hbar-row {
    width: 100%;
    min-width: 0;
  }

  .executive-report-page .hbar-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .executive-report-page .hbar-row div {
    grid-column: 1 / -1;
    order: 3;
  }

  .executive-report-page .hbar-row strong {
    justify-self: end;
  }

  .feature-campaign-stats,
  .top-campaign-card ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-campaign-card {
    min-height: auto;
    padding: 22px 18px;
    text-align: center;
    justify-items: center;
  }

  .top-campaign-card li {
    justify-items: center;
    text-align: center;
  }

  .feature-campaign-panel,
  .feature-campaign-main {
    text-align: center;
    justify-items: center;
  }

  .visitor-real-map-panel {
    min-height: auto;
    padding: 20px 12px 14px;
  }

  .visitor-map-title {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .visitor-real-map-panel .visitor-map-title .label {
    font-size: 10px;
    letter-spacing: 0.22em;
    line-height: 1.35;
  }

  .visitor-location-real-map {
    height: 270px;
    margin-top: 16px;
  }

  .visitor-map-legend span {
    min-height: 42px;
    text-align: left;
  }

  .destination-breakdown-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
    text-align: left;
  }

  .followup-row {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .followup-row b {
    grid-column: 2;
    width: fit-content;
  }
}

.ai-reasoning {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(236, 185, 64, 0.28);
  border-radius: 14px;
  background:
    radial-gradient(circle at 8% 0%, rgba(236, 185, 64, 0.18), transparent 35%),
    rgba(5, 10, 19, 0.48);
  color: var(--muted);
  padding: 16px;
  line-height: 1.45;
}

.ai-reasoning strong {
  color: var(--gold);
  font-size: 16px;
}

.ai-reasoning span,
.ai-reasoning small {
  display: block;
}

.goal-playbook-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.goal-playbook-grid section {
  padding: 12px;
  border: 1px solid rgba(236, 185, 64, 0.18);
  border-radius: 10px;
  background: rgba(12, 25, 43, 0.44);
}

.goal-playbook-grid b { color: var(--gold); font-size: 12px; }
.goal-playbook-grid p, .goal-playbook-grid ol { margin: 7px 0 0; color: var(--text); font-size: 13px; line-height: 1.45; }
.goal-playbook-grid ol { padding-left: 18px; }

.sequence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.sequence-card {
  display: grid;
  gap: 6px;
  min-height: 148px;
  padding: 12px;
  border: 1px solid rgba(61, 207, 255, 0.22);
  border-radius: 14px;
  background:
    radial-gradient(circle at 10% 0%, rgba(61, 207, 255, 0.13), transparent 36%),
    rgba(13, 22, 38, 0.72);
}

.sequence-card span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(61, 207, 255, 0.12);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sequence-card strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
}

.sequence-card small {
  color: #b8c6dc;
}

.sequence-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.campaign-sequence-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(78, 154, 236, 0.14);
}

.sequence-chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(154, 168, 191, 0.2);
  background: rgba(154, 168, 191, 0.1);
  color: #c9dcfa;
  font-size: 12px;
  font-weight: 900;
}

.sequence-chip--drafted {
  border-color: rgba(36, 211, 122, 0.32);
  background: rgba(36, 211, 122, 0.13);
  color: #64f0a2;
}

.sequence-chip--pending {
  border-color: rgba(61, 207, 255, 0.32);
  background: rgba(61, 207, 255, 0.12);
  color: var(--cyan);
}

.sequence-chip--suppressed {
  border-color: rgba(255, 100, 124, 0.32);
  background: rgba(255, 100, 124, 0.12);
  color: #ff9aad;
}

.campaign-history {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(78, 154, 236, 0.18);
}

.section-title.compact h3 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
}

.campaign-history-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.campaign-data-health {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.campaign-data-health-card {
  padding: 16px;
  border: 1px solid rgba(78, 154, 236, 0.24);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(24, 47, 78, 0.88), rgba(21, 28, 47, 0.94));
}

.campaign-data-health-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.campaign-data-health-card header span,
.campaign-data-health-card p,
.campaign-data-health-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.campaign-data-health-card strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: 18px;
}

.campaign-data-health-card p {
  margin: 16px 0 5px;
}

.campaign-attribution-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.campaign-attribution-card {
  display: grid;
  align-content: space-between;
  min-height: 178px;
  padding: 13px;
  border: 1px solid rgba(78, 154, 236, 0.24);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(20, 43, 72, 0.9), rgba(20, 26, 44, 0.96));
}

.campaign-attribution-card header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: flex-start;
  gap: 9px;
}

.campaign-attribution-card header > div > span,
.campaign-attribution-card small,
.campaign-attribution-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.campaign-attribution-card header > div > strong {
  display: block;
  margin: 4px 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.18;
}

.campaign-attribution-card .campaign-health {
  justify-self: start;
  font-size: 11px;
  white-space: nowrap;
}

.campaign-attribution-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.campaign-attribution-metrics div {
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(111, 159, 213, 0.17);
  border-radius: 10px;
  background: rgba(6, 16, 31, 0.34);
}

.attribution-call-button {
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(61, 207, 255, 0.36);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(24, 110, 174, 0.34), rgba(21, 54, 95, 0.52));
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.attribution-call-button:hover,
.attribution-call-button:focus-visible {
  border-color: var(--cyan);
  background: linear-gradient(135deg, rgba(27, 150, 222, 0.42), rgba(30, 84, 144, 0.64));
  transform: translateY(-1px);
}

.attribution-call-button small {
  display: block;
  margin-top: 3px;
  color: var(--cyan);
}

.call-activity-modal {
  width: min(980px, calc(100vw - 32px));
}

.call-activity-list {
  display: grid;
  gap: 10px;
}

.call-activity-header-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(150px, 0.75fr) minmax(170px, 0.8fr);
  gap: 16px;
  padding: 0 14px 0 70px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.call-activity-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1.05fr) minmax(0, 1fr) minmax(150px, 0.75fr) minmax(170px, 0.8fr);
  align-items: center;
  gap: 16px;
  padding: 13px;
  border: 1px solid rgba(78, 154, 236, 0.22);
  border-radius: 14px;
  background: rgba(7, 19, 35, 0.54);
}

.call-activity-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(61, 207, 255, 0.16);
  border: 1px solid rgba(61, 207, 255, 0.34);
  color: var(--cyan);
  font-weight: 900;
}

.call-activity-list strong,
.call-activity-list span,
.call-activity-number,
.call-activity-time,
.call-activity-meta {
  display: block;
}

.call-activity-list span,
.call-activity-time small,
.call-activity-meta small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.call-activity-prospect span {
  color: rgba(157, 180, 219, 0.82);
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.call-activity-campaign span {
  margin-top: 0;
  line-height: 1.25;
}

.call-activity-meta {
  text-align: right;
  display: grid;
  gap: 6px;
  justify-items: end;
}

.call-activity-number,
.call-activity-time {
  min-width: 0;
}

.call-activity-meta a {
  color: var(--cyan);
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.call-activity-number a {
  color: var(--cyan);
  display: inline-block;
  font-weight: 950;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.call-activity-number a:hover,
.call-activity-number a:focus-visible {
  text-decoration: underline;
}

.call-activity-time {
  text-align: right;
}

.call-activity-meta small {
  line-height: 1.25;
  white-space: nowrap;
}

.campaign-attribution-metrics strong {
  display: block;
  margin-top: 5px;
  color: var(--cyan);
  font-size: 18px;
}

.campaign-performance-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(78, 154, 236, 0.24);
  border-radius: 18px;
  background: rgba(78, 154, 236, 0.22);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.report-date-controls {
  display: grid;
  grid-template-columns: minmax(150px, .9fr) minmax(150px, .9fr) minmax(190px, auto);
  align-items: end;
  gap: 12px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(94, 179, 255, 0.32);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 0%, rgba(61, 207, 255, 0.16), transparent 36%),
    rgba(5, 20, 37, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.executive-report-page .report-control-panel {
  display: grid;
  grid-template-columns: minmax(170px, 0.9fr) minmax(0, 2fr);
  align-items: end;
  gap: 14px;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(94, 179, 255, 0.32);
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 0%, rgba(61, 207, 255, 0.18), transparent 38%),
    linear-gradient(135deg, rgba(10, 38, 70, 0.78), rgba(5, 18, 36, 0.52));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 40px rgba(0, 0, 0, 0.18);
}

.executive-report-page .report-control-panel > label {
  min-width: 0;
  color: #c9dcfa;
  font-size: 12px;
  font-weight: 900;
}

.executive-report-page .report-control-panel > label select {
  min-height: 46px;
}

.executive-report-page .report-control-panel .report-date-controls {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.report-date-controls label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.report-date-controls input {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  min-width: 0;
  padding: 8px 10px;
  color-scheme: light;
  border-color: rgba(113, 191, 255, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.report-date-controls input:focus {
  border-color: var(--cyan);
  outline: 3px solid rgba(61, 207, 255, 0.16);
}

.report-date-controls .primary-button {
  min-height: 46px;
  width: 100%;
  padding: 0 22px;
  border: 1px solid rgba(125, 211, 252, 0.58);
  border-radius: 14px;
  background:
    linear-gradient(135deg, #35d8ff 0%, #2385e8 58%, #2f5bff 100%);
  color: #04111f;
  box-shadow:
    0 12px 28px rgba(35, 133, 232, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.report-date-controls .primary-button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 16px 34px rgba(35, 133, 232, 0.34),
    0 0 22px rgba(61, 207, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.public-campaign-visual {
  margin-top: 16px;
}

.traffic-performance-overview {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.traffic-performance-overview .performance-metric {
  min-height: 126px;
}

@media (max-width: 900px) {
  .report-date-controls { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .executive-report-page .report-control-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .report-date-controls { grid-template-columns: 1fr; }
  .executive-report-page .report-control-panel {
    padding: 10px;
    border-radius: 18px;
  }
  .executive-report-page .destination-breakdown-grid,
  .destination-breakdown-grid {
    grid-template-columns: 1fr;
  }
}

.performance-metric {
  position: relative;
  min-height: 150px;
  padding: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 12%, rgba(61, 207, 255, 0.22), transparent 28%),
    linear-gradient(145deg, rgba(18, 41, 70, 0.96), rgba(9, 18, 35, 0.96));
}

button.performance-metric {
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.destination-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(61, 207, 255, 0.16);
  color: #ffffff;
  font-style: normal;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.public-phone-activity {
  isolation: isolate;
  outline: 1px solid rgba(61, 207, 255, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(61, 207, 255, 0.16),
    0 0 18px rgba(61, 207, 255, 0.16);
  transition: transform 160ms ease, box-shadow 160ms ease, outline-color 160ms ease;
}

.public-phone-activity::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(36, 211, 122, 0.12), transparent 34%);
  opacity: 0.78;
}

.public-phone-activity small {
  color: #7df5ad;
  text-decoration: underline;
  text-decoration-color: rgba(61, 207, 255, 0.62);
  text-underline-offset: 4px;
}

.public-phone-activity:hover,
.public-phone-activity:focus-visible {
  transform: translateY(-2px);
  outline-color: rgba(36, 211, 122, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(36, 211, 122, 0.28),
    0 0 0 1px rgba(61, 207, 255, 0.2),
    0 0 26px rgba(61, 207, 255, 0.28);
}

.public-phone-activity:focus-visible {
  outline: 3px solid rgba(36, 211, 122, 0.72);
  outline-offset: 3px;
}

.performance-metric::before {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), #6167ff);
}

.performance-metric--cursor::before,
.performance-metric--spark::before {
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.performance-metric--minus::before {
  background: linear-gradient(90deg, var(--danger), var(--gold));
}

.public-phone-activity::before {
  background: linear-gradient(90deg, #24d37a, var(--cyan), #6167ff);
  box-shadow: 0 0 14px rgba(61, 207, 255, 0.38);
}

.performance-metric span,
.performance-metric small {
  display: block;
  color: var(--muted);
  font-weight: 900;
}

.performance-metric span {
  margin-bottom: 12px;
  color: #dceaff;
  font-size: 13px;
}

.performance-metric strong {
  display: block;
  margin-bottom: 22px;
  color: var(--text);
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.performance-metric small {
  margin-bottom: 8px;
  font-size: 12px;
}

.performance-metric b {
  color: #ffffff;
  font-size: 18px;
}

.campaign-performance-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(236, 185, 64, 0.28);
  border-radius: 14px;
  background: rgba(236, 185, 64, 0.08);
}

.click-destination-panel {
  margin: 16px 0;
  padding: 18px;
  border: 1px solid rgba(78, 154, 236, 0.24);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(11, 31, 56, 0.94), rgba(7, 18, 35, 0.94));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.click-destination-panel header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 14px;
}

.click-destination-panel header span,
.click-destination-panel header small,
.click-destination-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.click-destination-panel header span {
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.click-destination-panel header strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 20px;
}

.click-destination-panel header > small {
  max-width: 290px;
  text-align: right;
  line-height: 1.35;
}

.click-destination-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.click-destination-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-width: 0;
  padding: 12px 10px;
  border: 1px solid rgba(93, 156, 236, 0.22);
  border-radius: 14px;
  background: rgba(5, 18, 35, 0.56);
}

.click-destination-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: rgba(61, 207, 255, 0.14);
  color: #dff6ff;
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 900;
}

.click-destination-card--facebook .click-destination-icon { background: #1877f2; color: #fff; }
.click-destination-card--instagram .click-destination-icon { background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7); color: #fff; }
.click-destination-card--calls .click-destination-icon { background: rgba(36, 211, 122, 0.18); color: #61e69f; }
.click-destination-card--landing .click-destination-icon { background: rgba(97, 103, 255, 0.22); color: #afb2ff; }
.click-destination-card--shares .click-destination-icon { background: rgba(236, 185, 64, 0.16); color: #ffd76b; }
.click-destination-card--ava .click-destination-icon { background: linear-gradient(135deg, rgba(51, 208, 255, 0.28), rgba(117, 72, 255, 0.3)); color: #b9f4ff; box-shadow: 0 0 18px rgba(72, 204, 255, 0.22); }

.click-destination-card strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.click-destination-card small {
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.click-destination-card b {
  color: var(--cyan);
  font-size: 22px;
}

.campaign-performance-note span {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(236, 185, 64, 0.12);
}

.campaign-performance-note strong,
.campaign-performance-note small {
  color: var(--muted);
}

.campaign-performance-note strong {
  color: var(--text);
}

.captured-leads-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(36, 211, 122, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 94% 0%, rgba(36, 211, 122, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(15, 42, 54, 0.92), rgba(9, 18, 35, 0.94));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.captured-leads-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.captured-leads-panel header span {
  display: block;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.captured-leads-panel header strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 21px;
}

.captured-leads-panel header b {
  display: grid;
  min-width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(36, 211, 122, 0.34);
  border-radius: 16px;
  background: rgba(36, 211, 122, 0.14);
  color: var(--green);
  font-size: 23px;
}

.captured-leads-list {
  display: grid;
  gap: 10px;
}

.captured-leads-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(78, 154, 236, 0.2);
  border-radius: 14px;
  background: rgba(4, 12, 26, 0.36);
}

.captured-leads-list span,
.captured-leads-list small,
.captured-leads-list p {
  color: var(--muted);
  font-weight: 850;
}

.captured-leads-list span {
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.captured-leads-list strong {
  display: block;
  margin: 5px 0;
  color: var(--text);
  font-size: 18px;
}

.captured-leads-list p {
  margin: 0;
  line-height: 1.45;
}

.captured-lead-outcome {
  display: grid;
  gap: 10px;
}

.captured-lead-outcome label {
  display: grid;
  gap: 5px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.captured-lead-outcome select { min-height: 38px; }

.lead-delete-button {
  justify-self: start;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 91, 123, 0.7);
  border-radius: 9px;
  background: rgba(255, 50, 94, 0.12);
  color: #ff9bae;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.lead-delete-button:hover:not(:disabled) { background: rgba(255, 50, 94, 0.24); color: #fff; }
.lead-delete-button:disabled { cursor: wait; opacity: 0.6; }

.delivery-watchlist {
  display: grid;
  gap: 12px;
  padding: 17px;
  border: 1px solid rgba(61, 207, 255, .3);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(19, 57, 82, .86), rgba(9, 18, 35, .9));
}

.delivery-watchlist header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.delivery-watchlist header span { display: block; color: var(--cyan); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.delivery-watchlist header strong { display: block; margin-top: 4px; font-size: 18px; }
.delivery-watchlist header b { padding: 7px 10px; border-radius: 999px; background: rgba(61, 207, 255, .14); color: var(--cyan); font-size: 12px; }
.delivery-watchlist > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.delivery-watchlist article { padding: 10px; border: 1px solid rgba(78, 154, 236, .22); border-radius: 10px; background: rgba(4, 12, 26, .38); }
.delivery-watchlist article strong, .delivery-watchlist article small { display: block; }
.delivery-watchlist article small, .delivery-watchlist > p { margin: 0; color: var(--muted); font-size: 12px; }

.campaign-history-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(78, 154, 236, 0.24);
  border-radius: 14px;
  background: rgba(4, 12, 26, 0.5);
  padding: 14px;
}

.campaign-history-card:has(.customer-list-delete) {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.customer-list-delete {
  min-width: 78px;
  color: #ffb5c1;
  border-color: rgba(255, 100, 124, 0.45);
}

.campaign-history-card span,
.campaign-history-card small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.campaign-history-card span {
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.campaign-history-card strong {
  display: block;
  margin: 5px 0;
  color: var(--text);
  font-size: 17px;
}

.campaign-stats {
  display: flex;
  gap: 10px;
}

.campaign-stats b {
  display: grid;
  min-width: 78px;
  place-items: center;
  border-radius: 12px;
  background: rgba(61, 207, 255, 0.1);
  color: var(--text);
  padding: 10px;
  font-size: 20px;
}

.campaign-stats small {
  color: var(--muted);
  font-size: 11px;
}

.campaign-performance-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(78, 154, 236, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 10%, rgba(61, 207, 255, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(24, 47, 78, 0.94), rgba(28, 32, 57, 0.94));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.campaign-performance-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.campaign-performance-card strong {
  display: block;
  margin: 7px 0 5px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.25;
}

.campaign-performance-card small {
  color: var(--muted);
  font-weight: 800;
}

.campaign-kicker {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.campaign-health {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid rgba(61, 207, 255, 0.34);
  border-radius: 999px;
  background: rgba(61, 207, 255, 0.12);
  color: var(--cyan);
  font-size: 12px;
}

.campaign-health--strong,
.campaign-health--healthy,
.campaign-health--converting {
  border-color: rgba(36, 211, 122, 0.36);
  background: rgba(36, 211, 122, 0.14);
  color: var(--green);
}

.campaign-health--needs-lift {
  border-color: rgba(236, 185, 64, 0.42);
  background: rgba(236, 185, 64, 0.12);
  color: var(--gold);
}

.campaign-performance-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(105px, 1fr));
  gap: 10px;
}

.campaign-performance-grid div {
  min-height: 92px;
  padding: 13px;
  border: 1px solid rgba(78, 154, 236, 0.2);
  border-radius: 14px;
  background: rgba(4, 12, 26, 0.34);
}

.campaign-performance-grid span,
.campaign-performance-grid small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.campaign-performance-grid strong {
  margin: 8px 0 5px;
  font-size: 25px;
}

.campaign-performance-grid.scorecard-kpis {
  gap: 1px;
  border: 1px solid rgba(78, 154, 236, 0.4);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(78, 154, 236, 0.18);
}

.campaign-performance-grid.scorecard-kpis div {
  min-height: 128px;
  border: 0;
  border-radius: 0;
  padding: 18px;
  background: linear-gradient(160deg, #0e2a4a, #08192e);
}

.campaign-performance-grid.scorecard-kpis strong { font-size: 31px; }

.campaign-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.campaign-bars span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.campaign-bars i {
  display: block;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.campaign-bars em {
  display: block;
  height: 100%;
  min-width: 3px;
  border-radius: inherit;
  box-shadow: 0 0 18px currentColor;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 10px;
  border-bottom: 1px solid rgba(78, 154, 236, 0.18);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

pre {
  overflow: auto;
  padding: 16px;
  border: 1px solid rgba(78, 154, 236, 0.24);
  border-radius: 10px;
  background: rgba(2, 8, 18, 0.72);
  color: #dcecff;
  white-space: pre-wrap;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(2, 6, 14, 0.76);
  backdrop-filter: blur(8px);
}

.visitor-modal {
  width: min(1120px, 100%);
  max-height: min(88vh, 980px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(18, 38, 65, 0.98), rgba(7, 15, 28, 0.98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  border-bottom: 1px solid rgba(78, 154, 236, 0.24);
}

.modal-header h2 {
  margin: 0;
}

.modal-body {
  max-height: calc(88vh - 92px);
  overflow: auto;
  padding: 26px;
}

.app-dialog { width: min(540px, 100%); }
.app-dialog-message { margin: 0; color: #d7e8fb; font-size: 16px; line-height: 1.6; white-space: pre-wrap; }
.app-dialog-actions { justify-content: flex-end; margin-top: 26px; padding: 0; }
.app-dialog-actions button { min-width: 116px; }
.app-dialog-actions .danger-action { background: linear-gradient(135deg, #dc3e57, #a51f3a); border-color: rgba(255, 155, 171, 0.6); }

.visitor-page-link {
  color: #7fd5ff;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(127, 213, 255, 0.48);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.visitor-page-link:hover {
  color: #ffffff;
  text-decoration-color: currentColor;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detail-item,
.session-card {
  border: 1px solid rgba(78, 154, 236, 0.24);
  border-radius: 10px;
  background: rgba(4, 12, 26, 0.62);
  padding: 16px;
}

.detail-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 86px;
  background:
    linear-gradient(135deg, rgba(61, 207, 255, 0.08), rgba(41, 119, 217, 0.06)),
    rgba(4, 12, 26, 0.72);
}

/* The public GM report uses text-only detail cards, so it must not reserve the
   icon column used by the authenticated dashboard's visitor detail cards. */
#publicVisitorModal .detail-item {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

#publicVisitorModal .visitor-profile-grid {
  gap: 12px;
}

#publicVisitorModal .visitor-detail-card {
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-height: 92px;
  border-color: rgba(61, 207, 255, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 0%, rgba(61, 207, 255, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(10, 35, 62, 0.92), rgba(4, 13, 30, 0.94));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

#publicVisitorModal .visitor-detail-icon {
  display: grid;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border-color: rgba(61, 207, 255, 0.36);
  background:
    radial-gradient(circle at 30% 18%, rgba(61, 207, 255, 0.34), transparent 48%),
    rgba(6, 38, 66, 0.86);
  color: #31d8ff;
}

#publicVisitorModal .visitor-detail-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#publicVisitorModal .detail-item strong {
  overflow-wrap: anywhere;
}

.visitor-name-row {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.linkedin-badge {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #0a66c2;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(10, 102, 194, 0.25);
}

.detail-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(61, 207, 255, 0.28);
  border-radius: 12px;
  background: radial-gradient(circle at 30% 20%, rgba(61, 207, 255, 0.2), rgba(41, 119, 217, 0.08) 50%, rgba(5, 15, 31, 0.86));
  color: var(--cyan);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 10px 24px rgba(0, 0, 0, 0.22);
}

.detail-icon svg {
  width: 25px;
  height: 25px;
}

.detail-item span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-item strong {
  color: var(--text);
  line-height: 1.35;
}

.modal-section {
  margin-top: 24px;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.keyword-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  background: rgba(61, 207, 255, 0.12);
  border: 1px solid rgba(61, 207, 255, 0.24);
  color: #dcecff;
  padding: 0 12px;
  font-weight: 800;
}

.session-card {
  margin-top: 12px;
}

.session-card h3 {
  margin: 0 0 12px;
  color: #dcecff;
}

.page-list {
  display: grid;
  gap: 8px;
}

.page-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(110px, auto);
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(78, 154, 236, 0.16);
}

.page-row span,
.page-link {
  overflow-wrap: anywhere;
  color: var(--muted);
}

.page-link {
  text-decoration: none;
  transition: color 0.15s ease;
}

.page-link:hover,
.page-link:focus {
  color: var(--cyan);
  text-decoration: underline;
}

.page-row strong {
  text-align: right;
}

@media (max-width: 980px) {
  .topbar,
  .brand-row {
    align-items: flex-start;
  }

  .topbar,
  .status-grid,
  .metric-grid,
  .chart-grid,
  .content-grid,
  .visitor-filters,
  .detail-grid,
  .campaign-summary,
  .campaign-form,
  .campaign-performance-overview,
  .campaign-performance-grid,
  .campaign-attribution-metrics,
  .campaign-bars,
  .sequence-grid {
    grid-template-columns: 1fr;
  }

  .campaign-attribution-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toolbar-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toolbar-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .wide-chart {
    grid-column: auto;
  }

  .topbar {
    display: grid;
  }

  .click-destination-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-visitor-trend-chart {
    overflow-x: auto;
    grid-auto-columns: minmax(42px, 52px);
    justify-content: start;
    padding-bottom: 8px;
  }

  .visitor-map-legend {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .app-shell {
    width: min(100% - 24px, 1480px);
  }

  .brand-row {
    display: grid;
  }

  .top-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .toolbar-fields {
    grid-template-columns: 1fr;
  }

  .toolbar-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .toolbar button,
  .toolbar-status {
    width: 100%;
    justify-content: center;
  }

  .campaign-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .campaign-history-card {
    grid-template-columns: 1fr;
  }

  .campaign-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .campaign-actions button {
    width: 100%;
  }

  .campaign-performance-card header {
    display: grid;
  }

  .click-destination-panel header,
  .click-destination-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .click-destination-panel header > small {
    text-align: left;
  }

  .campaign-attribution-list {
    grid-template-columns: 1fr;
  }

  .campaign-attribution-card header {
    display: grid;
  }

  .call-activity-list article {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .call-activity-header-row {
    display: none;
  }

  .call-activity-campaign,
  .call-activity-number,
  .call-activity-time {
    grid-column: 2;
  }

  .call-activity-number,
  .call-activity-time {
    text-align: left;
  }

  .call-activity-meta {
    grid-column: 2;
    text-align: left;
    justify-items: start;
  }

  .captured-leads-list article,
  .captured-leads-panel header {
    display: grid;
  }

  .performance-metric {
    min-height: 128px;
  }

  .visitor-trend-head {
    grid-template-columns: auto 1fr;
  }

  .visitor-trend-head > strong {
    grid-column: 1 / -1;
  }

  .public-visitor-trend-chart {
    grid-auto-columns: minmax(44px, 56px);
  }

  .visitor-map-title {
    display: grid;
  }

  .visitor-map-title > strong {
    width: fit-content;
  }

  .visitor-map-canvas {
    min-height: 230px;
  }

  .live-chart-header,
  .chart-title {
    display: grid;
  }

  .bar-chart {
    gap: 8px;
    overflow-x: auto;
    justify-content: start;
  }

  .bar-item {
    min-width: 48px;
  }

  .hbar-row {
    grid-template-columns: 1fr;
  }

  .hbar-row strong {
    text-align: left;
  }

  .modal-backdrop {
    padding: 12px;
  }

  .modal-header {
    align-items: start;
  }

  .page-row {
    grid-template-columns: 1fr;
  }

  .detail-item {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .detail-icon {
    width: 42px;
    height: 42px;
  }

  .page-row strong {
    text-align: left;
  }
}

/* Responsive hardening for public GM executive reports */
.executive-report-page,
.executive-report-page * {
  box-sizing: border-box;
}

.executive-report-page {
  overflow-x: hidden;
}

.executive-report-page .app-shell.gm-report-shell,
.executive-report-page .gm-report-shell {
  width: min(calc(100vw - 48px), 1600px) !important;
  max-width: calc(100vw - 48px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0;
  padding-right: 0;
}

.executive-report-page .panel,
.executive-report-page .executive-card,
.executive-report-page .public-campaign-visual,
.executive-report-page .gm-report-hero,
.executive-report-page .top-campaigns-panel,
.executive-report-page .marketplace-activity-panel {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.executive-report-page .topbar,
.executive-report-page .executive-report-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, auto);
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
}

.executive-report-page .brand-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.executive-report-page .brand-row > div {
  min-width: 0;
}

.executive-report-page .topbar h1,
.executive-report-page .executive-report-topbar h1 {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.executive-report-page .executive-period-card {
  width: min(100%, 280px);
  min-width: 0;
  margin-left: 0;
  justify-self: end;
}

.executive-report-page .executive-period-card {
  padding: 16px 18px;
}

.executive-report-page .executive-period-card span {
  font-size: 10px;
  letter-spacing: 0.2em;
}

.executive-report-page .gm-report-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.25fr);
  max-width: 100%;
  overflow: hidden;
}

.executive-report-page .gm-report-hero > *,
.executive-report-page .report-date-controls,
.executive-report-page .top-campaign-card,
.executive-report-page .performance-metric,
.executive-report-page .marketplace-activity-panel,
.executive-report-page .public-campaign-visual {
  min-width: 0;
}

.executive-report-page .report-date-controls {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 100%;
}

.executive-report-page .report-date-controls input,
.executive-report-page .report-date-controls select,
.executive-report-page .gm-report-hero input,
.executive-report-page .gm-report-hero select,
.executive-report-page .gm-report-hero button {
  width: 100%;
  max-width: 100%;
}

.executive-report-page .top-campaigns-grid {
  grid-template-columns: repeat(3, minmax(260px, 1fr));
}

.executive-report-page .top-campaign-card h3,
.executive-report-page .top-campaign-card p {
  overflow-wrap: anywhere;
}

.executive-report-page .executive-period-card strong {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.06;
}

.executive-report-page .top-campaign-card h3 {
  font-size: clamp(22px, 1.75vw, 31px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.executive-report-page .top-campaign-card p {
  font-size: clamp(12px, 0.9vw, 15px);
  line-height: 1.35;
}

@media (max-width: 1280px) {
  .executive-report-page .topbar,
  .executive-report-page .executive-report-topbar {
    grid-template-columns: 1fr;
  }

  .executive-report-page .executive-period-card {
    justify-self: stretch;
    width: 100%;
  }

  .executive-report-page .gm-report-hero {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .executive-report-page .gm-report-hero label,
  .executive-report-page .report-date-controls {
    width: 100%;
  }

  .executive-report-page .top-campaigns-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .executive-report-page .top-campaign-card h3 {
    font-size: clamp(21px, 2.2vw, 28px);
  }
}

@media (max-width: 760px) {
  .executive-report-page .app-shell.gm-report-shell,
  .executive-report-page .gm-report-shell {
    width: calc(100vw - 22px) !important;
    max-width: calc(100vw - 22px) !important;
    padding-top: 16px;
  }

  .executive-report-page .topbar,
  .executive-report-page .executive-report-topbar,
  .executive-report-page .brand-row,
  .executive-report-page .gm-report-hero,
  .executive-report-page .section-title.compact,
  .executive-report-page .visitor-trend-head,
  .executive-report-page .visitor-map-title {
    text-align: center;
    justify-items: center;
  }

  .executive-report-page .brand-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .executive-report-page .executive-dealer-logo,
  .executive-report-page .brand-logo {
    margin-inline: auto;
  }

  .executive-report-page .report-date-controls,
  .executive-report-page .top-campaigns-grid,
  .executive-report-page .traffic-performance-overview,
  .executive-report-page .campaign-performance-overview,
  .executive-report-page .marketplace-metric-grid--gm,
  .executive-report-page .marketplace-posted-vehicle-grid {
    grid-template-columns: 1fr;
  }

  .executive-report-page .gm-report-hero {
    padding: 20px 14px;
  }

  .executive-report-page .top-campaign-card ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .executive-report-page .executive-period-card strong {
    font-size: 18px;
  }

  .executive-report-page .top-campaign-card h3 {
    font-size: 22px;
  }
}

/* GM report clear-story layout: snapshot -> winners -> highlights -> email -> clicks -> marketplace -> acquisition -> watch list */
.executive-report-page .gm-report-ordered {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.executive-report-page .gm-report-ordered > * {
  flex: 0 0 auto;
}

.executive-report-page #visitorTrendPanel[hidden] {
  display: none !important;
}

.executive-report-page .gm-report-ordered .gm-report-hero,
.executive-report-page .gm-report-ordered .value-proof-panel--top-campaigns,
.executive-report-page .gm-report-ordered .traffic-performance-panel,
.executive-report-page .gm-report-ordered .campaign-panel.public-campaign-visual,
.executive-report-page .gm-report-ordered .marketplace-activity-panel,
.executive-report-page .gm-report-ordered .content-grid,
.executive-report-page .gm-report-ordered #executiveActionGrid {
  margin-top: 0;
  margin-bottom: 0;
}

.executive-report-page .gm-report-ordered .content-grid {
  align-items: stretch;
}

.executive-report-page .gm-report-ordered #executiveActionGrid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
}

.executive-report-page .gm-report-ordered #executiveActionGrid .feature-campaign-panel,
.executive-report-page .gm-report-ordered #executiveActionGrid .visitor-real-map-panel {
  min-width: 0;
}

.executive-report-page .gm-report-ordered .table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 1100px) {
  .executive-report-page .gm-report-ordered {
    gap: 22px;
  }

  .executive-report-page .gm-report-ordered #executiveActionGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .executive-report-page .gm-report-ordered {
    gap: 18px;
  }

  .executive-report-page .gm-report-ordered .panel,
  .executive-report-page .gm-report-ordered .executive-card,
  .executive-report-page .gm-report-ordered .public-campaign-visual,
  .executive-report-page .gm-report-ordered .content-grid .panel {
    padding: 18px 14px;
    border-radius: 20px;
  }

  .executive-report-page .gm-report-ordered .section-title.compact {
    gap: 10px;
  }

  .executive-report-page .gm-report-ordered .section-title.compact h2 {
    font-size: clamp(24px, 8vw, 34px);
  }

  .executive-report-page .gm-report-ordered .performance-metric {
    min-height: auto;
    padding: 18px 14px;
  }

  .executive-report-page .gm-report-ordered .performance-metric strong {
    font-size: clamp(34px, 12vw, 48px);
  }

  .executive-report-page .gm-report-ordered .destination-breakdown-card {
    min-height: 60px;
  }

  .executive-report-page .gm-report-ordered .content-grid {
    gap: 18px;
  }

  .executive-report-page .gm-report-ordered table {
    min-width: 720px;
  }
}
