/* Brass — a theme for the sample screen.
 *
 * WHAT THIS FILE IS. 46 Material colour roles - 28 standard,
 * 12 fixed (the group that holds the same value in both schemes),
 * 3 inverse and 3 extras - for light and dark, generated from ONE seed
 * colour: #b9962e, which is OKLCH hue 89.4 and chroma 0.124.
 * Under the roles, the five tonal palettes they were cut from.
 *
 * HOW TO USE IT. Link it, then paint with the role names and never with a
 * value:  background: var(--surface-container-high);  color: var(--on-surface);
 * Dark mode is already here, under both prefers-color-scheme and
 * [data-theme="dark"], so a person can follow the system or override it.
 *
 * HOW IT WAS MADE. Material's own method: five key colours by manipulating
 * the seed's hue and chroma (primary and the neutrals hold the hue, tertiary
 * rotates +60 degrees, each key takes a fixed chroma), a tonal palette per
 * key at tones 0-100 in tens plus 95, 98 and 99, then a tone assigned per
 * role per mode. TONE IS CIE L*, solved for, not an OKLCH lightness
 * relabelled — which is why the contrast figures below are identical in every
 * theme in this gallery. WHERE WE DIFFER: Material reads hue and chroma
 * through HCT, which is CAM16; this is OKLCH. Tone is the same quantity in
 * both and is comparable. Hue and chroma are not, and no HCT number is
 * printed anywhere. See _notes/COLOUR-THEMES.md.
 *
 * @theme brass | Yellows | seed #b9962e | hue 89.4 | chroma 0.124
 * @roles 46
 * @pair --on-primary --primary 4.5
 * @pair --on-primary-container --primary-container 4.5
 * @pair --on-secondary --secondary 4.5
 * @pair --on-secondary-container --secondary-container 4.5
 * @pair --on-tertiary --tertiary 4.5
 * @pair --on-tertiary-container --tertiary-container 4.5
 * @pair --on-error --error 4.5
 * @pair --on-error-container --error-container 4.5
 * @pair --on-surface --surface 4.5
 * @pair --on-surface-variant --surface-container-high 4.5
 * @pair --outline --surface 3
 * @pair --inverse-on-surface --inverse-surface 4.5
 * @pair --inverse-primary --inverse-surface 4.5
 * @pair --on-primary-fixed --primary-fixed 4.5
 * @pair --on-primary-fixed-variant --primary-fixed 4.5
 * @pair --on-secondary-fixed --secondary-fixed 4.5
 * @pair --on-secondary-fixed-variant --secondary-fixed 4.5
 * @pair --on-tertiary-fixed --tertiary-fixed 4.5
 * @pair --on-tertiary-fixed-variant --tertiary-fixed 4.5
 *
 * Generated by _build/themes.mjs on 2026-10-25. Do not hand-edit: change the
 * seed or the role table and rebuild, or the page and the file will disagree.
 */

:root {
  color-scheme: light dark;

  --primary: oklch(48.37% 0.099 89.42);
  --on-primary: oklch(100% 0 89.42);
  --primary-container: oklch(91.35% 0.0448 89.42);
  --on-primary-container: oklch(22.46% 0.0448 89.42);
  --secondary: oklch(48.27% 0.0442 89.42);
  --on-secondary: oklch(100% 0 89.42);
  --secondary-container: oklch(91.36% 0.0199 89.42);
  --on-secondary-container: oklch(22.41% 0.0199 89.42);
  --tertiary: oklch(47.54% 0.0664 149.42);
  --on-tertiary: oklch(100% 0 149.42);
  --tertiary-container: oklch(91.03% 0.0299 149.42);
  --on-tertiary-container: oklch(22.09% 0.0299 149.42);
  --error: oklch(50.37% 0.1724 25);
  --on-error: oklch(100% 0 25);
  --error-container: oklch(91.84% 0.0417 25);
  --on-error-container: oklch(23.36% 0.0776 25);
  --surface: oklch(98.27% 0.004 89.42);
  --surface-dim: oklch(88.78% 0.0087 89.42);
  --surface-bright: oklch(98.27% 0.004 89.42);
  --on-surface: oklch(22.41% 0.0075 89.42);
  --on-surface-variant: oklch(39.64% 0.0191 89.42);
  --surface-container-lowest: oklch(100% 0 89.42);
  --surface-container-low: oklch(96.55% 0.0049 89.42);
  --surface-container: oklch(94.82% 0.0058 89.42);
  --surface-container-high: oklch(93.1% 0.0066 89.42);
  --surface-container-highest: oklch(91.38% 0.0075 89.42);
  --outline: oklch(56.89% 0.0236 89.42);
  --outline-variant: oklch(82.75% 0.015 89.42);
  --inverse-surface: oklch(31.02% 0.0112 89.42);
  --inverse-on-surface: oklch(95.69% 0.0053 89.42);
  --inverse-primary: oklch(82.75% 0.0675 89.42);
  --surface-variant: oklch(91.36% 0.01 89.42);
  --scrim: oklch(0% 0 89.42);
  --shadow: oklch(0% 0 89.42);
  --primary-fixed: oklch(91.35% 0.0448 89.42);
  --primary-fixed-dim: oklch(82.75% 0.0675 89.42);
  --on-primary-fixed: oklch(22.46% 0.0448 89.42);
  --on-primary-fixed-variant: oklch(39.73% 0.0814 89.42);
  --secondary-fixed: oklch(91.36% 0.0199 89.42);
  --secondary-fixed-dim: oklch(82.74% 0.03 89.42);
  --on-secondary-fixed: oklch(22.41% 0.0199 89.42);
  --on-secondary-fixed-variant: oklch(39.65% 0.0382 89.42);
  --tertiary-fixed: oklch(91.03% 0.0299 149.42);
  --tertiary-fixed-dim: oklch(82.25% 0.045 149.42);
  --on-tertiary-fixed: oklch(22.09% 0.0299 149.42);
  --on-tertiary-fixed-variant: oklch(39.01% 0.0573 149.42);

  /* primary */
  --p-0: oklch(0% 0 89.42);
  --p-10: oklch(22.46% 0.0448 89.42);
  --p-20: oklch(31.09% 0.0638 89.42);
  --p-30: oklch(39.73% 0.0814 89.42);
  --p-40: oklch(48.37% 0.099 89.42);
  --p-50: oklch(56.99% 0.1062 89.42);
  --p-60: oklch(65.57% 0.0995 89.42);
  --p-70: oklch(74.14% 0.086 89.42);
  --p-80: oklch(82.75% 0.0675 89.42);
  --p-90: oklch(91.35% 0.0448 89.42);
  --p-95: oklch(95.66% 0.0321 89.42);
  --p-98: oklch(98.26% 0.0216 89.42);
  --p-99: oklch(99.12% 0.0108 89.42);
  --p-100: oklch(100% 0 89.42);

  /* secondary */
  --s-0: oklch(0% 0 89.42);
  --s-10: oklch(22.41% 0.0199 89.42);
  --s-20: oklch(31.04% 0.03 89.42);
  --s-30: oklch(39.65% 0.0382 89.42);
  --s-40: oklch(48.27% 0.0442 89.42);
  --s-50: oklch(56.89% 0.0472 89.42);
  --s-60: oklch(65.5% 0.0442 89.42);
  --s-70: oklch(74.12% 0.0382 89.42);
  --s-80: oklch(82.74% 0.03 89.42);
  --s-90: oklch(91.36% 0.0199 89.42);
  --s-95: oklch(95.67% 0.0143 89.42);
  --s-98: oklch(98.27% 0.0107 89.42);
  --s-99: oklch(99.12% 0.0095 89.42);
  --s-100: oklch(100% 0 89.42);

  /* tertiary */
  --t-0: oklch(0% 0 149.42);
  --t-10: oklch(22.09% 0.0299 149.42);
  --t-20: oklch(30.54% 0.045 149.42);
  --t-30: oklch(39.01% 0.0573 149.42);
  --t-40: oklch(47.54% 0.0664 149.42);
  --t-50: oklch(56.1% 0.0708 149.42);
  --t-60: oklch(64.77% 0.0664 149.42);
  --t-70: oklch(73.49% 0.0573 149.42);
  --t-80: oklch(82.25% 0.045 149.42);
  --t-90: oklch(91.03% 0.0299 149.42);
  --t-95: oklch(95.44% 0.0214 149.42);
  --t-98: oklch(98.09% 0.016 149.42);
  --t-99: oklch(98.98% 0.0142 149.42);
  --t-100: oklch(100% 0 149.42);

  /* neutral */
  --n-0: oklch(0% 0 89.42);
  --n-10: oklch(22.41% 0.0075 89.42);
  --n-20: oklch(31.02% 0.0112 89.42);
  --n-30: oklch(39.64% 0.0143 89.42);
  --n-40: oklch(48.27% 0.0166 89.42);
  --n-50: oklch(56.89% 0.0177 89.42);
  --n-60: oklch(65.5% 0.0166 89.42);
  --n-70: oklch(74.12% 0.0143 89.42);
  --n-80: oklch(82.75% 0.0112 89.42);
  --n-90: oklch(91.38% 0.0075 89.42);
  --n-95: oklch(95.69% 0.0053 89.42);
  --n-98: oklch(98.27% 0.004 89.42);
  --n-99: oklch(99.13% 0.0035 89.42);
  --n-100: oklch(100% 0 89.42);

  /* neutral-variant */
  --nv-0: oklch(0% 0 89.42);
  --nv-10: oklch(22.41% 0.01 89.42);
  --nv-20: oklch(31.02% 0.015 89.42);
  --nv-30: oklch(39.64% 0.0191 89.42);
  --nv-40: oklch(48.27% 0.0221 89.42);
  --nv-50: oklch(56.89% 0.0236 89.42);
  --nv-60: oklch(65.5% 0.0221 89.42);
  --nv-70: oklch(74.12% 0.0191 89.42);
  --nv-80: oklch(82.75% 0.015 89.42);
  --nv-90: oklch(91.36% 0.01 89.42);
  --nv-95: oklch(95.69% 0.0071 89.42);
  --nv-98: oklch(98.27% 0.0053 89.42);
  --nv-99: oklch(99.13% 0.0047 89.42);
  --nv-100: oklch(100% 0 89.42);

  /* error */
  --e-0: oklch(0% 0 25);
  --e-10: oklch(23.36% 0.0776 25);
  --e-20: oklch(32.45% 0.1169 25);
  --e-30: oklch(41.47% 0.1489 25);
  --e-40: oklch(50.37% 0.1724 25);
  --e-50: oklch(59.11% 0.184 25);
  --e-60: oklch(67.56% 0.1724 25);
  --e-70: oklch(75.82% 0.1444 25);
  --e-80: oklch(83.78% 0.0893 25);
  --e-90: oklch(91.84% 0.0417 25);
  --e-95: oklch(95.92% 0.0202 25);
  --e-98: oklch(98.36% 0.0079 25);
  --e-99: oklch(99.18% 0.0039 25);
  --e-100: oklch(100% 0 25);
}

/* dark, by the system's own preference — unless the page has pinned light */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary: oklch(82.75% 0.0675 89.42);
    --on-primary: oklch(31.09% 0.0638 89.42);
    --primary-container: oklch(39.73% 0.0814 89.42);
    --on-primary-container: oklch(91.35% 0.0448 89.42);
    --secondary: oklch(82.74% 0.03 89.42);
    --on-secondary: oklch(31.04% 0.03 89.42);
    --secondary-container: oklch(39.65% 0.0382 89.42);
    --on-secondary-container: oklch(91.36% 0.0199 89.42);
    --tertiary: oklch(82.25% 0.045 149.42);
    --on-tertiary: oklch(30.54% 0.045 149.42);
    --tertiary-container: oklch(39.01% 0.0573 149.42);
    --on-tertiary-container: oklch(91.03% 0.0299 149.42);
    --error: oklch(83.78% 0.0893 25);
    --on-error: oklch(32.45% 0.1169 25);
    --error-container: oklch(41.47% 0.1489 25);
    --on-error-container: oklch(91.84% 0.0417 25);
    --surface: oklch(18.8% 0.0058 89.42);
    --surface-dim: oklch(18.8% 0.0058 89.42);
    --surface-bright: oklch(34.47% 0.0126 89.42);
    --on-surface: oklch(91.38% 0.0075 89.42);
    --on-surface-variant: oklch(82.75% 0.015 89.42);
    --surface-container-lowest: oklch(16.42% 0.0049 89.42);
    --surface-container-low: oklch(22.41% 0.0075 89.42);
    --surface-container: oklch(24.13% 0.0083 89.42);
    --surface-container-high: oklch(28.44% 0.0102 89.42);
    --surface-container-highest: oklch(32.75% 0.0119 89.42);
    --outline: oklch(65.5% 0.0221 89.42);
    --outline-variant: oklch(39.64% 0.0191 89.42);
    --inverse-surface: oklch(91.38% 0.0075 89.42);
    --inverse-on-surface: oklch(31.02% 0.0112 89.42);
    --inverse-primary: oklch(48.37% 0.099 89.42);
    --surface-variant: oklch(39.64% 0.0191 89.42);
    --scrim: oklch(0% 0 89.42);
    --shadow: oklch(0% 0 89.42);
    --primary-fixed: oklch(91.35% 0.0448 89.42);
    --primary-fixed-dim: oklch(82.75% 0.0675 89.42);
    --on-primary-fixed: oklch(22.46% 0.0448 89.42);
    --on-primary-fixed-variant: oklch(39.73% 0.0814 89.42);
    --secondary-fixed: oklch(91.36% 0.0199 89.42);
    --secondary-fixed-dim: oklch(82.74% 0.03 89.42);
    --on-secondary-fixed: oklch(22.41% 0.0199 89.42);
    --on-secondary-fixed-variant: oklch(39.65% 0.0382 89.42);
    --tertiary-fixed: oklch(91.03% 0.0299 149.42);
    --tertiary-fixed-dim: oklch(82.25% 0.045 149.42);
    --on-tertiary-fixed: oklch(22.09% 0.0299 149.42);
    --on-tertiary-fixed-variant: oklch(39.01% 0.0573 149.42);
  }
}

/* dark, pinned by the page */
:root[data-theme="dark"] {
  --primary: oklch(82.75% 0.0675 89.42);
  --on-primary: oklch(31.09% 0.0638 89.42);
  --primary-container: oklch(39.73% 0.0814 89.42);
  --on-primary-container: oklch(91.35% 0.0448 89.42);
  --secondary: oklch(82.74% 0.03 89.42);
  --on-secondary: oklch(31.04% 0.03 89.42);
  --secondary-container: oklch(39.65% 0.0382 89.42);
  --on-secondary-container: oklch(91.36% 0.0199 89.42);
  --tertiary: oklch(82.25% 0.045 149.42);
  --on-tertiary: oklch(30.54% 0.045 149.42);
  --tertiary-container: oklch(39.01% 0.0573 149.42);
  --on-tertiary-container: oklch(91.03% 0.0299 149.42);
  --error: oklch(83.78% 0.0893 25);
  --on-error: oklch(32.45% 0.1169 25);
  --error-container: oklch(41.47% 0.1489 25);
  --on-error-container: oklch(91.84% 0.0417 25);
  --surface: oklch(18.8% 0.0058 89.42);
  --surface-dim: oklch(18.8% 0.0058 89.42);
  --surface-bright: oklch(34.47% 0.0126 89.42);
  --on-surface: oklch(91.38% 0.0075 89.42);
  --on-surface-variant: oklch(82.75% 0.015 89.42);
  --surface-container-lowest: oklch(16.42% 0.0049 89.42);
  --surface-container-low: oklch(22.41% 0.0075 89.42);
  --surface-container: oklch(24.13% 0.0083 89.42);
  --surface-container-high: oklch(28.44% 0.0102 89.42);
  --surface-container-highest: oklch(32.75% 0.0119 89.42);
  --outline: oklch(65.5% 0.0221 89.42);
  --outline-variant: oklch(39.64% 0.0191 89.42);
  --inverse-surface: oklch(91.38% 0.0075 89.42);
  --inverse-on-surface: oklch(31.02% 0.0112 89.42);
  --inverse-primary: oklch(48.37% 0.099 89.42);
  --surface-variant: oklch(39.64% 0.0191 89.42);
  --scrim: oklch(0% 0 89.42);
  --shadow: oklch(0% 0 89.42);
  --primary-fixed: oklch(91.35% 0.0448 89.42);
  --primary-fixed-dim: oklch(82.75% 0.0675 89.42);
  --on-primary-fixed: oklch(22.46% 0.0448 89.42);
  --on-primary-fixed-variant: oklch(39.73% 0.0814 89.42);
  --secondary-fixed: oklch(91.36% 0.0199 89.42);
  --secondary-fixed-dim: oklch(82.74% 0.03 89.42);
  --on-secondary-fixed: oklch(22.41% 0.0199 89.42);
  --on-secondary-fixed-variant: oklch(39.65% 0.0382 89.42);
  --tertiary-fixed: oklch(91.03% 0.0299 149.42);
  --tertiary-fixed-dim: oklch(82.25% 0.045 149.42);
  --on-tertiary-fixed: oklch(22.09% 0.0299 149.42);
  --on-tertiary-fixed-variant: oklch(39.01% 0.0573 149.42);
}
