/* Call test. Navtok's design system: ink on white, structure from hairlines, one petrol signal,
   IBM Plex. Light only. */
:root {
  --bg: #ffffff;
  --bg-subtle: #f5f7f7;
  --bg-hover: #edf1f2;
  --bg-sunken: #e8eced;
  --ink: #131b1d;
  --ink-muted: #485254;
  --ink-subtle: #646c6e;
  --ink-disabled: #99a0a1;
  --border: #e1e6e7;
  --border-strong: #ced5d7;
  --border-control: #848e91;
  --brand: #0c6971;
  --brand-hover: #00555d;
  --brand-soft: #e3f5f7;
  --brand-ink: #024f56;
  --success: #2c7f44;
  --success-soft: #e3f8e6;
  --success-ink: #1a582d;
  --warning: #cb7b1b;
  --warning-soft: #fff1d7;
  --warning-ink: #804614;
  --danger: #c93436;
  --danger-soft: #ffebea;
  --danger-ink: #9e2225;
  --info-soft: #e7f2ff;
  --info-ink: #264f8b;
  --code: #172022;
  --code-ink: #cad3d5;
  --radius-tag: 4px;
  --radius-control: 6px;
  --radius-card: 8px;
  --radius-sheet: 12px;
  --font: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --top: 56px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 14px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.i { width: 18px; height: 18px; flex: none; }
.i-sm { width: 15px; height: 15px; }
.i-lg { width: 20px; height: 20px; }
.mono { font-family: var(--mono); }
.muted { color: var(--ink-muted); }
.subtle { color: var(--ink-subtle); }
.hint { margin: 6px 0 0; font-size: 12.5px; color: var(--ink-subtle); }
.hint code, .facts code { font-family: var(--mono); font-size: 12px; background: var(--bg-subtle); padding: 0 4px; border-radius: var(--radius-tag); }

/* ── Top bar ─────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 40; height: var(--top); display: flex; align-items: center; gap: 14px; padding: 0 16px 0 20px; background: var(--bg); border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 15px; }
.brand:hover { color: var(--ink); }
.top-line { display: inline-flex; align-items: center; gap: 8px; padding-inline-start: 14px; border-inline-start: 1px solid var(--border); color: var(--ink-muted); font-size: 13px; min-width: 0; }
.top-line .txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 32vw; }
.spacer { flex: 1; }
.top-nav { display: flex; gap: 2px; }
.top-link { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 10px; border-radius: var(--radius-control); color: var(--ink-muted); font-weight: 500; }
.top-link:hover { background: var(--bg-hover); color: var(--ink); }
.top-link[aria-current="page"] { color: var(--ink); background: var(--bg-subtle); }
.top-user { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-muted); font-size: 13px; padding-inline-start: 12px; border-inline-start: 1px solid var(--border); }
.top form { margin: 0; }

/* ── Controls ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--border-control); border-radius: var(--radius-control); background: var(--bg); color: var(--ink); font-weight: 500; cursor: pointer; white-space: nowrap; transition: background-color .12s, border-color .12s; }
.btn:hover { background: var(--bg-hover); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { background: var(--danger-ink); border-color: var(--danger-ink); }
.btn-ghost { border-color: transparent; background: transparent; color: var(--ink-muted); }
.btn-ghost:hover { background: var(--bg-hover); color: var(--ink); }
.btn-lg { height: 52px; padding: 0 22px; font-size: 15px; }
.btn-sm { height: 30px; padding: 0 10px; font-size: 13px; }
.icon-btn { width: 36px; padding: 0; }
.icon-btn.btn-sm { width: 30px; }
.btn.is-on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-ink); }

.input { width: 100%; height: 38px; padding: 0 11px; border: 1px solid var(--border-control); border-radius: var(--radius-control); background: var(--bg); color: var(--ink); }
textarea.input { height: auto; min-height: 120px; padding: 9px 11px; line-height: 1.5; resize: vertical; }
select.input { appearance: none; padding-inline-end: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646c6e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 16px; background-position: right 10px center; }
[dir="rtl"] select.input { background-position: left 10px center; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.input.is-missing { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }
input[type="range"] { width: 100%; accent-color: var(--brand); }

.field { margin-top: 14px; }
.field:first-child { margin-top: 0; }
.label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 6px; font-size: 12.5px; font-weight: 500; color: var(--ink-muted); }
.label output { font-family: var(--mono); font-size: 12px; color: var(--ink); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Segmented choice */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding: 3px; border-radius: var(--radius-control); background: var(--bg-sunken); }
.seg button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 4px 8px; border: 0; border-radius: 4px; background: transparent; color: var(--ink-muted); font-weight: 500; font-size: 13px; cursor: pointer; text-align: center; }
.seg button:hover { color: var(--ink); }
.seg button[aria-checked="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 2px rgba(19, 27, 29, .12), 0 0 0 1px var(--border-strong); }
.seg.seg-tall button { flex-direction: column; gap: 2px; min-height: 52px; }
.seg .sub { font-size: 11.5px; font-weight: 400; color: var(--ink-subtle); }

/* Switch */
.switch { display: flex; align-items: flex-start; gap: 12px; padding: 4px 0; cursor: pointer; }
.switch + .switch { margin-top: 8px; }
.switch input { appearance: none; flex: none; width: 34px; height: 20px; margin: 1px 0 0; border-radius: 999px; background: var(--border-strong); position: relative; cursor: pointer; transition: background-color .15s; }
.switch input::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(19, 27, 29, .25); transition: transform .15s; }
.switch input:checked { background: var(--brand); }
.switch input:checked::after { transform: translateX(14px); }
[dir="rtl"] .switch input:checked::after { transform: translateX(-14px); }
.switch .t { display: block; font-weight: 500; }
.switch .s { display: block; font-size: 12.5px; color: var(--ink-subtle); }

/* Combobox */
.combo { position: relative; }
.combo-btn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 6px 10px 6px 12px; border: 1px solid var(--border-control); border-radius: var(--radius-control); background: var(--bg); text-align: start; cursor: pointer; }
.combo-btn:hover { background: var(--bg-subtle); }
.combo.is-open .combo-btn { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.combo-btn .main, .combo-opt .main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.combo-btn .t, .combo-opt .t { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.combo-btn .s, .combo-opt .s { font-size: 12px; color: var(--ink-subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.combo-btn.is-empty .t { color: var(--ink-subtle); font-weight: 400; }
.combo-btn .chev { color: var(--ink-subtle); transition: transform .15s; }
.combo.is-open .chev { transform: rotate(180deg); }
.combo.is-loading .combo-btn .t::after { content: " · loading…"; color: var(--ink-subtle); font-weight: 400; }
.combo-pop { display: none; position: absolute; z-index: 30; inset-inline: 0; top: calc(100% + 4px); flex-direction: column; max-height: min(380px, 60vh); background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius-card); box-shadow: 0 12px 32px rgba(19, 27, 29, .14); overflow: hidden; }
.combo.is-open .combo-pop { display: flex; }
.combo-search { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-bottom: 1px solid var(--border); color: var(--ink-subtle); }
.combo-search input { flex: 1; height: 40px; border: 0; outline: 0; background: transparent; min-width: 0; }
.combo-list { overflow: auto; padding: 4px; }
.combo-group { padding: 8px 8px 4px; font-size: 11.5px; font-weight: 600; color: var(--ink-subtle); }
.combo-opt { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: var(--radius-control); cursor: pointer; }
.combo-opt.is-active { background: var(--bg-hover); }
.combo-opt.is-selected .t { color: var(--brand-ink); }
.combo-opt .tick { color: var(--brand); }
.combo-opt .badge, .tag { flex: none; font-size: 11.5px; font-weight: 500; padding: 1px 6px; border-radius: var(--radius-tag); background: var(--bg-subtle); color: var(--ink-muted); }
.tag-brand { background: var(--brand-soft); color: var(--brand-ink); }
.tag-ok { background: var(--success-soft); color: var(--success-ink); }
.tag-warn { background: var(--warning-soft); color: var(--warning-ink); }
.tag-bad { background: var(--danger-soft); color: var(--danger-ink); }
.opt-action { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 50%; background: var(--bg); color: var(--ink-muted); cursor: pointer; }
.opt-action:hover { border-color: var(--brand); color: var(--brand); }
.opt-action.is-playing { background: var(--brand); border-color: var(--brand); color: #fff; }
.combo-empty { padding: 16px 10px; color: var(--ink-subtle); text-align: center; font-size: 13px; }

/* ── Call page layout ────────────────────────────────────── */
.layout { display: grid; grid-template-columns: 400px minmax(0, 1fr); height: calc(100dvh - var(--top)); }
.setup { overflow-y: auto; border-inline-end: 1px solid var(--border); background: var(--bg); }
.stage { overflow-y: auto; min-width: 0; display: flex; flex-direction: column; }
.block { padding: 18px 20px; border-bottom: 1px solid var(--border); }
.block-title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 13.5px; font-weight: 600; }
.block-title > .i { color: var(--ink-subtle); }
.block-title .actions { margin-inline-start: auto; display: flex; gap: 2px; }
.block-note { margin: 0; color: var(--ink-subtle); font-size: 13px; }

.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 12px 0 0; font-size: 13px; }
.facts dt { color: var(--ink-subtle); }
.facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.peek { margin-top: 10px; }
.peek summary { cursor: pointer; color: var(--brand); font-size: 13px; font-weight: 500; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.peek summary::-webkit-details-marker { display: none; }
.peek pre { margin: 8px 0 0; max-height: 260px; overflow: auto; padding: 10px 12px; border-radius: var(--radius-control); background: var(--bg-subtle); font: 12.5px/1.55 var(--font); white-space: pre-wrap; word-break: break-word; }

.vars { display: grid; gap: 10px; }
.var .label code { font-family: var(--mono); font-size: 12px; color: var(--ink); background: none; padding: 0; }
.var .label .req { color: var(--danger-ink); font-weight: 500; }

/* Dial */
.dial { padding: 24px 28px 20px; border-bottom: 1px solid var(--border); }
.dial h1 { font-size: 18px; margin-bottom: 4px; }
.dial .lead { margin: 0 0 16px; color: var(--ink-muted); }
.dial-row { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.number { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 8px 0 14px; border: 1px solid var(--border-control); border-radius: var(--radius-control); background: var(--bg); }
.number:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.number > .i { color: var(--ink-subtle); }
.number input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: 500 19px var(--mono); }
.number input::placeholder { color: var(--ink-disabled); font-weight: 400; }
.dial-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; font-size: 12.5px; color: var(--ink-subtle); }
.dial-meta code { font-family: var(--mono); color: var(--ink-muted); }
.keypad { display: grid; grid-template-columns: repeat(3, 64px); gap: 6px; margin-top: 12px; }
.keypad button { height: 42px; border: 1px solid var(--border-strong); border-radius: var(--radius-control); background: var(--bg); font: 500 16px var(--mono); cursor: pointer; }
.keypad button:hover { background: var(--bg-hover); }

.notice { display: flex; gap: 10px; align-items: flex-start; margin: 16px 28px 0; padding: 11px 14px; border-radius: var(--radius-card); background: var(--danger-soft); color: var(--danger-ink); }
.notice.is-info { background: var(--info-soft); color: var(--info-ink); }
.notice.is-ok { background: var(--success-soft); color: var(--success-ink); }
.notice .i { margin-top: 1px; }
.notice .txt { flex: 1; white-space: pre-wrap; overflow-wrap: anywhere; }
.notice button { border: 0; background: none; color: inherit; cursor: pointer; padding: 0; opacity: .7; }

.status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding: 14px 28px; border-bottom: 1px solid var(--border); }
.stat { display: flex; align-items: center; gap: 8px; }
.stat .k { color: var(--ink-subtle); font-size: 12.5px; }
.stat .v { font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-disabled); flex: none; }
.dot.is-ok { background: var(--success); }
.dot.is-live { background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.dot.is-wait { background: var(--warning); animation: blink 1.2s ease-in-out infinite; }
.dot.is-bad { background: var(--danger); }
@keyframes blink { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .dot.is-wait { animation: none; } }
.timer { font: 500 16px var(--mono); min-width: 52px; }
.meter { display: inline-block; width: 64px; height: 4px; border-radius: 2px; background: var(--bg-sunken); overflow: hidden; vertical-align: middle; }
.meter i { display: block; height: 100%; width: 0; background: var(--brand); transition: width 70ms linear; }
.status-row .push { margin-inline-start: auto; }

.metrics { display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 12px 28px; border-bottom: 1px solid var(--border); background: var(--bg-subtle); }
.metric .k { display: block; font-size: 12px; color: var(--ink-subtle); }
.metric .v { font: 500 15px var(--mono); }
.metric .v.is-good { color: var(--success-ink); }
.metric .v.is-slow { color: var(--warning-ink); }

.section { padding: 20px 28px; border-bottom: 1px solid var(--border); }
.section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.section-head h2 { font-size: 15px; }
.section-head .subtle { font-size: 12.5px; }
.section-head .actions { margin-inline-start: auto; display: flex; gap: 4px; }

.transcript { display: flex; flex-direction: column; gap: 14px; min-height: 160px; }
.empty { color: var(--ink-subtle); padding: 28px 0; text-align: center; }
.empty .i { display: block; margin: 0 auto 8px; width: 24px; height: 24px; color: var(--ink-disabled); }
.msg { display: flex; flex-direction: column; max-width: min(78%, 640px); }
.msg.user { align-self: flex-end; align-items: flex-end; }
.msg .who { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 12px; color: var(--ink-subtle); }
.bubble { padding: 9px 13px; border-radius: 10px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.assistant .bubble { border: 1px solid var(--border); border-start-start-radius: 3px; }
.msg.user .bubble { background: var(--bg-subtle); border-start-end-radius: 3px; }
.msg.pending .bubble { color: var(--ink-subtle); }
.react { display: inline-block; margin: 0 2px; padding: 0 5px; border-radius: var(--radius-tag); background: var(--brand-soft); color: var(--brand-ink); font-size: 12px; line-height: 1.6; vertical-align: 1px; }
.cards { display: grid; gap: 8px; margin-top: 14px; }
.card { padding: 10px 14px; border-inline-start: 3px solid var(--brand); background: var(--brand-soft); border-radius: var(--radius-tag); }
.card b { display: block; }

.summary dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px 24px; margin: 0 0 14px; }
.summary dt { font-size: 12px; color: var(--ink-subtle); }
.summary dd { margin: 2px 0 0; font-weight: 500; }
.summary .about { margin: 0 0 14px; line-height: 1.6; }
.summary h3 { font-size: 13px; margin: 16px 0 8px; }
.kv { width: 100%; border-collapse: collapse; font-size: 13px; }
.kv td { padding: 7px 8px; border-top: 1px solid var(--border); vertical-align: top; }
.kv td:first-child { width: 36%; color: var(--ink-muted); font-family: var(--mono); font-size: 12.5px; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { padding: 8px 10px; border-bottom: 1px solid var(--border); text-align: start; font-size: 12px; font-weight: 500; color: var(--ink-subtle); white-space: nowrap; }
.table td { padding: 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table tbody tr { cursor: pointer; }
.table tbody tr:hover td { background: var(--bg-hover); }
.table tbody tr.is-open td { background: var(--brand-soft); }

.events summary { cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 600; list-style: none; }
.events summary::-webkit-details-marker { display: none; }
.events summary .subtle { font-weight: 400; font-size: 12.5px; }
.log { margin: 12px 0 0; max-height: 320px; overflow: auto; padding: 12px 14px; border-radius: var(--radius-card); background: var(--code); color: var(--code-ink); font: 12px/1.6 var(--mono); white-space: pre-wrap; word-break: break-word; }
.log .sip { color: #e6c07b; } .log .err { color: #ff8f8a; } .log .me { color: #9fd3d8; } .log .ev { color: #a6dba5; } .log .dc { color: #b7c6f0; }

/* ── Settings ───────────────────────────────────────────── */
.page { max-width: 880px; margin: 0 auto; padding: 28px 20px 80px; }
.page > h1 { font-size: 22px; margin-bottom: 4px; }
.page > .lead { margin: 0 0 24px; color: var(--ink-muted); }
.panel { padding: 22px 0; border-top: 1px solid var(--border); }
.panel h2 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 4px; }
.panel h2 .i { color: var(--ink-subtle); }
.panel > .hint { margin: 0 0 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .wide { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 10px; align-items: center; margin-top: 16px; }
.saved { color: var(--success-ink); font-size: 13px; display: inline-flex; gap: 6px; align-items: center; }
.key-row { display: grid; grid-template-columns: 140px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.key-row .name { font-weight: 500; }
.users td .tag { margin-inline-start: 6px; }

/* ── Sign-in ─────────────────────────────────────────────── */
.login { min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; background: var(--bg-subtle); }
.login-box { width: 100%; max-width: 380px; padding: 32px 28px 28px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sheet); }
.login-box .brand { margin-bottom: 22px; }
.login-box h1 { font-size: 20px; margin-bottom: 4px; }
.login-box > p { margin: 0 0 20px; color: var(--ink-muted); }
.login-box .field { margin-top: 14px; }
.login-box .btn { width: 100%; height: 44px; margin-top: 22px; }
.login-message { margin: 0 0 4px; padding: 10px 12px; border-radius: var(--radius-control); background: var(--danger-soft); color: var(--danger-ink); font-size: 13.5px; }
.login-message.is-info { background: var(--info-soft); color: var(--info-ink); }
.login-foot { margin: 18px 0 0; font-size: 12.5px; color: var(--ink-subtle); display: flex; gap: 6px; align-items: center; }

/* ── Small screens: the call first, the setup below ─────── */
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; height: auto; }
  .setup { order: 2; overflow: visible; border-inline-end: 0; border-top: 1px solid var(--border); }
  .stage { order: 1; overflow: visible; }
}
@media (max-width: 640px) {
  .top { gap: 8px; padding: 0 8px 0 16px; }
  .top-line, .top-user .name, .top-link .label { display: none; }
  .dial, .section { padding-inline: 16px; }
  .status-row, .metrics { padding-inline: 16px; gap: 10px 20px; }
  .notice { margin-inline: 16px; }
  .block { padding-inline: 16px; }
  .msg { max-width: 92%; }
  .grid2, .form-grid { grid-template-columns: 1fr; }
  .key-row { grid-template-columns: 1fr; gap: 6px; }
  .dial-row .btn-lg { flex: 1 1 auto; }
}

/* Small pieces (no inline styles: the page's CSP forbids them) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.gap-below { margin-bottom: 12px; }
.sub-title { font-size: 14px; margin: 22px 0 10px; }
.notice-page { margin: 16px 0 0; }
.dial-row .icon-btn.btn-lg { width: 52px; }
.row-actions { text-align: end; }
.confirm-q { margin-inline-end: 8px; }
.inline-form { display: inline-flex; gap: 6px; }
.input-sm { height: 30px; width: 200px; }
.login-box > .login-foot { margin: 16px 0 0; }
@media (max-width: 640px) {
  .dial-row .icon-btn.btn-lg { flex: none; }
  .metrics { display: grid; grid-template-columns: 1fr 1fr; }
}
.switch.is-off { cursor: not-allowed; opacity: .55; }
.switch.is-off input { cursor: not-allowed; }
