/* GENERATED FILE — DO NOT EDIT BY HAND.
 * Source: vendor/venuz-design/design-system/app/styles/venuz-foundation-tokens.css
 *         vendor/venuz-design/design-system/app/globals.css (triaged subset — TRD D3.5)
 * Generator: scripts/venuz-ds/build-tokens.mjs (scripts/venuz-ds/lib/transform-tokens.mjs)
 * ADR: docs/architecture-decisions/D-1084-venuz-ds-vendoring.md
 * Doctrine: docs/reference/ui/venuz-ds.md
 * Regenerate: node scripts/venuz-ds/build-tokens.mjs
 * Verify freshness: node scripts/venuz-ds/build-tokens.mjs --check
 */

/* >>> inlined from vendor/venuz-design/design-system/skins/venuz.css (local @import followed by build-tokens.mjs) */

/* ============================================================
   design-system/skins/venuz.css — DS.3b PR-1 (ADR D-037 §2.3, §Runbook).
   This is the skin: every literal value and every role -> ramp binding in
   the system lives here (moved verbatim from
   app/styles/venuz-foundation-tokens.css, now a 2-line @import shim, D6).
   A second project (DS.4) replaces this ONE file wholesale and satisfies
   design-system/skins/ROLES.txt's name set -- it never reads this file's
   ramp names (DS-D2). Structure (rules that are not values) lives in
   design-system/core/base.css instead.
   ============================================================ */

/* ============================================================
   VENUZ AI DESIGN SYSTEM — FOUNDATION TOKENS
   Brand: Venuz AI (venuz.ai)
   Brand: #F0B90B (yellow) | Grey: #0C0E12 → #F7F7F7
   Font: Poppins (display + body)
   Radius: dense operational scale (0–16px + round)

   DARK-ONLY. This single :root holds the RESOLVED dark theme
   (the old [data-theme="dark"] block, rebuilt with Venuz values
   by role). The light theme has been dropped.

   GREY IS FLIPPED (load-bearing — ~54 component files depend on it):
   --grey-1000 is the DARKEST (Primary BG), --grey-100 the LIGHTEST
   (Primary text). Accent families are NOT flipped: -5 darkest → -95
   lightest. Do not naively find/replace the grey ramp. See handoff §6.
   ============================================================ */

.vds-root {
  /* ========== COLORS ========== */

  /* --- Primary: brand yellow, hue 46 / sat 91% — #F0B90B pinned at -55 --- */
  /* NOT flipped: -5 darkest → -95 lightest */
  --primary-100: hsl(46, 91%, 95%);
  --primary-200: hsl(46, 91%, 85%);
  --primary-300: hsl(46, 91%, 75%);
  --primary-400: hsl(46, 91%, 65%);
  --primary-500: #F0B90B;
  --primary-600: hsl(46, 91%, 45%);
  --primary-700: hsl(46, 91%, 35%);
  --primary-800: hsl(46, 91%, 25%);
  --primary-900: hsl(46, 91%, 15%);
  --primary-1000: hsl(46, 91%, 5%);

  /* --- Secondary: Venuz Blue (= Info). No secondary brand supplied; --- */
  /* mapped to Blue so the family renders. Used by Badge/FAB/nav/Kanban. */
  --secondary-100: #EEF4FF;   /* Blue50  */
  --secondary-200: #B7D0FF;   /* Blue200 */
  --secondary-300: #92B6FF;   /* Blue300 */
  --secondary-400: #5288FF;   /* Blue400 — Info */
  --secondary-500: #4679E0;   /* Blue500 */
  --secondary-600: #3F67BA;   /* Blue600 */
  --secondary-700: #3B5CA0;   /* Blue700 */
  --secondary-800: #3B568A;   /* Blue800 */
  --secondary-900: #3B5179;   /* Blue900 */
  --secondary-1000:  #2F3B5C;   /* Blue1000 */

  /* --- Accent: brand yellow (= Primary). Buttons read --accent-*. --- */
  --accent-100: hsl(46, 91%, 95%);
  --accent-200: hsl(46, 91%, 85%);
  --accent-300: hsl(46, 91%, 75%);
  --accent-400: hsl(46, 91%, 65%);
  --accent-500: #F0B90B;
  --accent-600: hsl(46, 91%, 45%);
  --accent-700: hsl(46, 91%, 35%);
  --accent-800: hsl(46, 91%, 25%);
  --accent-900: hsl(46, 91%, 15%);
  --accent-1000: hsl(46, 91%, 5%);

  /* --- Grey: Venuz ramp, FLIPPED (-95 darkest → -5 lightest). See §6. --- */
  --grey-1000: #0C0E12;   /* Grey1000 — Primary BG         */
  --grey-900: #13161B;   /* Grey900  — Secondary BG        */
  --grey-800: #1A1D24;   /* Grey800  — Tertiary BG         */
  --grey-700: #22262F;   /* Grey700  — Secondary divider   */
  --grey-600: #363945;   /* Grey600  — Primary divider     */
  --grey-500: #61656C;   /* Grey500  — Placeholder/disabled */
  --grey-400: #85888E;   /* Grey400                        */
  --grey-300: #94979C;   /* Grey300                        */
  --grey-200: #CECFD2;   /* Grey200  — Secondary text      */
  --grey-100:  #F7F7F7;   /* Grey50   — Primary text        */

  /* --- Danger: Venuz Red, honest order (-5 darkest → -95 lightest) --- */
  --danger-100: #FEF3F2;   /* Red50   */
  --danger-200: #FCD1CC;   /* Red200  */
  --danger-300: #F9B0A8;   /* Red300  */
  --danger-400: #F48275;   /* Red400  */
  --danger-500: #EA5949;   /* Red500 — Error */
  --danger-600: #D63D2C;   /* Red600  */
  --danger-700: #B43021;   /* Red700  */
  --danger-800: #962B1F;   /* Red800  */
  --danger-900: #7C2920;   /* Red900  */
  --danger-1000:  #43120C;   /* Red1000 */

  /* --- Warning: amber, hue 32 / sat 80% — placeholder #E8912C at -55 --- */
  /* Deliberately distinct from brand yellow. Needs a real Venuz value (§10.2). */
  --warning-100: hsl(32, 80%, 95%);
  --warning-200: hsl(32, 80%, 85%);
  --warning-300: hsl(32, 80%, 75%);
  --warning-400: hsl(32, 80%, 65%);
  --warning-500: #E8912C;
  --warning-600: hsl(32, 80%, 45%);
  --warning-700: hsl(32, 80%, 35%);
  --warning-800: hsl(32, 80%, 25%);
  --warning-900: hsl(32, 80%, 15%);
  --warning-1000: hsl(32, 80%, 5%);

  /* --- Success: Venuz Green, honest order (-5 darkest → -95 lightest) --- */
  --success-100: #F2FBF6;   /* Green50   */
  --success-200: #ABECCF;   /* Green200  */
  --success-300: #76E0B1;   /* Green300  */
  --success-400: #3CCB7F;   /* Green400  */
  --success-500: #38B574;   /* Green500 — Success */
  --success-600: #359F6A;   /* Green600  */
  --success-700: #3C7E5C;   /* Green700  */
  --success-800: #2F6449;   /* Green800  */
  --success-900: #244E3A;   /* Green900  */
  --success-1000:  #1B3C2D;   /* Green1000 */

  /* --- Background Tokens --- */
  --bg-grey-darkest: var(--grey-1000);    /* Grey1000 #0C0E12 — Primary BG   */
  --bg-grey-dark: var(--grey-900);       /* Grey900  #13161B — Secondary BG */
  --bg-grey-light: var(--grey-800);      /* Grey800  #1A1D24 — Tertiary BG  */
  --bg-grey-lightest: var(--grey-700);   /* Grey700  #22262F — elevated     */

  --bg-accent-lightest: var(--accent-100);
  --bg-accent-light: var(--accent-200);
  --bg-accent-dark: var(--accent-700);
  --bg-accent-darkest: var(--accent-800);

  /* --- Typography Color Tokens --- */
  --text-heading: var(--grey-100);
  --text-body: var(--grey-200);
  --text-subtle: var(--grey-300);
  --text-disabled: var(--grey-500);   /* Grey500 — placeholder / disabled */
  --text-link: var(--accent-500);

  /* --- Data Visualization & Avatar Colors --- */
  /* 20 hues x 6 tones = 120 tokens */
  /* Hues: 0, 18, 36, 54, 72, 90, 108, 126, 144, 162, 180, 198, 216, 234, 252, 270, 288, 306, 324, 342 */
  /* S: 60%, L varies: 90%, 75%, 60%(base), 45%, 30%, 15% */

  --dataviz-1-1: hsl(0, 60%, 90%);
  --dataviz-1-2: hsl(0, 60%, 75%);
  --dataviz-1-3: hsl(0, 60%, 60%);
  --dataviz-1-4: hsl(0, 60%, 45%);
  --dataviz-1-5: hsl(0, 60%, 30%);
  --dataviz-1-6: hsl(0, 60%, 15%);

  --dataviz-2-1: hsl(18, 60%, 90%);
  --dataviz-2-2: hsl(18, 60%, 75%);
  --dataviz-2-3: hsl(18, 60%, 60%);
  --dataviz-2-4: hsl(18, 60%, 45%);
  --dataviz-2-5: hsl(18, 60%, 30%);
  --dataviz-2-6: hsl(18, 60%, 15%);

  --dataviz-3-1: hsl(36, 60%, 90%);
  --dataviz-3-2: hsl(36, 60%, 75%);
  --dataviz-3-3: hsl(36, 60%, 60%);
  --dataviz-3-4: hsl(36, 60%, 45%);
  --dataviz-3-5: hsl(36, 60%, 30%);
  --dataviz-3-6: hsl(36, 60%, 15%);

  --dataviz-4-1: hsl(54, 60%, 90%);
  --dataviz-4-2: hsl(54, 60%, 75%);
  --dataviz-4-3: hsl(54, 60%, 60%);
  --dataviz-4-4: hsl(54, 60%, 45%);
  --dataviz-4-5: hsl(54, 60%, 30%);
  --dataviz-4-6: hsl(54, 60%, 15%);

  --dataviz-5-1: hsl(72, 60%, 90%);
  --dataviz-5-2: hsl(72, 60%, 75%);
  --dataviz-5-3: hsl(72, 60%, 60%);
  --dataviz-5-4: hsl(72, 60%, 45%);
  --dataviz-5-5: hsl(72, 60%, 30%);
  --dataviz-5-6: hsl(72, 60%, 15%);

  --dataviz-6-1: hsl(90, 60%, 90%);
  --dataviz-6-2: hsl(90, 60%, 75%);
  --dataviz-6-3: hsl(90, 60%, 60%);
  --dataviz-6-4: hsl(90, 60%, 45%);
  --dataviz-6-5: hsl(90, 60%, 30%);
  --dataviz-6-6: hsl(90, 60%, 15%);

  --dataviz-7-1: hsl(108, 60%, 90%);
  --dataviz-7-2: hsl(108, 60%, 75%);
  --dataviz-7-3: hsl(108, 60%, 60%);
  --dataviz-7-4: hsl(108, 60%, 45%);
  --dataviz-7-5: hsl(108, 60%, 30%);
  --dataviz-7-6: hsl(108, 60%, 15%);

  --dataviz-8-1: hsl(126, 60%, 90%);
  --dataviz-8-2: hsl(126, 60%, 75%);
  --dataviz-8-3: hsl(126, 60%, 60%);
  --dataviz-8-4: hsl(126, 60%, 45%);
  --dataviz-8-5: hsl(126, 60%, 30%);
  --dataviz-8-6: hsl(126, 60%, 15%);

  --dataviz-9-1: hsl(144, 60%, 90%);
  --dataviz-9-2: hsl(144, 60%, 75%);
  --dataviz-9-3: hsl(144, 60%, 60%);
  --dataviz-9-4: hsl(144, 60%, 45%);
  --dataviz-9-5: hsl(144, 60%, 30%);
  --dataviz-9-6: hsl(144, 60%, 15%);

  --dataviz-10-1: hsl(162, 60%, 90%);
  --dataviz-10-2: hsl(162, 60%, 75%);
  --dataviz-10-3: hsl(162, 60%, 60%);
  --dataviz-10-4: hsl(162, 60%, 45%);
  --dataviz-10-5: hsl(162, 60%, 30%);
  --dataviz-10-6: hsl(162, 60%, 15%);

  --dataviz-11-1: hsl(180, 60%, 90%);
  --dataviz-11-2: hsl(180, 60%, 75%);
  --dataviz-11-3: hsl(180, 60%, 60%);
  --dataviz-11-4: hsl(180, 60%, 45%);
  --dataviz-11-5: hsl(180, 60%, 30%);
  --dataviz-11-6: hsl(180, 60%, 15%);

  --dataviz-12-1: hsl(198, 60%, 90%);
  --dataviz-12-2: hsl(198, 60%, 75%);
  --dataviz-12-3: hsl(198, 60%, 60%);
  --dataviz-12-4: hsl(198, 60%, 45%);
  --dataviz-12-5: hsl(198, 60%, 30%);
  --dataviz-12-6: hsl(198, 60%, 15%);

  --dataviz-13-1: hsl(216, 60%, 90%);
  --dataviz-13-2: hsl(216, 60%, 75%);
  --dataviz-13-3: hsl(216, 60%, 60%);
  --dataviz-13-4: hsl(216, 60%, 45%);
  --dataviz-13-5: hsl(216, 60%, 30%);
  --dataviz-13-6: hsl(216, 60%, 15%);

  --dataviz-14-1: hsl(234, 60%, 90%);
  --dataviz-14-2: hsl(234, 60%, 75%);
  --dataviz-14-3: hsl(234, 60%, 60%);
  --dataviz-14-4: hsl(234, 60%, 45%);
  --dataviz-14-5: hsl(234, 60%, 30%);
  --dataviz-14-6: hsl(234, 60%, 15%);

  --dataviz-15-1: hsl(252, 60%, 90%);
  --dataviz-15-2: hsl(252, 60%, 75%);
  --dataviz-15-3: hsl(252, 60%, 60%);
  --dataviz-15-4: hsl(252, 60%, 45%);
  --dataviz-15-5: hsl(252, 60%, 30%);
  --dataviz-15-6: hsl(252, 60%, 15%);

  --dataviz-16-1: hsl(270, 60%, 90%);
  --dataviz-16-2: hsl(270, 60%, 75%);
  --dataviz-16-3: hsl(270, 60%, 60%);
  --dataviz-16-4: hsl(270, 60%, 45%);
  --dataviz-16-5: hsl(270, 60%, 30%);
  --dataviz-16-6: hsl(270, 60%, 15%);

  --dataviz-17-1: hsl(288, 60%, 90%);
  --dataviz-17-2: hsl(288, 60%, 75%);
  --dataviz-17-3: hsl(288, 60%, 60%);
  --dataviz-17-4: hsl(288, 60%, 45%);
  --dataviz-17-5: hsl(288, 60%, 30%);
  --dataviz-17-6: hsl(288, 60%, 15%);

  --dataviz-18-1: hsl(306, 60%, 90%);
  --dataviz-18-2: hsl(306, 60%, 75%);
  --dataviz-18-3: hsl(306, 60%, 60%);
  --dataviz-18-4: hsl(306, 60%, 45%);
  --dataviz-18-5: hsl(306, 60%, 30%);
  --dataviz-18-6: hsl(306, 60%, 15%);

  --dataviz-19-1: hsl(324, 60%, 90%);
  --dataviz-19-2: hsl(324, 60%, 75%);
  --dataviz-19-3: hsl(324, 60%, 60%);
  --dataviz-19-4: hsl(324, 60%, 45%);
  --dataviz-19-5: hsl(324, 60%, 30%);
  --dataviz-19-6: hsl(324, 60%, 15%);

  --dataviz-20-1: hsl(342, 60%, 90%);
  --dataviz-20-2: hsl(342, 60%, 75%);
  --dataviz-20-3: hsl(342, 60%, 60%);
  --dataviz-20-4: hsl(342, 60%, 45%);
  --dataviz-20-5: hsl(342, 60%, 30%);
  --dataviz-20-6: hsl(342, 60%, 15%);


  /* ========== TYPOGRAPHY (M3 Type Scale) ========== */

  /* --- Font Families --- */
  --font-family-display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* --- Font Weights --- */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;

  /* --- Display (font-family-display) --- */
  --type-display-lg: 57px;
  --type-display-lg-lh: 64px;
  --type-display-lg-ls: -0.25px;
  --type-display-md: 45px;
  --type-display-md-lh: 52px;
  --type-display-md-ls: 0px;
  --type-display-sm: 36px;
  --type-display-sm-lh: 44px;
  --type-display-sm-ls: 0px;

  /* --- Headline (font-family-display) --- */
  --type-headline-lg: 32px;
  --type-headline-lg-lh: 40px;
  --type-headline-lg-ls: 0px;
  --type-headline-md: 28px;
  --type-headline-md-lh: 36px;
  --type-headline-md-ls: 0px;
  --type-headline-sm: 24px;
  --type-headline-sm-lh: 32px;
  --type-headline-sm-ls: 0px;

  /* --- Title (font-family-body) --- */
  --type-title-lg: 22px;
  --type-title-lg-lh: 28px;
  --type-title-lg-ls: 0px;
  --type-title-md: 16px;
  --type-title-md-lh: 24px;
  --type-title-md-ls: 0.15px;
  --type-title-sm: 14px;
  --type-title-sm-lh: 20px;
  --type-title-sm-ls: 0.1px;

  /* --- Subtitle (font-family-body) --- */
  /* 18px emphasis title — one notch above Title md (16px), below Title lg (22px).
     Card headers, section emphasis lines, and large setting-row titles.
     Pair with --font-weight-semibold at the call site. */
  --type-subtitle: 18px;
  --type-subtitle-lh: 24px;
  --type-subtitle-ls: 0px;

  /* --- Body (font-family-body) --- */
  --type-body-lg: 16px;
  --type-body-lg-lh: 24px;
  --type-body-lg-ls: 0.5px;
  --type-body-md: 14px;
  --type-body-md-lh: 20px;
  --type-body-md-ls: 0.25px;
  --type-body-sm: 12px;
  --type-body-sm-lh: 16px;
  --type-body-sm-ls: 0.4px;

  /* --- Label (font-family-body) --- */
  --type-label-lg: 14px;
  --type-label-lg-lh: 20px;
  --type-label-lg-ls: 0.1px;
  --type-label-md: 12px;
  --type-label-md-lh: 16px;
  --type-label-md-ls: 0.5px;
  --type-label-sm: 11px;
  --type-label-sm-lh: 16px;
  --type-label-sm-ls: 0.5px;

  /* --- Interaction State Layers --- */
  --state-hover: 0.08;
  --state-focus: 0.10;
  --state-pressed: 0.10;
  --state-dragged: 0.16;
  --state-selected: 0.15;
  --state-disabled-content: 0.38;
  --state-disabled-container: 0.12;

  /* Unified button hover state layers, applied on top of the base fill.
     Light-BG buttons (filled, tonal) darken with grey-1000 @ 12%; dark-BG buttons
     (secondary, outlined, text, elevated) lighten with grey-100 @ 8%. */
  --state-hover-on-light: rgb(12 14 18 / 0.12);    /* grey-1000 @ 12% */
  --state-hover-on-dark: rgb(247 247 247 / 0.08);  /* grey-100  @ 8%  */


  /* ========== SPACING ========== */
  /* Golden ratio (1.618) progression, snapped to 4px grid */

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-9: 36px;
  --space-10: 40px;
  --space-11: 44px;
  --space-18: 72px;
  --space-29: 116px;

  /* Side gutters on phones (≤640px, or a short touch screen) — Dexio, 2026-11-11:
     pages run 12px from the screen edge; sheets and modals keep a little more. */
  --gutter-phone: var(--space-3);
  --gutter-phone-sheet: var(--space-4);
  /* StoryCanvas play badge offset from the centre (2026-11-12 delivery): 0 by default; a host
     that lays buttons over a cropped preview sets it on an ancestor (Queue StoryTile). */
  --story-play-shift: 0px;
  /* KpiStrip hairlines and compact side padding (2026-11-18 delivery): a host on a tinted
     card (the gold rank card) sets them on an ancestor. Defaults = the values the strip used. */
  --kpi-rule: var(--border-color-default);
  --kpi-pad-x: var(--space-3);
  /* SectionNav pinned fill bleed (2026-11-18 delivery): the host pane's padding, 0 by default. */
  --section-nav-bleed: 0px;


  /* ========== CORNER RADIUS ========== */
  /* Dense operational scale (0–16px + round) */

  /* Dense operational scale */
  --radius-0: 0px;
  --radius-2: 2px;
  --radius-4: 4px;
  --radius-6: 6px;
  --radius-8: 8px;
  --radius-12: 12px;
  --radius-16: 16px;
  --radius-round: 999px;

  /* Semantic sizes used by components, mapped onto the scale above */
  --radius-s: var(--radius-6);        /* small — chips, inputs, tags */
  --radius-m: var(--radius-8);        /* default — buttons, cards */
  --radius-l: var(--radius-12);       /* large — modals, sheets, big surfaces */
  --radius-full: var(--radius-round); /* pills, avatars, badges */


  /* ========== SHADOWS & ELEVATIONS ========== */

  /* Dark-theme elevation is LIGHT-based. On a near-black canvas (#0C0E12) a
     black shadow has almost no room to darken, so it barely reads; a light
     value has huge contrast headroom. Shadow colour is therefore grey-100
     (#F7F7F7), exposed as a single named source and used at LOW opacity so it
     reads as a soft lift, never a neon glow. Higher level = a touch more alpha. */
  --shadow-color: 247 247 247;                        /* = grey-100 (#F7F7F7) */
  --elevation-edge: rgb(var(--shadow-color) / 0.08);  /* crisp top/leading rim-light */

  --shadow-0: none;
  --shadow-1: 0 1px 3px 0 rgb(var(--shadow-color) / 0.04);
  --shadow-2: 0 2px 8px -1px rgb(var(--shadow-color) / 0.05);
  --shadow-3: 0 6px 16px -2px rgb(var(--shadow-color) / 0.07);
  --shadow-4: 0 12px 28px -4px rgb(var(--shadow-color) / 0.09);
  --shadow-5: 0 20px 44px -6px rgb(var(--shadow-color) / 0.12);

  /* Directional fly-out — a left-edge panel that expands and floats over the
     content to its right (e.g. the hover-expand creator rail). Soft light lift
     to the right + a crisp rim-light on the leading edge. Transition it in with
     the size change: box-shadow var(--duration-normal) var(--ease-out). */
  --shadow-flyout: 12px 0 32px -6px rgb(var(--shadow-color) / 0.08), 1px 0 0 0 var(--elevation-edge);

  /* Z-INDEX — two-tier ladder (D8), skin-owned, order-isomorphic to the values
     this DS shipped before this ladder existed (no re-tiering, extension only).
     Containment assumption: a consumer's own root establishes a stacking
     context (`portalContainer`, venuzai/venuz-design#2 — TRD §13 v10 H5) with
     `isolation: isolate`, so this ladder's GLOBAL tier (10-10000) cannot
     escape the consumer's own tier even at its highest rung; a consumer that
     needs to re-tier overrides this whole block, in its own skin, touching no
     piece. */
  /* Local — inside one component's own stacking context */
  --z-below: -1;
  --z-base: 0;
  --z-card: 1;
  --z-raised: 2;
  --z-overlay-local: 3;
  --z-top: 4;
  --z-max: 5;
  --z-max-plus: 6;
  /* Global — the portal/overlay regime */
  --z-sticky: 10;
  --z-nav: 20;
  --z-sticky-header: 30;
  --z-dropdown: 50;
  --z-backdrop: 99;
  /* A full page pinned above the keyboard (EditorPage, keyboard up): under sheets and
     scrims (1000), over the app. Same value as its literal. */
  --z-page-pinned: 900;
  --z-scrim: 1000;
  --z-scrim-panel: 1001;
  --z-editor: 1100;
  --z-editor-panel: 1101;
  --z-lightbox: 2000;
  --z-dialog-scrim: 9998;
  --z-dialog: 9999;
  --z-flyout: 10000;
  /* Extension, 2026-09-30 sync (Dexio's Menu `portal` mode): a portalled menu sits
     above modals (9999) and dialogs/flyouts (10000), so a menu opened inside one
     still shows. One rung above --z-flyout, nothing re-tiered. */
  --z-menu: 10001;
  /* Extension, release/v0.5.0 (2026-10-28): Dexio's Chart tooltip sits above dialogs and
     their portalled menus (10002), and the DS Tooltip above every floating layer it can sit
     in — Modal, Select, a portalled Menu (10010). Same values as their literals. */
  --z-menu-above: 10002;
  --z-tooltip: 10010;


  /* ========== MOTION ========== */

  /* --- Durations --- */
  --duration-instant: 0ms;
  --duration-fast: 100ms;
  --duration-normal: 180ms;
  --duration-slow: 280ms;
  --duration-deliberate: 380ms;

  /* Overlays coming and going (Dexio 2026-11-23): a dialog fades and lifts in, and
     leaves quicker than it came; a phone sheet rises on a soft spring-like curve and
     sinks back. Exits are shorter, so closing never feels like waiting. */
  --duration-overlay-in: 240ms;   /* Modal / Dialog card */
  --duration-overlay-out: 160ms;
  --duration-panel-out: 200ms;    /* side sheet, drawer sliding away */
  --duration-sheet-in: 320ms;     /* phone bottom sheets */
  --duration-sheet-out: 220ms;

  /* --- Easing --- */
  --ease-linear: linear;
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-sharp: cubic-bezier(0.4, 0, 0.6, 1);
  /* A sheet rising: quick off the edge, settling gently (iOS-sheet-like). */
  --ease-sheet: cubic-bezier(0.32, 0.72, 0, 1);


  /* ========== BORDERS ========== */

  --border-width-default: 1px;
  --border-width-active: 2px;
  --border-color-default: var(--grey-700);
  --border-color-error: var(--danger-500);


  /* ========== SEMANTIC ALIASES (resolved dark, Venuz by role) ========== */

  /* --- Surface --- */
  --surface-primary: var(--grey-1000);    /* Grey1000 #0C0E12 — Primary BG   */
  --surface-secondary: var(--grey-900);  /* Grey900  #13161B — Secondary BG */
  --surface-tertiary: var(--grey-800);   /* Grey800  #1A1D24 — Tertiary BG  */
  --surface-inverse: var(--grey-100);     /* Grey50   #F7F7F7 — light chip    */

  /* --- Text --- */
  --text-primary: var(--grey-100);        /* Grey50   — Primary text   */
  --text-secondary: var(--grey-200);     /* Grey200  — Secondary text */
  --text-tertiary: var(--grey-300);      /* Grey300                   */
  --text-inverse: var(--grey-1000);       /* on light surfaces         */
  --text-accent: var(--accent-500);      /* brand yellow — 10.72:1 on Primary BG */
  --text-danger: var(--danger-500);      /* Red500   — 5.54:1 */
  --text-warning: var(--warning-500);    /* amber placeholder */
  --text-success: var(--success-500);    /* Green500 — 7.39:1 */

  /* --- Action (Buttons, Links) --- */
  --action-primary-bg: var(--accent-500);        /* brand yellow #F0B90B */
  --action-primary-text: var(--grey-1000);        /* Grey1000 — dark text on yellow (§9) */
  /* Foreground (text/icons) for ANY content sitting on the brand-yellow surface.
     Grey1000 for WCAG contrast — white on #F0B90B fails (~1.8:1). */
  --on-primary: var(--grey-1000);
  --action-primary-hover-bg: var(--accent-400);  /* lighter yellow on hover */
  --action-secondary-bg: var(--grey-800);
  --action-secondary-text: var(--grey-100);
  --action-secondary-hover-bg: var(--grey-700);
  --action-danger-bg: var(--danger-500);         /* Red500 */
  --action-danger-text: var(--grey-1000);         /* Grey1000 — dark text on Red500 (5.4:1, passes AA; white would fail) */
  --action-danger-hover-bg: var(--danger-600);   /* Red600 */
  --action-disabled-bg: var(--grey-800);
  --action-disabled-text: var(--grey-500);

  /* --- File-type icon colors (mapped to DS semantic hues) --- */
  --filetype-pdf: var(--danger-500);     /* red   — pdf */
  --filetype-doc: var(--secondary-500);  /* blue  — doc/docx */
  --filetype-sheet: var(--success-500);  /* green — xls/xlsx/csv */
  --filetype-image: var(--warning-500);  /* amber — png/jpg/jpeg/gif */

  /* --- Form Inputs --- */
  --input-bg: var(--grey-900);
  --input-text: var(--grey-100);
  --input-placeholder: var(--grey-500);          /* Grey500 */
  --input-border: var(--grey-700);
  --input-border-focus: var(--accent-500);       /* brand */
  --input-border-error: var(--danger-500);       /* Red500 */

  /* --- Cards --- */
  --card-bg: var(--grey-900);
  --card-border: var(--grey-800);
  --card-shadow: var(--shadow-1);

  /* --- Feedback (dark panel + light text; border at base tone) --- */
  --feedback-danger-bg: var(--danger-1000);        /* dark red panel  */
  --feedback-danger-text: var(--danger-300);     /* light red text  */
  --feedback-danger-border: var(--danger-500);
  --feedback-warning-bg: var(--warning-1000);
  --feedback-warning-text: var(--warning-300);
  --feedback-warning-border: var(--warning-500);
  --feedback-success-bg: var(--success-1000);
  --feedback-success-text: var(--success-300);
  --feedback-success-border: var(--success-500);
  --feedback-info-bg: var(--secondary-1000);       /* dark blue panel */
  --feedback-info-text: var(--secondary-300);    /* light blue text */
  --feedback-info-border: var(--secondary-500);

  /* --- Navigation --- */
  --nav-bg: var(--grey-1000);
  --nav-text: var(--grey-300);
  --nav-text-active: var(--accent-500);          /* brand */
  --nav-border: var(--grey-800);

  /* --- Overlay --- */
  --overlay-backdrop: color-mix(in srgb, var(--grey-1000) 70%, transparent);  /* Grey1000 @ 70% */

  /* === ROLES CONSUMED BY COMPONENTS AND PREVIOUSLY UNDEFINED (DS.3a, ADR D-037) === */
  /* Group A — provable no-op (resolves today via the component's own CSS fallback;
     defining it to exactly that fallback changes nothing). */
  --avatar-presence-ring: var(--surface-primary);  /* Avatar.module.css:75 — its own fallback */
  --badge-ring: var(--surface-primary);            /* Badge.module.css:41 — its own fallback */
  --chev-offset: 6px;                              /* TreeView.module.css:150 — its own fallback literal */
  --fanlist-width: 440px;                          /* FanList.module.css:10 — its own fallback literal */
  --surface-2: var(--surface-tertiary);            /* WebTopNav.module.css:324 fallback var(--grey-800) == --surface-tertiary above */
  --border-color-strong: var(--border-color-default); /* StickerPicker.module.css:57 — its own fallback (2026-09-30 sync) */
  /* Group A* — render-equivalent (none -> none), NOT intent-preserving at 5 of 7
     flat-state call sites (Button/IconButton hover lifts, Switch thumb rest);
     component-level fix (moving those 5 sites to --shadow-sm) is DS.3b's, §6 row. */
  --shadow-xs: var(--shadow-0);                    /* shadow-0: none; below --shadow-sm on the ladder */

  /* Group B — component-API slots always set inline; the root default is unreachable
     in the showcase. */
  --pin-color: var(--secondary-500);
  /* FanList avatar/spend column floor: a host sizes it once for the whole list (all rows aligned) on an
     ancestor; unset here = the 48px column. */
  --fanlist-avatar-col-min: 0px;   /* MapContainer.tsx:174 — the component's own inline default */
  --tag-color: var(--primary-500);     /* KanbanBoard.tsx:159 — always set inline from TAG_COLORS */

  /* Group C — resolved to NOTHING today (the declaration is invalid at computed-value
     time and is DROPPED); defining them CHANGES the render — the declared silent break,
     TRD §0.4b, owner DS.3a. Ladder: xs(0) < sm(1) < md(2) < lg(3), strict and monotonic. */
  --shadow-sm: var(--shadow-1);            /* --card-shadow: var(--shadow-1), the resting-card class; ladder position 2 of 4 */
  --shadow-md: var(--shadow-2);            /* the 4-use --shadow-2 raised-card class: ImageGallery:30, Carousel:71, KanbanBoard:131, MapContainer:121; ladder position 3 of 4 */
  --shadow-lg: var(--shadow-3);            /* --shadow-3 has 19 uses; the 9-use dropdown/popover/menu subset contains 4 of --shadow-lg's 6 users (Select, Combobox, ChipInput, DatePicker) */
  --font-family-heading: var(--font-family-display);  /* venuz-foundation-tokens.css:280 */
  --font-weight-bold: var(--font-weight-semibold);    /* :286 + globals.css:1 — Poppins ships 400;500;600 only, not 700 (no synthetic bold) */
  --grey-90: var(--grey-700);              /* :64 — the ramp's own "Secondary divider" step; the only use is a divider, Select.module.css:192 */
  /* === DS.3b PR-1 — SCALE_EXEMPT shrink {space,radius,shadow} -> {space}: === */
  /* the two shadow steps with no semantic name (D3). */
  --shadow-xl: var(--shadow-4);
  --shadow-xxl: var(--shadow-5);
  /* the four radius steps with no semantic name (D3); --radius-6/8/12/round
     already map to the existing --radius-{s,m,l,full} (257 reads, unchanged). */
  --radius-none: var(--radius-0);
  --radius-xxs: var(--radius-2);
  --radius-xs: var(--radius-4);
  --radius-xl: var(--radius-16);
  /* === DS.3b PR-1 — D6b: the scrollbar block's three literals become two roles === */
  /* 2026-10-27 delivery: no black/white palette — the thumb is the lightest grey, translucent. */
  --scrollbar-thumb: color-mix(in srgb, var(--grey-100) 24%, transparent);
  --scrollbar-thumb-hover: color-mix(in srgb, var(--grey-100) 40%, transparent);
  /* === DS.3b PR-1 — D2: the 79-row ramp -> role mapping's new names (46) === */
  --border-brand: var(--accent-500);
  --border-brand-soft: var(--accent-300);
  --border-brand-strong: var(--accent-600);
  --border-inverse: var(--grey-1000);
  --border-stronger: var(--grey-500);
  --border-strong: var(--grey-600);
  --border-subtle: var(--grey-900);
  --focus-ring: var(--accent-500);
  --focus-ring-muted: var(--grey-500);
  --focus-ring-soft: var(--accent-200);
  --focus-ring-softer: var(--accent-100);
  --shadow-ring-neutral: var(--grey-700);
  --surface-brand: var(--accent-500);
  --surface-brand-hover: var(--accent-400);
  --surface-brand-strong: var(--accent-600);
  --surface-inverse-soft: var(--grey-200);
  --surface-raised: var(--grey-600);
  --text-accent-dim: var(--accent-600);
  --text-faint: var(--grey-600);
  --text-inverse-soft: var(--grey-900);
  --text-muted: var(--grey-400);
  --text-on-accent-tint: var(--accent-800);
  --text-on-accent-tint-deep: var(--accent-900);
  --text-on-accent-tint-soft: var(--accent-700);
  --tone-danger-bg: var(--danger-500);
  --tone-danger-bg-deep: var(--danger-700);
  --tone-danger-border: var(--danger-500);
  --tone-danger-fg: var(--danger-500);
  --tone-danger-fg-strong: var(--danger-600);
  --tone-danger-fg-soft: var(--danger-400);  /* 2026-11-06 delivery: IconTile .tone-danger */
  --tone-secondary-bg: var(--secondary-500);
  --tone-secondary-bg-soft: var(--secondary-400);
  --tone-secondary-border: var(--secondary-500);
  --tone-secondary-fg: var(--secondary-500);
  --tone-secondary-fg-soft: var(--secondary-400);
  --tone-secondary-bg-deep: var(--secondary-700); /* 2026-10-27 delivery: PaymentCardCarousel steel hue */
  /* 2026-10-27 delivery — component knobs a consumer may override; the skin carries each one's
     default (the same value as the component's own fallback), so the role set stays closed. */
  --list-divider-color: var(--border-color-default);   /* List dividers */
  --tabs-sticky-bg: var(--surface-primary);             /* Tabs sticky bar */
  --tabs-sticky-top: 0;                                  /* Tabs sticky bar */
  --table-subrow-indent: calc(32px + var(--space-3));    /* Table sub-rows */
  --tone-primary-fg: var(--primary-500);
  --tone-primary-bg: var(--primary-500);       /* 2026-10-31 delivery: StackedBar .brand */
  --tone-primary-bg-deep: var(--primary-800);  /* 2026-10-31 delivery: StackedBar .brandDeep */
  --tone-success-fg-soft: var(--success-400);
  /* What a Table's rounded corners blend into; a consumer on another surface sets it nearer. */
  --table-surround: var(--surface-primary);
  --tone-success-bg-deep: var(--success-700);
  --tone-success-bg-strong: var(--success-600);
  --tone-success-bg: var(--success-500);
  --tone-success-border: var(--success-500);
  --tone-success-fg-strong: var(--success-600);
  --tone-success-fg: var(--success-500);
  --tone-warning-bg-deep: var(--warning-700);
  --tone-warning-bg-strong: var(--warning-600);
  --tone-warning-bg: var(--warning-500);
  --tone-warning-border: var(--warning-500);
  --tone-warning-fg-strong: var(--warning-600);
  --tone-warning-fg: var(--warning-500);

  /* === DS.3b PR-3 — D7: the icon family becomes a set of skin roles (8). Declarative —
     the render slot's default renderer (primitives/icon-family.tsx) still reads its numbers
     from ONE TS constant, never from these vars at render time (D7's "one size source"
     rejected reading the CSS box from JS); these roles are the documented, skin-owned
     description a second skin's icon family replaces wholesale, and they are
     byte-identical to what the default renderer already emits. */
  --icon-font-family: 'Material Symbols Rounded';
  --icon-weight-default: 300;
  --icon-fill-default: 0;
  --icon-size-xs: 16px;
  --icon-size-sm: 20px;
  --icon-size-md: 24px;
  --icon-size-lg: 32px;
  --icon-size-xl: 48px;
}

/* ========== RESPONSIVE TYPOGRAPHY ========== */

/* Display roles scale down on smaller screens. Body/Title/Label stay fixed. */

/* Small: up to 640px — Display ~70% */

@media (max-width: 640px) {
  .vds-root {
    --type-display-lg: 40px;
    --type-display-lg-lh: 48px;
    --type-display-md: 32px;
    --type-display-md-lh: 38px;
    --type-display-sm: 25px;
    --type-display-sm-lh: 32px;
    --type-headline-lg: 24px;
    --type-headline-lg-lh: 30px;
    --type-headline-md: 22px;
    --type-headline-md-lh: 28px;
    --type-headline-sm: 20px;
    --type-headline-sm-lh: 26px;
  }
}

/* Medium: 641px to 1024px — Display ~85% */

@media (min-width: 641px) and (max-width: 1024px) {
  .vds-root {
    --type-display-lg: 48px;
    --type-display-lg-lh: 56px;
    --type-display-md: 38px;
    --type-display-md-lh: 44px;
    --type-display-sm: 30px;
    --type-display-sm-lh: 38px;
    --type-headline-lg: 28px;
    --type-headline-lg-lh: 34px;
  }
}

/* X-Large: 1441px+ — Display ~110% */

@media (min-width: 1441px) {
  .vds-root {
    --type-display-lg: 63px;
    --type-display-lg-lh: 70px;
    --type-display-md: 50px;
    --type-display-md-lh: 57px;
    --type-display-sm: 40px;
    --type-display-sm-lh: 48px;
  }
}

/* <<< end vendor/venuz-design/design-system/skins/venuz.css */

/* >>> inlined from vendor/venuz-design/design-system/core/base.css (local @import followed by build-tokens.mjs) */

/* ============================================================
   design-system/core/base.css — DS.3b PR-1 (ADR D-037 §2.3, D6).
   STRUCTURE, not values: every declaration here reads a ROLE (defined by
   the active skin, design-system/skins/venuz.css or its successor) —
   never a literal, never a ramp/scale name. Moved verbatim from
   app/styles/venuz-foundation-tokens.css (scrollbar / reduced-motion /
   global-overrides blocks); the scrollbar block's three rgba literals
   became two roles instead (--scrollbar-thumb / --scrollbar-thumb-hover,
   D6b) so this file stays literal-free.
   ============================================================ */

/* ========== SCROLLBAR ========== */

.vds-root, .vds-root * {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) transparent;
}

.vds-root::-webkit-scrollbar, .vds-root *::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.vds-root::-webkit-scrollbar-track, .vds-root *::-webkit-scrollbar-track {
  background: transparent;
}

.vds-root::-webkit-scrollbar-thumb, .vds-root *::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 9999px;
}

@media (hover: hover) {
  .vds-root::-webkit-scrollbar-thumb:hover, .vds-root *::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
  }
}

/* ========== REDUCED MOTION ========== */

@media (prefers-reduced-motion: reduce) {
  .vds-root, .vds-root *, .vds-root *::before, .vds-root *::after {
    --duration-instant: 0ms;
    --duration-fast: 0ms;
    --duration-normal: 0ms;
    --duration-slow: 0ms;
    --duration-deliberate: 0ms;
    animation-duration: 0ms !important;
    transition-duration: 0ms !important;
  }

  /* Overlays still fade (120ms) rather than popping: no slide or scale, just opacity,
       so where something came from stays clear. Attribute selectors outrank `*`, so these
       beat the 0ms above. `data-overlay-motion` marks each overlay's moving parts (card,
       sheet, backdrop); `data-closing` sits on the overlay while it plays its exit. */

  .vds-root [data-overlay-motion] {
    animation: vz-overlay-fade-in 120ms linear both !important;
  }

  .vds-root [data-closing] [data-overlay-motion], .vds-root [data-overlay-motion][data-closing] {
    animation: vz-overlay-fade-out 120ms linear both !important;
  }
}

/* ========== GLOBAL OVERRIDES ========== */

/* No underline on links */

.vds-root a, .vds-root a:focus, .vds-root a:active, .vds-root a:visited {
  text-decoration: none;
  cursor: pointer;
}

@media (hover: hover) {
  .vds-root a:hover {
    text-decoration: none;
    cursor: pointer;
  }
}

/* Disabled = dead */

:where(.vds-root [disabled], .vds-root [aria-disabled="true"], .vds-root .disabled) {
  pointer-events: none;
  opacity: 0.45;
  cursor: default;
}

/* Base body */

.vds-root {
  font-family: var(--font-family-body);
  font-size: var(--type-body-lg);
  line-height: var(--type-body-lg-lh);
  letter-spacing: var(--type-body-lg-ls);
  font-weight: var(--font-weight-regular);
  color: var(--text-primary);
  background-color: var(--surface-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* <<< end vendor/venuz-design/design-system/core/base.css */

@keyframes vz-overlay-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes vz-overlay-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* One keyboard-focus ring for everything — the DS gold the components use, never the
   browser's default blue. `:where` keeps it at zero specificity, so a component's own
   focus style (its ring, or `outline: none` on an input inside a framed field) always
   wins, whatever order the stylesheets load in. */

/* ported from globals.css (D3.5) */
:where(.vds-root :focus-visible) {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Material Symbols defaults */

/* ported from globals.css (D3.5) */
.vds-root .material-symbols-rounded {
  font-variation-settings:
    'FILL' 0,
    'wght' 300,
    'GRAD' 0,
    'opsz' 24;
}

/* ===== Scrollbar: the thumb lifts while its container is hovered =====
   With scrollbar-width/scrollbar-color set, Chrome ignores ::-webkit-scrollbar-thumb:hover, so the thumb never
   changed. The container's :hover lifts it to --scrollbar-thumb-hover; :active is left alone. */
.vds-root:hover, .vds-root :hover {
  scrollbar-color: var(--scrollbar-thumb-hover) transparent;
}

.vds-root:hover::-webkit-scrollbar-thumb, .vds-root :hover::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb-hover);
}

/* ===== Containment + placement contract (TRD D3.4 / ADR D-1084) =====
   isolation+position create ONE stacking context for the whole DS subtree.
   NO z-index here on purpose: each .vds-root mount site declares its own
   canonical 100-900 tier on the same element. Mount at the app-shell root,
   never inside <main> (web/src/index.css:273 animates `main > *` with a
   transform, which would become the containing block for DS position:fixed
   overlays). Contract: docs/reference/ui/venuz-ds.md. */
.vds-root {
  isolation: isolate;
  position: relative;
}

/* ===== Controls letter-spacing reset (venuz-ds-of-browser-fiel R4; ficha venuz-ds-recinto-typography-leaks) =====
   Tailwind's preflight gives form controls `letter-spacing: inherit`, so every DS button and input inherited the
   recinto's 0.5px body letter-spacing; Dexio (no preflight) keeps the browser's `normal`. Unlayered (beats the
   preflight's @layer base) and zero-specificity root (:where): any DS module class that sets its own still wins. */
:where(.vds-root) :is(button, input, select, optgroup, textarea) {
  letter-spacing: normal;
}
