/* Generated by scripts/build-theme.mjs from scripts/lib/theme-palette.mjs. Do not edit by hand. */
@font-face{font-family:"Geist Mono";src:url("/fonts/GeistMono-Regular-latin.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Geist Mono";src:url("/fonts/GeistMono-Bold-latin.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
html:root {
  color-scheme: dark;
  --bg-rgb: 15 16 18;
  --ink-rgb: 232 232 230;
  --accent-rgb: 95 174 146;
  --warn-rgb: 215 165 91;
  --danger-rgb: 224 123 120;
  --info-rgb: 134 168 224;
  --plan-rgb: 169 150 214;
  --shadow-rgb: 0 0 0;
  --cat-service-rgb: 47 154 122;
  --cat-other-rgb: 74 132 216;
  --cat-planned-rgb: 199 95 140;
  --cat-energy-rgb: 185 138 46;
  --bg: #0f1012;
  --bg2: #131416;
  --surface: #17181b;
  --surface2: #1b1c20;
  --surface3: #212226;
  --sidebar-solid: #0a0b0c;
  --sidebar-solid-2: #131416;
  --text: #e8e8e6;
  --text-soft: #c7c7c3;
  --muted: #9b9b96;
  --muted2: #86867f;
  --line: rgb(var(--ink-rgb) / .1);
  --line-soft: rgb(var(--ink-rgb) / .07);
  --line-hair: rgb(var(--ink-rgb) / .05);
  --line-strong: rgb(var(--ink-rgb) / .17);
  --row-line: rgb(var(--ink-rgb) / .06);
  --field-bg: rgb(var(--ink-rgb) / .04);
  --surface-soft: rgb(var(--ink-rgb) / .025);
  --surface-hover: rgb(var(--ink-rgb) / .05);
  --primary-bg: #e8e8e6;
  --on-primary: #0f1012;
  --on-accent: #0f1012;
  --shadow: 0 18px 42px rgb(var(--shadow-rgb) / .38);
  --shadow-soft: 0 8px 20px rgb(var(--shadow-rgb) / .24);
  --theme-color: #0f1012;
  --accent: rgb(var(--accent-rgb));
  --warning: rgb(var(--warn-rgb));
  --danger: rgb(var(--danger-rgb));
  --info: rgb(var(--info-rgb));
  --plan: rgb(var(--plan-rgb));
  --cat-service: rgb(var(--cat-service-rgb));
  --cat-other: rgb(var(--cat-other-rgb));
  --cat-planned: rgb(var(--cat-planned-rgb));
  --cat-energy: rgb(var(--cat-energy-rgb));
  --brand: var(--accent);
  --brand2: var(--accent);
  --good: var(--accent);
  --premium-line: var(--line);
  --premium-line-soft: var(--line-soft);
  --premium-row-selected: rgb(var(--accent-rgb) / .07);
  --premium-row-selected-strong: rgb(var(--accent-rgb) / .28);
  --row-selected-bg: var(--premium-row-selected);
  --row-selected-line: var(--premium-row-selected-strong);
  --ui-section-line: var(--row-line);
  --ui-section-line-soft: var(--line-hair);
  --ui-surface-shadow: none;
  --chart-line: rgb(var(--ink-rgb) / .08);
  --chart-glow: transparent;
  --chart-info: rgb(var(--ink-rgb) / .55);
  --chart-good: var(--accent);
  --chart-plan: var(--plan);
  --chart-warn: var(--warning);
  --chart-danger: var(--danger);
  --mobile-card-bg: var(--surface);
  --mobile-card-line: var(--line-soft);
  --composition-total-line: var(--line);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-num: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-code: "Geist Mono", ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg-rgb: 247 247 245;
  --ink-rgb: 21 21 20;
  --accent-rgb: 28 122 97;
  --warn-rgb: 160 86 26;
  --danger-rgb: 184 55 63;
  --info-rgb: 44 100 189;
  --plan-rgb: 111 83 168;
  --shadow-rgb: 21 21 20;
  --cat-service-rgb: 31 138 109;
  --cat-other-rgb: 46 108 196;
  --cat-planned-rgb: 192 82 127;
  --cat-energy-rgb: 183 121 31;
  --bg: #f7f7f5;
  --bg2: #f0f0ed;
  --surface: #ffffff;
  --surface2: #fbfbfa;
  --surface3: #f2f2ef;
  --sidebar-solid: #ededea;
  --sidebar-solid-2: #f0f0ed;
  --text: #151514;
  --text-soft: #2e2e2c;
  --muted: #5d5d58;
  --muted2: #6f6f69;
  --line: rgb(var(--ink-rgb) / .12);
  --line-soft: rgb(var(--ink-rgb) / .08);
  --line-hair: rgb(var(--ink-rgb) / .06);
  --line-strong: rgb(var(--ink-rgb) / .2);
  --row-line: rgb(var(--ink-rgb) / .07);
  --field-bg: #ffffff;
  --surface-soft: rgb(var(--ink-rgb) / .025);
  --surface-hover: rgb(var(--ink-rgb) / .04);
  --primary-bg: #151514;
  --on-primary: #ffffff;
  --on-accent: #ffffff;
  --shadow: 0 12px 32px rgb(var(--shadow-rgb) / .08);
  --shadow-soft: 0 4px 14px rgb(var(--shadow-rgb) / .06);
  --theme-color: #f7f7f5;
}
@media (prefers-color-scheme: light) {
  :root[data-theme="system"] {
    color-scheme: light;
    --bg-rgb: 247 247 245;
    --ink-rgb: 21 21 20;
    --accent-rgb: 28 122 97;
    --warn-rgb: 160 86 26;
    --danger-rgb: 184 55 63;
    --info-rgb: 44 100 189;
    --plan-rgb: 111 83 168;
    --shadow-rgb: 21 21 20;
    --cat-service-rgb: 31 138 109;
    --cat-other-rgb: 46 108 196;
    --cat-planned-rgb: 192 82 127;
    --cat-energy-rgb: 183 121 31;
    --bg: #f7f7f5;
    --bg2: #f0f0ed;
    --surface: #ffffff;
    --surface2: #fbfbfa;
    --surface3: #f2f2ef;
    --sidebar-solid: #ededea;
    --sidebar-solid-2: #f0f0ed;
    --text: #151514;
    --text-soft: #2e2e2c;
    --muted: #5d5d58;
    --muted2: #6f6f69;
    --line: rgb(var(--ink-rgb) / .12);
    --line-soft: rgb(var(--ink-rgb) / .08);
    --line-hair: rgb(var(--ink-rgb) / .06);
    --line-strong: rgb(var(--ink-rgb) / .2);
    --row-line: rgb(var(--ink-rgb) / .07);
    --field-bg: #ffffff;
    --surface-soft: rgb(var(--ink-rgb) / .025);
    --surface-hover: rgb(var(--ink-rgb) / .04);
    --primary-bg: #151514;
    --on-primary: #ffffff;
    --on-accent: #ffffff;
    --shadow: 0 12px 32px rgb(var(--shadow-rgb) / .08);
    --shadow-soft: 0 4px 14px rgb(var(--shadow-rgb) / .06);
    --theme-color: #f7f7f5;
  }
}
/* Reports and PDFs always print in the light layout. */
@media print {
  html:root, html:root[data-theme] {
    color-scheme: light;
    --bg-rgb: 247 247 245;
    --ink-rgb: 21 21 20;
    --accent-rgb: 28 122 97;
    --warn-rgb: 160 86 26;
    --danger-rgb: 184 55 63;
    --info-rgb: 44 100 189;
    --plan-rgb: 111 83 168;
    --shadow-rgb: 21 21 20;
    --cat-service-rgb: 31 138 109;
    --cat-other-rgb: 46 108 196;
    --cat-planned-rgb: 192 82 127;
    --cat-energy-rgb: 183 121 31;
    --bg: #f7f7f5;
    --bg2: #f0f0ed;
    --surface: #ffffff;
    --surface2: #fbfbfa;
    --surface3: #f2f2ef;
    --sidebar-solid: #ededea;
    --sidebar-solid-2: #f0f0ed;
    --text: #151514;
    --text-soft: #2e2e2c;
    --muted: #5d5d58;
    --muted2: #6f6f69;
    --line: rgb(var(--ink-rgb) / .12);
    --line-soft: rgb(var(--ink-rgb) / .08);
    --line-hair: rgb(var(--ink-rgb) / .06);
    --line-strong: rgb(var(--ink-rgb) / .2);
    --row-line: rgb(var(--ink-rgb) / .07);
    --field-bg: #ffffff;
    --surface-soft: rgb(var(--ink-rgb) / .025);
    --surface-hover: rgb(var(--ink-rgb) / .04);
    --primary-bg: #151514;
    --on-primary: #ffffff;
    --on-accent: #ffffff;
    --shadow: 0 12px 32px rgb(var(--shadow-rgb) / .08);
    --shadow-soft: 0 4px 14px rgb(var(--shadow-rgb) / .06);
    --theme-color: #f7f7f5;
  }
}

/* Sign-in, password and recovery pages (R24.17.150). Same tokens as the app:
   dark by default, light when the device or the saved choice asks for it. */
@font-face{font-family:Inter;src:url("/fonts/InterVariable-latin.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
*{box-sizing:border-box}
html{background:var(--bg)}
body{margin:0;min-height:100vh;display:grid;place-items:center;padding:32px 20px;background:var(--bg);color:var(--text);font-family:var(--font);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}
.card{width:min(420px,100%);padding:36px 32px 32px;border:1px solid var(--line-soft);border-radius:14px;background:var(--surface);box-shadow:none}
.logo{display:flex;justify-content:center;margin:0 0 22px}
.logo img{width:auto;height:34px;max-width:70%;opacity:1;filter:none}
:root[data-theme="light"] .logo img{filter:invert(1) brightness(.18)}
@media (prefers-color-scheme: light){:root[data-theme="system"] .logo img{filter:invert(1) brightness(.18)}}
h1{margin:0 0 6px;font-size:24px;font-weight:600;line-height:1.2;letter-spacing:-0.015em;text-align:center}
.sub{max-width:40ch;margin:0 auto 24px;color:var(--muted);font-size:14px;line-height:1.55;text-align:center}
.stack{display:grid;gap:18px}
form{display:grid;gap:14px}
label{display:grid;gap:6px;color:var(--text);font-size:13px;font-weight:500}
input{width:100%;min-height:42px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:var(--field-bg);color:var(--text);font:inherit;font-size:14px;outline:none}
input::placeholder{color:var(--muted2)}
input:focus{border-color:rgb(var(--accent-rgb) / .7);box-shadow:0 0 0 3px rgb(var(--accent-rgb) / .16)}
.row{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:42px;padding:0 16px;border:1px solid transparent;border-radius:8px;background:var(--primary-bg);color:var(--on-primary);font:inherit;font-size:14px;font-weight:600;cursor:pointer;min-width:0}
button:hover{filter:brightness(.94)}
button.alt,button.ghost{background:transparent;border-color:var(--line);color:var(--text)}
button[disabled]{opacity:.6;cursor:wait}
a{color:var(--muted);font-size:13px;font-weight:500;text-decoration:none}
a:hover{color:var(--text)}
.status{padding:10px 12px;border:1px solid var(--line-soft);border-radius:8px;background:var(--surface-soft);font-size:13px;line-height:1.5;color:var(--text)}
.status.bad{border-color:rgb(var(--danger-rgb) / .35);background:rgb(var(--danger-rgb) / .08);color:var(--danger)}
.status.good{border-color:rgb(var(--accent-rgb) / .35);background:rgb(var(--accent-rgb) / .08);color:var(--accent)}
.mini{color:var(--muted);font-size:12.5px;line-height:1.55}
.hidden{display:none}
.divider{height:1px;margin:4px 0;background:var(--line-soft)}
.badge{display:inline-flex;align-items:center;justify-content:center;padding:3px 10px;border:1px solid var(--line-soft);border-radius:999px;color:var(--muted);font-size:12px;font-weight:500}
.checks{display:grid;gap:4px;margin:0;padding:0;list-style:none;color:var(--muted);font-size:12.5px}
.checks .ok{color:var(--accent)}
pre{white-space:pre-wrap;word-break:break-word;margin:0;padding:10px 12px;border:1px solid var(--line-soft);border-radius:8px;background:var(--surface-soft);color:var(--muted);font:12px/1.5 var(--font-num)}
.spinner{width:18px;height:18px;margin:0 auto 14px;border:2px solid rgb(var(--ink-rgb) / .18);border-top-color:var(--accent);border-radius:50%;animation:auth-spin .8s linear infinite}
@keyframes auth-spin{to{transform:rotate(360deg)}}
@media (max-width:520px){body{padding:20px 16px}.card{padding:28px 20px 24px}}
