/* Zeno Calls styles. Two looks in one file:
   1. login + admin: the Zeno site's palette (Inter 400/600, ink #0F1729, amber #F59F0A). Every rule is scoped with
      :where(body:not(.call)) -- zero specificity, so those pages look exactly as before and nothing leaks into the call page.
   2. the call page (body.call): the OLD buy box look VAs know (forms/send_deal_buybox.js): cream page, white shell with a
      gold border, navy, gold section titles, .chip / .chip-row.alt pills, .prop-card with its price bubbles, .tab buttons,
      radius 11 inputs, 800-900 weights, Segoe UI. */

/* ============================================================== 1. login + admin */
:root {
  --ink: #0F1729; --ink2: #334155; --muted: #64748B; --line: #E2E8F0; --bg: #F8FAFC; --card: #FFFFFF;
  --amber: #F59F0A; --amber-bg: #FFF7E6; --red: #DC2626; --red-bg: #FEF2F2; --green: #059669; --green-bg: #ECFDF5;
  --blue: #2563EB; --blue-bg: #EFF6FF; --grey-bg: #F1F5F9; --radius: 8px;
}
* { box-sizing: border-box; }
body:not(.call) { margin: 0; background: var(--bg); color: var(--ink); font: 400 13px/1.4 Inter, system-ui, -apple-system, Segoe UI, sans-serif; }
:where(body:not(.call)) b, :where(body:not(.call)) strong, :where(body:not(.call)) h1, :where(body:not(.call)) h2, :where(body:not(.call)) h3, :where(body:not(.call)) th, :where(body:not(.call)) dt { font-weight: 600; }
:where(body:not(.call)) h2 { font-size: 18px; margin: 0; } :where(body:not(.call)) h3 { font-size: 15px; margin: 0 0 4px; }
:where(body:not(.call)) a { color: var(--blue); text-decoration: none; } :where(body:not(.call)) a:hover { text-decoration: underline; }
:where(body:not(.call)) kbd { font: 400 10px/1 Inter, sans-serif; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 1px 3px; margin-left: 4px; }
:where(body:not(.call)) [hidden] { display: none !important; }
:where(body:not(.call)) .muted { color: var(--muted); } :where(body:not(.call)) .small { font-size: 11px; } :where(body:not(.call)) .red { color: var(--red); } :where(body:not(.call)) .error { color: var(--red); } :where(body:not(.call)) .warn { color: var(--red); margin: 4px 0; }
:where(body:not(.call)) .hint { color: var(--muted); font-size: 11px; margin: 4px 0; }
:where(body:not(.call)) .loading, :where(body:not(.call)) .empty, :where(body:not(.call)) .boot-msg { color: var(--muted); padding: 16px; }

/* buttons */
:where(body:not(.call)) .btn { font: 600 12px/1 Inter, sans-serif; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 6px; padding: 8px 12px; cursor: pointer; }
:where(body:not(.call)) .btn:hover { border-color: var(--ink2); } :where(body:not(.call)) .btn:disabled { opacity: .5; cursor: default; }
:where(body:not(.call)) .btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; } :where(body:not(.call)) .btn.primary:hover { background: #1E293B; }
:where(body:not(.call)) .btn.ghost { background: transparent; } :where(body:not(.call)) .btn.small { padding: 5px 8px; font-size: 11px; }
:where(body:not(.call)) .btn.o { padding: 6px 9px; } :where(body:not(.call)) .btn.o.good { border-color: var(--green); color: var(--green); } :where(body:not(.call)) .btn.o.bad { border-color: #FCA5A5; color: var(--red); }
:where(body:not(.call)) .btn.on { background: var(--amber-bg); border-color: var(--amber); }

/* top bar */
:where(body:not(.call)) .topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 8px 14px; background: var(--ink); color: #fff; flex-wrap: wrap; }
:where(body:not(.call)) .topbar .btn.ghost { color: #fff; border-color: #475569; }
:where(body:not(.call)) .tb-left { display: flex; align-items: center; gap: 10px; } :where(body:not(.call)) .brand { font-weight: 600; color: var(--amber); } :where(body:not(.call)) .va { color: #CBD5E1; }
:where(body:not(.call)) .tb-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
:where(body:not(.call)) .mode { font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 4px; background: var(--amber); color: var(--ink); }
:where(body:not(.call)) .mode.live { background: var(--green); color: #fff; } :where(body:not(.call)) .mode.dry { background: #94A3B8; color: var(--ink); }
:where(body:not(.call)) .conn { width: 9px; height: 9px; border-radius: 50%; background: #94A3B8; display: inline-block; } :where(body:not(.call)) .conn.live { background: #22C55E; } :where(body:not(.call)) .conn.polling { background: var(--amber); }
:where(body:not(.call)) .search { width: 150px; padding: 6px 8px; border-radius: 6px; border: 1px solid #475569; background: #1E293B; color: #fff; font: inherit; }

/* chips, flags, forms, tables (admin) */
:where(body:not(.call)) .chip-t { font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 4px; background: var(--grey-bg); color: var(--ink2); letter-spacing: .02em; }
:where(body:not(.call)) .t-vetted { background: #DCFCE7; color: #166534; } :where(body:not(.call)) .t-buyer { background: var(--blue-bg); color: #1D4ED8; } :where(body:not(.call)) .t-agent { background: #F3E8FF; color: #7E22CE; }
:where(body:not(.call)) .t-llc { background: #E0F2FE; color: #0369A1; } :where(body:not(.call)) .t-warm { background: var(--amber-bg); color: #B45309; } :where(body:not(.call)) .t-cold-buyer { background: #FEF3C7; color: #92400E; } :where(body:not(.call)) .t-wholesaler { background: var(--red-bg); color: var(--red); }
:where(body:not(.call)) .banner { display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: var(--amber-bg); border-bottom: 2px solid var(--amber); }
:where(body:not(.call)) .flags { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 14px; background: var(--card); border-bottom: 1px solid var(--line); }
:where(body:not(.call)) .flag { padding: 4px 8px; border-radius: 6px; font-weight: 600; font-size: 12px; } :where(body:not(.call)) .flag.red { background: var(--red); color: #fff; } :where(body:not(.call)) .flag.amber { background: var(--amber-bg); color: #92400E; border: 1px solid var(--amber); }
:where(body:not(.call)) .flag.grey { background: var(--grey-bg); color: var(--ink2); }
:where(body:not(.call)) .st { font-size: 10px; padding: 1px 5px; border-radius: 3px; background: var(--grey-bg); } :where(body:not(.call)) .st-confirmed { background: var(--green-bg); color: var(--green); }
:where(body:not(.call)) .st-failed, :where(body:not(.call)) .st-unconfirmed { background: var(--red-bg); color: var(--red); } :where(body:not(.call)) .st-dry_run { background: var(--grey-bg); color: var(--muted); }
:where(body:not(.call)) .f label, :where(body:not(.call)) label.block { display: block; margin: 6px 0; font-size: 11px; color: var(--ink2); font-weight: 600; }
:where(body:not(.call)) .f input:not([type=checkbox]):not([type=radio]), :where(body:not(.call)) .f textarea, :where(body:not(.call)) .f select, :where(body:not(.call)) .admin-main input, :where(body:not(.call)) .admin-main select {
  display: block; width: 100%; margin-top: 3px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 6px; font: 400 13px Inter, sans-serif; color: var(--ink); background: #fff; }
:where(body:not(.call)) .f input.bad { border-color: var(--red); }
:where(body:not(.call)) .f textarea { resize: vertical; } :where(body:not(.call)) .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; } :where(body:not(.call)) .grid2 .span2 { grid-column: 1 / -1; }
:where(body:not(.call)) .radios label, :where(body:not(.call)) label.check { display: flex; align-items: center; gap: 6px; font-weight: 400; color: var(--ink); } :where(body:not(.call)) label.check.small { font-size: 11px; }
:where(body:not(.call)) .f-msg { min-height: 18px; margin: 6px 0; font-weight: 600; } :where(body:not(.call)) .f-msg.ok { color: var(--green); } :where(body:not(.call)) .f-msg.err { color: var(--red); }
:where(body:not(.call)) .chip-row { display: flex; flex-wrap: wrap; gap: 4px; }
:where(body:not(.call)) .chip { font: 400 12px/1 Inter, sans-serif; border: 1px solid var(--line); background: #fff; padding: 6px 9px; border-radius: 999px; cursor: pointer; color: var(--ink2); }
:where(body:not(.call)) .chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* modal + toasts */
:where(body:not(.call)) .modal { position: fixed; inset: 0; z-index: 50; background: rgba(15, 23, 41, .55); display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow: auto; }
:where(body:not(.call)) .modal.hidden { display: none; }
:where(body:not(.call)) .modal-box { position: relative; background: #fff; border-radius: 10px; padding: 18px; width: 640px; max-width: 100%; }
:where(body:not(.call)) .modal-box.wide { width: 980px; } :where(body:not(.call)) .modal-box h2 small { font-weight: 400; color: var(--muted); font-size: 13px; }
:where(body:not(.call)) .modal-x { position: absolute; right: 10px; top: 8px; border: 0; background: transparent; font-size: 22px; cursor: pointer; color: var(--muted); }
:where(body:not(.call)) table.comps, :where(body:not(.call)) table.tbl { width: 100%; border-collapse: collapse; font-size: 12px; } :where(body:not(.call)) table.comps th, :where(body:not(.call)) table.comps td, :where(body:not(.call)) table.tbl th, :where(body:not(.call)) table.tbl td { text-align: left; padding: 5px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
:where(body:not(.call)) .toasts { position: fixed; right: 14px; bottom: 14px; z-index: 60; display: flex; flex-direction: column; gap: 6px; }
:where(body:not(.call)) .toast { background: var(--ink); color: #fff; padding: 9px 12px; border-radius: 8px; max-width: 420px; transition: opacity .3s; } :where(body:not(.call)) .toast.error { background: var(--red); } :where(body:not(.call)) .toast.ok { background: var(--green); } :where(body:not(.call)) .toast.out { opacity: 0; }

/* login + admin pages */
body.login { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
:where(body:not(.call)) .login-box { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; width: 340px; max-width: calc(100% - 32px); }
:where(body:not(.call)) .login-box h1 { color: var(--ink); font-size: 20px; margin: 0 0 12px; } :where(body:not(.call)) .login-box label { display: block; margin: 10px 0; font-weight: 600; font-size: 12px; }
:where(body:not(.call)) .login-box input { display: block; width: 100%; margin-top: 4px; padding: 9px; border: 1px solid var(--line); border-radius: 6px; font: inherit; } :where(body:not(.call)) .login-box .btn { width: 100%; margin-top: 8px; }
:where(body:not(.call)) .admin-main { padding: 14px; display: grid; gap: 12px; } :where(body:not(.call)) .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; overflow-x: auto; }
:where(body:not(.call)) .card h2 { margin-bottom: 8px; } :where(body:not(.call)) form.inline { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 10px; } :where(body:not(.call)) form.inline input, :where(body:not(.call)) form.inline select { width: auto; display: inline-block; margin: 0; }
:where(body:not(.call)) .pre { background: var(--grey-bg); padding: 8px; border-radius: 6px; max-height: 420px; overflow: auto; font-size: 11px; white-space: pre-wrap; }

/* the v1 call page's classes, kept (scoped) in case an admin view reuses one; the call page no longer uses them */
:where(body:not(.call)) .callpill { font-weight: 600; padding: 5px 10px; border-radius: 999px; background: #1E293B; color: #CBD5E1; white-space: nowrap; }
:where(body:not(.call)) .callpill.dialing { background: var(--blue); color: #fff; } :where(body:not(.call)) .callpill.live { background: #16A34A; color: #fff; } :where(body:not(.call)) .callpill.ended { background: var(--amber); color: var(--ink); }
:where(body:not(.call)) .who { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } :where(body:not(.call)) .who b { font-size: 15px; } :where(body:not(.call)) .who .ph { color: #CBD5E1; }
:where(body:not(.call)) .local { font-size: 11px; color: #CBD5E1; } :where(body:not(.call)) .local.outside { color: #FCA5A5; font-weight: 600; }
:where(body:not(.call)) .counts { display: flex; gap: 10px; color: #CBD5E1; } :where(body:not(.call)) .counts b { color: #fff; font-size: 15px; } :where(body:not(.call)) .livecount b { color: var(--amber); }
:where(body:not(.call)) .subject { margin: 10px 14px 0; background: var(--card); border: 2px solid var(--amber); border-radius: var(--radius); padding: 10px 12px; }
:where(body:not(.call)) .subj-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
:where(body:not(.call)) .subj-tag { font-size: 10px; font-weight: 600; background: var(--amber); color: var(--ink); padding: 2px 6px; border-radius: 4px; }
:where(body:not(.call)) .subj-city { color: var(--muted); } :where(body:not(.call)) .stage { font-size: 11px; background: var(--grey-bg); padding: 2px 6px; border-radius: 4px; } :where(body:not(.call)) .stage.dead { background: var(--red-bg); color: var(--red); }
:where(body:not(.call)) .subj-body { display: grid; grid-template-columns: 360px 1fr; gap: 12px; }
:where(body:not(.call)) .photos { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 52px; gap: 4px; position: relative; }
:where(body:not(.call)) .photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; cursor: zoom-in; background: var(--grey-bg); }
:where(body:not(.call)) .photos img.main { grid-column: 1 / -1; grid-row: span 3; }
:where(body:not(.call)) .photos.none { display: flex; align-items: center; justify-content: center; background: var(--grey-bg); color: var(--muted); border-radius: 4px; min-height: 120px; }
:where(body:not(.call)) .facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 4px 12px; margin: 0; }
:where(body:not(.call)) .facts div { min-width: 0; } :where(body:not(.call)) .facts dt { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; } :where(body:not(.call)) .facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
:where(body:not(.call)) .rnotes { margin: 8px 0 4px; color: var(--ink2); } :where(body:not(.call)) .links { margin: 6px 0; } :where(body:not(.call)) .mine { margin: 6px 0; color: var(--ink2); }
:where(body:not(.call)) .va-only { margin: 6px 0 0; padding: 4px 8px; background: var(--grey-bg); color: var(--muted); border-radius: 4px; font-size: 11px; }
:where(body:not(.call)) .cols { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(360px, 1.25fr) minmax(360px, 1.3fr); gap: 10px; padding: 10px 14px 40px; align-items: start; }
:where(body:not(.call)) .col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; min-width: 0; }
:where(body:not(.call)) .p-head h3 { font-size: 17px; } :where(body:not(.call)) .p-sub { color: var(--ink2); margin-top: 2px; }
:where(body:not(.call)) .p-sec { margin: 12px 0 4px; font-size: 10px; font-weight: 600; letter-spacing: .05em; color: var(--muted); text-transform: uppercase; }
:where(body:not(.call)) .role { padding: 6px 0; border-top: 1px solid var(--line); } :where(body:not(.call)) .reply { color: var(--ink2); font-style: italic; margin-top: 2px; }
:where(body:not(.call)) details.texts { border-top: 1px solid var(--line); padding: 4px 0; } :where(body:not(.call)) details.texts summary { cursor: pointer; color: var(--ink2); font-weight: 600; font-size: 12px; }
:where(body:not(.call)) .msg { margin: 4px 0; padding: 5px 8px; border-radius: 6px; max-width: 92%; } :where(body:not(.call)) .msg i { display: block; font-style: normal; font-size: 10px; color: var(--muted); }
:where(body:not(.call)) .msg.out { background: var(--grey-bg); } :where(body:not(.call)) .msg.in { background: var(--blue-bg); margin-left: auto; }
:where(body:not(.call)) .hist { padding: 3px 0; border-top: 1px dashed var(--line); } :where(body:not(.call)) .hist i { font-style: normal; color: var(--muted); font-size: 11px; margin-right: 4px; }
:where(body:not(.call)) .outcomes { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; margin-bottom: 10px; }
:where(body:not(.call)) .outcomes.saved { border-color: var(--green); background: var(--green-bg); }
:where(body:not(.call)) .o-title { font-weight: 600; margin-bottom: 6px; } :where(body:not(.call)) .o-btns { display: flex; flex-wrap: wrap; gap: 5px; }
:where(body:not(.call)) .donot { background: var(--red-bg); color: var(--red); font-weight: 600; padding: 12px; border-radius: var(--radius); }
:where(body:not(.call)) .tabs, :where(body:not(.call)) .subtabs, :where(body:not(.call)) .bb-modes { display: flex; gap: 4px; margin: 6px 0 8px; flex-wrap: wrap; }
:where(body:not(.call)) .tab, :where(body:not(.call)) .sub { font: 600 12px/1 Inter, sans-serif; border: 1px solid var(--line); background: var(--card); padding: 7px 10px; border-radius: 6px; cursor: pointer; color: var(--ink2); }
:where(body:not(.call)) .tab.on, :where(body:not(.call)) .sub.on { background: var(--ink); color: #fff; border-color: var(--ink); }
:where(body:not(.call)) .sms-list { background: var(--grey-bg); border-radius: 6px; padding: 6px 8px; margin: 6px 0; }
:where(body:not(.call)) .owner { background: var(--amber-bg); padding: 6px 8px; border-radius: 6px; }
:where(body:not(.call)) .bb-sec { margin: 10px 0 4px; font-size: 11px; font-weight: 600; color: var(--ink2); }
:where(body:not(.call)) .tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
:where(body:not(.call)) .tag { display: inline-flex; align-items: center; gap: 4px; background: var(--amber-bg); border: 1px solid var(--amber); border-radius: 999px; padding: 2px 4px 2px 8px; font-size: 12px; }
:where(body:not(.call)) .d-row { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 8px; align-items: center; padding: 6px 12px; border-bottom: 1px solid var(--line); min-height: 56px; }
:where(body:not(.call)) .d-addr { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:where(body:not(.call)) .src { font-size: 10px; padding: 1px 5px; border-radius: 3px; background: var(--blue-bg); color: #1D4ED8; } :where(body:not(.call)) .src.live { background: #DCFCE7; color: #166534; } :where(body:not(.call)) .src.grey { background: var(--grey-bg); color: var(--muted); }
:where(body:not(.call)) .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; margin: 10px 0; }
:where(body:not(.call)) .gallery img { width: 100%; height: 100px; object-fit: cover; border-radius: 4px; }
@media (max-width: 1180px) { :where(body:not(.call)) .cols { grid-template-columns: 1fr 1fr; } :where(body:not(.call)) .subj-body { grid-template-columns: 1fr; } }
@media (max-width: 760px) { :where(body:not(.call)) .cols { grid-template-columns: 1fr; } :where(body:not(.call)) .topbar { gap: 8px; } :where(body:not(.call)) .search { width: 120px; } }


/* ============================================================== 2. the call page: the OLD buy box look */
body.call {
  --primary: #1c4056; --border: #b98b46; --bg: #fbf6f0; --text: #2f2f2f; --muted: #7b8087; --card: #ffffff;
  --shadow: rgba(28, 64, 86, 0.10); --danger: #ea1f30; --danger-dark: #7a0b12; --green: #0b6b4f; --gold-ink: #7e6541;
  --chip-bg: rgba(255, 250, 243, 0.92); --chip-bd: rgba(185, 139, 70, 0.42); --chip-tx: #5a4a28;
  --chip2-bg: rgba(245, 250, 255, 0.92); --chip2-bd: rgba(28, 64, 86, 0.22); --chip2-tx: #1c4056;
  --radius: 14px; --gap: 12px;
  margin: 0; background: var(--bg); color: var(--text); font-size: 13px; line-height: 1.35;
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}
body.call [hidden], body.call .hidden { display: none !important; }
body.call button, body.call input, body.call textarea, body.call select { font-family: inherit; }
body.call h2 { margin: 0; }
body.call a { color: var(--primary); }
body.call .muted { color: var(--muted); }
body.call .red { color: #b42318; }
body.call .boot-msg { padding: 40px; color: var(--muted); font-weight: 700; }
body.call .wrap { max-width: 1560px; margin: 6px auto 0; padding: 0 16px; }

/* utility row (outside the shell) */
body.call .util { height: 28px; margin-bottom: 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 800; color: var(--gold-ink); }
body.call .util-l { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
body.call .util-l .brand { color: var(--primary); font-weight: 900; }
body.call .util-dot { color: var(--border); }
body.call .mode-badge { padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(122, 11, 18, 0.55); background: rgba(122, 11, 18, 0.12); color: var(--danger-dark); font-size: 11px; font-weight: 900; }
body.call .conn-note { color: #b42318; font-weight: 800; }
body.call .util-r { display: flex; align-items: center; gap: 8px; }
body.call .util-search { width: 220px; min-height: 28px; padding: 4px 10px; border: 1px solid #dbdfe7; border-radius: 11px; font-size: 12.5px; background: #fff; color: #111; outline: none; }
body.call .util-search:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(28, 64, 86, 0.10); }
body.call .menu-wrap { position: relative; }
body.call .chip.menu-btn { padding: 5px 12px; white-space: nowrap; }
body.call .menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 70; min-width: 190px; display: flex; flex-direction: column; padding: 6px; background: #fff; border: 1px solid var(--border); border-radius: 11px; box-shadow: 0 12px 30px rgba(28, 64, 86, 0.18); }
body.call .menu-item { display: block; text-align: left; border: 0; background: transparent; padding: 8px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 800; color: var(--primary); cursor: pointer; text-decoration: none; }
body.call .menu-item:hover { background: rgba(28, 64, 86, 0.08); }

/* switch banner: a new answered call while this page has unsaved typed work */
body.call .switch-banner { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; padding: 6px 12px; border: 2px solid var(--danger); border-radius: var(--radius); background: #fff1f2; color: #8f1420; font-size: 14px; font-weight: 800; }
body.call .sb-icon { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--danger); background: rgba(234, 31, 48, 0.10); color: var(--danger); font-weight: 900; }
body.call .sb-text { flex: 1; min-width: 0; }

/* the shell + its header (old .shell-header: stamp | call state | status). 10-20: everything a bit more compact. */
body.call .shell { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 12px 34px var(--shadow); padding: 10px 16px 14px; }
body.call .shell-header { min-height: 46px; margin-bottom: 8px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; }
body.call .hdr-left { justify-self: start; min-width: 0; }
body.call .vetted-stamp {
  position: relative; display: inline-block; margin: 2px 0 0 8px; padding: 5px 14px;
  color: #0b6b23; font-family: 'Courier New', Courier, monospace; font-weight: 900; font-size: 20px; letter-spacing: 4px;
  text-transform: uppercase; text-align: center; line-height: 1; transform: rotate(-8deg); opacity: 0.9;
  pointer-events: none; user-select: none; mix-blend-mode: multiply;
  border: 3px solid #0b6b23; outline: 2px solid #0b6b23; outline-offset: 3px; border-radius: 4px;
  clip-path: polygon(0% 4%, 3% 0%, 97% 1%, 100% 6%, 99% 94%, 96% 100%, 4% 99%, 1% 95%);
  box-shadow: 0 0 0 1.5px rgba(11, 107, 35, 0.2) inset;
}
body.call .vetted-stamp::after { content: ''; position: absolute; inset: -7px; border: 2px solid rgba(11, 107, 35, 0.3); border-radius: 5px; clip-path: polygon(2% 0%, 100% 3%, 98% 100%, 0% 97%); pointer-events: none; }
body.call .callpill {
  grid-column: 2; justify-self: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  border: 0; cursor: pointer; padding: 6px 18px; border-radius: 999px; font-size: 16.5px; font-weight: 800; letter-spacing: .2px;
  color: var(--primary); background: #f3efe8;
}
body.call .callpill.dialing { background: rgba(28, 64, 86, 0.10); color: var(--primary); }
body.call .callpill.live { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(11, 107, 79, 0.25); }
body.call .callpill.ended { background: rgba(185, 139, 70, 0.16); color: var(--gold-ink); box-shadow: 0 0 0 2px var(--border); }
body.call .callpill.ended-ok { background: #e4f8ea; color: #1f6a35; }
body.call .callpill.muted { color: var(--muted); font-size: 14.5px; }
body.call .status-toggle-wrap { grid-column: 3; justify-self: end; display: inline-flex; align-items: center; gap: 8px; padding: 4px 6px 4px 10px; border-radius: 999px; border: 1px solid rgba(185, 139, 70, 0.4); background: rgba(255, 250, 243, 0.96); box-shadow: 0 6px 18px rgba(28, 64, 86, 0.08); }
body.call .status-toggle-copy { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; line-height: 1.05; }
body.call .status-toggle-kicker { font-size: 10px; font-weight: 900; letter-spacing: .45px; text-transform: uppercase; color: var(--gold-ink); }
body.call .status-toggle-state { font-size: 12px; font-weight: 900; transition: color .15s ease; }
body.call .status-toggle-state.is-active { color: #0b6b4f; }
body.call .status-toggle-state.is-inactive { color: #b42318; }
body.call .status-toggle-switch { position: relative; display: inline-block; width: 50px; height: 26px; flex: 0 0 auto; margin: 0; }
body.call .status-toggle-switch input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
body.call .status-toggle-slider { position: absolute; inset: 0; border-radius: 999px; background: linear-gradient(135deg, #d64545, #a91919); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); transition: background .16s ease; pointer-events: none; }
body.call .status-toggle-slider::before { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.22); transition: transform .16s ease; }
body.call .status-toggle-switch input:checked + .status-toggle-slider { background: linear-gradient(135deg, #0b6b4f, #0d8f68); }
body.call .status-toggle-switch input:checked + .status-toggle-slider::before { transform: translateX(24px); }
body.call .status-toggle-switch input:focus-visible + .status-toggle-slider { box-shadow: 0 0 0 3px rgba(28, 64, 86, 0.14); }

/* flags under the header: red = do not call, amber = no texts, amber chips */
body.call .flagline { display: flex; flex-direction: column; gap: 5px; margin: 0 0 8px; }
body.call .flag-red { display: flex; align-items: center; gap: 10px; padding: 6px 12px; border: 2px solid var(--danger); border-radius: 11px; background: #fff1f2; color: #b42318; font-size: 14px; font-weight: 800; }
body.call .flag-icon { width: 24px; height: 24px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--danger); background: rgba(234, 31, 48, 0.10); color: var(--danger); font-weight: 900; }
body.call .flag-amber { padding: 6px 12px; border: 1px solid #e0a43a; border-radius: 11px; background: #fff6e0; color: #6b4300; font-size: 13.5px; font-weight: 800; }
body.call .flag-amber .why { font-weight: 700; color: #8a6a2a; }
body.call .flag-chips { display: flex; flex-wrap: wrap; gap: 6px; }
body.call .flag-chip { padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(185, 139, 70, 0.6); background: #fff3d6; color: #6b4e14; font-size: 11.5px; font-weight: 900; }

/* two columns (old split) */
body.call .layout { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 16px; align-items: start; }

/* LEFT: the deals (old dashed gold box, own scroll, sticky toolbar) */
body.call .left { position: sticky; top: 8px; min-width: 0; min-height: 240px; overflow-y: auto; overscroll-behavior: contain; border: 1px dashed rgba(185, 139, 70, 0.65); background: rgba(255, 247, 227, 0.78); border-radius: var(--radius); padding: 0 10px 10px; }
body.call .left-toolbar { position: sticky; top: 0; z-index: 4; margin: 0 -10px 8px; padding: 8px 10px 7px; display: flex; flex-direction: column; gap: 6px; background: #fff9e9; border-bottom: 1px solid rgba(185, 139, 70, 0.35); border-radius: 14px 14px 0 0; }
body.call .tb-line { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; }
body.call .deal-count { font-size: 13px; font-weight: 900; color: var(--primary); }
body.call .deal-count b { color: var(--border); font-size: 14px; }
body.call .stale-note { font-size: 11.5px; font-weight: 800; color: #b42318; }
body.call .deal-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
body.call .deal-filter-sep { color: var(--gold-ink); font-size: 12px; font-weight: 900; line-height: 1; user-select: none; }
body.call .deal-filter-btn { min-width: 80px; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(185, 139, 70, 0.45); background: rgba(255, 250, 243, 0.92); color: #5a4a28; font-size: 11px; font-weight: 900; cursor: pointer; line-height: 1.1; transition: transform .08s ease, background .12s ease, color .12s ease; }
body.call .deal-filter-btn:hover { transform: translateY(-1px); }
body.call .deal-filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(28, 64, 86, 0.18); }
body.call .find-addr { flex: 1 1 130px; max-width: 220px; min-width: 120px; margin-left: auto; min-height: 28px; padding: 3px 10px; border: 1px solid #dbdfe7; border-radius: 11px; font-size: 12.5px; background: #fff; outline: none; }
body.call .find-addr:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(28, 64, 86, 0.10); }
body.call .deal-sms-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 0; background: linear-gradient(135deg, #1c4056, #0e2230); color: #fff; font-weight: 800; font-size: 12px; cursor: pointer; box-shadow: 0 6px 16px rgba(28, 64, 86, 0.28); transition: transform .1s ease, box-shadow .12s ease, filter .12s ease; }
body.call .deal-sms-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(28, 64, 86, 0.32); filter: brightness(1.05); }
body.call .deal-sms-btn:disabled { cursor: not-allowed; opacity: 0.65; box-shadow: none; }
body.call .deal-sms-btn--sent, body.call .deal-sms-btn--sent:disabled { background: linear-gradient(135deg, #0b6b4f, #074533); box-shadow: 0 4px 14px rgba(11, 107, 79, 0.25); opacity: 1; }
body.call .deal-sms-btn--sending { background: linear-gradient(135deg, #7b8087, #4d5157); box-shadow: none; }
body.call .list-note { color: #6e6a63; font-size: 12px; line-height: 1.45; padding: 8px 2px 2px; }

/* deal cards (old .prop-card): one text column, no picture (10-20) */
body.call .prop-grid { display: grid; gap: 7px; }
body.call .prop-card { position: relative; border: 1px solid rgba(185, 139, 70, 0.55); border-radius: 12px; background: #fffdf7; padding: 7px 10px 8px; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); transition: transform .06s ease, box-shadow .12s ease, border-color .12s ease; }
body.call .prop-card:hover { transform: translateY(-1px); }
body.call .no-person .prop-card { cursor: default; }
body.call .prop-card.selected { border-color: #063300; background: #c6ffbf; box-shadow: 0 0 0 4px rgba(28, 64, 86, 0.18), 0 10px 18px rgba(28, 64, 86, 0.10); }
body.call .prop-card.match { border-color: #0b6b4f; box-shadow: 0 0 0 3px rgba(11, 107, 79, 0.18), 0 14px 26px rgba(11, 107, 79, 0.16); }
body.call .prop-card.match.pulse3 { animation: matchPulse 1.15s ease-in-out 3; }
@keyframes matchPulse {
  0% { transform: translateY(0); box-shadow: 0 0 0 3px rgba(11, 107, 79, 0.18), 0 14px 26px rgba(11, 107, 79, 0.12); }
  50% { transform: translateY(-2px); box-shadow: 0 0 0 5px rgba(11, 107, 79, 0.22), 0 16px 30px rgba(11, 107, 79, 0.18); }
  100% { transform: translateY(0); box-shadow: 0 0 0 3px rgba(11, 107, 79, 0.18), 0 14px 26px rgba(11, 107, 79, 0.12); }
}
body.call .picked-tag { display: none; position: absolute; top: -9px; left: 16px; z-index: 2; padding: 2px 9px; border-radius: 999px; background: #063300; color: #fff; font-size: 10.5px; font-weight: 900; letter-spacing: .3px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18); }
body.call .prop-card.selected .picked-tag { display: inline-block; }
body.call .noimg { display: flex; align-items: center; justify-content: center; text-align: center; background: #f3ece0; color: #a08a66; font-size: 11px; font-weight: 800; border-radius: 10px; }
body.call .prop-addr-row { display: flex; align-items: flex-start; gap: 8px; }
body.call .prop-addr { flex: 1; min-width: 0; margin: 0; padding-top: 2px; font-weight: 900; color: #2a2a2a; line-height: 1.25; font-size: 13px; }
body.call .chip.details-chip { flex: 0 0 auto; padding: 4px 11px; font-size: 11px; border-color: rgba(28, 64, 86, 0.35); background: var(--chip2-bg); color: var(--chip2-tx); }
body.call .price-bubble-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
body.call .reason-slot:empty { display: none; }
body.call .price-bubble { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; border: 1px solid; font-size: 11px; white-space: nowrap; font-weight: 900; line-height: 1.1; }
body.call .price-bubble--arv { background: #e4f8ea; border-color: #7bc893; color: #1f6a35; }
body.call .price-bubble--asking { background: #d9f3e1; border-color: #56b87a; color: #115a2d; }
body.call .price-bubble--property-type { background: rgba(122, 11, 18, 0.12); border-color: rgba(122, 11, 18, 0.55); color: #7a0b12; }
body.call .price-bubble--deal-type { background: rgba(28, 64, 86, 0.12); border-color: rgba(28, 64, 86, 0.35); color: #1c4056; }
body.call .reason--good { background: #0b6b4f; border-color: #0b6b4f; color: #fff; }
body.call .reason--texted { background: #fff; border-color: rgba(28, 64, 86, 0.45); color: #1c4056; }
body.call .prop-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 6px; margin-top: 5px; font-size: 12px; color: #3f3f3f; }
body.call .prop-meta b, body.call .f2 b, body.call .details-facts b { font-weight: 900; }
body.call .meta-value { font-weight: 900; color: var(--border); }

/* the subject band: the deal of the person's call list row (the identifier), full width above the two columns.
   Navy frame + navy kicker strip + warm gold body, so it never reads as one of the deal cards. Photo | deal | person. */
body.call .subj-band { position: relative; margin: 0 0 10px; border: 2px solid var(--primary); border-radius: 12px; background: #fff3dc; box-shadow: 0 6px 18px rgba(28, 64, 86, 0.14); }
body.call .subj-band.selected { border-color: #063300; box-shadow: 0 0 0 4px rgba(6, 51, 0, 0.16), 0 6px 18px rgba(28, 64, 86, 0.14); }
body.call .subj-band.selected .picked-tag { display: inline-block; top: -10px; left: auto; right: 16px; z-index: 3; }
body.call .subj-band.flash { animation: bandFlash .8s ease-in-out 2; }
@keyframes bandFlash { 50% { box-shadow: 0 0 0 7px rgba(185, 139, 70, 0.6), 0 6px 18px rgba(28, 64, 86, 0.14); } }
body.call .sb-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 12px; min-height: 27px; padding: 3px 12px; border-radius: 10px 10px 0 0; background: var(--primary); color: #fff; }
body.call .sb-kicker { font-size: 12.5px; font-weight: 900; letter-spacing: 1.3px; text-transform: uppercase; color: #fff; white-space: nowrap; }
body.call .sb-ident { font-size: 12.5px; font-weight: 700; color: #d6e2ea; }
body.call .sb-ident b { font-weight: 900; color: #fff; }
body.call .sb-strip .stage-pill { padding: 2px 9px; }
body.call .sb-body { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(250px, 400px); gap: 14px; align-items: start; padding: 8px 12px 9px; }
body.call .sb-body.no-photo { grid-template-columns: minmax(0, 1fr) minmax(250px, 400px); }
body.call .sb-body.no-photo .sb-photo-slot { display: none; }
body.call .sb-photo-slot { min-width: 0; }
body.call .sb-photo { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 9px; overflow: hidden; background: none; cursor: zoom-in; }
body.call .sb-img, body.call .sb-wait { display: block; width: 100%; height: 124px; object-fit: cover; border-radius: 9px; background: #efe4d0; }
body.call .sb-count { position: absolute; right: 5px; bottom: 5px; padding: 2px 7px; border-radius: 999px; background: rgba(28, 64, 86, 0.88); color: #fff; font-size: 11px; font-weight: 900; }
body.call .subj-band.is-inactive .sb-img { filter: grayscale(.85); }
body.call .sb-main { min-width: 0; }
body.call .sb-addr-row { display: flex; align-items: center; gap: 10px; }
body.call .sb-addr { min-width: 0; margin: 0; font-size: 22px; font-weight: 900; line-height: 1.15; color: var(--primary); }
body.call .sb-addr small { margin-left: 4px; font-size: 13.5px; font-weight: 800; color: #4f5358; white-space: nowrap; }
body.call .sb-main .price-bubble-row { margin-top: 4px; }
body.call .sb-facts { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 4px; font-size: 12.5px; line-height: 1.4; color: #3f3f3f; }
body.call .sb-main .rnotes { margin-top: 3px; }
body.call .sb-main .loading-line { padding: 3px 0 0; }
body.call .sb-side { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding-left: 12px; border-left: 1px solid rgba(185, 139, 70, 0.5); }
body.call .sb-side .subj-mine, body.call .sb-side .subj-internal, body.call .sb-side .links { margin-top: 0; }
body.call .sb-side .subj-internal { align-self: stretch; }
body.call .sb-pick { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 4px 14px 4px 7px; border-radius: 999px; border: 2px solid var(--primary); background: #fff; color: var(--primary); font-size: 13px; font-weight: 900; cursor: pointer; line-height: 1.1; transition: transform .06s ease, background .12s ease; }
body.call .sb-pick:hover { transform: translateY(-1px); }
body.call .sb-box { width: 16px; height: 16px; display: inline-grid; place-items: center; border: 2px solid var(--primary); border-radius: 4px; font-size: 11px; line-height: 1; }
body.call .sb-pick.on { background: #c6ffbf; border-color: #063300; color: #063300; }
body.call .sb-pick.on .sb-box { background: #063300; border-color: #063300; color: #fff; }
/* nobody's call list names a deal: one slim line */
body.call .subj-band.is-empty { border: 1px dashed rgba(28, 64, 86, 0.55); background: #f6f1e8; box-shadow: none; }
body.call .sb-empty { padding: 6px 12px; font-size: 13.5px; font-weight: 700; color: #4f5358; }
body.call .sb-empty b { color: var(--primary); font-weight: 900; }
body.call .subj-kicker { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; }
body.call .stage-pill { display: inline-block; padding: 3px 9px; border-radius: 999px; border: 1px solid #cfd6dd; background: #eef1f4; color: #3f4a54; font-size: 11px; font-weight: 900; }
body.call .stage-pill.dead { border-color: rgba(234, 31, 48, 0.45); background: #fff1f2; color: #b42318; }
body.call .rnotes { margin: 7px 0 0; font-size: 12px; line-height: 1.4; color: #3f3f3f; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.call .rnotes b { font-weight: 900; }
body.call .rnotes.full { display: block; -webkit-line-clamp: unset; overflow: visible; }
body.call .links { margin-top: 7px; font-size: 12px; }
body.call .links a { color: var(--primary); font-weight: 900; text-decoration: underline; }
body.call .dot { margin: 0 7px; color: var(--border); font-weight: 900; }
body.call .subj-mine { margin-top: 10px; font-size: 12px; font-weight: 700; color: #2f2f2f; }
body.call .subj-mine b { font-weight: 900; }
body.call .subj-internal { margin-top: 6px; padding: 5px 10px; border-radius: 8px; background: #f3efe8; color: #6f7378; font-size: 11px; font-weight: 700; }
body.call .subj-internal b { font-weight: 900; }
body.call .loading-line { padding: 6px 0; color: var(--muted); font-size: 12px; font-weight: 700; }
body.call .error-line { color: #b42318; }
/* several deals on one call (Vlad 10-20: "contact that buyer once for all 3, and display all 3 at once"): the same navy
   strip, then compact cards side by side, oldest approval first; 3 shown, "+N more" opens the rest. Each card: photo |
   address, bubbles, facts, internal counts; then this person + "Text this deal" across the bottom. */
body.call .sb-more { margin-left: auto; padding: 2px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.75); background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 12px; font-weight: 900; line-height: 1.3; white-space: nowrap; cursor: pointer; }
body.call .sb-more:hover { background: rgba(255, 255, 255, 0.28); }
body.call .sb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 8px; }
body.call .sb-cards.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.call .sbc { position: relative; min-width: 0; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 4px 9px; align-content: start; align-items: start; padding: 7px 9px; border: 1px solid rgba(185, 139, 70, 0.6); border-radius: 10px; background: #fffaf0; }
body.call .sbc.no-photo { grid-template-columns: minmax(0, 1fr); }
body.call .sbc.no-photo .sbc-photo { display: none; }
body.call .sbc-photo, body.call .sbc-main, body.call .sbc-body { min-width: 0; }
body.call .sbc-body { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 3px 10px; }
body.call .sbc-body:empty { display: none; }
body.call .sbc .sb-img, body.call .sbc .sb-wait { height: 62px; border-radius: 7px; }
body.call .sbc .sb-count { right: 3px; bottom: 3px; padding: 1px 5px; font-size: 10px; }
body.call .sbc-addr-row { display: flex; align-items: flex-start; gap: 8px; }
body.call .sbc-addr { flex: 1; min-width: 0; margin: 0; font-size: 15px; font-weight: 900; line-height: 1.2; color: var(--primary); }
body.call .sbc-addr small { margin-left: 3px; font-size: 11.5px; font-weight: 800; color: #4f5358; white-space: nowrap; }
body.call .sbc .price-bubble-row { margin-top: 3px; gap: 4px; }
body.call .sbc .price-bubble { padding: 2px 7px; font-size: 10.5px; }
body.call .sbc .stage-pill { padding: 2px 7px; font-size: 10.5px; }
body.call .sbc-facts { display: flex; flex-wrap: wrap; gap: 0 10px; font-size: 12px; line-height: 1.35; color: #3f3f3f; }
body.call .sbc-facts:empty { display: none; }
body.call .sbc .sbc-internal { margin: 0; padding: 2px 8px; font-size: 10.5px; }
body.call .sbc-foot { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
body.call .sbc .sbc-mine { flex: 1 1 150px; min-width: 0; margin: 0; font-size: 11.5px; line-height: 1.3; }
body.call .sb-pick.sbc-pick { flex: 0 0 auto; min-height: 26px; padding: 2px 11px 2px 5px; gap: 6px; font-size: 12px; }
body.call .sbc.selected { border-color: #063300; background: #ecffe8; box-shadow: 0 0 0 3px rgba(6, 51, 0, 0.14); }
body.call .sbc.selected .picked-tag { display: inline-block; top: -9px; left: auto; right: 12px; z-index: 3; }
body.call .sbc.is-inactive { background: #f6f1e8; }
body.call .sbc.is-inactive .sb-img { filter: grayscale(.85); }
body.call .sbc .loading-line { padding: 2px 0; }

/* RIGHT: the person */
body.call .right { min-width: 0; }
body.call .person { padding: 0 0 8px; border-bottom: 1px solid rgba(185, 139, 70, 0.45); }
body.call .p-line1 { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 10px; }
body.call .p-name { font-size: 18.5px; font-weight: 900; color: var(--primary); }
body.call .p-phone { font-size: 14px; font-weight: 800; color: #2f2f2f; }
body.call .ptag { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--chip-bd); background: var(--chip-bg); color: var(--chip-tx); font-size: 11.5px; font-weight: 900; line-height: 1.1; }
body.call .p-line2 { margin-top: 3px; font-size: 12.5px; font-weight: 700; color: #4f5358; }
body.call .p-line2 b { font-weight: 900; color: #2f2f2f; }
body.call .p-time.outside { color: #b42318; font-weight: 900; }
body.call .p-line3 { margin-top: 2px; font-size: 12.5px; font-weight: 700; color: #4f5358; }
body.call .p-line3 i { font-weight: 600; color: #2f2f2f; }

/* RIGHT: the two blocks */
body.call .block { margin-top: 10px; }
body.call .block-title { margin: 0 0 7px; padding-bottom: 5px; border-bottom: 2px solid rgba(185, 139, 70, 0.55); font-size: 14px; font-weight: 900; color: var(--primary); text-transform: uppercase; letter-spacing: .3px; }
body.call .blocked { opacity: .42; filter: grayscale(.7); pointer-events: none; user-select: none; }
body.call .int-btns { display: flex; flex-wrap: wrap; gap: 8px; }
body.call .int-btn { min-height: 34px; padding: 6px 15px; border: 2px solid var(--primary); border-radius: 11px; background: #fff; color: var(--primary); font-size: 13px; font-weight: 900; cursor: pointer; transition: background .12s ease, color .12s ease; }
body.call .int-btn:hover { background: rgba(28, 64, 86, 0.06); }
body.call .int-btn.active { background: var(--primary); color: #fff; }
/* several deals: "Which deal?" (radio-like chips); the buttons below act on the picked one */
body.call .int-deals { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px; }
body.call .int-deals-k { margin-right: 2px; font-size: 12px; font-weight: 900; color: var(--gold-ink); }
body.call .int-deal { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 3px 12px 3px 8px; border-radius: 999px; border: 1px solid rgba(28, 64, 86, 0.35); background: #fff; color: var(--primary); font-size: 12.5px; font-weight: 900; line-height: 1.1; cursor: pointer; }
body.call .int-deal::before { content: ''; width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; border: 2px solid currentColor; box-sizing: border-box; }
body.call .int-deal:hover { background: rgba(28, 64, 86, 0.06); }
body.call .int-deal.on { background: rgba(28, 64, 86, 0.12); border: 2px solid var(--primary); padding: 2px 11px 2px 7px; }
body.call .int-deal.on::before { background: var(--primary); box-shadow: inset 0 0 0 2px #fff; }
body.call .int-deal.gone { color: #8a8f96; text-decoration: line-through; }
body.call .int-form { margin-top: 8px; padding: 9px 12px; border: 1px solid rgba(28, 64, 86, 0.25); border-radius: 12px; background: #fbfcfd; }
body.call .int-head { margin-bottom: 7px; font-size: 14px; font-weight: 800; color: #2f2f2f; }
body.call .int-head b { font-weight: 900; color: var(--primary); }
body.call .warn-line { color: #b42318; }
body.call .int-notsubject { margin: -2px 0 8px; padding: 5px 10px; border-radius: 8px; background: rgba(185, 139, 70, 0.16); color: var(--gold-ink); font-size: 12.5px; font-weight: 900; }
body.call .linkbtn { margin-left: 6px; padding: 0; border: 0; background: none; color: var(--primary); font-size: inherit; font-weight: 900; text-decoration: underline; cursor: pointer; }
body.call .int-actions { display: flex; align-items: center; gap: 12px; margin-top: 9px; flex-wrap: wrap; }
body.call .int-after { margin: 7px 0 0; font-size: 12.5px; font-weight: 700; color: #4f5358; }
body.call .int-after b { font-weight: 900; color: var(--primary); }
body.call .radios { display: flex; flex-direction: column; gap: 5px; }
body.call label.radio { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 800; color: #2f2f2f; cursor: pointer; }
body.call .field-hint { margin-top: 3px; font-size: 11.5px; font-weight: 700; color: var(--muted); }

/* the old buy box form (10-20: tighter) */
body.call .topbar { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; padding-bottom: 8px; border-bottom: 1px solid rgba(185, 139, 70, 0.45); }
body.call .tab { border: 1px solid rgba(28, 64, 86, 0.25); background: #fff; color: var(--primary); padding: 8px 15px; border-radius: 12px; cursor: pointer; font-weight: 900; font-size: 13px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05); transition: background .12s ease, color .12s ease, transform .06s ease; }
body.call .tab:hover { transform: translateY(-1px); }
body.call .tab.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 4px 12px rgba(28, 64, 86, 0.20); }
body.call .section-title { margin: 9px 0 6px; padding-bottom: 4px; border-bottom: 1px solid rgba(185, 139, 70, 0.45); font-weight: 900; color: var(--border); letter-spacing: .2px; font-size: 13.5px; }
body.call .title-hint { margin-left: 10px; font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
body.call .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px var(--gap); }
body.call .row-2 { grid-column: span 2; }
body.call .pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
body.call label { display: block; margin: 0 0 3px; font-weight: 900; color: #4f5358; font-size: 13px; }
body.call .req { margin-left: 4px; color: var(--danger); }
body.call input[type="text"], body.call input[type="email"], body.call input[type="tel"], body.call input[type="number"], body.call input[type="date"],
body.call input[type="time"], body.call input[type="password"], body.call select, body.call textarea {
  width: 100%; min-height: 32px; padding: 5px 10px; border: 1px solid #dbdfe7; border-radius: 10px; font-size: 13px; outline: none; background: #fff; color: #111; transition: border-color .12s ease, box-shadow .12s ease;
}
body.call input:focus, body.call select:focus, body.call textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(28, 64, 86, 0.10); }
body.call input[readonly] { background: #f6f7f9; color: #4f5358; }
body.call input.bad { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(234, 31, 48, 0.10); }
body.call textarea { min-height: 64px; resize: vertical; }
body.call .loc-err { margin-top: 4px; color: var(--danger); font-size: 11.5px; font-weight: 800; }
body.call .chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1px; }
body.call .chip { border-radius: 999px; border: 1px solid var(--chip-bd); background: var(--chip-bg); padding: 5px 10px; font-size: 11.5px; cursor: pointer; color: var(--chip-tx); font-weight: 900; user-select: none; line-height: 1.1; transition: background .12s ease, color .12s ease, border-color .12s ease, transform .06s ease; }
body.call .chip:hover { transform: translateY(-1px); }
body.call .chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
body.call .chip-row.alt .chip { border-color: var(--chip2-bd); background: var(--chip2-bg); color: var(--chip2-tx); }
body.call .chip-row.alt .chip.active { background: rgba(28, 64, 86, 0.92); border-color: rgba(28, 64, 86, 0.92); color: #fff; }
body.call .chip.bad { border-color: rgba(234, 31, 48, 0.45); background: rgba(234, 31, 48, 0.08); color: #b42318; }
body.call .tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
body.call .tag-row:empty { margin-top: 0; }
body.call .tag-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; border: 1px solid #dac7a2b6; background: #fffaf3d3; font-size: 11px; color: #3f3a2c; font-weight: 700; }
body.call .tag-remove { padding: 0 0 0 2px; border: 0; background: none; cursor: pointer; font-size: 11px; color: inherit; opacity: 0.7; }
body.call .tag-remove:hover { opacity: 1; }
body.call .owner-note { margin-top: 10px; padding: 6px 12px; border-radius: 11px; border: 1px solid rgba(185, 139, 70, 0.45); background: rgba(185, 139, 70, 0.12); color: #5a4a28; font-size: 12.5px; font-weight: 800; }
body.call .actions { margin-top: 12px; }
body.call .btn { width: 100%; min-height: 42px; border: 0; border-radius: 13px; cursor: pointer; background: var(--primary); color: #fff; font-weight: 900; letter-spacing: .2px; font-size: 14px; box-shadow: 0 6px 18px rgba(28, 64, 86, 0.20); }
body.call .btn:hover:not(:disabled) { filter: brightness(1.08); }
body.call .btn:disabled { opacity: .55; cursor: not-allowed; }
body.call .btn.btn-auto { width: auto; min-height: 36px; padding: 0 18px; font-size: 13.5px; }
body.call .btn.btn-red { background: var(--danger); box-shadow: 0 6px 18px rgba(234, 31, 48, 0.25); }
body.call .error { display: none; margin-top: 10px; color: var(--danger); font-size: 12px; font-weight: 900; }
body.call .error.show { display: block; }
body.call .f-msg { min-height: 18px; margin-top: 6px; font-size: 12.5px; font-weight: 800; color: var(--muted); }
body.call .int-actions .f-msg { margin-top: 0; }
body.call .f-msg.ok { color: #0b6b4f; }
body.call .f-msg.err { color: #b42318; }
body.call .confirm-btn { margin-left: 6px; }

/* empty right column */
body.call .empty-state { padding: 48px 20px; text-align: center; color: #4f5358; }
body.call .empty-state h2 { margin: 0 0 10px; font-size: 22px; font-weight: 800; color: var(--primary); }
body.call .empty-state p { max-width: 460px; margin: 0 auto; font-size: 13.5px; font-weight: 700; line-height: 1.5; }

/* the "What happened?" bar (sticky to the bottom of the screen) */
body.call .whatbar { position: sticky; bottom: 0; z-index: 30; margin-top: 10px; padding: 5px 12px; background: #fff; border: 1px solid var(--border); border-top-width: 2px; border-bottom: 0; border-radius: 14px 14px 0 0; box-shadow: 0 -8px 24px rgba(28, 64, 86, 0.12); }
body.call .wb-row { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; min-height: 30px; }
body.call .wb-label { margin-right: 6px; font-size: 12px; font-weight: 900; color: var(--gold-ink); text-transform: uppercase; letter-spacing: .4px; white-space: nowrap; }
body.call .wb-group { margin-left: 2px; font-size: 11.5px; font-weight: 800; color: var(--muted); white-space: nowrap; }
body.call .wb-sep { margin: 0 3px; color: var(--border); font-weight: 900; }
body.call .wb-btn { min-height: 29px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--chip-bd); background: var(--chip-bg); color: var(--chip-tx); font-size: 12px; font-weight: 900; line-height: 1.1; white-space: nowrap; cursor: pointer; transition: transform .06s ease, border-color .12s ease; }
body.call .wb-btn:hover:not(:disabled) { transform: translateY(-1px); border-color: var(--border); }
body.call .wb-btn.good { background: #e4f8ea; border-color: #7bc893; color: #1f6a35; }
body.call .wb-btn.bad { background: rgba(234, 31, 48, 0.08); border-color: rgba(234, 31, 48, 0.45); color: #b42318; }
body.call .wb-btn:disabled { opacity: .5; cursor: wait; }
body.call .wb-all { font-size: 10.5px; font-weight: 800; opacity: .85; }
body.call .whatbar.saved { background: #e4f8ea; }
body.call .wb-saved { margin-right: 8px; font-size: 13.5px; font-weight: 900; color: #0b6b4f; }
body.call .wb-note { width: 360px; max-width: 100%; min-height: 29px !important; padding: 4px 10px !important; }
body.call .whatbar.needs { box-shadow: 0 0 0 3px var(--border), 0 -8px 24px rgba(28, 64, 86, 0.12); animation: barNeeds 1.1s ease-in-out 3; }
@keyframes barNeeds { 50% { box-shadow: 0 0 0 8px rgba(185, 139, 70, 0.55), 0 -8px 24px rgba(28, 64, 86, 0.12); } }
body.call .wb-pop { position: absolute; bottom: calc(100% + 8px); z-index: 35; width: 360px; max-width: calc(100vw - 40px); padding: 12px 14px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 12px 34px rgba(28, 64, 86, 0.22); }
body.call .pop-title { margin-bottom: 8px; font-size: 13.5px; font-weight: 900; color: var(--primary); }
body.call .pop-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

/* toasts */
body.call .toasts { position: fixed; right: 16px; bottom: 74px; z-index: 10000; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
body.call .toast { display: flex; align-items: center; gap: 12px; max-width: 480px; padding: 10px 14px; border-radius: 11px; background: var(--primary); color: #fff; font-size: 12.5px; font-weight: 800; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22); transition: opacity .3s; }
body.call .toast.ok { background: #0b6b4f; }
body.call .toast.error { background: var(--danger); }
body.call .toast.out { opacity: 0; }
body.call .toast-btn { padding: 5px 14px; border: 1px solid rgba(255, 255, 255, 0.75); border-radius: 999px; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 12.5px; font-weight: 900; cursor: pointer; }
body.call .toast-btn:hover { background: rgba(255, 255, 255, 0.28); }

/* popups (old modal look: navy border; red for do-not-call) */
body.call .modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-start; justify-content: center; padding: 40px 20px; overflow: auto; background: rgba(15, 23, 32, 0.60); }
body.call .modal.hidden { display: none; }
body.call .modal-box { position: relative; width: 100%; max-width: 560px; padding: 22px; background: #fff; border: 2px solid var(--primary); border-radius: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); }
body.call .modal-box.wide { max-width: 980px; }
body.call .modal-box:has(.mc.red) { max-width: 460px; border-color: var(--danger); text-align: center; }
body.call .modal-x { position: absolute; right: 12px; top: 6px; border: 0; background: transparent; font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted); }
body.call .modal-icon { width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: rgba(234, 31, 48, 0.10); border: 2px solid var(--danger); color: var(--danger); font-size: 34px; font-weight: 900; line-height: 1; }
body.call .modal-title { margin: 0 28px 0 0; color: var(--danger); font-size: 22px; font-weight: 900; line-height: 1.25; letter-spacing: .2px; }
body.call .mc.red .modal-title { margin-right: 0; }
body.call .modal-title.navy { color: var(--primary); }
body.call .modal-sub { margin: 10px 0 0; font-size: 14px; font-weight: 800; }
body.call .modal-msg { min-height: 18px; margin-top: 10px; font-size: 12.5px; font-weight: 800; }
body.call .modal-msg.err { color: #b42318; }
body.call .modal-btns { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
body.call .mc.red .modal-btns { justify-content: center; }
body.call .sms-list { margin: 12px 0 0; padding-left: 20px; font-weight: 800; color: #2a2a2a; }
body.call .sms-list li { margin: 3px 0; }
body.call .details-title { margin: 0 34px 8px 0; font-size: 22px; font-weight: 900; color: var(--primary); }
body.call .details-title small { font-size: 14px; font-weight: 700; color: var(--muted); }
body.call .details .price-bubble-row { margin-top: 8px; }
body.call .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; margin: 12px 0; }
body.call .gallery a { display: block; }
body.call .gallery .gal { width: 100%; height: 100px; object-fit: cover; display: block; border-radius: 8px; background: #f3ece0; }
body.call .details-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px 14px; margin: 10px 0; font-size: 12.5px; color: #3f3f3f; }
body.call .comps-wrap { overflow-x: auto; }
body.call table.comps { width: 100%; border-collapse: collapse; font-size: 12px; }
body.call table.comps th, body.call table.comps td { padding: 6px 7px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(185, 139, 70, 0.3); }
body.call table.comps th { font-weight: 900; color: var(--primary); white-space: nowrap; }
body.call .details-foot { position: sticky; bottom: -22px; z-index: 2; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin: 16px -22px -22px; padding: 12px 22px 14px; background: #fff; border-top: 1px solid rgba(185, 139, 70, 0.45); border-radius: 0 0 12px 12px; }
body.call .nowrap { white-space: nowrap; }
body.call .pwform label { margin: 12px 0 0; }
body.call .pwform input { margin-top: 5px; }

/* smaller laptops (1366): a smaller band (~185 px), so the person, the Interested buttons and the buy box's first
   fields stay on the first screen */
@media (max-width: 1500px) {
  body.call .sb-body { grid-template-columns: 160px minmax(0, 1fr) minmax(230px, 290px); gap: 12px; }
  body.call .sb-body.no-photo { grid-template-columns: minmax(0, 1fr) minmax(230px, 290px); }
  body.call .sb-img, body.call .sb-wait { height: 112px; }
  body.call .sb-addr { font-size: 20px; }
  body.call .sb-main .rnotes { -webkit-line-clamp: 1; }
}
/* the old breakpoint: one column, the deal list first with its own scroll */
@media (max-width: 1100px) {
  body.call .layout { grid-template-columns: 1fr; }
  body.call .left { position: static; max-height: 55vh; }
  body.call .callpill { font-size: 15px; }
  body.call .sb-body { grid-template-columns: 150px minmax(0, 1fr); }
  body.call .sb-body.no-photo { grid-template-columns: minmax(0, 1fr); }
  body.call .sb-side { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 5px 12px; padding: 7px 0 0; border-left: 0; border-top: 1px solid rgba(185, 139, 70, 0.5); }
  body.call .sb-side .subj-internal { align-self: auto; }
  body.call .sb-cards, body.call .sb-cards.n2 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}
@media (max-width: 720px) {
  body.call .grid, body.call .pair { grid-template-columns: 1fr; }
  body.call .row-2 { grid-column: auto; }
  body.call .shell-header { grid-template-columns: 1fr; min-height: auto; gap: 10px; }
  body.call .callpill, body.call .status-toggle-wrap { grid-column: auto; justify-self: start; }
  body.call .util { height: auto; flex-wrap: wrap; }
  body.call .util-search { width: 160px; }
  body.call .sb-body, body.call .sb-body.no-photo { grid-template-columns: 1fr; }
  body.call .sb-img, body.call .sb-wait { height: 150px; }
  body.call .sb-addr small { display: block; margin: 2px 0 0; white-space: normal; }
  body.call .sb-cards, body.call .sb-cards.n2 { grid-template-columns: minmax(0, 1fr); }
  body.call .sbc-addr small { display: block; margin: 1px 0 0; white-space: normal; }
}

/* ============================================================== 3. "Who's calling?" (the seats are shared Kixie logins)
   call page: the "Calling as X" chip in the top line and the gate (above #modal and the toasts; only a pick closes it);
   admin: the names card (admin_callers.js) */
body.call .caller-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--chip2-bd); background: var(--chip2-bg); color: var(--primary); font-size: 11.5px; font-weight: 800; cursor: pointer; white-space: nowrap; }
body.call .caller-chip b { font-weight: 900; }
body.call .caller-chip:hover { border-color: var(--primary); }
body.call .caller-chip.none { border-color: rgba(234, 31, 48, 0.55); background: rgba(234, 31, 48, 0.08); color: #b42318; }
body.call.has-gate { overflow: hidden; }
body.call .caller-gate { position: fixed; inset: 0; z-index: 10005; display: flex; align-items: center; justify-content: center; padding: 24px 16px; overflow: auto; background: rgba(15, 23, 32, 0.72); }
body.call .cg-box { width: 100%; max-width: 640px; margin: auto; padding: 26px 26px 18px; background: var(--card); border: 2px solid var(--border); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); text-align: center; }
body.call .cg-title { color: var(--primary); font-size: 28px; font-weight: 900; letter-spacing: .2px; }
body.call .cg-sub { margin: 6px 0 18px; font-size: 14px; font-weight: 800; color: var(--gold-ink); }
body.call .cg-names { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
body.call .cg-name { min-height: 56px; padding: 8px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 13px; border: 1px solid var(--chip-bd); background: var(--chip-bg); color: var(--primary); font-size: 18px; font-weight: 900; cursor: pointer; transition: background .12s ease, color .12s ease, transform .06s ease; }
body.call .cg-name:hover:not(:disabled) { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-1px); }
body.call .cg-name.current { border: 2px solid var(--primary); }
body.call .cg-name small { font-size: 10px; font-weight: 900; letter-spacing: .45px; text-transform: uppercase; color: var(--gold-ink); }
body.call .cg-name:hover:not(:disabled) small { color: inherit; }
body.call .cg-name:disabled { opacity: .6; cursor: wait; }
body.call .cg-name:focus-visible { outline: 3px solid rgba(28, 64, 86, 0.35); outline-offset: 2px; }
body.call .cg-empty { padding: 14px; font-size: 15px; font-weight: 800; color: var(--muted); }
body.call .cg-msg { min-height: 18px; margin: 12px 0 0; font-size: 12.5px; font-weight: 800; color: #b42318; }
body.call .cg-foot { margin: 4px 0 0; font-size: 12px; font-weight: 700; color: var(--muted); }
/* Do not call needs no name: the gate offers it for the person on the page */
body.call .cg-dnc-slot:not(:empty) { margin: 10px 0 12px; padding: 10px 0 0; border-top: 1px solid var(--border); }
body.call .cg-dnc-q { margin: 0 0 8px; font-size: 13px; font-weight: 800; color: var(--muted); }
body.call .cg-dnc { padding: 8px 14px; border-radius: 11px; border: 2px solid var(--danger); background: #fff1f2; color: #b42318; font-size: 14px; font-weight: 900; cursor: pointer; }
body.call .cg-dnc:hover, body.call .cg-dnc.yes { background: var(--danger); color: #fff; }
body.call .cg-dnc:focus-visible, body.call .cg-dnc-no:focus-visible { outline: 3px solid rgba(234, 31, 48, 0.35); outline-offset: 2px; }
body.call .cg-dnc-no { padding: 8px 14px; border-radius: 11px; border: 1px solid var(--chip-bd); background: var(--chip-bg); color: var(--primary); font-size: 14px; font-weight: 800; cursor: pointer; }
body.call .cg-dnc-note { margin: 0 0 8px; font-size: 13.5px; font-weight: 800; color: var(--muted); }
body.call .cg-dnc-note.ok { color: var(--green); }
body.call .cg-dnc-note.err { color: #b42318; }
@media (max-width: 720px) {
  body.call .util-l { flex-wrap: wrap; row-gap: 4px; }   /* the chip + the TEST MODE badge never run off a phone screen */
  body.call .cg-box { padding: 20px 16px 14px; }
  body.call .cg-title { font-size: 23px; }
  body.call .cg-names { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
:where(body:not(.call)) .callers-admin { margin: 0 14px 14px; }
:where(body:not(.call)) .admin-main > .callers-admin { margin: 0; }
:where(body:not(.call)) .callers-admin tr.cl-off td { color: var(--muted); }
:where(body:not(.call)) .callers-admin .cl-seats { margin: 0 0 8px; }
/* "Someone else": type a name on the gate (Vlad 10-20: anyone who logs in says who they are) */
body.call .cg-other { display: flex; gap: 8px; justify-content: center; margin: 12px auto 4px; max-width: 420px; }
body.call .cg-other input { flex: 1; min-width: 0; height: 36px; padding: 0 12px; border: 1px solid var(--chip-bd); border-radius: 10px; font-size: 14px; }
body.call .cg-other-btn { height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--primary); background: var(--primary); color: #fff; font-weight: 800; cursor: pointer; }
body.call .cg-other-btn:disabled { opacity: .6; cursor: wait; }
/* Which Kixie agent are you on? (Vlad 10-20: asked at login with the name) */
body.call .cg-title2 { margin: 14px 0 8px; font-size: 16px; font-weight: 900; color: var(--primary); letter-spacing: .2px; }
body.call .cg-seats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
body.call .cg-seat { min-width: 120px; min-height: 44px; padding: 6px 16px; border-radius: 12px; border: 1px solid var(--chip-bd); background: var(--chip-bg); color: var(--primary); font-size: 16px; font-weight: 900; cursor: pointer; }
body.call .cg-seat:hover:not(:disabled) { background: var(--primary); border-color: var(--primary); color: #fff; }
body.call .cg-seat.current, body.call .cg-other-btn.current { border: 2px solid var(--primary); box-shadow: 0 0 0 3px rgba(28, 64, 86, 0.18); }
body.call .cg-seat:disabled { opacity: .6; cursor: wait; }
body.call .cg-seat:focus-visible { outline: 3px solid rgba(28, 64, 86, 0.35); outline-offset: 2px; }
body.call .cg-seat { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
body.call .cg-seat small { font-size: 10px; font-weight: 900; letter-spacing: .3px; text-transform: uppercase; color: var(--gold-ink); }
body.call .cg-seat:hover:not(:disabled) small { color: inherit; }
