/* Voymar Booking – společné styly hosta i panelu majitele. Písma hostovaná lokálně (bez Google Fonts). */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400; font-display: swap; src: url('./fonts/geist-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('./fonts/geist-mono-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400; font-display: swap; src: url('./fonts/geist-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('./fonts/geist-mono-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 500; font-display: swap; src: url('./fonts/geist-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('./fonts/geist-mono-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 500; font-display: swap; src: url('./fonts/geist-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('./fonts/geist-mono-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 600; font-display: swap; src: url('./fonts/geist-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 600; font-display: swap; src: url('./fonts/geist-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 700; font-display: swap; src: url('./fonts/geist-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 700; font-display: swap; src: url('./fonts/geist-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Záměrně jen světlý vzhled: bílý základ, kobaltový akcent (nepřebírá tmavý režim systému). */
/* Layout: lišta (produkt · pohled · klient) → Host: hlavička objektu, vlevo kroky rezervace, vpravo souhrn; Správa: KPI, časová osa, tabulka; Nastavení: konfigurace klienta. */
:root {
  --accent-base: #2f5bff;
  --bg: #ffffff; --surface: #f5f7fa; --raised: #ffffff; --ink: #0a1020; --muted: #5b6577; --faint: #8b94a5; --line: #e4e8ef;
  --accent: var(--accent-base); --accent-ink: #ffffff;
  --accent-soft: color-mix(in srgb, var(--accent) 9%, transparent);
  --accent-line: color-mix(in srgb, var(--accent) 35%, transparent);
  --ok: #0e9f6e; --warn: #c27803; --bad: #d9363e;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r: 10px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: #ffffff; color-scheme: light; }
body { background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; font-weight: 600; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.eyebrow { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hidden { display: none !important; }

/* ---- top bar ---- */
.bar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar-in { max-width: 1200px; margin: 0 auto; padding: 10px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -0.01em; }
.logo-mark { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); position: relative; }
.logo-mark::after { content: ""; position: absolute; inset: 6px 6px 6px 11px; background: var(--accent); border-radius: 2px; }
.logo small { font: 500 11px var(--mono); color: var(--faint); padding: 2px 6px; border: 1px solid var(--line); border-radius: 5px; }
.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; }
.seg button { border: 0; background: none; padding: 6px 14px; border-radius: 6px; cursor: pointer; color: var(--muted); font-weight: 500; font-size: 14px; }
.seg button[aria-selected="true"] { background: var(--raised); color: var(--ink); box-shadow: 0 1px 2px rgba(10,16,32,.08), 0 0 0 1px var(--line); }
.bar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.bar-right label { font: 500 11px var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }

/* ---- controls ---- */
.input, select.input, textarea.input { width: 100%; background: var(--raised); border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; }
.input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
select.input { padding-right: 28px; }
.field { display: grid; gap: 5px; font-size: 13px; font-weight: 500; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 8px; padding: 9px 16px; font-weight: 500; cursor: pointer; background: var(--ink); color: var(--bg); white-space: nowrap; }
.btn.accent { background: var(--accent); color: var(--accent-ink); }
.btn.line { background: var(--raised); color: var(--ink); border-color: var(--line); }
.btn.line:hover { border-color: var(--faint); }
.btn.danger { background: var(--raised); color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, transparent); }
.btn.sm { padding: 5px 10px; font-size: 13px; border-radius: 7px; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
@media (prefers-reduced-motion: no-preference) { .btn, .day, .unit, .seg button { transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s; } }

.card { background: var(--raised); border: 1px solid var(--line); border-radius: var(--r); }
.pad { padding: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); background: var(--raised); }
.status { display: inline-flex; align-items: center; gap: 6px; font: 500 12px var(--font); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.s-confirmed { color: var(--ok); } .s-pending { color: var(--warn); } .s-expired, .s-cancelled { color: var(--faint); } .s-bad { color: var(--bad); }
.notice { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; padding: 10px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.notice b { color: var(--ink); font-weight: 600; }
.notice.warn { background: color-mix(in srgb, var(--warn) 9%, transparent); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px 80px; }

/* ---- property header ---- */
.prop { padding: 36px 0 26px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.prop h1 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.035em; }
.prop .tag { margin-top: 6px; color: var(--muted); font-size: 16px; }
.prop-meta { display: grid; grid-template-columns: repeat(3, auto); gap: 4px 24px; }
.prop-meta div { display: grid; gap: 4px; }
.prop-meta b { font: 500 14px var(--mono); }
@media (max-width: 760px) { .prop { grid-template-columns: 1fr; } .prop-meta { grid-template-columns: repeat(2, auto); justify-content: start; } }

/* ---- host layout ---- */
.host { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
@media (max-width: 980px) { .host { grid-template-columns: minmax(0, 1fr); } }
.steps { display: flex; gap: 0; margin-bottom: 22px; border: 1px solid var(--line); border-radius: var(--r); overflow-x: auto; background: var(--raised); }
.steps button { flex: 1 1 0; min-width: 110px; display: grid; gap: 3px; text-align: left; padding: 10px 14px; background: none; border: 0; border-right: 1px solid var(--line); cursor: pointer; color: var(--faint); }
.steps button:last-child { border-right: 0; }
.steps button span:last-child { font-size: 14px; font-weight: 500; }
.steps button.done { color: var(--muted); }
.steps button.done span:first-child { color: var(--ok); }
.steps button.cur { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); background: var(--accent-soft); }
.steps button.cur span:first-child { color: var(--accent); }
.steps button:disabled { cursor: default; }
.step-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.step-head h2 { font-size: 24px; }
.stack { display: grid; gap: 16px; }

/* guests */
.ctrl-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--raised); }
.stepper button { width: 34px; height: 34px; border: 0; background: none; cursor: pointer; font-size: 18px; color: var(--muted); }
.stepper button:hover:not(:disabled) { color: var(--accent); }
.stepper output { min-width: 34px; text-align: center; font: 500 15px var(--mono); }

/* calendar */
.cal { padding: 16px; min-width: 0; }
@media (max-width: 520px) { .cal { padding: 12px; } .day .p { font-size: 9px; } }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; }
.cal-month h4 { font-size: 15px; margin-bottom: 10px; text-transform: capitalize; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal-grid .wd { font: 500 11px var(--mono); color: var(--faint); text-align: center; padding-bottom: 4px; text-transform: uppercase; }
.day { aspect-ratio: 1 / 0.92; border: 1px solid transparent; border-radius: 7px; background: var(--surface); display: grid; align-content: center; justify-items: center; gap: 1px; cursor: pointer; padding: 0; min-width: 0; }
.day .n { font: 500 14px var(--mono); }
.day .p { font: 400 10px var(--mono); color: var(--muted); }
.day:hover:not(:disabled) { border-color: var(--accent); }
.day:disabled { cursor: default; background: none; color: var(--faint); }
.day.closed { background: repeating-linear-gradient(135deg, transparent 0 4px, var(--line) 4px 5px); color: var(--faint); }
.day.full { background: none; color: var(--faint); }
.day.full .n { text-decoration: line-through; }
.day.today .n { color: var(--accent); }
.day.in { background: var(--accent-soft); border-radius: 0; }
.day.start, .day.end { background: var(--accent); color: var(--accent-ink); }
.day.start .p, .day.end .p { color: inherit; opacity: .8; }
.day.start { border-radius: 7px 0 0 7px; } .day.end { border-radius: 0 7px 7px 0; }
.day.start.end { border-radius: 7px; }
.cal-foot { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.cal-foot i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; vertical-align: -1px; margin-right: 5px; background: var(--surface); }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 4px; }

/* units */
.units { display: grid; gap: 12px; }
.unit { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; padding: 16px; align-items: center; }
.unit.best { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.unit.off { opacity: .55; }
.thumb { width: 76px; height: 76px; border-radius: 8px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); }
.thumb svg { width: 40px; height: 40px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.unit h3 { font-size: 18px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.unit .feats { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.unit .price { text-align: right; display: grid; gap: 2px; justify-items: end; }
.unit .price b { font: 600 22px var(--mono); letter-spacing: -0.02em; }
.unit details { grid-column: 2 / -1; font-size: 13px; }
.unit details summary { cursor: pointer; color: var(--accent); font-weight: 500; }
@media (max-width: 600px) { .unit { grid-template-columns: 56px 1fr; } .thumb { width: 56px; height: 56px; } .unit .price { grid-column: 1 / -1; justify-items: start; text-align: left; } .unit details { grid-column: 1 / -1; } }
.lines { display: grid; gap: 3px; margin-top: 8px; font-family: var(--mono); font-size: 12.5px; }
.lines div { display: flex; justify-content: space-between; gap: 10px; }
.lines .rule { color: var(--faint); }

/* extras */
.extra { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.extra:last-child { border-bottom: 0; }
.extra b { font-weight: 500; }
.extra .amt { font: 500 14px var(--mono); min-width: 80px; text-align: right; }
.switch { position: relative; width: 40px; height: 22px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--line); pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { left: 21px; }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .switch span, .switch span::after { transition: all .15s; } }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.err { color: var(--bad); font-size: 13px; min-height: 18px; }

/* summary */
.summary { position: sticky; top: 76px; display: grid; gap: 0; overflow: hidden; }
.summary > div { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.summary > div:last-child { border-bottom: 0; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.sum-row span:last-child { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; }
.sum-total b { font: 600 26px var(--mono); letter-spacing: -0.02em; }
.sum-dep { background: var(--accent-soft); }

/* payment */
.pay { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: start; }
.qr { background: #fff; padding: 10px; border-radius: 8px; border: 1px solid var(--line); width: 188px; height: 188px; display: grid; place-items: center; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-family: var(--mono); word-break: break-all; }
.mail { font-family: var(--mono); font-size: 12.5px; white-space: pre-wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px; line-height: 1.6; }
@media (max-width: 560px) { .pay { grid-template-columns: 1fr; } }

/* ---- admin ---- */
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px; padding: 32px 0 20px; }
.page-head h1 { font-size: 30px; letter-spacing: -0.03em; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--raised); }
.kpi { padding: 16px 18px; border-right: 1px solid var(--line); display: grid; gap: 6px; }
.kpi:last-child { border-right: 0; }
.kpi b { font: 600 26px var(--mono); letter-spacing: -0.02em; }
.meter { height: 4px; border-radius: 4px; background: var(--surface); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--accent); }
.section { margin-top: 26px; }
.section-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.section-h h2 { font-size: 17px; }
.scroll { overflow-x: auto; }
.tl { min-width: 760px; padding: 6px 0; }
.tl-row { display: grid; grid-template-columns: 150px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.tl-row:last-child { border-bottom: 0; }
.tl-name { padding: 8px 14px; font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-track { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); height: 40px; align-items: center; }
.tl-head .tl-track { height: 30px; }
.tl-c { grid-row: 1; height: 100%; border-left: 1px solid var(--line); }
.tl-c.we { background: var(--surface); }
.tl-c.closed { background: repeating-linear-gradient(135deg, transparent 0 4px, var(--line) 4px 5px); }
.tl-c.today { box-shadow: inset 2px 0 0 var(--accent); }
.tl-d { grid-row: 1; text-align: center; font: 500 11px var(--mono); color: var(--faint); }
.tl-d.we { color: var(--muted); }
.tl-bar { grid-row: 1; z-index: 1; height: 28px; margin: 0 2px; border-radius: 6px; border: 0; padding: 0 8px; font-size: 12px; font-weight: 500; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; min-width: 0; }
.tl-bar.confirmed { background: var(--accent); color: var(--accent-ink); }
.tl-bar.pending { background: color-mix(in srgb, var(--warn) 18%, var(--raised)); color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warn) 55%, transparent); }
.tl-bar.block { background: repeating-linear-gradient(135deg, var(--surface) 0 5px, var(--line) 5px 7px); color: var(--muted); cursor: default; box-shadow: inset 0 0 0 1px var(--line); }
.tl-bar.cont-l { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: 0; }
.tl-bar.cont-r { border-top-right-radius: 0; border-bottom-right-radius: 0; margin-right: 0; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.list { display: grid; }
.list > div { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.list > div:last-child { border-bottom: 0; }
.list .empty { color: var(--faint); }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font: 500 11px var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .06em; background: var(--surface); }
td.num, th.num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
tbody tr { cursor: pointer; }
tbody tr:hover td { background: var(--surface); }
tr:last-child td { border-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters .input { width: 220px; }
.fchip { cursor: pointer; }
.fchip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.inline-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: end; padding: 16px; }
.log > div { font-size: 13px; }
.log .t { font: 400 12px var(--mono); color: var(--faint); white-space: nowrap; }

/* drawer */
.backdrop { position: fixed; inset: 0; background: rgba(9,13,22,.35); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: var(--raised); border-left: 1px solid var(--line); z-index: 41; overflow-y: auto; display: grid; align-content: start; }
.drawer > section { padding: 18px 22px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-h { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.drawer-h h2 { font: 600 24px var(--mono); letter-spacing: -0.01em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
textarea.input { min-height: 160px; resize: vertical; line-height: 1.5; }

/* settings */
.deploy { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; }
.deploy > div { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.who { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.who.gen { color: var(--ok); } .who.cli { color: var(--accent); }
.cfg td { white-space: normal; vertical-align: top; }
.cfg tbody tr { cursor: default; }
.cfg tbody tr:hover td { background: none; }
.cfg .input { padding: 5px 8px; font-family: var(--mono); font-size: 13px; width: 84px; }
.tiers { display: flex; flex-wrap: wrap; gap: 8px; }
.tiers label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
pre.code { margin: 0; padding: 16px; max-height: 360px; overflow: auto; font: 12px/1.55 var(--mono); background: var(--surface); border-radius: 0 0 var(--r) var(--r); }

.ph { background: color-mix(in srgb, var(--warn) 22%, transparent); color: var(--ink); padding: 0 4px; border-radius: 3px; font-family: var(--mono); font-size: .9em; }
.footer { border-top: 1px solid var(--line); background: var(--surface); }
.foot-in { max-width: 1200px; margin: 0 auto; padding: 22px 20px 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px; align-items: start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: flex-end; }
.foot-links button, .linkbtn { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.foot-links button:hover, .linkbtn:hover { color: var(--accent); }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } .foot-links { justify-content: flex-start; } }
.docbox { position: fixed; inset: 4vh max(16px, calc(50vw - 520px)); z-index: 51; background: var(--raised); border: 1px solid var(--line); border-radius: 14px; display: grid; grid-template-columns: 220px minmax(0, 1fr); overflow: hidden; box-shadow: 0 20px 60px rgba(9,13,22,.18); }
.doc-nav { border-right: 1px solid var(--line); background: var(--surface); padding: 16px 10px; display: grid; align-content: start; gap: 2px; overflow-y: auto; }
.doc-nav button { text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 7px; cursor: pointer; color: var(--muted); font-size: 14px; }
.doc-nav button[aria-current="true"] { background: var(--raised); color: var(--ink); box-shadow: 0 0 0 1px var(--line); font-weight: 500; }
.doc { overflow-y: auto; padding: 28px 34px 40px; font-size: 14.5px; line-height: 1.65; }
.doc h2 { font-size: 24px; margin-bottom: 4px; } .doc h3 { font-size: 15px; margin: 22px 0 6px; } .doc p { margin: 0 0 10px; max-width: 68ch; }
.doc-t { margin: 8px 0 12px; font-size: 13px; } .doc-t td, .doc-t th { white-space: normal; vertical-align: top; padding: 7px 10px; } .doc-t tbody tr { cursor: default; } .doc-t tbody tr:hover td { background: none; }
.doc-ol { padding-left: 20px; display: grid; gap: 6px; max-width: 68ch; }
.doc-x { position: absolute; top: 14px; right: 14px; }
@media (max-width: 760px) { .docbox { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); inset: 10px; } .doc-nav { border-right: 0; border-bottom: 1px solid var(--line); display: flex; overflow-x: auto; } .doc-nav button { white-space: nowrap; } .doc { padding: 20px; } }
.cookiebar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 45; max-width: 760px; margin: 0 auto; background: var(--raised); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: end; box-shadow: 0 12px 40px rgba(9,13,22,.16); }
@media (max-width: 640px) { .cookiebar { grid-template-columns: 1fr; } }
.precheck { display: grid; gap: 6px; padding: 14px 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; }
.precheck .sum-row span:first-child { color: var(--muted); }
.checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0; }
.checklist > div { padding: 16px 18px; border-right: 1px solid var(--line); }
.checklist > div:last-child { border-right: 0; }
.checklist ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 13.5px; }
.checklist li { display: grid; grid-template-columns: 18px 1fr; gap: 6px; }
.checklist li::before { font-family: var(--mono); }
.cl-done li::before { content: "✓"; color: var(--ok); } .cl-client li::before { content: "→"; color: var(--accent); } .cl-law li::before { content: "§"; color: var(--warn); }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-size: 14px; z-index: 60; max-width: 92vw; box-shadow: 0 8px 24px rgba(9,13,22,.2); }

/* doplňky pro ostrou verzi */
.loading { color: var(--faint); font-size: 14px; padding: 24px; text-align: center; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.login-bar { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.empty-state { padding: 28px; text-align: center; color: var(--muted); }
.qr svg { width: 168px; height: 168px; display: block; }
body.embedded .wrap { padding-bottom: 24px; }
body.embedded .prop { padding-top: 12px; }
a.btn { text-decoration: none; }

/* =================== Vizuál 2: zážitek pro hosty =================== */
:root { --warm: #ffb86b; --night: #0b1533; --r-lg: 18px; --shadow-1: 0 1px 2px rgba(10,16,32,.06), 0 8px 24px rgba(10,16,32,.06); --shadow-2: 0 2px 4px rgba(10,16,32,.06), 0 18px 48px rgba(10,16,32,.12); }

/* úvodní scéna */
.hero { position: relative; border-radius: var(--r-lg); overflow: hidden; margin: 20px 0 26px; min-height: 380px; display: grid; align-items: end; isolation: isolate; background: var(--night); }
.hero > svg, .hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,13,34,.55) 0%, rgba(7,13,34,0) 34%, rgba(7,13,34,0) 52%, rgba(7,13,34,.78) 100%); }
.hero-in { padding: 30px 34px 28px; color: #fff; display: grid; gap: 14px; }
.hero .eyebrow { color: rgba(255,255,255,.72); }
.hero h1 { font-size: clamp(38px, 6.4vw, 72px); letter-spacing: -0.045em; line-height: .95; color: #fff; }
.hero .tag { font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,.86); max-width: 52ch; }
.hl { display: flex; flex-wrap: wrap; gap: 8px; }
.hl span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 99px; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.hl span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 10px var(--warm); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); font-size: 13px; color: rgba(255,255,255,.75); }
.hero-meta b { color: #fff; font: 500 13px var(--mono); margin-left: 6px; }
.hero .ph { background: rgba(255,184,107,.25); color: #fff; }
body.embedded .hero { min-height: 260px; margin-top: 6px; }
@media (max-width: 640px) { .hero { min-height: 340px; border-radius: 14px; } .hero-in { padding: 22px 20px 20px; } }
@media (prefers-reduced-motion: no-preference) {
  .vb-star { animation: vb-tw 4s ease-in-out infinite; }
  .vb-shim { animation: vb-sh 3.2s ease-in-out infinite; }
  @keyframes vb-tw { 0%, 100% { opacity: .2; } 50% { opacity: .95; } }
  @keyframes vb-sh { 0%, 100% { opacity: .08; transform: translateX(0); } 50% { opacity: .4; transform: translateX(6px); } }
}

/* kroky s ukazatelem průběhu */
.steps { position: relative; box-shadow: var(--shadow-1); border-radius: 12px; }
.steps::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: var(--progress, 20%); background: var(--accent); transition: width .4s ease; }
.steps button.cur { box-shadow: none; }

/* animace přechodu kroků */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: vb-rise .38s cubic-bezier(.2,.7,.2,1) both; }
  .rise > * { animation: vb-rise .45s cubic-bezier(.2,.7,.2,1) both; }
  .rise > *:nth-child(2) { animation-delay: .05s; } .rise > *:nth-child(3) { animation-delay: .1s; } .rise > *:nth-child(4) { animation-delay: .15s; }
  @keyframes vb-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* kalendář: cenová mapa a náhled rozsahu */
.cal.card { box-shadow: var(--shadow-1); }
.day.cheap .p { color: var(--ok); font-weight: 500; }
.day.cheap::after { content: ""; position: absolute; top: 5px; right: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--ok); }
.day { position: relative; }
.day.hov { background: var(--accent-soft); border-radius: 0; }
.day.start.cheap::after, .day.end.cheap::after { background: #fff; }
.range-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: var(--ink); color: var(--bg); font-size: 14px; }
.range-pill b { font-family: var(--mono); font-weight: 500; }

/* karty ubytování */
.ugrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.ucard { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 14px; background: var(--raised); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
@media (prefers-reduced-motion: no-preference) { .ucard { transition: transform .2s ease, box-shadow .2s ease; } .ucard:not(.off):hover { transform: translateY(-3px); box-shadow: var(--shadow-2); } }
.uvis { position: relative; aspect-ratio: 16 / 10; background: var(--night); overflow: hidden; }
.uvis > svg, .uvis > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { font: 600 11px var(--font); letter-spacing: .02em; padding: 5px 9px; border-radius: 99px; background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.badge.acc { background: var(--accent); color: #fff; }
.badge.warm { background: var(--warm); color: #2a1600; }
.ubody { padding: 16px 18px 18px; display: grid; gap: 10px; align-content: start; }
.ubody h3 { font-size: 20px; letter-spacing: -0.02em; }
.cap { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; }
.cap svg { width: 14px; height: 14px; fill: currentColor; }
.uprice { display: flex; justify-content: space-between; align-items: end; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 4px; }
.uprice b { font: 600 26px var(--mono); letter-spacing: -0.03em; display: block; line-height: 1; }
.uprice .small { margin-top: 4px; display: block; }
.ucard.off .uvis { filter: grayscale(.85) brightness(.75); }
.ucard.off .uvis::after { content: attr(data-reason); position: absolute; inset: auto 12px 12px 12px; color: #fff; font-size: 13px; font-weight: 500; }
.ucard details { font-size: 13px; } .ucard details summary { cursor: pointer; color: var(--accent); font-weight: 500; }

/* doplňky jako dlaždice */
.xgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 12px; }
.xcard { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--raised); cursor: pointer; }
.xcard.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.xicon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.xicon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.xcard b { font-weight: 600; display: block; }

/* souhrn */
.summary { box-shadow: var(--shadow-1); border-radius: 14px; }
.sum-vis { padding: 0 !important; aspect-ratio: 16 / 7; position: relative; overflow: hidden; background: var(--night); }
.sum-vis > svg, .sum-vis > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* potvrzení a stav rezervace */
.success { text-align: center; padding: 34px 20px 26px; display: grid; justify-items: center; gap: 10px; }
.success h2 { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -0.03em; }
.success p { color: var(--muted); max-width: 52ch; }
.okmark { width: 76px; height: 76px; }
.okmark circle { fill: none; stroke: var(--ok); stroke-width: 3; stroke-dasharray: 220; stroke-dashoffset: 0; }
.okmark path { fill: none; stroke: var(--ok); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 0; }
.okmark.wait circle { stroke: var(--warn); } .okmark.wait path { stroke: var(--warn); }
.okmark.bad circle, .okmark.bad path { stroke: var(--faint); }
@media (prefers-reduced-motion: no-preference) {
  .okmark circle { animation: vb-draw .7s ease-out both; } .okmark path { animation: vb-draw2 .45s .55s ease-out both; }
  @keyframes vb-draw { from { stroke-dashoffset: 220; } } @keyframes vb-draw2 { from { stroke-dashoffset: 60; } }
}
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 8px 0 4px; counter-reset: tl; }
.timeline li { list-style: none; position: relative; padding: 34px 10px 0; text-align: center; font-size: 13px; color: var(--faint); }
.timeline li b { display: block; color: inherit; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.timeline li::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--line); }
.timeline li:first-child::before { left: 50%; } .timeline li:last-child::before { right: 50%; }
.timeline li::after { content: ""; position: absolute; top: 2px; left: calc(50% - 8px); width: 16px; height: 16px; border-radius: 50%; background: var(--raised); border: 2px solid var(--line); box-sizing: border-box; }
.timeline li.done { color: var(--muted); } .timeline li.done b { color: var(--ink); }
.timeline li.done::before { background: var(--ok); } .timeline li.done::after { background: var(--ok); border-color: var(--ok); }
.timeline li.now { color: var(--ink); } .timeline li.now::after { border-color: var(--warn); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--warn) 22%, transparent); }
@media (max-width: 640px) { .timeline { grid-template-columns: 1fr; } .timeline li { text-align: left; padding: 0 0 16px 30px; } .timeline li::before { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; } .timeline li:first-child::before { top: 9px; left: 7px; } .timeline li:last-child::before { bottom: auto; height: 9px; right: auto; } .timeline li::after { top: 2px; left: 0; } }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; align-items: start; }
.receipt { font-size: 14px; }
.receipt .r-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); margin-bottom: 10px; }
.receipt .r-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.receipt .r-row span:last-child { font-family: var(--mono); white-space: nowrap; }
.receipt .r-total { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 10px; font-weight: 600; font-size: 16px; }

/* mobilní lišta s cenou */
.mbar { display: none; }
@media (max-width: 980px) {
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--raised) 92%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(10,16,32,.08); }
  .mbar b { font: 600 18px var(--mono); display: block; }
  .mbar .small { display: block; }
  body.has-mbar .wrap { padding-bottom: 110px; }
  body.has-mbar .summary { display: none; }
}
.btn.accent { box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn.accent:hover:not(:disabled) { filter: brightness(1.06); }

.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,13,34,.72) 0%, rgba(7,13,34,.35) 38%, rgba(7,13,34,0) 60%); }
.hero-in > * { max-width: 640px; }
.hero-meta { max-width: none !important; }
.paycard { display: grid; gap: 14px; }
.pay-top { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; }
.pay-top .qr { width: 150px; height: 150px; }
.pay-top .qr svg { width: 128px; height: 128px; }
.pay-amt { font-size: 30px; font-weight: 600; letter-spacing: -.02em; margin: 2px 0 4px; }
.paycard .kv dd { word-break: normal; overflow-wrap: anywhere; }
@media (max-width: 420px) { .pay-top { grid-template-columns: 1fr; } }
