/* commodibase — design tokens */
:root {
  --font-display: "Cabinet Grotesk", "Satoshi", system-ui, sans-serif;
  --font-body: "Satoshi", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --text-xs: clamp(0.75rem, 0.72rem + 0.12vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.14vw, 0.9375rem);
  --text-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --text-xl: clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  --text-hero: clamp(2.5rem, 1.4rem + 4.6vw, 5rem);

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
  --space-24: 96px; --space-32: 128px;

  --radius: 14px;
  --shell: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* dark (default) */
[data-theme="dark"] {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --surface: #17171a;
  --line: #262629;
  --line-soft: #1d1d20;
  --fg: #f2f0ec;
  --fg-2: #a5a29b;
  --fg-3: #6f6d68;
  --gold: #e0ac4a;
  --gold-soft: #3a2d15;
  --copper: #c07a4e;
  --slate-accent: #7d8794;
  --pass: #6fbf8b;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
  --hero-veil: linear-gradient(90deg, #0a0a0b 8%, rgba(10,10,11,0.88) 44%, rgba(10,10,11,0.35) 78%, rgba(10,10,11,0.55) 100%);
}
/* light */
[data-theme="light"] {
  --bg: #faf7f1;
  --bg-2: #f3efe6;
  --surface: #ffffff;
  --line: #e2dccf;
  --line-soft: #ece6da;
  --fg: #191713;
  --fg-2: #5c574e;
  --fg-3: #8b857a;
  --gold: #8a5f10;
  --gold-soft: #f2e6cb;
  --copper: #9a5730;
  --slate-accent: #56606d;
  --pass: #2f7d51;
  --shadow: 0 20px 44px -28px rgba(40, 30, 10, 0.45);
  --hero-veil: linear-gradient(90deg, #0a0a0b 6%, rgba(10,10,11,0.86) 46%, rgba(10,10,11,0.42) 80%, rgba(10,10,11,0.6) 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
p { margin: 0 0 var(--space-4); }
code { font-family: var(--font-mono); font-size: 0.9em; color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--space-4); top: var(--space-4); z-index: 100; background: var(--surface); padding: var(--space-2) var(--space-4); border-radius: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.shell { width: min(100% - 2 * var(--space-6), var(--shell)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--space-6), 780px); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: var(--space-8); height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.mark { width: 28px; height: 28px; color: var(--gold); flex: none; }
.wordmark { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; font-size: 1.15rem; }
.nav { display: flex; gap: var(--space-6); margin-inline: auto; }
.nav a { text-decoration: none; font-size: var(--text-sm); color: var(--fg-2); transition: color 0.2s var(--ease); }
.nav a:hover { color: var(--fg); }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.theme-toggle {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 10px; background: transparent;
  color: var(--fg-2); cursor: pointer; transition: color 0.2s, border-color 0.2s;
}
.theme-toggle:hover { color: var(--gold); border-color: var(--gold); }
.theme-toggle svg { width: 17px; height: 17px; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: var(--text-sm); font-weight: 700; text-decoration: none;
  padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: #14100a; }
.btn-primary:hover { background: color-mix(in oklab, var(--gold) 88%, #fff); }
.btn-ghost { border-color: rgba(255,255,255,0.28); color: #f2f0ec; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #0a0a0b; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-veil { position: absolute; inset: 0; z-index: -1; background: var(--hero-veil); }
.hero-inner { padding: clamp(72px, 11vw, 148px) 0 clamp(64px, 8vw, 108px); color: #f2f0ec; }
.eyebrow {
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: var(--space-6);
}
.hero h1 { font-size: var(--text-hero); max-width: 15ch; }
.hero h1 em { font-style: normal; color: #e5b45a; }
.hero .eyebrow { color: #e5b45a; }
.hero .btn-primary { background: #e0ac4a; color: #14100a; }
.hero .btn-primary:hover { background: #edc172; }
.lede { margin-top: var(--space-6); max-width: 54ch; color: #c9c5bd; font-size: var(--text-lg); line-height: 1.55; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6); margin: clamp(48px, 7vw, 84px) 0 0; padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.14); max-width: 760px;
}
.hero-stats div { margin: 0; }
.hero-stats dt { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.12em; color: #9a958c; }
.hero-stats dd { margin: 6px 0 0; font-family: var(--font-mono); font-size: var(--text-lg); color: #f2f0ec; }

.ticker { border-top: 1px solid rgba(255,255,255,0.12); border-bottom: 1px solid rgba(255,255,255,0.12); overflow: hidden; background: rgba(10,10,11,0.72); }
.ticker-track { display: flex; gap: var(--space-8); padding: 11px 0; width: max-content; animation: slide 46s linear infinite; }
.ticker span { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: #8d8880; white-space: nowrap; }
.ticker b { color: #e5b45a; font-weight: 500; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* sections */
.section { padding: clamp(64px, 9vw, 132px) 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.kicker { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--space-3); }
.section-title { font-size: var(--text-xl); max-width: 22ch; margin-bottom: var(--space-6); }
.prose { color: var(--fg-2); max-width: 62ch; }
.prose.small { font-size: var(--text-sm); }
.note { font-size: var(--text-sm); color: var(--fg-3); margin-top: var(--space-6); }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-text h2 { font-size: var(--text-xl); margin-bottom: var(--space-6); max-width: 18ch; }
.split-text p { color: var(--fg-2); }
.checks { list-style: none; padding: 0; margin: var(--space-8) 0 0; display: grid; gap: var(--space-4); }
.checks li { display: grid; grid-template-columns: 84px 1fr; gap: var(--space-4); font-size: var(--text-sm); color: var(--fg-2); border-top: 1px solid var(--line); padding-top: var(--space-4); }
.checks span { font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); }
.split-media { margin: 0; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media figcaption { margin-top: var(--space-3); font-size: var(--text-xs); color: var(--fg-3); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-top: var(--space-8); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-8); transition: border-color 0.25s var(--ease), transform 0.25s var(--ease); }
.card:hover { border-color: color-mix(in oklab, var(--gold) 55%, var(--line)); transform: translateY(-3px); }
.card-num { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--gold); letter-spacing: 0.12em; }
.card h3 { font-size: var(--text-lg); margin: var(--space-3) 0 var(--space-3); }
.card p { color: var(--fg-2); font-size: var(--text-sm); margin: 0; }
.card em { font-style: italic; color: var(--fg); }

.curve-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.chart-wrap { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-6); }
.chart-wrap canvas { width: 100%; height: auto; display: block; }
.mini-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); margin: var(--space-8) 0 0; }
.mini-stats div { border-top: 1px solid var(--line); padding-top: var(--space-3); }
.mini-stats dt { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-3); }
.mini-stats dd { margin: 4px 0 0; font-family: var(--font-mono); color: var(--fg); }

.fee-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.donut-wrap { margin: 0; display: grid; justify-items: center; gap: var(--space-4); }
.donut {
  width: min(260px, 70vw); aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(var(--gold) 0 40%, var(--copper) 40% 70%, var(--slate-accent) 70% 100%);
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%);
  mask: radial-gradient(circle, transparent 54%, #000 55%);
}
.donut-wrap figcaption { font-size: var(--text-xs); color: var(--fg-3); }
.legend { list-style: none; padding: 0; margin: 0 0 var(--space-6); display: grid; gap: var(--space-4); }
.legend li { display: grid; grid-template-columns: 12px auto 1fr; gap: var(--space-3); align-items: baseline; font-size: var(--text-sm); color: var(--fg-2); }
.legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--c); display: block; transform: translateY(1px); }
.legend b { font-family: var(--font-mono); color: var(--fg); font-weight: 500; }

.table-wrap { overflow-x: auto; margin-top: var(--space-8); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 620px; }
th, td { text-align: left; padding: 14px var(--space-6); font-size: var(--text-sm); border-bottom: 1px solid var(--line-soft); }
th { font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-3); font-weight: 500; }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--fg); font-weight: 500; }
td:nth-child(2) { color: var(--fg-2); }
.pass { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--pass); border: 1px solid color-mix(in oklab, var(--pass) 45%, transparent); border-radius: 999px; padding: 2px 10px; }

.build-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); margin-top: var(--space-8); align-items: start; }
.build-grid h3 { font-size: var(--text-lg); margin-bottom: var(--space-4); }
.contract-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); }
.contract-list li { border-top: 1px solid var(--line); padding-top: var(--space-3); display: grid; gap: 4px; }
.contract-list b { font-family: var(--font-mono); font-weight: 500; font-size: var(--text-sm); color: var(--gold); }
.contract-list span { font-size: var(--text-sm); color: var(--fg-2); }
.code { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-6); overflow-x: auto; font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.75; color: var(--fg); margin: 0; }
.code code { color: inherit; font-size: inherit; }
.code .c { color: var(--fg-3); }

.accordion { margin-top: var(--space-8); border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: var(--space-6) 40px var(--space-6) 0; font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); color: var(--gold); font-size: 1.25rem; }
details[open] summary::after { content: "–"; }
details p { color: var(--fg-2); font-size: var(--text-sm); max-width: 66ch; padding-bottom: var(--space-6); margin: 0; }

.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: clamp(48px, 6vw, 80px) 0 var(--space-8); }
.footer-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.foot-note { margin-top: var(--space-4); font-size: var(--text-sm); color: var(--fg-3); max-width: 42ch; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.foot-cols h4 { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-3); font-family: var(--font-mono); font-weight: 500; margin-bottom: var(--space-3); }
.foot-cols a { display: block; font-size: var(--text-sm); color: var(--fg-2); text-decoration: none; padding: 3px 0; }
.foot-cols a:hover { color: var(--gold); }
.copy { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--line-soft); font-family: var(--font-mono); font-size: var(--text-xs); color: var(--fg-3); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 980px) {
  .hero-veil { background: linear-gradient(180deg, rgba(10,10,11,0.93) 0%, rgba(10,10,11,0.88) 55%, rgba(10,10,11,0.6) 100%); }
  .nav { display: none; }
  .split, .curve-grid, .fee-grid, .build-grid, .footer-inner { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .header-inner { gap: var(--space-3); }
  .btn-primary { padding: 9px 14px; }
  .checks li { grid-template-columns: 1fr; gap: 4px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: var(--space-4); }
}

/* ===================== launchpad app (app.html) ========================== */
.app-body { padding-top: 72px; }
.app-main { padding: var(--space-12) 0 var(--space-24); }
.nav a.current { color: var(--gold); }
.btn.small { padding: 8px 14px; }
button.btn { cursor: pointer; font-family: var(--font-body); }
button.btn-ghost { background: transparent; }
button.btn-primary { background: var(--gold); color: #14100a; }
.app-body .btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.app-body .btn-ghost:hover { color: var(--gold); border-color: var(--gold); }
#connectBtn.connected { background: transparent; border-color: var(--gold); color: var(--gold); font-family: var(--font-mono); }

.app-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr); gap: var(--space-12); align-items: start; }
.app-title { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.04; margin: 0 0 var(--space-6); letter-spacing: -0.02em; }
.app-head .kicker { margin-bottom: var(--space-4); }

.addr-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: var(--space-6); }
.addr-card h2 { margin: 0 0 var(--space-4); font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); font-family: var(--font-body); }
.addr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.addr-list li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); font-size: var(--text-sm); }
.addr-list b { font-weight: 500; color: var(--fg-2); }
.addr-list a { color: var(--gold); text-decoration: none; }
.addr-list a:hover { text-decoration: underline; }
.mono { font-family: var(--font-mono); font-size: var(--text-xs); }
.dim { color: var(--fg-3); }
.small { font-size: var(--text-sm); }

.banner { margin-top: var(--space-12); display: grid; gap: 6px; border: 1px solid var(--gold); border-left-width: 3px; border-radius: var(--radius); background: var(--gold-soft); padding: var(--space-6); font-size: var(--text-sm); color: var(--fg); }
.banner b { font-size: var(--text-base); }

.tabs { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-12) 0 var(--space-8); border-bottom: 1px solid var(--line); }
.tab { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px var(--space-4); font: 500 var(--text-sm)/1 var(--font-body); color: var(--fg-3); cursor: pointer; }
.tab:hover { color: var(--fg); }
.tab.active { color: var(--gold); border-bottom-color: var(--gold); }

.panel-title { font-family: var(--font-display); font-size: var(--text-xl); margin: 0 0 var(--space-6); }
.panel .prose { margin-bottom: var(--space-8); }
.panel table { min-width: 640px; }
.panel .table-wrap { margin-top: 0; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); max-width: 820px; }
.field { display: grid; gap: 8px; }
.field.wide { grid-column: 1 / -1; }
.field > span { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.field > span i { font-style: normal; letter-spacing: 0; text-transform: none; }
.field input, .field select {
  width: 100%; padding: 12px var(--space-4); border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--fg); font: 400 var(--text-sm)/1.3 var(--font-body);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.field.actions p { margin: 0; max-width: 46ch; }
button[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

.basket { display: grid; gap: 6px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: var(--space-4); }
.basket-row { display: grid; grid-template-columns: auto 72px 1fr 78px auto; align-items: center; gap: var(--space-3); font-size: var(--text-sm); }
.basket-sym { font-family: var(--font-mono); color: var(--gold); }
.basket-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.basket-row input.weight { padding: 7px 10px; font-family: var(--font-mono); }

.coin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--space-4); }
.coin-card { display: grid; gap: 4px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: var(--space-4); }
.coin-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.coin-name { font-size: var(--text-xs); color: var(--fg-3); }
.coin-price { font-size: var(--text-lg); color: var(--fg); margin-top: 4px; }
.coin-meta { color: var(--fg-3); }
.chip { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg-3); }
.chip.ok { color: var(--pass); border-color: color-mix(in oklab, var(--pass) 50%, transparent); }
.chip.warn { color: var(--copper); border-color: color-mix(in oklab, var(--copper) 50%, transparent); }

.toast {
  position: fixed; left: 50%; bottom: var(--space-8); transform: translate(-50%, 140%);
  max-width: min(560px, calc(100% - 32px)); padding: 14px var(--space-6); border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--fg);
  font-size: var(--text-sm); box-shadow: var(--shadow); opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease); z-index: 60;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast.ok { border-color: var(--pass); }
.toast.warn { border-color: var(--gold); }

@media (max-width: 900px) {
  .app-head { grid-template-columns: 1fr; gap: var(--space-8); }
  .form-grid { grid-template-columns: 1fr; }
  .basket-row { grid-template-columns: auto 64px 1fr 70px auto; }
  .basket-name { display: none; }
}
.basket .placeholder { margin: 0; font-size: var(--text-sm); }
.panel > #coinList > p, .panel > #marketList > p { margin-top: 0; }
@media (max-width: 620px) {
  .btn { white-space: nowrap; }
  .app-body .header-inner .btn { padding: 8px 12px; font-size: var(--text-xs); }
  .app-body .wordmark { font-size: var(--text-sm); }
  .app-body { padding-top: 64px; }
  .tabs { gap: 0; }
  .tab { padding: 10px 12px; }
}
