/* Site-level overrides for ShellUI.Docs.
   Loads LAST in the App.razor cascade so anything here wins over
   ShellDocs and ShellUI theme files. */

/* ShellUI's shellui-theme.css declares `--font-sans: Geist, sans-serif;` but
   never ships or imports the Geist webfont, so the browser falls through to
   `sans-serif` (system default). ShellDocs' tokens.css already loads Inter,
   so we restore its declaration here — after ShellUI's cascade — so the whole
   docs site inherits the same Inter aesthetic as shelldocs.dev. */
:root {
    --font-sans: 'Inter var', 'Inter', ui-sans-serif, system-ui, -apple-system,
                 BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: ui-monospace, 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
}

body {
    font-family: var(--font-sans);
}

/* Suppress the focus ring that Blazor's <FocusOnNavigate Selector="h1" />
   causes on every route change. Headings aren't in the tab order (you can't
   Tab to an h1), so this ring only ever comes from the programmatic .focus()
   for a11y — screen readers still get the announce-on-route-change benefit
   because DOM focus itself is preserved; only the visual ring goes away.
   The `:focus-visible` variant that shadcn/fumadocs use is right for
   interactive elements but wrong here: browsers frequently mark programmatic
   heading focus as :focus-visible = true, so that pattern doesn't match. */
h1:focus { outline: none; }
