/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 * Copyright © 2026 Marcel Rymenhout and IniqDash contributors */
/* ==========================================================================
   The EDITOR in light colours (Editor appearance: Light / Follow system — the editor's More menu; stored in this browser).
   GENERATED by tools/build-editor-light.mjs from assets/css/tokens.css — do not edit by hand.
   Only the editor's own interface changes: the dashboard, its popups and every dashboard / widget preview keep the dashboard's
   colours (the second rule: the complete default set again; a dashboard theme's own values are set on those surfaces and win anyway).
   ========================================================================== */
html[data-ui="light"] {
  color-scheme: light;
  --page-bg: #eef0f4;
  --page-bg-darker: #e4e7ec;
  --page-bg-lighter: #f6f7f9;
  --nav-bg: #ffffff;
  --surface-primary: #ffffff;
  --surface-primary-top: #ffffff;
  --surface-secondary: #f3f4f7;
  --surface-tertiary: #e9ecf1;
  --surface-interactive: #e2e6ec;
  --surface-active: var(--accent-soft);
  --border-primary: rgba(17, 24, 39, .13);
  --border-subtle: rgba(17, 24, 39, .08);
  --edge-highlight: rgba(255, 255, 255, .9);
  --text-primary: #151820;
  --text-secondary: #4b5263;
  --text-muted: #5c6270;
  --accent: #ec6408;
  --accent-hot: #d9530a;
  --accent-on: #1a0e04;
  --accent-soft: rgba(236, 100, 8, .12);
  --accent-line: rgba(236, 100, 8, .4);
  --success: #17804a;
  --warning: #8a5d00;
  --danger: #c4291c;
  --info: #1769b3;
  --cool: #38c9ee;
  --purple: #a88bff;
  --solar: #ffc233;
  --neutral: #6f707a;
  --light-warm: #ffb347;
  --light-hot: #fff0d2;
  --heat-warm: #ff8a2a;
  --heat-hot: #ff4a1c;
  --shadow-primary: 0 1px 2px rgba(16, 24, 40, .06), 0 10px 26px -14px rgba(16, 24, 40, .2);
  --shadow-secondary: 0 0 0 1px var(--border-subtle);
  --shadow-icon: 0 1px 2px rgba(16, 24, 40, .08) inset;
  --device-surface-top: #ffffff;
  --device-surface-mid: #fafbfc;
  --device-surface-bottom: #f3f4f7;
  --device-surface: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .03), transparent 60%),
    linear-gradient(165deg, var(--device-surface-top) 0%, var(--device-surface-mid) 55%, var(--device-surface-bottom) 100%);
  --card-border: rgba(17, 24, 39, .08);
  --device-shadow: inset 0 1px 0 rgba(255, 255, 255, .06),
    inset 0 0 0 1px var(--card-border),
    0 12px 26px -16px rgba(0, 0, 0, .85);
  --control-well: #eef0f4;
  --control-well-shadow: inset 0 1px 2px rgba(16, 24, 40, .08), inset 0 0 0 1px rgba(17, 24, 39, .06);
  --control-raised: linear-gradient(180deg, #ffffff, #eef0f4);
  --focus-ring: 2px solid var(--focus, var(--accent));
  --disabled-opacity: .4;
  --unavailable-opacity: .45;
  --hit-min: 40px;
  --dur-press: .12s;
  --dur-fast: .2s;
  --dur-medium: .3s;
  --dur-slow: .4s;
  --ease: ease;
  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-container: 20px;
  --radius-subcontainer: 16px;
  --radius-widget: 14px;
  --radius-device: 16px;
  --radius-pill: 999px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 14px;
  --space-lg: 20px;
  --space-xl: 28px;
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-title: 17px;
  --fs-title-secondary: 14.5px;
  --fs-subtitle: 12px;
  --fs-status: 11.5px;
  --fs-body: 13px;
  --iq-fw-display: 700;
  --iq-fw-title: 700;
  --iq-fw-subtitle: 500;
  --iq-fw-body: 500;
  --iq-fw-control: 700;
  --iq-fw-status: 600;
  --iq-fw-caption: 600;
  --iq-fs-caption: 11.5px;
  --iq-fs-micro: 11px;
  --iq-ls-caps: .06em;
  --icon-size: 42px;
  --icon-size-secondary: 32px;
  --iq-bg-app: var(--page-bg);
  --iq-bg-nav: var(--nav-bg);
  --iq-surface: var(--surface-primary);
  --iq-surface-elevated: var(--surface-tertiary);
  --iq-surface-interactive: var(--surface-interactive);
  --iq-surface-active: var(--accent-soft);
  --iq-border: var(--border-primary);
  --iq-text: var(--text-primary);
  --iq-text-2: var(--text-secondary);
  --iq-text-muted: var(--text-muted);
  --iq-accent: var(--accent);
  --iq-state-ok: var(--success);
  --iq-state-warn: var(--warning);
  --iq-state-danger: var(--danger);
  --iq-state-cool: var(--cool);
  --iq-state-heat: var(--heat-warm);
  --iq-state-idle: var(--neutral);
  --grid-row: 40px;
  --grid-gap: 16px;
  --grid-gap-compact: 12px;
}
html[data-ui="light"] :is(.ed-frame, .ecfg-tile__pv, .mscr, [data-theme-scope], .sbs__pv, .sbs__pvstage, .ed-sbthumb, .iqsg__pv, .ed-mframe, .ed-cornerlayer) {
  color-scheme: dark;
  --page-bg: #0b0b0d;
  --page-bg-darker: #070708;
  --page-bg-lighter: #131316;
  --nav-bg: #0e0e10;
  --surface-primary: #17171a;
  --surface-primary-top: #1d1d21;
  --surface-secondary: #111113;
  --surface-tertiary: #242428;
  --surface-interactive: #2b2b30;
  --surface-active: var(--accent-soft);
  --border-primary: rgba(255, 255, 255, .08);
  --border-subtle: rgba(255, 255, 255, .045);
  --edge-highlight: rgba(255, 255, 255, .06);
  --text-primary: #f1f1f3;
  --text-secondary: #a9aab3;
  --text-muted: #878891;
  --accent: #ff7a1a;
  --accent-hot: #ff5a14;
  --accent-on: #1a0e04;
  --accent-soft: rgba(255, 122, 26, .16);
  --accent-line: rgba(255, 122, 26, .38);
  --success: #34d17c;
  --warning: #ffc233;
  --danger: #ff4d4f;
  --info: #3ba7ff;
  --cool: #38c9ee;
  --purple: #a88bff;
  --solar: #ffc233;
  --neutral: #6f707a;
  --light-warm: #ffb347;
  --light-hot: #fff0d2;
  --heat-warm: #ff8a2a;
  --heat-hot: #ff4a1c;
  --shadow-primary: 0 1px 0 var(--edge-highlight) inset, 0 14px 30px -18px rgba(0, 0, 0, .85), 0 1px 3px rgba(0, 0, 0, .35);
  --shadow-secondary: 0 1px 3px rgba(0, 0, 0, .5) inset, 0 0 0 1px var(--border-subtle);
  --shadow-icon: 0 2px 4px rgba(0, 0, 0, .5) inset;
  --device-surface-top: #1e1e22;
  --device-surface-mid: #17171a;
  --device-surface-bottom: #131315;
  --device-surface: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .03), transparent 60%),
    linear-gradient(165deg, var(--device-surface-top) 0%, var(--device-surface-mid) 55%, var(--device-surface-bottom) 100%);
  --card-border: rgba(255, 255, 255, .04);
  --device-shadow: inset 0 1px 0 rgba(255, 255, 255, .06),
    inset 0 0 0 1px var(--card-border),
    0 12px 26px -16px rgba(0, 0, 0, .85);
  --control-well: #0d0d0f;
  --control-well-shadow: inset 0 2px 5px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .045);
  --control-raised: linear-gradient(180deg, #38383e, #26262b);
  --focus-ring: 2px solid var(--focus, var(--accent));
  --disabled-opacity: .4;
  --unavailable-opacity: .45;
  --hit-min: 40px;
  --dur-press: .12s;
  --dur-fast: .2s;
  --dur-medium: .3s;
  --dur-slow: .4s;
  --ease: ease;
  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-container: 20px;
  --radius-subcontainer: 16px;
  --radius-widget: 14px;
  --radius-device: 16px;
  --radius-pill: 999px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 14px;
  --space-lg: 20px;
  --space-xl: 28px;
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-title: 17px;
  --fs-title-secondary: 14.5px;
  --fs-subtitle: 12px;
  --fs-status: 11.5px;
  --fs-body: 13px;
  --iq-fw-display: 700;
  --iq-fw-title: 700;
  --iq-fw-subtitle: 500;
  --iq-fw-body: 500;
  --iq-fw-control: 700;
  --iq-fw-status: 600;
  --iq-fw-caption: 600;
  --iq-fs-caption: 11.5px;
  --iq-fs-micro: 11px;
  --iq-ls-caps: .06em;
  --icon-size: 42px;
  --icon-size-secondary: 32px;
  --iq-bg-app: var(--page-bg);
  --iq-bg-nav: var(--nav-bg);
  --iq-surface: var(--surface-primary);
  --iq-surface-elevated: var(--surface-tertiary);
  --iq-surface-interactive: var(--surface-interactive);
  --iq-surface-active: var(--accent-soft);
  --iq-border: var(--border-primary);
  --iq-text: var(--text-primary);
  --iq-text-2: var(--text-secondary);
  --iq-text-muted: var(--text-muted);
  --iq-accent: var(--accent);
  --iq-state-ok: var(--success);
  --iq-state-warn: var(--warning);
  --iq-state-danger: var(--danger);
  --iq-state-cool: var(--cool);
  --iq-state-heat: var(--heat-warm);
  --iq-state-idle: var(--neutral);
  --grid-row: 40px;
  --grid-gap: 16px;
  --grid-gap-compact: 12px;
}
html[data-ui="light"] :is(.wst__empty) {
  color-scheme: light;
  --page-bg: #eef0f4;
  --page-bg-darker: #e4e7ec;
  --page-bg-lighter: #f6f7f9;
  --nav-bg: #ffffff;
  --surface-primary: #ffffff;
  --surface-primary-top: #ffffff;
  --surface-secondary: #f3f4f7;
  --surface-tertiary: #e9ecf1;
  --surface-interactive: #e2e6ec;
  --surface-active: var(--accent-soft);
  --border-primary: rgba(17, 24, 39, .13);
  --border-subtle: rgba(17, 24, 39, .08);
  --edge-highlight: rgba(255, 255, 255, .9);
  --text-primary: #151820;
  --text-secondary: #4b5263;
  --text-muted: #5c6270;
  --accent: #ec6408;
  --accent-hot: #d9530a;
  --accent-on: #1a0e04;
  --accent-soft: rgba(236, 100, 8, .12);
  --accent-line: rgba(236, 100, 8, .4);
  --success: #17804a;
  --warning: #8a5d00;
  --danger: #c4291c;
  --info: #1769b3;
  --cool: #38c9ee;
  --purple: #a88bff;
  --solar: #ffc233;
  --neutral: #6f707a;
  --light-warm: #ffb347;
  --light-hot: #fff0d2;
  --heat-warm: #ff8a2a;
  --heat-hot: #ff4a1c;
  --shadow-primary: 0 1px 2px rgba(16, 24, 40, .06), 0 10px 26px -14px rgba(16, 24, 40, .2);
  --shadow-secondary: 0 0 0 1px var(--border-subtle);
  --shadow-icon: 0 1px 2px rgba(16, 24, 40, .08) inset;
  --device-surface-top: #ffffff;
  --device-surface-mid: #fafbfc;
  --device-surface-bottom: #f3f4f7;
  --device-surface: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .03), transparent 60%),
    linear-gradient(165deg, var(--device-surface-top) 0%, var(--device-surface-mid) 55%, var(--device-surface-bottom) 100%);
  --card-border: rgba(17, 24, 39, .08);
  --device-shadow: inset 0 1px 0 rgba(255, 255, 255, .06),
    inset 0 0 0 1px var(--card-border),
    0 12px 26px -16px rgba(0, 0, 0, .85);
  --control-well: #eef0f4;
  --control-well-shadow: inset 0 1px 2px rgba(16, 24, 40, .08), inset 0 0 0 1px rgba(17, 24, 39, .06);
  --control-raised: linear-gradient(180deg, #ffffff, #eef0f4);
  --focus-ring: 2px solid var(--focus, var(--accent));
  --disabled-opacity: .4;
  --unavailable-opacity: .45;
  --hit-min: 40px;
  --dur-press: .12s;
  --dur-fast: .2s;
  --dur-medium: .3s;
  --dur-slow: .4s;
  --ease: ease;
  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-container: 20px;
  --radius-subcontainer: 16px;
  --radius-widget: 14px;
  --radius-device: 16px;
  --radius-pill: 999px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 14px;
  --space-lg: 20px;
  --space-xl: 28px;
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-title: 17px;
  --fs-title-secondary: 14.5px;
  --fs-subtitle: 12px;
  --fs-status: 11.5px;
  --fs-body: 13px;
  --iq-fw-display: 700;
  --iq-fw-title: 700;
  --iq-fw-subtitle: 500;
  --iq-fw-body: 500;
  --iq-fw-control: 700;
  --iq-fw-status: 600;
  --iq-fw-caption: 600;
  --iq-fs-caption: 11.5px;
  --iq-fs-micro: 11px;
  --iq-ls-caps: .06em;
  --icon-size: 42px;
  --icon-size-secondary: 32px;
  --iq-bg-app: var(--page-bg);
  --iq-bg-nav: var(--nav-bg);
  --iq-surface: var(--surface-primary);
  --iq-surface-elevated: var(--surface-tertiary);
  --iq-surface-interactive: var(--surface-interactive);
  --iq-surface-active: var(--accent-soft);
  --iq-border: var(--border-primary);
  --iq-text: var(--text-primary);
  --iq-text-2: var(--text-secondary);
  --iq-text-muted: var(--text-muted);
  --iq-accent: var(--accent);
  --iq-state-ok: var(--success);
  --iq-state-warn: var(--warning);
  --iq-state-danger: var(--danger);
  --iq-state-cool: var(--cool);
  --iq-state-heat: var(--heat-warm);
  --iq-state-idle: var(--neutral);
  --grid-row: 40px;
  --grid-gap: 16px;
  --grid-gap-compact: 12px;
}
