/* Growth Console | D1-03 | Revision 1.2 | Framework-free foundation. Load after tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
body { min-width: 0; min-height: 100%; margin: 0; background: var(--color-page); color: var(--color-text-primary); font-family: var(--type-family); font-size: var(--type-size-base); font-weight: var(--type-weight-regular); line-height: var(--type-leading-normal); font-synthesis: none; -webkit-font-smoothing: antialiased; }
:where(h1, h2, h3, h4, h5, h6, p, blockquote, figure, pre, dl, dd) { margin-block: 0; }
:where(ul, ol) { margin-block: 0; padding-inline-start: var(--space-10); }
:where(h1, h2, h3, h4, h5, h6) { color: var(--color-text-primary); line-height: var(--type-leading-tight); overflow-wrap: anywhere; text-wrap: pretty; }
h1 { font-size: var(--type-size-5xl); font-weight: var(--type-weight-semibold); letter-spacing: var(--type-tracking-tight); }
h2 { font-size: var(--type-size-3xl); font-weight: var(--type-weight-semibold); letter-spacing: var(--type-tracking-tight); }
h3 { font-size: var(--type-size-xl); font-weight: var(--type-weight-semibold); }
small { font-size: var(--type-size-sm); }
:where(p, li, td, th, label, blockquote, figcaption) { overflow-wrap: anywhere; }
a { color: var(--color-accent); text-decoration-color: currentColor; text-underline-offset: var(--space-2); }
a:hover { color: var(--color-accent-hover); }
:where(button, input, textarea, select, optgroup) { font: inherit; }
:where(button, input, textarea, select) { color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: var(--opacity-disabled); }
:where(input, textarea, select) { min-width: 0; }
textarea { resize: vertical; }
:where(img, picture, video, canvas, svg) { display: block; max-width: 100%; }
img { height: auto; }
:where(table) { border-collapse: collapse; }
[hidden] { display: none; }
:where(:focus) { outline: none; }
:where(:focus-visible) { outline: var(--focus-width) solid var(--color-focus); outline-offset: var(--focus-offset); }
:where(input, textarea, select):focus-visible { outline: var(--focus-width) solid var(--color-focus); outline-offset: var(--focus-offset); }
:where(::selection) { background: var(--color-selection); color: var(--color-text-primary); }
:where(dialog) { color: var(--color-text-primary); background: var(--color-surface); border: var(--border-width) solid var(--color-border-interactive); border-radius: var(--radius-lg); box-shadow: var(--elevation-lg); }
:where(hr) { border: 0; border-block-start: var(--border-width) solid var(--color-divider); }
:where(code, kbd, samp, pre) { font-family: var(--type-family-mono); }
.sr-only { position: absolute; width: var(--border-width); height: var(--border-width); padding: 0; margin: calc(-1 * var(--border-width)); overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Strong focus is never gated behind colour alone. */
:where([aria-invalid="true"]) { outline-color: var(--color-status-bad); }
/* On small touch screens, input text avoids Safari's auto-zoom. */
@media (max-width: 800px) {
  :where(button, [role="button"], input, textarea, select) { min-height: var(--size-touch-target); }
  :where(input, textarea, select) { font-size: var(--type-size-lg); }
}
/* At phone widths, reading text is 16px. Inputs already use the 16px
   type-size-lg token at <=800px, preventing iPhone Safari auto-zoom. */
@media (max-width: 600px) {
  body { font-size: var(--type-size-lg); }
}
@media (prefers-reduced-motion: reduce) {
  html:root *, html:root *::before, html:root *::after { animation-duration: var(--motion-none); animation-delay: var(--motion-none); transition-duration: var(--motion-none); transition-delay: var(--motion-none); scroll-behavior: auto; }
}
@media (prefers-reduced-transparency: reduce) {
  html:root *, html:root *::before, html:root *::after { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
