/* ==================================================================
   Sparq web wallet — styles
   Dark-first, with a light scheme for users who prefer it. The palette
   is deliberately restrained: one accent, one danger, everything else
   neutral, so balances and QR codes carry the visual weight.
   ================================================================== */

:root {
  --bg: #0b0d12;
  --bg-elev: #12151d;
  --bg-elev-2: #191d28;
  --border: #242938;
  --text: #e8ebf2;
  --text-dim: #9aa3b5;
  --text-faint: #6b7488;
  --accent: #4f8cff;
  --accent-soft: rgba(79, 140, 255, 0.14);
  --ok: #2ecc71;
  --warn: #f0b429;
  --err: #ff5c5c;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f7fb;
    --bg-elev: #ffffff;
    --bg-elev-2: #eef1f7;
    --border: #dde3ee;
    --text: #12151d;
    --text-dim: #5a6478;
    --text-faint: #8b95a8;
    --accent: #2563eb;
    --accent-soft: rgba(37, 99, 235, 0.1);
    --shadow: 0 6px 20px rgba(18, 21, 29, 0.08);
  }
}

* { box-sizing: border-box; }

/* The UA stylesheet's `[hidden] { display: none }` is beaten by any
   author rule that sets `display` (`.topbar`, `.tabbar`), so restate it
   with enough weight to actually hide those elements. */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  /* Keep focus and scrollIntoView targets clear of the fixed tab bar,
     which would otherwise sit on top of the element being scrolled to. */
  scroll-padding-bottom: 6rem;
}

body { overscroll-behavior-y: none; }

.mono { font-family: var(--mono); font-size: 0.86em; letter-spacing: -0.01em; }
.muted { color: var(--text-dim); }
.small { font-size: 0.85rem; }
.center { text-align: center; }
.pad { padding: 1.5rem 1rem; }
.row { display: flex; gap: 0.6rem; }
.row.chips { flex-wrap: wrap; }
code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: var(--bg-elev-2);
  padding: 0.1em 0.4em;
  border-radius: 5px;
}

/* ---------------- layout ---------------- */

.app {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  max-width: 620px;
  margin: 0 auto;
  position: relative;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar-left { display: flex; align-items: center; gap: 0.65rem; }
.topbar-title { font-weight: 650; font-size: 0.98rem; line-height: 1.1; }
.topbar-status {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.75rem; color: var(--text-dim);
}

.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--text-faint);
  transition: background 0.3s;
}
.dot.online { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.dot.offline { background: var(--err); }

.brand-mark {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #7b5cff);
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}
.brand-mark.sm { width: 34px; height: 34px; border-radius: 10px; font-size: 1.1rem; }

.icon-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  width: 38px; height: 38px;
  border-radius: 11px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.15s;
}
.icon-btn:hover { color: var(--text); border-color: var(--accent); }

.view { flex: 1; padding-bottom: 5.5rem; }

.tabbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: color-mix(in srgb, var(--bg-elev) 94%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom));
  z-index: 20;
}

.tabbar button {
  background: none;
  border: none;
  color: var(--text-faint);
  font-size: 0.66rem;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0.4rem 0.1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: 0.15s;
}
.tabbar button .ti { font-size: 1.15rem; line-height: 1; }
.tabbar button.active { color: var(--accent); background: var(--accent-soft); }
.tabbar button:hover { color: var(--text); }

/* ---------------- typography ---------------- */

h1.view-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.02em;
}
h2 { font-size: 1.02rem; font-weight: 640; margin: 0 0 0.6rem; letter-spacing: -0.01em; }

.pad-view { padding: 0.75rem 1rem 1rem; }

/* ---------------- cards ---------------- */

.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  margin-bottom: 1rem;
}
.card.center { text-align: center; }
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.card-head h2 { margin: 0; }

.link {
  background: none; border: none;
  color: var(--accent);
  font-family: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
}
.link:hover { background: var(--accent-soft); }

/* ---------------- buttons ---------------- */

.btn {
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 560;
  padding: 0.78rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elev-2);
  color: var(--text);
  cursor: pointer;
  transition: 0.15s;
}
.btn:hover:not(:disabled) { border-color: var(--accent); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.block { display: block; width: 100%; margin-top: 0.7rem; }
.btn.primary {
  background: linear-gradient(135deg, var(--accent), #6b7dff);
  border-color: transparent;
  color: #fff;
  font-weight: 620;
}
.btn.primary:hover:not(:disabled) { filter: brightness(1.08); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--err); border-color: color-mix(in srgb, var(--err) 40%, var(--border)); }
.btn.danger:hover { background: color-mix(in srgb, var(--err) 12%, transparent); }

.chip {
  font-family: inherit;
  font-size: 0.82rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: 0.15s;
}
.chip:hover { border-color: var(--accent); color: var(--text); }

.file-btn { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }

/* ---------------- forms ---------------- */

.field { display: block; margin-bottom: 0.85rem; }
.field > span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
  font-weight: 520;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.72rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  transition: 0.15s;
}
.field textarea { resize: vertical; font-family: var(--mono); font-size: 0.9rem; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field input.invalid { border-color: var(--err); }

.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.9rem;
  cursor: pointer;
  line-height: 1.45;
}
.check input { margin-top: 0.15rem; accent-color: var(--accent); width: 17px; height: 17px; }

/* ---------------- onboarding ---------------- */

.onboard { padding: 1.5rem 1rem 3rem; }
.brand { text-align: center; margin-bottom: 1.75rem; }
.brand .brand-mark { margin: 0 auto 0.85rem; }
.brand h1 {
  margin: 0 0 0.3rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.brand p { margin: 0; }

.mnemonic {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
  counter-reset: w;
}
.mnemonic li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
}
.mnemonic .idx {
  font-size: 0.7rem;
  color: var(--text-faint);
  min-width: 1.2em;
  text-align: right;
}
.mnemonic .word { font-family: var(--mono); font-size: 0.9rem; }

/* ---------------- home ---------------- */

.balance-card {
  background: linear-gradient(150deg, var(--accent-soft), transparent 65%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.2rem;
  margin: 0.75rem 0 1rem;
  position: relative;
}
.balance-label { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 0.3rem; }
.balance-value {
  font-size: 2.4rem;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.balance-value .unit { font-size: 1rem; font-weight: 550; color: var(--text-dim); }
.balance-id {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  cursor: pointer;
  word-break: break-all;
}
.balance-id:hover { color: var(--accent); }
.handle-pill {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.quick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.9rem 0.4rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  transition: 0.15s;
}
.quick:hover { border-color: var(--accent); background: var(--bg-elev-2); }
.quick .qi { font-size: 1.3rem; color: var(--accent); line-height: 1; }

/* ---------------- transaction list ---------------- */

.tx-list { list-style: none; margin: 0; padding: 0; }
.tx {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
}
.tx:last-child { border-bottom: none; }
.tx-icon {
  width: 36px; height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-elev-2);
  font-size: 0.95rem;
  color: var(--text-dim);
}
.tx.in .tx-icon { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.tx.out .tx-icon { background: color-mix(in srgb, var(--err) 16%, transparent); color: var(--err); }
.tx.mined .tx-icon { background: var(--accent-soft); color: var(--accent); }
.tx-main { flex: 1; min-width: 0; }
.tx-title { font-size: 0.9rem; font-weight: 540; }
.tx-sub { color: var(--text-faint); font-size: 0.75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-amount { text-align: right; font-size: 0.88rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tx.in .tx-amount > div:first-child { color: var(--ok); }
.tx.out .tx-amount > div:first-child { color: var(--err); }
.tx-time { color: var(--text-faint); font-size: 0.72rem; }

/* ---------------- QR ---------------- */

.qr-frame {
  width: min(280px, 74vw);
  aspect-ratio: 1;
  margin: 0.5rem auto 1rem;
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--shadow);
}
.qr-frame.small { width: min(210px, 60vw); }
.qr-caption { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 0.9rem; word-break: break-all; }

/* ---------------- scanner ---------------- */

.scanner-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  aspect-ratio: 4 / 3;
  margin-bottom: 0.8rem;
  border: 1px solid var(--border);
}
.scanner-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.scan-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.scan-frame {
  width: 62%;
  aspect-ratio: 1;
  border: 2.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.42);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { border-color: rgba(255, 255, 255, 0.9); }
  50% { border-color: var(--accent); }
}
.scan-hint {
  position: absolute;
  bottom: 12px; left: 0; right: 0;
  text-align: center;
  color: #fff;
  font-size: 0.78rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  padding: 0 1rem;
}

/* ---------------- confirm / success ---------------- */

.kv {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.kv:last-of-type { border-bottom: none; }
.kv > span:first-child { color: var(--text-dim); flex: 0 0 auto; }
.kv > span:last-child, .kv > strong { text-align: right; word-break: break-all; }
.kv.total { border-top: 1px solid var(--border); border-bottom: none; margin-top: 0.4rem; padding-top: 0.7rem; font-size: 1rem; }
.kv.warn strong { color: var(--warn); }

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 640;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  background: var(--bg-elev-2);
  color: var(--text-dim);
}
.badge.live { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); }
.badge.live.ok { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }

.confirm-head { margin-bottom: 0.6rem; }

.success { text-align: center; border-color: color-mix(in srgb, var(--ok) 40%, var(--border)); }
.success-icon {
  width: 54px; height: 54px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ok) 20%, transparent);
  color: var(--ok);
  display: grid; place-items: center;
  font-size: 1.7rem;
}
.success .kv { text-align: left; }

.resolved { font-size: 0.8rem; margin: -0.5rem 0 0.85rem; min-height: 1.1em; }
.resolved-ok { color: var(--ok); }
.resolved-bad { color: var(--err); }

/* ---------------- explorer ---------------- */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.stat {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.5rem;
  text-align: center;
}
.stat-value { font-size: 1.05rem; font-weight: 680; letter-spacing: -0.02em; }
.stat-label { font-size: 0.68rem; color: var(--text-faint); margin-top: 0.15rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------------- toast / busy ---------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 5.5rem;
  transform: translate(-50%, 20px);
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1.1rem;
  border-radius: 12px;
  font-size: 0.86rem;
  max-width: 88vw;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.22s;
  z-index: 100;
  box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.ok { border-color: color-mix(in srgb, var(--ok) 55%, var(--border)); }
.toast.err { border-color: color-mix(in srgb, var(--err) 55%, var(--border)); }

.busy {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  place-items: center;
  z-index: 200;
  backdrop-filter: blur(3px);
}
.busy.show { display: grid; }
.busy-box {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.busy-box p { margin: 0.75rem 0 0; font-size: 0.88rem; color: var(--text-dim); }

.spinner {
  width: 30px; height: 30px;
  margin: 0 auto;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.boot { display: grid; place-items: center; gap: 0.75rem; padding: 5rem 1rem; }

.fatal {
  padding: 1.5rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--err);
  white-space: pre-wrap;
}

@media (max-width: 380px) {
  .mnemonic { grid-template-columns: 1fr; }
  .balance-value { font-size: 2rem; }
}

/* ---------------- mobile app download card & modal ---------------- */

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.app-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 640;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
  background: var(--accent-soft);
  color: var(--accent);
  cursor: pointer;
  transition: 0.15s;
}
.app-pill-btn:hover {
  background: var(--accent);
  color: #0b0d12;
}

.mobile-app-card {
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 12%, var(--bg-elev)), var(--bg-elev) 70%);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--border));
  border-radius: var(--radius);
  padding: 1.15rem;
  margin-bottom: 1rem;
  position: relative;
}
.mobile-app-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.mobile-app-head h2 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 700;
}
.mobile-app-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  white-space: nowrap;
}
.mobile-app-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin: 0.55rem 0 0.85rem;
}
.mobile-app-tag {
  font-size: 0.72rem;
  padding: 0.2rem 0.52rem;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.store-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: 0.15s;
  text-decoration: none;
}
.store-btn:hover {
  border-color: var(--accent);
  background: var(--bg-elev-2);
}
.store-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex: 0 0 auto;
}
.store-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.store-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
.store-name {
  font-size: 0.86rem;
  font-weight: 680;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  z-index: 250;
  padding: 1rem;
}
.app-modal {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: min(460px, 95vw);
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.app-modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.app-modal-top h2 {
  margin: 0;
  font-size: 1.1rem;
}
.app-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 1rem;
  background: var(--bg);
  padding: 0.3rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.app-tab {
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 620;
  padding: 0.48rem 0.4rem;
  border-radius: 6px;
  cursor: pointer;
}
.app-tab.active {
  background: var(--accent);
  color: #0b0d12;
}
.app-step-list {
  margin: 0.6rem 0 0.9rem;
  padding-left: 1.2rem;
  font-size: 0.83rem;
  color: var(--text-dim);
  line-height: 1.55;
}
.app-step-list li { margin-bottom: 0.35rem; }
.app-code-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--text);
  overflow-x: auto;
  margin: 0.5rem 0 0.85rem;
}

