/* GENERATED by scripts/build-public-css.mjs from app/shared — do not edit */

/* source: app/shared/editorial-tokens.css */
/*
 * WeCar VPS — Shared editorial token layer
 *
 * Additive over app/shared/tokens.css. Referrer and Guest consume the reading
 * tier; Host, Guardian, and Admin consume the operational tier. Packet A's
 * Guardian/Admin local implementations still await founder visual review.
 *
 * Import this file to adopt: editorial field palette + Geist/Nunito family +
 * both density scales. Default density is reading (visual_doctrine_v1:
 * "Start here"). Set `data-density="operational"` on :root to switch scale.
 *
 * Palette authority: docs/06_ui/00_design_system/DESIGN.md §3
 *                    + editorial_surface_direction_v1.md (field roles)
 * Density authority: docs/01_principles/visual_doctrine_v1.md
 *                    ("one system, two densities")
 * Visual reference:  F-V-accepted app/referrer look (2026-08-31)
 *
 * Faces are declared by the consuming app (local @font-face + font files).
 * This file only names the stacks.
 */
/* source: app/shared/tokens.css */
/*
 * WeCar VPS — Design Tokens (shared)
 *
 * Single source of truth for all VPS app token values.
 * Imported by app/host/src/tokens.css and app/guest/src/tokens.css.
 * Do NOT import into app/admin — that app uses Tailwind with its own system.
 *
 * Status: PRELIMINARY. Validated only after the 4-screen Figma set is confirmed
 * stable (see docs/06_ui/00_design_system/DESIGN.md §13 for validation scope).
 *
 * Palette authority: docs/06_ui/00_design_system/DESIGN.md §3
 * Direction: coastal modern / luxury hospitality / editorial operations console
 * Palette: Mineral Riviera — Powder sand · Palm canopy · Riviera water · Jungle night
 */

:root {
  /* ── Surfaces ──────────────────────────────────────────────────────────────
   * Warm, sun-washed rather than sterile white or cold gray.
   */
  --surface-base: #f0ebe2;         /* main background — powder sand */
  --surface-card: #ffffff;          /* card surfaces */
  --surface-elevated: #f5f3ed;      /* slightly lifted from base */
  --surface-input: #f7f5f0;         /* input backgrounds */
  --surface-nav: #1c2228;           /* primary nav — deep coastal ink */
  --surface-nav-hover: #242d35;
  --surface-nav-active: #2d3a44;
  --surface-overlay: rgba(0, 0, 0, 0.42);

  /* ── Ink (text) ────────────────────────────────────────────────────────────
   * Deep, legible. Not pure black — stays warm.
   */
  --ink-primary: #18191a;           /* headlines, primary labels */
  --ink-secondary: #4a4f56;         /* body text, descriptions */
  --ink-muted: #8a9099;             /* timestamps, metadata */
  --ink-placeholder: #b0b8c0;       /* placeholder text */
  --ink-on-dark: #e8ede8;           /* text on dark nav surfaces */
  --ink-on-dark-muted: #6e7e84;     /* muted text on dark nav */
  --ink-on-accent: #0f1e16;         /* text on teal accent fills — jungle night (7.03:1 ✓) */
  --ink-on-card: #18191a;           /* same as primary, explicit alias */

  /* ── Status + Semantic Colors ──────────────────────────────────────────────
   * Muted, premium — not startup-saturated.
   * Operational = palm canopy. Urgent = coral. Warning = amber. Neutral = slate.
   */
  --status-operational: #4a7a6a;    /* healthy, active, live — Palm canopy */
  --status-operational-bg: #e8f2ee;
  --status-operational-border: #b8d9cf;

  --status-urgent: #b54a2c;         /* requires action */
  --status-urgent-bg: #faeae4;
  --status-urgent-border: #e8b8a8;

  --status-warning: #9a6420;        /* soft caution, not alarming */
  --status-warning-bg: #fdf1da;
  --status-warning-border: #e8d0a0;

  --status-neutral: #5c6670;        /* unlisted, paused, inactive */
  --status-neutral-bg: #eef0f2;
  --status-neutral-border: #cdd2d8;

  --status-review: #4a6890;         /* under review — calm blue-slate */
  --status-review-bg: #e8eef6;
  --status-review-border: #bacde0;

  /* ── Accent (primary action) ───────────────────────────────────────────────
   * Riviera water — the jewel, one use. Teal, not green.
   * Always use --ink-on-accent (#0f1e16) for text on accent fills.
   * Active (#266860) is transient pressed state only — white icon/text there.
   */
  --accent: #52b5ac;
  --accent-hover: #368c84;
  --accent-active: #266860;
  --accent-bg: #ecf8f7;
  --accent-border: #8fd0cb;
  --accent-muted: #6dc4bc;

  /* ── Borders ───────────────────────────────────────────────────────────────
   * Warm, not cold gray.
   */
  --border-default: #ddd8ce;
  --border-subtle: #eae5dc;
  --border-strong: #c8c0b0;
  --border-input: #d0cab8;
  --border-input-focus: #52b5ac;

  /* ── Radius ────────────────────────────────────────────────────────────────
   * Rounded premium — not sharp enterprise, not overly bubbly.
   */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-input: 8px;
  --radius-button: 8px;
  --radius-card: 12px;
  --radius-card-lg: 16px;
  --radius-chip: 20px;
  --radius-full: 9999px;

  /* ── Spacing ───────────────────────────────────────────────────────────────
   * 4px base. Named for semantic meaning, not just multiples.
   */
  --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-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* Semantic spacing aliases */
  --page-padding-x: var(--space-8);
  --page-padding-y: var(--space-8);
  --card-padding: var(--space-6);
  --section-gap: var(--space-8);
  --item-gap: var(--space-4);
  /* Form rhythm. Screens use these names; they do not invent field gaps. */
  --field-label-gap: var(--space-3);
  --field-stack-gap: var(--space-6);
  --choice-stack-gap: var(--space-4);

  /* ── Typography ────────────────────────────────────────────────────────────
   * Manrope for headings: calm, modern, editorial without serif drift.
   * Plus Jakarta Sans for body: legible, human, operational.
   */
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  --text-xs: 11px;
  --text-sm: 13px;
  --text-base: 15px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 22px;
  --text-2xl: 28px;
  --text-3xl: 36px;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --line-tight: 1.2;
  --line-snug: 1.35;
  --line-normal: 1.5;
  --line-relaxed: 1.65;

  /* ── Shadows ───────────────────────────────────────────────────────────────
   * Soft, warm. Not lifted enterprise chrome.
   */
  --shadow-none: none;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.09), 0 4px 8px rgba(0, 0, 0, 0.05);
  --shadow-card: var(--shadow-sm);
  --shadow-card-hover: var(--shadow-md);

  /* ── Transitions ───────────────────────────────────────────────────────────
   */
  --transition-fast: 120ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;

  /* ── Layout ────────────────────────────────────────────────────────────────
   */
  --nav-width: 220px;
  /* Leftover callers: same inner width as operational --page-measure. */
  --content-max-width: 960px;
}

:root {
  color-scheme: light dark;

  /* ── Editorial field palette — canonical light values ────────────────────── */
  --entry-page: #F8F5EE;
  --entry-deep-paper: #EFEAE0;
  --entry-surface: #FFFDF9;
  --entry-selective-green: #EDF7F3;
  --entry-info-green: #DCEEE8;
  --entry-ink: #17312B;
  --entry-muted: #425B54;
  --entry-line: #CFD9D3;
  --entry-line-strong: #AABBB3;
  --entry-riviera: #52B5AC;
  --entry-teal: #2F776D;
  --entry-depth: #194F48;
  --entry-clay: #D68C68;
  --entry-clay-soft: #F3DFD2;
  /* Lifted card (editorial dark ladder, DESIGN §3). Light = soft card. */
  --entry-lifted-card: var(--entry-surface);
  --entry-display: "Geist", ui-sans-serif, system-ui, sans-serif;
  --entry-sans: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* ── Density scales (named). Primitives read the mapped --text-* / --radius-*
   * / --page-measure / --control-height-* roles, never these names directly. */
  --density-reading-text-sm: 14px;
  --density-reading-text-base: 16px;
  --density-reading-text-md: 17px;
  --density-reading-text-lg: 18px;
  --density-reading-text-xl: 23px;
  --density-reading-radius-card: 18px;
  --density-reading-radius-button: 14px;
  --density-reading-radius-input: 13px;
  --density-reading-line-normal: 1.58;
  --density-reading-page-measure: 480px;
  --density-reading-page-padding-block-start: var(--space-10);
  --density-reading-page-padding-inline: var(--space-6);
  --density-reading-page-padding-block-end: var(--space-8);
  --density-reading-control-sm: 32px;
  --density-reading-control-md: 40px;
  --density-reading-control-lg: 48px;
  --density-reading-control-input: 42px;

  --density-operational-text-sm: 13px;
  --density-operational-text-base: 15px;
  --density-operational-text-md: 16px;
  --density-operational-text-lg: 18px;
  --density-operational-text-xl: 22px;
  --density-operational-radius-card: 12px;
  --density-operational-radius-button: 8px;
  --density-operational-radius-input: 8px;
  --density-operational-line-normal: 1.5;
  --density-operational-page-measure: 960px;
  --density-operational-page-padding-block-start: var(--space-8);
  --density-operational-page-padding-inline: var(--space-8);
  --density-operational-page-padding-block-end: var(--space-8);
  --density-operational-control-sm: 32px;
  --density-operational-control-md: 40px;
  --density-operational-control-lg: 48px;
  --density-operational-control-input: 42px;

  /* Browse is a named inner measure, not a third density. */
  --page-measure-browse: 1180px;
  --bottom-action-clearance: 94px;

  /* ── Console token roles, remapped to the editorial palette ────────────────
   * Default density = reading. Operational adopters set data-density. */
  --surface-base: var(--entry-page);
  --surface-card: var(--entry-surface);
  --surface-elevated: var(--entry-deep-paper);
  --surface-input: var(--entry-surface);
  --surface-nav: #1A201C;
  --surface-nav-hover: #232C27;
  --surface-nav-active: #2C382F;

  --ink-primary: var(--entry-ink);
  --ink-secondary: var(--entry-muted);
  --ink-muted: var(--entry-muted);
  --ink-placeholder: var(--entry-muted);
  --ink-on-dark: #ECE8E0;
  --ink-on-dark-muted: #AFB7AD;
  --ink-on-accent: #0F1E16;
  --ink-on-card: var(--entry-ink);

  --border-default: var(--entry-line);
  --border-subtle: #E4E0D5;
  --border-strong: var(--entry-line-strong);
  --border-input: var(--entry-line);
  --border-input-focus: var(--entry-teal);

  --accent: var(--entry-riviera);
  --accent-hover: #429990;
  --accent-active: var(--entry-depth);
  --accent-bg: var(--entry-selective-green);
  --accent-border: #9FD3CD;
  --accent-muted: #6DC4BC;
  --accent-text: var(--entry-teal);

  --font-heading: var(--entry-display);
  --font-body: var(--entry-sans);

  --text-sm: var(--density-reading-text-sm);
  --text-base: var(--density-reading-text-base);
  --text-md: var(--density-reading-text-md);
  --text-lg: var(--density-reading-text-lg);
  --text-xl: var(--density-reading-text-xl);
  --radius-card: var(--density-reading-radius-card);
  --radius-button: var(--density-reading-radius-button);
  --radius-input: var(--density-reading-radius-input);
  --line-normal: var(--density-reading-line-normal);
  --page-measure: var(--density-reading-page-measure);
  --page-padding-block-start: var(--density-reading-page-padding-block-start);
  --page-padding-inline: var(--density-reading-page-padding-inline);
  --page-padding-block-end: var(--density-reading-page-padding-block-end);
  --control-height-sm: var(--density-reading-control-sm);
  --control-height-md: var(--density-reading-control-md);
  --control-height-lg: var(--density-reading-control-lg);
  --control-height-input: var(--density-reading-control-input);
}

:root[data-density="operational"] {
  --text-sm: var(--density-operational-text-sm);
  --text-base: var(--density-operational-text-base);
  --text-md: var(--density-operational-text-md);
  --text-lg: var(--density-operational-text-lg);
  --text-xl: var(--density-operational-text-xl);
  --radius-card: var(--density-operational-radius-card);
  --radius-button: var(--density-operational-radius-button);
  --radius-input: var(--density-operational-radius-input);
  --line-normal: var(--density-operational-line-normal);
  --page-measure: var(--density-operational-page-measure);
  --page-padding-block-start: var(--density-operational-page-padding-block-start);
  --page-padding-inline: var(--density-operational-page-padding-inline);
  --page-padding-block-end: var(--density-operational-page-padding-block-end);
  --control-height-sm: var(--density-operational-control-sm);
  --control-height-md: var(--density-operational-control-md);
  --control-height-lg: var(--density-operational-control-lg);
  --control-height-input: var(--density-operational-control-input);
}

/* Mobile keeps the same two densities, with a common reading/touch floor.
 * Compact desktop operations must not make phone inputs or actions tiny. */
@media (max-width: 768px) {
  :root {
    --text-xs: 13px;
    --density-reading-text-sm: 16px;
    --density-operational-text-sm: 16px;
    --density-operational-text-base: 16px;
    --density-operational-text-md: 17px;
    --density-reading-control-sm: 44px;
    --density-operational-control-sm: 44px;
    --density-reading-control-md: 48px;
    --density-operational-control-md: 48px;
    --density-reading-control-input: 48px;
    --density-operational-control-input: 48px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --entry-page: #151815;
    --entry-deep-paper: #0F120F;
    --entry-surface: #1A201C;
    --entry-selective-green: #192B23;
    --entry-info-green: #263A34;
    --entry-ink: #ECE8E0;
    --entry-muted: #AFB7AD;
    --entry-line: #3D4A42;
    --entry-line-strong: #64736A;
    --entry-clay-soft: #4A3027;
    --entry-lifted-card: #28332C;

    --surface-base: var(--entry-page);
    --surface-card: var(--entry-surface);
    --surface-elevated: #212925;
    --surface-input: #1F2723;
    --surface-nav: #0F120F;
    --surface-nav-hover: #1C231E;
    --surface-nav-active: #263A34;

    --ink-primary: var(--entry-ink);
    --ink-secondary: var(--entry-muted);
    --ink-muted: var(--entry-muted);
    --ink-placeholder: var(--entry-muted);
    --ink-on-card: var(--entry-ink);

    --border-default: var(--entry-line);
    --border-subtle: #2A342E;
    --border-strong: var(--entry-line-strong);
    --border-input: var(--entry-line);
    --border-input-focus: #7FD0C6;

    --accent-bg: var(--entry-selective-green);
    --accent-text: #7FD0C6;

    --status-operational: #7FC0AE; --status-operational-bg: #1C3329; --status-operational-border: #2F5A4A;
    --status-urgent: #E0967E;      --status-urgent-bg: #3A201A;      --status-urgent-border: #6A3A2C;
    --status-warning: #D6B06A;     --status-warning-bg: #332715;     --status-warning-border: #5A4A2C;
    --status-neutral: #A6B0AA;     --status-neutral-bg: #262D29;     --status-neutral-border: #3D4A42;
    --status-review: #90B0D0;      --status-review-bg: #1E2A38;      --status-review-border: #3A4A5C;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.30);
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.32), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.36), 0 2px 4px rgba(0, 0, 0, 0.24);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.42), 0 4px 8px rgba(0, 0, 0, 0.28);
  }
}

/* Shared safe-area geometry. Only documents opting into viewport-fit=cover
   use safe-viewport; bottom navigation owns its own bottom inset. */
.safe-viewport {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
:root {
  --mobile-nav-height: 64px;
  --fact-size: var(--text-base);
  --fact-weight: var(--weight-semibold);
}

/* fonts (self-hosted in guide/assets/fonts) */
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-v19-latin-400-700.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* source: app/shared/web/base.css */
/*
 * WeCar public web base — shared look for PHP public pages (Guide hub,
 * Guide articles). Built into guide/assets/shared/wecar.css by
 * scripts/build-public-css.mjs together with editorial-tokens.css.
 *
 * Rules:
 * - Values come from the shared tokens only: var(--token). No colour
 *   literals here (guide/tests/shared_visual_contract.php enforces it).
 *   A missing value becomes a token in app/shared/editorial-tokens.css.
 * - Dark mode comes from the tokens; this file has no dark overrides.
 * - Components copy app/shared/ui until Phase 3 moves the Vue primitives
 *   onto this CSS: .wc-button = BaseButton (lg, primary/secondary),
 *   .wc-link = TextLink, .wc-card = SectionCard. Same token per role;
 *   scripts/check-component-parity.mjs fails when they drift.
 * - .wc-header / .wc-footer / drawer reproduce the site chrome
 *   (site/index.php) on the shared tokens.
 *
 * Authority: docs/06_ui/00_design_system/DESIGN.md §3–§7,
 *            editorial_surface_direction_v1.md §2–§4.
 */

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface-base);
  color: var(--ink-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--line-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ink-primary);
  font-family: var(--font-heading);
  font-weight: 560;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.4375rem, 3vw, 1.875rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.25rem;
  line-height: var(--line-tight);
}

a {
  color: var(--accent-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--ink-primary); }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Display-face lead: the opening paragraph sets the read in Geist. */
.wc-lead {
  color: var(--ink-secondary);
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2.4vw, 1.375rem);
  font-weight: 430;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* Air, not rules: a short Field Clay mark separates beats. */
hr {
  width: var(--space-12);
  height: 2px;
  margin: var(--space-10) 0;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--entry-clay);
}

blockquote {
  margin: var(--space-8) 0;
  padding: var(--space-5) var(--space-6);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-xs) var(--radius-card) var(--radius-card) var(--radius-xs);
  background: var(--entry-info-green);
  color: var(--ink-primary);
}

blockquote > :first-child { margin-top: 0; }
blockquote > :last-child { margin-bottom: 0; }

/* Tables: tonal header + soft row separators, no cell grid. */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-base);
  line-height: var(--line-snug);
}

th, td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  vertical-align: top;
}

thead th {
  background: var(--surface-elevated);
  color: var(--ink-primary);
  font-weight: var(--weight-bold);
}

thead th:first-child { border-top-left-radius: var(--radius-input); }
thead th:last-child { border-top-right-radius: var(--radius-input); }

tbody tr + tr td { border-top: 1px solid var(--border-subtle); }

/* ── Components ───────────────────────────────────────────────────────── */
.wc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--control-height-lg);
  padding: var(--space-2) var(--space-6);
  border: 1px solid var(--accent);
  border-radius: var(--radius-button);
  background: var(--accent);
  color: var(--ink-on-accent);
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  line-height: var(--line-snug);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast),
    opacity var(--transition-fast);
}

/* Color stays explicit on states: these are links, and a:hover would win. */
.wc-button:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  color: var(--ink-on-accent);
}

.wc-button:active {
  background: var(--accent-active);
  color: var(--ink-on-dark);
}

/* Secondary = BaseButton secondary. It has no pressed state of its own:
 * :active undoes the primary pressed teal, and :hover (later) still wins. */
.wc-button--secondary,
.wc-button--secondary:active {
  border-color: var(--border-default);
  background: var(--surface-card);
  color: var(--ink-primary);
}

.wc-button--secondary:hover {
  border-color: var(--border-strong);
  background: var(--surface-elevated);
  color: var(--ink-primary);
}

.wc-link {
  color: var(--accent-text);
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  text-decoration: none;
}

.wc-link:hover {
  color: var(--accent-text);
  text-decoration: underline;
}

.wc-card {
  padding: var(--card-padding);
  border-radius: var(--radius-card);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
}

.wc-card > :first-child { margin-top: 0; }
.wc-card > :last-child { margin-bottom: 0; }

.wc-callout {
  margin: var(--space-6) 0;
  padding: var(--space-4) var(--space-5);
  border-left: 3px solid var(--entry-clay);
  border-radius: var(--radius-xs) var(--radius-card) var(--radius-card) var(--radius-xs);
  background: var(--accent-bg);
  color: var(--ink-primary);
}

.wc-callout > :first-child { margin-top: 0; }
.wc-callout > :last-child { margin-bottom: 0; }

/* ── Site chrome (mirrors site/index.php header, drawer, footer) ──────── */
.wc-skip-link {
  position: absolute;
  top: -48px;
  left: var(--space-4);
  z-index: 10;
  padding: 10px var(--space-3);
  background: var(--ink-primary);
  color: var(--surface-base);
}

.wc-skip-link:focus { top: var(--space-3); }

.wc-header {
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid var(--border-default);
  background: color-mix(in srgb, var(--surface-base) 92%, transparent);
  backdrop-filter: blur(10px);
}

.wc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  max-width: var(--page-measure-browse);
  margin: 0 auto;
  padding: 18px var(--space-6);
}

.wc-brand {
  display: inline-flex;
  align-items: center;
  min-height: var(--control-height-sm);
  color: var(--ink-primary);
  font-weight: 760;
  letter-spacing: .01em;
  text-decoration: none;
}

.wc-brand:hover { color: var(--ink-primary); }

.wc-brand-logo {
  display: block;
  width: auto;
  height: 28px;
  max-width: 148px;
}

.wc-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.875rem;
}

.wc-menu a {
  color: var(--ink-secondary);
  text-decoration: none;
}

.wc-menu a[aria-current="page"],
.wc-menu a:hover { color: var(--ink-primary); }

.wc-menu a.wc-nav-primary {
  color: var(--accent-text);
  font-weight: 680;
}

.wc-menu a.wc-nav-primary:hover { color: var(--accent); }

.wc-lang-group {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 2px;
  padding-left: var(--space-4);
  border-left: 1px solid var(--border-default);
  font-size: 0.8125rem;
}

.wc-lang-group a,
.wc-lang-group .wc-lang-current {
  padding: 2px 0;
  color: var(--ink-secondary);
  text-decoration: none;
}

.wc-lang-group .wc-lang-current {
  color: var(--ink-primary);
  font-weight: var(--weight-semibold);
}

.wc-lang-group a:hover { color: var(--ink-primary); }

.wc-lang-sep {
  color: var(--border-default);
  user-select: none;
}

.wc-nav-toggle {
  display: none;
  padding: 6px;
  border: none;
  background: none;
  color: var(--ink-primary);
  font-size: 1.375rem;
  line-height: 1;
  cursor: pointer;
}

.wc-nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
}

.wc-nav-drawer.is-open { display: block; }

.wc-nav-drawer-overlay {
  position: absolute;
  inset: 0;
  background: var(--surface-overlay);
}

.wc-nav-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(280px, 85vw);
  padding: var(--space-6) 0;
  overflow-y: auto;
  background: var(--entry-deep-paper);
}

.wc-nav-drawer-close {
  align-self: flex-end;
  padding: 0 var(--space-5) var(--space-4);
  border: none;
  background: none;
  color: var(--ink-primary);
  font-size: 1.375rem;
  line-height: 1;
  cursor: pointer;
}

.wc-nav-drawer-links {
  display: flex;
  flex-direction: column;
}

.wc-nav-drawer-links a {
  padding: 13px var(--space-6);
  border-bottom: 1px solid var(--border-default);
  color: var(--ink-primary);
  font-size: 1rem;
  text-decoration: none;
}

.wc-nav-drawer-links a.wc-nav-primary {
  color: var(--accent-text);
  font-weight: var(--weight-bold);
}

.wc-nav-drawer-links a:hover { background: var(--surface-card); }

.wc-nav-drawer-lang { padding: var(--space-5) var(--space-6) 0; }

.wc-nav-drawer-lang-label {
  margin-bottom: 10px;
  color: var(--ink-secondary);
  font-size: 0.75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.wc-nav-drawer-lang-options {
  display: flex;
  gap: var(--space-2);
}

.wc-nav-drawer-lang-options a,
.wc-nav-drawer-lang-options span {
  padding: 6px 14px;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--ink-secondary);
  font-size: 0.875rem;
  font-weight: var(--weight-semibold);
  text-decoration: none;
}

.wc-nav-drawer-lang-options span {
  border-color: var(--accent);
  background: var(--entry-info-green);
  color: var(--accent-text);
}

.wc-nav-drawer-lang-options a:hover {
  border-color: var(--accent);
  color: var(--accent-text);
}

.wc-footer {
  padding: 30px var(--space-6) 52px;
  border-top: 1px solid var(--border-default);
}

.wc-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-6);
  max-width: var(--page-measure-browse);
  margin: 0 auto;
  color: var(--ink-secondary);
  font-size: 0.875rem;
}

.wc-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.wc-footer-links a {
  color: var(--ink-secondary);
  text-decoration: none;
}

.wc-footer-links a:hover { color: var(--ink-primary); }

@media (max-width: 720px) {
  .wc-nav {
    gap: 0;
    padding: 14px 18px;
  }

  .wc-menu,
  .wc-lang-group { display: none; }

  .wc-nav-toggle {
    display: flex;
    align-items: center;
  }

  .wc-brand-logo {
    height: 26px;
    max-width: 138px;
  }

  .wc-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .wc-footer-links { gap: 14px; }
}
