@layer base {
  @font-face { font-family: "Auro"; src: url("../fonts/Auro-900.b8bbe0355e0f.woff2") format("woff2"); font-weight: 900; font-display: swap; }
  @font-face { font-family: "Areal"; src: url("../fonts/Areal.76c311bb52f0.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
  @font-face { font-family: "Areal Mono"; src: url("../fonts/ArealMono.7a070005ffff.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    min-height: 100vh;
    background: var(--ground);
    color: var(--ink);
    font: 14px/1.45 var(--f-ui);
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; cursor: pointer; }
  h1, h2, h3, p { margin: 0; }
  img { display: block; }
  svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
  input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
  .locked { overflow: hidden; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
  ::view-transition-new(root) { mask-repeat: no-repeat; }

  :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  [tabindex="-1"]:focus-visible { outline: none; }

  @media (pointer: fine) {
    ::-webkit-scrollbar { width: 10px; height: 10px; }
    ::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
    ::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
    ::-webkit-scrollbar-thumb { background: var(--thumb); background-clip: padding-box; border: 3px solid transparent; border-radius: var(--r-xs); min-height: 40px; min-width: 40px; }
    ::-webkit-scrollbar-thumb:hover { background-color: var(--thumb-hi); border-width: 2px; }
    ::-webkit-scrollbar-thumb:active { background-color: var(--thumb-on); border-width: 2px; }
  }
  @supports not selector(::-webkit-scrollbar) {
    * { scrollbar-width: thin; scrollbar-color: var(--thumb) transparent; }
  }

  .row { display: flex; align-items: center; gap: 8px; }
  .grow { flex: 1; min-width: 0; }
  .muted { color: var(--muted); }
  .dim { color: var(--dim); }
  .mono { font-family: var(--f-m); }
  .strong { color: var(--strong); font-weight: 600; }
  .pos { color: var(--good); }
  .neg { color: var(--bad); }
  .wrn { color: var(--warn); }
  .strike { text-decoration: line-through; color: var(--muted); }
  .nowrap { white-space: nowrap; }
  .num, .tnum { font-variant-numeric: tabular-nums; }
  .mid > * + *::before { content: "\00B7"; margin: 0 0.45em; color: var(--muted); }
  .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}

/* Outside every layer, so a component that sets display never shows something marked hidden. */
[hidden] { display: none; }

/* Phones fade the theme in place, since their view transition snapshot moves the tab bar and the
   pages sheet. Outside every layer so it wins over a component's own transition while it runs. */
.theming, .theming *, .theming *::before, .theming *::after {
  transition: color 2.2s ease-in-out, background-color 2.2s ease-in-out, border-color 2.2s ease-in-out, fill 2.2s ease-in-out, stroke 2.2s ease-in-out, box-shadow 2.2s ease-in-out;
}
.theming .theme-i svg { transition: transform 0.4s cubic-bezier(0.22, 0.8, 0.28, 1), opacity 0.25s; }
