/* Glass, the flagship, and its Indigo variant (F50 V2, Web#362). GENERATED from the Web#361 baseline tables
   (reference 2f6e7a6); a value changes only through review on Web#361.

   A material sets roles and nothing else: colours, the channels and alpha of
   the surfaces v2.css composes, radius, shadow, blur and saturation. No rule
   here selects a component; placement is v2.css's. The light block applies
   under the material attribute alone and the dark block adds data-dw-mode,
   which ThemeProvider writes from AppearanceState -- the one light/dark source.
   Linked with media="screen", so print never sees a material.

   --dw-shadow-bar and --dw-shadow-nav (Web#363) are the shell's depth: the
   header's and the navigation's shadows, transcribed from the approved UI Lab
   (docs/ui-v2/ui-lab/styles.css, the Glass .app-header and .side-nav rules),
   which #361's tables do not list. Indigo inherits them, as it does in the Lab. */

:root[data-dw-material="glass"] {
    --dw-color-action: #176f9f;
    --dw-color-action-rgb: 23,111,159;
    --dw-color-action-hover: #0d5b88;
    --dw-color-action-tint: rgba(214,242,250,.62);
    --dw-color-action-tint-border: rgba(80,125,145,.34);
    --dw-color-focus-ring: rgba(50,156,197,.25);
    --dw-color-canvas: #dfeef4;
    --dw-canvas-image: radial-gradient(circle at 13% 15%, rgba(78,194,218,.48), transparent 27%),
        radial-gradient(circle at 84% 25%, rgba(98,129,224,.32), transparent 31%),
        radial-gradient(circle at 62% 92%, rgba(60,190,158,.28), transparent 32%),
        linear-gradient(135deg, #d8edf2 0%, #e9edf8 47%, #d8eee8 100%);
    --dw-surface-rgb: 255,255,255;
    --dw-surface-alpha: .58;
    --dw-surface-raised-rgb: 250,253,255;
    --dw-surface-raised-alpha: .42;
    --dw-surface-subdued-rgb: 222,239,246;
    --dw-surface-subdued-alpha: .55;
    --dw-bar-rgb: 12,37,52;
    --dw-bar-alpha: .68;
    --dw-nav-rgb: 239,249,252;
    --dw-nav-alpha: .48;
    --dw-nav-selected-rgb: 255,255,255;
    --dw-nav-selected-alpha: .62;
    --dw-color-text: #132b38;
    --dw-color-text-rgb: 19,43,56;
    /* Owner decision on Web#363, 2026-11-06, (a): muted (was #496574, 4.14:1 on the navigation) text darkened by the
       smallest OKLCH lightness step that passes 4.5:1 everywhere it sits. */
    --dw-color-text-muted: #445f6e;
    --dw-color-text-muted-rgb: 68,95,110;
    /* Text on the canvas (Web#421): the smallest OKLCH lightness step that
       passes against the worst canvas sample. Muted 3.18, action 2.59, action strong 3.44 before. */
    --dw-canvas-text-muted: #2e4857;
    --dw-canvas-action: #004876;
    --dw-canvas-action-hover: #004874;
    --dw-color-text-subtle: #6d8591;
    --dw-color-text-disabled: #6d8591;
    --dw-color-text-disabled-rgb: 109,133,145;
    --dw-color-border: rgba(255,255,255,.72);
    --dw-color-border-subtle: rgba(255,255,255,.72);
    --dw-color-border-muted: rgba(255,255,255,.72);
    --dw-color-border-strong: rgba(80,125,145,.34);
    --dw-color-divider-rgb: 80,125,145;
    --dw-color-text-on-bar: #ffffff;
    /* Header muted text: 84% of the header text, not 72% (Web#363 (a)); 3.82:1 -> 4.55:1. */
    --dw-bar-muted-mix: 84%;
    --dw-shadow-surface: 0 14px 38px rgba(34,78,98,.16), inset 0 1px 0 rgba(255,255,255,.58);
    --dw-shadow-bar: 0 8px 28px rgba(26,68,85,.14);
    --dw-shadow-nav: 8px 0 30px rgba(28,72,90,.08);
    --dw-radius-sm: 12px;
    --dw-radius-md: 12px;
    --dw-radius-lg: 12px;
    --dw-blur-surface: 22px;
    --dw-blur-control: 12px;
    --dw-saturation: 145%;
}

:root[data-dw-material="glass"][data-dw-mode="dark"] {
    --dw-color-action: #70d2f2;
    --dw-color-action-rgb: 112,210,242;
    --dw-color-action-hover: #9ce1f7;
    --dw-color-action-tint: rgba(36,112,139,.42);
    --dw-color-action-tint-border: rgba(151,213,233,.30);
    --dw-color-focus-ring: rgba(50,156,197,.25);
    --dw-color-canvas: #08141d;
    --dw-canvas-image: radial-gradient(circle at 12% 13%, rgba(26,139,178,.28), transparent 30%),
        radial-gradient(circle at 88% 22%, rgba(63,73,174,.28), transparent 34%),
        radial-gradient(circle at 62% 92%, rgba(16,113,88,.22), transparent 32%),
        linear-gradient(135deg, #07141d 0%, #11172a 48%, #071c1b 100%);
    --dw-surface-rgb: 19,39,52;
    --dw-surface-alpha: .62;
    --dw-surface-raised-rgb: 28,52,66;
    --dw-surface-raised-alpha: .48;
    --dw-surface-subdued-rgb: 45,78,92;
    --dw-surface-subdued-alpha: .52;
    --dw-bar-rgb: 5,18,27;
    --dw-bar-alpha: .68;
    --dw-nav-rgb: 8,25,35;
    --dw-nav-alpha: .54;
    --dw-nav-selected-rgb: 66,149,179;
    --dw-nav-selected-alpha: .24;
    --dw-color-text: #edf9fc;
    --dw-color-text-rgb: 237,249,252;
    --dw-color-text-muted: #b2ccd6;
    --dw-color-text-muted-rgb: 178,204,214;
    /* Dark mode passes on its canvas with the everyday roles (Web#421); restated
       so the light block's canvas values do not reach it. */
    --dw-canvas-text-muted: var(--dw-color-text-muted);
    --dw-canvas-action: var(--dw-color-action);
    --dw-canvas-action-hover: var(--dw-color-action-hover);
    --dw-color-text-subtle: #88a9b6;
    --dw-color-text-disabled: #88a9b6;
    --dw-color-text-disabled-rgb: 136,169,182;
    --dw-color-border: rgba(171,223,239,.18);
    --dw-color-border-subtle: rgba(171,223,239,.18);
    --dw-color-border-muted: rgba(171,223,239,.18);
    --dw-color-border-strong: rgba(151,213,233,.30);
    --dw-color-divider-rgb: 151,213,233;
    --dw-color-text-on-bar: #ffffff;
    --dw-bar-muted-mix: 72%;
    --dw-shadow-surface: 0 18px 44px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08);
    --dw-shadow-bar: 0 8px 28px rgba(26,68,85,.14);
    --dw-shadow-nav: 8px 0 30px rgba(28,72,90,.08);
    --dw-radius-sm: 12px;
    --dw-radius-md: 12px;
    --dw-radius-lg: 12px;
    --dw-blur-surface: 22px;
    --dw-blur-control: 12px;
    --dw-saturation: 145%;
}

/* GLASS INDIGO WAS HERE, and went with Azure #937 (owner, 2026-11-20). Two blocks,
   light and dark, overriding the action, canvas and focus-ring roles for
   :root[data-dw-material="glass"][data-dw-variant="indigo"]. Glass Default is the
   only Glass there is now.

   The variant ATTRIBUTE is still written -- see AppearanceVariants, which keeps one
   value so a brand variant can return without a contract change -- so a future
   variant adds a block here and nothing else. */
