/*
 * GENERATED from packages/design/tokens.json by `npm run gen -w @atlas/design`.
 * Do not edit by hand: src/generated.test.ts fails when this file and tokens.json disagree.
 *
 * Themes: System by default (no data-theme: the device's setting decides, with no script), and
 * Light or Dark forced by data-theme="light" | "dark" on <html> or any element.
 * Components use var(--token) or the Tailwind colour names below; never a hex value.
 */

/* Tailwind's `dark:` follows the same rule as the tokens. Prefer tokens, which already switch. */
@custom-variant dark {
  &:where([data-theme="dark"], [data-theme="dark"] *) {
    @slot;
  }
  @media (prefers-color-scheme: dark) {
    &:where(:root:not([data-theme="light"]) *):not(:where([data-theme="light"], [data-theme="light"] *)) {
      @slot;
    }
  }
}

:root,
[data-theme="light"] {
  color-scheme: light;
  --canvas: #f6f7f9;
  --surface: #ffffff;
  --surface-raised: #f1f3f6;
  --surface-inverse: #0e1014;
  --photo-well: #f3f3f5;
  --on-photo-well: #4a4d55;
  --code-surface: #0e1014;
  --line: #e4e7ec;
  --line-strong: #d0d5dc;
  --control-border: #868c96;
  --ink: #0e1014;
  --ink-soft: #2a2d35;
  --ink-muted: #4a4d55;
  --ink-faint: #626771;
  --ink-on-inverse: #ffffff;
  --ink-muted-on-inverse: #b9bcc4;
  --accent: #1475ed;
  --accent-text: #0b5cc7;
  --accent-soft: #e3edff;
  --action: #0b5cc7;
  --action-hover: #084a9f;
  --on-action: #ffffff;
  --focus: #0b5cc7;
  --sourced-text: #16794f;
  --sourced-soft: #e2f3ea;
  --pending-text: #8a5300;
  --pending-soft: #fdf0d9;
  --disputed-text: #b42318;
  --disputed-soft: #fde7e4;
  --success-text: var(--sourced-text);
  --danger-text: var(--disputed-text);
  --pillar-canonical: var(--accent-text);
  --pillar-market: #0f766e;
  --pillar-engineering: #9a4d00;
  --pillar-transactional: #6d28d9;
  --code-ink: #e6e6e6;
  --code-key: #9cc3ff;
  --code-string: #86efac;
  --code-number: #fcd34d;
  --code-comment: #8b949e;
  --techfleet-logo: #1475ed;
  --techfleet-green: #47ee71;
  --shadow-overlay: 0 16px 40px rgba(14, 16, 20, 0.18);
}

[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #0a0a0a;
  --surface: #111111;
  --surface-raised: #1a1a1a;
  --surface-inverse: #202124;
  --photo-well: #f3f3f5;
  --on-photo-well: #4a4d55;
  --code-surface: #050505;
  --line: #222222;
  --line-strong: #333333;
  --control-border: #666666;
  --ink: #e5e5e5;
  --ink-soft: #c7c7c7;
  --ink-muted: #a3a3a3;
  --ink-faint: #8c8c8c;
  --ink-on-inverse: #ffffff;
  --ink-muted-on-inverse: #b9bcc4;
  --accent: #3b82f6;
  --accent-text: #60a5fa;
  --accent-soft: #0f1e38;
  --action: #2563eb;
  --action-hover: #1d4ed8;
  --on-action: #ffffff;
  --focus: #60a5fa;
  --sourced-text: #34d399;
  --sourced-soft: #0b2a1f;
  --pending-text: #fbbf24;
  --pending-soft: #2e220a;
  --disputed-text: #f87171;
  --disputed-soft: #331414;
  --success-text: var(--sourced-text);
  --danger-text: var(--disputed-text);
  --pillar-canonical: var(--accent-text);
  --pillar-market: #2dd4bf;
  --pillar-engineering: #fb923c;
  --pillar-transactional: #a78bfa;
  --code-ink: #e6e6e6;
  --code-key: #9cc3ff;
  --code-string: #86efac;
  --code-number: #fcd34d;
  --code-comment: #8b949e;
  --techfleet-logo: #ffffff;
  --techfleet-green: #47ee71;
  --shadow-overlay: 0 16px 40px rgba(0, 0, 0, 0.6);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --canvas: #0a0a0a;
    --surface: #111111;
    --surface-raised: #1a1a1a;
    --surface-inverse: #202124;
    --photo-well: #f3f3f5;
    --on-photo-well: #4a4d55;
    --code-surface: #050505;
    --line: #222222;
    --line-strong: #333333;
    --control-border: #666666;
    --ink: #e5e5e5;
    --ink-soft: #c7c7c7;
    --ink-muted: #a3a3a3;
    --ink-faint: #8c8c8c;
    --ink-on-inverse: #ffffff;
    --ink-muted-on-inverse: #b9bcc4;
    --accent: #3b82f6;
    --accent-text: #60a5fa;
    --accent-soft: #0f1e38;
    --action: #2563eb;
    --action-hover: #1d4ed8;
    --on-action: #ffffff;
    --focus: #60a5fa;
    --sourced-text: #34d399;
    --sourced-soft: #0b2a1f;
    --pending-text: #fbbf24;
    --pending-soft: #2e220a;
    --disputed-text: #f87171;
    --disputed-soft: #331414;
    --success-text: var(--sourced-text);
    --danger-text: var(--disputed-text);
    --pillar-canonical: var(--accent-text);
    --pillar-market: #2dd4bf;
    --pillar-engineering: #fb923c;
    --pillar-transactional: #a78bfa;
    --code-ink: #e6e6e6;
    --code-key: #9cc3ff;
    --code-string: #86efac;
    --code-number: #fcd34d;
    --code-comment: #8b949e;
    --techfleet-logo: #ffffff;
    --techfleet-green: #47ee71;
    --shadow-overlay: 0 16px 40px rgba(0, 0, 0, 0.6);
  }
}

:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-14: 56px;
  --space-20: 80px;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 999px;
  --control-sm: 36px;
  --control-md: 44px;
  --control-lg: 56px;
  --header-height: 64px;
  --content-max: 1280px;
  --prose-max: 72ch;
  --font-display: var(--atl-font-display, "Schibsted Grotesk"), system-ui, sans-serif;
  --font-sans: var(--atl-font-sans, "Hanken Grotesk"), system-ui, sans-serif;
  --font-mono: var(--atl-font-mono, "IBM Plex Mono"), ui-monospace, "SF Mono", Menlo, monospace;
}

.display-xl { font-family: var(--font-display); font-size: 64px; line-height: 64px; font-weight: 700; letter-spacing: -0.035em; }
.display-l { font-family: var(--font-display); font-size: 48px; line-height: 50px; font-weight: 700; letter-spacing: -0.03em; }
.heading-1 { font-family: var(--font-display); font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.025em; }
.heading-2 { font-family: var(--font-display); font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -0.02em; }
.heading-3 { font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.015em; }
.heading-4 { font-family: var(--font-display); font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; }
.body-l { font-family: var(--font-sans); font-size: 18px; line-height: 28px; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 400; }
.body-s { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 400; }
.caption { font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 400; }
.eyebrow { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.14em; }
.data-l { font-family: var(--font-mono); font-size: 22px; line-height: 28px; font-weight: 500; }
.data { font-family: var(--font-mono); font-size: 15px; line-height: 22px; font-weight: 400; }
.data-s { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; }
.code { font-family: var(--font-mono); font-size: 13px; line-height: 21px; font-weight: 400; }

@theme {
  /* Only Atlas's tokens exist: no default Tailwind palette, fonts, radii or shadows to reach for.
     Spacing keeps Tailwind's 4px step, so space-N is p-N, gap-N and m-N. */
  --color-*: initial;
  --font-*: initial;
  --radius-*: initial;
  --shadow-*: initial;
  --inset-shadow-*: initial;
  --drop-shadow-*: initial;
  --text-shadow-*: initial;
}

@theme inline {
  --color-canvas: var(--canvas);
  --color-surface: var(--surface);
  --color-surface-raised: var(--surface-raised);
  --color-surface-inverse: var(--surface-inverse);
  --color-photo-well: var(--photo-well);
  --color-on-photo-well: var(--on-photo-well);
  --color-code-surface: var(--code-surface);
  --color-line: var(--line);
  --color-line-strong: var(--line-strong);
  --color-control-border: var(--control-border);
  --color-ink: var(--ink);
  --color-ink-soft: var(--ink-soft);
  --color-ink-muted: var(--ink-muted);
  --color-ink-faint: var(--ink-faint);
  --color-ink-on-inverse: var(--ink-on-inverse);
  --color-ink-muted-on-inverse: var(--ink-muted-on-inverse);
  --color-accent: var(--accent);
  --color-accent-text: var(--accent-text);
  --color-accent-soft: var(--accent-soft);
  --color-action: var(--action);
  --color-action-hover: var(--action-hover);
  --color-on-action: var(--on-action);
  --color-focus: var(--focus);
  --color-sourced-text: var(--sourced-text);
  --color-sourced-soft: var(--sourced-soft);
  --color-pending-text: var(--pending-text);
  --color-pending-soft: var(--pending-soft);
  --color-disputed-text: var(--disputed-text);
  --color-disputed-soft: var(--disputed-soft);
  --color-success-text: var(--success-text);
  --color-danger-text: var(--danger-text);
  --color-pillar-canonical: var(--pillar-canonical);
  --color-pillar-market: var(--pillar-market);
  --color-pillar-engineering: var(--pillar-engineering);
  --color-pillar-transactional: var(--pillar-transactional);
  --color-code-ink: var(--code-ink);
  --color-code-key: var(--code-key);
  --color-code-string: var(--code-string);
  --color-code-number: var(--code-number);
  --color-code-comment: var(--code-comment);
  --color-techfleet-logo: var(--techfleet-logo);
  --color-techfleet-green: var(--techfleet-green);
}

/* Copied from docs/design-system/components.css, minus its Google Fonts @import: the site
   self-hosts the three families through next/font, so no reader's browser ever calls Google.
   Keep the rest in step with the docs copy; src/components.test.ts checks it uses tokens only. */

/* Techfleet Atlas components. Every value comes from tokens.css; nothing here declares a colour,
   a size from the scales or a font. Theme: tokens.css answers data-theme="light" | "dark" on any
   ancestor; "System" sets data-theme from prefers-color-scheme (see ThemeSwitch). */

.atl-root { background: var(--canvas); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 24px; -webkit-font-smoothing: antialiased; }
.atl-root a { color: var(--accent-text); text-decoration: none; }
.atl-root a:hover { text-decoration: underline; text-underline-offset: 3px; }
.atl-root :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.atl-num { font-variant-numeric: tabular-nums; }
.atl-mono { font-family: var(--font-mono); }
.atl-container { max-width: var(--content-max); margin: 0 auto; padding-inline: var(--space-6); box-sizing: border-box; }

/* Site header: Sour Atlas's bar with its blue hairline under it */
.atl-header { position: relative; background: var(--surface); border-bottom: 1px solid var(--line); }
.atl-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .7; }
.atl-header__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); min-height: var(--header-height); }
.atl-wordmark { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--ink); font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.atl-wordmark b { font-weight: 800; }
.atl-nav { display: flex; flex-wrap: wrap; gap: var(--space-5); font-size: 15px; }
.atl-nav a { color: var(--ink-muted); }
.atl-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.atl-lockup { display: inline-flex; align-items: center; gap: var(--space-3); color: var(--ink); text-decoration: none !important; }
.atl-lockup svg { display: block; fill: var(--techfleet-logo); }
.atl-lockup__rule { width: 1px; align-self: stretch; background: var(--line-strong); }
.atl-lockup__name { font-family: var(--font-display); font-size: 21px; line-height: 1; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.atl-band .atl-lockup svg, .atl-lockup--inverse svg { fill: var(--ink-on-inverse); }
.atl-lockup--inverse .atl-lockup__name { color: var(--ink-on-inverse); }
.atl-lockup--inverse .atl-lockup__rule { background: var(--ink-muted-on-inverse); }

/* Buttons */
.atl-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: var(--control-md); padding: 0 var(--space-5); border-radius: var(--radius-sm); border: 1px solid transparent; font: 600 15px/1 var(--font-sans); cursor: pointer; text-decoration: none !important; white-space: nowrap; }
.atl-btn--primary { background: var(--action); color: var(--on-action) !important; }
.atl-btn--primary:hover { background: var(--action-hover); }
.atl-btn--secondary { background: var(--surface-raised); color: var(--ink) !important; border-color: var(--line-strong); }
.atl-btn--secondary:hover { border-color: var(--control-border); }
.atl-btn--ghost { background: transparent; color: var(--ink) !important; border-color: var(--control-border); }
.atl-btn--lg { min-height: var(--control-lg); padding: 0 var(--space-6); font-size: 17px; }
.atl-btn--sm { min-height: var(--control-sm); padding: 0 var(--space-3); font-size: 14px; }

/* Inputs and the search field */
.atl-input { min-height: var(--control-md); padding: 0 var(--space-3); border-radius: var(--radius-sm); border: 1px solid var(--control-border); background: var(--surface-raised); color: var(--ink); font: 400 15px var(--font-sans); box-sizing: border-box; min-width: 0; }
.atl-input::placeholder { color: var(--ink-faint); }
.atl-search { display: flex; align-items: center; gap: var(--space-3); min-height: var(--control-lg); padding: 0 var(--space-2) 0 var(--space-4); border-radius: var(--radius-md); border: 1px solid var(--control-border); background: var(--surface); box-sizing: border-box; }
.atl-search:focus-within { border-color: var(--focus); box-shadow: 0 0 0 1px var(--focus); }
.atl-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--ink); font: 400 18px var(--font-sans); }
.atl-search input::placeholder { color: var(--ink-faint); }
.atl-kbd { font: 500 12px var(--font-mono); color: var(--ink-muted); border: 1px solid var(--line-strong); border-radius: var(--radius-xs); padding: 2px 6px; }

/* Segmented control (ThemeSwitch, storage, tabs) */
.atl-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--radius-sm); background: var(--surface-raised); border: 1px solid var(--line-strong); }
.atl-seg button { min-height: calc(var(--control-sm) - 6px); padding: 0 var(--space-3); border: 0; border-radius: var(--radius-xs); background: transparent; color: var(--ink-muted); font: 500 14px var(--font-sans); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.atl-seg button[aria-pressed="true"], .atl-seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line-strong); font-weight: 600; }

/* Eyebrow: Sour Atlas's spaced uppercase label */
.atl-eyebrow { font: 600 12px/16px var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
.atl-eyebrow--market { color: var(--pillar-market); }
.atl-eyebrow--engineering { color: var(--pillar-engineering); }
.atl-eyebrow--transactional { color: var(--pillar-transactional); }
.atl-eyebrow--muted { color: var(--ink-muted); }

/* Source chip: Atlas's signature. Words first, colour second. */
.atl-chip { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/16px var(--font-mono); border-radius: var(--radius-xs); padding: 3px 8px; white-space: nowrap; text-decoration: none !important; }
.atl-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.atl-chip--sourced { color: var(--sourced-text) !important; background: var(--sourced-soft); }
.atl-chip--pending { color: var(--pending-text) !important; background: var(--pending-soft); }
.atl-chip--disputed { color: var(--disputed-text) !important; background: var(--disputed-soft); }
.atl-chip--neutral { color: var(--ink-muted) !important; background: var(--surface-raised); }
.atl-chip--neutral::before { display: none; }

/* Badge: Sour Atlas's outlined uppercase tag (ACTIVE, AUTHORITATIVE) */
.atl-badge { display: inline-flex; align-items: center; font: 600 11px/14px var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 8px; border-radius: var(--radius-xs); border: 1px solid var(--line-strong); color: var(--ink-muted); background: var(--surface); }
.atl-badge--accent { color: var(--accent-text); background: var(--accent-soft); border-color: transparent; }
.atl-badge--success { color: var(--success-text); background: var(--sourced-soft); border-color: transparent; }
.atl-badge--danger { color: var(--danger-text); background: var(--disputed-soft); border-color: transparent; }

/* HTTP method tag */
.atl-method { font: 600 12px/16px var(--font-mono); padding: 3px 7px; border-radius: var(--radius-xs); color: var(--sourced-text); background: var(--sourced-soft); }
.atl-method--post { color: var(--pillar-transactional); background: var(--accent-soft); }

/* Cards and tiles */
.atl-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-5); box-sizing: border-box; }
.atl-card--link { display: block; color: var(--ink) !important; text-decoration: none !important; transition: border-color .15s ease; }
.atl-card--link:hover { border-color: var(--accent); }
.atl-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-1); }
.atl-tile__label { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.atl-tile__value { font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); font-variant-numeric: tabular-nums; }
.atl-tile__sub { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.atl-well { background: var(--photo-well); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--on-photo-well); }

/* Spec table: label · value · source */
.atl-spec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.atl-spec__row { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(0, 2fr) auto; gap: var(--space-2) var(--space-5); padding: var(--space-3) var(--space-5); border-top: 1px solid var(--line); align-items: baseline; }
.atl-spec__row:first-child { border-top: 0; }
.atl-spec__row:hover { background: var(--surface-raised); }
.atl-spec__label { font-size: 14px; color: var(--ink-muted); }
.atl-spec__value { font-size: 16px; font-weight: 500; color: var(--ink); min-width: 0; font-variant-numeric: tabular-nums; }
.atl-spec__group { font: 600 12px/16px var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 var(--space-2); }

/* Data table: Sour Atlas's uppercase head on surface-raised */
.atl-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.atl-table { border-collapse: collapse; width: 100%; font-size: 14px; font-variant-numeric: tabular-nums; }
.atl-table th { text-align: left; padding: var(--space-3) var(--space-4); background: var(--surface-raised); border-bottom: 1px solid var(--line-strong); font: 600 11px/16px var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); white-space: nowrap; }
.atl-table td { padding: var(--space-3) var(--space-4); border-top: 1px solid var(--line); color: var(--ink); vertical-align: top; }
.atl-table tr:hover td { background: var(--surface-raised); }

/* Code block */
.atl-code { margin: 0; background: var(--code-surface); color: var(--code-ink); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-5); font: 400 13px/21px var(--font-mono); overflow-x: auto; white-space: pre; }
.atl-code .k { color: var(--code-key); } .atl-code .s { color: var(--code-string); } .atl-code .n { color: var(--code-number); } .atl-code .c { color: var(--code-comment); }
.atl-code__bar { display: flex; gap: var(--space-2); align-items: center; padding: var(--space-2) var(--space-4); background: var(--code-surface); border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; font: 500 12px var(--font-mono); color: var(--code-comment); }
.atl-code__bar + .atl-code { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.atl-inline-code { font: 500 0.9em var(--font-mono); background: var(--surface-raised); border-radius: var(--radius-xs); padding: 1px 5px; color: var(--ink); }

/* Fact panel: one value with its quote */
.atl-fact { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-5); background: var(--surface); display: flex; flex-direction: column; gap: var(--space-3); }
.atl-fact--shown { border: 2px solid var(--sourced-text); }
.atl-fact__value { font: 500 28px/34px var(--font-mono); color: var(--ink); }
.atl-fact__value--rejected { color: var(--ink-faint); text-decoration: line-through; }
.atl-quote { margin: 0; font: 400 13px/20px var(--font-mono); color: var(--ink-soft); background: var(--surface-raised); border-radius: var(--radius-sm); padding: var(--space-3); }

/* Pricing card */
.atl-plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
.atl-plan--featured { border: 2px solid var(--accent); }
.atl-plan__price { font-family: var(--font-display); font-size: 40px; line-height: 44px; font-weight: 800; letter-spacing: -0.03em; }

/* Notices */
.atl-notice { border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); font-size: 14px; }
.atl-notice--pending { background: var(--pending-soft); color: var(--pending-text); }
.atl-notice--info { background: var(--accent-soft); color: var(--accent-text); }

/* Inverse band */
.atl-band { background: var(--surface-inverse); color: var(--ink-on-inverse); border-radius: var(--radius-xl); }
.atl-band p { color: var(--ink-muted-on-inverse); }

/* Docs page layout */
body { margin: 0; }
.docs-skip { position: absolute; left: -9999px; }
.docs-skip:focus { left: var(--space-4); top: var(--space-4); z-index: 10; background: var(--surface); padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); }
.docs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.docs-header { padding-inline: var(--space-6); }
.docs-header__nav { margin-left: auto; }
.docs { display: flex; flex-wrap: wrap; align-items: flex-start; }
.docs-nav { flex: 1 1 240px; max-width: 280px; padding: var(--space-6) var(--space-5) var(--space-10) var(--space-6); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--space-5); font-size: 14px; box-sizing: border-box; background: var(--surface); position: sticky; top: 0; max-height: 100vh; overflow-y: auto; }
.docs-search { display: flex; align-items: center; min-height: 38px; }
.docs-search input { flex: 1; border: 0; outline: none; background: transparent; color: var(--ink); font: 400 14px var(--font-sans); min-width: 0; }
.docs-nav__sec { display: flex; flex-direction: column; gap: 2px; }
.docs-nav__sec .atl-eyebrow { margin-bottom: 6px; }
.atl-root a.docs-nav__item { display: flex; gap: 8px; align-items: center; padding: 5px 8px; border-radius: var(--radius-xs); color: var(--ink-soft); text-decoration: none; }
.atl-root a.docs-nav__item:hover, .atl-root a.docs-nav__item[aria-current="true"] { background: var(--accent-soft); color: var(--ink); }
.docs-nav__method { font-size: 10px; padding: 1px 5px; }
.docs-main { flex: 999 1 640px; min-width: 0; box-sizing: border-box; }
.docs-guide { max-width: 780px; padding: var(--space-8) var(--space-10); display: flex; flex-direction: column; gap: var(--space-4); box-sizing: border-box; }
.docs-guide + .docs-guide, .docs-op, #mcp { border-top: 1px solid var(--line); }
.docs-op { display: flex; flex-wrap: wrap; align-items: flex-start; }
.docs-op__text { flex: 999 1 480px; min-width: 0; max-width: 780px; padding: var(--space-8) var(--space-10) var(--space-10); display: flex; flex-direction: column; gap: var(--space-4); box-sizing: border-box; }
.docs-op__aside { flex: 1 1 400px; min-width: 0; padding: var(--space-8) var(--space-6) var(--space-10); display: flex; flex-direction: column; gap: var(--space-3); box-sizing: border-box; position: sticky; top: 0; }
.docs-crumb { margin: 0; font-size: 13px; color: var(--ink-muted); }
.docs-sig { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.docs-sig code { font-size: 16px; color: var(--ink); }
.docs-op h2, .docs-guide h1, .docs-guide h2 { margin: 0; color: var(--ink); }
.docs-op h3 { margin: var(--space-4) 0 0; color: var(--ink); }
.docs-prose p { margin: 0 0 var(--space-3); color: var(--ink-soft); }
.docs-prose p:last-child { margin-bottom: 0; }
.docs-req { margin-left: 6px; }
.docs-errors, .docs-tools { margin: 0; padding-left: var(--space-5); color: var(--ink-soft); display: flex; flex-direction: column; gap: var(--space-2); }
.docs-panel { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); overflow: hidden; background: var(--code-surface); }
.docs-panel .atl-code, .docs-panel .atl-code__bar { border: 0; border-radius: 0; }
.docs-panel__code { max-height: 420px; overflow: auto; }
.docs-response { font-size: 12.5px; }
.docs-tabs { display: flex; gap: 2px; padding: var(--space-2); border-bottom: 1px solid var(--line); }
.docs-tabs button { border: 0; padding: 6px 12px; background: transparent; color: var(--code-comment); font: 500 13px var(--font-mono); cursor: pointer; }
.docs-tabs button[aria-selected="true"] { box-shadow: inset 0 -2px 0 var(--accent); color: var(--code-ink); font-weight: 600; }
.docs-ok { color: var(--code-string); }
.docs-try { display: flex; flex-direction: column; gap: var(--space-3); }
.docs-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink-muted); }
.docs-field .atl-input { font-size: 13px; }
.docs-small { margin: 0; font-size: 13px; color: var(--ink-muted); }
.docs-try__out .atl-code { max-height: 360px; overflow: auto; font-size: 12.5px; }
[hidden] { display: none !important; }
@media (max-width: 720px) {
  .docs-nav { max-width: none; position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--line); }
  .docs-guide, .docs-op__text { padding: var(--space-6) var(--space-4); }
  .docs-op__aside { padding: 0 var(--space-4) var(--space-6); position: static; }
  .docs-header { padding-inline: var(--space-4); }
}
