
:root[data-theme="hauser"] {
  --bg: #F6F3EE; --surface: #E6DED0; --on-band: #CFC7BA; --line: #BCB09F;
  --ink: #141820; --muted: #6B655C; --primary: #1A2744; --on-primary: #FFFFFF;
  --secondary: #3E4E6E; --accent: #7A6236; --on-accent: #FFFFFF;
  --action: var(--primary); --on-action: var(--on-primary);
  --metal: #C6A56A; --on-metal: #141820; --radius: 2px; --focus: var(--accent);
  --success: #1F6B45; --warning: #9A3412; --danger: #8E2F2F; --disabled: #8C8478;
  color-scheme: light;
}
:root[data-theme="komnata"] {
  --bg: #0E1016; --surface: #2E3442; --on-band: #A0A5B1; --line: #434956;
  --ink: #EAECF0; --muted: #A0A5B1; --primary: #2E3442; --on-primary: #EAECF0;
  --secondary: #B9BFCA; --accent: #CBAA72; --on-accent: #0E1016;
  --action: var(--accent); --on-action: var(--on-accent);
  --metal: #D3BB92; --on-metal: #0E1016; --radius: 2px; --focus: var(--accent);
  --success: #7DCAA4; --warning: #E07A5F; --danger: #E7A3A3; --disabled: #646A78;
  color-scheme: dark;
}
:root {
  --step--1: 0.8rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.563rem;
  --step-3: 1.953rem;
  --step-4: 2.441rem;
  --step-5: 3.052rem;
  --step-6: 3.815rem;
  --step-7: 4.768rem;
  --step-8: 5.96rem;
  --step-9: 7.451rem;
  --step-10: 9.313rem;
  --step-kicker: var(--step--1);
  --step-meta: var(--step--1);
  --step-body: var(--step-0);
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --zlato: linear-gradient(135deg, var(--accent) 0%, var(--metal) 38%, var(--on-primary) 50%, var(--metal) 62%, var(--accent) 100%);
}
@media (min-width: 120.0625em) { html { font-size: max(1rem, min(100vw / 120, 100vh / 67.5)); } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: var(--step-body);
  line-height: 1.55;
  font-kerning: normal;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--metal); color: var(--on-metal); }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s-4); top: -10rem; z-index: 99; padding: var(--s-3) var(--s-4);
  background: var(--action); color: var(--on-action); font-weight: 700; border-radius: var(--radius); }
.skip:focus { top: var(--s-4); }
html:not(.js) .rezim { display: none !important; }
.rezim { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 44px; min-width: 44px; padding: 0 var(--s-3);
  border: 1px solid currentColor; border-radius: var(--radius); background: transparent; color: inherit; font: inherit; font-size: var(--step-meta); font-weight: 600; cursor: pointer; }
.rezim::before { content: ""; width: 0.75em; height: 0.75em; border-radius: 50%; border: 1.5px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
@media (max-width: 22em) { .rezim { padding: 0; } .rezim .rezim__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.field { display: block; width: 100%; min-height: 44px; color: inherit; font: inherit; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
