/* Common.UI theme: Universal Access Management */
:root {
  --cui-default-mode: system;
  --cui-mode-locked: 0;
  --radius-xs: 6px;
  --radius-sm: 9px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --font-sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-2xs: 11px;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 22px;
  --text-2xl: 28px;
  --text-3xl: 36px;
  --text-4xl: 48px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --control-h-sm: 32px;
  --control-h-md: 36px;
  --control-h-lg: 44px;
}
:root,
:root[data-theme="light"],
[data-theme-scope="light"] {
  color-scheme: light;
  --cui-neutral-1: #fbfcfb;
  --cui-neutral-2: #f6f8f6;
  --cui-neutral-3: #eef0ee;
  --cui-neutral-4: #e7eae8;
  --cui-neutral-5: #e3e8e5;
  --cui-neutral-6: #d6ddd9;
  --cui-neutral-7: #ccd0cd;
  --cui-neutral-8: #b2b8b5;
  --cui-neutral-9: #87908c;
  --cui-neutral-10: #6f7974;
  --cui-neutral-11: #5e6b64;
  --cui-neutral-12: #22312b;
  --cui-brand-1: #fbfcfc;
  --cui-brand-2: #f6f8f7;
  --cui-brand-3: #edf1ef;
  --cui-brand-4: #e2e9e5;
  --cui-brand-5: #d7e0db;
  --cui-brand-6: #c4d2cb;
  --cui-brand-7: #a7bcb1;
  --cui-brand-8: #7a998a;
  --cui-brand-9: #47735d;
  --cui-brand-10: #3d6350;
  --cui-brand-11: #3c5f4e;
  --cui-brand-12: #314b3f;
  --cui-red-3: #fcefec;
  --cui-red-6: #f0c4ba;
  --cui-red-9: #b9452f;
  --cui-red-11: #a23b27;
  --cui-amber-3: #fff6e0;
  --cui-amber-6: #efd28f;
  --cui-amber-9: #b7841c;
  --cui-amber-11: #845c0c;
  --cui-blue-3: #edf1f9;
  --cui-blue-6: #c4d1ea;
  --cui-blue-9: #486fbe;
  --cui-blue-11: #4063a1;
  --cui-violet-3: #f3f0fa;
  --cui-violet-6: #d6cdec;
  --cui-violet-9: #5e4a9c;
  --cui-violet-11: #5e4a9c;
  --cui-surface: #ffffff;
  --cui-on-solid: #ffffff;
  --cui-overlay: rgb(24 33 29 / 0.42);
  --bg-canvas: #f6f8f6;
  --bg-surface: #ffffff;
  --bg-subtle: #fbfcfb;
  --bg-muted: #eef0ee;
  --bg-hover: #e7eae8;
  --bg-pressed: #e3e8e5;
  --bg-selected: #edf1ef;
  --bg-accent: #47735d;
  --bg-accent-hover: #3d6350;
  --bg-accent-soft: #e2e9e5;
  --bg-accent-muted: #a7bcb1;
  --bg-inverse: #314b3f;
  --bg-overlay: rgb(24 33 29 / 0.42);
  --text-strong: #141d1a;
  --text: #22312b;
  --text-muted: #5e6b64;
  --text-subtle: #6f7974;
  --text-accent: #3c5f4e;
  --text-link: #486fbe;
  --text-on-accent: #ffffff;
  --text-on-inverse: #fbfcfc;
  --border-subtle: #e3e8e5;
  --border: #d6ddd9;
  --border-strong: #ccd0cd;
  --border-control: #87908c;
  --border-accent: #7a998a;
  --focus-ring: #7a998a;
  --success-bg: #edf1ef;
  --success-border: #c4d2cb;
  --success-text: #3c5f4e;
  --success-solid: #47735d;
  --warning-bg: #fff6e0;
  --warning-border: #efd28f;
  --warning-text: #845c0c;
  --warning-solid: #b7841c;
  --danger-bg: #fcefec;
  --danger-border: #f0c4ba;
  --danger-text: #a23b27;
  --danger-solid: #b9452f;
  --info-bg: #edf1f9;
  --info-border: #c4d1ea;
  --info-text: #4063a1;
  --info-solid: #486fbe;
  --violet-bg: #f3f0fa;
  --violet-border: #d6cdec;
  --violet-text: #5e4a9c;
  --shadow-xs: 0 1px 2px rgb(20 30 25 / 0.06);
  --shadow-sm: 0 1px 3px rgb(20 30 25 / 0.08), 0 1px 2px rgb(20 30 25 / 0.04);
  --shadow-md: 0 8px 20px -6px rgb(20 36 28 / 0.14);
  --shadow-lg: 0 28px 64px -16px rgb(16 32 24 / 0.32);
  --viz-1: #138a52;
  --viz-2: #2a78d6;
  --viz-3: #eb6834;
  --viz-4: #6250d6;
  --viz-5: #eda100;
  --viz-6: #e87ba4;
  --viz-other: #b2b8b5;
  --viz-grid: #e7eae8;
  --viz-axis: #ccd0cd;
}
:root[data-theme="dark"],
[data-theme-scope="dark"] {
  color-scheme: dark;
  --cui-neutral-1: #101725;
  --cui-neutral-2: #151e2f;
  --cui-neutral-3: #1b2230;
  --cui-neutral-4: #212836;
  --cui-neutral-5: #263145;
  --cui-neutral-6: #34435b;
  --cui-neutral-7: #3e4552;
  --cui-neutral-8: #565c69;
  --cui-neutral-9: #747b87;
  --cui-neutral-10: #888e9b;
  --cui-neutral-11: #a9b6cc;
  --cui-neutral-12: #eaf0fb;
  --cui-brand-1: #202c42;
  --cui-brand-2: #26334a;
  --cui-brand-3: #2d3b54;
  --cui-brand-4: #354560;
  --cui-brand-5: #3e4f6c;
  --cui-brand-6: #495c7c;
  --cui-brand-7: #586e92;
  --cui-brand-8: #708ab3;
  --cui-brand-9: #a6c9ff;
  --cui-brand-10: #b1cfff;
  --cui-brand-11: #bad5fe;
  --cui-brand-12: #d9e6fc;
  --cui-red-3: #2a1714;
  --cui-red-6: #5c2a21;
  --cui-red-9: #c4553e;
  --cui-red-11: #f0a594;
  --cui-amber-3: #2a2010;
  --cui-amber-6: #5a4519;
  --cui-amber-9: #c99a35;
  --cui-amber-11: #e8c27a;
  --cui-blue-3: #363954;
  --cui-blue-6: #5f567c;
  --cui-blue-9: #e8b8ff;
  --cui-blue-11: #e8c3fe;
  --cui-violet-3: #261f38;
  --cui-violet-6: #463a66;
  --cui-violet-9: #8b7bd1;
  --cui-violet-11: #c4b6ec;
  --cui-surface: #192438;
  --cui-on-solid: #141f1a;
  --cui-green-3: #18291f;
  --cui-green-6: #284735;
  --cui-green-9: #3f7a58;
  --cui-green-11: #8cc4a2;
  --cui-overlay: rgb(0 0 0 / 0.6);
  --bg-canvas: #101725;
  --bg-surface: #192438;
  --bg-subtle: #151e2f;
  --bg-muted: #1b2230;
  --bg-hover: #212836;
  --bg-pressed: #263145;
  --bg-selected: #354560;
  --bg-accent: #a6c9ff;
  --bg-accent-hover: #b1cfff;
  --bg-accent-soft: #354560;
  --bg-accent-muted: #586e92;
  --bg-inverse: #d9e6fc;
  --bg-overlay: rgb(0 0 0 / 0.6);
  --text-strong: #f2f6fd;
  --text: #eaf0fb;
  --text-muted: #a9b6cc;
  --text-subtle: #888e9b;
  --text-accent: #bad5fe;
  --text-link: #e8b8ff;
  --text-on-accent: #141f1a;
  --text-on-inverse: #202c42;
  --border-subtle: #263145;
  --border: #34435b;
  --border-strong: #3e4552;
  --border-control: #747b87;
  --border-accent: #708ab3;
  --focus-ring: #bad5fe;
  --success-bg: #18291f;
  --success-border: #284735;
  --success-text: #8cc4a2;
  --success-solid: #3f7a58;
  --warning-bg: #2a2010;
  --warning-border: #5a4519;
  --warning-text: #e8c27a;
  --warning-solid: #c99a35;
  --danger-bg: #2a1714;
  --danger-border: #5c2a21;
  --danger-text: #f0a594;
  --danger-solid: #c4553e;
  --info-bg: #363954;
  --info-border: #5f567c;
  --info-text: #e8c3fe;
  --info-solid: #e8b8ff;
  --violet-bg: #261f38;
  --violet-border: #463a66;
  --violet-text: #c4b6ec;
  --shadow-xs: 0 1px 2px rgb(0 0 0 / 0.3);
  --shadow-sm: 0 1px 3px rgb(0 0 0 / 0.35), 0 1px 2px rgb(0 0 0 / 0.2);
  --shadow-md: 0 10px 24px -8px rgb(0 0 0 / 0.5);
  --shadow-lg: 0 28px 64px -16px rgb(0 0 0 / 0.65);
  --viz-1: #22a065;
  --viz-2: #3987e5;
  --viz-3: #d95926;
  --viz-4: #9085e9;
  --viz-5: #c98500;
  --viz-6: #d55181;
  --viz-other: #565c69;
  --viz-grid: #212836;
  --viz-axis: #3e4552;
}
