/* DonorPrompt. Colors are tokens from the DonorPrompt design system; dark follows the device
   unless the person picks one (html[data-theme]). Components are prefixed dp-. */
:root {
  --paper: #F6F4EE; --surface: #FFFDF8; --raised: #FFFFFF;
  --ink: #1C1B19; --ink2: #47443D; --ink3: #67625A;
  --line: #E0DACD; --line2: #C9C1B0;
  --navy: #2A7472; --onNavy: #FFFFFF; --navySoft: #E2EFEE; --navyHover: #1F5957;
  --coral: #D9573D; --coralSoft: #FBE9E3;
  --green: #2D6A39; --greenSoft: #E3EEE4;
  --red: #A12F2F; --redSoft: #F7E5E2;
  --amber: #8A5A0B; --amberSoft: #F8EDD6;
  --grey: #5E6670; --greySoft: #ECEEF0;
  --whatsapp: #1F8F55; --bubble: #DCF5E3; --chat: #EFEAE2;
  --tlWa: #1B7F4C; --tlWaNew: #A9DDBF; --onTlWaNew: #0F3A22; --tlTx: #3F5FA6; --tlTxNew: #BCCBEC; --onTlTxNew: #1B2B52; --onTl: #FFFFFF; --tlHatch: rgba(255,255,255,.4);
  --logoTeal: #2C7C7A; --logoCoral: #EE6B51;
  --shadow-card: 0 1px 2px rgba(40,34,20,.05), 0 12px 32px rgba(40,34,20,.08);
  --font-sans: 'Source Sans 3', system-ui, -apple-system, "Segoe UI", sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --radius-sm: 8px; --radius-md: 10px; --radius-lg: 12px; --radius-xl: 16px; --radius-2xl: 20px; --radius-pill: 999px;
  --tap-min: 44px; --field-height: 48px; --button-lg: 52px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #14161A; --surface: #1C1F25; --raised: #242830;
    --ink: #EDE9E1; --ink2: #CBC5B9; --ink3: #A9A296;
    --line: #30353E; --line2: #454B56;
    --navy: #8CCFCA; --onNavy: #0C1F1E; --navySoft: #1A3433; --navyHover: #ADDEDA;
    --coral: #F2957F; --coralSoft: #3A231D;
    --green: #93CF9C; --greenSoft: #1D3222; --red: #F2A69E; --redSoft: #3B2220;
    --amber: #E8C27A; --amberSoft: #3A2E17; --grey: #B3BAC2; --greySoft: #2A2F36;
    --whatsapp: #6FD39B; --bubble: #1F4A33; --chat: #1A1D22;
    --tlWa: #237A4D; --tlWaNew: #8FD3AE; --onTlWaNew: #0C2417; --tlTx: #4566B0; --tlTxNew: #A9BDEA; --onTlTxNew: #101C38; --onTl: #FFFFFF; --tlHatch: rgba(0,0,0,.28);
    --shadow-card: none;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #14161A; --surface: #1C1F25; --raised: #242830;
  --ink: #EDE9E1; --ink2: #CBC5B9; --ink3: #A9A296;
  --line: #30353E; --line2: #454B56;
  --navy: #8CCFCA; --onNavy: #0C1F1E; --navySoft: #1A3433; --navyHover: #ADDEDA;
  --coral: #F2957F; --coralSoft: #3A231D;
  --green: #93CF9C; --greenSoft: #1D3222; --red: #F2A69E; --redSoft: #3B2220;
  --amber: #E8C27A; --amberSoft: #3A2E17; --grey: #B3BAC2; --greySoft: #2A2F36;
  --whatsapp: #6FD39B; --bubble: #1F4A33; --chat: #1A1D22;
  --tlWa: #237A4D; --tlWaNew: #8FD3AE; --onTlWaNew: #0C2417; --tlTx: #4566B0; --tlTxNew: #A9BDEA; --onTlTxNew: #101C38; --onTl: #FFFFFF; --tlHatch: rgba(0,0,0,.28);
  --shadow-card: none;
  color-scheme: dark;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--font-sans); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--navy); }
a:hover { color: var(--navyHover); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font-size: 34px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 21px; line-height: 1.3; font-weight: 700; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 700; }
p { margin: 0; }
code { font-size: .92em; background: var(--raised); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dp-muted { color: var(--ink3); }
.dp-ink2 { color: var(--ink2); }
.dp-small { font-size: 14px; }
.dp-row { display: flex; gap: var(--space-2); flex-wrap: wrap; align-items: center; }
.dp-stack { display: flex; flex-direction: column; gap: var(--space-3); }
.dp-stack-lg { display: flex; flex-direction: column; gap: var(--space-6); }
.dp-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); }
.dp-skiplink { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--raised); padding: 8px 12px; border-radius: 8px; }
.dp-skiplink:focus { left: 8px; }
.ic { width: 18px; height: 18px; flex: none; }
@media (max-width: 760px) { h1 { font-size: 26px; } }

/* ---------- top bar ---------- */
.dp-top { display: flex; align-items: center; gap: 16px; padding: 10px 24px; background: var(--surface); border-bottom: 1px solid var(--line); min-height: 64px; position: relative; z-index: 20; }
.dp-mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 17px; white-space: nowrap; }
.dp-mark:hover { color: var(--ink); }
.dp-mark img { display: block; flex: none; }
.dp-org { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding: 0 12px; min-height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--raised); color: var(--ink); text-decoration: none; cursor: pointer; max-width: 320px; }
.dp-org span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-org svg { color: var(--ink3); flex: none; }
.dp-nav { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; }
.dp-nav a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; color: var(--ink2); text-decoration: none; }
.dp-nav a:hover { background: var(--paper); color: var(--ink); }
.dp-nav a[aria-current="page"] { background: var(--navySoft); color: var(--navy); }
.dp-av { width: 32px; height: 32px; border-radius: 50%; background: var(--coralSoft); color: var(--coral); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex: none; border: 0; }
.dp-av.teal { background: var(--navySoft); color: var(--navy); }
.dp-av.grey { background: var(--greySoft); color: var(--grey); }
summary.dp-av, button.dp-av { cursor: pointer; width: 40px; height: 40px; }
.dp-tabbar { display: none; }
@media (max-width: 760px) {
  .dp-top { padding: 8px 16px; gap: 10px; min-height: 56px; }
  .dp-top .dp-nav { display: none; }
  .dp-top .dp-spacer { flex: 1; }
  .dp-org { max-width: 200px; }
  .dp-tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--surface); border-top: 1px solid var(--line); padding: 6px 8px calc(8px + env(safe-area-inset-bottom)); }
  .dp-tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 48px; text-decoration: none; color: var(--ink3); font-size: 12px; font-weight: 600; }
  .dp-tabbar a[aria-current="page"] { color: var(--navy); font-weight: 700; }
  body.has-tabbar { padding-bottom: 76px; }
}

/* "…" style menus built on <details> */
.dp-menu { position: relative; }
.dp-menu > summary { list-style: none; }
.dp-menu > summary::-webkit-details-marker { display: none; }
.dp-menu-list { position: absolute; top: calc(100% + 6px); z-index: 40; min-width: 220px; background: var(--raised); border: 1px solid var(--line2); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 6px; display: flex; flex-direction: column; }
.dp-menu-list.end { right: 0; }
.dp-menu-list form { margin: 0; }
.dp-menu-list a, .dp-menu-list button { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--radius-sm); background: transparent; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; color: var(--ink); white-space: nowrap; text-align: left; }
.dp-menu-list a:hover, .dp-menu-list button:hover { background: var(--paper); color: var(--ink); }
.dp-menu-list a[aria-current="page"] { color: var(--navy); }
.dp-menu-list .head { padding: 8px 12px 6px; font-size: 13px; color: var(--ink3); border-bottom: 1px solid var(--line); margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; }
.dp-menu-list hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; width: 100%; }
.dp-menu-list .danger { color: var(--red); }

/* ---------- page frame ---------- */
.dp-page { max-width: 1080px; margin: 0 auto; padding: 32px 40px 80px; display: flex; flex-direction: column; gap: 24px; }
.dp-page.wide { max-width: 1200px; }
.dp-page.narrow { max-width: 760px; }
.dp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dp-head > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dp-head p { color: var(--ink2); }
.dp-crumb { font-size: 14px; text-decoration: none; }
.dp-split { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.dp-split > .main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.dp-split > .side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.dp-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .dp-grid3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .dp-page { padding: 20px 16px 40px; gap: 16px; } .dp-split { gap: 16px; } .dp-split > .main, .dp-split > .side { gap: 16px; } }

/* The campaign header band: name, status, main actions and the tabs */
.dp-band { background: var(--surface); border-bottom: 1px solid var(--line); }
.dp-band-in { max-width: 1200px; margin: 0 auto; padding: 20px 40px 0; display: flex; flex-direction: column; gap: 14px; }
.dp-band .title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dp-band .meta { color: var(--ink2); font-size: 15px; }
.dp-band .acts { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.dp-band .why { font-size: 13px; color: var(--ink3); text-align: right; max-width: 280px; }
.dp-tabs { display: flex; gap: 22px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.dp-tabs a { padding: 10px 0; font-weight: 600; color: var(--ink3); border-bottom: 2.5px solid transparent; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.dp-tabs a:hover { color: var(--ink); }
.dp-tabs a[aria-current="page"] { color: var(--ink); border-color: var(--navy); }
.dp-tabs .count { font-size: 12px; font-weight: 700; background: var(--redSoft); color: var(--red); border-radius: var(--radius-pill); padding: 1px 7px; }
@media (max-width: 760px) {
  .dp-band-in { padding: 16px 16px 0; gap: 10px; }
  .dp-band .acts { align-items: stretch; width: 100%; }
  .dp-band .acts .dp-row > * { flex: 1; }
  .dp-band .acts .dp-row > details { flex: 0 0 auto; }
  .dp-band .why { text-align: left; max-width: none; }
  .dp-tabs { gap: 18px; margin: 0 -16px; padding: 0 16px; }
}

/* ---------- buttons ---------- */
.dp-btn { min-height: var(--tap-min); padding: 0 18px; border-radius: var(--radius-md); border: 1px solid var(--line2); background: var(--raised); color: var(--ink);
  font: 600 15px/1.1 var(--font-sans); display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.dp-btn:hover { border-color: var(--ink3); color: var(--ink); }
.dp-btn.pri { background: var(--navy); border-color: var(--navy); color: var(--onNavy); }
.dp-btn.pri:hover { background: var(--navyHover); border-color: var(--navyHover); color: var(--onNavy); }
.dp-btn.quiet { background: transparent; border-color: transparent; color: var(--navy); padding: 0 10px; }
.dp-btn.quiet:hover { background: var(--navySoft); }
.dp-btn.danger { background: var(--red); border-color: var(--red); color: var(--surface); }
.dp-btn.danger:hover { opacity: .9; color: var(--surface); }
.dp-btn.quiet.danger { background: transparent; border-color: transparent; color: var(--red); }
.dp-btn.quiet.danger:hover { background: var(--redSoft); }
.dp-btn:disabled, .dp-btn.off { background: transparent; border: 1.5px dashed var(--line2); color: var(--ink3); cursor: not-allowed; }
.dp-btn.lg { min-height: var(--button-lg); font-size: 17px; border-radius: var(--radius-lg); padding: 0 24px; }
.dp-btn.sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.dp-btn.block { width: 100%; }
.dp-btn[aria-busy="true"] { opacity: .7; cursor: progress; }
form.inline { display: inline; margin: 0; }

/* ---------- status pills ---------- */
.dp-pill { display: inline-flex; align-items: center; gap: 6px; font: 700 13px/1.3 var(--font-sans); padding: 3px 10px; border-radius: var(--radius-pill); white-space: nowrap; }
.dp-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.dp-pill.sent, .dp-pill.running, .dp-pill.ready, .dp-pill.finished { background: var(--greenSoft); color: var(--green); }
.dp-pill.waiting, .dp-pill.draft, .dp-pill.paused { background: var(--greySoft); color: var(--grey); }
.dp-pill.sending { background: var(--navySoft); color: var(--navy); }
.dp-pill.failed { background: var(--redSoft); color: var(--red); }
.dp-pill.fix { background: var(--amberSoft); color: var(--amber); }
.dp-pill.wa { background: var(--bubble); color: var(--whatsapp); }
.dp-pill.text { background: var(--navySoft); color: var(--navy); }
.dp-pill.skipped { background: transparent; color: var(--ink3); border: 1.5px dashed var(--line2); padding: 1.5px 8.5px; }
.dp-pill.running::before { animation: dp-pulse 1.6s ease-in-out infinite; }
@keyframes dp-pulse { 50% { opacity: .35; } }

/* ---------- cards ---------- */
.dp-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.dp-card.raised { box-shadow: var(--shadow-card); }
.dp-card.flush { padding: 8px 20px; gap: 0; }
.dp-card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.dp-card-head h2, .dp-card-head h3 { font-size: 19px; }
.dp-card-head a { font-weight: 600; font-size: 15px; }
@media (max-width: 760px) { .dp-card { padding: 16px; } }

/* ---------- progress ---------- */
.dp-stat { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dp-stat b { font: 700 44px/1 var(--font-sans); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.dp-stat span { color: var(--ink2); }
.dp-estimate { display: grid; gap: 4px; }
.dp-estimate p { margin: 0; }
@media (max-width: 760px) { .dp-stat b { font-size: 38px; } }
.dp-bar { display: flex; height: 14px; border-radius: var(--radius-pill); overflow: hidden; background: var(--greySoft); }
.dp-bar.thin { height: 8px; }
.dp-bar i { display: block; height: 100%; transition: width .4s ease; }
.dp-bar .wa { background: var(--whatsapp); } .dp-bar .sms { background: var(--green); } .dp-bar .now { background: var(--navy); } .dp-bar .bad { background: var(--red); }
.dp-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--ink2); }
.dp-legend span { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.dp-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.dp-legend .wa { background: var(--whatsapp); } .dp-legend .sms { background: var(--green); } .dp-legend .now { background: var(--navy); }
.dp-legend .bad { background: var(--red); } .dp-legend .wait { background: var(--greySoft); border: 1px solid var(--line2); }

/* ---------- setup checklist ---------- */
.dp-steps { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.dp-steps li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.dp-steps li:first-child { border-top: 0; padding-top: 0; }
.dp-steps .n { width: 28px; height: 28px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; border: 2px solid var(--line2); color: var(--ink3); }
.dp-steps .done .n { background: var(--green); border-color: var(--green); color: var(--surface); }
.dp-steps .now .n { border-color: var(--navy); color: var(--navy); }
.dp-steps .t { flex: 1; min-width: 200px; display: flex; flex-direction: column; }
.dp-steps .t b { font-weight: 700; }
.dp-steps .done .t b { color: var(--ink2); }
.dp-steps .t small { color: var(--ink3); font-size: 14px; }

/* ---------- forms ---------- */
.dp-form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.dp-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dp-field > label, .dp-label { font-weight: 700; }
.dp-input { width: 100%; min-height: var(--field-height); border: 1px solid var(--line2); border-radius: var(--radius-md); background: var(--raised); padding: 0 14px; font: 16px var(--font-sans); color: var(--ink); }
textarea.dp-input { padding: 12px 14px; line-height: 1.5; resize: vertical; min-height: 140px; }
select.dp-input { padding-right: 8px; }
.dp-input:focus { outline: 3px solid var(--navy); outline-offset: 2px; }
.dp-input[aria-invalid="true"] { border-color: var(--red); }
.dp-input.sm { min-height: 40px; }
.dp-help { font-size: 15px; color: var(--ink2); }
.dp-err-text { font-size: 15px; font-weight: 600; color: var(--red); }
.dp-inline { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.dp-inline > .dp-field { flex: 1 1 220px; }
.dp-fields2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .dp-fields2 { grid-template-columns: minmax(0, 1fr); } }
fieldset.dp-field { border: 0; padding: 0; margin: 0; }
fieldset.dp-field legend { font-weight: 700; padding: 0; margin-bottom: 8px; }
.dp-days { display: flex; gap: 6px; flex-wrap: wrap; }
.dp-days label { position: relative; }
.dp-days input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dp-days span { min-width: 56px; min-height: var(--tap-min); padding: 0 12px; border-radius: var(--radius-pill); border: 1px solid var(--line2); background: var(--raised); color: var(--ink2); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.dp-days input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--onNavy); }
.dp-days input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.dp-check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; cursor: pointer; }
.dp-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }

/* ---------- notices ---------- */
.dp-notice { display: flex; gap: 10px; align-items: center; border-radius: var(--radius-md); padding: 12px 14px; font-size: 15px; flex-wrap: wrap; background: var(--navySoft); color: var(--ink); }
.dp-notice .msg { flex: 1; min-width: 200px; }
.dp-notice.warn { background: var(--amberSoft); }
.dp-notice.warn b { color: var(--amber); }
.dp-notice.error { background: var(--redSoft); }
.dp-notice.error b, .dp-notice.error .msg { color: var(--red); }
.dp-notice.error .msg { font-weight: 600; }
.dp-notice ul { margin: 0; padding-left: 20px; }
.dp-notice form { margin: 0; }

/* ---------- filter chips ---------- */
.dp-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.dp-chip { min-height: 36px; padding: 0 12px; border-radius: var(--radius-pill); border: 1px solid var(--line2); background: var(--raised); color: var(--ink2);
  font: 600 14px/1 var(--font-sans); font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.dp-chip:hover { border-color: var(--ink3); color: var(--ink); }
.dp-chip[aria-current="page"], .dp-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.dp-chip.alert { border-color: var(--red); color: var(--red); }
.dp-chip.alert[aria-current="page"] { background: var(--red); border-color: var(--red); color: var(--surface); }
@media (max-width: 760px) { .dp-chips.scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; } }

/* ---------- lists and tables ---------- */
.dp-scroll { overflow-x: auto; }
.dp-list { width: 100%; border-collapse: collapse; font-size: 15px; }
.dp-list th { text-align: left; font: 700 13px/1.3 var(--font-sans); letter-spacing: .05em; text-transform: uppercase; color: var(--ink3); padding: 4px 12px 10px; border-bottom: 1px solid var(--line2); white-space: nowrap; }
.dp-list th a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.dp-list th a:hover, .dp-list th[aria-sort] a { color: var(--ink); }
.dp-list td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dp-list tr:last-child td { border-bottom: 0; }
.dp-list .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dp-list .nm { font-weight: 700; color: var(--ink); text-decoration: none; display: block; }
.dp-list a.nm:hover { color: var(--navy); text-decoration: underline; }
.dp-list td small { display: block; color: var(--ink3); font-size: 14px; }
.dp-list .act { text-align: right; white-space: nowrap; }
.dp-list .act form { display: inline; margin: 0; }
.dp-list .det { color: var(--ink2); }
.dp-list .clip { max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-list .empty { color: var(--ink3); text-align: center; padding: 28px 12px; }
@media (max-width: 640px) {
  .dp-list thead { display: none; }
  .dp-list, .dp-list tbody, .dp-list tr, .dp-list td { display: block; width: 100%; }
  .dp-list tr { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .dp-list tr:last-child { border-bottom: 0; }
  .dp-list td { padding: 0; border: 0; grid-column: 1 / -1; }
  .dp-list td:first-child { grid-column: 1; }
  .dp-list td.st { grid-column: 2; grid-row: 1; text-align: right; }
  .dp-list td.num, .dp-list td.wide { display: none; }
  .dp-list td.act { text-align: left; }
  .dp-list td.act:empty { display: none; }
  .dp-list .clip { max-width: none; white-space: normal; }
  .dp-list td.empty { grid-column: 1 / -1; }
}
/* Rows of people, campaigns or connections as links */
.dp-rows { display: flex; flex-direction: column; }
.dp-rows > * { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.dp-rows > *:first-child { border-top: 0; }
.dp-rows .grow { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; }
.dp-rows .grow small { color: var(--ink3); font-size: 14px; }
.dp-rows form { margin: 0; }
a.dp-camp { text-decoration: none; color: var(--ink); gap: 20px; }
a.dp-camp:hover .cname { color: var(--navy); text-decoration: underline; }
.dp-camp .cname { font-size: 18px; font-weight: 700; }
.dp-camp .prog { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; }
.dp-camp .prog span { font-size: 14px; color: var(--ink2); font-variant-numeric: tabular-nums; }
.dp-camp .next { flex: 0 0 190px; text-align: right; font-weight: 600; color: var(--navy); font-size: 15px; }
@media (max-width: 640px) { .dp-camp .next { flex-basis: 100%; text-align: left; } }

/* Attention list, people and the live feed */
.dp-attn > div { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.dp-attn > div:first-child { border-top: 0; padding-top: 0; }
.dp-attn .t { flex: 1; min-width: 220px; display: flex; flex-direction: column; }
.dp-attn .t small { color: var(--ink3); font-size: 14px; }
.dp-attn form { margin: 0; }
.dp-person { display: flex; align-items: center; gap: 10px; }
.dp-person .n { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dp-person .n b { font-size: 15px; overflow-wrap: anywhere; }
.dp-person .n small { color: var(--ink3); font-size: 13px; }
.dp-feed { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink2); }
.dp-feed li { display: flex; gap: 10px; min-width: 0; }
.dp-feed span { min-width: 0; overflow-wrap: anywhere; }
.dp-feed time { color: var(--ink3); font-variant-numeric: tabular-nums; flex: none; min-width: 56px; }
.dp-feed li.fresh { animation: dp-fresh 2s ease-out; }
@keyframes dp-fresh { from { background: var(--navySoft); } to { background: transparent; } }
.dp-dl { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.dp-dl div { display: flex; justify-content: space-between; gap: 12px; }
.dp-dl dt { color: var(--ink2); }
.dp-dl dd { margin: 0; font-weight: 700; text-align: right; }

/* ---------- message editor and preview ---------- */
.dp-tok { display: inline-flex; align-items: center; padding: 0 7px; border-radius: 6px; background: var(--navySoft); color: var(--navy); font-weight: 700; font-size: .92em; white-space: nowrap; line-height: 1.6; }
.dp-tok.missing { background: var(--amberSoft); color: var(--amber); }
.dp-phone { width: 300px; max-width: 100%; border-radius: 34px; border: 10px solid var(--ink); background: var(--chat); padding: 14px 12px 18px; display: flex; flex-direction: column; gap: 8px; min-height: 300px; }
.dp-phone .hdr { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.dp-phone .hdr .av { width: 28px; height: 28px; border-radius: 50%; background: var(--navySoft); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 12px; flex: none; }
.dp-phone .hdr small { display: block; font-weight: 400; font-size: 12px; color: var(--ink3); }
.dp-phone .day { align-self: center; font-size: 11px; color: var(--ink3); padding: 4px 0; }
.dp-bubble { align-self: flex-end; max-width: 92%; background: var(--bubble); color: var(--ink); padding: 8px 10px 6px; border-radius: 12px 12px 2px 12px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.dp-bubble.sms { background: var(--navy); color: var(--onNavy); }
.dp-bubble small { display: block; text-align: right; font-size: 11px; opacity: .75; margin-top: 2px; }
.dp-bubble .gap { color: var(--amber); font-weight: 700; }
.dp-bubble.sms .gap { color: var(--onNavy); text-decoration: underline; }
.dp-seg { display: inline-flex; padding: 3px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line2); gap: 3px; }
.dp-seg button { min-height: 38px; padding: 0 14px; border-radius: 9px; border: 0; background: transparent; font: 600 15px var(--font-sans); color: var(--ink2); cursor: pointer; }
.dp-seg button[aria-checked="true"] { background: var(--raised); color: var(--ink); box-shadow: 0 0 0 1.5px var(--navy); }
.dp-seg.sm { padding: 2px; gap: 2px; flex-wrap: nowrap; }
.dp-seg.sm button { min-height: 32px; padding: 0 9px; font-size: 13px; white-space: nowrap; }
.dp-chip.sm { min-height: 32px; padding: 0 10px; font-size: 13px; white-space: nowrap; vertical-align: middle; }
/* A dense table to fit one line per row on a laptop (Troubleshoot names). */
.dp-page.wider { max-width: 1440px; }
.dp-list.tight { font-size: 14px; }
.dp-list.tight th { padding: 4px 6px 8px; font-size: 11.5px; letter-spacing: .03em; white-space: normal; }
.dp-list.tight td { padding: 8px 6px; }
.dp-list.tight td small { font-size: 12.5px; }
.dp-list.tight .dp-seg.sm button { min-height: 30px; padding: 0 7px; font-size: 12.5px; }
.dp-list.tight .dp-chip.sm { min-height: 30px; padding: 0 8px; font-size: 12.5px; }
.dp-list.tight input[name="first_name"] { width: 9em; }
.dp-list.tight .act .dp-btn.sm { padding-left: 10px; padding-right: 10px; }
.dp-preview { display: flex; flex-direction: column; align-items: center; gap: 14px; position: sticky; top: 20px; }
.dp-starters { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.dp-starters button { text-align: left; border: 1px solid var(--line2); background: var(--raised); border-radius: var(--radius-lg); padding: 12px 14px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
.dp-starters button:hover { border-color: var(--navy); }
.dp-starters b { font-size: 15px; }
.dp-starters span { font-size: 14px; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- dialog and toast ---------- */
dialog.dp-dialog { width: min(440px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); border: 1px solid var(--line2); border-radius: var(--radius-xl); padding: 24px; box-shadow: var(--shadow-card); }
dialog.dp-dialog::backdrop { background: rgba(20, 18, 14, .45); }
.dp-dialog h2 { font-size: 19px; margin-bottom: 8px; }
.dp-dialog p { color: var(--ink2); font-size: 15px; }
.dp-dialog .acts { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 18px; }
.dp-dialog.wide { width: min(560px, calc(100vw - 32px)); }
.dp-toasts { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; display: flex; flex-direction: column; gap: 8px; align-items: center; width: max-content; max-width: calc(100vw - 32px); }
.dp-toast { display: inline-flex; align-items: center; gap: 14px; background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: 12px 16px; font-weight: 600; font-size: 15px; box-shadow: var(--shadow-card); animation: dp-up .25s ease-out; }
.dp-toast button { border: 0; background: transparent; color: var(--paper); font: 700 15px var(--font-sans); cursor: pointer; padding: 4px 6px; min-height: 32px; }
@keyframes dp-up { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 760px) { .has-tabbar .dp-toasts { bottom: calc(88px + env(safe-area-inset-bottom)); } }
.dp-qr { background: #FFFFFF; padding: 12px; border-radius: var(--radius-lg); width: 264px; max-width: 100%; }
.dp-qr svg, .dp-qr img { display: block; width: 100%; height: auto; }

/* ---------- empty state and the finish line ---------- */
.dp-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 32px 20px; }
.dp-empty h2 { font-size: 21px; }
.dp-empty p { color: var(--ink2); max-width: 420px; font-size: 15px; }
.dp-empty .dp-row { justify-content: center; margin-top: 6px; }
.dp-done { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 24px; padding: 28px; }
.dp-done .txt { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.dp-done .lead { font-size: 19px; color: var(--ink2); }
.dp-done .lead b { color: var(--ink); }
.dp-heart { animation: dp-beat 1.2s ease-out 1 .3s both; transform-origin: 40% 45%; flex: none; }
@keyframes dp-beat { 0% { transform: scale(1); } 25% { transform: scale(1.12); } 45% { transform: scale(.96); } 65% { transform: scale(1.06); } 100% { transform: scale(1); } }

/* ---------- sign-in and other single-box pages ---------- */
.dp-auth { min-height: 100vh; padding: 56px 16px 32px; display: flex; flex-direction: column; align-items: center; }
.dp-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-2xl); box-shadow: var(--shadow-card); padding: 36px 32px; display: flex; flex-direction: column; gap: 18px; width: 100%; max-width: 420px; }
.dp-box.wide { max-width: 640px; }
.dp-box h1 { font-size: 24px; line-height: 1.25; text-align: center; }
.dp-box h2 { font-size: 19px; }
.dp-box .dp-btn { width: 100%; }
.dp-box .dp-btn.lg { min-height: var(--button-lg); }
.dp-box .center { text-align: center; }
.dp-box .note { font-size: 14px; color: var(--ink3); text-align: center; }
.dp-box ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.dp-box .mark { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 18px; align-self: center; }
.dp-roundic { width: 56px; height: 56px; border-radius: 50%; background: var(--navySoft); color: var(--navy); display: flex; align-items: center; justify-content: center; align-self: center; }
.dp-foot { text-align: center; font-size: 14px; color: var(--ink3); }
@media (max-width: 480px) { .dp-auth { padding-top: 24px; } .dp-box { padding: 28px 20px; } }
.dp-prose { display: flex; flex-direction: column; gap: 12px; }
.dp-prose h2 { margin-top: 12px; }
.dp-prose p, .dp-prose li { color: var(--ink2); }

/* ---------- public home page ---------- */
.dp-land { max-width: 1120px; margin: 0 auto; padding: 0 24px 48px; display: flex; flex-direction: column; gap: 56px; }
.dp-land-top { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.dp-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-top: 24px; }
.dp-hero h1 { font-size: 52px; line-height: 1.05; letter-spacing: -0.02em; }
.dp-hero .lead { font-size: 21px; line-height: 1.5; color: var(--ink2); max-width: 540px; }
.dp-hero .txt { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.dp-hero .phone-wrap { display: flex; justify-content: center; }
.dp-hero .dp-phone { width: 320px; min-height: 420px; box-shadow: var(--shadow-card); }
.dp-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; margin: 0; padding: 0; list-style: none; }
.dp-flow li { display: flex; flex-direction: column; gap: 8px; border-top: 3px solid var(--coral); padding-top: 16px; }
.dp-flow li::before { counter-increment: step; content: counter(step); width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--onNavy); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.dp-flow p, .dp-trust p { color: var(--ink2); }
.dp-trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.dp-land-foot { text-align: center; color: var(--ink3); font-size: 15px; border-top: 1px solid var(--line); padding-top: 24px; }
@media (max-width: 860px) {
  .dp-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .dp-hero h1 { font-size: 38px; }
  .dp-hero .lead { font-size: 18px; }
  .dp-flow, .dp-trust { grid-template-columns: minmax(0, 1fr); }
  .dp-land { padding: 0 16px 40px; gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .dp-pill.running::before, .dp-heart, .dp-toast, .dp-feed li.fresh { animation: none; }
  .dp-bar i { transition: none; }
}
@media print { .dp-top, .dp-tabbar, .dp-toasts { display: none !important; } }
details.dp-card { display: block; }
details.dp-card > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; }
details.dp-card > summary::-webkit-details-marker { display: none; }
details.dp-card > summary::after { content: '▾'; color: var(--ink3); }
details.dp-card[open] > summary::after { content: '▴'; }

/* ---------- realistic phone previews (a picture of a phone: same colors in both themes) ---------- */
.pv-phone { width: 300px; max-width: 100%; height: 560px; border-radius: 42px; border: 10px solid #1C1B19; background: #EFEAE2; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 0 0 1.5px #3A3936, var(--shadow-card); font-family: -apple-system, "SF Pro Text", Roboto, "Segoe UI", var(--font-sans); color: #111B21; position: relative; }
.pv-phone::before { content: ''; position: absolute; top: 8px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 12px; background: #1C1B19; z-index: 3; }
.pv-status { display: flex; justify-content: space-between; align-items: center; padding: 10px 22px 6px; font-size: 13px; font-weight: 600; flex: none; }
.pv-icons { display: inline-flex; gap: 5px; align-items: center; }
.pv-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.pv-text .gap { font-weight: 700; color: #8A5A0B; background: #F8EDD6; border-radius: 4px; padding: 0 3px; }
.pv-text .empty { color: #8696A0; font-style: italic; }
/* WhatsApp */
.pv-phone[data-screen="whatsapp"] .pv-status { background: #008069; color: #FFFFFF; }
.pv-wa-head { display: flex; align-items: center; gap: 8px; padding: 6px 12px 10px 8px; background: #008069; color: #FFFFFF; flex: none; }
.pv-av { width: 34px; height: 34px; border-radius: 50%; background: #DFE5E7; color: #54656F; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; flex: none; }
.pv-who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.pv-who b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-who small { font-size: 12px; opacity: .85; }
.pv-wa-chat { flex: 1; overflow-y: auto; padding: 10px 10px 8px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  background-color: #EFEAE2; background-image: radial-gradient(rgba(0,0,0,.045) 1.2px, transparent 1.3px), radial-gradient(rgba(0,0,0,.03) 1.2px, transparent 1.3px);
  background-size: 22px 22px, 22px 22px; background-position: 0 0, 11px 11px; }
.pv-wa-chip { align-self: center; background: #FFFFFF; color: #54656F; font-size: 11.5px; padding: 4px 10px; border-radius: 8px; box-shadow: 0 1px .5px rgba(11,20,26,.13); text-transform: uppercase; letter-spacing: .02em; }
.pv-wa-note { align-self: center; max-width: 88%; text-align: center; background: #FFEECD; color: #54656F; font-size: 11px; line-height: 1.35; padding: 5px 10px; border-radius: 8px; }
.pv-wa-in { position: relative; max-width: 86%; background: #FFFFFF; border-radius: 0 8px 8px 8px; padding: 6px 8px 8px 9px; font-size: 14.2px; line-height: 1.4; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
.pv-wa-in::before { content: ''; position: absolute; top: 0; left: -8px; border-top: 0 solid transparent; border-right: 8px solid #FFFFFF; border-bottom: 10px solid transparent; }
.pv-wa-time { float: right; margin: 8px 0 -4px 10px; font-size: 11px; color: #667781; }
.pv-wa-out { align-self: flex-end; background: #D9FDD3; border-radius: 8px 0 8px 8px; }
.pv-wa-out::before { left: auto; right: -8px; border-right: 0; border-left: 8px solid #D9FDD3; }
.pv-wa-out .pv-wa-time::after { content: ' ✓✓'; color: #53BDEB; letter-spacing: -2px; }
.pv-wa-bar { display: flex; align-items: center; gap: 6px; padding: 6px 8px 14px; flex: none; background: transparent; }
.pv-wa-field { flex: 1; display: flex; align-items: center; gap: 8px; background: #FFFFFF; border-radius: 22px; padding: 8px 12px; color: #8696A0; font-size: 14px; }
.pv-wa-field span { flex: 1; }
.pv-wa-mic { width: 40px; height: 40px; border-radius: 50%; background: #00A884; display: flex; align-items: center; justify-content: center; flex: none; }
/* iPhone Messages */
.pv-ios { background: #FFFFFF; color: #000000; }
.pv-ios .pv-status { background: #F6F6F6; }
.pv-ios-head { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 2px 12px 9px; background: #F6F6F6; border-bottom: .5px solid #D1D1D6; flex: none; }
.pv-ios-back { position: absolute; left: 14px; top: 14px; }
.pv-ios-av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(#A5ABB8, #858994); color: #FFFFFF; font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.pv-ios-name { font-size: 11.5px; color: #000000; display: inline-flex; align-items: center; gap: 4px; max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-ios-chat { flex: 1; overflow-y: auto; padding: 12px 12px 8px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pv-ios-meta { align-self: center; text-align: center; font-size: 11px; color: #8E8E93; line-height: 1.35; margin-bottom: 4px; }
.pv-ios-in { position: relative; max-width: 78%; background: #E9E9EB; color: #000000; border-radius: 18px; padding: 7px 12px; font-size: 15px; line-height: 1.32; }
.pv-ios-in::before { content: ''; position: absolute; bottom: 0; left: -6px; width: 16px; height: 16px; background: #E9E9EB; border-bottom-right-radius: 14px; }
.pv-ios-in::after { content: ''; position: absolute; bottom: 0; left: -10px; width: 10px; height: 18px; background: #FFFFFF; border-bottom-right-radius: 10px; }
.pv-ios-bar { display: flex; align-items: center; gap: 8px; padding: 6px 10px 16px; flex: none; }
.pv-ios-plus { width: 30px; height: 30px; border-radius: 50%; background: #E9E9EB; color: #6C6C70; font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; flex: none; }
.pv-ios-field { flex: 1; display: flex; align-items: center; justify-content: space-between; border: 1px solid #D1D1D6; border-radius: 18px; padding: 6px 12px; color: #C4C4C7; font-size: 14px; }
.dp-hero .pv-phone { width: 320px; height: 520px; }
.pv-link { color: #027EB5; text-decoration: underline; }
.pv-ios .pv-link { color: inherit; }

/* ---------- phone page, one card per channel ---------- */
.dp-chan { border-top: 4px solid var(--navy); padding: var(--space-6); gap: var(--space-4); }
.dp-chan.wa { border-top-color: var(--whatsapp); }
.dp-chan h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dp-chan-today { color: var(--ink2); font-variant-numeric: tabular-nums; }
.dp-sect { display: flex; flex-direction: column; gap: var(--space-2); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.dp-choices { display: flex; flex-direction: column; gap: 6px; }
.dp-choice { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--raised); cursor: pointer; }
.dp-choice:has(input:checked) { border-color: var(--navy); background: var(--navySoft); }
.dp-choice > input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.dp-choice small { display: block; color: var(--ink3); font-size: 14px; }
.dp-choice .dp-pct { width: 4.5em; min-height: 34px; border: 1px solid var(--line2); border-radius: var(--radius-sm); padding: 0 6px; background: var(--raised); }
.dp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--space-2); }
.dp-fact { background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 10px 12px; }
.dp-fact b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.dp-fact span { font-size: 14px; color: var(--ink3); }
.dp-inline { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.dp-inline .dp-input { width: 7em; }
.dp-setup-done { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dp-setup-done .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: var(--surface); display: inline-grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }

/* ---------- campaign page: a box per phone ---------- */
.dp-phonebox { margin-left: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--raised); padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dp-phonebox .top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.dp-phonebox .top b { font-size: 15px; overflow-wrap: anywhere; }
.dp-chanline { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "nm pill" "ct ct"; column-gap: 8px; row-gap: 0; align-items: center; font-size: 14px; padding-top: 6px; border-top: 1px solid var(--line); }
.dp-chanline .dp-pill { grid-area: pill; }
.dp-chanline .nm { grid-area: nm; font-weight: 700; }
.dp-chanline .nm.wa { color: var(--whatsapp); }
.dp-chanline .ct { grid-area: ct; min-width: 0; font-variant-numeric: tabular-nums; }
.dp-chanline .who { color: var(--ink3); font-size: 13px; }
.dp-change summary { cursor: pointer; color: var(--navy); font-weight: 600; font-size: 13px; }
.dp-change .lbl { font-size: 13px; font-weight: 700; flex-basis: 100%; }
.dp-change .dp-pct { width: 4.2em; min-height: 36px; border: 1px solid var(--line2); border-radius: var(--radius-sm); padding: 0 6px; background: var(--raised); }
.dp-select.sm { min-height: 36px; border: 1px solid var(--line2); border-radius: var(--radius-sm); padding: 0 6px; background: var(--raised); font-size: 14px; max-width: 100%; }
.dp-waslit { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--line); }
.dp-waslit i { display: block; height: 100%; }
.dp-legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--ink2); }
.dp-legend span::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; background: var(--c); }
.dp-kv { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; padding: 6px 0; border-top: 1px solid var(--line); }
.dp-kv b, .dp-kv a { font-variant-numeric: tabular-nums; font-weight: 700; }
.dp-change form:not(:has(option[value="mix"]:checked)) .dp-pct { display: none; }

/* ---------- the ask's four versions, as a grid ---------- */
.dp-vgrid { display: grid; grid-template-columns: auto 1fr 1fr; grid-template-areas: ". hw ht" "rk wa_known sms_known" "rn wa_new sms_new"; gap: 6px; align-items: stretch; }
.dp-vgrid .h { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink3); padding: 0 4px; align-self: end; }
.dp-vgrid .rh { font-size: 14px; font-weight: 700; align-self: center; padding-right: 4px; max-width: 7.5em; }
.dp-vgrid .cell { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; min-height: 60px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--raised); color: var(--ink); cursor: pointer; min-width: 0; }
.dp-vgrid .cell b { font-size: 14px; }
.dp-vgrid .cell small { font-size: 13px; color: var(--ink3); }
.dp-vgrid .cell small.own { color: var(--green); }
.dp-vgrid .cell[aria-pressed="true"] { border: 2px solid var(--navy); background: var(--navySoft); padding: 7px 9px; }
.dp-same { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; border: 1.5px dashed var(--line2); border-radius: var(--radius-md); padding: 12px 14px; color: var(--ink2); }

/* ---------- campaign settings: sections down the page ---------- */
.dp-jump { display: flex; gap: 6px; flex-wrap: wrap; }
.dp-jump a { font-size: 14px; font-weight: 600; text-decoration: none; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--navySoft); color: var(--navy); }
.dp-setgroup { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.dp-setcard { padding: 24px; gap: 16px; scroll-margin-top: 16px; }
.dp-setcard > .dp-help:first-of-type { margin-top: -10px; }
.dp-setcard.danger { border-color: var(--red); }
.dp-savebar { position: sticky; bottom: 12px; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px 14px; box-shadow: var(--shadow-card); }
@media (max-width: 760px) { .dp-savebar { bottom: calc(76px + env(safe-area-inset-bottom)); justify-content: flex-end; padding: 8px 10px; } .dp-savebar > span { display: none; } }

/* ---------- campaign overview: status first ---------- */
.dp-status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px 16px; }
.dp-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grey); flex: none; }
.dp-dot.on { background: var(--green); box-shadow: 0 0 0 4px var(--greenSoft); animation: dp-pulse 1.6s ease-in-out infinite; }
.dp-dot.done { background: var(--navy); }
.dp-status-more summary { cursor: pointer; color: var(--navy); font-weight: 600; font-size: 14px; }
.dp-status-more[open] { flex-basis: 100%; order: 9; }
.dp-status-more p { margin-top: 6px; max-width: 70ch; }
.dp-status-sheet { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.dp-status-sheet .bad { color: var(--red); font-weight: 700; font-size: 14px; }
.dp-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dp-tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .dp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dp-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); }
.dp-tile b { font-size: 30px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.dp-tile b small { font-size: 16px; color: var(--ink3); font-weight: 600; }
.dp-tile span { font-size: 14px; color: var(--ink3); }
.dp-tile-lead { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 16px; margin-bottom: 12px; }
.dp-tile-lead b { font-size: 38px; }
.dp-tile-lead > div { display: flex; flex-direction: column; gap: 2px; }
.dp-tile-lead .right { text-align: right; align-items: flex-end; }
.dp-tile-lead .dp-bar { flex-basis: 100%; }
a.dp-tile.warn { border-color: var(--amber); background: var(--amberSoft); }
a.dp-tile.warn b, a.dp-tile.warn span { color: var(--amber); }
.dp-msgrows { display: flex; flex-direction: column; gap: 8px; }
.dp-msgrow { display: grid; grid-template-columns: 7em minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 15px; padding-top: 8px; border-top: 1px solid var(--line); }
.dp-msgrow:first-child { border-top: 0; padding-top: 0; }
.dp-msgrow .dp-bar { height: 8px; }
.dp-msgrow .n { font-variant-numeric: tabular-nums; color: var(--ink2); display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
@media (max-width: 520px) { .dp-msgrow { grid-template-columns: 1fr auto; } .dp-msgrow .dp-bar { grid-column: 1 / -1; order: 3; } }
.dp-wafold > summary { cursor: pointer; list-style: none; display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); font-size: 15px; }
.dp-wafold > summary::-webkit-details-marker { display: none; }
.dp-wafold > summary::before { content: '▸'; color: var(--navy); }
.dp-wafold[open] > summary::before { content: '▾'; }
.dp-wafold[open] > summary { margin-bottom: 12px; }

/* The plan page: a stage's rules, one line per channel, and what it sent. */
.dp-stage-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.dp-stage-rules li { display: flex; gap: 12px; align-items: baseline; }
.dp-stage-rules b { flex: none; min-width: 74px; }
.dp-stage-rules span { color: var(--ink2); min-width: 0; overflow-wrap: anywhere; }
.dp-stage-counts { font-variant-numeric: tabular-nums; }
/* The stage form: "Those people plus [10]% new people" breaks only before the box, and the
   two ask amounts sit side by side, "from $ [ ] to $ [ ]", down to 320px. */
.dp-plusnew { display: flex; flex-wrap: wrap; align-items: center; column-gap: 6px; row-gap: 4px; }
.dp-nowrap { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.dp-plusnew .dp-pct { width: 4em; }
.dp-amounts { display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; }
.dp-amounts .dp-input { width: 100%; min-width: 0; }

/* The plan page's phone by phone timeline: a box that scrolls sideways, with the phone names in
   a column that stays put; two sub-rows per phone (WhatsApp, text) on one clock, bars placed by
   the server. Only the box is wider than the page. */
/* The phone checkboxes: small chips, several to a line. */
.dp-tl-picks { display: flex; flex-flow: row wrap; gap: 6px; }
.dp-tl-pick { flex: 0 1 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; max-width: 100%; padding: 0 10px; border: 1px solid var(--line2); border-radius: var(--radius-pill); background: var(--raised); font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; }
.dp-tl-pick input { width: 16px; height: 16px; margin: 0; accent-color: var(--navy); flex: none; }
.dp-tl-box { overflow-x: auto; max-width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.dp-tl { padding: 6px 0 10px; }
.dp-tl-row { display: grid; grid-template-columns: 104px auto; }
.dp-tl-lbl { position: sticky; left: 0; z-index: 5; background: var(--surface); display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr 1fr; align-items: center; column-gap: 4px; padding: 0 6px 0 10px; font-size: 13px; line-height: 1.15; font-weight: 700; border-right: 1px solid var(--line); }
.dp-tl-lbl .nm { grid-row: 1 / 3; overflow-wrap: anywhere; }
.dp-tl-lbl .ch { font-size: 10px; font-weight: 600; color: var(--ink3); text-transform: uppercase; letter-spacing: .04em; }
.dp-tl-track { position: relative; height: 64px; }
.dp-tl-lane { border-top: 1px solid var(--line); }
.dp-tl-lane .dp-tl-track::after { content: ''; position: absolute; left: 0; right: 0; top: 32px; border-top: 1px dotted var(--line2); pointer-events: none; }
.dp-tl-axis .dp-tl-track { height: 24px; font-size: 12px; color: var(--ink3); }
.dp-tl-stagerow .dp-tl-track { height: 18px; }
.dp-tl-tick { position: absolute; top: 3px; white-space: nowrap; padding-left: 4px; border-left: 1px solid var(--line2); }
/* A stage's name starts at its line and runs right, so the first one is never cut off. */
.dp-tl-stagename { position: absolute; top: 0; padding-left: 4px; font-size: 12px; font-weight: 700; color: var(--ink2); white-space: nowrap; }
.dp-tl-gap { position: absolute; top: 0; bottom: 0; background: var(--greySoft); }
.dp-tl-now { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--coral); z-index: 3; pointer-events: none; }
.dp-tl-stage { position: absolute; top: 0; bottom: 0; border-left: 2px dashed var(--ink3); z-index: 2; pointer-events: none; }
.dp-tl-bar { position: absolute; top: 4px; height: 24px; border-radius: 6px; padding: 0 6px; font: 600 12px/24px var(--font-sans); white-space: nowrap; overflow: hidden; text-decoration: none; z-index: 1; }
.dp-tl-bar.r2 { top: 36px; }
.dp-tl-bar:focus-visible, .dp-tl-bar.sel { outline: 3px solid var(--ink); outline-offset: 1px; z-index: 4; }
.dp-tl-bar.wa, .dp-tl-sw.wa { background-color: var(--tlWa); color: var(--onTl); }
.dp-tl-bar.wa.new, .dp-tl-sw.wa.new { background-color: var(--tlWaNew); color: var(--onTlWaNew); }
.dp-tl-bar.tx, .dp-tl-sw.tx { background-color: var(--tlTx); color: var(--onTl); }
.dp-tl-bar.tx.new, .dp-tl-sw.tx.new { background-color: var(--tlTxNew); color: var(--onTlTxNew); }
.dp-tl-bar.wt, .dp-tl-sw.wt { background-color: var(--amberSoft); color: var(--amber); border: 1px dashed var(--amber); line-height: 22px; }
.dp-tl-bar.off, .dp-tl-sw.off { background-color: var(--greySoft); color: var(--grey); }
.dp-tl-bar.plan, .dp-tl-sw.plan { opacity: .55; background-image: repeating-linear-gradient(135deg, transparent 0 5px, var(--tlHatch) 5px 7px); }
.dp-tl-details { background: var(--navySoft); border-radius: var(--radius-md); padding: 10px 14px; font-size: 15px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.dp-tl-d { display: none; }
.dp-tl-d:target, .dp-tl-d.on { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.dp-tl-details:has(.dp-tl-d:target) .dp-tl-hint, .dp-tl-details.picked .dp-tl-hint { display: none; }
.dp-tl-details.picked .dp-tl-d:target:not(.on) { display: none; }
.dp-tl-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink2); }
.dp-tl-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dp-tl-sw { display: inline-block; width: 18px; height: 10px; border-radius: 3px; }
.dp-tl-sw.gap { width: 10px; height: 14px; border-radius: 0; background: var(--greySoft); }
.dp-tl-sw.nowsw { width: 3px; height: 14px; border-radius: 0; background: var(--coral); }
.dp-tl-sw.stagesw { width: 3px; height: 14px; border-radius: 0; border-left: 2px dashed var(--ink3); }
.dp-tl-phones { display: flex; flex-direction: column; gap: 10px; }
.dp-tl-phone { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--raised); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.dp-tl-phone p { font-size: 15px; color: var(--ink2); }
.dp-tl-phone .why { font-size: 14px; color: var(--ink3); }
/* What is planned: the header's line, who is next, and the expected lines between stages */
.dp-outlook { font-weight: 600; font-variant-numeric: tabular-nums; }
.dp-next { background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius-md); }
.dp-next > summary { cursor: pointer; padding: 0 12px; min-height: var(--tap-min); display: flex; align-items: center; font-weight: 600; color: var(--navy); }
.dp-next > summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.dp-next[open] > summary { border-bottom: 1px solid var(--line); }
.dp-next > p { padding: 8px 12px 12px; }
.dp-next-list { list-style: none; margin: 0; padding: 0; }
.dp-next .dp-next-list { padding: 0 12px; }
.dp-next-p { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.dp-next-p .nm { font-weight: 700; overflow-wrap: anywhere; }
.dp-next-p .at { color: var(--ink2); white-space: nowrap; text-align: right; }
.dp-next-p .det { grid-column: 1 / -1; font-size: 14px; color: var(--ink3); overflow-wrap: anywhere; }
/* The stage form's comparison: now and with the change typed. Short values sit in two
   columns; the two lists of next people stack when they don't fit side by side. */
.dp-compare { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--raised); font-variant-numeric: tabular-nums; min-width: 0; }
.dp-compare:focus { outline: none; }
.dp-compare:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.dp-compare h3 { font-size: 17px; }
.dp-compare-sum { font-weight: 600; }
.dp-compare-sum.bad { color: var(--red); }
.dp-compare .col { font-size: 14px; color: var(--ink3); }
.dp-compare .lbl { font-size: 14px; font-weight: 600; color: var(--ink2); }
.dp-compare-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2px 12px; overflow-wrap: anywhere; }
.dp-compare-grid .lbl { grid-column: 1 / -1; padding-top: 6px; }
.dp-compare-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.dp-compare-lists > div { min-width: 0; }
.dp-expected { display: flex; flex-direction: column; gap: 2px; padding-top: 10px; border-top: 1px dashed var(--line2); font-size: 15px; color: var(--ink2); font-variant-numeric: tabular-nums; }
.dp-expected b { font-size: 14px; color: var(--ink3); }
.dp-tl-stage.plan { opacity: .55; }
.dp-tl-stagename.plan { color: var(--ink3); font-weight: 600; }

/* Plan page: the day strip and "What happens next" */
.dp-strip-wrap { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.dp-strip { display: flex; height: 34px; border-radius: var(--radius-md); overflow: hidden; position: relative; font-size: 13px; font-weight: 600; }
.dp-strip-part { display: flex; align-items: center; padding: 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.dp-strip-part.cur { background: var(--navy); color: var(--onNavy); }
.dp-strip-part.later { background: var(--navySoft); color: var(--ink); }
.dp-strip-part.night { background: var(--greySoft); padding: 0; min-width: 10px; }
.dp-strip-part + .dp-strip-part { border-left: 2px solid var(--surface); }
.dp-strip-now { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1px; background: var(--coral); border-radius: 2px; }
.dp-strip-ticks { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 10px; font-size: 12px; color: var(--ink3); font-variant-numeric: tabular-nums; }
.dp-sched-stage { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.dp-sched-stage.now { border: 2px solid var(--navy); }
.dp-sched-top { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.dp-sched-when { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.dp-sched-pill { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--greySoft); color: var(--ink2); }
.dp-sched-pill.now { background: var(--coral); color: #fff; }
.dp-sched-pill.next { background: var(--navySoft); color: var(--ink); }
.dp-sched-head { font-size: 17px; font-weight: 600; }
.dp-sched-phones { width: 100%; border-collapse: collapse; font-size: 15px; }
.dp-sched-phones th { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink3); text-align: left; padding: 6px 16px; background: var(--paper); }
.dp-sched-phones td { padding: 9px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.dp-sched-phones td:first-child { font-weight: 600; }
.dp-sched-ch { display: flex; gap: 6px; align-items: baseline; line-height: 1.35; }
.dp-sched-ch b { font-size: 12px; font-weight: 700; color: var(--ink3); min-width: 34px; }
.dp-sched-phones .speed { font-variant-numeric: tabular-nums; white-space: nowrap; }
.dp-sched-phones .speed small { display: block; }
.dp-sched-notready { padding: 0 16px 10px; }
.dp-sched-foot { padding: 12px 16px; background: var(--paper); border-top: 1px solid var(--line); font-size: 15px; display: flex; flex-direction: column; gap: 6px; }
.dp-sched-foot:empty { display: none; }
.dp-sched-past { display: flex; flex-direction: column; gap: 2px; padding: 4px 4px; color: var(--ink2); font-variant-numeric: tabular-nums; }
.dp-sched-gap { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink3); padding: 2px 4px; text-align: center; }
.dp-sched-gap::before, .dp-sched-gap::after { content: ""; flex: 1; min-width: 16px; border-top: 1px dashed var(--line2); }
@media (max-width: 520px) {
  .dp-sched-phones thead { display: none; }
  .dp-sched-phones tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-top: 1px solid var(--line); }
  .dp-sched-phones td { border-top: 0; padding: 6px 16px; }
  .dp-sched-phones td:first-child { padding-top: 10px; }
  .dp-sched-phones td.speed { padding-top: 10px; text-align: right; }
  .dp-sched-phones td.chs { grid-column: 1 / -1; grid-row: 2; padding-bottom: 10px; }
}
.dp-add > summary { list-style: none; cursor: pointer; display: inline-flex; }
.dp-add > summary::-webkit-details-marker { display: none; }
.dp-add-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.dp-add-choice { display: flex; flex-direction: column; gap: 6px; width: 100%; text-align: left; padding: 12px 14px; border: 1px solid var(--line2); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); font: inherit; min-width: 0; }
button.dp-add-choice { cursor: pointer; }
button.dp-add-choice:hover { border-color: var(--navy); }
.dp-add-choice span { color: var(--ink2); font-size: 15px; }
.dp-add-choice .dp-inline { flex-wrap: wrap; }
.dp-add-choice .dp-input { flex: 1 1 180px; min-width: 0; }
/* The stage form, as sentences: selects read as blanks to fill in */
.dp-sentences { display: flex; flex-direction: column; gap: 14px; }
.dp-sentence { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 8px; font-size: 17px; line-height: 1.4; }
.dp-sentence .dp-sw { font-weight: 700; }
.dp-sentence > small { flex-basis: 100%; }
.dp-blank { width: auto; max-width: 100%; min-width: 0; height: 44px; padding: 0 10px; font-size: 17px; font-weight: 600; border-color: var(--line2); background: var(--surface); }
select.dp-blank { padding-right: 30px; }
.dp-blank.sm { width: 6.5em; }
.dp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dp-phone-choice { padding: 10px 0; border-top: 1px solid var(--line); }
.dp-more { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px 14px; }
.dp-more > summary { cursor: pointer; font-weight: 700; min-height: 32px; display: flex; align-items: center; }
.dp-more-body { display: flex; flex-direction: column; gap: 14px; padding-top: 10px; }
@media (max-width: 520px) { .dp-sentence { font-size: 16px; gap: 6px; } .dp-blank { font-size: 16px; padding: 0 8px; } select.dp-blank { padding-right: 26px; } }
.dp-will { display: flex; flex-direction: column; gap: 4px; background: var(--navySoft); border-radius: var(--radius-lg); padding: 12px 14px; font-size: 16px; }
.dp-compare-more > summary { cursor: pointer; font-weight: 600; min-height: 32px; display: flex; align-items: center; }
.dp-compare-more[open] { display: flex; flex-direction: column; gap: 10px; }

/* Overview: which round the phones serve first. */
.dp-sendsfirst { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.dp-sendsfirst small { flex-basis: 100%; }
