/* Generated by `flask themes-css` from app/themes.py — edit PALETTES there, not this file.
   Each theme sets app.css's variables; <html> carries data-theme (and data-night/data-mode for a night look,
   data-warmth, data-variant, data-text and data-density) from the person's appearance (app/themes.py). */
[data-theme="forest"] {
  --ink: #13231e;
  --ink-2: #44544e;
  --ink-3: #56665f;
  --paper: #f3f5f1;
  --sheet: #ffffff;
  --sheet-2: #f6f8f5;
  --rule: #dfe5df;
  --rule-strong: #c6d0c8;
  --canopy: #0f5a4b;
  --canopy-dark: #0a4036;
  --canopy-tint: #e3f2ec;
  --canopy-line: #b9d9cc;
  --signal: #b7791f;
  --signal-tint: #fbf0dc;
  --signal-ink: #87570a;
  --signal-line: #efd8ad;
  --alert: #b42318;
  --alert-tint: #fbe9e7;
  --alert-line: #f0c4bf;
  --info: #1b5e74;
  --info-tint: #e3eff3;
  --info-line: #bed7e0;
  --link: #0f5a4b;
  --muted-tint: #ebefea;
  --focus: #0f5a4b;
  --focus-ring: rgba(15, 90, 75, 0.2);
  --ring-track: #e3e8e2;
  --row-hover: #f6f8f5;
  --topbar-bg: rgba(255, 255, 255, 0.94);
  --sidebar-bg: #0f3b33;
  --flash-good: #0a4036;
  --radius-panel: 12px;
  --radius-input: 9px;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display-weight: 700;
}
[data-theme="greenhouse"] {
  --ink: #1c2a23;
  --ink-2: #44544b;
  --ink-3: #56655d;
  --paper: #edf2ec;
  --sheet: #ffffff;
  --sheet-2: #f5f8f4;
  --rule: #dbe4da;
  --rule-strong: #c9d6c8;
  --canopy: #2f7d4f;
  --canopy-dark: #23653e;
  --canopy-tint: #e0f0e5;
  --canopy-line: #bcdcc6;
  --signal: #b0761c;
  --signal-tint: #fbefd9;
  --signal-ink: #8f5a0c;
  --signal-line: #efd6a9;
  --alert: #a8364a;
  --alert-tint: #f9e5e8;
  --alert-line: #efc3cb;
  --info: #2b5aa8;
  --info-tint: #e4ecfa;
  --info-line: #c3d3f0;
  --link: #23653e;
  --muted-tint: #e8eee7;
  --focus: #2b5aa8;
  --focus-ring: rgba(43, 90, 168, 0.2);
  --ring-track: #e0e7df;
  --row-hover: #f5f8f4;
  --topbar-bg: rgba(237, 242, 236, 0.92);
  --sidebar-bg: #edf2ec;
  --radius-panel: 20px;
  --radius-input: 12px;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display-weight: 800;
  --display-size: 1.85rem;
}
[data-theme="cure_room"] {
  --ink: #f1eadf;
  --ink-2: #c4b9a8;
  --ink-3: #a89d8c;
  --paper: #1a1714;
  --sheet: #24201b;
  --sheet-2: #2a251f;
  --rule: #3b352d;
  --rule-strong: #7a6f60;
  --canopy: #f2ad4b;
  --canopy-dark: #f6c27a;
  --canopy-tint: #3a2c17;
  --canopy-line: #5c4524;
  --signal: #e9a23b;
  --signal-tint: #3a2c17;
  --signal-ink: #f2ad4b;
  --signal-line: #5c4524;
  --alert: #ff8a7a;
  --alert-tint: #3a2420;
  --alert-line: #6b3a33;
  --info: #8ec5ff;
  --info-tint: #1f2a3a;
  --info-line: #33465e;
  --link: #f2ad4b;
  --good: #a7c7a1;
  --good-ink: #c2dcbc;
  --good-tint: #26301f;
  --good-line: #3e5236;
  --on-good: #1a1714;
  --muted-tint: #2f2924;
  --focus: #f2ad4b;
  --focus-ring: rgba(242, 173, 75, 0.3);
  --on-accent: #1a1714;
  --on-alert: #1a1714;
  --on-ink: #1a1714;
  --ring-track: #3b352d;
  --row-hover: #2a251f;
  --placeholder: #8c8172;
  --topbar-bg: rgba(26, 23, 20, 0.92);
  --backdrop: rgba(0, 0, 0, 0.6);
  --flash-good: #a7c7a1;
  --flash-warn: #f2ad4b;
  --sidebar-bg: #141210;
  --shadow-pop: 0 10px 30px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.35);
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23c4b9a8' stroke-width='1.6'/%3E%3C/svg%3E");
  --radius-panel: 14px;
  --radius-input: 10px;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-num: "Instrument Serif", Georgia, serif;
  --tone-today-bg: #3a2c17;
  --tone-today: #f2ad4b;
  --tone-metrc-bg: #3a2c17;
  --tone-metrc: #f2c27a;
  --tone-deadlines-bg: #222a36;
  --tone-deadlines: #a9c1e8;
  --tone-inventory-bg: #1f2a3a;
  --tone-inventory: #9cc0ff;
  --tone-cultivation-bg: #1f3024;
  --tone-cultivation: #a7c7a1;
  --tone-manufacturing-bg: #262b33;
  --tone-manufacturing: #b8c4d4;
  --tone-quality-bg: #2c2540;
  --tone-quality: #c4b0f5;
  --tone-distribution-bg: #3a271a;
  --tone-distribution: #f6b58a;
  --tone-finance-bg: #36301a;
  --tone-finance: #ecd27e;
  --tone-compliance-bg: #3a2228;
  --tone-compliance: #f3a3b2;
  --tone-reports-bg: #262b33;
  --tone-reports: #b8c4d4;
  --tone-team-bg: #1d3330;
  --tone-team: #8fd8cc;
  --tone-settings-bg: #2a2a26;
  --tone-settings: #c4bfb2;
  --display-weight: 400;
  --display-size: 2.5rem;
  --display-spacing: 0;
  --num-weight: 400;
  --num-scale: 1.25;
  color-scheme: dark;
}
[data-theme="label_stock"] {
  --ink: #000000;
  --ink-2: #333333;
  --ink-3: #4d4d4d;
  --paper: #efeee9;
  --sheet: #ffffff;
  --sheet-2: #f7f6f2;
  --rule: #cfcdc4;
  --rule-strong: #000000;
  --canopy: #000000;
  --canopy-dark: #2b2b2b;
  --canopy-tint: #ffd400;
  --canopy-line: #000000;
  --on-accent: #ffd400;
  --signal: #8a6700;
  --signal-tint: #ffd400;
  --signal-ink: #000000;
  --signal-line: #000000;
  --alert: #c02316;
  --alert-tint: #fde4e1;
  --alert-line: #c02316;
  --on-alert: #ffffff;
  --info: #0b4fb3;
  --info-tint: #e3ecfb;
  --info-line: #0b4fb3;
  --link: #000000;
  --good: #1d7a46;
  --good-ink: #0f5c32;
  --good-tint: #e1f3e8;
  --good-line: #1d7a46;
  --on-good: #ffffff;
  --muted-tint: #ecebe5;
  --focus: #0b4fb3;
  --focus-ring: rgba(11, 79, 179, 0.25);
  --ring-track: #d9d7cf;
  --row-hover: #f7f6f2;
  --topbar-bg: #ffffff;
  --sidebar-bg: #ffffff;
  --flash-good: #1d7a46;
  --flash-warn: #000000;
  --radius-panel: 4px;
  --radius-input: 4px;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display-weight: 600;
  --display-size: 2.1rem;
  --display-spacing: 0;
  --num-weight: 600;
}
[data-theme="soft_focus"] {
  --ink: #2a3230;
  --ink-2: #45504d;
  --ink-3: #56615e;
  --paper: #eef0ed;
  --sheet: #f8f9f7;
  --sheet-2: #f2f4f1;
  --rule: #dde2dd;
  --rule-strong: #c2cac4;
  --canopy: #3a776b;
  --canopy-dark: #2c5e54;
  --canopy-tint: #e1eeea;
  --canopy-line: #bcd8d0;
  --signal: #9a6a12;
  --signal-tint: #f5ead2;
  --signal-ink: #7d5a12;
  --signal-line: #e3cf9f;
  --alert: #a83a32;
  --alert-tint: #f6e3e0;
  --alert-line: #e5bdb7;
  --info: #3b6390;
  --info-tint: #e5ecf3;
  --info-line: #c3d1e1;
  --link: #2c5e54;
  --muted-tint: #e7eae6;
  --focus: #3b6390;
  --focus-ring: rgba(59, 99, 144, 0.2);
  --ring-track: #dfe3de;
  --row-hover: #f2f4f1;
  --topbar-bg: rgba(238, 240, 237, 0.94);
  --sidebar-bg: #f2f4f1;
  --radius-panel: 14px;
  --radius-input: 10px;
  --font-body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --leading: 1.62;
}
[data-theme="night_shift"] {
  --ink: #dfe6e4;
  --ink-2: #b0bcb8;
  --ink-3: #98a5a1;
  --paper: #1b2125;
  --sheet: #222a2f;
  --sheet-2: #2c363c;
  --rule: #323c42;
  --rule-strong: #6d7b82;
  --canopy: #7cc7b8;
  --canopy-dark: #a6dccf;
  --canopy-tint: #26343a;
  --canopy-line: #3c5a57;
  --signal: #f0c36a;
  --signal-tint: #3a3424;
  --signal-ink: #f0c36a;
  --signal-line: #63562f;
  --alert: #ff9b8f;
  --alert-tint: #3d2a29;
  --alert-line: #6b3f3b;
  --info: #8ec5ff;
  --info-tint: #1f2d3a;
  --info-line: #34495e;
  --link: #7cc7b8;
  --good: #8fc7a4;
  --good-ink: #a9d8bb;
  --good-tint: #22342b;
  --good-line: #3d5a48;
  --on-good: #10191b;
  --muted-tint: #2a3439;
  --focus: #7cc7b8;
  --focus-ring: rgba(124, 199, 184, 0.3);
  --on-accent: #10191b;
  --on-alert: #10191b;
  --on-ink: #10191b;
  --ring-track: #323c42;
  --row-hover: #283137;
  --placeholder: #7f8c88;
  --topbar-bg: rgba(27, 33, 37, 0.92);
  --backdrop: rgba(0, 0, 0, 0.6);
  --flash-good: #8fc7a4;
  --flash-warn: #f0c36a;
  --sidebar-bg: #161b1e;
  --shadow-pop: 0 10px 30px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.35);
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23b0bcb8' stroke-width='1.6'/%3E%3C/svg%3E");
  --radius-panel: 12px;
  --radius-input: 9px;
  --font-body: "Rethink Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Rethink Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Rethink Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tone-today-bg: #3a2c17;
  --tone-today: #f2ad4b;
  --tone-metrc-bg: #3a2c17;
  --tone-metrc: #f2c27a;
  --tone-deadlines-bg: #222a36;
  --tone-deadlines: #a9c1e8;
  --tone-inventory-bg: #1f2a3a;
  --tone-inventory: #9cc0ff;
  --tone-cultivation-bg: #1f3024;
  --tone-cultivation: #a7c7a1;
  --tone-manufacturing-bg: #262b33;
  --tone-manufacturing: #b8c4d4;
  --tone-quality-bg: #2c2540;
  --tone-quality: #c4b0f5;
  --tone-distribution-bg: #3a271a;
  --tone-distribution: #f6b58a;
  --tone-finance-bg: #36301a;
  --tone-finance: #ecd27e;
  --tone-compliance-bg: #3a2228;
  --tone-compliance: #f3a3b2;
  --tone-reports-bg: #262b33;
  --tone-reports: #b8c4d4;
  --tone-team-bg: #1d3330;
  --tone-team: #8fd8cc;
  --tone-settings-bg: #2a2a26;
  --tone-settings: #c4bfb2;
  --display-weight: 700;
  color-scheme: dark;
}
[data-theme="focus_flow"] {
  --ink: #1f2633;
  --ink-2: #4a5568;
  --ink-3: #5b6579;
  --paper: #eef1f6;
  --sheet: #fbfcfe;
  --sheet-2: #f4f6fa;
  --rule: #dfe4ee;
  --rule-strong: #c3cad8;
  --canopy: #4b55c8;
  --canopy-dark: #343da3;
  --canopy-tint: #e6e8fa;
  --canopy-line: #c7cbf2;
  --signal: #9a6a12;
  --signal-tint: #f6ead3;
  --signal-ink: #83590c;
  --signal-line: #e8d3a6;
  --alert: #b23f35;
  --alert-tint: #f8e3e0;
  --alert-line: #ecc0ba;
  --info: #3b5ea8;
  --info-tint: #e5ebf7;
  --info-line: #c4d1ec;
  --link: #343da3;
  --good: #2b6a4f;
  --good-ink: #235a42;
  --good-tint: #dff0e7;
  --good-line: #b6dcc8;
  --muted-tint: #e9edf4;
  --focus: #4b55c8;
  --focus-ring: rgba(75, 85, 200, 0.22);
  --ring-track: #dfe4ee;
  --row-hover: #f4f6fa;
  --topbar-bg: rgba(238, 241, 246, 0.94);
  --sidebar-bg: #fbfcfe;
  --radius-panel: 18px;
  --radius-input: 10px;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display-weight: 700;
}
[data-theme="ledger"] {
  --ink: #17202c;
  --ink-2: #3d4757;
  --ink-3: #4c5768;
  --paper: #f1f3f6;
  --sheet: #ffffff;
  --sheet-2: #f6f8fa;
  --rule: #d8dde5;
  --rule-strong: #b8c0cc;
  --canopy: #1f4e8c;
  --canopy-dark: #17345c;
  --canopy-tint: #e3ebf6;
  --canopy-line: #bccde6;
  --signal: #8a5300;
  --signal-tint: #fcf1dc;
  --signal-ink: #8a5300;
  --signal-line: #ecd3a5;
  --alert: #a8261b;
  --alert-tint: #fbe9e7;
  --alert-line: #efc2bd;
  --info: #1f4e8c;
  --info-tint: #e3ebf6;
  --info-line: #bccde6;
  --link: #1f4e8c;
  --good: #22603f;
  --good-ink: #1c5236;
  --good-tint: #e2f1e8;
  --good-line: #b5d8c4;
  --muted-tint: #eceff3;
  --focus: #1f4e8c;
  --focus-ring: rgba(31, 78, 140, 0.22);
  --ring-track: #dde2ea;
  --row-hover: #f4f7fb;
  --topbar-bg: rgba(255, 255, 255, 0.96);
  --sidebar-bg: #ffffff;
  --radius-panel: 8px;
  --radius-input: 6px;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display-weight: 700;
  --display-size: 1.6rem;
}
[data-theme="studio"] {
  --ink: #221f33;
  --ink-2: #3d3953;
  --ink-3: #57536b;
  --paper: #f3f2f7;
  --sheet: #ffffff;
  --sheet-2: #f7f6fb;
  --rule: #e4e2ec;
  --rule-strong: #c9c5d8;
  --canopy: #5b4bc4;
  --canopy-dark: #3b2f99;
  --canopy-tint: #e7e3fb;
  --canopy-line: #cbc3f2;
  --signal: #a07a10;
  --signal-tint: #fbefc8;
  --signal-ink: #7a5a00;
  --signal-line: #ecd896;
  --alert: #9c3221;
  --alert-tint: #fde3dc;
  --alert-line: #f2bfb3;
  --info: #3d5fb8;
  --info-tint: #e6ecfa;
  --info-line: #c6d3f2;
  --link: #5b4bc4;
  --good: #1f6243;
  --good-ink: #1a5238;
  --good-tint: #d9f1e4;
  --good-line: #b0dcc4;
  --muted-tint: #eeedf4;
  --focus: #5b4bc4;
  --focus-ring: rgba(91, 75, 196, 0.22);
  --ring-track: #e7e3fb;
  --row-hover: #f7f6fb;
  --topbar-bg: rgba(243, 242, 247, 0.94);
  --sidebar-bg: #ffffff;
  --radius-panel: 22px;
  --radius-input: 12px;
  --font-body: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Bricolage Grotesque", "Albert Sans", sans-serif;
  --font-num: "Bricolage Grotesque", "Albert Sans", sans-serif;
  --display-weight: 700;
  --display-size: 2rem;
  --display-spacing: -0.02em;
  --num-weight: 700;
}
[data-theme="forest_greenhouse"] {
  --ink: #1c2a23;
  --ink-2: #44544b;
  --ink-3: #56655d;
  --paper: #edf2ec;
  --sheet: #ffffff;
  --sheet-2: #f5f8f4;
  --rule: #dbe4da;
  --rule-strong: #c9d6c8;
  --canopy: #0f5a4b;
  --canopy-dark: #0a4036;
  --canopy-tint: #e3f2ec;
  --canopy-line: #b9d9cc;
  --signal: #b0761c;
  --signal-tint: #fbefd9;
  --signal-ink: #8f5a0c;
  --signal-line: #efd6a9;
  --alert: #a8364a;
  --alert-tint: #f9e5e8;
  --alert-line: #efc3cb;
  --info: #2b5aa8;
  --info-tint: #e4ecfa;
  --info-line: #c3d3f0;
  --link: #0f5a4b;
  --muted-tint: #e8eee7;
  --focus: #2b5aa8;
  --focus-ring: rgba(43, 90, 168, 0.2);
  --ring-track: #e0e7df;
  --row-hover: #f5f8f4;
  --topbar-bg: rgba(237, 242, 236, 0.92);
  --sidebar-bg: #0f3b33;
  --radius-panel: 20px;
  --radius-input: 12px;
  --flash-good: #0a4036;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display-weight: 700;
  --display-size: 1.85rem;
}
[data-theme="label_stock"][data-variant="calm"] {
  --ink: #262626;
  --ink-2: #3d3d3b;
  --ink-3: #504f4b;
  --paper: #f1efe9;
  --sheet: #fbfaf7;
  --sheet-2: #f4f2ec;
  --rule: #dedad0;
  --rule-strong: #2f2f2f;
  --canopy: #2f2f2f;
  --canopy-dark: #1f1f1f;
  --canopy-tint: #e8c75a;
  --canopy-line: #2f2f2f;
  --on-accent: #e8c75a;
  --signal: #7a6000;
  --signal-tint: #f3e3a6;
  --signal-ink: #5e4a00;
  --signal-line: #c9b46a;
  --alert: #b0392f;
  --alert-tint: #f6e1dd;
  --alert-line: #d9a49d;
  --info: #2f5a96;
  --info-tint: #e6edf6;
  --info-line: #bccbe0;
  --link: #262626;
  --muted-tint: #ebe8e0;
  --row-hover: #f4f2ec;
  --topbar-bg: #fbfaf7;
  --sidebar-bg: #fbfaf7;
  --ring-track: #dedad0;
  --flash-warn: #2f2f2f;
  --radius-panel: 6px;
  --display-weight: 700;
  --num-weight: 700;
}

/* night looks: switched on (data-mode=night) or following the device (data-mode=device) */
[data-night="cure_room"][data-mode="night"] {
  --ink: #f1eadf;
  --ink-2: #c4b9a8;
  --ink-3: #a89d8c;
  --paper: #1a1714;
  --sheet: #24201b;
  --sheet-2: #2a251f;
  --rule: #3b352d;
  --rule-strong: #7a6f60;
  --canopy: #f2ad4b;
  --canopy-dark: #f6c27a;
  --canopy-tint: #3a2c17;
  --canopy-line: #5c4524;
  --signal: #e9a23b;
  --signal-tint: #3a2c17;
  --signal-ink: #f2ad4b;
  --signal-line: #5c4524;
  --alert: #ff8a7a;
  --alert-tint: #3a2420;
  --alert-line: #6b3a33;
  --info: #8ec5ff;
  --info-tint: #1f2a3a;
  --info-line: #33465e;
  --link: #f2ad4b;
  --good: #a7c7a1;
  --good-ink: #c2dcbc;
  --good-tint: #26301f;
  --good-line: #3e5236;
  --on-good: #1a1714;
  --muted-tint: #2f2924;
  --focus: #f2ad4b;
  --focus-ring: rgba(242, 173, 75, 0.3);
  --on-accent: #1a1714;
  --on-alert: #1a1714;
  --on-ink: #1a1714;
  --ring-track: #3b352d;
  --row-hover: #2a251f;
  --placeholder: #8c8172;
  --topbar-bg: rgba(26, 23, 20, 0.92);
  --backdrop: rgba(0, 0, 0, 0.6);
  --flash-good: #a7c7a1;
  --flash-warn: #f2ad4b;
  --sidebar-bg: #141210;
  --shadow-pop: 0 10px 30px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.35);
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23c4b9a8' stroke-width='1.6'/%3E%3C/svg%3E");
  --font-display: "Instrument Serif", Georgia, serif;
  --font-num: "Instrument Serif", Georgia, serif;
  --tone-today-bg: #3a2c17;
  --tone-today: #f2ad4b;
  --tone-metrc-bg: #3a2c17;
  --tone-metrc: #f2c27a;
  --tone-deadlines-bg: #222a36;
  --tone-deadlines: #a9c1e8;
  --tone-inventory-bg: #1f2a3a;
  --tone-inventory: #9cc0ff;
  --tone-cultivation-bg: #1f3024;
  --tone-cultivation: #a7c7a1;
  --tone-manufacturing-bg: #262b33;
  --tone-manufacturing: #b8c4d4;
  --tone-quality-bg: #2c2540;
  --tone-quality: #c4b0f5;
  --tone-distribution-bg: #3a271a;
  --tone-distribution: #f6b58a;
  --tone-finance-bg: #36301a;
  --tone-finance: #ecd27e;
  --tone-compliance-bg: #3a2228;
  --tone-compliance: #f3a3b2;
  --tone-reports-bg: #262b33;
  --tone-reports: #b8c4d4;
  --tone-team-bg: #1d3330;
  --tone-team: #8fd8cc;
  --tone-settings-bg: #2a2a26;
  --tone-settings: #c4bfb2;
  --display-weight: 400;
  --display-spacing: 0;
  --num-weight: 400;
  --num-scale: 1.25;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  [data-night="cure_room"][data-mode="device"] {
    --ink: #f1eadf;
    --ink-2: #c4b9a8;
    --ink-3: #a89d8c;
    --paper: #1a1714;
    --sheet: #24201b;
    --sheet-2: #2a251f;
    --rule: #3b352d;
    --rule-strong: #7a6f60;
    --canopy: #f2ad4b;
    --canopy-dark: #f6c27a;
    --canopy-tint: #3a2c17;
    --canopy-line: #5c4524;
    --signal: #e9a23b;
    --signal-tint: #3a2c17;
    --signal-ink: #f2ad4b;
    --signal-line: #5c4524;
    --alert: #ff8a7a;
    --alert-tint: #3a2420;
    --alert-line: #6b3a33;
    --info: #8ec5ff;
    --info-tint: #1f2a3a;
    --info-line: #33465e;
    --link: #f2ad4b;
    --good: #a7c7a1;
    --good-ink: #c2dcbc;
    --good-tint: #26301f;
    --good-line: #3e5236;
    --on-good: #1a1714;
    --muted-tint: #2f2924;
    --focus: #f2ad4b;
    --focus-ring: rgba(242, 173, 75, 0.3);
    --on-accent: #1a1714;
    --on-alert: #1a1714;
    --on-ink: #1a1714;
    --ring-track: #3b352d;
    --row-hover: #2a251f;
    --placeholder: #8c8172;
    --topbar-bg: rgba(26, 23, 20, 0.92);
    --backdrop: rgba(0, 0, 0, 0.6);
    --flash-good: #a7c7a1;
    --flash-warn: #f2ad4b;
    --sidebar-bg: #141210;
    --shadow-pop: 0 10px 30px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.35);
    --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23c4b9a8' stroke-width='1.6'/%3E%3C/svg%3E");
    --font-display: "Instrument Serif", Georgia, serif;
    --font-num: "Instrument Serif", Georgia, serif;
    --tone-today-bg: #3a2c17;
    --tone-today: #f2ad4b;
    --tone-metrc-bg: #3a2c17;
    --tone-metrc: #f2c27a;
    --tone-deadlines-bg: #222a36;
    --tone-deadlines: #a9c1e8;
    --tone-inventory-bg: #1f2a3a;
    --tone-inventory: #9cc0ff;
    --tone-cultivation-bg: #1f3024;
    --tone-cultivation: #a7c7a1;
    --tone-manufacturing-bg: #262b33;
    --tone-manufacturing: #b8c4d4;
    --tone-quality-bg: #2c2540;
    --tone-quality: #c4b0f5;
    --tone-distribution-bg: #3a271a;
    --tone-distribution: #f6b58a;
    --tone-finance-bg: #36301a;
    --tone-finance: #ecd27e;
    --tone-compliance-bg: #3a2228;
    --tone-compliance: #f3a3b2;
    --tone-reports-bg: #262b33;
    --tone-reports: #b8c4d4;
    --tone-team-bg: #1d3330;
    --tone-team: #8fd8cc;
    --tone-settings-bg: #2a2a26;
    --tone-settings: #c4bfb2;
    --display-weight: 400;
    --display-spacing: 0;
    --num-weight: 400;
    --num-scale: 1.25;
    color-scheme: dark;
  }
}
[data-night="night_shift"][data-mode="night"] {
  --ink: #dfe6e4;
  --ink-2: #b0bcb8;
  --ink-3: #98a5a1;
  --paper: #1b2125;
  --sheet: #222a2f;
  --sheet-2: #2c363c;
  --rule: #323c42;
  --rule-strong: #6d7b82;
  --canopy: #7cc7b8;
  --canopy-dark: #a6dccf;
  --canopy-tint: #26343a;
  --canopy-line: #3c5a57;
  --signal: #f0c36a;
  --signal-tint: #3a3424;
  --signal-ink: #f0c36a;
  --signal-line: #63562f;
  --alert: #ff9b8f;
  --alert-tint: #3d2a29;
  --alert-line: #6b3f3b;
  --info: #8ec5ff;
  --info-tint: #1f2d3a;
  --info-line: #34495e;
  --link: #7cc7b8;
  --good: #8fc7a4;
  --good-ink: #a9d8bb;
  --good-tint: #22342b;
  --good-line: #3d5a48;
  --on-good: #10191b;
  --muted-tint: #2a3439;
  --focus: #7cc7b8;
  --focus-ring: rgba(124, 199, 184, 0.3);
  --on-accent: #10191b;
  --on-alert: #10191b;
  --on-ink: #10191b;
  --ring-track: #323c42;
  --row-hover: #283137;
  --placeholder: #7f8c88;
  --topbar-bg: rgba(27, 33, 37, 0.92);
  --backdrop: rgba(0, 0, 0, 0.6);
  --flash-good: #8fc7a4;
  --flash-warn: #f0c36a;
  --sidebar-bg: #161b1e;
  --shadow-pop: 0 10px 30px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.35);
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23b0bcb8' stroke-width='1.6'/%3E%3C/svg%3E");
  --tone-today-bg: #3a2c17;
  --tone-today: #f2ad4b;
  --tone-metrc-bg: #3a2c17;
  --tone-metrc: #f2c27a;
  --tone-deadlines-bg: #222a36;
  --tone-deadlines: #a9c1e8;
  --tone-inventory-bg: #1f2a3a;
  --tone-inventory: #9cc0ff;
  --tone-cultivation-bg: #1f3024;
  --tone-cultivation: #a7c7a1;
  --tone-manufacturing-bg: #262b33;
  --tone-manufacturing: #b8c4d4;
  --tone-quality-bg: #2c2540;
  --tone-quality: #c4b0f5;
  --tone-distribution-bg: #3a271a;
  --tone-distribution: #f6b58a;
  --tone-finance-bg: #36301a;
  --tone-finance: #ecd27e;
  --tone-compliance-bg: #3a2228;
  --tone-compliance: #f3a3b2;
  --tone-reports-bg: #262b33;
  --tone-reports: #b8c4d4;
  --tone-team-bg: #1d3330;
  --tone-team: #8fd8cc;
  --tone-settings-bg: #2a2a26;
  --tone-settings: #c4bfb2;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  [data-night="night_shift"][data-mode="device"] {
    --ink: #dfe6e4;
    --ink-2: #b0bcb8;
    --ink-3: #98a5a1;
    --paper: #1b2125;
    --sheet: #222a2f;
    --sheet-2: #2c363c;
    --rule: #323c42;
    --rule-strong: #6d7b82;
    --canopy: #7cc7b8;
    --canopy-dark: #a6dccf;
    --canopy-tint: #26343a;
    --canopy-line: #3c5a57;
    --signal: #f0c36a;
    --signal-tint: #3a3424;
    --signal-ink: #f0c36a;
    --signal-line: #63562f;
    --alert: #ff9b8f;
    --alert-tint: #3d2a29;
    --alert-line: #6b3f3b;
    --info: #8ec5ff;
    --info-tint: #1f2d3a;
    --info-line: #34495e;
    --link: #7cc7b8;
    --good: #8fc7a4;
    --good-ink: #a9d8bb;
    --good-tint: #22342b;
    --good-line: #3d5a48;
    --on-good: #10191b;
    --muted-tint: #2a3439;
    --focus: #7cc7b8;
    --focus-ring: rgba(124, 199, 184, 0.3);
    --on-accent: #10191b;
    --on-alert: #10191b;
    --on-ink: #10191b;
    --ring-track: #323c42;
    --row-hover: #283137;
    --placeholder: #7f8c88;
    --topbar-bg: rgba(27, 33, 37, 0.92);
    --backdrop: rgba(0, 0, 0, 0.6);
    --flash-good: #8fc7a4;
    --flash-warn: #f0c36a;
    --sidebar-bg: #161b1e;
    --shadow-pop: 0 10px 30px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.35);
    --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23b0bcb8' stroke-width='1.6'/%3E%3C/svg%3E");
    --tone-today-bg: #3a2c17;
    --tone-today: #f2ad4b;
    --tone-metrc-bg: #3a2c17;
    --tone-metrc: #f2c27a;
    --tone-deadlines-bg: #222a36;
    --tone-deadlines: #a9c1e8;
    --tone-inventory-bg: #1f2a3a;
    --tone-inventory: #9cc0ff;
    --tone-cultivation-bg: #1f3024;
    --tone-cultivation: #a7c7a1;
    --tone-manufacturing-bg: #262b33;
    --tone-manufacturing: #b8c4d4;
    --tone-quality-bg: #2c2540;
    --tone-quality: #c4b0f5;
    --tone-distribution-bg: #3a271a;
    --tone-distribution: #f6b58a;
    --tone-finance-bg: #36301a;
    --tone-finance: #ecd27e;
    --tone-compliance-bg: #3a2228;
    --tone-compliance: #f3a3b2;
    --tone-reports-bg: #262b33;
    --tone-reports: #b8c4d4;
    --tone-team-bg: #1d3330;
    --tone-team: #8fd8cc;
    --tone-settings-bg: #2a2a26;
    --tone-settings: #c4bfb2;
    color-scheme: dark;
  }
}
[data-theme="night_shift"][data-warmth="warm"],
[data-night="night_shift"][data-mode="night"][data-warmth="warm"] {
  --ink: #ece4d8;
  --ink-2: #c2b8a9;
  --ink-3: #a89e91;
  --paper: #211f1b;
  --sheet: #2a2722;
  --sheet-2: #36322b;
  --rule: #3d3830;
  --rule-strong: #7c7262;
  --canopy: #e7b766;
  --canopy-dark: #f0cd8e;
  --canopy-tint: #353026;
  --canopy-line: #5e5136;
  --signal: #efc270;
  --signal-tint: #3a3324;
  --signal-ink: #efc270;
  --alert: #ff9d86;
  --alert-tint: #3e2a24;
  --good: #b5c98f;
  --good-ink: #c9d8ab;
  --good-tint: #2e3324;
  --link: #e7b766;
  --focus: #e7b766;
  --focus-ring: rgba(231, 183, 102, 0.3);
  --on-accent: #1e1b16;
  --on-alert: #1e1b16;
  --on-ink: #1e1b16;
  --on-good: #1e1b16;
  --muted-tint: #332f28;
  --ring-track: #3d3830;
  --row-hover: #312d27;
  --placeholder: #8f8577;
  --topbar-bg: rgba(33, 31, 27, 0.92);
  --flash-good: #b5c98f;
  --flash-warn: #efc270;
  --sidebar-bg: #1b1916;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23c2b8a9' stroke-width='1.6'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  [data-night="night_shift"][data-mode="device"][data-warmth="warm"] {
    --ink: #ece4d8;
    --ink-2: #c2b8a9;
    --ink-3: #a89e91;
    --paper: #211f1b;
    --sheet: #2a2722;
    --sheet-2: #36322b;
    --rule: #3d3830;
    --rule-strong: #7c7262;
    --canopy: #e7b766;
    --canopy-dark: #f0cd8e;
    --canopy-tint: #353026;
    --canopy-line: #5e5136;
    --signal: #efc270;
    --signal-tint: #3a3324;
    --signal-ink: #efc270;
    --alert: #ff9d86;
    --alert-tint: #3e2a24;
    --good: #b5c98f;
    --good-ink: #c9d8ab;
    --good-tint: #2e3324;
    --link: #e7b766;
    --focus: #e7b766;
    --focus-ring: rgba(231, 183, 102, 0.3);
    --on-accent: #1e1b16;
    --on-alert: #1e1b16;
    --on-ink: #1e1b16;
    --on-good: #1e1b16;
    --muted-tint: #332f28;
    --ring-track: #3d3830;
    --row-hover: #312d27;
    --placeholder: #8f8577;
    --topbar-bg: rgba(33, 31, 27, 0.92);
    --flash-good: #b5c98f;
    --flash-warn: #efc270;
    --sidebar-bg: #1b1916;
    --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23c2b8a9' stroke-width='1.6'/%3E%3C/svg%3E");
  }
}
[data-theme="night_shift"][data-warmth="amber"],
[data-night="night_shift"][data-mode="night"][data-warmth="amber"] {
  --ink: #f3dcc2;
  --ink-2: #d0b496;
  --ink-3: #b29577;
  --paper: #24190f;
  --sheet: #2e2116;
  --sheet-2: #3a2a1c;
  --rule: #4a3725;
  --rule-strong: #8a6d50;
  --canopy: #f2a65a;
  --canopy-dark: #f6bd84;
  --canopy-tint: #3d2b1b;
  --canopy-line: #6a4a2a;
  --signal: #f2bf6b;
  --signal-tint: #3f2e17;
  --signal-ink: #f2bf6b;
  --alert: #ffa286;
  --alert-tint: #43281c;
  --good: #d1c27f;
  --good-ink: #e0d49d;
  --good-tint: #352d18;
  --link: #f2a65a;
  --focus: #f2a65a;
  --focus-ring: rgba(242, 166, 90, 0.3);
  --on-accent: #22170d;
  --on-alert: #22170d;
  --on-ink: #22170d;
  --on-good: #22170d;
  --muted-tint: #3a2a1c;
  --ring-track: #4a3725;
  --row-hover: #352619;
  --placeholder: #9a7f63;
  --topbar-bg: rgba(36, 25, 15, 0.92);
  --flash-good: #d1c27f;
  --flash-warn: #f2bf6b;
  --sidebar-bg: #1e150d;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23d0b496' stroke-width='1.6'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  [data-night="night_shift"][data-mode="device"][data-warmth="amber"] {
    --ink: #f3dcc2;
    --ink-2: #d0b496;
    --ink-3: #b29577;
    --paper: #24190f;
    --sheet: #2e2116;
    --sheet-2: #3a2a1c;
    --rule: #4a3725;
    --rule-strong: #8a6d50;
    --canopy: #f2a65a;
    --canopy-dark: #f6bd84;
    --canopy-tint: #3d2b1b;
    --canopy-line: #6a4a2a;
    --signal: #f2bf6b;
    --signal-tint: #3f2e17;
    --signal-ink: #f2bf6b;
    --alert: #ffa286;
    --alert-tint: #43281c;
    --good: #d1c27f;
    --good-ink: #e0d49d;
    --good-tint: #352d18;
    --link: #f2a65a;
    --focus: #f2a65a;
    --focus-ring: rgba(242, 166, 90, 0.3);
    --on-accent: #22170d;
    --on-alert: #22170d;
    --on-ink: #22170d;
    --on-good: #22170d;
    --muted-tint: #3a2a1c;
    --ring-track: #4a3725;
    --row-hover: #352619;
    --placeholder: #9a7f63;
    --topbar-bg: rgba(36, 25, 15, 0.92);
    --flash-good: #d1c27f;
    --flash-warn: #f2bf6b;
    --sidebar-bg: #1e150d;
    --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23d0b496' stroke-width='1.6'/%3E%3C/svg%3E");
  }
}

/* text size and spacing: personal, whatever the look */
html[data-text="large"] { font-size: 17px; --sidebar-w: 258px; }
html[data-text="larger"] { font-size: 19px; --sidebar-w: 280px; }
html[data-density="compact"] { --density: 0.68; }
html[data-density="roomy"] { --density: 1.32; }

/* printing: always the light colours */
@media print {
  html[data-theme] {
    --alert: #b42318 !important;
    --alert-line: #f0c4bf !important;
    --alert-tint: #fdeceb !important;
    --backdrop: rgba(23, 33, 43, 0.38) !important;
    --canopy: #0e6b5e !important;
    --canopy-dark: #0a4f46 !important;
    --canopy-line: #bfd9c9 !important;
    --canopy-tint: #def0eb !important;
    --flash-good: #0a4f46 !important;
    --flash-warn: #7a4e12 !important;
    --focus: #2b5c9e !important;
    --focus-ring: rgba(43, 92, 158, 0.18) !important;
    --good: var(--canopy) !important;
    --good-ink: var(--canopy-dark) !important;
    --good-line: var(--canopy-line) !important;
    --good-tint: var(--canopy-tint) !important;
    --info: #2b5c9e !important;
    --info-line: #c9d8ee !important;
    --info-tint: #e7eef8 !important;
    --ink: #17212b !important;
    --ink-2: #4a5866 !important;
    --ink-3: #5c6874 !important;
    --link: var(--info) !important;
    --muted-tint: #eceeea !important;
    --on-accent: #ffffff !important;
    --on-alert: #ffffff !important;
    --on-good: var(--on-accent) !important;
    --on-ink: #ffffff !important;
    --paper: #f1f3ef !important;
    --placeholder: #9aa5ae !important;
    --ring-track: #e2e6df !important;
    --row-hover: #fafbf9 !important;
    --rule: #dce1da !important;
    --rule-strong: #c2c9bf !important;
    --sheet: #ffffff !important;
    --sheet-2: #f8f9f7 !important;
    --sidebar-bg: var(--sheet-2) !important;
    --signal: #a8681a !important;
    --signal-ink: #8a5512 !important;
    --signal-line: #efd5a8 !important;
    --signal-tint: #fbefd9 !important;
    --tone-compliance: #a8364a !important;
    --tone-compliance-bg: #f9e5e8 !important;
    --tone-cultivation: #23653e !important;
    --tone-cultivation-bg: #e1f2e6 !important;
    --tone-deadlines: #3a5a8c !important;
    --tone-deadlines-bg: #e6edf8 !important;
    --tone-distribution: #a84f16 !important;
    --tone-distribution-bg: #fcebdd !important;
    --tone-finance: #7f6210 !important;
    --tone-finance-bg: #f8efd3 !important;
    --tone-inventory: #2b5aa8 !important;
    --tone-inventory-bg: #e4ecfa !important;
    --tone-manufacturing: #46587a !important;
    --tone-manufacturing-bg: #e9edf3 !important;
    --tone-metrc: #8f5a0c !important;
    --tone-metrc-bg: #fbefd9 !important;
    --tone-quality: #6243ad !important;
    --tone-quality-bg: #ede7fa !important;
    --tone-reports: #455468 !important;
    --tone-reports-bg: #e7ecf1 !important;
    --tone-settings: #4d5d55 !important;
    --tone-settings-bg: #e3e8e2 !important;
    --tone-team: #1d6f66 !important;
    --tone-team-bg: #dcf1ee !important;
    --tone-today: #2f7d4f !important;
    --tone-today-bg: #e0f0e5 !important;
    --topbar-bg: rgba(241, 243, 239, 0.92) !important;
    color-scheme: light !important;
  }
}
