/* ==========================================================================
   Themescape base, v3: page defaults for the account pages
   (moved here from themescape-app.css, 22 October 2026). The viewer does not load it.
   ========================================================================== */

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: var(--espresso); text-underline-offset: 3px; }
a:hover { color: var(--umber); }
:focus-visible { outline: 2px solid var(--espresso); outline-offset: 2px; }
.on-dark :focus-visible, .panel :focus-visible, .app-top :focus-visible { outline-color: var(--cream); }
p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em; margin: 0; }
h1 { font-size: var(--t-h1); line-height: 1.1; }
h2 { font-size: var(--t-h2); line-height: 1.1; }
h3 { font-size: var(--t-h3); line-height: 1.2; }
.display { font-family: var(--font-display); font-weight: 500; font-size: var(--t-display); line-height: 1.05; letter-spacing: -.02em; }
.lead { color: var(--secondary); }
.small { font-size: var(--t-small); line-height: 1.5; }
.muted { color: var(--secondary); }
/* Bold text uses Fira Sans 500, the heaviest weight loaded, so the browser never draws a squashed false bold (21 October 2026) */
b, strong { font-weight: 500; }
/* Labels are sentence case, never small capitals (21 October 2026) */
.label { font-size: var(--t-small); font-weight: 400; color: var(--secondary); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.stack > * + * { margin-top: var(--gap, var(--s-5)); }
