/* 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);
  --hover-bg: rgb(var(--ink-rgb) / .05);
  --hover-bg-strong: rgb(var(--ink-rgb) / .09);
  --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);
  --hover-bg: rgb(var(--ink-rgb) / .04);
  --hover-bg-strong: rgb(var(--ink-rgb) / .08);
  --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);
    --hover-bg: rgb(var(--ink-rgb) / .04);
    --hover-bg-strong: rgb(var(--ink-rgb) / .08);
    --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);
    --hover-bg: rgb(var(--ink-rgb) / .04);
    --hover-bg-strong: rgb(var(--ink-rgb) / .08);
    --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;
  }
}

/* One waiting picture (R171d punkt 30). The same rules in app.css (the start screen, the way out,
   opening a hotel from the Platform, a new version, slow network and failures) and in auth.css
   (sso.html, sign-in, first and new password, forgot password and reset.html), so the mark is the
   same size and stands on the same spot on every page: 46 px high, in the middle of the screen.
   No card and no ring. Under the mark: «Hotel Operations» and one line that says
   what is happening; content (a form, buttons) comes right under that. The mark draws itself once
   per page. Only an explicit authentication handoff continues the already drawn mark.
   The motion book in docs/plan/logoen.md replaces the old breathing animation. */
.ho-stage{
  /* The top of the mark (c4): the mark and the form stand on one spot on every page, in the middle of
     the width and on the optical centre of the height – the whole sign-in (mark, name, line and the
     form, about 419 px) has its middle at 45 % of the height. The pages without a form keep the mark
     on the same spot, so nothing moves between the sign-in and the start of the app. */
  --ho-stage-top:max(32px,calc(45vh - 209.5px));
  box-sizing:border-box;min-height:100vh;min-height:100svh;width:100%;margin:0;
  display:flex;flex-direction:column;align-items:center;
  padding:var(--ho-stage-top) 16px 40px;
  color:var(--text);font-family:var(--font);text-align:center;
}
.ho-stage-head{display:flex;flex-direction:column;align-items:center;width:100%}
svg.ho-stage-mark{display:block;flex:none;height:46px;width:auto;margin:0 0 16px;overflow:visible;color:var(--text)}
.ho-stage-word{margin:0 0 14px;padding-left:.32em;color:var(--muted);font-size:11px;font-weight:600;line-height:16px;letter-spacing:.32em;text-transform:uppercase}
/* The one line. It keeps its place while it is empty, so nothing moves when it speaks. */
.ho-stage-line{
  display:flex;align-items:center;justify-content:center;gap:8px;max-width:min(46ch,100%);min-height:20px;margin:10px 0 0;
  color:var(--muted);font-size:13px;font-weight:400;line-height:20px;text-align:center;white-space:pre-line;
}
.ho-stage-line[hidden]{display:flex;visibility:hidden}
.ho-stage-line::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--accent)}
.ho-stage-line.is-good{color:var(--accent)}
.ho-stage-line.is-calm::before,.ho-stage-line.is-good::before{animation:none}
/* A failure: the line is red and still; the buttons come under it. */
.ho-stage-line.is-bad{color:var(--danger)}
.ho-stage-line.is-bad::before{background:var(--danger);animation:none}
.ho-stage-body{width:min(360px,100%);margin:24px 0 0;text-align:left;animation:ho-form-in .25s ease}
.ho-stage-body[hidden]{display:none}
.ho-stage-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:20px 0 0}
.ho-stage-actions[hidden]{display:none}
.ho-stage-btn{
  display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:40px;margin:0;padding:0 16px;
  border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--text);
  font:inherit;font-size:14px;font-weight:600;line-height:1;text-decoration:none;cursor:pointer;
}
.ho-stage-btn:hover{border-color:var(--line-strong);filter:none}
.ho-stage-btn:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.ho-stage-btn.is-primary{background:var(--primary-bg);border-color:transparent;color:var(--on-primary)}
.ho-stage-detail{margin:16px 0 0;max-width:min(60ch,100%);color:var(--muted2);font:11px/1.5 var(--font-code);white-space:pre-wrap;word-break:break-word}
/* The approved motion book: one H→O drawing, then a still mark. Stroke geometry and
   timing come from src/client/markup/wait-mark.svg, stamped into every waiting page. */
.ho-mark path{stroke-dasharray:var(--len);stroke-dashoffset:0}
@keyframes ho-draw{to{stroke-dashoffset:0}}
@keyframes ho-pulse{0%,100%{opacity:.35}50%{opacity:1}}
@keyframes ho-form-in{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:no-preference){
  .ho-mark path{stroke-dashoffset:var(--len);animation:ho-draw var(--dur) cubic-bezier(.45,0,.2,1) var(--delay) forwards}
  :root[data-mark-drawn] .ho-mark path,.ho-stage.is-failed .ho-mark path,.boot.boot-fatal .ho-mark path{animation:none;stroke-dashoffset:0}
  .ho-stage-line::before{animation:ho-pulse 1.5s ease-in-out infinite}
}

/* Sign-in, password and recovery pages (R24.17.150, redone in R24.17.169, one waiting picture
   since R171d punkt 30). Same tokens as the app: dark by default, light when the device or the
   saved choice asks for it. No card: the mark, «Hotel Operations», the hotel and the line stand
   where they stand on the start screen (wait-stage.css), and the content comes right under. */
@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;min-height:100dvh;padding:0;
  background:radial-gradient(circle at 50% 18%,rgb(var(--accent-rgb) / .14),transparent 38%),var(--bg);
  color:var(--text);font-family:var(--font);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;
}
/* The page's own title stands first in the content, under the line. */
h1{margin:0 0 6px;font-size:20px;font-weight:600;line-height:1.25;letter-spacing:-0.01em;text-align:center}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.sub{max-width:40ch;margin:0 auto 22px;color:var(--muted);font-size:14px;line-height:1.55;text-align:center}
p{margin:0 0 12px;color:var(--muted);text-align:center}
.stack{display:grid;gap:18px}
form{display:grid;gap:16px}
form[hidden]{display:none}
label{display:grid;gap:7px;color:var(--text);font-size:13px;font-weight:500}
input{width:100%;min-height:44px;padding:0 13px;border:1px solid var(--line);border-radius:10px;background:var(--field-bg);color:var(--text);font:inherit;font-size:15px;outline:none;transition:border-color .12s ease,box-shadow .12s ease}
input::placeholder{color:var(--muted2)}
input:hover{border-color:var(--line-strong)}
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{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;padding:0 16px;border:1px solid transparent;border-radius:10px;background:var(--primary-bg);color:var(--on-primary);font:inherit;font-size:14px;font-weight:600;letter-spacing:.005em;cursor:pointer;transition:filter .12s ease,opacity .12s ease}
button:hover{filter:brightness(.94)}
button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
button.alt,button.ghost{background:transparent;border-color:var(--line);color:var(--text)}
button[disabled]{opacity:.7;cursor:wait}
/* While a request is out, the button keeps its word; the line above says what happens. No ring. */
button.is-busy{opacity:.7}
a{color:var(--muted);font-size:13px;font-weight:500;text-decoration:none}
a:hover{color:var(--text)}
a:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
.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)}
.checks{display:grid;gap:4px;margin:0;padding:0;list-style:none;color:var(--muted);font-size:12.5px}
.checks .ok{color:var(--accent)}
.fine{margin:18px 0 0;color:var(--muted);font-size:12px;text-align:center}
@media (prefers-reduced-motion:reduce){input,button{transition:none}}
