/* SpotLight. Look taken from the approved mockups (canvas e7b5e35f, 12 Nov 2026):
   SpotOn blue, navy and yellow, Montserrat headings, Figtree text, soft white cards. */
:root {
  --navy: #14213d;
  --blue: #4285f4;
  --link: #154fc1;
  --yellow: #f4c20d;
  --bg: #f7f8fc;
  --card: #ffffff;
  --muted: #4b5a70;
  --line: #dde3ee;
  --line-soft: #eef1f7;
  --good: #1e7a46;
  --good-bg: #e6f4ec;
  --bad: #a1321f;
  --bad-bg: #fbeae6;
  --shadow: 0 6px 16px rgba(20, 33, 61, 0.06);
  --radius: 18px;
  --head: "Montserrat", Arial, sans-serif;
  --body: "Figtree", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--navy); font: 15px/1.5 var(--body); }
a { color: var(--link); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--head); letter-spacing: -0.02em; margin: 0; }
h1 { font-size: 30px; font-weight: 800; }
h2 { font-size: 18px; font-weight: 800; }
h3 { font-size: 16px; font-weight: 800; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--link); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Shell: sidebar + main */
.shell { min-height: 100vh; display: flex; }
.side { width: 260px; flex: none; background: #fff; border-right: 1px solid var(--line); padding: 28px 20px; display: flex; flex-direction: column; gap: 28px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px; text-decoration: none; color: var(--navy); }
.brand img { width: 38px; height: 40px; flex: none; }
.brand-words { display: flex; flex-direction: column; gap: 2px; }
.brand-name { font: 900 24px/1 var(--head); letter-spacing: -0.02em; }
.brand-suffix { color: var(--navy); font-weight: 800; font-size: 15px; }
.brand-by { font-size: 12px; font-weight: 600; color: var(--muted); }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; color: var(--navy); font-weight: 600; text-decoration: none; }
.nav a:hover { background: var(--bg); }
.nav a[aria-current="page"] { background: var(--blue); color: #fff; font-weight: 700; }
.nav .count { margin-left: auto; font-size: 12px; font-weight: 700; background: var(--yellow); color: var(--navy); border-radius: 999px; padding: 1px 8px; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.help-box { background: var(--bg); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.help-box strong { font-weight: 700; }
.account { font-size: 13px; color: var(--muted); padding: 0 8px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
/* The email on its own line, cut with ... when too long (never split mid-word). */
.signed-in { display: flex; flex-direction: column; min-width: 0; }
.signed-in b { font-weight: 600; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account form { display: inline; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--link); cursor: pointer; text-decoration: underline; }
.main { flex: 1; min-width: 0; padding: 32px 40px 56px; display: flex; flex-direction: column; gap: 24px; }

.viewing { background: var(--navy); color: #fff; padding: 10px 20px; display: flex; gap: 16px; align-items: center; justify-content: space-between; font-size: 14px; flex-wrap: wrap; }
.viewing a, .viewing .linkbtn { color: #fff; font-weight: 700; }

/* Page head */
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.head > div:first-child { display: flex; flex-direction: column; gap: 4px; }

/* Date picker (presets + one calendar) */
.dp { position: relative; }
.dp-wrap { display: inline-flex; align-items: center; gap: 6px; }
.dp-step { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; color: var(--navy); text-decoration: none; }
.dp-step:hover { background: #fff; box-shadow: var(--shadow); }
.dp-step.off { color: var(--line); cursor: default; }
.dp-trigger { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font: 600 14px var(--body); color: var(--navy); cursor: pointer; box-shadow: var(--shadow); }
.dp-trigger:hover { border-color: #c5cfe0; }
.dp-trigger[aria-expanded="true"] { border-color: var(--blue); }
.dp-trigger svg:last-child { color: var(--muted); transition: transform .15s; }
.dp-trigger[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.dp-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; display: flex; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(20, 33, 61, .14); overflow: hidden; }
.dp-pop[hidden] { display: none; }
.dp-presets { list-style: none; margin: 0; padding: 10px; min-width: 170px; border-right: 1px solid var(--line-soft); background: var(--bg); }
.dp-presets a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 10px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; }
.dp-presets a:hover { background: #fff; }
.dp-presets a[aria-current="true"] { background: #fff; color: var(--blue); box-shadow: 0 1px 3px rgba(20, 33, 61, .08); }
.dp-cal { padding: 14px 16px 12px; width: 300px; }
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dp-month { margin: 0; font: 800 14px var(--head); }
.dp-nav { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; border: 0; background: transparent; color: var(--navy); cursor: pointer; }
.dp-nav:hover:not(:disabled) { background: var(--bg); }
.dp-nav:disabled { opacity: .3; cursor: default; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.dp-dow span { text-align: center; font-size: 11px; font-weight: 700; color: var(--muted); padding: 4px 0; }
.dp-day { height: 36px; border: 0; background: transparent; font: 600 13px var(--body); color: var(--navy); cursor: pointer; border-radius: 999px; }
.dp-day:hover:not(:disabled) { background: var(--line-soft); }
.dp-day:disabled { color: #b8c1d1; cursor: default; }
.dp-day.is-in { background: #e8f0fe; border-radius: 0; }
.dp-day.is-end { background: var(--blue); color: #fff; }
.dp-day.is-start { border-radius: 999px 0 0 999px; }
.dp-day.is-last { border-radius: 0 999px 999px 0; }
.dp-hint { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.dp button:focus-visible, .dp a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 1px; }
@media (max-width: 600px) {
  .dp, .dp-trigger { width: 100%; }
  .dp-trigger .dp-label { flex: 1; text-align: left; }
  .dp-pop { left: 0; right: 0; flex-direction: column; }
  .dp-presets { display: flex; flex-wrap: wrap; gap: 6px; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .dp-presets a { padding: 7px 10px; font-size: 13px; background: #fff; border: 1px solid var(--line); }
  .dp-presets a svg { display: none; }
  .dp-cal { width: auto; }
}

/* Dropdowns in the app's style (PrettySelects) */
.sel { position: relative; width: 100%; }
.sel-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 46px; padding: 0 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font: 500 15px var(--body); color: var(--navy); text-align: left; cursor: pointer; }
.sel-btn:hover { border-color: #c5cfe0; }
.sel-btn[aria-expanded="true"] { border-color: var(--blue); }
.sel-btn.is-placeholder .sel-text { color: var(--muted); }
.sel-btn svg { flex: none; color: var(--muted); transition: transform .15s; }
.sel-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.sel-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sel.is-invalid .sel-btn { border-color: var(--bad); }
.sel-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; margin: 0; padding: 6px; list-style: none; max-height: 300px; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(20, 33, 61, .14); outline: none; }
.sel-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 9px; font-size: 14px; cursor: pointer; }
.sel-list li svg { visibility: hidden; color: var(--blue); flex: none; }
.sel-list li[aria-selected="true"] { font-weight: 700; color: var(--blue); }
.sel-list li[aria-selected="true"] svg { visibility: visible; }
.sel-list li.is-active, .sel-list li:hover { background: var(--bg); }
.sel-list li.sel-placeholder { color: var(--muted); }
.sel-list li[aria-disabled="true"] { opacity: .45; cursor: default; }
.sel-btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.side .sel-btn { min-height: 38px; font-size: 13px; border-radius: 10px; }
.side .sel-list { top: auto; bottom: calc(100% + 6px); }

/* Cards */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.grid { display: grid; gap: 18px; }
.kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.two-one { grid-template-columns: 2fr 1fr; }
.halves { grid-template-columns: 1fr 1fr; }
.thirds { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.kpi { gap: 8px; padding: 22px; }
.kpi .label { font-size: 14px; font-weight: 600; color: var(--muted); }
.kpi .value { font: 800 34px/1.1 var(--head); letter-spacing: -0.02em; }
.kpi .note { font-size: 13px; color: var(--muted); }

/* Bars (leads by type, devices) */
.bars { display: flex; flex-direction: column; gap: 18px; }
.bar-row { display: flex; flex-direction: column; gap: 8px; }
.bar-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; }
.bar-top b { font-weight: 700; }
.dot { width: 12px; height: 12px; border-radius: 999px; flex: none; display: inline-block; }
.track { height: 10px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.fill { height: 10px; border-radius: 999px; }
.fineprint { padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; line-height: 19px; color: var(--muted); }

/* Chart */
.chart { width: 100%; height: 240px; display: block; }
.chart-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.legend { display: flex; gap: 16px; font-size: 13px; color: var(--muted); align-items: center; flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font-size: 13px; font-weight: 700; color: var(--muted); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
td.num, th.num { text-align: right; white-space: nowrap; }
tfoot td { font-weight: 700; border-bottom: 0; border-top: 1px solid var(--line); }
.name-cell { font-weight: 600; }

/* Status pills */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.status.on { background: var(--good-bg); color: var(--good); }
.status.off { background: var(--line-soft); color: var(--muted); }
.status.new { background: #e8f0fe; color: var(--link); }
.status.good { background: var(--good-bg); color: var(--good); }
.status.not_relevant { background: var(--bad-bg); color: var(--bad); }

/* Segmented switch (links) */
.seg { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.seg a, .seg button { height: 36px; display: inline-flex; align-items: center; padding: 0 16px; border: 0; border-radius: 999px; font: 700 14px var(--body); color: var(--navy); background: transparent; text-decoration: none; cursor: pointer; }
.seg a[aria-current="true"], .seg button[aria-pressed="true"] { background: var(--blue); color: #fff; }

/* Buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--blue); color: #fff; font: 700 15px var(--body); cursor: pointer; text-decoration: none; }
.btn:hover { background: #2f6fd8; color: #fff; }
.btn.secondary { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn.secondary:hover { background: var(--bg); }
.btn.small { height: 36px; padding: 0 14px; font-size: 13px; }
.btn.danger { background: #fff; color: var(--bad); border: 1px solid #efc6bd; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn:focus-visible, .linkbtn:focus-visible, a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
label { font-weight: 600; font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
input[type=text], input[type=email], input[type=url], input[type=date], select, textarea {
  font: 15px var(--body); color: var(--navy); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); }
input:focus-visible, select:focus-visible, textarea:focus-visible { box-shadow: 0 0 0 3px rgba(66, 133, 244, .18); }
textarea { min-height: 140px; resize: vertical; }
.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.form { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.row > * { flex: 1 1 200px; }
.row > .btn { flex: 0 0 auto; }
.notice { border-radius: 12px; padding: 12px 16px; font-size: 14px; }
.notice.ok { background: var(--good-bg); color: var(--good); }
.notice.err { background: var(--bad-bg); color: var(--bad); }
.notice.info { background: #e8f0fe; color: var(--link); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 8px 6px 14px; font-size: 14px; background: #fff; }
.empty { text-align: center; padding: 32px 16px; color: var(--muted); }

/* Access switches in the admin */
.access { display: flex; flex-direction: column; gap: 0; }
.access-row { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.access-row:last-child { border-bottom: 0; }
.access-row .what { display: flex; flex-direction: column; gap: 4px; }
.access-row .what b { font-weight: 700; }
.switch { position: relative; width: 48px; height: 28px; flex: none; }
.switch input { opacity: 0; width: 48px; height: 28px; margin: 0; cursor: pointer; position: absolute; inset: 0; z-index: 1; }
.switch span { position: absolute; inset: 0; background: #c9d1df; border-radius: 999px; transition: background .15s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 999px; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + span { opacity: .45; }

/* Lead list */
.lead { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.lead:last-child { border-bottom: 0; }
.lead .who { display: flex; flex-direction: column; gap: 4px; }
.lead .who b { font-size: 16px; }
.lead .contact { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; }
.lead .msg { grid-column: 1 / -1; background: var(--bg); border-radius: 12px; padding: 12px 14px; font-size: 14px; white-space: pre-wrap; }
.lead .marks { display: flex; gap: 6px; align-items: flex-start; flex-wrap: wrap; justify-content: flex-end; }
.lead details { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.lead details dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 8px 0 0; }
.lead details dt { font-weight: 700; }
.lead details dd { margin: 0; word-break: break-word; }

/* Sign-in */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login .card { width: 100%; max-width: 440px; padding: 36px; gap: 20px; }
.login .brand { padding: 0; }
.code-input { font: 800 30px var(--head) !important; letter-spacing: 10px; text-align: center; }
.code-input::placeholder { color: #c3cbd9; letter-spacing: 10px; }

@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-one, .halves { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .shell { flex-direction: column; }
  .side { width: auto; height: auto; position: static; border-right: 0; border-bottom: 1px solid var(--line); padding: 16px; gap: 14px; }
  .nav { flex-direction: row; overflow-x: auto; }
  .nav a { white-space: nowrap; padding: 10px 12px; }
  .side-foot { display: none; }
  .main { padding: 20px 16px 40px; }
  .kpi .value { font-size: 28px; }
  h1 { font-size: 24px; }
}
@media (max-width: 600px) {
  .chart-axis span:nth-child(even) { display: none; }
  .hide-sm { display: none; }
  .kpi { padding: 16px; }
  .kpi .value { font-size: 24px; }
  .kpi .label { font-size: 13px; }
  .card { padding: 18px; }
}
@media (max-width: 340px) { .kpis { grid-template-columns: 1fr; } }

/* "Tell us" bubbles */
.tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.tip { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: #fff8e1; border-radius: 16px 16px 16px 4px; color: var(--navy); }
.tip-icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 999px; background: var(--yellow); color: var(--navy); }
.tip strong { display: block; font-size: 14px; }
.tip p { margin: 2px 0 0; font-size: 13.5px; line-height: 1.45; color: #3d4a5f; }
.card .tip { margin-top: 4px; }

/* Report tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 10px 14px; margin-bottom: -1px; border-bottom: 3px solid transparent; color: var(--muted); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.tabs a:hover { color: var(--navy); }
.tabs a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--blue); }

/* Donut charts */
.donut-card { display: flex; flex-direction: column; gap: 14px; }
.donut-wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.donut { width: 168px; height: 168px; flex: none; }
.donut circle { transition: opacity .15s; }
.donut:hover circle { opacity: .55; }
.donut circle:hover { opacity: 1; }
.donut-total { font: 800 22px var(--head); fill: var(--navy); }
.donut-sub { font: 600 12px var(--body); fill: var(--muted); }
.donut-legend { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.donut-legend li { display: grid; grid-template-columns: 12px 1fr auto auto; align-items: center; gap: 10px; }
.donut-share { font-weight: 700; }
.donut-leads { color: var(--muted); font-size: 13px; min-width: 64px; text-align: right; }

/* What the numbers mean */
.glossary summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.glossary summary::-webkit-details-marker { display: none; }
.glossary summary::after { content: "+"; font: 700 22px var(--head); color: var(--muted); }
.glossary[open] summary::after { content: "\2212"; }
.glossary dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 24px; margin: 16px 0 0; }
.glossary dt { font-weight: 700; }
.glossary dd { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* Lead Tracker preview (upsell) */
.upsell { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(135deg, #fff 0%, #eef4fe 100%); }
.upsell > div { max-width: 620px; display: flex; flex-direction: column; gap: 6px; }
.upsell p { margin: 0; }
.is-sample .btn:disabled, .upsell .btn:disabled { opacity: .55; cursor: default; }
.nav-tag { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: #fff3c4; color: var(--navy); font-size: 11px; font-weight: 700; }

/* Include paused campaigns */
.tabs-row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; border-bottom: 1px solid var(--line); }
.tabs-row .tabs { border-bottom: 0; flex: 1 1 auto; min-width: 0; }
.paused-toggle { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; color: var(--muted); font-weight: 600; font-size: 13px; text-decoration: none; white-space: nowrap; }
.paused-toggle:hover { color: var(--navy); }
.mini-switch { position: relative; width: 32px; height: 18px; border-radius: 999px; background: #c9d1df; transition: background .15s; flex: none; }
.mini-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(20,33,61,.25); transition: transform .15s; }
.paused-toggle[aria-checked="true"] { color: var(--navy); }
.paused-toggle[aria-checked="true"] .mini-switch { background: var(--blue); }
.paused-toggle[aria-checked="true"] .mini-switch::after { transform: translateX(14px); }

/* Sign-in code: six boxes with dots (only once the script runs) */
.otp { display: block; position: relative; margin-top: 6px; }
.otp-slots { display: none; }
.otp.is-js .otp-slots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.otp.is-js input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: text; }
.otp-slot { display: grid; place-items: center; height: 58px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font: 800 26px var(--head); color: var(--navy); transition: border-color .12s, box-shadow .12s; }
.otp-slot.is-empty::after { content: "\2022"; color: #c3cbd9; font-size: 22px; }
.otp-slot.is-next { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(66, 133, 244, .18); }

/* Lead source on each lead */
.lead-when { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.src-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line-soft); color: var(--navy); font-weight: 600; }
.src-chip .dot { width: 8px; height: 8px; }

/* Google Ads / Google Analytics switch beside the dates */
.head-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 600px) { .head-tools { width: 100%; } }

/* Admin client search */
.viewing-tools { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-search { margin: -4px 0 4px; }

/* "Show the numbers" and other summaries: no outline on click, a yellow ring for keyboard only */
summary:focus { outline: none; }
summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }

/* Admin: add a website to Ad destinations */
.dest-add { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-top: 8px; }
.dest-add-form { display: flex; gap: 12px; align-items: flex-end; flex: 1 1 420px; }
.dest-label { flex: 1; display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }

/* Lead type icon tiles (Leads by type) */
.type-ic { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px; }

/* Paused switch: short note under the label (option 2, 15 Nov 2026) */
.pt-text { display: flex; flex-direction: column; line-height: 1.2; }
.pt-sub { font-size: 11.5px; font-weight: 500; color: #8a93a3; }

/* Download PDF: icon-only square button with a download badge (option C, 15 Nov 2026) */
.pdf-btn { position: relative; display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; box-shadow: var(--shadow); }
.pdf-btn:hover { border-color: #c5cfe0; }
.pdf-btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.pdf-badge { position: absolute; right: -5px; bottom: -5px; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 999px; background: var(--blue); color: #fff; border: 2px solid var(--bg); }

/* Back to top: centred near the bottom of the screen */
.to-top { position: fixed; left: 50%; bottom: 22px; z-index: 40; transform: translateX(-50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; box-shadow: 0 8px 22px rgba(20, 33, 61, .16); }
.to-top[hidden] { display: none; }
.to-top:hover { background: var(--bg); }
.to-top:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
@media print { .to-top { display: none !important; } }

/* The date arrows mean nothing on paper; keeps the PDF exactly as it was. */
@media print { .dp-step { display: none !important; } }
