/* Contract Monitor — styles. Colours are tokens so light and dark themes share every rule. */
:root {
  --bg: #f3f5f9;
  --panel: #ffffff;
  --panel-2: #f8fafc;
  --hover: #f3f7fc;
  --ink: #1d2433;
  --ink-2: #344054;
  --muted: #667085;
  --line: #e3e7ee;
  --line-2: #cfd6e0;
  --brand: #1f5fa8;
  --brand-2: #184e8b;
  --brand-ink: #ffffff;
  --brand-soft: #e8f0fa;
  --ok: #1a7f4b;   --ok-soft: #e4f5ec;
  --warn: #9a6200; --warn-soft: #fdf3dc;
  --bad: #b42318;  --bad-soft: #fde8e6;
  --info: #3b4fb8; --info-soft: #eaedfb;
  --neutral-soft: #eef1f5; --neutral: #475467;
  --side: #14233a;
  --side-2: #1c3150;
  --side-ink: #c3cfdf;
  --side-muted: #7f93ad;
  --shadow: 0 1px 2px rgba(16,24,40,.05);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.28);
  --radius: 10px;
  --cl-paid: #1baf7a; --cl-claimed: #eb6834; --cl-open: #e3e7ee;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  color: var(--ink);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0f1623;
  --panel: #172233;
  --panel-2: #1b283b;
  --hover: #1f2e44;
  --ink: #e6ebf2;
  --ink-2: #c9d2de;
  --muted: #93a1b5;
  --line: #273549;
  --line-2: #33445c;
  --brand: #4d8fe0;
  --brand-2: #3b7bcc;
  --brand-soft: #1b3150;
  --ok: #4cc38a;   --ok-soft: #133526;
  --warn: #e5b35a; --warn-soft: #3a2d12;
  --bad: #f07b6f;  --bad-soft: #3d1c1a;
  --info: #93a4f5; --info-soft: #20284d;
  --neutral-soft: #243246; --neutral: #b7c2d1;
  --side: #0b121d;
  --side-2: #152238;
  --side-ink: #b6c3d4;
  --shadow: 0 1px 2px rgba(0,0,0,.4);
  --cl-open: #2c3a4f;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 21px; margin: 0 0 4px; letter-spacing: -.01em; }
h2 { font-size: 15.5px; margin: 0 0 12px; }
h3 { font-size: 14px; margin: 16px 0 8px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nowrap { white-space: nowrap; }
svg.i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- layout: sidebar + top bar + page */
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--side); color: var(--side-ink); padding: 14px 10px; display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 30; }
.brand { color: #fff; font-weight: 700; font-size: 16px; padding: 4px 10px 14px; display: flex; gap: 10px; align-items: center; }
.brand .logo { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, #3b82d6, #1f5fa8);
  display: grid; place-items: center; font-size: 13px; }
.brand small { display: block; font-weight: 400; color: var(--side-muted); font-size: 11px; margin-top: 1px; }
.ctx { background: var(--side-2); border-radius: 10px; padding: 10px; margin: 0 2px 10px; }
.ctx label { color: var(--side-muted); font-weight: 600; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; }
.ctx select { background: #0f1a2b; color: #fff; border-color: #34496b; padding: 6px 8px; margin-top: 4px; }
.ctx .ctx-meta { font-size: 11.5px; color: var(--side-ink); margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.nav a { display: flex; align-items: center; gap: 10px; color: var(--side-ink); padding: 7px 10px; border-radius: 7px; margin-bottom: 1px; }
.nav a span.lbl { flex: 1; }
.nav a:hover { background: rgba(255,255,255,.07); text-decoration: none; color: #fff; }
.nav a.active { background: var(--brand); color: #fff; }
.nav .section { font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--side-muted); padding: 12px 10px 4px;
  display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none; }
.nav .section:hover { color: var(--side-ink); }
.nav .section .chev { transition: transform .15s; font-size: 10px; }
.nav .section.closed .chev { transform: rotate(-90deg); }
.badge-count { background: #e5484d; color: #fff; border-radius: 999px; padding: 1px 7px; font-size: 11px; font-weight: 700; }
.side-foot { margin-top: auto; padding: 12px 10px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }
.side-foot b { color: #fff; }
.side-foot .row2 { display: flex; gap: 6px; margin-top: 8px; }
.side-foot button { flex: 1; background: transparent; color: var(--side-ink); border-color: #34496b; }
.side-foot button:hover { background: rgba(255,255,255,.08); }
.topbar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px);
  display: flex; align-items: center; gap: 12px; padding: 10px 26px; border-bottom: 1px solid var(--line); }
.topbar .crumbs { flex: 1; min-width: 0; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .crumbs a { color: var(--muted); }
.topbar .crumbs b { color: var(--ink); }
.searchbtn { display: flex; align-items: center; gap: 8px; min-width: 260px; justify-content: flex-start; color: var(--muted); font-weight: 400;
  background: var(--panel); }
.searchbtn kbd { margin-left: auto; }
kbd { font: 11px/1 ui-monospace, Consolas, monospace; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 4px;
  padding: 2px 5px; color: var(--muted); background: var(--panel-2); }
.iconbtn { padding: 7px 9px; display: inline-flex; align-items: center; }
.menubtn { display: none; }
.main { min-width: 0; display: flex; flex-direction: column; }
.page { padding: 20px 26px 48px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.scrim { display: none; }

/* ---------- panels, cards */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; box-shadow: var(--shadow); }
.panel.flush { padding: 0; overflow: hidden; }
.panel.flush > h2 { padding: 14px 16px 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 12px; margin-bottom: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow); }
.card .label { color: var(--muted); font-size: 12px; }
.card .value { font-size: 22px; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }
.card.alert { border-color: color-mix(in srgb, var(--bad) 40%, transparent); background: var(--bad-soft); }
.card.notice { border-color: color-mix(in srgb, var(--warn) 40%, transparent); background: var(--warn-soft); }
.card.clickable { cursor: pointer; transition: transform .1s, box-shadow .15s; }
.card.clickable:hover { box-shadow: 0 4px 14px rgba(31,95,168,.14); transform: translateY(-1px); }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 1100px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--panel-2); font-size: 12px; color: var(--muted); font-weight: 600; position: sticky; top: 0; z-index: 1; }
th.sortable { cursor: pointer; user-select: none; }
th.sortable:hover { color: var(--ink); }
th.sortable::after { content: " ↕"; opacity: .35; font-size: 10px; }
th.sort-asc::after { content: " ▲"; opacity: .9; }
th.sort-desc::after { content: " ▼"; opacity: .9; }
tr.click { cursor: pointer; }
tr.click:hover td { background: var(--hover); }
tr.over td { background: color-mix(in srgb, var(--bad-soft) 55%, var(--panel)); }
td.wrap { max-width: 340px; }
.empty { padding: 24px; text-align: center; color: var(--muted); }
.tbar { display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--panel); flex-wrap: wrap; }
.tbar input { max-width: 240px; padding: 5px 8px; font-size: 12.5px; }
.tbar .muted { font-size: 12px; }
.tbar .sp { flex: 1; }

/* ---------- pills */
.pill { display: inline-block; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.pill.info { background: var(--info-soft); color: var(--info); }
.pill.neutral { background: var(--neutral-soft); color: var(--neutral); }

/* ---------- forms and buttons */
label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
input, select, textarea { font: inherit; padding: 7px 9px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--panel); color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--brand) 40%, transparent); border-color: var(--brand); }
input[type=checkbox] { width: auto; accent-color: var(--brand); }
textarea { min-height: 70px; resize: vertical; }
.field { margin-bottom: 12px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row > .field { flex: 1 1 160px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 12px; }
.filters .field { margin: 0; min-width: 130px; }
.filters .field.grow { flex: 1 1 200px; }
button, .btn { font: inherit; font-weight: 600; border-radius: 7px; padding: 7px 14px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); cursor: pointer; }
button:hover, .btn:hover { background: var(--hover); text-decoration: none; }
button.primary, .btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
button.primary:hover, .btn.primary:hover { background: var(--brand-2); }
button.danger { background: var(--bad); border-color: var(--bad); color: #fff; }
button.success { background: var(--ok); border-color: var(--ok); color: #fff; }
button.link { border: none; background: none; color: var(--brand); padding: 0; }
button:disabled { opacity: .5; cursor: not-allowed; }
button.sm, .btn.sm { padding: 4px 10px; font-size: 12px; }
a.btn { display: inline-block; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.error { background: var(--bad-soft); color: var(--bad); border-radius: 7px; padding: 8px 10px; margin-bottom: 12px; }
.hint { background: var(--info-soft); color: var(--info); border-radius: 7px; padding: 8px 10px; margin-bottom: 12px; font-size: 13px; }
.warnbox { background: var(--warn-soft); color: var(--warn); border-radius: 7px; padding: 8px 10px; margin-bottom: 12px; font-size: 13px; }
.hint b, .warnbox b, .error b { color: inherit; }

/* ---------- tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 12px; flex-wrap: wrap; }
.tabs button { border: none; background: none; border-bottom: 2px solid transparent; border-radius: 0; padding: 8px 12px; color: var(--muted); }
.tabs button.active { color: var(--brand); border-bottom-color: var(--brand); }

/* ---------- login */
.login-wrap { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(160deg, #14233a, #1f5fa8); padding: 16px; }
.login { width: 380px; max-width: 100%; background: var(--panel); border-radius: 14px; padding: 28px; box-shadow: var(--shadow-lg); }
.login h1 { margin-bottom: 2px; }
.login p { margin-top: 0; }

/* ---------- modal, command palette, toast */
.modal-back { position: fixed; inset: 0; background: rgba(8,12,20,.5); display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; z-index: 50; }
.modal { background: var(--panel); border-radius: 12px; width: 100%; max-width: 640px; padding: 20px; box-shadow: var(--shadow-lg); }
.modal.wide { max-width: 1000px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.modal-head h2 { margin: 0; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.palette { position: fixed; inset: 0; background: rgba(8,12,20,.45); z-index: 60; display: flex; justify-content: center; padding: 10vh 16px 16px; }
.palette .box { width: 640px; max-width: 100%; background: var(--panel); border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; align-self: flex-start;
  display: flex; flex-direction: column; max-height: 75vh; }
.palette input { border: none; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16px; padding: 14px 16px; outline: none; }
.palette .results { overflow-y: auto; padding: 6px; }
.palette .grp { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 10px 4px; }
.palette .it { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.palette .it .t { flex: 1; min-width: 0; }
.palette .it .t div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palette .it .c { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.palette .it.sel, .palette .it:hover { background: var(--brand-soft); }
.palette .foot { border-top: 1px solid var(--line); padding: 7px 12px; font-size: 11.5px; color: var(--muted); display: flex; gap: 14px; }
.toast { position: fixed; bottom: 20px; right: 20px; background: #14233a; color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; box-shadow: 0 8px 24px rgba(0,0,0,.25); max-width: 480px; }
.toast.bad { background: var(--bad); }

/* ---------- misc components */
.kv { display: grid; grid-template-columns: 190px 1fr; gap: 4px 12px; }
.kv div:nth-child(odd) { color: var(--muted); }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { border-left: 2px solid var(--line); padding: 0 0 12px 14px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 3px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.bar { height: 8px; background: var(--neutral-soft); border-radius: 99px; overflow: hidden; min-width: 80px; }
.bar > span { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.bar.over > span { background: var(--bad); }
.pager { display: flex; gap: 8px; align-items: center; justify-content: flex-end; padding: 10px 12px; }
pre.json { background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; padding: 8px; font-size: 12px; white-space: pre-wrap; word-break: break-word; margin: 0; max-height: 240px; overflow: auto; color: var(--ink-2); }
.perm-grid { display: grid; grid-template-columns: 1fr 120px; gap: 4px 12px; align-items: center; }
.perm-grid select { padding: 4px 6px; }
.ctr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 16px; }

/* service mapping row states */
.map-table tbody tr { cursor: pointer; }
.map-table tbody tr:hover td { background: var(--hover); }
.map-table tbody tr.changed td { background: var(--warn-soft); }
.map-table tbody tr.active td { background: var(--brand-soft); }
.map-table tbody tr.active td:first-child { box-shadow: inset 4px 0 0 var(--brand); }
.map-table tbody tr.active td, .map-table tbody tr.active td .muted { color: var(--ink); }
.map-table tbody tr.active select { border-color: var(--brand); }
.map-table .unsaved { display: inline-block; margin-top: 4px; }

/* claims bar on each service line */
.cl-bar { display: flex; gap: 2px; height: 8px; min-width: 120px; }
.cl-bar span { height: 100%; }
.cl-bar span:first-child { border-radius: 4px 0 0 4px; }
.cl-bar span:last-child { border-radius: 0 4px 4px 0; }
.cl-bar span:only-child { border-radius: 4px; }
.cl-legend { display: block; font-weight: 400; margin-top: 2px; white-space: nowrap; }
.cl-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin: 0 3px 0 6px; }
.cl-legend i:first-child { margin-left: 0; }

/* contracts overview */
.contract-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.contract-card { cursor: pointer; margin: 0; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s, box-shadow .15s, transform .1s; }
.contract-card:hover { border-color: color-mix(in srgb, var(--brand) 45%, transparent); box-shadow: 0 6px 18px rgba(31,95,168,.14); transform: translateY(-1px); }
.contract-card.archived { opacity: .65; }
.contract-card h2 { margin: 0; }
.cc-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.cc-meter .small { margin-bottom: 4px; }
.cc-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-top td { padding: 4px 6px; border-bottom: 1px solid var(--line); font-size: 12px; }

/* my work */
.tasks { display: grid; gap: 10px; }
.task { display: flex; gap: 14px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--line-2);
  border-radius: var(--radius); padding: 12px 14px; cursor: pointer; box-shadow: var(--shadow); transition: box-shadow .15s, transform .1s; }
.task:hover { box-shadow: 0 4px 14px rgba(31,95,168,.14); transform: translateY(-1px); }
.task.high { border-left-color: var(--bad); }
.task.medium { border-left-color: var(--warn); }
.task.low { border-left-color: var(--info); }
.task .n { font-size: 22px; font-weight: 700; min-width: 54px; text-align: center; font-variant-numeric: tabular-nums; }
.task .t { flex: 1; min-width: 0; }
.task .go { color: var(--muted); }
.allclear { text-align: center; padding: 40px 20px; }
.allclear .big { font-size: 42px; }

/* charts */
.chart { width: 100%; height: auto; max-height: 260px; display: block; }
.chart .grid { stroke: var(--line); }
.chart .axis { fill: var(--muted); font-size: 10.5px; }
.chart rect.b { fill: var(--brand); opacity: .85; }
.chart rect.b:hover { opacity: 1; }
.chart .val { fill: var(--ink-2); font-size: 10px; }

/* quotation review & register */
.q-start { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 25%, transparent); }
.q-sheet { padding: 12px; margin-bottom: 12px; }
.q-inc { display: flex; gap: 8px; align-items: center; color: var(--ink); font-size: 13px; font-weight: 400; margin: 0; }
.q-table input { padding: 4px 6px; }
.q-table input[type=number] { text-align: right; }
.q-table tr.off td { opacity: .45; }
.q-quote { padding: 10px 12px; margin-bottom: 10px; }
.q-quote > summary { cursor: pointer; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.q-quote[open] > summary { margin-bottom: 8px; }
.q-line { padding: 4px 0 8px; border-bottom: 1px dashed var(--line); margin-bottom: 6px; }
.q-line:last-child { border-bottom: none; margin-bottom: 0; }
.q-line .q-nums { display: inline-block; margin-left: 6px; font-size: 12px; }
.q-line .bar { margin: 4px 0; max-width: 360px; }

/* printable report */
.report h2 { margin-top: 18px; }
.report .kv { max-width: 700px; }

/* ---------- phones and tablets */
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: 272px; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--shadow-lg); }
  .shell.menu-open .side { transform: none; }
  .shell.menu-open .scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 25; }
  .menubtn { display: inline-flex; }
  .topbar { padding: 10px 16px; }
  .searchbtn { min-width: 0; }
  .searchbtn .lbl, .searchbtn kbd { display: none; }
  .page { padding: 16px 16px 40px; }
  .kv { grid-template-columns: 1fr; }
  .contract-grid { grid-template-columns: minmax(0, 1fr); }
  .task .n { min-width: 40px; font-size: 18px; }
}

/* ---------- print (contract report, any page) */
@media print {
  .side, .topbar, .tbar, .no-print, .toast, .scrim { display: none !important; }
  .shell { display: block; }
  body, .page { background: #fff; padding: 0; }
  .panel, .card { box-shadow: none; break-inside: avoid; }
  th { position: static; }
}

/* multi-file upload */
.dropzone { display: flex; gap: 14px; align-items: center; border: 2px dashed var(--line-2); border-radius: var(--radius); padding: 18px 20px;
  cursor: pointer; background: var(--panel-2); transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.over { border-color: var(--brand); background: var(--brand-soft); }
.dropzone svg.i { width: 30px; height: 30px; color: var(--brand); }
.linklike { display: inline; color: var(--brand); font-size: inherit; font-weight: 600; cursor: pointer; margin: 0; text-decoration: underline; }
.filelist { margin-top: 10px; border: 1px solid var(--line); border-radius: 8px; }
.fl { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 10px; border-bottom: 1px solid var(--line); }
.fl:last-child { border-bottom: none; }
.fl > span { display: flex; gap: 8px; align-items: center; min-width: 0; }
.progress { height: 6px; background: var(--neutral-soft); border-radius: 99px; overflow: hidden; margin-top: 10px; }
.progress > span { display: block; height: 100%; width: 0; background: var(--brand); transition: width .3s; }

/* monthly statement */
.statement .st-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.statement .st-title { text-align: right; color: var(--muted); }
.statement .st-title .big { font-size: 22px; font-weight: 700; color: var(--ink); }
.statement .ar { font-size: .95em; opacity: .85; }
.statement th .ar, .statement .label .ar { display: block; }
/* phone: approve / reject stay at the bottom of the screen */
@media (max-width: 900px) {
  .phone-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--panel); border-top: 1px solid var(--line);
    padding: 10px 12px; justify-content: stretch; box-shadow: 0 -6px 18px rgba(0,0,0,.12); }
  .phone-bar button { flex: 1; padding: 12px; font-size: 15px; }
  .page:has(.phone-bar) { padding-bottom: 90px; }
}
