/* CHDBVC rezervácie. Student page: DM thread with CHDBVC, composer at the thumb. Admin: occupancy facade, list, QR check-in at reception. */
:root {
  --noc: #110820;
  --noc-2: #1D1036;
  --noc-3: #2A1A4A;
  --fialova: #6A3FD8;
  --purpur: #9B30E8;
  --magenta: #D946EF;
  --lcd: #E3C8FF;
  --lcd-ink: #2B1050;
  --biela: #FFFFFF;
  --hmla: #BFAEE0;
  --hmla-2: #9A88BF;
  --linka: rgba(191, 174, 224, 0.18);
  --okno: #24163F;
  --chyba: #FF8FA9;
  --ok: #6CF2B8;
  --display: "Montserrat", system-ui, sans-serif;
  --text: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pixel: "DotGothic16", "Courier New", monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--noc); }
body {
  background: var(--noc);
  color: var(--biela);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(180deg, #1B0E36 0%, rgba(17, 8, 32, 0) 42%),
    radial-gradient(90% 40% at 100% 100%, rgba(106, 63, 216, 0.16), transparent 70%);
}
::selection { background: var(--lcd); color: var(--lcd-ink); }
:focus-visible { outline: 2px solid var(--lcd); outline-offset: 3px; border-radius: 8px; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--noc-3); border-radius: 8px; }

.wrap {
  position: relative; z-index: 1;
  max-width: 480px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 10px 0;
}
.wrap.wide { max-width: 1040px; padding-bottom: 64px; }
.chat-app .wrap { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.chat-app .thread { flex: 1 0 auto; }


/* ===== CHAT ===== */
.chat-head { display: flex; align-items: center; gap: 12px; padding: 8px 0 14px; border-bottom: 1px solid var(--linka); }
.avatar { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: linear-gradient(160deg, var(--purpur), var(--fialova)); }
.avatar img { width: 40px; height: auto; }
.chat-head b { display: block; font-size: 16px; font-weight: 700; line-height: 1.2; }
.chat-head small { font-size: 13px; color: var(--hmla); }

.pin {
  margin: 16px 0 6px; padding: 16px 16px 14px; border-radius: 18px;
  background: linear-gradient(135deg, #3A1F6E 0%, #2A1757 60%, #24134A 100%);
  border: 1px solid rgba(227, 200, 255, 0.22);
  display: grid; gap: 6px;
}
.pin h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 9vw, 38px); line-height: .95; text-transform: uppercase; letter-spacing: -0.01em; }
.pin .meta { font-size: 15px; font-weight: 300; color: var(--biela); text-transform: uppercase; letter-spacing: .02em; }
.pin .meta b { font-weight: 800; }
.pin .cap { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 6px; padding-top: 10px; border-top: 1px dashed rgba(227, 200, 255, 0.28); }
.pin .cap span { font-family: var(--pixel); font-size: 16px; color: var(--lcd); white-space: nowrap; }
.pin .cap em { font-style: normal; font-size: 12px; color: var(--hmla); font-weight: 500; text-align: right; }

.thread { list-style: none; margin: 0; padding: 14px 0 24px; display: flex; flex-direction: column; gap: 8px; }
.who { font-size: 11px; font-weight: 700; color: var(--hmla-2); margin: 8px 0 -2px 4px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 20px; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.msg.bot { align-self: flex-start; background: var(--noc-3); border-bottom-left-radius: 6px; }
.msg.me {
  align-self: flex-end; background: var(--biela); color: var(--noc-2); font-weight: 600; border-bottom-right-radius: 6px;
  border: 0; text-align: left; display: flex; align-items: center; gap: 8px;
}
.msg.me svg { width: 14px; height: 14px; stroke: #8C7AB0; fill: none; stroke-width: 2; flex: none; opacity: 0; transition: opacity .15s ease; }
.msg.me:hover svg, .msg.me:focus-visible svg { opacity: 1; }
.msg.me.editing { outline: 2px solid var(--lcd); outline-offset: 2px; }
.msg.err { background: rgba(255, 143, 169, 0.14); color: #FFD3DE; border: 1px solid rgba(255, 143, 169, 0.35); }
.msg .sub { display: block; font-size: 13px; color: var(--hmla); margin-top: 2px; }
.msg.me .sub { color: #6B5A8E; font-weight: 500; }
.typing { align-self: flex-start; display: flex; gap: 5px; padding: 14px 16px; background: var(--noc-3); border-radius: 20px; border-bottom-left-radius: 6px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--hmla); animation: dot 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-3px); opacity: .5; } }
.enter { animation: pop .32s cubic-bezier(.16, 1, .3, 1); }
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: .4; } }
.edit-hint { align-self: flex-end; font-size: 12px; color: var(--hmla-2); margin: -2px 6px 0 0; }

/* summary card inside a bot message */
.sum { align-self: stretch; max-width: 100%; background: var(--noc-2); border: 1px solid var(--linka); border-radius: 20px; border-bottom-left-radius: 6px; padding: 14px; display: grid; gap: 12px; }
.sum h2 { margin: 0; font-size: 15px; font-weight: 700; }
.sum ol { margin: 0; padding: 0; list-style: none; display: grid; }
.sum li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--linka); font-size: 15px; }
.sum li .i { font-family: var(--pixel); color: var(--hmla-2); font-size: 13px; }
.sum li .n { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sum li .g { color: var(--hmla); font-size: 13px; }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--hmla); cursor: pointer; line-height: 1.45; }
.check input {
  appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; border-radius: 7px;
  border: 1.5px solid var(--hmla-2); background: var(--noc); display: grid; place-items: center; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.check input::after { content: ""; width: 6px; height: 11px; border: solid var(--lcd-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.check input:checked { background: var(--lcd); border-color: var(--lcd); }
.check input:checked::after { opacity: 1; }
.check.bad input { border-color: var(--chyba); }
.check-err { font-size: 13px; color: var(--chyba); font-weight: 600; margin: -4px 0 0 36px; }
.check-err:empty { display: none; }

/* ticket (wristband) as the last message */
.band {
  align-self: stretch; position: relative; border-radius: 20px; overflow: hidden;
  background: linear-gradient(160deg, #A43BF0 0%, var(--purpur) 45%, #7A22C9 100%);
  padding: 18px 18px 16px; color: #fff;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .25), 0 18px 30px -16px rgba(0, 0, 0, .7);
}
.band::before, .band::after { content: ""; position: absolute; top: 58%; width: 22px; height: 22px; border-radius: 50%; background: var(--noc); transform: translateY(-50%); }
.band::before { left: -11px; } .band::after { right: -11px; }
.band-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.band-top img { width: 104px; height: auto; }
.band-top .ppl { text-align: right; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.88); }
.band-top .ppl b { display: block; font-size: 28px; font-weight: 900; line-height: 1; color: #fff; }
.band .when { margin: 10px 0 0; font-size: 14px; font-weight: 800; text-transform: uppercase; }
.band .when span { font-weight: 300; }
.code-wrap { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 2px dashed rgba(255,255,255,.35); }
.qr { width: 100px; height: 100px; flex: none; background: #fff; border-radius: 10px; padding: 7px; }
.qr svg { width: 100%; height: 100%; display: block; }
.code-lbl { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.9); }
.lcd { margin-top: 6px; padding: 8px 12px; border-radius: 10px; background: var(--lcd); color: var(--lcd-ink); box-shadow: inset 0 2px 6px rgba(43, 16, 80, .4); }
.code { font-family: var(--pixel); font-size: clamp(23px, 7vw, 28px); letter-spacing: 0.06em; line-height: 1.1; white-space: nowrap; }
.band .names { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 3px; font-size: 14px; font-weight: 600; }
.band .names li { display: flex; justify-content: space-between; gap: 10px; }
.band .names li span { color: rgba(255,255,255,.8); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* composer */
.composer {
  position: sticky; bottom: 0; z-index: 5;
  margin: 0 calc(-1 * max(16px, env(safe-area-inset-right, 0px))) 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: linear-gradient(180deg, rgba(17, 8, 32, 0) 0%, var(--noc) 26%);
}
.composer form { display: flex; gap: 10px; align-items: center; margin: 0; }
.composer .field { flex: 1; min-width: 0; position: relative; }
.composer input[type="text"] {
  width: 100%; height: 52px; padding: 0 18px; border-radius: 26px;
  background: var(--noc-2); border: 1px solid rgba(191, 174, 224, 0.28);
  font-size: 16px; font-weight: 500; color: var(--biela); caret-color: var(--lcd);
}
.composer input[type="text"]::placeholder { color: #8371A8; }
.composer input[type="text"]:focus { outline: none; border-color: var(--lcd); }
.composer .at input[type="text"] { padding-left: 36px; }
.composer .at::before { content: "@"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--hmla); font-weight: 600; pointer-events: none; }
.send { width: 52px; height: 52px; flex: none; border-radius: 50%; border: 0; background: var(--biela); display: grid; place-items: center; transition: transform .1s ease; }
.send:active { transform: scale(.94); }
.send svg { width: 22px; height: 22px; fill: none; stroke: var(--fialova); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.chips { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.chip {
  height: 52px; border-radius: 16px; border: 1.5px solid rgba(227, 200, 255, 0.4); background: var(--noc-2);
  font-weight: 900; font-size: 20px; color: var(--lcd); transition: background-color .15s ease, color .15s ease, transform .1s ease;
}
.chip:active { transform: scale(.95); }
.chip[aria-pressed="true"] { background: var(--lcd); color: var(--lcd-ink); border-color: var(--lcd); }
.btn {
  width: 100%; height: 56px; border: 0; border-radius: 16px; background: var(--biela); color: var(--noc-2);
  font-family: var(--display); font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: 0.02em;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .7); transition: transform .1s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn.ghost { background: transparent; color: var(--biela); border: 1px solid rgba(191, 174, 224, 0.35); box-shadow: none; text-transform: none; font-weight: 700; letter-spacing: 0; font-size: 15px; height: 50px; }
.chip-note { margin: 8px 0 0 4px; font-size: 12px; color: var(--hmla-2); }
.cancel-edit { background: none; border: 0; color: var(--hmla); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 0 0 8px 6px; }
.legal { display: flex; gap: 18px; justify-content: center; margin: 10px 0 0; font-size: 12px; }
.legal a, .msg.bot a, .check a { color: var(--lcd); text-underline-offset: 3px; font-weight: 600; }
.doc { padding-bottom: 56px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--lcd); font-weight: 600; text-decoration: none; font-size: 14px; padding: 8px 0; }
.back svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.doc h1 { font-size: clamp(26px, 8vw, 34px); font-weight: 800; text-transform: uppercase; line-height: 1.02; margin: 12px 0 8px; letter-spacing: -0.01em; }
.doc .lead { color: var(--hmla); margin: 0 0 8px; font-size: 15px; }
.doc h2 { font-size: 16px; font-weight: 700; margin: 28px 0 6px; }
.doc p, .doc li { font-size: 15px; line-height: 1.6; color: #E6DCF8; max-width: 65ch; }
.doc p { margin: 0 0 8px; }
.doc ul { padding-left: 20px; margin: 4px 0 8px; display: grid; gap: 4px; }
.doc a { color: var(--lcd); text-underline-offset: 3px; }
.doc .updated { margin-top: 30px; font-size: 13px; color: var(--hmla-2); }
mark.todo { background: #FFE08A; color: #2B1050; padding: 0 5px; border-radius: 4px; font-weight: 700; }
.foot { margin: 6px 0 12px; font-size: 12px; color: var(--hmla-2); text-align: left; }

/* facade */
.facade-block { margin: 0 0 30px; }
.facade {
  position: relative;
  background: linear-gradient(180deg, #1C1029 0%, #140B1F 100%);
  border-radius: 6px 6px 2px 2px;
  padding: 14px 12px 0;
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.7);
}
.facade::before {
  content: ""; position: absolute; left: -6px; right: -6px; top: -7px; height: 8px;
  background: #24163A; border-radius: 3px;
}
.windows { display: grid; grid-template-columns: repeat(20, 1fr); gap: 4px 3px; }
.win {
  aspect-ratio: 3 / 4; border-radius: 2px; background: var(--okno);
  transition: background-color .25s ease, box-shadow .25s ease;
}
.win.on { background: var(--c, var(--fialova)); box-shadow: inset 0 -2px 0 rgba(0,0,0,.18); }
.door { display: flex; justify-content: center; gap: 3px; padding-top: 10px; }
.door span { width: 26px; height: 22px; background: #0A0510; border-radius: 3px 3px 0 0; border: 1px solid #2E1F44; border-bottom: 0; }
.ground { height: 3px; background: #2E1F44; margin: 0 -14px; border-radius: 2px; }

/* ===== ADMIN ===== */
.adm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 22px; flex-wrap: wrap; }
.adm-head .id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.adm-head img { width: 112px; height: auto; }
.adm-head h1 { font-family: var(--display); font-size: 18px; font-weight: 700; margin: 0; line-height: 1.2; }
.adm-head p { margin: 0; color: var(--hmla); font-size: 13px; }
.sample { font-size: 12px; font-weight: 600; color: var(--noc); background: var(--hmla); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }

.adm-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .adm-grid { grid-template-columns: 1.05fr 1fr; align-items: start; } .adm-list { grid-column: 1 / -1; } }
.panel { background: rgba(26, 14, 40, 0.78); border: 1px solid var(--linka); border-radius: 16px; padding: 18px; min-width: 0; }
.panel h2 { font-family: var(--display); font-size: 15px; font-weight: 700; margin: 0 0 14px; letter-spacing: -0.005em; }
.occ-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.occ-big { font-family: var(--display); font-weight: 900; font-size: 48px; line-height: .95; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.occ-big small { font-size: 20px; color: var(--hmla); font-weight: 500; letter-spacing: 0; }
.occ-pct { font-size: 14px; color: var(--hmla); text-align: right; }
.occ-pct b { color: var(--biela); font-size: 16px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 0 0; border-top: 1px solid var(--linka); }
.facts div { padding: 12px 0 0; }
.facts div + div { padding-left: 12px; border-left: 1px solid var(--linka); }
.facts dt { font-size: 12px; color: var(--hmla); font-weight: 500; }
.facts dd { margin: 2px 0 0; font-family: var(--display); font-weight: 700; font-size: 20px; font-variant-numeric: tabular-nums; }

.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { fill: var(--hmla); font-family: var(--text); font-size: 11px; }
.chart .val { fill: var(--biela); font-weight: 700; font-size: 11px; }
.chart .grid { stroke: var(--linka); stroke-width: 1; }
.stack-panels { display: grid; gap: 18px; }

.sizes { display: grid; gap: 8px; }
.size-row { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; gap: 10px; font-size: 13px; }
.size-row .lbl { color: var(--hmla); font-weight: 600; }
.size-row .bar { height: 12px; border-radius: 3px; background: var(--okno); overflow: hidden; }
.size-row .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--fialova), var(--magenta)); border-radius: 3px; }
.size-row .v { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.size-row .v span { color: var(--hmla-2); font-weight: 500; }

.tools { display: grid; gap: 10px; grid-template-columns: 1fr; margin-bottom: 12px; }
@media (min-width: 620px) { .tools { grid-template-columns: 1fr auto auto; } }
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); stroke: var(--hmla-2); fill: none; stroke-width: 2; }
.search .input { padding-left: 42px; height: 46px; }
.seg { display: flex; background: var(--noc-2); border: 1px solid var(--linka); border-radius: 10px; padding: 3px; }
.seg button { flex: 1 1 auto; border: 0; background: transparent; color: var(--hmla); font-size: 13px; font-weight: 600; padding: 8px 10px; border-radius: 7px; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--noc-3); color: var(--biela); }
.tool-btn { height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--linka); background: var(--noc-2); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; justify-content: center; }
.tool-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.count-line { font-size: 13px; color: var(--hmla); margin: 0 0 8px; }

.res { list-style: none; margin: 0; padding: 0; }
.res > li { border-top: 1px solid var(--linka); }
.res-btn {
  width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center;
  text-align: left; background: transparent; border: 0; padding: 14px 4px;
}
.res-name { font-weight: 700; font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.res-meta { font-size: 13px; color: var(--hmla); grid-column: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.res-meta .new { color: var(--ok); font-weight: 600; }
.pill {
  grid-row: 1 / span 2; grid-column: 2;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--display); font-weight: 700; font-size: 14px;
  padding: 6px 10px; border-radius: 999px; background: var(--noc-3); font-variant-numeric: tabular-nums;
}
.pill svg { width: 15px; height: 15px; stroke: var(--hmla); fill: none; stroke-width: 2; }
.pill.big { background: #3E2770; }
.res-detail { padding: 0 4px 16px; display: grid; gap: 12px; }
.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; background: var(--noc-2); border-radius: 10px; border: 1px solid var(--linka); }
.people li { display: grid; grid-template-columns: 22px 1fr auto auto; gap: 10px; align-items: center; padding: 9px 12px; font-size: 14px; }
.people li + li { border-top: 1px solid var(--linka); }
.people .i { font-size: 11px; color: var(--hmla-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.people .nm { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.people .nm em { display: block; font-style: normal; font-size: 11px; color: var(--magenta); font-weight: 700; }
.people .ig2 { color: var(--hmla); font-size: 13px; }
.det-row { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--hmla); align-items: center; }
.det-row b { color: var(--biela); font-family: var(--display); letter-spacing: .03em; }
.det-row .spacer { flex: 1; }
.link-btn { background: none; border: 0; color: var(--chyba); font-weight: 600; font-size: 13px; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; }
.confirm { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--biela); }
.confirm button { border: 1px solid var(--linka); background: var(--noc-3); border-radius: 8px; padding: 6px 10px; font-size: 13px; font-weight: 600; }
.confirm button.yes { background: var(--chyba); color: var(--noc); border-color: var(--chyba); }
.empty { padding: 28px 4px; color: var(--hmla); text-align: left; }
.empty b { color: var(--biela); display: block; margin-bottom: 4px; }
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px);
  background: var(--biela); color: var(--noc); font-weight: 600; font-size: 14px; padding: 10px 16px; border-radius: 10px;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .25s cubic-bezier(.16,1,.3,1); z-index: 20;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reset { margin-top: 26px; font-size: 13px; color: var(--hmla-2); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.reset button { background: none; border: 1px solid var(--linka); color: var(--hmla); padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.gdpr p { margin: 0 0 10px; font-size: 14px; color: var(--hmla); line-height: 1.5; max-width: 70ch; }
.gdpr p b { color: var(--biela); }
.gdpr .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.danger-btn { height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid rgba(255, 143, 169, 0.5); background: transparent; color: var(--chyba); font-weight: 700; font-size: 13px; }
.danger-btn.solid { background: var(--chyba); color: var(--noc); border-color: var(--chyba); }
.plain-btn { height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--linka); background: var(--noc-2); font-weight: 600; font-size: 13px; }
.rm { background: none; border: 0; color: var(--chyba); font-size: 12px; font-weight: 700; padding: 4px 0 4px 6px; text-decoration: underline; text-underline-offset: 3px; }
.occ-note { margin: 12px 0 0; font-size: 13px; color: var(--hmla); }
.occ-note b { color: var(--biela); }

/* ===== shared form bits ===== */
.demo-banner { margin: 8px 0 4px; padding: 8px 12px; border-radius: 10px; background: #FFE08A; color: #2B1050; font-size: 13px; font-weight: 600; }
.lbl { display: block; font-size: 14px; font-weight: 600; color: var(--hmla); margin: 14px 0 6px; }
.input {
  width: 100%; height: 50px; padding: 0 14px; border-radius: 12px;
  background: var(--noc-2); border: 1px solid rgba(191, 174, 224, 0.28);
  font-size: 16px; font-weight: 500; color: var(--biela); caret-color: var(--lcd);
}
.input::placeholder { color: #8371A8; }
.input:focus { outline: none; border-color: var(--lcd); }

/* ===== admin: login ===== */
.login { max-width: 420px; padding-block: 24px 48px; }
.login-logo { width: 170px; height: auto; display: block; margin: 24px 0 18px; }
.login h1 { font-size: clamp(32px, 10vw, 42px); font-weight: 800; text-transform: uppercase; line-height: 1; margin: 0 0 6px; }
.login .lead { color: var(--hmla); margin: 0 0 10px; }
.login form { margin-top: 8px; }
.login .btn { margin-top: 18px; }
.login-err { min-height: 20px; margin: 10px 0 0; color: var(--chyba); font-size: 14px; font-weight: 600; }
.login-note { color: var(--hmla); font-size: 14px; margin: 12px 0 0; }

/* ===== admin: shell ===== */
.adm-bar { display: flex; align-items: center; gap: 14px; padding: 10px 0 14px; }
.adm-bar img { width: 96px; height: auto; flex: none; }
.adm-title { flex: 1; min-width: 0; line-height: 1.25; }
.adm-title b { display: block; font-size: 18px; font-weight: 800; text-transform: uppercase; }
.adm-title span { font-size: 13px; color: var(--hmla); }
.plain-btn.small { height: 38px; padding: 0 12px; }
.tabs { display: flex; gap: 4px; padding: 4px; margin: 0 0 18px; background: var(--noc-2); border: 1px solid var(--linka); border-radius: 14px; }
.tabs button { flex: 1; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--hmla); font-weight: 700; font-size: 14px; }
.tabs button[aria-selected="true"] { background: var(--biela); color: var(--noc-2); }
.list-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.list-head h2 { margin: 0; }
.list-head .tool-btn { height: 38px; }
.pill.in { background: #1F5A47; }
.pill.in svg { stroke: var(--ok); }

/* ===== admin: check-in ===== */
.check-panel { max-width: 560px; margin: 0 auto; display: grid; gap: 14px; }
.inside { margin: 0; font-size: 14px; color: var(--hmla); }
.inside b { font-size: 22px; color: var(--biela); font-weight: 800; margin-right: 4px; font-variant-numeric: tabular-nums; }
.scan-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 64px; font-size: 17px; }
.scan-btn svg, .v-actions .btn svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.scanner { position: relative; border-radius: 16px; overflow: hidden; background: #000; aspect-ratio: 1 / 1; max-height: 70vh; }
.scanner video { width: 100%; height: 100%; object-fit: cover; display: block; }
.scanner .frame { position: absolute; inset: 18%; border: 3px solid var(--lcd); border-radius: 18px; box-shadow: 0 0 0 999px rgba(17, 8, 32, 0.45); }
.stop { width: 100%; margin-top: 10px; }
.scan-err { margin: 0 0 10px; color: #FFD3DE; font-size: 14px; }
.manual-row { display: flex; gap: 10px; }
.manual-row .plain-btn { height: 50px; flex: none; }
.code-input { font-family: var(--pixel); font-size: 20px; letter-spacing: .06em; text-transform: uppercase; }
.hint-line { margin: 4px 0 0; color: var(--hmla); font-size: 14px; }
.verdict { border-radius: 18px; padding: 18px; display: grid; gap: 8px; }
.verdict p { margin: 0; }
.verdict.good { background: #0F3D30; border: 2px solid var(--ok); }
.verdict.warn { background: #4A3410; border: 2px solid #FFC15E; }
.verdict.bad { background: #4A1626; border: 2px solid var(--chyba); }
.verdict.wait { background: var(--noc-2); border: 2px solid var(--linka); }
.v-big { font-size: clamp(36px, 12vw, 52px); font-weight: 900; text-transform: uppercase; line-height: 1; letter-spacing: -0.01em; }
.good .v-big { color: var(--ok); } .warn .v-big { color: #FFC15E; } .bad .v-big { color: var(--chyba); }
.v-code { font-family: var(--pixel); font-size: 20px; letter-spacing: .05em; }
.v-code span { font-family: var(--text); font-size: 14px; color: var(--hmla); letter-spacing: 0; margin-left: 8px; }
.v-names { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 4px; }
.v-names li { display: flex; justify-content: space-between; gap: 10px; font-size: 16px; font-weight: 700; }
.v-names em { font-style: normal; font-weight: 500; font-size: 14px; color: var(--hmla); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-hint { font-size: 14px; color: #E6DCF8; }
.v-actions { display: grid; gap: 10px; margin-top: 6px; }
.v-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.verdict .btn { margin-top: 6px; }
