/* ShopCall.ing console — visual system.
   Dark-first. Colour is reserved for state; chrome is greyscale. Dense, scannable, quiet until
   something needs attention. Every transition is transform/opacity only, 140–180 ms, ease-out. */

:root {
  --bg: #0a0b0e; --rail: #0d0f13; --panel: #12151b; --panel-2: #171b22; --panel-3: #1e232c; --input: #1c2129;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.05); --line-strong: rgba(255,255,255,.18);
  --text: #f4f7fb; --soft: #c3cbd6; --muted: #8b97a6; --faint: #626d7b;
  --accent: #2f6df6; --accent-hi: #4a80ff; --accent-press: #2359d6; --accent-soft: rgba(47,109,246,.16); --accent-line: rgba(47,109,246,.45);
  --ok: #22a55a; --ok-soft: rgba(34,165,90,.14); --warn: #e0900e; --warn-soft: rgba(224,144,14,.14);
  --bad: #e5484d; --bad-soft: rgba(229,72,77,.14); --info: #8b5cf6; --info-soft: rgba(139,92,246,.14);
  --r-xs: 5px; --r-sm: 8px; --r-md: 10px; --r-lg: 14px;
  --sh: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px rgba(0,0,0,.28);
  --rail-w: 224px;
  --ease: cubic-bezier(.23,1,.32,1); --fast: 150ms var(--ease);
  --ui: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}
:root[data-theme="light"] {
  --bg: #f3f5f8; --rail: #ffffff; --panel: #ffffff; --panel-2: #f7f9fb; --panel-3: #eef1f5; --input: #ffffff;
  --line: rgba(15,23,42,.09); --line-2: rgba(15,23,42,.055); --line-strong: rgba(15,23,42,.18);
  --text: #0e1521; --soft: #33425a; --muted: #5d6c80; --faint: #8593a5;
  --accent-soft: rgba(47,109,246,.10); --ok-soft: rgba(34,165,90,.11); --warn-soft: rgba(224,144,14,.12); --bad-soft: rgba(229,72,77,.10); --info-soft: rgba(139,92,246,.10);
  --sh: 0 1px 2px rgba(15,23,42,.05), 0 10px 30px rgba(15,23,42,.07);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 13.5px/1.5 var(--ui); -webkit-font-smoothing: antialiased; }
table, .mono, .dur, .kpi-value { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: .92em; }
::selection { background: var(--accent); color: #fff; }
a { color: var(--accent-hi); text-decoration: none; }
:where(button, [tabindex]):focus-visible, :where(a, input, select, textarea):focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; border-radius: var(--r-xs); }

/* ── shell ─────────────────────────────────────────────────────────────────── */
.app { display: grid; grid-template-columns: var(--rail-w) 1fr; min-height: 100dvh; }
.sidebar { background: var(--rail); border-right: 1px solid var(--line); display: flex; flex-direction: column; position: sticky; top: 0; height: 100dvh; z-index: 40; }
.brand { display: flex; align-items: center; gap: 10px; padding: 16px 14px 12px; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; flex: none; display: grid; place-items: center; background: linear-gradient(150deg, var(--accent-hi), var(--accent-press)); color: #fff; font-weight: 700; font-size: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,.22); }
.brand-name { font-weight: 600; font-size: 13.5px; letter-spacing: -.01em; line-height: 1.15; }
.brand-sub { font-size: 10.5px; color: var(--faint); }
.nav { padding: 2px 8px 8px; overflow-y: auto; flex: 1; }
.nav-group { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: 14px 8px 5px; }
.nav button { width: 100%; display: flex; align-items: center; gap: 9px; padding: 7px 9px; margin-bottom: 1px; background: none; border: 0; border-radius: var(--r-sm); color: var(--muted); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; text-align: left; transition: background var(--fast), color var(--fast); position: relative; }
.nav button svg { flex: none; opacity: .8; }
.nav button:hover { background: var(--panel-2); color: var(--soft); }
.nav button[aria-current="page"] { background: var(--accent-soft); color: var(--text); font-weight: 560; }
.nav button[aria-current="page"]::before { content: ''; position: absolute; left: -8px; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--accent-hi); }
.nav button[aria-current="page"] svg { opacity: 1; color: var(--accent-hi); }
.sidebar-foot { padding: 9px; border-top: 1px solid var(--line-2); display: grid; gap: 6px; }
.foot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.who-btn { display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 8px; background: none; border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: background var(--fast); }
.who-btn:hover { background: var(--panel-2); }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 0 18px; height: 52px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.5) blur(10px); }
.topbar h1 { font-size: 15px; font-weight: 600; margin: 0; letter-spacing: -.012em; }
.topbar-spacer { flex: 1; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-size: 12px; color: var(--soft); }
.view { padding: 18px; max-width: 1400px; width: 100%; animation: rise 180ms var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.menu-btn, .scrim, .tab-settings { display: none; }

/* ── buttons, fields ───────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px; background: var(--panel-2); color: var(--soft); border: 1px solid var(--line); border-radius: var(--r-sm); font: inherit; font-size: 12.5px; font-weight: 560; cursor: pointer; white-space: nowrap; transition: background var(--fast), border-color var(--fast), transform 120ms var(--ease), color var(--fast); }
.btn:hover { background: var(--panel-3); border-color: var(--line-strong); color: var(--text); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.primary { background: var(--accent); border-color: transparent; color: #fff; }
.btn.primary:hover { background: var(--accent-hi); }
.btn.danger:hover { background: var(--bad-soft); border-color: var(--bad); color: var(--bad); }
.btn.sm { height: 28px; padding: 0 10px; font-size: 12px; }
.btn.icon { width: 32px; padding: 0; }
.btn.sm.icon { width: 28px; }
.field { width: 100%; height: 34px; background: var(--input); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 0 10px; font: inherit; font-size: 13px; transition: border-color var(--fast), box-shadow var(--fast); }
textarea.field { height: auto; padding: 8px 10px; resize: vertical; min-height: 34px; line-height: 1.45; }
select.field { appearance: auto; }
.field.compact { width: auto; height: 28px; font-size: 12px; }
.field:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field::placeholder { color: var(--muted); }
.field[readonly] { color: var(--muted); background: var(--panel-2); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 12px; align-items: end; }
.form-col { display: grid; gap: 12px; max-width: 640px; }
.f label { display: block; font-size: 11.5px; font-weight: 560; color: var(--soft); margin-bottom: 4px; }
.f-hint { font-size: 11px; color: var(--faint); margin-top: 4px; line-height: 1.4; }
.f.wide { grid-column: 1 / -1; }
.f.end { display: flex; justify-content: flex-end; }
.under { min-height: 18px; margin-top: 8px; font-size: 12px; }
.say.ok { color: var(--ok); } .say.bad { color: var(--bad); } .say.faint, .faint { color: var(--faint); }
.secret-once { margin-top: 8px; padding: 10px 12px; border: 1px dashed var(--warn); border-radius: var(--r-sm); background: var(--warn-soft); display: grid; gap: 6px; }
.secret-once code { font-family: var(--mono); font-size: 12px; user-select: all; word-break: break-all; }

/* ── cards, tables, rows ───────────────────────────────────────────────────── */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 14px; overflow: hidden; }
.card-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.card-head h2 { font-size: 13.5px; font-weight: 600; margin: 0; letter-spacing: -.01em; }
.card-head .sub { font-size: 12px; color: var(--faint); }
.card-head .actions { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.card-body { padding: 14px 16px; }
.card-body.flush { padding: 0; }
.grid { display: grid; gap: 14px; margin-bottom: 14px; }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid .card { margin-bottom: 0; }
.scroll-x { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
th { text-align: left; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding: 9px 14px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
td { padding: 9px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background var(--fast); }
tbody tr:hover { background: var(--panel-2); }
tr.dim { opacity: .55; }
.right { text-align: right; }
.muted { color: var(--muted); } .t1 { font-weight: 560; } .t2 { font-size: 11px; color: var(--faint); margin-top: 1px; }
.ellip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.glyph { width: 30px; color: var(--muted); }
.rows { margin: 0; display: grid; }
.row { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.row:last-child { border-bottom: 0; }
.row dt { font-size: 12px; color: var(--muted); font-weight: 500; }
.row dd { margin: 0; min-width: 0; }
.row dd .hint { display: block; font-size: 11px; color: var(--faint); margin-top: 2px; }
.who { display: flex; align-items: center; gap: 9px; min-width: 0; }
.who-text { min-width: 0; }
.avatar { width: 28px; height: 28px; border-radius: 8px; flex: none; display: grid; place-items: center; background: var(--panel-3); color: var(--soft); font-size: 11px; font-weight: 600; }
.inline { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.inline.gap { gap: 8px; } .inline.end { justify-content: flex-end; }
.list-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 16px; background: none; border: 0; border-bottom: 1px solid var(--line-2); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: background var(--fast); }
.list-row:hover { background: var(--panel-2); } .list-row:last-child { border-bottom: 0; }
.list-row .pill { margin-left: auto; }

/* ── pills, notes, empties ─────────────────────────────────────────────────── */
.pill { display: inline-flex; align-items: center; gap: 5px; height: 21px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 560; background: var(--panel-3); color: var(--muted); white-space: nowrap; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.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.accent { background: var(--accent-soft); color: var(--accent-hi); }
.note { display: flex; gap: 10px; padding: 11px 14px; border-radius: var(--r-md); margin-bottom: 12px; font-size: 12.5px; border: 1px solid; }
.note.warn { background: var(--warn-soft); border-color: var(--warn); color: var(--text); } .note.warn svg { color: var(--warn); }
.note.bad { background: var(--bad-soft); border-color: var(--bad); } .note.bad svg { color: var(--bad); }
.empty { padding: 34px 16px; text-align: center; color: var(--faint); }
.empty svg { opacity: .5; } .empty h3 { margin: 8px 0 3px; font-size: 13.5px; font-weight: 600; color: var(--soft); } .empty p { margin: 0; font-size: 12.5px; }
.problem { display: flex; gap: 10px; padding: 14px 16px; border: 1px solid var(--bad); background: var(--bad-soft); border-radius: var(--r-md); margin-bottom: 14px; }
.problem svg { color: var(--bad); flex: none; margin-top: 2px; } .problem p { margin: 3px 0 0; font-size: 12.5px; color: var(--soft); }
.skel { display: grid; gap: 10px; padding: 4px 0; }
.skel-row { display: grid; grid-template-columns: 2fr 3fr 1fr; gap: 12px; animation: pulse 1.2s ease-in-out infinite; }
.skel-row span { height: 14px; border-radius: 4px; background: var(--panel-3); }
@keyframes pulse { 50% { opacity: .45; } }

/* ── KPIs ──────────────────────────────────────────────────────────────────── */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 14px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; border-top: 3px solid var(--line-strong); }
.kpi.ok { border-top-color: var(--ok); } .kpi.warn { border-top-color: var(--warn); }
.kpi-label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.kpi-value { font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin: 4px 0 2px; }
.kpi-note { font-size: 12px; color: var(--muted); }

/* ── inbox ─────────────────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 290px 1fr; height: calc(100dvh - 52px - 36px); min-height: 440px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--panel); }
.split-list { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.split-scroll { overflow-y: auto; flex: 1; min-height: 0; }
.split-pane { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--panel-2); }
.conv { display: flex; align-items: center; gap: 9px; width: 100%; padding: 11px 12px; background: none; border: 0; border-bottom: 1px solid var(--line-2); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: background var(--fast); }
.conv:hover { background: var(--panel-2); }
.conv[aria-current="true"] { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.conv .pill { margin-left: auto; }
.thread-head { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--panel); }
.thread-head .actions { margin-left: auto; }
.bubbles { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 62%; padding: 8px 12px; border-radius: 14px; font-size: 13px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.bubble.in { align-self: flex-start; background: var(--panel-3); border-bottom-left-radius: 4px; }
.bubble.out { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.bubble-meta { font-size: 10.5px; color: var(--faint); margin-top: 3px; }
.bubble.out .bubble-meta { color: rgba(255,255,255,.72); }
.refused { align-self: flex-end; max-width: 62%; font-size: 11px; color: var(--muted); }
.refused summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; border: 1px dashed var(--line-strong); }
.refused summary::-webkit-details-marker { display: none; }
.refused summary .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bad); }
.refused-body { margin-top: 4px; padding: 8px 10px; border: 1px dashed var(--line-strong); border-radius: 10px; background: var(--panel); font-size: 11.5px; }
.refused-body .draft { color: var(--faint); text-decoration: line-through; margin-bottom: 4px; }
.composer { display: flex; gap: 8px; padding: 10px 12px 4px; border-top: 1px solid var(--line); background: var(--panel); align-items: flex-end; }
.composer .field { resize: none; }
.split .under { padding: 0 12px 10px; background: var(--panel); margin: 0; }

/* ── calls, lines, people ──────────────────────────────────────────────────── */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.seg button { background: none; border: 0; padding: 5px 11px; font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; transition: background var(--fast), color var(--fast); }
.seg button[aria-pressed="true"] { background: var(--accent-soft); color: var(--text); font-weight: 560; }
.nums { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.num { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--panel-2); font-size: 12.5px; }
.person { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.person:last-child { border-bottom: 0; }
.person .badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
.person details { margin-top: 8px; } .person summary { cursor: pointer; font-size: 12px; color: var(--accent-hi); list-style: none; }
.person summary::-webkit-details-marker { display: none; }
.details-body { margin-top: 10px; display: grid; gap: 10px; }
.matrix { display: grid; gap: 6px; }
.matrix-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--panel-2); }
.tri { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.tri button { background: none; border: 0; padding: 4px 9px; font: inherit; font-size: 11px; color: var(--muted); cursor: pointer; }
.tri button[aria-pressed="true"] { background: var(--accent-soft); color: var(--text); font-weight: 560; }
.tri button.deny[aria-pressed="true"] { background: var(--bad-soft); color: var(--bad); }
.tri button:disabled { opacity: .4; cursor: not-allowed; }

/* ── auth ──────────────────────────────────────────────────────────────────── */
.auth { min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: radial-gradient(900px 500px at 50% -10%, var(--accent-soft), transparent 60%), var(--bg); }
.auth-card { width: 100%; max-width: 380px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 26px 22px; box-shadow: var(--sh); animation: rise 220ms var(--ease); }
.auth-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.auth h1 { font-size: 17px; font-weight: 600; letter-spacing: -.012em; margin: 0 0 4px; }
.auth p.lead { color: var(--muted); font-size: 12.5px; margin: 0 0 14px; }
.auth label { display: block; font-size: 11.5px; font-weight: 560; color: var(--soft); margin: 12px 0 5px; }
.auth .btn.primary { width: 100%; height: 36px; margin-top: 16px; }
.auth .aux { display: flex; justify-content: space-between; margin-top: 12px; font-size: 12px; }
.auth .aux a { cursor: pointer; }
.auth .say { display: block; min-height: 18px; margin-top: 10px; font-size: 12px; }

/* ── tab mode: the console minus its side menu ─────────────────────────────── */
.tab-mode .app { grid-template-columns: 1fr; }
.tab-mode .sidebar, .tab-mode .chip { display: none; }
.tab-mode .tab-settings { display: inline-flex; }
.tab-mode .topbar { height: 44px; }
.tab-mode .split { height: calc(100dvh - 44px - 36px); }

/* ── small screens ─────────────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; width: 260px; transform: translateX(-100%); transition: transform 200ms var(--ease); box-shadow: var(--sh); }
  .sidebar.open { transform: none; }
  .menu-btn { display: inline-flex; }
  .scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 35; }
  .split { grid-template-columns: 1fr; height: auto; min-height: 70dvh; }
  .split-list { max-height: 34dvh; }
  .bubble, .refused { max-width: 85%; }
  .row { grid-template-columns: 1fr; gap: 3px; }
  .view { padding: 12px; }
}

/* ── Calls as a phone ──────────────────────────────────────────────────────── */
.phone { display: none; }
.keypad-wrap { display: grid; gap: 14px; justify-items: center; padding: 6px 0; }
.dial-display { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 26px; font-weight: 500; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.dial-display .ph { font-size: 14px; color: var(--faint); font-weight: 400; }
.keypad { display: grid; grid-template-columns: repeat(3, 72px); gap: 12px; }
.key { width: 72px; height: 72px; border-radius: 50%; border: 0; background: var(--panel-3); color: var(--text); font: inherit; cursor: pointer; display: grid; place-items: center; align-content: center; transition: background var(--fast), transform 100ms var(--ease); }
.key b { font-size: 24px; font-weight: 500; line-height: 1; }
.key small { font-size: 9.5px; letter-spacing: .12em; color: var(--muted); margin-top: 2px; }
.key:hover { background: var(--line-strong); } .key:active { transform: scale(.94); }
.dial-actions { display: flex; align-items: center; gap: 10px; }
.call-btn { width: 72px; height: 72px; border-radius: 50%; padding: 0; background: var(--ok); }
.call-btn span { display: none; } .call-btn svg { width: 26px; height: 26px; }
.call-btn:hover { background: #1f9a52; } .call-btn:disabled { background: var(--panel-3); color: var(--faint); }
.pane-head { padding: 10px 14px; border-bottom: 1px solid var(--line-2); }
.glyph.miss { color: var(--bad); }
.list-row.static { cursor: default; } .list-row.static:hover { background: none; }
.phone-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); background: var(--panel); }
.bar-top .phone-tabs { border-top: 0; border-bottom: 1px solid var(--line); }
.phone-tabs button { display: grid; justify-items: center; gap: 3px; padding: 9px 4px 8px; background: none; border: 0; color: var(--muted); font: inherit; font-size: 10.5px; font-weight: 560; cursor: pointer; }
.phone-tabs button svg { width: 22px; height: 22px; }
.phone-tabs button[aria-current="true"] { color: var(--accent-hi); }

@media (max-width: 880px) {
  .calls-wide { display: none; }
  .phone { display: flex; flex-direction: column; height: calc(100dvh - 52px - 24px); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--panel); }
  .phone-pane { flex: 1; min-height: 0; overflow-y: auto; }
  .phone-pane[data-tab="keypad"] { display: grid; align-content: center; }
  .keypad { grid-template-columns: repeat(3, 76px); gap: 14px; }
  .key { width: 76px; height: 76px; }
}
