/* Site-level overrides for ShellUI.Native.Docs. Loads last in the App.razor cascade, so anything here
   wins over the ShellDocs and ShellUI theme files. */

/* shellui-theme.css declares Geist without shipping it; ShellDocs' tokens.css loads Inter, so use that. */
: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);
}

/* Blazor's <FocusOnNavigate Selector="h1" /> focuses the heading on every route change; headings aren't
   tab stops, so the ring only ever comes from that programmatic focus. */
h1:focus { outline: none; }

/* Long inline paths in prose (Platforms/Android/Resources/…) would widen the page on phones.
   Not in tables, whose cells would break `double` mid-word. */
.shelldocs-prose p > code,
.shelldocs-prose li > code { overflow-wrap: anywhere; }
