/*
 * Fluent design tokens in CSS so the first paint matches the values this
 * site's Fluent runtime writes. Type ramp sizes are the library defaults
 * (H1 is type-ramp plus 5: 32px / 40px; body is 14px / 20px). Corner radii
 * are unitless because components use them in calc(... * 1px). Color values
 * match the site's runtime tokens. Dark theme selectors cover a theme
 * attribute set before script. When Fluent applies a theme it sets these
 * same properties inline, which overrides this file.
 */
:root {
    color-scheme: light;
    --body-font: "Segoe UI Variable", "Segoe UI", sans-serif;
    --font-monospace: Consolas, "Courier New", "Liberation Mono", SFMono-Regular, Menlo, Monaco, monospace;
    --font-weight: 400;
    --design-unit: 4;
    --control-corner-radius: 4;
    --layer-corner-radius: 8;
    --stroke-width: 1;
    --focus-stroke-width: 2;
    --type-ramp-minus-2-font-size: 10px;
    --type-ramp-minus-2-line-height: 14px;
    --type-ramp-minus-2-font-variations: "wght" 400, "opsz" 8;
    --type-ramp-minus-1-font-size: 12px;
    --type-ramp-minus-1-line-height: 16px;
    --type-ramp-minus-1-font-variations: "wght" 400, "opsz" 8;
    --type-ramp-base-font-size: 14px;
    --type-ramp-base-line-height: 20px;
    --type-ramp-base-font-variations: "wght" 400, "opsz" 10.5;
    --type-ramp-plus-1-font-size: 16px;
    --type-ramp-plus-1-line-height: 22px;
    --type-ramp-plus-1-font-variations: "wght" 400, "opsz" 10.5;
    --type-ramp-plus-2-font-size: 20px;
    --type-ramp-plus-2-line-height: 26px;
    --type-ramp-plus-2-font-variations: "wght" 400, "opsz" 10.5;
    --type-ramp-plus-3-font-size: 24px;
    --type-ramp-plus-3-line-height: 32px;
    --type-ramp-plus-3-font-variations: "wght" 400, "opsz" 10.5;
    --type-ramp-plus-4-font-size: 28px;
    --type-ramp-plus-4-line-height: 36px;
    --type-ramp-plus-4-font-variations: "wght" 400, "opsz" 36;
    --type-ramp-plus-5-font-size: 32px;
    --type-ramp-plus-5-line-height: 40px;
    --type-ramp-plus-5-font-variations: "wght" 400, "opsz" 36;
    --type-ramp-plus-6-font-size: 40px;
    --type-ramp-plus-6-line-height: 52px;
    --type-ramp-plus-6-font-variations: "wght" 400, "opsz" 36;
    --neutral-base-color: #808080;
    --neutral-foreground-rest: #1a1a1a;
    --neutral-fill-layer-rest: #ffffff;
    --neutral-layer-4: #e0e0e0;
    --accent-fill-rest: #036ac4;
    --accent-fill-hover: #0473ce;
    --accent-fill-active: #0481e0;
    --accent-foreground-rest: #023b8f;
    --accent-foreground-hover: #012e7f;
    --accent-foreground-active: #0360b9;
    --highlight-bg: #fff3cd;
}

body[data-theme="dark"],
body[data-theme="system-dark"] {
    color-scheme: dark;
    --neutral-base-color: #808080;
    --neutral-foreground-rest: #ffffff;
    --neutral-fill-layer-rest: #1f1f1f;
    --neutral-layer-4: #141414;
    --accent-fill-rest: #036ac4;
    --accent-fill-hover: #0473ce;
    --accent-fill-active: #0481e0;
    --accent-foreground-rest: #023b8f;
    --accent-foreground-hover: #012e7f;
    --accent-foreground-active: #0360b9;
    --highlight-bg: #fff3cd;
}
