/* GLOBAL COLOUR CONFIGURATION
 * Edit the Light and Dark palettes here; layout lives in styles.css.
 * surface: cards, fields and dialogs; raised: secondary panels and hover.
 * accent: links, focus and selected items; button: primary action background.
 * drawing-* colours affect the live editor; PDF uses its own light styles.
 * Paper and fixed artwork colours are shared by both themes.
 */
:root {
  /* Payment review accents stay identical in Light and Dark. */
  --quote-bonus-gold: #b8860b;
  --quote-eco-green: #157347;
  --quote-eco-surface: #f0f8f3;
  --quote-eco-border: #cde5d5;
  --quote-leanpay-gradient: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
  --quote-leanpay-text: #342305;
  --quote-leanpay-border: #d76042;
  /* Planned visit region palette: screenshot hues, softly mixed with the theme surface. */
  --planned-region-heading-strength: 30%;
  --planned-region-day-strength: 17.5%;
  --planned-region-row-strength: 6.25%;
  --planned-region-hover-strength: 22.5%;
  color-scheme: light;
  --theme-page: #ffffff;
  --ui-surface: #ffffff;
  --ui-raised: #f1f5fa;
  --route-stop-surface: #e8eef7;
  --settings-nav-background: #f1f5fa;
  --settings-nav-active: #ffffff;
  --ui-solid: #142235;
  --ui-text: #142235;
  --ui-muted: #526176;
  --ui-border: #cbd5e1;
  --ui-on-solid: #ffffff;
  --ui-accent: #2056d1;
  --ui-accent-surface: #edf3ff;
  --ui-button: #2463eb;
  --ui-button-hover: #1d4fbd;
  --ui-teal: #21667d;
  --ui-teal-surface: #eaf4f7;
  --ui-success: #167047;
  --ui-success-surface: #eaf6ed;
  --ui-danger: #b03d38;
  --ui-danger-surface: #fff0ee;
  --ui-warning: #80500d;
  --ui-warning-surface: #fff3d8;
  --ui-shadow: rgb(20 34 53 / 20%);
  --ui-backdrop: rgb(20 34 53 / 50%);
  /* Quote article groups: stable equipment colours, independent of UI surfaces. */
  --quote-group-rekuperator: #eaf6ed;
  --quote-group-fan: #fff0ee;
  --quote-group-passive: #ecf3ff;
  --quote-group-bridge: #fff6e7;
  --quote-group-transfer: #f1f3f5;
  --quote-group-thermo: #d9f3f8;
  --drawing-background: #fafbfd;
  --drawing-line: #253144;
  --drawing-grid: #cad3de;
  --drawing-label-background: #ffffff;
  --drawing-label-text: #253144;
  --drawing-label-border: #c4cfdd;
  --drawing-floor-line: #4386a4;
  --drawing-floor-fill: #78b8d4;
  --drawing-floor-text: #1d5068;
  --drawing-stairs-line: #566779;
  --drawing-stairs-step: #78889a;
  --drawing-stairs-shade: #cbd7e3;
  --drawing-green: #14924c;
  --drawing-red: #dc353f;
  --drawing-blue: #2479de;
  --drawing-amber: #b7791f;
  --drawing-gray: #697586;
  --drawing-teal: #0891b2;
  --drawing-thermo-fill: #ddf8f5;
}
:root[data-theme="dark"] {
  --planned-region-heading-strength: 25%;
  --planned-region-day-strength: 16.25%;
  --planned-region-row-strength: 7.5%;
  --planned-region-hover-strength: 21.25%;
  color-scheme: dark;
  --theme-page: #101923;
  --ui-surface: #192330;
  --ui-raised: #243244;
  --route-stop-surface: #2b3b50;
  --settings-nav-background: #0b0b0b;
  --settings-nav-active: #202020;
  --ui-solid: #16334d;
  --ui-text: #e6edf5;
  --ui-muted: #b4c2d3;
  --ui-border: #44556c;
  --ui-on-solid: #ffffff;
  --ui-accent: #91baff;
  --ui-accent-surface: #213c61;
  --ui-button: #2463eb;
  --ui-button-hover: #1d4fbd;
  --ui-teal: #83d4e5;
  --ui-teal-surface: #193b46;
  --ui-success: #83d7a4;
  --ui-success-surface: #1e3b2c;
  --ui-danger: #ffaaa9;
  --ui-danger-surface: #472b33;
  --ui-warning: #f2cc83;
  --ui-warning-surface: #463a25;
  --ui-shadow: rgb(0 0 0 / 35%);
  --ui-backdrop: rgb(0 0 0 / 60%);
  --quote-group-rekuperator: #203c30;
  --quote-group-fan: #472c35;
  --quote-group-passive: #223954;
  --quote-group-bridge: #463a25;
  --quote-group-transfer: #2b323b;
  --quote-group-thermo: #193f49;
  --drawing-background: #25282d;
  --drawing-line: #d6dde6;
  --drawing-grid: #555b65;
  --drawing-label-background: #343a43;
  --drawing-label-text: #eef2f7;
  --drawing-label-border: #778190;
  --drawing-floor-line: #8fc7df;
  --drawing-floor-fill: #6096af;
  --drawing-floor-text: #bfe8f9;
  --drawing-stairs-line: #b8c3d2;
  --drawing-stairs-step: #a7b4c5;
  --drawing-stairs-shade: #7a8a9e;
  --drawing-green: #54ce87;
  --drawing-red: #ff7982;
  --drawing-blue: #6eafff;
  --drawing-amber: #edbd62;
  --drawing-gray: #b5bfcd;
  --drawing-teal: #4ccde3;
  --drawing-thermo-fill: #24454b;
}

/* Keep all region colour assignments here; unrecognised regions use neutral theme surfaces. */
.planned-region { --planned-region-color: var(--ui-border); }
.planned-region[data-region="pomurska"] { --planned-region-color: #c4a630; }
.planned-region[data-region="podravska"] { --planned-region-color: #a7cc8c; }
.planned-region[data-region="koroška"] { --planned-region-color: #f1ae7d; }
.planned-region[data-region="savinjska"] { --planned-region-color: #ae79cd; }
.planned-region[data-region="ljubljana"] { --planned-region-color: #7298d2; }
.planned-region[data-region="osrednja"] { --planned-region-color: #b5c6e3; }
.planned-region[data-region="zasavje"] { --planned-region-color: #d5d5d5; }
.planned-region[data-region="gorenjska"] { --planned-region-color: #c45d14; }
.planned-region[data-region="dolenjska"] { --planned-region-color: #e4d82f; }
.planned-region[data-region="primorska"] { --planned-region-color: #a4a4a4; }
.planned-region[data-region="goriška"] { --planned-region-color: #6b973a; }
/* Paper, product artwork and material swatches. */
:root {
  --paper-background: #ffffff;
  --paper-text: #142235;
  --paper-border: #cbd5e1;
  --paper-success: #167047;
  --fixed-fafbfd: #fafbfd;
  --fixed-fff: #fff;
  --fixed-111827: #111827;
  --fixed-14924c: #14924c;
  --fixed-dc353f: #dc353f;
  --fixed-2479de: #2479de;
  --fixed-2463eb: #2463eb;
  --fixed-59636e: #59636e;
  --fixed-17243a66: #17243a66;
  --fixed-eef5f7: #eef5f7;
  --fixed-6e9caf: #6e9caf;
  --fixed-a9c7d0: #a9c7d0;
  --fixed-8fb4c2: #8fb4c2;
  --fixed-40464b: #40464b;
  --fixed-b9aa8d: #b9aa8d;
}
