/* Inspire Call Center Dialer — clean, big-touch, phone-first */
:root { --accent:#38bdf8; --accent-dark:#0284c7; --bg:#f8fafc; --card:#fff; --ink:#0f172a; --muted:#64748b; --line:#e2e8f0; --green:#1e9e5a; --red:#d33f2f; --amber:#c98a12; --radius:14px; --soft:#f8fafc; --active-bg:#f0f9ff; --secondary-bg:#e6eef5; }
* { box-sizing:border-box; }
body { margin:0; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; background:var(--bg); color:var(--ink); font-size:16px; }
a { color:var(--accent-dark); }
button { font:inherit; cursor:pointer; border:0; border-radius:10px; padding:12px 16px; background:var(--accent-dark); color:#fff; font-weight:600; }
button.secondary { background:var(--secondary-bg); color:var(--ink); }
button.danger { background:var(--red); }
button.ghost { background:transparent; color:var(--accent-dark); padding:8px 10px; }
button:disabled { opacity:.45; cursor:not-allowed; }
input, select, textarea { font:inherit; padding:11px 12px; border:1px solid var(--line); border-radius:10px; width:100%; background:var(--card); color:var(--ink); }
label { display:block; font-size:13px; font-weight:600; color:var(--muted); margin:14px 0 5px; }
h1 { font-size:22px; margin:0; }
h2 { font-size:18px; margin:24px 0 10px; }
h3 { font-size:16px; margin:18px 0 8px; }
.muted { color:var(--muted); font-size:14px; }
.small { font-size:13px; }
.wrap { max-width:1180px; margin:0 auto; padding:14px 14px 60px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:16px; margin-top:14px; }
.row { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.row > * { flex:1 1 auto; }
.grid2 { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
@media (max-width:600px){ .grid2{ grid-template-columns:1fr; } }

/* top bar — Concept A Classic Dashboard: white, logo left, pill status */
.statusbar { position:sticky; top:0; z-index:20; background:var(--card); color:var(--ink); padding:12px 16px; display:flex; gap:8px; align-items:center; flex-wrap:wrap; border-bottom:1px solid var(--line); }
.statusbar .logo { font-weight:800; letter-spacing:-.02em; font-size:17px; }
.statusbar .logo b { color:var(--accent); font-weight:800; }
.statusbar .who { font-weight:700; }
.status-pill { font-weight:800; padding:8px 14px; border-radius:999px; font-size:15px; }
.status-pill.online { background:#dcfce7; color:#166534; }
.status-pill.offline { background:#e6eef5; color:#5a6b7a; }
.status-pill.break { background:#fef3c7; color:#92400e; }
.statusbar .timer { font-variant-numeric:tabular-nums; font-weight:700; color:var(--muted); font-size:13px; }
.statusbar select { width:auto; padding:8px 10px; min-height:38px; border-radius:999px; font-size:13px; font-weight:700; }
.statusbar button { padding:8px 12px; min-height:38px; border-radius:999px; font-size:13px; font-weight:700; background:var(--card); color:var(--ink); border:1px solid var(--line); }
.statusbar button.on { outline:none; }
#sb-online.on { background:#dcfce7; color:#166534; border-color:#bbf7d0; }
#sb-break.on { background:#fef3c7; color:#92400e; border-color:#fde68a; }
#sb-offline.on { background:#e2e8f0; color:#475569; border-color:#cbd5e1; }
.statusbar button.ghost { border:0; color:var(--accent-dark); background:transparent; }

/* nav */
.nav { display:flex; gap:8px; padding:12px 14px 0; max-width:1180px; margin:0 auto; flex-wrap:wrap; }
.nav button { background:var(--card); color:var(--ink); padding:10px 14px; border:1px solid var(--line); }
.nav button.active { background:var(--accent-dark); color:#fff; border-color:var(--accent-dark); }

/* contact card */
.contact-card { text-align:left; }
.contact-card .name { font-size:26px; font-weight:800; line-height:1.15; }
.contact-card .phone { font-size:22px; font-weight:700; margin-top:4px; }
.contact-card .addr { font-size:16px; color:var(--muted); margin-top:4px; }
.attempt-badge { display:inline-block; background:#fff3cd; color:#7a5b00; font-weight:800; padding:6px 12px; border-radius:999px; margin-top:10px; }
.meta-line { margin-top:10px; font-size:15px; }
.meta-line b { font-weight:700; }
/* Concept A call row: sky-blue primary + Mute/Hold */
.call-row { display:flex; gap:8px; margin:14px 0; flex-wrap:wrap; }
.call-row .dial-btn { flex:1; }
.call-row button { min-height:40px; padding:9px 14px; border-radius:10px; font-weight:700; font-size:13px; background:var(--secondary-bg); color:var(--ink); border:1px solid var(--line); }
.dial-btn { display:block; width:100%; text-align:center; font-size:15px; padding:9px 14px; background:var(--accent-dark); color:#fff; border-radius:10px; text-decoration:none; font-weight:700; min-height:40px; }
.disp-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:14px; }
@media (min-width:640px){ .disp-grid { grid-template-columns:repeat(3, 1fr); } }
.disp-grid button { padding:8px; font-size:13px; min-height:44px; border-radius:10px; font-weight:700; background:var(--card); color:var(--ink); border:1px solid rgba(0,0,0,.08); }
.disp-grid button.d-appointment_set { background:var(--active-bg); }
.disp-grid button.d-do_not_call { background:var(--red); color:#fff; }
.key-hint { font-size:12px; opacity:.75; display:block; margin-top:4px; font-weight:400; }
.next-btn { width:100%; font-size:19px; padding:17px; margin-top:14px; }
.script { background:var(--soft); border:1px solid var(--line); padding:14px; border-radius:12px; font-size:14px; line-height:1.6; }
.script p { margin:8px 0; }
.script h4 { margin:16px 0 4px; font-size:15px; }
.script h4:first-child { margin-top:0; }
.script .stage { color:var(--muted); font-style:italic; font-size:13px; }
/* Concept A: stats strip, 3-column grid, queue, OH/PA pill toggle, appointments */
.a-stats { display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--line); border:1px solid var(--line); margin-top:14px; }
@media (min-width:700px){ .a-stats { grid-template-columns:repeat(4, 1fr); } }
.a-stats .a-stat { background:var(--card); padding:12px 16px; }
.a-stats .a-stat span { display:block; font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); font-weight:700; }
.a-stats .a-stat b { display:block; font-size:20px; line-height:1.2; margin-top:2px; }
.a-grid { display:grid; grid-template-columns:1fr; border:1px solid var(--line); border-top:0; }
@media (min-width:900px){ .a-grid { grid-template-columns:240px 1fr 280px; } }
.a-col { background:var(--card); padding:16px; border-bottom:1px solid var(--line); }
@media (min-width:900px){ .a-col { border-bottom:0; border-right:1px solid var(--line); } .a-col:last-child { border-right:0; } }
.col-h { margin:0 0 10px; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.queue-item { padding:10px; border:1px solid var(--line); border-radius:10px; margin-bottom:8px; }
.queue-item b { font-size:13px; }
.queue-item .qsub { margin:2px 0 0; font-size:12px; color:var(--muted); }
.queue-item.active { border-color:#7dd3fc; background:var(--active-bg); }
.contact-big { font-size:24px; font-weight:800; letter-spacing:-.02em; line-height:1.1; margin:4px 0; }
.contact-detail { margin:0; color:#475569; font-size:14px; }
.script-toggle { display:flex; background:var(--soft); border-radius:999px; padding:3px; gap:3px; max-width:260px; margin-bottom:10px; }
.script-toggle button { flex:1; min-height:36px; border:0; border-radius:999px; background:transparent; color:var(--ink); font-weight:700; font-size:13px; padding:6px 10px; }
.script-toggle button.active { background:var(--card); box-shadow:0 1px 4px rgba(0,0,0,.12); }
.appt-row { display:flex; justify-content:space-between; gap:10px; padding:10px 0; border-bottom:1px solid #f1f5f9; font-size:13px; }
.appt-row:last-child { border-bottom:0; }
.appt-row .t { color:var(--muted); }
.pill.imm { background:#dbeafe; color:#1d4ed8; padding:6px 10px; display:inline-flex; gap:6px; white-space:nowrap; }
.pill.sched { background:#fef3c7; color:#92400e; padding:6px 10px; display:inline-flex; gap:6px; white-space:nowrap; }

/* tables */
table { width:100%; border-collapse:collapse; font-size:14px; }
th, td { text-align:left; padding:8px 6px; border-bottom:1px solid var(--line); vertical-align:top; }
th { color:var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:.04em; }
.pill { display:inline-block; padding:3px 9px; border-radius:999px; font-size:12px; font-weight:700; background:#e6eef5; }
.chat-badge { display:inline-block; background:#e0245e; color:#fff; border-radius:999px; padding:0 7px; font-size:12px; font-weight:700; line-height:18px; vertical-align:middle; }
.pill.online { background:#dcfce7; color:#166534; }
.pill.offline { background:#e6eef5; color:#5a6b7a; }
.pill.break { background:#fff3cd; color:#7a5b00; }
.warn-box { background:#fff8e1; border:1px solid #f0d48a; border-radius:10px; padding:12px 14px; font-size:14px; margin-top:12px; }
.notice-box { background:#eef6ff; border:1px solid #bcd9f5; border-radius:10px; padding:12px 14px; font-size:14px; margin-top:12px; }
.toast { position:fixed; left:50%; transform:translateX(-50%); bottom:24px; background:#16222e; color:#fff; padding:12px 18px; border-radius:10px; z-index:50; font-weight:600; box-shadow:0 4px 18px rgba(0,0,0,.25); }
.modal-back { position:fixed; inset:0; background:rgba(0,0,0,.5); display:flex; align-items:flex-end; justify-content:center; z-index:40; }
.modal { background:var(--card); border-radius:16px 16px 0 0; padding:20px; width:100%; max-width:560px; max-height:85vh; overflow:auto; }

/* floating pitch button — one tap to the script, on every theme */
.pitch-fab { position:fixed; right:16px; bottom:16px; z-index:30; background:var(--accent-dark); color:#fff; border-radius:999px; padding:14px 20px; font-size:16px; font-weight:800; box-shadow:0 4px 16px rgba(0,0,0,.25); }
.center { text-align:center; padding:40px 20px; }
.big-num { font-size:30px; font-weight:800; }
.stat-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:10px; margin-top:10px; }
.stat { background:var(--soft); border-radius:10px; padding:10px; text-align:center; }
.stat b { display:block; font-size:22px; }
.stat span { font-size:12px; color:var(--muted); }

/* ---------- per-account game themes ---------- */
/* Each theme only re-skins the app: palette, fonts, accents, button and
   card styles, and a few decorative touches. Layout, features and data
   never change. Classic (no data-theme, or data-theme="classic") keeps
   the variables in :root above, so the default look is untouched. */

/* Shared readability fixes for the dark themes: a couple of components
   carry hardcoded light colors that would be unreadable on dark cards. */
html[data-theme="arcade"] .contact-detail, html[data-theme="grand-prix"] .contact-detail,
html[data-theme="casino"] .contact-detail, html[data-theme="portal"] .contact-detail { color: var(--muted); }
html[data-theme="arcade"] .pill:not(.online):not(.offline):not(.break):not(.imm):not(.sched),
html[data-theme="grand-prix"] .pill:not(.online):not(.offline):not(.break):not(.imm):not(.sched),
html[data-theme="casino"] .pill:not(.online):not(.offline):not(.break):not(.imm):not(.sched),
html[data-theme="portal"] .pill:not(.online):not(.offline):not(.break):not(.imm):not(.sched) { color: #0f172a; }

/* 🕹️ Arcade Quest Mode — dark cabinet, neon pink + cyan */
html[data-theme="arcade"] { --bg:#0b0b1e; --card:#191930; --ink:#f2f2ff; --muted:#9a9ac0; --line:#2e2e4d; --accent:#00e5ff; --accent-dark:#ff2e88; --soft:#14142a; --active-bg:#22304d; --secondary-bg:#2a2a44; }
html[data-theme="arcade"] .contact-big, html[data-theme="arcade"] .statusbar .logo, html[data-theme="arcade"] h1 { font-family:"Courier New", ui-monospace, monospace; }
html[data-theme="arcade"] .statusbar { border-bottom:2px solid #00e5ff; }
html[data-theme="arcade"] .dial-btn { box-shadow:0 0 14px rgba(255,46,136,.5); }
html[data-theme="arcade"] .nav button.active { background:#ff2e88; border-color:#ff2e88; }

/* 🎲 Board Game Trail — warm cream, wood, player-piece red */
html[data-theme="board-game"] { --bg:#f7ecd2; --card:#fffdf5; --ink:#3d2c1e; --muted:#8a6f52; --line:#d9c49a; --accent:#c0392b; --accent-dark:#8b5e34; --soft:#f3e6c8; --active-bg:#fdeecd; --secondary-bg:#efe0bd; }
html[data-theme="board-game"] .contact-big, html[data-theme="board-game"] h1, html[data-theme="board-game"] h3 { font-family:Georgia, "Times New Roman", serif; }
html[data-theme="board-game"] .card, html[data-theme="board-game"] .a-col { border-radius:18px; }
html[data-theme="board-game"] .statusbar { border-bottom:3px solid #8b5e34; }

/* 🏁 Turbo Grand Prix — black, racing red, checkered flag */
html[data-theme="grand-prix"] { --bg:#0f0f0f; --card:#1d1d1d; --ink:#f5f5f5; --muted:#a3a3a3; --line:#333333; --accent:#ff8700; --accent-dark:#e10600; --soft:#171717; --active-bg:#2b2b2b; --secondary-bg:#2a2a2a; }
html[data-theme="grand-prix"] .statusbar { border-bottom:3px solid #e10600; }
html[data-theme="grand-prix"] .statusbar .logo { font-style:italic; }
html[data-theme="grand-prix"] .dial-btn { background:#e10600; font-style:italic; letter-spacing:.02em; }
html[data-theme="grand-prix"] .nav button.active { background:#e10600; border-color:#e10600; }

/* 🐉 Fantasy Realm Quest — parchment, royal purple, gold */
html[data-theme="fantasy"] { --bg:#f3e9d2; --card:#fff8e7; --ink:#2e1a47; --muted:#7d6a9c; --line:#d8c9a3; --accent:#b8860b; --accent-dark:#7b2fbe; --soft:#efe3c2; --active-bg:#e9dcf5; --secondary-bg:#e9dcc0; }
html[data-theme="fantasy"] .contact-big, html[data-theme="fantasy"] h1, html[data-theme="fantasy"] h3 { font-family:Georgia, "Times New Roman", serif; }
html[data-theme="fantasy"] .statusbar { border-bottom:2px solid #b8860b; }
html[data-theme="fantasy"] .script { font-family:Georgia, "Times New Roman", serif; }

/* 🏟️ Championship Stadium — grass green, scoreboard */
html[data-theme="stadium"] { --bg:#eaf5e9; --card:#ffffff; --ink:#0b3d1a; --muted:#5b7a63; --line:#c4ddc2; --accent:#1e9e5a; --accent-dark:#0b6e2f; --soft:#dff0dc; --active-bg:#d3ecd8; --secondary-bg:#d8ecd4; }
html[data-theme="stadium"] .a-stats .a-stat b { font-family:"Courier New", ui-monospace, monospace; }
html[data-theme="stadium"] .statusbar { border-bottom:3px solid #1e9e5a; }

/* 🎰 Casino High Roller — ROULETTE: green felt, gold, red & black */
html[data-theme="casino"] { --bg:#0a3d1f; --card:#0f5132; --ink:#f5f0dc; --muted:#b8c9a8; --line:#1e6b41; --accent:#d4af37; --accent-dark:#d4af37; --soft:#0d4a27; --active-bg:#145c34; --secondary-bg:#145c34; }
html[data-theme="casino"] button { color:#1a1a1a; }
html[data-theme="casino"] .statusbar button, html[data-theme="casino"] .nav button, html[data-theme="casino"] .disp-grid button, html[data-theme="casino"] button.ghost, html[data-theme="casino"] button.secondary { color:var(--ink); }
html[data-theme="casino"] .contact-big, html[data-theme="casino"] h1, html[data-theme="casino"] h3 { font-family:Georgia, "Times New Roman", serif; }
html[data-theme="casino"] .statusbar { border-bottom:3px solid #d4af37; }
html[data-theme="casino"] .statusbar .logo b { color:#d4af37; }
html[data-theme="casino"] .dial-btn { background:#d4af37; color:#1a1a1a; }
html[data-theme="casino"] .nav button.active { background:#d4af37; border-color:#d4af37; color:#1a1a1a; }
html[data-theme="casino"] .disp-grid button.d-do_not_call { background:#c0392b; color:#fff; }
html[data-theme="casino"] .call-row button { border-color:#d4af37; }
html[data-theme="casino"] .a-stats { border-color:#d4af37; }

/* 🗺️ World Atlas Tour — ocean teal, sand, dotted route */
html[data-theme="world-atlas"] { --bg:#e8f1f2; --card:#ffffff; --ink:#12343b; --muted:#5b7a80; --line:#c3d9db; --accent:#0e7c7b; --accent-dark:#0a5c5b; --soft:#dcebed; --active-bg:#d2e8ea; --secondary-bg:#d5e7e9; }
html[data-theme="world-atlas"] .statusbar { border-bottom:2px dashed var(--accent); }
html[data-theme="world-atlas"] .queue-item.active { border-style:dashed; }

/* 🌀 Portal Realms — cosmic purple, glowing cyan */
html[data-theme="portal"] { --bg:#0d0620; --card:#1b1035; --ink:#e8e4ff; --muted:#a89fc9; --line:#3b2a63; --accent:#22d3ee; --accent-dark:#9d4edd; --soft:#160b33; --active-bg:#2a1a55; --secondary-bg:#2a1a55; }
html[data-theme="portal"] .statusbar { box-shadow:0 0 18px rgba(157,78,221,.35); }
html[data-theme="portal"] .dial-btn { background:linear-gradient(90deg, #9d4edd, #22d3ee); }
html[data-theme="portal"] .nav button.active { background:#9d4edd; border-color:#9d4edd; }

/* 🏴‍☠️ Pirate Island Hopper — parchment, sea, gold doubloons */
html[data-theme="pirate"] { --bg:#f0e2c0; --card:#fff7e0; --ink:#2b1d0e; --muted:#8a6d3f; --line:#d9bd7a; --accent:#a31621; --accent-dark:#7a4a12; --soft:#e8d5a4; --active-bg:#f6e7bd; --secondary-bg:#e9d5a4; }
html[data-theme="pirate"] .contact-big, html[data-theme="pirate"] h1, html[data-theme="pirate"] h3 { font-family:Georgia, "Times New Roman", serif; }
html[data-theme="pirate"] .statusbar { border-bottom:3px solid #a31621; }

/* 👑 Kingdom World Tour — royal purple, gold */
html[data-theme="kingdom"] { --bg:#f6f1e7; --card:#ffffff; --ink:#2a1a4a; --muted:#7a6a9c; --line:#ddd0f0; --accent:#c9a227; --accent-dark:#6d28d9; --soft:#efe8f7; --active-bg:#e6dcf7; --secondary-bg:#e9e2f5; }
html[data-theme="kingdom"] .contact-big, html[data-theme="kingdom"] h1, html[data-theme="kingdom"] h3 { font-family:Georgia, "Times New Roman", serif; }
html[data-theme="kingdom"] .statusbar { border-bottom:3px solid #c9a227; }

/* 🃏 Card View — one clean card per lead, baby blue on near-white. No game
   layer: bigger name, one big Call button, bigger file-this-call buttons. */
html[data-theme="card"] { --bg:#f4f8fc; --card:#ffffff; --ink:#0f2233; --muted:#5b7285; --line:#dbe9f5; --accent:#2ea8e8; --accent-dark:#0e7fc2; --soft:#eef6fd; --active-bg:#d9efff; --secondary-bg:#eef6fd; }
html[data-theme="card"] .statusbar { border-bottom:3px solid #2ea8e8; }
html[data-theme="card"] .card { border-radius:18px; box-shadow:0 1px 4px rgba(15,34,51,.07); }
html[data-theme="card"] .t-big-card h3 { font-size:28px; line-height:1.15; }
html[data-theme="card"] .t-big-card .addr { font-size:17px; }
html[data-theme="card"] .t-big-card .dial-btn { font-size:20px; padding:18px; min-height:60px; }
html[data-theme="card"] .t-card-actions { display:flex; gap:8px; margin-top:10px; }
html[data-theme="card"] .t-card-actions button { flex:1; min-height:52px; font-size:16px; }
html[data-theme="card"] .t-card .disp-grid button { font-size:16px; padding:16px 12px; min-height:56px; }
html[data-theme="card"] .t-card-count { display:flex; justify-content:space-between; gap:8px; flex-wrap:wrap; font-size:14px; font-weight:700; color:var(--muted); margin:14px 2px 0; }

/* ---------- Settings theme picker ---------- */
.theme-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:10px; margin-top:12px; }
.theme-card { display:flex; flex-direction:column; gap:6px; align-items:flex-start; text-align:left; background:var(--card); color:var(--ink); border:2px solid var(--line); border-radius:14px; padding:14px; min-height:110px; }
.theme-card.selected { border-color:var(--accent-dark); box-shadow:0 0 0 2px var(--accent-dark) inset; }
.theme-card .swatch { width:100%; height:16px; border-radius:8px; border:1px solid rgba(0,0,0,.15); }
.theme-card b { font-size:15px; }
.theme-card .theme-tag { font-size:13px; color:var(--muted); font-weight:400; }
.theme-card .theme-now { font-size:12px; font-weight:800; color:var(--accent-dark); }

/* ---------- per-theme LAYOUTS (v13) ---------- */
/* The v12 skins above only recolored the app. These rules rearrange the
   dialer per theme — quest list, board path, wheel, well, map, scoreboard.
   Every layout is single-column on phones, multi-column on desktop. */

/* coin balance — shown in the status bar in every theme */
.coin-pill { background:#fef3c7; color:#92400e; border:1px solid #fde68a; border-radius:999px; padding:6px 12px; font-size:13px; font-weight:700; white-space:nowrap; }

/* shared layout primitives */
.t-2col { display:grid; grid-template-columns:1fr; gap:0 14px; align-items:start; }
.t-2col > div { min-width:0; }
@media (min-width:860px){ .t-2col { grid-template-columns:1fr 1fr; } }
.t-3col { display:grid; grid-template-columns:1fr; gap:0 14px; align-items:start; }
.t-3col > .card { min-width:0; }
@media (min-width:900px){ .t-3col { grid-template-columns:1fr 1.2fr 1fr; } }
.t-hero { margin-top:14px; padding:16px; border-radius:14px; border:1px solid var(--line); background:var(--card); }
.t-hero-title { font-size:20px; font-weight:800; line-height:1.2; }
.t-hero-sub { margin-top:6px; font-size:14px; color:var(--muted); }
.t-xp-bar { height:14px; background:var(--soft); border:1px solid var(--line); border-radius:999px; margin-top:10px; overflow:hidden; }
.t-xp-fill { height:100%; background:linear-gradient(90deg, #00e5ff, #ff2e88); }
.filters { display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin-top:12px; }
.filters select { width:auto; flex:1 1 140px; }
.filters .hint { font-size:12px; color:var(--muted); }
.q-item { display:flex; gap:10px; align-items:flex-start; padding:10px; border:1px solid var(--line); border-radius:10px; margin-bottom:8px; font-size:13px; }
.q-item .q-num { display:flex; align-items:center; justify-content:center; min-width:26px; height:26px; border-radius:50%; background:var(--soft); border:1px solid var(--line); font-weight:800; font-size:12px; flex:none; }
.q-item .t { color:var(--muted); font-size:12px; }
.stats-strip { display:grid; grid-template-columns:repeat(2, 1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:12px; overflow:hidden; margin-top:14px; }
@media (min-width:700px){ .stats-strip { grid-template-columns:repeat(4, 1fr); } }
.stats-strip .stat { background:var(--card); border-radius:0; padding:12px 16px; text-align:left; margin:0; }
.stats-strip .stat .num { display:block; font-size:22px; font-weight:800; line-height:1.2; }
.stats-strip .stat .lbl { display:block; font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); font-weight:700; margin-top:2px; }

/* hero accents per theme */
html[data-theme="arcade"] .t-hero { border:2px solid #00e5ff; box-shadow:0 0 16px rgba(0,229,255,.25); }
html[data-theme="fantasy"] .t-hero { font-family:Georgia, "Times New Roman", serif; border:2px solid #b8860b; }
html[data-theme="grand-prix"] .t-hero { border-top:6px solid #e10600; }
html[data-theme="portal"] .t-hero { border:2px solid #9d4edd; box-shadow:0 0 18px rgba(157,78,221,.35); }
html[data-theme="kingdom"] .t-hero { border:2px solid #c9a227; }
html[data-theme="stadium"] .t-hero { border:2px solid #1e9e5a; }

/* 🎲 Board Game Trail — the queue as a board path */
.t-board { display:grid; grid-template-columns:repeat(3, 1fr); gap:8px; margin-top:14px; }
@media (min-width:640px){ .t-board { grid-template-columns:repeat(6, 1fr); } }
.t-tile { background:var(--card); border:2px solid var(--line); border-radius:12px; padding:10px 8px; font-size:13px; font-weight:700; text-align:center; min-height:64px; display:flex; align-items:center; justify-content:center; }
.t-tile.t-live { border-color:#c0392b; background:#fdeecd; box-shadow:0 0 0 2px #c0392b inset; }
.t-tile.t-gold { border-color:#c9a227; background:#fef9c3; }
.t-tile.t-start { background:#dcfce7; }
.t-tile.t-finish { background:#fef9c3; }
.t-tile.t-dim { opacity:.4; }

/* 🏁 Turbo Grand Prix — checkered flag strip */
.t-checker { height:18px; margin-top:14px; background:repeating-conic-gradient(#111 0% 25%, #fff 0% 50%) 0 0/28px 18px; border-radius:6px; border:1px solid var(--line); }

/* 🏟️ Championship Stadium — scoreboard */
.t-scoreboard { display:grid; grid-template-columns:repeat(2, 1fr); gap:1px; background:var(--line); border:1px solid var(--line); margin-top:14px; border-radius:12px; overflow:hidden; }
@media (min-width:600px){ .t-scoreboard { grid-template-columns:repeat(4, 1fr); } }
.t-sb-cell { background:var(--card); padding:12px; text-align:center; }
.t-sb-cell span:last-child { display:block; font-size:11px; letter-spacing:.06em; color:var(--muted); font-weight:700; margin-top:2px; }
.t-sb-num { display:block; font-size:24px; font-weight:800; font-family:"Courier New", ui-monospace, monospace; }
.t-sb-bases { grid-column:1/-1; background:var(--card); padding:8px 12px; font-size:13px; font-weight:700; text-align:center; }

/* 🎰 Casino Roulette — wheel, betting board, chips, slots, blackjack */
.t-casino-top { display:grid; grid-template-columns:1fr; gap:14px; align-items:start; }
@media (min-width:700px){ .t-casino-top { grid-template-columns:210px 1fr; } }
.t-casino-top .card { margin-top:0; }
.t-wheel-wrap { position:relative; width:200px; margin:6px auto 0; text-align:center; }
.t-wheel { width:200px; height:200px; border-radius:50%; border:4px solid #d4af37; position:relative; overflow:hidden; }
.t-wheel svg { width:100%; height:100%; display:block; }
.t-wheel-ball { position:absolute; top:27px; left:50%; transform:translateX(-50%); width:14px; height:14px; border-radius:50%; background:#fff; border:2px solid #111; z-index:2; }
.t-casino-hud { margin-top:10px; font-size:14px; font-weight:700; }
.t-roulette-card { margin-top:14px; }
.t-bet-row { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin:10px 0; }
.t-bet-on { font-size:14px; }
.chip { min-width:44px; height:44px; border-radius:50%; background:#f5f0dc; color:#1a1a1a; border:3px dashed #c0392b; font-weight:800; padding:0; }
.chip.on { background:#d4af37; border-color:#1a1a1a; }
.chip-mini { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:50%; background:#d4af37; color:#1a1a1a; font-weight:800; font-size:13px; margin-left:auto; flex:none; }
.t-roulette-board { display:flex; gap:2px; margin-top:10px; }
.t-rb-zero { display:flex; }
.t-rb-zero .t-rb-cell { height:100%; min-width:34px; }
.t-rb-rows { display:flex; flex-direction:column; gap:2px; flex:1; }
.t-rb-row { display:grid; grid-template-columns:repeat(12, 1fr); gap:2px; }
.t-rb-cell { min-height:34px; font-size:12px; font-weight:700; color:#fff; border-radius:4px; padding:4px 0; border:1px solid rgba(255,255,255,.45); }
.t-rb-cell.red { background:#c0392b; }
.t-rb-cell.black { background:#3f3f46; }
.t-rb-cell.green { background:#1a7f37; }
.t-rb-bet { min-height:44px; padding:0 16px; border-radius:8px; font-weight:800; color:#fff; border:2px solid rgba(255,255,255,.45); }
.t-rb-bet.red { background:#c0392b; }
.t-rb-bet.black { background:#3f3f46; }
.t-rb-bet.on { outline:3px solid #ffd700; outline-offset:-1px; }
.t-rb-cell.sel { outline:3px solid #ffd700; outline-offset:-1px; }
.t-roulette-result, .t-slots-result, .t-bj-result { font-weight:700; margin:10px 0 0; min-height:20px; }
.t-casino-floor { display:grid; grid-template-columns:1fr; gap:0 14px; align-items:start; }
@media (min-width:860px){ .t-casino-floor { grid-template-columns:1fr 1fr; } }
.t-slots-reels { display:flex; gap:8px; justify-content:center; margin:12px 0; }
.t-reel { font-size:40px; background:var(--soft); border:2px solid var(--line); border-radius:10px; padding:8px 12px; min-width:64px; text-align:center; }
.t-cards { display:flex; gap:6px; margin-top:6px; flex-wrap:wrap; }
.t-card { display:inline-block; min-width:38px; text-align:center; padding:8px 6px; background:#fff; color:#111; border-radius:6px; font-weight:800; border:1px solid #ccc; }
.t-card.t-red { color:#c0392b; }
.t-card.t-card-back { background:#7b2fbe; color:#fff; }
.t-bj-hands { display:grid; gap:12px; margin:12px 0; }

/* 🟦 Tetris Block Drop — 10-wide well */
html[data-theme="tetris"] { --bg:#0f0f23; --card:#1a1a2e; --ink:#e8e8ff; --muted:#8a8ab0; --line:#2e2e4d; --accent:#00e5ff; --accent-dark:#ff2e88; --soft:#14142a; --active-bg:#22304d; --secondary-bg:#2a2a44; }
html[data-theme="tetris"] .contact-big, html[data-theme="tetris"] h1 { font-family:"Courier New", ui-monospace, monospace; }
html[data-theme="tetris"] .statusbar { border-bottom:2px solid #00e5ff; }
html[data-theme="tetris"] .contact-detail { color:var(--muted); }
html[data-theme="tetris"] .pill:not(.online):not(.offline):not(.break):not(.imm):not(.sched) { color:#0f172a; }
html[data-theme="flappy"] { --bg:#a8dcf0; --card:#ffffff; --ink:#1a2e3d; --muted:#5a7a8a; --line:#bfe0ee; --accent:#74bf2e; --accent-dark:#4a9e1f; --soft:#eaf6fb; --active-bg:#d8f0d0; --secondary-bg:#eaf6fb; }
html[data-theme="flappy"] .statusbar { border-bottom:3px solid #74bf2e; }
html[data-theme="flappy"] .dial-btn { background:#4a9e1f; }
html[data-theme="flappy"] .nav button.active { background:#4a9e1f; border-color:#4a9e1f; }
/* No double-tap zoom anywhere while the bird game is on screen. */
html[data-theme="flappy"] { touch-action:manipulation; }
.t-tetris { display:grid; grid-template-columns:1fr; gap:0 14px; grid-template-areas:"well" "main"; align-items:start; }
@media (min-width:860px){ .t-tetris { grid-template-columns:300px 1fr; grid-template-areas:"well main"; } }
.t-well-col { grid-area:well; }
.t-tetris-main { grid-area:main; min-width:0; }
@media (min-width:860px){ .t-well-col .t-well-card { position:sticky; top:70px; } }
.t-flappy { display:grid; grid-template-columns:1fr; gap:0 14px; grid-template-areas:"game" "main"; align-items:start; }
@media (min-width:860px){ .t-flappy { grid-template-columns:300px 1fr; grid-template-areas:"game main"; } }
.t-flappy-col { grid-area:game; }
.t-flappy-main { grid-area:main; min-width:0; }
@media (min-width:860px){ .t-flappy-col .t-flappy-card { position:sticky; top:70px; } }
.flappy-canvas { display:block; width:100%; height:auto; margin:0 auto; border-radius:10px; border:3px solid var(--line); touch-action:none; cursor:pointer; }
.flappy-hud { display:flex; justify-content:space-between; gap:8px; margin-top:10px; font-size:13px; font-weight:700; flex-wrap:wrap; }
.flappy-controls { display:flex; gap:10px; margin-top:10px; }
.flappy-play { flex:1; background:#4a9e1f; color:#fff; font-weight:800; padding:12px; border-radius:10px; border:none; font-size:15px; cursor:pointer; }
.flappy-play:disabled { opacity:.55; cursor:default; }
.flappy-flap { flex:1; background:#fbd343; color:#1a1a1a; font-weight:800; padding:12px; border-radius:10px; border:none; font-size:15px; cursor:pointer; }
/* While a run is live the game takes over the screen; when the turn ends
   it goes back to the dialer. The card becomes a fixed full-screen layer
   (sky background, game centered, controls below it). */
.flappy-exit { display:none; }
html.flappy-playing, html.flappy-playing body { overflow:hidden; }
html.flappy-playing .t-flappy-card { position:fixed; inset:0; z-index:200; margin:0; border:none; border-radius:0; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:10px; padding:16px; background:linear-gradient(#2fa8dd, #a8e6e8 60%, #c9f0f2); overflow:auto; }
html.flappy-playing .t-flappy-card .col-h { display:none; }
html.flappy-playing .t-flappy-card .flappy-hud, html.flappy-playing .t-flappy-card .flappy-controls, html.flappy-playing .t-flappy-card #flappy-msg { width:100%; max-width:420px; }
html.flappy-playing .flappy-exit { display:block; position:absolute; top:12px; right:12px; z-index:5; background:rgba(0,0,0,.5); color:#fff; border:none; border-radius:20px; padding:8px 14px; font-weight:700; cursor:pointer; }
.t-well { display:grid; grid-template-columns:repeat(10, 1fr); gap:1px; background:#000; border:3px solid var(--line); border-radius:6px; overflow:hidden; }
.t-cell { aspect-ratio:1; background:#16162a; }
.t-cell.on { box-shadow:inset 0 0 0 1px rgba(255,255,255,.35); }
.t-cell.active { box-shadow:inset 0 0 0 2px #fff; }
.t-cell.ghost { background:transparent; box-shadow:inset 0 0 0 2px rgba(255,255,255,.45); }
.t-controls { display:flex; gap:6px; margin-top:10px; }
.t-ctl { flex:1; min-height:48px; font-size:20px; font-weight:800; border-radius:10px; background:var(--card); color:var(--ink); border:2px solid var(--line); touch-action:manipulation; }
.t-ctl.t-drop { flex:1.5; background:#00e5ff; color:#0f172a; border-color:#00e5ff; font-size:15px; }
.t-ctl:disabled { opacity:.35; }
.t-cell.c1 { background:#00e5ff; }
.t-cell.c2 { background:#f8b800; }
.t-cell.c3 { background:#a000f0; }
.t-cell.c4 { background:#00f000; }
.t-cell.c5 { background:#f00000; }
.t-cell.c6 { background:#0000f0; }
.t-cell.c7 { background:#f0a000; }
.t-well-info, .t-well-next { margin-top:8px; font-size:13px; font-weight:700; }
.t-mini-row { display:flex; gap:2px; margin-bottom:2px; }
.t-mini-cell { width:12px; height:12px; border-radius:2px; }
.t-mini-cell.on { background:#00e5ff; }

/* 🗺️ World Atlas Tour — world cards + dotted route */
.t-worlds { display:grid; grid-template-columns:1fr; gap:10px; margin-top:14px; }
@media (min-width:600px){ .t-worlds { grid-template-columns:repeat(3, 1fr); } }
.t-world { display:flex; flex-direction:column; gap:4px; align-items:center; background:var(--card); color:var(--ink); border:2px solid var(--line); border-radius:14px; padding:14px; }
.t-world.active { border-color:var(--accent-dark); box-shadow:0 0 0 2px var(--accent-dark) inset; }
.t-world.locked { opacity:.5; }
.t-world-icon { font-size:28px; }
.t-world-sub { font-size:12px; color:var(--muted); }
.t-route { margin-top:10px; border-top:2px dashed var(--accent); padding-top:8px; font-size:13px; color:var(--muted); display:flex; gap:8px; align-items:center; }
.t-route-dot { width:10px; height:10px; border-radius:50%; background:var(--accent-dark); flex:none; }

/* 🌀 Portal Realms — portal cards; the dialer re-themes per world */
.t-portals { display:grid; grid-template-columns:repeat(2, 1fr); gap:10px; margin-top:14px; }
@media (min-width:700px){ .t-portals { grid-template-columns:repeat(4, 1fr); } }
.t-portal { display:flex; flex-direction:column; gap:4px; align-items:center; background:var(--card); color:var(--ink); border:2px solid var(--line); border-radius:14px; padding:14px; }
.t-portal.active { border-color:#9d4edd; box-shadow:0 0 14px rgba(157,78,221,.45); }
.t-portal.locked { opacity:.5; }
.t-portal-icon { font-size:28px; }
.t-portal-sub { font-size:12px; color:var(--muted); }
html[data-theme="portal"][data-portal="sun"] { --bg:#fdf3d8; --card:#fff8e7; --ink:#5c3a00; --muted:#8a6d3f; --line:#e8d5a4; --accent:#f59e0b; --accent-dark:#b45309; --soft:#f6e7bd; --active-bg:#fdeecd; --secondary-bg:#f6e7bd; }
html[data-theme="portal"][data-portal="storm"] { --bg:#0a1628; --card:#12233d; --ink:#dbeafe; --muted:#8aa3c2; --line:#2b3f5e; --accent:#38bdf8; --accent-dark:#2563eb; --soft:#0e1e38; --active-bg:#1a2f4d; --secondary-bg:#1a2f4d; }

/* 🏴‍☠️ Pirate Island Hopper — island map + voyage */
.t-islands { display:flex; gap:8px; flex-wrap:wrap; margin-top:14px; }
.t-island { background:var(--card); color:var(--ink); border:2px solid var(--line); border-radius:999px; padding:10px 16px; font-weight:700; }
.t-island.active { border-color:var(--accent-dark); background:var(--active-bg); }
.t-voyage { margin-top:10px; font-size:13px; color:var(--muted); }

/* 👑 Kingdom World Tour — level-select map */
.t-kingdom-map { display:grid; grid-template-columns:repeat(3, 1fr); gap:8px; margin-top:14px; }
@media (min-width:700px){ .t-kingdom-map { grid-template-columns:repeat(5, 1fr); } }
.t-kingdom-node { display:flex; flex-direction:column; gap:2px; align-items:center; background:var(--card); color:var(--ink); border:2px solid var(--line); border-radius:14px; padding:10px 6px; font-size:12px; }
.t-kingdom-node.active { border-color:#c9a227; box-shadow:0 0 0 2px #c9a227 inset; }
.t-kingdom-icon { font-size:24px; }

/* 🍄 Super Platform World — sky, HUD, ? blocks, warp pipe */
html[data-theme="platform"] { --bg:#5c94fc; --card:#ffffff; --ink:#1a1a2e; --muted:#5b6b8c; --line:#b8c9f0; --accent:#e52521; --accent-dark:#e52521; --soft:#e8f0ff; --active-bg:#ffe9c9; --secondary-bg:#e8f0ff; }
html[data-theme="platform"] .statusbar { border-bottom:3px solid #e52521; }
html[data-theme="platform"] .dial-btn { background:#e52521; }
html[data-theme="platform"] .nav button.active { background:#e52521; border-color:#e52521; }
.t-plat-hud { display:flex; gap:16px; flex-wrap:wrap; margin-top:14px; padding:12px 14px; background:#3b6fe0; color:#fff; border-radius:8px; font-family:"Press Start 2P", "Courier New", ui-monospace, monospace; font-size:11px; letter-spacing:.02em; }
.t-plat-hud span { white-space:nowrap; }
.t-plat-blocks { display:flex; gap:6px; align-items:flex-end; margin-top:10px; padding:0 4px; }
.t-plat-q { width:34px; height:34px; background:#f8b800; border:3px solid #7a4a00; border-radius:4px; color:#7a4a00; font-weight:800; font-size:20px; display:flex; align-items:center; justify-content:center; }
.t-plat-brick { width:34px; height:34px; background:#c84c0c; border:3px solid #7a2d00; border-radius:2px; }
.t-plat-pipe { width:40px; height:52px; background:#00a800; border:3px solid #003c00; border-radius:4px 4px 0 0; position:relative; }
.t-plat-pipe::before { content:""; position:absolute; top:-8px; left:-5px; right:-5px; height:12px; background:#00a800; border:3px solid #003c00; border-radius:4px; }

/* ---- State toggle (Ohio | PA | All) — every theme ---- */
.state-toggle { display:flex; gap:6px; margin-top:12px; flex-wrap:wrap; }
.state-toggle button { flex:1; min-width:90px; min-height:46px; font-size:16px; font-weight:800; border-radius:12px; border:2px solid var(--accent); background:var(--card); color:var(--ink); }
.state-toggle button small { font-weight:600; opacity:.8; font-size:12px; margin-left:4px; }
.state-toggle button.active { background:var(--accent); color:#1a1a1a; }

/* ---- Casino layout v88: call first, games below ---- */
.t-cz-bar { display:flex; justify-content:space-between; align-items:center; gap:8px; flex-wrap:wrap; padding:10px 12px; border:2px solid #d4af37; border-radius:12px; background:#0d4a27; font-size:14px; }
.t-cz-bar .t-casino-hud { margin-top:0; }
.t-cz-live { border:2px solid #d4af37; }
.t-cz-live h3 { font-size:24px; color:#fff; margin:4px 0; }
.t-cz-live .addr { font-size:16px; color:#f5f0dc; }
.t-cz-phone { font-size:22px; font-weight:800; color:#d4af37; margin:10px 0 4px; letter-spacing:.02em; }
html[data-theme="casino"] .t-cz-live .dial-btn { font-size:20px; padding:16px; min-height:58px; border-radius:14px; }
html[data-theme="casino"] .t-cz-results .disp-grid button { font-size:15px; min-height:54px; background:#145c34; border:2px solid #d4af37; color:#fff; }
html[data-theme="casino"] .lead-results .row button { min-height:50px; font-size:15px; font-weight:800; }
html[data-theme="casino"] .lead-results .row button:first-child { background:#d4af37; color:#1a1a1a; }
.t-cz-floor summary { cursor:pointer; font-weight:800; font-size:16px; padding:6px 0; color:#d4af37; }
.t-cz-floor[open] summary { margin-bottom:10px; }
.t-cz-floor .t-wheel-wrap { max-width:220px; margin:0 auto 10px; }

/* ---------- v91 shared date-range chips (Dashboard theme + Supervisor) ---------- */
.range-chips { display:flex; gap:6px; overflow-x:auto; -webkit-overflow-scrolling:touch; padding:2px 0 6px; margin:8px 0; align-items:center; }
.range-chips .chip { flex:0 0 auto; min-height:36px; padding:7px 13px; border-radius:999px; font-size:13px; font-weight:700; background:var(--secondary-bg); color:var(--ink); border:1px solid var(--line); }
.range-chips .chip.active { background:var(--accent-dark); color:#fff; border-color:var(--accent-dark); }
.range-chips .chip-date { flex:0 0 auto; width:auto; min-height:36px; padding:6px 10px; border-radius:999px; font-size:13px; }

/* ---------- v92 Dashboard theme: Raad-style layout ----------
   One-line accent swap: change --dash-accent to #7EC8E3 for baby blue. */
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) { --dash-accent:#F5C518; --dash-on-accent:#0a0b0f; --dash-good:#2de1c2; --dash-bad:#ff3b5c; --dash-page:#0a0b0f; --dash-card:#12141a; --dash-line:#1f232c;
  --bg:#0a0b0f; --card:#12141a; --ink:#f1f4f8; --muted:#8a93a3; --line:#1f232c; --accent:var(--dash-accent); --accent-dark:#b8930f; --soft:#12141a; --active-bg:#2a240c; --secondary-bg:#181b22; --green:#2de1c2; --red:#ff3b5c; color-scheme:dark; }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) body { background:var(--dash-page); }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) #app { max-width:none; }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .a-stats { display:none; }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .disp-grid button { background:var(--dash-card); color:#f1f4f8; border:1px solid #2a2f3a; }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .disp-grid button.d-appointment_set { background:#0f2f2a; border-color:var(--dash-good); color:var(--dash-good); }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .disp-grid button.d-do_not_call { background:var(--dash-bad); color:#fff; border-color:var(--dash-bad); }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .dial-btn, html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .next-btn:not(.secondary) { background:var(--dash-good); color:#0a0b0f; }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .pitch-fab { background:var(--dash-accent); color:var(--dash-on-accent); }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .warn-box, html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .notice-box { background:var(--dash-card); color:#f1f4f8; border-color:#2a3140; }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) table th { color:#8a93a3; }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) table td { border-color:var(--dash-line); }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .range-chips .chip { background:#181b22; color:#c9d0db; border-color:var(--dash-line); }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .range-chips .chip.active { background:var(--dash-accent); color:var(--dash-on-accent); border-color:var(--dash-accent); }
/* shell: rail + main */
.dsh { display:flex; min-height:100vh; min-height:100dvh; background:var(--dash-page); color:#f1f4f8; }
.drail { position:sticky; top:0; align-self:flex-start; flex:0 0 60px; height:calc(100vh - 16px); height:calc(100dvh - 16px); margin:8px 0 8px 8px; padding:12px 0; border-radius:30px;
  background:linear-gradient(180deg,#3a2a52 0%,#1d1729 45%,#0d0c12 100%); border:1px solid #2a2338; display:flex; flex-direction:column; align-items:center; gap:6px; overflow-y:auto; scrollbar-width:none; z-index:30; }
.drail::-webkit-scrollbar { display:none; }
.dri { position:relative; flex:0 0 auto; width:42px; height:42px; min-height:0; padding:0; border:0; border-radius:14px; background:transparent; color:#a9a3bd; display:flex; align-items:center; justify-content:center; }
.dri:hover { color:#fff; background:#ffffff10; }
.dri.active { background:color-mix(in srgb, var(--dash-accent) 22%, transparent); color:var(--dash-accent); }
.dri .chat-badge { position:absolute; top:2px; right:0; font-size:9px; line-height:14px; padding:0 4px; }
.dmain { flex:1; min-width:0; }
.dtop { display:flex; justify-content:space-between; align-items:center; gap:8px; padding:14px 16px 4px; }
.dbrand { display:flex; align-items:center; gap:9px; font-size:14px; color:#f1f4f8; min-width:0; }
.dbrand > span:last-child { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dbrand b { font-weight:900; }
.dlogo { flex:0 0 auto; width:32px; height:32px; border-radius:9px; background:var(--dash-accent); color:var(--dash-on-accent); display:flex; align-items:center; justify-content:center; }
.dlogo svg { width:18px; height:18px; stroke-width:2.2; }
.dtop-r { display:flex; align-items:center; gap:8px; flex:0 0 auto; }
.dtop .coin-pill { background:#181b22; color:#f1f4f8; border:1px solid var(--dash-line); }
.dme { width:32px; height:32px; border-radius:50%; background:linear-gradient(135deg,#e9edf3,#9aa3b2); color:#0a0b0f; display:flex; align-items:center; justify-content:center; font-weight:900; font-size:13px; }
.dstatus { position:static; background:transparent; border:0; padding:6px 16px; }
.dstatus button { background:#181b22; color:#f1f4f8; border-color:var(--dash-line); }
.dwrap { max-width:1280px; padding:6px 16px 60px; margin:0; }
.dv-head { display:flex; align-items:center; gap:10px; margin:4px 0 8px; }
.dv-title { font-weight:900; font-size:18px; letter-spacing:.3px; }
/* home */
.dash { color:#f1f4f8; padding:10px 0 0; }
.dash-hero { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; margin:8px 0 6px; }
.dash-h { font-size:30px; font-weight:900; line-height:1.05; margin:0; color:#fff; text-transform:uppercase; letter-spacing:-.2px; }
.dash-h b { color:var(--dash-accent); display:block; font-weight:900; }
.dash-sub { font-size:13px; color:#8a93a3; margin-top:6px; }
.dash-btns { display:flex; gap:8px; flex-wrap:wrap; }
.dpill { border-radius:999px; padding:11px 18px; font-size:13px; font-weight:800; min-height:42px; white-space:nowrap; border:0; }
.dpill.ghost { background:transparent; border:1px solid var(--dash-good); color:var(--dash-good); }
.dpill.solid { background:var(--dash-good); color:#0a0b0f; box-shadow:0 0 18px rgba(45,225,194,.35); }
.dsec-h { display:flex; justify-content:space-between; align-items:center; margin:22px 0 10px; gap:8px; }
.dash-lbl { font-size:12px; font-weight:900; letter-spacing:1.4px; color:#e6e9ef; }
.drange { position:relative; }
.drange-btn { min-height:30px; padding:5px 12px; border-radius:8px; font-size:12px; font-weight:700; background:#181b22; color:#d6dbe3; border:1px solid var(--dash-line); }
.drange-menu { position:absolute; right:0; top:calc(100% + 6px); z-index:40; background:#14161c; border:1px solid #2a2f3a; border-radius:12px; padding:6px 8px; box-shadow:0 12px 30px rgba(0,0,0,.6); width:max-content; max-width:min(92vw,520px); }
.drange-menu .range-chips { margin:0; flex-wrap:wrap; overflow:visible; padding:2px 0; }
.dash-cards { display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:12px; }
.dcard { background:var(--dash-card); border:1px solid var(--dash-line); border-radius:16px; padding:14px; min-width:0; }
.dch { display:flex; justify-content:space-between; align-items:center; gap:6px; }
.dch-l { display:flex; align-items:center; gap:8px; font-size:10px; font-weight:800; color:#b4bcc8; text-transform:uppercase; letter-spacing:.6px; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
.dico { flex:0 0 auto; width:26px; height:26px; border-radius:8px; background:#22262f; color:#d6dbe3; display:flex; align-items:center; justify-content:center; }
.dico svg { width:14px; height:14px; }
.dnum { font-size:28px; font-weight:900; margin:12px 0 8px; letter-spacing:-.5px; }
.dnum small { font-size:13px; color:#8a93a3; font-weight:700; letter-spacing:0; }
.dbar { height:4px; background:#262a33; border-radius:4px; overflow:hidden; margin:4px 0; }
.dbar.thick { height:9px; }
.dbar i { display:block; height:100%; border-radius:4px; background:var(--dash-accent); }
.dbar i.g { background:var(--dash-good); box-shadow:0 0 8px rgba(45,225,194,.5); } .dbar i.r { background:var(--dash-bad); box-shadow:0 0 8px rgba(255,59,92,.45); }
.dfoot { display:flex; justify-content:space-between; gap:6px; font-size:10px; color:#8a93a3; margin-top:7px; }
.dtag { display:inline-block; font-size:8px; font-weight:900; padding:2px 6px; border-radius:6px; letter-spacing:.4px; white-space:nowrap; }
.dtag.g { background:var(--dash-good); color:#0a0b0f; } .dtag.r { background:var(--dash-bad); color:#fff; }
.dtag.o.g { background:rgba(45,225,194,.14); color:var(--dash-good); border:1px solid var(--dash-good); }
.dtag.o.r { background:rgba(255,59,92,.14); color:#ff6b84; border:1px solid var(--dash-bad); }
.dboard { background:var(--dash-card); border:1px solid var(--dash-line); border-radius:18px; padding:4px 14px 10px; margin-top:22px; }
.dboard .dsec-h { margin:14px 0 6px; }
.dash-tw { overflow-x:auto; -webkit-overflow-scrolling:touch; }
.dash-t { border-collapse:collapse; font-size:12px; min-width:820px; width:100%; color:#f1f4f8; }
.dash-t th { font-size:9px; color:#8a93a3; letter-spacing:1px; text-align:left; padding:8px 8px; font-weight:800; line-height:1.25; vertical-align:bottom; }
.dash-t td { padding:12px 8px; border-top:1px solid var(--dash-line); vertical-align:middle; }
.dash-t tr.me td { background:rgba(255,255,255,.05); }
.dash-t tr.me td:first-child { border-radius:12px 0 0 12px; } .dash-t tr.me td:last-child { border-radius:0 12px 12px 0; }
.dplace { font-weight:900; font-size:15px; width:44px; }
.dcell { min-width:72px; }
.dcv b { font-weight:900; font-size:14px; } .dcv small { color:#8a93a3; font-size:10px; margin-left:4px; }
.dcell .dbar { width:72px; }
.dnm { display:flex; align-items:center; gap:10px; font-weight:800; white-space:nowrap; }
.dnm-t { display:flex; flex-direction:column; gap:3px; align-items:flex-start; }
.dav { width:36px; height:36px; border-radius:50%; background:linear-gradient(135deg,#3a4152,#1f232c); color:var(--dash-accent); display:inline-flex; align-items:center; justify-content:center; font-size:14px; font-weight:900; border:2px solid #2f3542; }
.dyou { background:var(--dash-accent); color:var(--dash-on-accent); font-size:8px; font-weight:900; padding:1px 7px; border-radius:999px; letter-spacing:.5px; }
.dpct { color:#e6e9ef; font-weight:800; }
.dempty { color:#8a93a3; padding:18px 8px; }
@media (max-width:1100px) { .dash-cards { grid-template-columns:repeat(3, minmax(0,1fr)); } }
@media (max-width:700px) {
  .drail { flex-basis:52px; width:52px; margin:6px 0 6px 6px; height:calc(100vh - 12px); height:calc(100dvh - 12px); border-radius:26px; gap:4px; padding:10px 0; }
  .dri { width:38px; height:38px; border-radius:12px; }
  .dri svg { width:18px; height:18px; }
  .dtop { padding:12px 10px 2px; }
  .dbrand { font-size:12px; }
  .dbrand > span:last-child { white-space:normal; line-height:1.2; }
  .dwrap { padding:4px 10px 60px; }
  .dstatus { padding:6px 10px; }
  .dash-h { font-size:24px; }
  .dash-btns { width:100%; flex-wrap:nowrap; gap:6px; }
  .dash-btns .dpill { flex:1 1 50%; min-width:0; padding:10px 8px; font-size:12px; white-space:normal; line-height:1.15; }
  .dash-cards { grid-template-columns:repeat(2, minmax(0,1fr)); gap:8px; }
  .dash-cards .dcard:last-child:nth-child(odd) { grid-column:1 / -1; }
  .dch { flex-direction:column-reverse; align-items:flex-start; gap:7px; }
  .dico { width:22px; height:22px; border-radius:7px; }
  .dcard { padding:11px; border-radius:14px; }
  .dnum { font-size:23px; }
  .dfoot { font-size:9px; }
  .dboard { padding:2px 8px 8px; }
}

/* v93 Sun report card (Project Sunroof style) — uses each theme's vars */
.sunrep { margin:10px 0; max-width:440px; border:1px solid var(--line, #e5e7eb); border-radius:16px; overflow:hidden; background:var(--card, #fff); color:var(--ink, #111); box-sizing:border-box; }
.sunrep * { box-sizing:border-box; }
.sunrep-map { position:relative; aspect-ratio:1/1; max-height:340px; width:100%; background:#1b1d24; overflow:hidden; }
/* v122: picture + 'this house' dot share one box that covers the map like object-fit:cover, so the dot stays on the roof at any size */
.sunrep-map { container-type:size; }
.sunrep-cover { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); }
.sunrep-cover .sunrep-img { object-fit:fill; }
.sunrep-dot { position:absolute; width:11px; height:11px; margin:-5.5px 0 0 -5.5px; border-radius:50%; background:#9aa0a6; border:1.5px solid #fff; box-shadow:0 0 3px rgba(0,0,0,.55); opacity:.85; pointer-events:none; box-sizing:border-box; z-index:2; }
.sunrep-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.sunrep-prev { transform:scale(2.2); filter:brightness(.55) saturate(.8); }
.sunrep-over { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:12px; text-align:center; }
.sunrep-btn { background:#F5C518; color:#14110a; border:0; border-radius:999px; padding:10px 16px; font-weight:800; font-size:14px; box-shadow:0 4px 16px rgba(0,0,0,.35); cursor:pointer; }
.sunrep-err { color:#fff; font-weight:700; font-size:14px; text-shadow:0 1px 3px rgba(0,0,0,.6); }
.sunrep-err small { font-weight:500; opacity:.85; }
.sunrep-skel { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#cbd2dd; font-size:13px; font-weight:600;
  background:linear-gradient(100deg,#1b1d24 30%,#2a2e38 50%,#1b1d24 70%); background-size:300% 100%; animation:sunrepShim 1.2s linear infinite; }
@keyframes sunrepShim { from { background-position:100% 0; } to { background-position:-100% 0; } }
.sunrep-legend { display:flex; align-items:center; gap:8px; padding:8px 12px 2px; font-size:11px; font-weight:700; color:var(--muted, #6b7280); }
.sunrep-legend i { flex:1; height:8px; border-radius:4px; background:linear-gradient(90deg,#28064a,#6e1282,#c42462,#ec542c,#fa9818,#ffd628,#fff6b0); }
.sunrep-rows { padding:6px 10px 10px; display:flex; flex-direction:column; gap:6px; }
.sunrep-row { display:flex; gap:10px; align-items:flex-start; background:var(--soft, #f6f7f9); border:1px solid var(--line, #eceef2); border-radius:12px; padding:9px 10px; }
.sunrep-ic { width:30px; height:30px; flex:0 0 30px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--card, #fff); font-size:16px; }
.sunrep-row b { display:block; font-size:14px; line-height:1.3; }
.sunrep-row small { display:block; font-size:11.5px; color:var(--muted, #6b7280); margin-top:2px; line-height:1.4; }
.sunrep-est { font-size:9.5px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; padding:1px 5px; border-radius:5px; background:#F5C51833; color:inherit; vertical-align:middle; }
.sunrep-chips { display:flex; flex-wrap:wrap; gap:4px; margin-top:4px; }
.sunrep-chip { font-size:11px; padding:2px 7px; border-radius:999px; border:1px solid var(--line, #ddd); color:var(--ink, #111); }
.sunrep-chip.best { background:#F5C518; border-color:#F5C518; color:#14110a; font-weight:800; }
.sunrep-billin { display:inline-flex; align-items:center; gap:4px; margin-top:6px; color:var(--ink, #111); font-weight:700; }
.sunrep-billin input { width:84px; padding:5px 7px; border-radius:8px; border:1px solid var(--line, #ccc); background:var(--card, #fff); color:var(--ink, #111); font-size:14px; }
.sunrep-billin button { padding:5px 10px; border-radius:8px; font-size:12px; }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .sunrep { background:var(--dash-card,#12141a); border-color:var(--dash-line,#1f232c); color:#f1f4f8; }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .sunrep-row { background:#0e1015; border-color:var(--dash-line,#1f232c); }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .sunrep-ic { background:#1a1d25; }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .sunrep-row small, html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .sunrep-legend { color:#8a93a3; }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .sunrep-chip { color:#f1f4f8; border-color:#2a2f3a; }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .sunrep-billin, html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .sunrep-billin input { color:#f1f4f8; }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .sunrep-billin input { background:#0a0b0f; border-color:#2a2f3a; }

/* v94: readable address line on lead card, every theme */
.contact-address { margin:4px 0 2px; font-size:17px; font-weight:700; color:var(--ink, #0f172a); line-height:1.3; }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .contact-detail { color:#c3cad6; }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .contact-address { color:#ffffff; }
/* v95: bold readable address in the themed lead header too */
.contact-card .addr, .addr { font-weight:700; color:var(--ink, #0f172a); font-size:17px; }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .addr, html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .contact-address { color:#ffffff !important; }
html:is([data-theme="dashboard"],[data-theme="focus"],[data-theme="dashfocus"]) .contact-detail { color:#c3cad6 !important; }
.update-bar { position:fixed; left:50%; transform:translateX(-50%); top:calc(env(safe-area-inset-top, 0px) + 8px); z-index:9999; background:#F5C518; color:#0a0b0f; font-weight:800; border:0; border-radius:999px; padding:12px 18px; box-shadow:0 6px 20px rgba(0,0,0,.35); font-size:15px; width:auto; }

/* ===== v97 Focus theme (concept D) — dark, gold accent shared with Dashboard ===== */
html[data-theme="focus"] #app { max-width:560px; margin:0 auto; }
.fx { min-height:100vh; box-sizing:border-box; padding-bottom:90px; }
.fx *, .fx *::before, .fx *::after { box-sizing:border-box; }
.fx-top { position:sticky; top:0; z-index:20; display:flex; align-items:center; gap:8px; padding:10px 12px; background:rgba(10,11,15,.96); border-bottom:1px solid var(--dash-line); }
.fx-seg { display:flex; background:#12141a; border:1px solid #2a2f3a; border-radius:999px; padding:3px; gap:2px; min-width:0; }
.fx-seg button { background:transparent; color:#c3cad6; border:0; border-radius:999px; padding:8px 11px; font-size:14px; font-weight:600; white-space:nowrap; min-height:38px; }
.fx-seg button.on { background:var(--dash-accent); color:var(--dash-on-accent); }
.fx-seg #sb-online.on, .fx-seg.wide button.on:first-child { background:var(--dash-good); color:#0a0b0f; }
.fx-seg.wide { width:100%; margin-top:8px; } .fx-seg.wide button { flex:1; }
.fx-timer { font-size:12px; color:#8a93a3; flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.fx-more-btn { position:relative; background:#12141a; color:#f1f4f8; border:1px solid #2a2f3a; border-radius:12px; width:46px; height:42px; font-size:22px; line-height:1; padding:0; flex:none; }
.fx-more-btn .chat-badge { position:absolute; top:-5px; right:-5px; }
.fx-back { padding:10px 12px 0; }
.fx-wrap { padding:12px; }
.fx-head { display:flex; align-items:center; gap:12px; margin:2px 0 12px; }
.fx-ring { position:relative; width:64px; height:64px; flex:none; }
.fx-ring circle { fill:none; stroke-width:7; }
.fx-ring-bg { stroke:#1f232c; } .fx-ring-fg { stroke:var(--dash-accent); stroke-linecap:round; }
.fx-ring-n { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; line-height:1; }
.fx-ring-n b { font-size:17px; color:#fff; } .fx-ring-n small { font-size:10px; color:#8a93a3; }
.fx-ctx { display:flex; flex-direction:column; min-width:0; } .fx-ctx b { color:#fff; font-size:16px; } .fx-ctx span { color:#8a93a3; font-size:13px; overflow-wrap:anywhere; }
.fx-lead { text-align:center; padding:6px 4px 10px; }
.fx-name { font-size:30px; font-weight:800; color:#fff; line-height:1.15; overflow-wrap:anywhere; }
.fx-lead .contact-address { font-size:18px; margin-top:8px; }
.fx-lead .contact-detail { font-size:14px; margin-top:4px; }
.fx-call { display:flex !important; align-items:center; justify-content:center; width:100%; min-height:88px; font-size:30px !important; font-weight:800; border-radius:22px !important; margin:6px 0 14px; text-decoration:none; background:var(--dash-good) !important; color:#0a0b0f !important; border:0; box-shadow:0 8px 24px rgba(45,225,194,.18); }
.fx-main, .fx-more { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.fx-more { margin-top:10px; padding-top:10px; border-top:1px dashed #2a2f3a; }
.fx-r { position:relative; min-height:72px; font-size:19px; font-weight:700; border-radius:16px; background:#12141a; color:#f1f4f8; border:1px solid #2a2f3a; padding:8px; overflow-wrap:anywhere; }
.fx-more .fx-r { min-height:58px; font-size:16px; }
.fx-r .key-hint { position:absolute; top:6px; right:9px; font-size:11px; color:#6b7280; font-weight:600; }
.fx-r.d-appointment_set { background:#0f2f2a; border-color:var(--dash-good); color:var(--dash-good); }
.fx-r.d-answered { border-color:var(--dash-accent); color:var(--dash-accent); }
.fx-r.d-do_not_call { background:#2a0f16; border-color:var(--dash-bad); color:#ff8da1; }
.fx-row { display:flex; gap:10px; margin-top:10px; }
.fx-sm { flex:1; min-height:46px; background:#181b22; color:#c9d0db; border:1px solid #2a2f3a; border-radius:12px; font-weight:600; }
.fx-filed { text-align:center; color:#c3cad6; margin:4px 0 10px; }
.fx-file { display:grid; gap:10px; }
.fx-f { min-height:70px; font-size:20px; font-weight:800; border-radius:18px; background:#181b22; color:#f1f4f8; border:1px solid #2a2f3a; }
.fx-f.done { background:var(--dash-good); color:#0a0b0f; border:0; }
.fx-f.dnc { background:#2a0f16; color:#ff8da1; border-color:var(--dash-bad); }
.fx-det { margin-top:12px; background:#12141a; border:1px solid #1f232c; border-radius:14px; padding:0 12px; }
.fx-det summary { padding:13px 0; font-weight:700; color:#f1f4f8; cursor:pointer; }
.fx-det summary small { color:#8a93a3; font-weight:600; margin-left:4px; }
.fx-det[open] { padding-bottom:12px; }
.fx-det .meta-line, .fx-det .q-item { color:#c3cad6; }
.fx-empty { text-align:center; padding:30px 0; }
.fx-break { display:grid; gap:8px; } .fx-break button { min-height:52px; font-size:17px; }
.fx-dback { position:fixed; inset:0; z-index:60; background:rgba(0,0,0,.55); display:flex; justify-content:flex-end; }
.fx-dr { width:min(380px, 92vw); height:100%; overflow-y:auto; background:#0d1015; border-left:1px solid #1f232c; padding:14px; color:#f1f4f8; box-sizing:border-box; }
.fx-dr-h { display:flex; align-items:center; gap:10px; margin-bottom:6px; } .fx-dr-h b { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.fx-dr-h .ghost { color:#f1f4f8; font-size:18px; }
.fx-sec { border-top:1px solid #1f232c; padding:12px 0; }
.fx-sec h5 { margin:0 0 8px; font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:#8a93a3; }
.fx-filters { display:grid; gap:8px; margin-top:8px; }
.fx-filters select { background:#12141a; color:#f1f4f8; border-color:#2a2f3a; }
.fx-up { margin-top:8px; font-size:13px; color:#c3cad6; overflow-wrap:anywhere; }
.fx-list { display:grid; gap:6px; }
.fx-di { display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; text-align:left; background:#12141a; color:#f1f4f8; border:1px solid #1f232c; border-radius:12px; padding:12px; min-height:48px; font-size:15px; }
.fx-di small { color:#8a93a3; font-size:11px; text-align:right; }
.fx-n { background:var(--dash-bad); color:#fff; border-radius:999px; padding:1px 8px; font-size:12px; font-weight:700; }
html:is([data-theme="focus"],[data-theme="dashfocus"]) .state-toggle button { background:#12141a; color:#c9d0db; border-color:#2a2f3a; }
html:is([data-theme="focus"],[data-theme="dashfocus"]) .state-toggle button.active { background:var(--dash-accent); color:var(--dash-on-accent); }
@media (max-width:360px) { .fx-seg button { padding:8px 8px; font-size:13px; } .fx-name { font-size:26px; } }

/* v98: live call notes box (every theme) */
.lead-notes { margin:10px 0; padding:10px; border:1px solid var(--line, #e2e8f0); border-radius:12px; background:var(--card, #fff); box-sizing:border-box; max-width:100%; }
.lead-notes-head { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:6px; font-size:14px; color:var(--ink, #0f172a); }
.lead-notes-status { width:auto; padding:3px 8px; font-size:12px; font-weight:600; border-radius:999px; border:0; background:transparent; color:var(--muted, #64748b); cursor:pointer; }
.lead-notes-status.err { background:#ff3b5c; color:#fff; }
.lead-notes-box { display:block; width:100%; box-sizing:border-box; min-height:84px; resize:vertical; font-size:16px; line-height:1.4; padding:10px 12px; border-radius:10px; border:1px solid var(--line, #e2e8f0); background:var(--soft, #f8fafc); color:var(--ink, #0f172a); }
.lead-notes-box:focus { outline:2px solid var(--accent, #38bdf8); outline-offset:1px; }
html[data-theme="dashboard"] .lead-notes, html:is([data-theme="focus"],[data-theme="dashfocus"]) .lead-notes { background:#12141a; border-color:#1f232c; }
html[data-theme="dashboard"] .lead-notes-box, html:is([data-theme="focus"],[data-theme="dashfocus"]) .lead-notes-box { background:#0a0b0f; border-color:#2a2f3a; color:#f1f4f8; }
html[data-theme="dashboard"] .lead-notes-head, html:is([data-theme="focus"],[data-theme="dashfocus"]) .lead-notes-head { color:#f1f4f8; }
html[data-theme="dashboard"] .lead-notes-box:focus, html:is([data-theme="focus"],[data-theme="dashfocus"]) .lead-notes-box:focus { outline-color:#F5C518; }

/* v99: dial mode switch + manual picker */
.dm-switch { display:flex; gap:6px; margin:10px 0; width:100%; box-sizing:border-box; }
.dm-switch button { flex:1 1 0; min-width:0; padding:10px 6px; border-radius:12px; font-weight:700; font-size:15px; background:var(--card, rgba(127,127,127,.08)); color:inherit; border:1px solid rgba(127,127,127,.35); line-height:1.15; }
.dm-switch button.active { background:#7EC8E3; color:#06202b; border-color:#7EC8E3; }
.dm-switch button.dm-off { opacity:.5; }
.dm-switch button small { display:block; font-size:10px; font-weight:500; margin-top:2px; white-space:normal; }
.manual-pick { width:100%; box-sizing:border-box; margin:8px 0; text-align:left; }
.manual-pick .mp-head { margin-bottom:8px; }
.mp-phone { display:flex; gap:6px; margin-bottom:8px; }
.mp-phone input { flex:1; min-width:0; font-size:16px; padding:10px; border-radius:10px; box-sizing:border-box; }
.mp-phone button { flex:0 0 auto; }
.mp-row { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px 0; border-bottom:1px solid rgba(127,127,127,.25); }
.mp-row > span { min-width:0; overflow-wrap:anywhere; }
.mp-row .t { font-size:13px; opacity:.75; }
.mp-row button { flex:0 0 auto; width:auto; padding:8px 14px; }
.mp-quick .dial-btn { display:block; text-align:center; text-decoration:none; margin-top:6px; }
.mp-next { margin-top:10px; width:100%; }
html:is([data-theme="focus"],[data-theme="dashfocus"]) .dm-switch button, html[data-theme="dashboard"] .dm-switch button { background:#15171c; color:#eef; border-color:#2a2d36; }
html:is([data-theme="focus"],[data-theme="dashfocus"]) .dm-switch button.active, html[data-theme="dashboard"] .dm-switch button.active { background:#2fe0c6; color:#04201b; border-color:#2fe0c6; }

/* v100: Dashboard + Focus theme */
html[data-theme="dashfocus"] .dfx-top { position:sticky; top:0; z-index:20; margin:0 0 6px; border-radius:0; }
html[data-theme="dashfocus"] .dfx-top .fx-seg { flex:1 1 auto; }
html[data-theme="dashfocus"] .dfx-top .fx-seg button { flex:1 1 0; }
html[data-theme="dashfocus"] .dfx-coins, html[data-theme="dashfocus"] .dfx-out { flex:0 0 auto; }
@media (max-width:600px) { html[data-theme="dashfocus"] .dfx-coins, html[data-theme="dashfocus"] .dfx-out, html[data-theme="dashfocus"] .dfx-top .fx-timer { display:none; } }
html[data-theme="dashfocus"] #view-root { padding-bottom:110px; }
html[data-theme="dashfocus"] .dfx-grid { display:block; }
html[data-theme="dashfocus"] .dfx-main { min-width:0; max-width:760px; margin:0 auto; }
html[data-theme="dashfocus"] .dfx-side { display:none; }
@media (min-width:1100px) {
  html[data-theme="dashfocus"] .dfx-grid { display:grid; grid-template-columns:minmax(0,1fr) 400px; gap:20px; align-items:start; }
  html[data-theme="dashfocus"] .dfx-main { max-width:none; margin:0; }
  html[data-theme="dashfocus"] .dfx-side { display:block; border-left:1px solid var(--dash-line); padding-left:18px; position:sticky; top:64px; }
}
.dfx-chip { background:transparent; border:0; padding:2px 0; color:#8a93a3; font-size:14px; font-weight:600; text-align:left; cursor:pointer; min-height:0; width:auto; }
.dfx-mini { display:flex; gap:6px; margin-left:auto; flex:0 0 auto; }
.dfx-mini span { background:var(--dash-card,#12141a); border:1px solid var(--dash-line,#232733); border-radius:10px; padding:4px 8px; font-size:11px; text-align:center; line-height:1.2; color:#c3cad6; }
.dfx-mini b { display:block; font-size:15px; color:#f1f4f8; } .dfx-mini b.g { color:var(--dash-good,#2de1c2); }
.dial-btn.dfx-oncall { display:block; text-align:center; text-decoration:none; background:#1b3a33 !important; color:var(--dash-good,#2de1c2) !important; border:1px solid var(--dash-good,#2de1c2); border-radius:28px; font-size:18px; font-weight:800; padding:13px; box-shadow:none; margin:6px 0 4px; }
.dfx-home { max-width:760px; margin:0 auto; }
.dfx-home .dash-h { margin-top:4px; }
.dfx-start { display:block; width:100%; border:0; border-radius:26px; font-weight:800; font-size:17px; padding:15px; background:var(--dash-good,#2de1c2); color:#06231d; margin:10px 0 4px; cursor:pointer; }
.dfx-next { background:var(--dash-card,#12141a); border:1px solid var(--dash-line,#232733); border-radius:18px; padding:12px 14px; margin:12px 0; cursor:pointer; }
.dfx-next small { color:#8a93a3; font-size:11px; letter-spacing:.1em; font-weight:800; }
.dfx-next .n { font-weight:800; font-size:17px; margin-top:4px; color:#f1f4f8; overflow-wrap:anywhere; }
.dfx-next .ad { font-size:15px; color:#fff; font-weight:800; overflow-wrap:anywhere; }
.dfx-tg { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.dfx-tg .dfx-t.last { grid-column:1/-1; }
@media (min-width:1100px) { .dfx-tg.home { grid-template-columns:repeat(5,1fr); } .dfx-tg.home .dfx-t.last { grid-column:auto; } }
.dfx-tg.side .dfx-t.last { grid-column:auto; }
.dfx-t { background:var(--dash-card,#12141a); border:1px solid var(--dash-line,#232733); border-radius:16px; padding:10px; min-width:0; }
.dfx-tl { font-size:11px; letter-spacing:.1em; font-weight:800; color:#c3cad6; margin:6px 0 2px; }
.dfx-tv { font-size:24px; font-weight:900; color:#f1f4f8; } .dfx-tv small { font-size:13px; color:#8a93a3; font-weight:600; }
.dfx-t .dbar { margin-top:6px; }
.dfx-lb { background:var(--dash-card,#12141a); border:1px solid var(--dash-line,#232733); border-radius:16px; padding:4px 12px; }
.dfx-lr { display:flex; align-items:center; gap:8px; padding:9px 0; border-bottom:1px solid var(--dash-line,#232733); font-size:14px; color:#f1f4f8; }
.dfx-lr:last-child { border-bottom:0; }
.dfx-pl { width:16px; flex:0 0 16px; }
.dfx-nm { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dfx-ns { text-align:right; font-size:12px; color:#c3cad6; flex:0 0 auto; } .dfx-ns b { color:#fff; font-size:14px; }
.dfx-today { font-size:13px; font-weight:700; color:#c3cad6; }

/* v101: Door Knocking tab — self-contained dark panel in every theme */
.dk { --dash-accent:#F5C518; --dash-on-accent:#0a0b0f; --dash-good:#2de1c2; --dash-bad:#ff3b5c; --dash-card:#12141a; --dash-line:#232733; --dash-page:#0a0b0f;
  background:#0a0b0f; color:#f1f4f8; border-radius:18px; padding:12px; max-width:760px; margin:0 auto 110px; box-sizing:border-box; width:100%; overflow-wrap:anywhere; }
.dk *, .dk *::before { box-sizing:border-box; }
.dk .dk-seg { display:flex; width:100%; margin-bottom:12px; }
.dk .dk-seg button { flex:1 1 0; min-width:0; padding:9px 4px; font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dk .dk-seg button.on:first-child { background:var(--dash-good); color:#0a0b0f; }
.dk .contact-detail { color:#c3cad6 !important; margin:2px 0; }
.dk .lead-notes { background:#12141a; border-color:#1f232c; }
.dk .lead-notes-box { background:#0a0b0f; border-color:#2a2f3a; color:#f1f4f8; }
.dk .lead-notes-head { color:#f1f4f8; }
.dk .lead-notes-box:focus { outline-color:#F5C518; }
.dk .dm-switch button { background:#15171c; color:#eef; border-color:#2a2d36; }
.dk .dm-switch button.active { background:#2fe0c6; color:#04201b; border-color:#2fe0c6; }
.dk .muted { color:#8a93a3; }
.dk .warn-box { background:#12141a; color:#f1f4f8; border-color:#2a3040; }
.dk-tabs { display:flex; gap:6px; margin:4px 0 12px; }
.dk-tabs button { flex:1 1 0; min-width:0; display:flex; align-items:center; justify-content:center; gap:5px; padding:10px 4px; border-radius:12px; background:#15171c; color:#c9d0db; border:1px solid #2a2d36; font-weight:700; font-size:14px; white-space:nowrap; }
.dk-tabs button.on { background:var(--dash-accent); color:#0a0b0f; border-color:var(--dash-accent); }
.dk-tabs button:disabled { opacity:.45; }
.dk-lbl { display:block; font-size:12px; color:#8a93a3; font-weight:700; margin-bottom:10px; }
.dk-town { display:block; width:100%; margin-top:4px; font-size:16px; padding:10px; border-radius:10px; background:#12141a; color:#f1f4f8; border:1px solid #2a2f3a; }
.dk-street { display:flex; align-items:center; gap:8px; width:100%; text-align:left; background:transparent; border:0; border-bottom:1px solid var(--dash-line); color:#f1f4f8; padding:11px 0; cursor:pointer; min-height:0; }
.dk-street:last-child { border-bottom:0; }
.dk-st-t { flex:1; min-width:0; } .dk-st-t b { display:block; } .dk-st-t small { color:#8a93a3; font-size:12px; }
.dk-open { flex:0 0 auto; font-size:13px; font-weight:700; color:#c3cad6; background:#181b22; border:1px solid #2a2f3a; border-radius:10px; padding:5px 9px; }
.dk-crumb { color:#8a93a3; font-size:14px; margin-bottom:6px; } .dk-crumb b { color:#fff; }
.dk .dfx-start { display:flex; align-items:center; justify-content:center; gap:8px; }
.dk .dfx-start:disabled { opacity:.5; }
.dk-chips { display:flex; flex-wrap:wrap; gap:6px; margin:10px 0; }
.dk-chip { font-size:11px; font-weight:800; border-radius:9px; padding:3px 8px; border:1px solid; white-space:nowrap; flex:0 0 auto; }
.dk-chip.c0 { color:#c3cad6; border-color:#5a6170; } .dk-chip.c1 { color:#9aa3b2; border-color:#3a404d; background:#181b22; }
.dk-chip.c2 { color:#F5C518; border-color:#F5C518; } .dk-chip.c3 { color:#2de1c2; border-color:#2de1c2; background:#0f2a25; } .dk-chip.c4 { color:#ff3b5c; border-color:#ff3b5c; }
.dk-doors { background:var(--dash-card); border:1px solid var(--dash-line); border-radius:16px; padding:2px 10px; }
.dk-door { display:flex; align-items:center; gap:10px; padding:10px 0; border-bottom:1px solid var(--dash-line); }
.dk-door:last-child { border-bottom:0; }
.dk-door.cur { background:#1a1d25; margin:0 -10px; padding:10px; border-left:3px solid var(--dash-accent); }
.dk-num { flex:0 0 46px; font-weight:900; font-size:17px; text-align:center; background:#181b22; border-radius:10px; padding:6px 0; }
.dk-who { flex:1; min-width:0; } .dk-who b { display:block; font-size:14px; } .dk-who span { font-size:12px; color:#8a93a3; }
.dk-go { flex:0 0 auto; width:auto; padding:7px 12px; border-radius:10px; background:var(--dash-good); color:#06231d; border:0; font-weight:800; }
.dk-map { overflow-x:auto; border-radius:14px; border:1px solid var(--dash-line); max-width:100%; }
.dk-leg { display:flex; flex-wrap:wrap; gap:10px; font-size:11px; color:#c3cad6; margin:8px 0; }
.dk-leg i { display:inline-block; width:9px; height:9px; border-radius:50%; margin-right:4px; vertical-align:middle; }
.dk-prog { background:var(--dash-card); border:1px solid var(--dash-line); border-radius:12px; padding:8px 10px; font-size:13px; font-weight:700; color:#c3cad6; display:block; margin-bottom:10px; }
.dk-prog .knock-ico { vertical-align:-3px; color:var(--dash-accent); }
.dk-house { display:flex; align-items:center; gap:12px; background:var(--dash-card); border:1px solid var(--dash-line); border-radius:18px; padding:12px; margin-bottom:6px; }
.dk-hic { font-size:34px; flex:0 0 auto; }
.dk-addr { font-size:23px; font-weight:900; line-height:1.1; color:#fff; } .dk-name { font-size:15px; color:#c3cad6; font-weight:700; }
.knock-btn { display:flex; align-items:center; justify-content:center; gap:14px; width:100%; text-decoration:none; border-radius:28px; background:var(--dash-good); color:#06231d; font-size:32px; font-weight:900; padding:16px; margin:10px 0; box-shadow:0 0 24px rgba(45,225,194,.33); -webkit-tap-highlight-color:transparent; }
.knock-btn small { display:block; font-size:12px; font-weight:700; opacity:.75; letter-spacing:0; }
.knock-btn span { line-height:1; text-align:left; }
.knock-btn.live { background:#1b3a33; color:var(--dash-good); font-size:17px; padding:12px; box-shadow:none; border:1px solid var(--dash-good); gap:8px; }
.dk .dk-res .fx-r { font-size:16px; min-height:64px; }
.knock-ico .kf, .knock-ico .km { transform-box:fill-box; transform-origin:center; }
.knock-btn:active .kf, .knock-btn.tapped .kf { animation:knockTap .32s ease-in-out 2; }
.knock-btn:active .km, .knock-btn.tapped .km { animation:knockLines .32s ease-in-out 2; }
@keyframes knockTap { 0%,100% { transform:translateX(0) rotate(0); } 45% { transform:translateX(-2px) rotate(-8deg); } }
@keyframes knockLines { 0%,100% { opacity:1; } 45% { opacity:.2; } }
.nav button .knock-ico, .fx-di .knock-ico { vertical-align:-3px; }
.dk ~ .pitch-fab { bottom:16px; }
/* v101: inside the Door Knocking tab the field-status bar replaces the theme's own status bar */
html[data-view="knock"] .dfx-top, html[data-view="knock"] .statusbar { display:none; }
html[data-view="knock"] .fx-top .fx-seg, html[data-view="knock"] .fx-top .fx-timer { display:none; }
html[data-view="knock"] .fx-top { justify-content:flex-end; }
.dk-tabs button { overflow:hidden; text-overflow:ellipsis; font-size:13px; padding:10px 2px; }
@media (max-width:480px) { .dk-tabs { gap:4px; } .dk-tabs button { font-size:12px; letter-spacing:-.2px; } .dk-tabs button .knock-ico { width:14px; height:14px; } }
/* v104 auto-dialer countdown bar */
.ad-bar { display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; box-sizing:border-box; margin:0 0 10px; padding:8px 10px; border-radius:12px; border:1px solid #7EC8E3; background:rgba(126,200,227,.12); font-weight:700; }
.ad-bar .ad-txt { min-width:0; overflow-wrap:anywhere; }
.ad-bar button { flex:0 0 auto; padding:8px 12px; border-radius:10px; font-weight:800; font-size:15px; }

/* ---------- v106 Appointment gong ---------- */
.gong-btn { display:inline-flex; align-items:center; gap:5px; flex:0 0 auto; background:linear-gradient(180deg,#3a2d08,#1d1604); color:#F5C518; border:1px solid #8a6d14; border-radius:22px; padding:8px 12px; font-weight:800; font-size:14px; line-height:1; white-space:nowrap; cursor:pointer; }
.gong-btn:disabled, .gong-btn.cool { opacity:.55; cursor:default; }
.gong-btn.pulse { animation:gongPulse 1.1s ease-in-out infinite; box-shadow:0 0 0 0 rgba(245,197,24,.7); }
@keyframes gongPulse { 0% { box-shadow:0 0 0 0 rgba(245,197,24,.7); transform:scale(1); } 50% { box-shadow:0 0 0 9px rgba(245,197,24,0); transform:scale(1.06); } 100% { box-shadow:0 0 0 0 rgba(245,197,24,0); transform:scale(1); } }
.gong-btn .gb-short { display:none; }
@media (max-width:600px) { .gong-btn .gb-full { display:none; } .gong-btn .gb-short { display:inline; } .gong-btn { padding:8px 10px; font-size:13px; } }
.dk-gong-row { display:flex; justify-content:flex-end; margin:6px 0 2px; }
html[data-view="knock"] .fx-top .gong-btn, html[data-view="knock"] .dtop .gong-btn { display:none; }
#gong-root { position:fixed; top:max(8px, env(safe-area-inset-top)); left:50%; transform:translateX(-50%); z-index:60; display:flex; flex-direction:column; gap:6px; width:min(92vw, 440px); pointer-events:none; }
.gong-banner { pointer-events:auto; display:flex; align-items:center; gap:10px; background:linear-gradient(90deg,#2a1f04,#14110a); color:#fff; border:1px solid #F5C518; border-radius:16px; padding:10px 14px; box-shadow:0 8px 28px rgba(0,0,0,.45), 0 0 18px rgba(245,197,24,.25); font-weight:800; font-size:15px; animation:gongIn .35s cubic-bezier(.2,1.4,.4,1); transition:opacity .35s, transform .35s; }
.gong-banner.out { opacity:0; transform:translateY(-12px); }
.gong-banner .gb-ic { font-size:26px; animation:gongSwing .9s ease-in-out 2; transform-origin:50% 10%; }
.gong-banner .gb-t { display:flex; flex-direction:column; min-width:0; }
.gong-banner small { color:#F5C518; font-size:12px; font-weight:700; margin-top:2px; }
@keyframes gongIn { from { opacity:0; transform:translateY(-20px) scale(.96); } to { opacity:1; transform:none; } }
@keyframes gongSwing { 0%,100% { transform:rotate(0); } 25% { transform:rotate(18deg); } 75% { transform:rotate(-18deg); } }
.gong-confetti { position:fixed; inset:0; z-index:59; pointer-events:none; }
#gong-prompt { position:fixed; top:max(8px, env(safe-area-inset-top)); right:10px; z-index:58; display:flex; align-items:center; gap:8px; background:#12141a; color:#f1f4f8; border:1px solid #8a6d14; border-radius:14px; padding:7px 8px 7px 12px; font-weight:700; font-size:13px; box-shadow:0 6px 20px rgba(0,0,0,.4); max-width:calc(100vw - 20px); animation:gongIn .3s ease-out; }
#gong-prompt button { background:#F5C518; color:#111; border:0; border-radius:10px; padding:7px 10px; font-weight:800; font-size:13px; }
#gong-prompt .gp-x { background:transparent; color:#8a93a3; padding:7px 6px; }
.gong-set { display:flex; align-items:center; justify-content:space-between; gap:12px; font-weight:700; font-size:16px; color:inherit; margin:12px 0 0; padding:12px 14px; border:1px solid var(--line); border-radius:14px; max-width:100%; box-sizing:border-box; cursor:pointer; }
.gong-set > span { flex:1; min-width:0; }
input.ios-switch { -webkit-appearance:none; appearance:none; flex:0 0 51px; width:51px !important; height:31px; padding:0; margin:0; border:0; border-radius:16px; background:#3a3f4b; position:relative; cursor:pointer; transition:background .2s; }
input.ios-switch::after { content:''; position:absolute; top:2px; left:2px; width:27px; height:27px; border-radius:50%; background:#fff; box-shadow:0 2px 4px rgba(0,0,0,.3); transition:transform .2s; }
input.ios-switch:checked { background:#34c759; }
input.ios-switch:checked::after { transform:translateX(20px); }

/* ---------- v108 Door Knocking: map-first + street picker ---------- */
.dk-v2 { padding-bottom:calc(24px + env(safe-area-inset-bottom)); }
.dk-pickbar { display:flex; align-items:center; gap:10px; width:100%; min-height:58px; text-align:left; background:#15171c; color:#f1f4f8; border:1px solid #2a2f3a; border-radius:16px; padding:8px 12px; margin:8px 0 10px; cursor:pointer; }
.dk-pk-ic { font-size:18px; flex:0 0 auto; }
.dk-pk-t { flex:1; min-width:0; } .dk-pk-t b { display:block; font-size:17px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .dk-pk-t small { display:block; color:#8a93a3; font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dk-pk-ch { flex:0 0 auto; font-size:13px; font-weight:800; color:var(--dash-accent); }
.dkm { position:relative; background:#0f1218; border:1px solid var(--dash-line); border-radius:16px; padding:8px 8px 10px; overflow:hidden; }
.dkm-road { position:absolute; top:0; bottom:0; left:50%; width:44px; transform:translateX(-50%); background:repeating-linear-gradient(180deg,#232733 0 26px,#2b3040 26px 30px); }
.dkm-road span { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%) rotate(-90deg); white-space:nowrap; font-size:11px; font-weight:800; color:#c3cad6; letter-spacing:1px; }
.dkm-sides { position:relative; display:grid; grid-template-columns:1fr 52px 1fr; font-size:10px; font-weight:800; color:#8a93a3; text-align:center; margin-bottom:4px; }
.dkm-row { position:relative; display:grid; grid-template-columns:1fr 52px 1fr; gap:0; margin:6px 0; }
.dkm-mid { display:block; }
.dkm-h { position:relative; display:flex; align-items:center; gap:8px; min-height:48px; width:100%; padding:6px 10px; background:#1a1d25; color:#f1f4f8; border:2px solid var(--pin); border-radius:12px; cursor:pointer; text-align:left; font:inherit; }
.dkm-h.dkm-empty { visibility:hidden; }
.dkm-num { font-weight:900; font-size:17px; min-width:34px; }
.dkm-dot { width:12px; height:12px; border-radius:50%; background:var(--pin); flex:0 0 auto; }
.dkm-l { flex:1; min-width:0; font-size:11px; font-weight:700; color:#c3cad6; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dkm-roof { display:none; }
.dkm-h.cur { box-shadow:0 0 0 3px #F5C518, 0 0 16px rgba(245,197,24,.45); }
.dkm-h.cur .dkm-l { color:#F5C518; }
.dkm-h.nxt { box-shadow:0 0 0 3px var(--dash-good); animation:gongPulse 1.4s ease-in-out infinite; }
.dkm-h.nxt .dkm-l { color:var(--dash-good); }
.dkm-list { display:grid; grid-template-columns:1fr 1fr; gap:6px; margin-top:8px; }
.dk-actwrap { position:sticky; bottom:calc(10px + env(safe-area-inset-bottom)); z-index:5; }
.dk-act { box-shadow:0 6px 20px rgba(0,0,0,.5); }
.dk-empty { text-align:center; padding:30px 10px; }
/* knock sheet over the map */
.dk-sheet-back { position:fixed; inset:0; z-index:40; background:rgba(0,0,0,.45); display:flex; align-items:flex-end; justify-content:center; }
.dk-sheet { width:100%; max-width:640px; max-height:88vh; display:flex; flex-direction:column; background:#0c0d12; border:1px solid #2a2f3a; border-bottom:0; border-radius:22px 22px 0 0; box-shadow:0 -10px 40px rgba(0,0,0,.55); animation:dkUp .25s ease-out; }
@keyframes dkUp { from { transform:translateY(40px); opacity:.4; } to { transform:none; opacity:1; } }
.dk-sh-h { padding:4px 12px 6px; border-bottom:1px solid var(--dash-line); }
.dk-grab { display:block; width:100%; background:transparent; border:0; padding:6px 0; min-height:0; } .dk-grab span { display:block; width:44px; height:5px; border-radius:3px; background:#3a404d; margin:0 auto; }
.dk-sh-row { display:flex; align-items:center; gap:8px; }
.dk-sh-p { flex:1; min-width:0; font-size:13px; font-weight:800; color:#c3cad6; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .dk-sh-p .knock-ico { vertical-align:-3px; color:var(--dash-accent); }
.dk-sh-pitch { flex:0 0 auto; width:auto; background:var(--dash-accent); color:#111; border:0; border-radius:12px; padding:9px 12px; font-weight:800; font-size:14px; min-height:44px; }
.dk-sh-x { flex:0 0 auto; width:auto; background:#15171c; color:#f1f4f8; border:1px solid #2a2f3a; border-radius:12px; padding:9px 12px; font-weight:800; font-size:14px; min-height:44px; }
.dk-sh-body { overflow-y:auto; -webkit-overflow-scrolling:touch; padding:10px 12px calc(28px + env(safe-area-inset-bottom)); }
.knock-btn.live { white-space:nowrap; }
.knock-btn .kb-live { display:inline-flex; align-items:center; gap:4px; white-space:nowrap; font-size:16px; }
.knock-btn .kb-t { font-variant-numeric:tabular-nums; white-space:nowrap; }
/* street picker */
#dk-picker-root { position:fixed; inset:0; z-index:45; }
.dk-picker { position:absolute; inset:0; display:flex; flex-direction:column; background:#0a0b0f; color:#f1f4f8; padding-top:env(safe-area-inset-top); }
.dk-pk-top { display:flex; align-items:center; gap:10px; padding:10px 12px 4px; font-size:18px; }
.dk-pk-close { width:44px; height:44px; flex:0 0 auto; padding:0; border-radius:12px; background:#15171c; color:#f1f4f8; border:1px solid #2a2f3a; font-size:18px; }
.dk-pk-search { display:flex; align-items:center; gap:8px; margin:8px 12px; background:#15171c; border:1px solid #3a404d; border-radius:14px; padding:0 12px; }
.dk-pk-search input { flex:1; min-width:0; font-size:16px; background:transparent; border:0; color:#fff; padding:13px 0; outline:none; }
.dk-pk-towns { display:flex; gap:6px; overflow-x:auto; padding:2px 12px 8px; flex:0 0 auto; scrollbar-width:none; }
.dk-pk-towns button { flex:0 0 auto; width:auto; white-space:nowrap; min-height:38px; padding:7px 13px; border-radius:20px; background:#15171c; color:#c9d0db; border:1px solid #2a2f3a; font-weight:700; font-size:13px; }
.dk-pk-towns button.on { background:var(--dash-accent); color:#111; border-color:var(--dash-accent); }
.dk-pk-list { flex:1; overflow-y:auto; -webkit-overflow-scrolling:touch; padding:0 12px calc(20px + env(safe-area-inset-bottom)); }
.dk-pk-sec { font-size:11px; font-weight:800; letter-spacing:1px; color:#8a93a3; text-transform:uppercase; padding:12px 2px 6px; }
.dk-pr { display:flex; align-items:center; gap:10px; width:100%; min-height:64px; text-align:left; background:#12141a; color:#f1f4f8; border:1px solid #22262f; border-radius:14px; padding:10px 12px; margin-bottom:6px; cursor:pointer; }
.dk-pr.on { border-color:var(--dash-accent); }
.dk-pr-t { flex:1; min-width:0; display:block; } .dk-pr-t b { display:block; font-size:16px; } .dk-pr-t small { display:block; font-size:12px; color:var(--dash-accent); font-weight:700; } .dk-pr-t em { display:block; font-style:normal; font-size:12px; color:#9aa3b2; margin:2px 0 5px; }
.dk-pr-t .dbar { display:block; height:5px; }
.dk-pr-go { flex:0 0 auto; font-size:22px; color:#5a6170; }
.dk-pk-none { text-align:center; color:#8a93a3; padding:30px 0; font-weight:700; }

/* ---------- v108 Appointments / Callbacks ---------- */
.appt-chips { display:flex; gap:6px; overflow-x:auto; padding-bottom:4px; scrollbar-width:none; }
.appt-chips button { flex:0 0 auto; width:auto; white-space:nowrap; min-height:38px; padding:7px 12px; border-radius:20px; background:transparent; color:inherit; border:1px solid var(--line, #2a2f3a); font-weight:700; font-size:13px; }
.appt-chips button.on { background:var(--dash-accent, #F5C518); color:#111; border-color:var(--dash-accent, #F5C518); }
.appt-sel { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; } .appt-sel select { flex:1 1 160px; max-width:260px; }
.appt-grp { font-size:12px; font-weight:800; letter-spacing:1px; text-transform:uppercase; color:#8a93a3; margin:14px 4px 6px; } .appt-grp.od { color:#ff5c74; }
.appt-list { display:grid; grid-template-columns:repeat(auto-fill, minmax(300px, 1fr)); gap:10px; margin-bottom:8px; }
.appt-card { background:var(--card); color:var(--ink); border:1px solid var(--line); border-radius:14px; padding:12px; min-width:0; }
.appt-card.od { border-left:4px solid #ff3b5c; }
.appt-c-top { display:flex; align-items:flex-start; gap:8px; }
.appt-who { flex:1; min-width:0; } .appt-who b { display:block; font-size:16px; } .appt-who span { display:block; font-size:13px; opacity:.75; overflow-wrap:anywhere; }
.appt-ph { font-size:13px; font-weight:700; }
.appt-when { font-size:14px; font-weight:700; margin:8px 0 4px; } .appt-rep { font-weight:600; opacity:.75; }
.appt-notes { font-size:13px; opacity:.85; cursor:pointer; } .appt-notes span { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; } .appt-notes.open span { -webkit-line-clamp:unset; display:block; } .appt-notes .more { font-size:12px; color:var(--dash-accent, #2563eb); } .appt-notes.open .more { display:none; }
.appt-acts { display:flex; gap:8px; margin-top:10px; flex-wrap:wrap; }
.appt-acts button { width:auto; min-height:44px; border-radius:12px; font-weight:800; padding:8px 14px; }
.appt-call { flex:1 1 auto; background:#2de1c2; color:#06231d; border:0; font-size:16px; }
.appt-done { background:transparent; color:inherit; border:1px solid var(--line); }
.appt-edit { background:transparent; color:inherit; border:1px solid var(--line); margin-left:auto; }
.apill { flex:0 0 auto; display:inline-block; padding:3px 9px; border-radius:999px; font-size:12px; font-weight:800; white-space:nowrap; border:1px solid; }
.apill.s-scheduled { background:#10304a; color:#9fd3ff; border-color:#2f6c98; }
.apill.s-completed { background:#0f2a25; color:#2de1c2; border-color:#1c6b5d; }
.apill.s-cancelled { background:#2a2d36; color:#c3cad6; border-color:#4a505e; }
.apill.s-no_show { background:#3a2a06; color:#F5C518; border-color:#8a6d14; }
.apill.s-overdue { background:#3a0d16; color:#ff8a9c; border-color:#ff3b5c; }
@media (max-width:700px) { .appt-list { grid-template-columns:1fr; } }

/* ---------- v108 bottom tab bar (Dashboard + Dashboard+Focus, < 1100px) ---------- */
.dtabbar, .dmore, .dmore-dim, .pitch-inline { display:none; }
@media (max-width:1099px) {
  html:is([data-theme="dashboard"],[data-theme="dashfocus"]) .drail { display:none; }
  html:is([data-theme="dashboard"],[data-theme="dashfocus"]) .pitch-fab { display:none !important; }
  html:is([data-theme="dashboard"],[data-theme="dashfocus"]) .pitch-inline { display:inline-flex; align-items:center; gap:6px; width:auto; min-height:40px; margin:8px auto 2px; padding:7px 14px; border-radius:20px; background:transparent; color:var(--dash-accent); border:1px solid var(--dash-accent); font-weight:800; font-size:14px; }
  html:is([data-theme="dashboard"],[data-theme="dashfocus"]) .fx-lead .pitch-inline { display:flex; }
  html:is([data-theme="dashboard"],[data-theme="dashfocus"]) .dmain { padding-bottom:calc(96px + env(safe-area-inset-bottom)); }
  html:is([data-theme="dashboard"],[data-theme="dashfocus"]) .dtabbar { display:block; position:fixed; left:0; right:0; bottom:0; z-index:35; padding:0 8px calc(6px + env(safe-area-inset-bottom)); pointer-events:none; }
  .dtb-in { pointer-events:auto; position:relative; display:grid; grid-template-columns:repeat(5,1fr); align-items:end; height:68px; max-width:640px; margin:0 auto; border-radius:24px; background:linear-gradient(180deg,#3a2a5c,#1a1428); border:1px solid #4a3a6c; box-shadow:0 -6px 24px rgba(0,0,0,.6); }
  .dtb { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; height:68px; min-width:44px; width:auto; padding:0; background:transparent; border:0; color:#b9b3cc; font-size:11px; font-weight:700; border-radius:0; }
  .dtb svg { width:24px; height:24px; }
  .dtb.on { color:var(--dash-accent); }
  .dtb.on::after { content:''; position:absolute; top:6px; width:26px; height:3px; border-radius:2px; background:var(--dash-accent); }
  .dtb > b { position:absolute; top:8px; left:calc(50% + 6px); background:#ff3b5c; color:#fff; font-size:10px; border-radius:9px; padding:1px 5px; line-height:14px; }
  .dtb-center { justify-content:flex-end; padding-bottom:8px; }
  .dtb-center .dtb-fab { width:60px; height:60px; border-radius:50%; background:var(--dash-accent); color:#0a0b0f; display:flex; align-items:center; justify-content:center; transform:translateY(-14px); box-shadow:0 0 0 5px #0a0b0f, 0 6px 18px rgba(245,197,24,.4); margin-bottom:-12px; }
  .dtb-center .dtb-fab svg { width:30px; height:30px; }
  .dtb-center.on::after { display:none; }
  .dtb-center.on > span:last-child { color:var(--dash-accent); }
  html:is([data-theme="dashboard"],[data-theme="dashfocus"]) .dmore-dim { display:block; position:fixed; inset:0; z-index:33; background:rgba(0,0,0,.7); }
  html:is([data-theme="dashboard"],[data-theme="dashfocus"]) .dmore { display:block; position:fixed; left:0; right:0; bottom:0; z-index:34; background:#15121f; border-top:1px solid #4a3a6c; border-radius:26px 26px 0 0; padding:10px 16px calc(96px + env(safe-area-inset-bottom)); color:#f1f4f8; max-width:680px; margin:0 auto; }
  .dmore-grab { width:40px; height:5px; border-radius:3px; background:#4a3a6c; margin:0 auto 12px; }
  .dmore h3 { margin:0 0 12px; font-size:13px; letter-spacing:.14em; color:#c3cad6; }
  .dmore-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
  .dmi { position:relative; display:flex; flex-direction:column; align-items:center; gap:6px; min-height:80px; width:auto; padding:14px 4px 10px; border-radius:18px; background:var(--dash-card); border:1px solid var(--dash-line); color:#e3e6ee; font-size:12px; font-weight:700; }
  .dmi svg { width:26px; height:26px; color:#c9c2e0; }
  .dmi.on { border-color:var(--dash-accent); } .dmi.on svg { color:var(--dash-accent); }
  .dmi > b { position:absolute; top:6px; right:8px; background:#ff3b5c; color:#fff; font-size:10px; border-radius:9px; padding:1px 5px; line-height:14px; }
  .dmore-out { display:block; width:100%; margin-top:14px; min-height:44px; background:transparent; color:#8a93a3; border:1px solid #2a2f3a; border-radius:14px; font-weight:700; }
  /* knock sheet + street picker sit above the bar; sticky knock-next button clears it */
  html:is([data-theme="dashboard"],[data-theme="dashfocus"]) .dk-sheet-back { bottom:calc(80px + env(safe-area-inset-bottom)); }
  html:is([data-theme="dashboard"],[data-theme="dashfocus"]) .dk-sheet { max-height:calc(100% - 20px); border-bottom:1px solid #2a2f3a; border-radius:22px; }
  html:is([data-theme="dashboard"],[data-theme="dashfocus"]) .dk-actwrap { bottom:calc(92px + env(safe-area-inset-bottom)); }
  html:is([data-theme="dashboard"],[data-theme="dashfocus"]) #dk-picker-root { z-index:45; }
}
.dkm-sides, .dkm-row { grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr); }
.dkm-h { min-width:0; overflow:hidden; }
@media (max-width:1099px) { html:is([data-theme="dashboard"],[data-theme="dashfocus"]) .toast { bottom:calc(96px + env(safe-area-inset-bottom)); } }

/* v110: no sideways page scroll anywhere; bar pinned to the screen bottom (body-level host) */
html, body { max-width:100%; overflow-x:clip; }
*, *::before, *::after { box-sizing:border-box; }
.card, .wrap, .dwrap { max-width:100%; }
input[type="checkbox"], input[type="radio"] { width:auto; }
#dtab-host { position:static; }
@media (max-width:1099px) {
  html:is([data-theme="dashboard"],[data-theme="dashfocus"]) .dtabbar { position:fixed; left:0; right:0; bottom:0; top:auto; z-index:900; transform:translateZ(0); }
  html:is([data-theme="dashboard"],[data-theme="dashfocus"]) .dmore-dim { z-index:898; }
  html:is([data-theme="dashboard"],[data-theme="dashfocus"]) .dmore { z-index:899; }
  html:is([data-theme="dashboard"],[data-theme="dashfocus"]) #dk-picker-root { z-index:950; }
}

/* v112: game themes = Dashboard + Focus layout + the game's own skin (accent only); game lives in its tab */
html[data-game="tetris"] { --dash-accent:#00e5ff; --dash-page:#0f0f23; --dash-card:#1a1a2e; --dash-line:#2e2e4d; }
html[data-game="casino"] { --dash-accent:#d4af37; --dash-page:#06281a; --dash-card:#0d3a25; --dash-line:#1e6b41; }
html[data-game="grand-prix"] { --dash-accent:#ff8700; --dash-page:#0b0b0b; --dash-card:#1a1a1a; --dash-line:#333; }
html[data-game="flappy"] { --dash-accent:#fbd343; --dash-page:#0b1d2a; --dash-card:#12293a; --dash-line:#1f4257; }
html[data-game] .dsh { background:var(--dash-page); }
html[data-game] .dtb-center .dtb-fab { box-shadow:0 0 0 5px var(--dash-page), 0 6px 18px rgba(0,0,0,.4); }
.dtb > b.more-cb { left:auto; right:calc(50% - 22px); top:auto; bottom:30px; background:#F5C518; color:#0a0b0f; }
.gm { max-width:560px; margin:0 auto; padding:4px 0 12px; color:#f1f4f8; }
.gm .card { background:var(--dash-card); border:1px solid var(--dash-line); border-radius:18px; color:#f1f4f8; }
.gm-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:6px 2px 10px; }
.gm-head h2 { margin:0; font-size:22px; font-weight:900; color:#fff; }
.gm-coins { font-weight:800; font-size:14px; color:var(--dash-accent); border:1px solid var(--dash-line); border-radius:20px; padding:5px 11px; white-space:nowrap; }
.gm-lap { text-align:center; } .gm-lap > b { display:block; font-size:28px; font-weight:900; font-style:italic; color:var(--dash-accent); margin:10px 0; }
.gm-track { height:12px; border-radius:6px; background:#2b2b2b; overflow:hidden; } .gm-track span { display:block; height:100%; background:linear-gradient(90deg,#e10600,#ff8700); }
.gm-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:14px 0 6px; } .gm-stats b { display:block; font-size:24px; } .gm-stats small { color:#a3a3a3; font-size:12px; }
.gm .t-well-card, .gm .t-flappy-card { max-width:100%; }
.gm .t-roulette-board { max-width:100%; overflow-x:auto; }

/* v113: End call — stops the on-call timer; frozen "Call ended" bar; results always clear the bottom bar */
.end-call-btn { display:block; width:100%; min-height:52px; margin:6px 0 8px; border-radius:28px; background:#ff3b5c !important; color:#fff !important; border:0; font-size:18px; font-weight:800; letter-spacing:.02em; box-shadow:0 4px 14px rgba(255,59,92,.35); cursor:pointer; }
.end-call-btn:active { transform:scale(.98); }
.dial-btn.dfx-oncall { white-space:normal; }
.dial-btn.dfx-oncall .oc-t { white-space:nowrap; font-variant-numeric:tabular-nums; }
.dial-btn.dfx-oncall.ended { background:#1a1d25 !important; color:#c3cad6 !important; border-color:#3a3f4c !important; }
.call-row .dial-btn.dfx-oncall, .call-row .end-call-btn { flex:1 1 100%; }
.knock-btn.live.ended { background:#1a1d25 !important; color:#c3cad6 !important; border-color:#3a3f4c !important; }
@media (max-width:1099px) {
  html:is([data-theme="dashboard"],[data-theme="dashfocus"]) .dmain { padding-bottom:calc(130px + env(safe-area-inset-bottom)) !important; }
}

/* ===== v116: 🃏 Uno theme — dark table, red/yellow/green/blue accents ===== */
html[data-game="uno"] { --dash-accent:#fbc02d; --dash-page:#0c0d12; --dash-card:#171922; --dash-line:#2a2d3a; }
html[data-game="uno"] .dsh { background:linear-gradient(180deg,#0c0d12 0,#0c0d12 100%); }
html[data-game="uno"] .dtabbar .dtb-in { box-shadow:0 -2px 0 0 rgba(229,57,53,.0), inset 0 2px 0 0 #fbc02d; }
.dtb { position:relative; }
.uno-dot { position:absolute; top:6px; right:calc(50% - 18px); width:12px; height:12px; border-radius:50%; background:#e53935; box-shadow:0 0 0 2px #0c0d12,0 0 10px #e53935; animation:unoPulse 1.2s infinite; }
.uno-turn-rail, .uno-turn { }
.drail .uno-turn, .dsh-rail .uno-turn { box-shadow:inset 3px 0 0 #e53935; }
@keyframes unoPulse { 50% { transform:scale(1.25); } }
.gm-uno { box-sizing:border-box; max-width:560px; overflow:hidden; }
.gm-uno * { box-sizing:border-box; }
.uno-last { margin:0 2px 10px; color:#cfd5df; }
.uno-lob-row { display:flex; align-items:center; gap:10px; padding:8px 0; border-bottom:1px solid var(--dash-line,#2a2d3a); flex-wrap:wrap; }
.uno-av { width:32px; height:32px; border-radius:50%; display:inline-grid; place-items:center; font-weight:900; color:#111; background:linear-gradient(135deg,#fbc02d,#e53935); flex:0 0 auto; }
.uno-st { font-size:13px; color:#9aa3b2; } .uno-st.online { color:#2de1c2; }
.uno-in { margin-left:auto; font-size:12px; font-weight:800; color:#111; background:#fbc02d; border-radius:999px; padding:3px 9px; }
.uno-lob-act { display:flex; flex-wrap:wrap; gap:10px; margin:12px 0 6px; }
.uno-lob-act button { min-height:48px; flex:1 1 160px; font-weight:800; }
.uno-players { display:flex; gap:8px; overflow-x:auto; padding:2px 2px 8px; margin-bottom:6px; -webkit-overflow-scrolling:touch; }
.uno-pl { flex:0 0 auto; display:flex; flex-direction:column; align-items:center; gap:3px; min-width:84px; padding:8px 8px; border-radius:14px; background:var(--dash-card,#171922); border:2px solid var(--dash-line,#2a2d3a); color:#fff; font-size:13px; }
.uno-pl.turn { border-color:#fbc02d; box-shadow:0 0 14px rgba(251,192,45,.45); }
.uno-pl.me b { color:#fbc02d; }
.uno-cnt { color:#cfd5df; font-weight:700; }
.uno-flag { font-size:11px; font-weight:900; color:#fff; background:#e53935; border-radius:6px; padding:1px 6px; }
.uno-busy { font-size:11px; color:#9aa3b2; }
.uno-catch { min-height:44px; padding:0 12px; border-radius:10px; border:0; font-weight:900; color:#fff; background:#e53935; animation:unoPulse 1s infinite; }
.uno-table { display:flex; flex-direction:column; align-items:center; gap:10px; }
.uno-pile { display:flex; align-items:center; gap:22px; }
.uno-deck { display:flex; flex-direction:column; align-items:center; gap:4px; color:#9aa3b2; }
.uno-back { width:64px; height:96px; border-radius:12px; background:#111; border:3px solid #fff; display:grid; place-items:center; color:#fbc02d; font-weight:900; font-style:italic; transform:rotate(-8deg); box-shadow:0 0 0 3px #e53935 inset; }
.uno-info { display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:center; color:#fff; }
.uno-color { padding:4px 12px; border-radius:999px; font-weight:900; background:var(--uc); color:#111; }
.uno-dir { font-size:22px; color:#cfd5df; }
.uno-turn { font-weight:800; color:#cfd5df; } .uno-turn.mine { color:#fbc02d; font-size:17px; }
#uno-clock.low { color:#e53935; }
.uno-acts { display:flex; gap:10px; margin:10px 0; }
.uno-acts button { flex:1 1 0; min-height:52px; font-weight:900; font-size:16px; }
.uno-btn { border:0; border-radius:14px; color:#fff; background:linear-gradient(135deg,#e53935,#fbc02d); text-shadow:0 1px 2px rgba(0,0,0,.4); }
.uno-btn:disabled { opacity:.35; } .uno-btn.called { opacity:1; background:#43a047; }
.uno-hand-card { padding-bottom:10px; }
.uno-hand { display:flex; gap:8px; overflow-x:auto; overflow-y:hidden; padding:8px 4px 12px; -webkit-overflow-scrolling:touch; scroll-snap-type:x proximity; max-width:100%; }
.uno-card { --uc:#e53935; position:relative; flex:0 0 auto; width:62px; height:94px; border-radius:12px; border:3px solid #fff; background:var(--uc); color:#fff; padding:0; font-weight:900; scroll-snap-align:start; box-shadow:0 3px 10px rgba(0,0,0,.45); cursor:pointer; overflow:hidden; }
.uno-card.wild { background:conic-gradient(#e53935 0 25%,#fbc02d 0 50%,#43a047 0 75%,#1e88e5 0); }
.uno-card.wild.big { background:var(--uc); }
.uno-card .uc-oval { position:absolute; left:50%; top:50%; width:46px; height:70px; transform:translate(-50%,-50%) rotate(28deg); background:#fff; border-radius:50%; display:grid; place-items:center; color:var(--uc); font-size:24px; }
.uno-card.wild .uc-oval { color:#111; }
.uno-card .uc-oval { line-height:1; } .uno-card .uc-oval { writing-mode:horizontal-tb; }
.uno-card .uc-c { position:absolute; top:3px; left:5px; font-size:13px; text-shadow:0 1px 1px rgba(0,0,0,.5); }
.uno-card .uc-c.b { top:auto; left:auto; bottom:3px; right:5px; transform:rotate(180deg); }
.uno-card.big { width:84px; height:126px; cursor:default; } .uno-card.big .uc-oval { width:62px; height:96px; font-size:34px; }
.uno-card.ok { transform:translateY(-6px); box-shadow:0 0 0 3px #fbc02d,0 6px 16px rgba(251,192,45,.5); }
.uno-card.dim { filter:saturate(.5) brightness(.65); }
.uno-pick { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:4px 0 8px; color:#fff; }
.uno-pick b { flex:1 0 100%; }
.uno-pick button { min-height:48px; flex:1 1 70px; border-radius:12px; border:0; font-weight:900; color:#111; background:var(--uc); }
.uno-pick button.secondary { background:transparent; color:#cfd5df; border:1px solid var(--dash-line,#2a2d3a); }
.uno-log { font-size:13px; color:#9aa3b2; margin:8px 2px; display:flex; flex-direction:column; gap:3px; }
.uno-log div:first-child { color:#fff; font-weight:700; }
.uno-card .uc-oval > i { font-style:normal; display:inline-block; transform:rotate(-28deg); }

/* v124 Companies: swipe right to delete */
.co-swipe { position:relative; overflow:hidden; border-top:1px solid rgba(127,127,127,.25); }
.co-swipe-act { position:absolute; left:0; top:0; bottom:0; width:112px; display:flex; align-items:stretch; background:#c62828; }
.co-del-act { flex:1; background:#c62828 !important; color:#fff !important; border:0 !important; border-radius:0 !important; font-weight:700; font-size:15px; margin:0 !important; min-height:44px; }
.co-swipe-front { position:relative; z-index:1; background:var(--card); display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; padding:12px 2px; touch-action:pan-y; user-select:none; -webkit-user-select:none; }
.co-swipe-hint { font-size:12px; margin-top:6px; }
.linkbtn.co-del-link, .co-del-link { background:none !important; border:0 !important; color:#ef5350 !important; padding:4px 2px !important; margin:0 !important; font-size:12px; font-weight:600; text-decoration:underline; min-height:0; width:auto; box-shadow:none !important; }
.co-del-back { position:fixed; inset:0; background:rgba(0,0,0,.6); z-index:10000; display:flex; align-items:flex-end; justify-content:center; }
.co-del-sheet { box-sizing:border-box; background:var(--card); color:var(--ink); width:100%; max-width:520px; border-radius:16px 16px 0 0; padding:20px 18px calc(20px + env(safe-area-inset-bottom)); max-height:90vh; overflow:auto; border:1px solid var(--line); }
.co-del-sheet h3 { margin:0 0 8px; overflow-wrap:anywhere; }
.co-del-sheet p { line-height:1.45; overflow-wrap:anywhere; }
.co-del-sheet input { width:100%; box-sizing:border-box; font-size:16px; }
.co-del-btns { display:flex; gap:10px; margin-top:14px; }
.co-del-btns button { flex:1; min-height:46px; }
.co-del-go { background:#c62828 !important; color:#fff !important; border:0 !important; font-weight:700; }
.co-del-go:disabled { opacity:.45; }
@media (min-width:700px){ .co-del-back { align-items:center; } .co-del-sheet { border-radius:16px; } }

/* v126 appointment form */
.apptf-btn { background:var(--card); color:var(--ink); border:1px solid var(--line); border-radius:12px; font-weight:700; min-height:46px; }
.apptf-wide { display:block; width:100%; margin-top:10px; font-size:16px; }
.apptf-back { position:fixed; inset:0; z-index:10000; background:rgba(0,0,0,.6); display:flex; justify-content:center; align-items:stretch; }
.apptf { box-sizing:border-box; background:var(--card); color:var(--ink); width:100%; max-width:560px; height:100%; display:flex; flex-direction:column; }
.apptf-top { display:flex; align-items:center; justify-content:space-between; padding:calc(12px + env(safe-area-inset-top)) 16px 12px; border-bottom:1px solid var(--line); font-size:18px; }
.apptf-x { background:none !important; border:0 !important; color:var(--ink) !important; font-size:22px; width:44px; height:44px; padding:0 !important; margin:0 !important; }
.apptf-body { flex:1; overflow-y:auto; overflow-x:hidden; padding:6px 16px 16px; -webkit-overflow-scrolling:touch; }
.apptf-body label { display:block; margin-top:12px; font-weight:600; }
.apptf-body input, .apptf-body select, .apptf-body textarea { width:100%; box-sizing:border-box; font-size:16px; min-height:44px; }
.apptf-body input[readonly] { opacity:.7; }
.apptf-2 { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.apptf-2 > div { min-width:0; }
.apptf-yn { display:flex; gap:10px; margin-top:6px; }
.apptf-yn button { flex:1; min-height:46px; background:var(--bg, transparent) !important; color:var(--ink) !important; border:1px solid var(--line) !important; border-radius:10px; font-weight:700; margin:0 !important; }
.apptf-yn button.on { background:#2e7d32 !important; border-color:#2e7d32 !important; color:#fff !important; }
.apptf-yn button.on[data-v="No"] { background:#c62828 !important; border-color:#c62828 !important; }
.apptf-foot { display:flex; gap:10px; padding:12px 16px calc(12px + env(safe-area-inset-bottom)); border-top:1px solid var(--line); }
.apptf-foot button { flex:1; min-height:48px; font-size:16px; }
.ae-btns { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.ae-btns button { flex:1 1 140px; min-height:44px; }
#ae-emails { width:100%; box-sizing:border-box; font-size:16px; }

/* v129: home-screen app — keep top bars below the iPhone notch/status bar */
.statusbar, .fx-top, html[data-theme="dashfocus"] .dfx-top { padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
