/* Armor Legacy — the armor.tel look (tokens, type and buttons from numbers-site), compact cabinet parts. */

@font-face {
  font-family: "Onest";
  src: url("/fonts/onest-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Onest";
  src: url("/fonts/onest-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  src: url("/fonts/unbounded-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2212;
}
@font-face {
  font-family: "Unbounded";
  src: url("/fonts/unbounded-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491;
}

:root {
  color-scheme: light dark;

  --steel: #e7eaed;        /* фон */
  --plate: #f7f8f9;        /* поверхности */
  --plate-sunk: #dfe3e7;   /* утопленные поля */
  --ink: #16202b;
  --ink-2: #4f5b67;
  --ink-3: #7c8792;
  --line: #c9cfd5;
  --line-soft: #d8dde2;
  --blued: #27458a;        /* воронёная сталь: действия, выбор */
  --blued-ink: #ffffff;
  --blued-wash: #dde4f3;
  --straw: #8a5a0c;        /* цвет побежалости: время, предупреждения */
  --straw-wash: #f3e7cf;
  --oxide: #a3362b;        /* необратимое */
  --oxide-wash: #f6dfdb;
  --oxide-btn: #a3362b;
  --temper: linear-gradient(90deg, #c9a35a 0%, #b07440 22%, #7d4c86 48%, #3b5ba8 72%, #7ea4d4 100%);
  --brush: rgba(22, 32, 43, 0.018);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 1px 2px rgba(22, 32, 43, 0.08), 0 18px 40px -24px rgba(22, 32, 43, 0.45);

  --text: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --digits: "Unbounded", "Onest", ui-sans-serif, system-ui, sans-serif;
  --gutter: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --steel: #121820;
    --plate: #1a222c;
    --plate-sunk: #0e1319;
    --ink: #e4e9ee;
    --ink-2: #a3aeb9;
    --ink-3: #75818d;
    --line: #2e3945;
    --line-soft: #242e39;
    --blued: #3f5eae;
    --blued-ink: #ffffff;
    --blued-wash: #1f2c47;
    --straw: #e3b25c;
    --straw-wash: #2e2617;
    --oxide: #f08a7e;
    --oxide-wash: #351d1c;
    --oxide-btn: #b8443a;
    --temper: linear-gradient(90deg, #d8b46a 0%, #c48550 22%, #9a68a6 48%, #5b7dd0 72%, #9cc0ec 100%);
    --brush: rgba(255, 255, 255, 0.012);
    --shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 1px 2px rgba(0, 0, 0, 0.4), 0 22px 44px -26px rgba(0, 0, 0, 0.8);
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--steel);
  color: var(--ink);
  font: 400 17px/1.5 var(--text);
  font-feature-settings: "kern";
  -webkit-font-smoothing: antialiased;
  padding: 0 0 64px;
}

a { color: inherit; }
:focus-visible { outline: 2px solid var(--blued); outline-offset: 3px; border-radius: 6px; }

h1, h2 { margin: 0; font-weight: 650; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(28px, 7.4vw, 40px); line-height: 1.1; margin-bottom: 14px; }
h2 { font-size: 21px; line-height: 1.25; margin-bottom: 16px; }
p { margin: 0; }
.lede { color: var(--ink-2); max-width: 34em; margin-bottom: 24px; text-wrap: pretty; }
.lede.small { font-size: smaller; padding-top: 2em; }
.fine { color: var(--ink-3); font-size: 14px; line-height: 1.45; margin-top: 14px; }

/* buttons */

.btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: 600 16px/1.2 var(--text);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: progress; transform: none; }
.btn-primary { background: var(--blued); color: var(--blued-ink); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 1px 2px rgba(22, 32, 43, 0.25); }
.btn-primary:hover { background: color-mix(in srgb, var(--blued) 88%, var(--ink)); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { background: var(--plate); }
.btn-danger { background: var(--oxide-btn); color: #ffffff; }
.btn-wide { width: 100%; max-width: 360px; }
.btn-text {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: 0;
  padding: 8px 2px;
  font: 500 15px/1.2 var(--text);
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
  cursor: pointer;
}
.btn-text:hover { color: var(--ink); text-decoration-color: currentColor; }


/* header: brand, phone, and a tab bar that scrolls sideways on narrow screens */

.top { max-width: 720px; margin-inline: auto; padding-top: env(safe-area-inset-top); }
body.wide .top { max-width: 1040px; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.mark { width: 26px; height: 26px; color: var(--ink); flex: none; }
.mark-core { fill: var(--blued); }
.who { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-2); min-width: 0; }
.who-phone { font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who form { margin: 0; }
button.link {
  -webkit-appearance: none; appearance: none; background: none; border: 0; padding: 6px 0; font: inherit;
  color: var(--ink-3); cursor: pointer; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px;
}
button.link:hover { color: var(--ink); text-decoration-color: currentColor; }
button.link-danger:hover { color: var(--oxide); }

.tabs { border-bottom: 1px solid var(--line); }
.tabs-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-left: -12px; }
.tabs-in::-webkit-scrollbar { display: none; }
.tabs a {
  flex: none; position: relative; padding: 12px 12px 13px; text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; white-space: nowrap;
}
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.tabs a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--temper);
}
.top { display: block; }
.top, main { padding-inline: max(var(--gutter), env(safe-area-inset-left)); margin-inline: auto; }

main.page { max-width: 720px; padding-top: 28px; }
main.page.page-wide { max-width: 1040px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.page-head h1 { margin-bottom: 0; }
h1 { margin-bottom: 18px; }
.display { font-family: var(--digits); font-weight: 500; font-size: clamp(30px, 8.4vw, 50px); line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 16px; }
.lede { font-size: 18px; }

/* number as a stamped plate */

.num { font-family: var(--digits); font-weight: 500; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.num .cc { color: var(--blued); margin-right: 0.15em; }
.num-big { font-size: clamp(22px, 6.6vw, 28px); line-height: 1.2; display: block; }
.num-hero { font-size: clamp(22px, 6.4vw, 30px); }
.num-ghost { color: var(--ink-3); opacity: 0.7; margin-bottom: 14px; }
.num-ghost .cc { color: inherit; }

/* surfaces */

.plate {
  position: relative; background: var(--plate); border: 1px solid var(--line-soft); border-radius: 16px; box-shadow: var(--shadow); padding: 20px; margin: 0 0 16px;
  background-image: repeating-linear-gradient(90deg, var(--brush) 0 1px, transparent 1px 3px);
}
.panel { background: var(--plate); border: 1px solid var(--line-soft); border-radius: 16px; padding: 20px; margin: 0 0 16px; }
.panel.empty { text-align: center; color: var(--ink-2); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 28px 20px; border-style: dashed; border-color: var(--line); background: transparent; }
.empty-plate { text-align: center; display: flex; flex-direction: column; align-items: center; padding: 36px 20px; }
.empty-plate h2 { margin-bottom: 6px; }
.empty-plate .hint { margin-bottom: 20px; max-width: 28em; }
.section { margin-top: 28px; }
.plate-line { font-size: 14px; color: var(--ink-2); }
.plate-line a { color: var(--blued); text-underline-offset: 3px; }
.hint { color: var(--ink-3); font-size: 14px; line-height: 1.45; margin-top: 8px; }
.hint a { color: var(--ink-2); }
.fine { color: var(--ink-3); font-size: 14px; }

.note { border-radius: 10px; padding: 11px 14px; margin: 0 0 14px; font-size: 15px; line-height: 1.4; border: 1px solid transparent; }
.note-bad { background: var(--oxide-wash); color: var(--oxide); border-color: color-mix(in srgb, var(--oxide) 30%, transparent); }
.note-ok { background: var(--blued-wash); color: var(--ink); border-color: color-mix(in srgb, var(--blued) 30%, transparent); }
.note-warn { background: var(--straw-wash); color: var(--straw); border-color: color-mix(in srgb, var(--straw) 30%, transparent); }

/* price lines with dot leaders */

.leader { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; }
.leader-label { color: var(--ink-2); }
.leader-dots { flex: 1; min-width: 12px; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.leader-value { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.leader-total { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line-soft); font-size: 19px; }
.leader-total .leader-label { color: var(--ink); font-weight: 600; }
.leader-quiet { font-size: 14px; }
.leader-short .leader-value { color: var(--straw); }

/* sign-in */

.welcome { display: grid; gap: 28px; padding-top: 8px; align-items: start; }
@media (min-width: 860px) { .welcome { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; padding-top: 40px; } }
.signin { margin-top: 28px; }
.signin h2 { font-size: 18px; margin-bottom: 4px; }
.signin .row { margin-top: 14px; }
.signin .btn { flex: 1 1 180px; }
.wait { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.wait-status { font-weight: 500; }
.handoff { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.qr { width: 200px; max-width: 100%; background: #fff; border-radius: 12px; padding: 8px; }
.qr svg { display: block; width: 100%; height: auto; }
.tariff { padding: 22px 22px 14px; }
.tariff-head { padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.tariff::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--temper); }

/* numbers */

.owned-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .owned-list { grid-template-columns: 1fr 1fr; } }
.owned { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.owned-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.country { font-size: 14px; color: var(--ink-2); }
.owned-meta { display: flex; justify-content: space-between; gap: 12px; }
.owned-meta .price { font-weight: 600; color: var(--ink); }
.owned-foot { border-top: 1px solid var(--line-soft); padding-top: 6px; margin-top: 4px; }
.owned-foot form { margin: 0; }
.owned.state-released, .owned.state-failed { opacity: 0.7; }
.badge { font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--blued-wash); color: var(--ink); }
.badge-grace, .badge-pending { background: var(--straw-wash); color: var(--straw); }
.badge-failed, .badge-released { background: var(--oxide-wash); color: var(--oxide); }

/* buy flow */

.steps { list-style: none; margin: 0 0 22px; padding: 0; display: flex; gap: 6px; }
.step { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-3); }
.step::before { content: ""; height: 4px; border-radius: 2px; background: var(--line); }
.step-done::before { background: var(--blued); }
.step-now::before { background: var(--temper); }
.step-now { color: var(--ink); font-weight: 600; }
.step-n { display: none; }
.step-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 520px) { .step:not(.step-now) .step-label { display: none; } .step-now { flex: 2; } }

.chosen { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; padding: 12px 16px; margin-bottom: 12px; border: 1px solid var(--line-soft); border-radius: 12px; background: var(--plate); }
.chosen-label { font-size: 13px; color: var(--ink-3); grid-column: 1; grid-row: 1; }
.chosen a { font-size: 14px; color: var(--blued); grid-column: 2; grid-row: 1; }
.chosen-value { grid-column: 1 / -1; grid-row: 2; font-weight: 600; display: flex; flex-direction: column; min-width: 0; }
.chosen-value small { font-weight: 400; color: var(--ink-2); font-size: 14px; }
.chosen .num { font-size: 19px; }

.picks { display: grid; gap: 8px; margin-bottom: 18px; }
.pick {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 12px 14px 12px 44px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 12px; background: var(--steel); color: var(--ink); transition: border-color 0.15s, background-color 0.15s;
}
.pick:hover { border-color: var(--ink-3); }
.pick input[type=radio] { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin: -9px 0 0; accent-color: var(--blued); }
.pick:has(input:checked) { border-color: var(--blued); background: var(--blued-wash); box-shadow: 0 0 0 1px var(--blued) inset; }
.pick:has(input:focus-visible) { outline: 2px solid var(--blued); outline-offset: 2px; }
.pick-name { font-weight: 600; }
.pick-price { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.pick-note { grid-column: 1; font-size: 13px; color: var(--ink-3); order: 3; }
.pick-note:empty { display: none; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.actions .btn { min-width: 160px; }
.actions-sticky { position: sticky; bottom: 0; margin: 0 -20px -20px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: var(--plate); border-top: 1px solid var(--line-soft); border-radius: 0 0 16px 16px; }
.actions-sticky .btn { width: 100%; }
@media (min-width: 640px) { .actions-sticky { position: static; margin: 16px 0 0; padding: 0; border: 0; background: none; } .actions-sticky .btn { width: auto; } }

.offers { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.offer {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 14px 16px; text-decoration: none; color: inherit;
  background: var(--plate); border: 1px solid var(--line-soft); border-radius: 14px; transition: border-color 0.15s, transform 0.1s;
}
.offer:hover { border-color: var(--blued); }
.offer:active { transform: translateY(1px); }
.offer .num { font-size: 19px; }
.offer-place { grid-column: 1; font-size: 14px; color: var(--ink-3); }
.offer-price { grid-row: 1 / span 2; grid-column: 2; text-align: right; font-weight: 600; display: flex; flex-direction: column; }
.offer-price small { font-weight: 400; font-size: 13px; color: var(--ink-3); }

/* forms */

label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--ink-2); }
label.check { flex-direction: row; align-items: flex-start; gap: 10px; color: var(--ink); }
input[type=checkbox], input[type=radio] { accent-color: var(--blued); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
input:not([type=checkbox]):not([type=radio]), select {
  font: 400 17px/1.3 var(--text); color: var(--ink); background: var(--plate-sunk); border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 12px; min-height: 48px; width: 100%; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) inset;
}
select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238a94a6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
}
select::-ms-expand { display: none; }
input:not([type=checkbox]):not([type=radio]):focus, select:focus { outline: 2px solid var(--blued); outline-offset: 1px; border-color: var(--blued); }
.field + .hint { margin-top: 6px; }
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 16px; }
@media (min-width: 560px) { .grid { grid-template-columns: 1fr 1fr; } .grid .span { grid-column: 1 / -1; } }
.notice { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--straw-wash); border-left: 4px solid var(--straw); display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.receipt { margin-top: 4px; }
.receipt h2 { margin-bottom: 8px; }
.receipt .btn { margin-top: 18px; }
.receipt .note { margin-top: 14px; margin-bottom: 0; }
.btn-wide { width: 100%; max-width: none; }

/* balance */

.wallet { padding: 24px 22px; }
.money { font: 500 clamp(40px, 12vw, 56px)/1.05 var(--digits); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.money-neg { color: var(--oxide); }
.meter { height: 8px; border-radius: 4px; background: var(--plate-sunk); margin: 18px 0 8px; overflow: hidden; }
.meter-bar { display: block; height: 100%; width: calc(var(--share) * 100%); min-width: 4px; background: var(--temper); border-radius: 4px; }
.wallet .note { margin: 14px 0 0; }
.chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; }
label.chip {
  flex-direction: row; justify-content: center; align-items: center; gap: 0; min-height: 48px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--steel); cursor: pointer; font-weight: 600; color: var(--ink); position: relative; text-align: center;
}
label.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
label.chip:has(input:checked) { border-color: var(--blued); background: var(--blued-wash); box-shadow: 0 0 0 1px var(--blued) inset; }
label.chip:has(input:focus-visible) { outline: 2px solid var(--blued); outline-offset: 2px; }
.field-other { margin-top: 14px; }
.topup:not(:has(input[value=other]:checked)):not(:has(input[name=other]:focus)) .field-other { display: none; }
.topup .actions { margin-top: 14px; }

.ledger { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--plate); }
.entry { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
.entry:last-child { border-bottom: 0; }
.entry-what { display: flex; flex-direction: column; min-width: 0; }
.entry-what small { color: var(--ink-3); font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.entry-when { grid-column: 1; grid-row: 2; font-size: 13px; color: var(--ink-3); }
.entry-amount { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.entry-amount.minus { color: var(--oxide); }
.entry-amount.plus { color: var(--blued); }
@media (prefers-color-scheme: dark) { .entry-amount.plus { color: #8fb0ee; } }

/* prices */

.origin { max-width: 360px; margin-bottom: 20px; }
.tariff-table { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--plate); margin-bottom: 8px; }
.tariff-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tariff-table th, .tariff-table td { padding: 12px 16px; text-align: right; border-bottom: 1px solid var(--line-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tariff-table th:first-child { text-align: left; }
.tariff-table thead th { font-size: 13px; font-weight: 500; color: var(--ink-3); background: var(--plate-sunk); }
.tariff-table tbody th { font-weight: 600; }
.tariff-table tbody tr:last-child > * { border-bottom: 0; }
.muted { color: var(--ink-3); }
@media (max-width: 760px) {
  .tariff-table { border: 0; background: none; overflow: visible; }
  .tariff-table thead { position: absolute; left: -9999px; }
  .tariff-table tr { display: block; background: var(--plate); border: 1px solid var(--line-soft); border-radius: 14px; padding: 6px 16px 10px; margin-bottom: 10px; }
  .tariff-table th[scope=row] { display: block; text-align: left; border: 0; padding: 10px 0 6px; font-size: 17px; }
  .tariff-table td { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border: 0; font-size: 14px; }
  .tariff-table td::before { content: attr(data-label); color: var(--ink-3); }
}

/* SIP and the app */

.creds { margin: 0 0 16px; padding: 4px 20px; }
.cred { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.cred:last-child { border-bottom: 0; }
.cred dt { font-size: 13px; color: var(--ink-3); }
.cred dd { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cred dd > :first-child { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 640px) { .cred { grid-template-columns: 150px 1fr; align-items: center; } }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 16px; }
.secret summary { cursor: pointer; color: var(--blued); font-size: 15px; list-style-position: inside; }
.secret[open] summary { margin-bottom: 6px; }
.btn-small { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn.is-done { border-color: var(--blued); color: var(--blued); }

.connect { display: grid; gap: 20px; align-items: start; }
@media (min-width: 640px) { .connect { grid-template-columns: auto 1fr; gap: 32px; } }
.qr-plate { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0; }
.connect-side { display: flex; flex-direction: column; gap: 10px; }
.connect-side .btn { max-width: 360px; }
.solo { max-width: 460px; margin-inline: auto; padding-top: 12px; }
.solo .btn-wide { margin-bottom: 8px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sr { position: absolute; left: -9999px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
