/* Mica, the low-distraction material (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#364) are none: the UI Lab gives
   Mica's header and navigation no shadow of their own. */

:root[data-dw-material="mica"] {
    --dw-color-action: #176ca4;
    --dw-color-action-rgb: 23,108,164;
    --dw-color-action-hover: #0f5989;
    --dw-color-action-tint: #e6f1f8;
    --dw-color-action-tint-border: #b8c6ce;
    --dw-color-focus-ring: rgba(23,105,170,.25);
    --dw-color-canvas: #eef2f5;
    --dw-canvas-image: radial-gradient(circle at 80% 12%, rgba(89,153,184,.12), transparent 34%),
        linear-gradient(135deg, #edf2f4, #f4f5f6 50%, #e9eff2);
    --dw-surface-rgb: 251,252,253;
    --dw-surface-alpha: 1;
    --dw-surface-raised-rgb: 244,247,249;
    --dw-surface-raised-alpha: 1;
    --dw-surface-subdued-rgb: 232,237,241;
    --dw-surface-subdued-alpha: 1;
    --dw-bar-rgb: 246,249,251;
    --dw-bar-alpha: .94;
    --dw-nav-rgb: 229,237,242;
    --dw-nav-alpha: .88;
    --dw-nav-selected-rgb: 217,233,244;
    --dw-nav-selected-alpha: 1;
    --dw-color-text: #202b33;
    --dw-color-text-rgb: 32,43,51;
    --dw-color-text-muted: #596a76;
    --dw-color-text-muted-rgb: 89,106,118;
    /* Text on the canvas (Web#421): the smallest OKLCH lightness step that
       passes against the worst canvas sample. Muted 4.34, action 4.38 before. */
    --dw-canvas-text-muted: #566773;
    --dw-canvas-action: #146aa2;
    --dw-color-text-subtle: #7a8993;
    --dw-color-text-disabled: #7a8993;
    --dw-color-text-disabled-rgb: 122,137,147;
    --dw-color-border: #d7e0e5;
    --dw-color-border-subtle: #d7e0e5;
    --dw-color-border-muted: #d7e0e5;
    --dw-color-border-strong: #b8c6ce;
    --dw-color-divider-rgb: 184,198,206;
    --dw-color-text-on-bar: #202b33;
    --dw-shadow-surface: 0 8px 24px rgba(46,67,79,.10);
    --dw-shadow-bar: none;
    --dw-shadow-nav: none;
    --dw-radius-sm: 7px;
    --dw-radius-md: 7px;
    --dw-radius-lg: 7px;
    --dw-blur-surface: 28px;
    --dw-blur-control: 0px;
    --dw-saturation: 125%;
}

:root[data-dw-material="mica"][data-dw-mode="dark"] {
    --dw-color-action: #69b9e8;
    --dw-color-action-rgb: 105,185,232;
    --dw-color-action-hover: #8dccf0;
    --dw-color-action-tint: #243e4f;
    --dw-color-action-tint-border: #50606a;
    --dw-color-focus-ring: rgba(23,105,170,.25);
    --dw-color-canvas: #151b20;
    --dw-canvas-image: radial-gradient(circle at 80% 12%, rgba(70,139,171,.1), transparent 34%),
        linear-gradient(135deg, #151c20, #1b2024 50%, #151d21);
    --dw-surface-rgb: 32,39,44;
    --dw-surface-alpha: 1;
    --dw-surface-raised-rgb: 37,46,52;
    --dw-surface-raised-alpha: 1;
    --dw-surface-subdued-rgb: 48,58,65;
    --dw-surface-subdued-alpha: 1;
    --dw-bar-rgb: 25,32,37;
    --dw-bar-alpha: .94;
    --dw-nav-rgb: 28,37,43;
    --dw-nav-alpha: .92;
    --dw-nav-selected-rgb: 40,72,91;
    --dw-nav-selected-alpha: 1;
    --dw-color-text: #eff4f6;
    --dw-color-text-rgb: 239,244,246;
    --dw-color-text-muted: #b7c3ca;
    --dw-color-text-muted-rgb: 183,195,202;
    /* 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: #909fa8;
    --dw-color-text-disabled: #909fa8;
    --dw-color-text-disabled-rgb: 144,159,168;
    --dw-color-border: #364249;
    --dw-color-border-subtle: #364249;
    --dw-color-border-muted: #364249;
    --dw-color-border-strong: #50606a;
    --dw-color-divider-rgb: 80,96,106;
    --dw-color-text-on-bar: #ffffff;
    --dw-shadow-surface: 0 10px 28px rgba(0,0,0,.28);
    --dw-shadow-bar: none;
    --dw-shadow-nav: none;
    --dw-radius-sm: 7px;
    --dw-radius-md: 7px;
    --dw-radius-lg: 7px;
    --dw-blur-surface: 28px;
    --dw-blur-control: 0px;
    --dw-saturation: 125%;
}
