/* Vstupenkárna – vzhled podle návrhu „Aula“ */
:root {
  --paper: #E9E6DF;
  --paper2: #dedad1;
  --white: #f6f4ef;
  --ink: #111111;
  --ink2: #3a3833;
  --mute: #66625a;
  --line: 2px solid var(--ink);
  --thin: 1px solid rgba(17, 17, 17, .18);
  --accent: #FF4A1C;
  --ok: #1a7f3c;
  --warn: #b45309;
  --bad: #c0262d;
  --pad: clamp(20px, 4vw, 56px);
  --display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
main { flex: 1; }
a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
a:hover { color: #000; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.05; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: 1.1rem; }
em { font-family: var(--serif); font-weight: 400; }
code, .mono { font-family: var(--mono); font-size: .92em; }
small, .small { font-size: .86em; }
mark { background: var(--accent); color: var(--ink); padding: 0 4px; }
.muted { color: var(--mute); }
.center { text-align: center; }
.strong { font-weight: 700; text-decoration: none; }
.hp { position: absolute !important; left: -9999px; height: 1px; overflow: hidden; }
.wrap { width: 100%; max-width: 1560px; margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 520px; }
.auth { padding-top: 56px; padding-bottom: 80px; }

.kicker { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); margin: 0 0 12px; text-decoration: none; }
.h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 6vw, 84px); line-height: 1; letter-spacing: .005em; }
.h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 34px; letter-spacing: .01em; }
.display, .display-sm { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 1; }
.display { font-size: clamp(56px, 9vw, 140px); margin: 0 0 20px; }
.display-sm { font-size: clamp(48px, 7vw, 96px); }
.big { font-size: 1.3rem; font-weight: 700; margin: 0 0 4px; }
.lead { font-size: 1.15rem; line-height: 1.5; }

/* Hlavička */
.topbar { background: var(--paper); border-bottom: var(--line); position: relative; z-index: 30; }
.topbar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 76px; padding-top: 12px; padding-bottom: 12px; }
.logo { font-family: var(--display); font-weight: 900; font-size: 34px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; line-height: 1; }
.topnav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-weight: 500; }
.topnav a { text-decoration: none; padding: 10px 0; }
.topnav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.topnav .nav-pill { background: var(--ink); color: var(--paper); padding: 12px 22px; border-radius: 999px; font-weight: 700; }
.topnav .nav-pill:hover { color: var(--paper); text-decoration: none; background: #000; }
.subnav { border-top: var(--line); background: var(--ink); }
.subnav-in { display: flex; gap: 4px; align-items: center; overflow-x: auto; min-height: 50px; white-space: nowrap; }
.subnav a { color: var(--paper); text-decoration: none; padding: 7px 14px; border-radius: 999px; font-size: .93rem; font-weight: 500; }
.subnav a:hover { background: #2a2a2a; color: var(--paper); }
.subnav a.on { background: var(--paper); color: var(--ink); }
.subnav-user { margin-left: auto; color: #9d9990; font-size: .86rem; padding-left: 12px; }

/* Tlačítka */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 15px/1 var(--sans); padding: 14px 24px; min-height: 46px; border-radius: 999px; border: var(--line); background: var(--ink); color: var(--paper); cursor: pointer; text-decoration: none; transition: background .15s, color .15s, transform .08s; }
.btn:hover { background: #000; color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn-hot { background: var(--ink); color: var(--paper); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-danger { background: transparent; color: var(--bad); border-color: var(--bad); }
.btn-danger:hover { background: var(--bad); color: #fff; }
.btn-sm { padding: 8px 16px; min-height: 36px; font-size: 13.5px; }
.btn-lg { padding: 18px 30px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-link { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font-size: .9rem; font-weight: 500; }
.btn-link:hover { color: #000; text-decoration-thickness: 2px; }
.chip-btn { font: 500 13px var(--sans); border: 1.5px solid var(--ink); background: transparent; border-radius: 999px; padding: 6px 12px; cursor: pointer; color: var(--ink); }
.chip-btn:hover { background: var(--ink); color: var(--paper); }

/* Formuláře */
.form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 16px; }
.form label small { font-weight: 400; color: var(--mute); font-size: 14px; }
input, select, textarea { font: 400 16px var(--sans); color: var(--ink); }
.form input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]):not([type=file]), .form select, .form textarea,
.scan-manual input, .dz-panel input:not([type=checkbox]):not([type=color]):not([type=range]):not([type=file]), .dz-panel select, .dz-panel textarea, .dz-tplform input, .search input {
  display: block; width: 100%; margin-top: 8px; padding: 12px 16px; min-height: 46px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--white); outline: none; text-transform: none; letter-spacing: 0; font-weight: 400; transition: box-shadow .15s;
}
.form input:focus, .form select:focus, .form textarea:focus, .scan-manual input:focus, .dz-panel input:focus, .dz-panel select:focus, .dz-panel textarea:focus, .search input:focus, .fsearch input:focus { box-shadow: 0 0 0 4px var(--accent); }
.form input:disabled { background: var(--paper2); color: var(--mute); }
.form textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
input[type=color] { width: 48px; height: 44px; padding: 3px; border: var(--line); border-radius: 12px; background: var(--white); cursor: pointer; display: block; margin-top: 8px; }
input[type=file] { display: block; margin-top: 10px; font-size: 14px; text-transform: none; letter-spacing: 0; font-weight: 400; }
input[type=range] { width: 100%; margin-top: 16px; accent-color: var(--ink); }
fieldset { border: 0; padding: 0; margin: 0 0 16px; }
legend { font-weight: 600; font-size: 15px; margin-bottom: 10px; padding: 0; }
.form .check, .form .radio, .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; cursor: pointer; text-transform: none; letter-spacing: 0; font-size: 15px; }
.check input, .radio input { margin-top: 3px; accent-color: var(--ink); width: 19px; height: 19px; flex: none; }
.radio { border: var(--line); border-radius: 16px; padding: 14px 16px; background: var(--white); }
.radio:has(input:checked) { background: var(--accent); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 10px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg legend { grid-column: 1 / -1; }
.prefix-input { display: flex; align-items: stretch; margin-top: 8px; }
.prefix-input span { font: 12px var(--mono); text-transform: none; letter-spacing: 0; color: var(--mute); background: var(--paper2); border: var(--line); border-right: 0; border-radius: 14px 0 0 14px; padding: 0 12px; display: flex; align-items: center; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form .prefix-input input { margin-top: 0 !important; border-radius: 0 14px 14px 0 !important; }

/* Karty, hlášky, štítky */
.card { background: transparent; border: var(--line); border-radius: 0; padding: 26px; margin-bottom: 20px; }
.card > h2:first-child { margin-top: 0; }
.card h2 { margin-top: 24px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.flash { padding: 14px 18px; margin: 18px 0; font-weight: 500; border: var(--line); }
.flash-ok { background: var(--white); }
.flash-ok::before { content: '✓ '; font-weight: 700; }
.flash-error { background: var(--accent); }
.home > .flash, .event-page > .flash { margin: 18px var(--pad); }
.empty { text-align: center; padding: 72px 20px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1.5px solid var(--ink); white-space: nowrap; }
.pill-hot { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.pill-published, .pill-paid, .pill-active { background: var(--ink); color: var(--paper); }
.pill-reserved, .pill-pending { background: var(--accent); }
.pill-cancelled, .pill-blocked { text-decoration: line-through; opacity: .6; }
.t-ok { color: var(--ok); } .t-warn { color: var(--warn); } .t-bad { color: var(--bad); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; border: 1px solid rgba(0, 0, 0, .25); }
.note { font-size: 15px; background: var(--white); padding: 12px 16px; border: var(--thin); border-radius: 14px; }

/* ===== Úvodní stránka ===== */
.hero { position: relative; padding: clamp(20px, 3vw, 36px) 0 clamp(24px, 3vw, 40px); border-bottom: var(--line); overflow: hidden; }
.hero-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-top: clamp(14px, 2vw, 24px); }
.hero .wrap { position: relative; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.hero-word { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .8; letter-spacing: -.015em; white-space: nowrap; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: clamp(20px, 3vw, 40px); }
.hero-intro { margin: 0; max-width: 420px; font-size: 17px; line-height: 1.5; }
.hero-tag { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(44px, 6.4vw, 104px); line-height: .95; text-align: right; transform: rotate(-4deg); transform-origin: right bottom; }
.hero-badge { position: absolute; top: clamp(30px, 5vw, 80px); right: clamp(20px, 6vw, 96px); width: clamp(110px, 12vw, 170px); height: clamp(110px, 12vw, 170px); border-radius: 50%; background: var(--accent); border: var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotate(12deg); font-weight: 700; font-size: clamp(12px, 1.1vw, 15px); line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: transform .25s; }
.hero-badge:hover { transform: rotate(0deg) scale(1.04); }
.hero-badge span { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 3.2vw, 44px); letter-spacing: 0; line-height: 1; }
.marquee { background: var(--accent); border-bottom: var(--line); overflow: hidden; white-space: nowrap; }
.marquee-in { display: inline-flex; gap: 0; padding: 9px 0; font-family: var(--display); font-weight: 900; font-size: clamp(20px, 2vw, 28px); text-transform: uppercase; letter-spacing: .02em; line-height: 1; animation: marquee 32s linear infinite; }
.mq-set { display: inline-flex; flex: none; gap: 32px; padding-right: 32px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-in { animation: none; } }

.program { padding-bottom: clamp(48px, 6vw, 96px); }
.program-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; padding-top: clamp(28px, 3.5vw, 48px); padding-bottom: 24px; }
.section-title { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(48px, 6vw, 96px); line-height: .95; text-transform: uppercase; max-width: 100%; }
.section-title em { font-style: italic; text-transform: none; font-size: .55em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fpill { font-weight: 500; font-size: 15px; padding: 11px 20px; min-height: 44px; border-radius: 999px; border: var(--line); text-decoration: none; display: inline-flex; align-items: center; }
.fpill:hover { background: var(--white); }
.fpill.on { background: var(--ink); color: var(--paper); font-weight: 700; }
.fsearch input { -webkit-appearance: none; appearance: none; width: 170px; min-height: 44px; padding: 0 18px; border: var(--line); border-radius: 999px; background: transparent; font: 500 15px var(--sans); outline: none; }
.ev-art-img { background: var(--paper2) center/cover; }

/* ===== Stránka akce ===== */
.preview-bar { background: var(--accent); border-bottom: var(--line); text-align: center; padding: 10px; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.ev-main { min-width: 0; }
.ev-org-link { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.ev-h1 { margin: 14px 0 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 5.6vw, 92px); line-height: 1; letter-spacing: -.01em; overflow-wrap: anywhere; }
.ev-sub { margin: 10px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 28px 0 0; border-top: var(--line); border-bottom: var(--line); }
.facts > div { padding: 16px 16px 18px 0; }
.facts > div + div { border-left: var(--line); padding-left: 16px; }
.facts dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 6px; color: var(--mute); }
.facts dd { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; }
.facts small { display: block; font-weight: 400; font-size: 15px; margin-top: 4px; }
.ev-image { margin-top: 28px; aspect-ratio: 16 / 9; max-height: 460px; width: 100%; border: var(--line); background: var(--paper2) center/cover; }
.ev-layout { display: grid; grid-template-columns: 1fr minmax(340px, 440px); gap: clamp(28px, 4vw, 56px); padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(56px, 6vw, 96px); align-items: start; }
.ev-layout > *, .bk-cols > * { min-width: 0; }
.ev-layout.is-seated { grid-template-columns: 1fr; }
.ev-layout.is-seated .booking { position: static; }
.ev-layout.is-seated .ev-main { max-width: 900px; }
.ev-layout.is-seated .bk-cols { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
.ev-layout.is-seated .bk-side { border-left: var(--line); padding-left: 40px; }
.ev-layout.is-seated .customer { border-top: 0; padding-top: 0; }
.ev-desc { font-size: 17px; line-height: 1.65; max-width: 680px; margin-top: 28px; }
.ev-desc p:first-child { margin-top: 0; font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
.booking { border: var(--line); padding: clamp(20px, 2.4vw, 32px); position: sticky; top: 24px; background: var(--white); }
.booking .h2 { font-size: 40px; margin-bottom: 14px; line-height: 1; }
.soldout { font-family: var(--display); font-weight: 900; font-size: 48px; text-transform: uppercase; line-height: 1; margin: 0; transform: rotate(-3deg); background: var(--accent); display: inline-block; padding: 6px 16px; border: var(--line); }
.qty-list { border-top: var(--line); margin-bottom: 4px; }
.qty-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-bottom: var(--thin); }
.qty-row strong { font-size: 18px; font-weight: 700; }
.qty-row.is-out { opacity: .45; }
.stepper { display: flex; align-items: center; border: var(--line); border-radius: 999px; overflow: hidden; background: var(--paper); flex: none; }
.stepper button { width: 42px; height: 42px; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--ink); }
.stepper button:hover { background: var(--ink); color: var(--paper); }
.form .stepper input { width: 40px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; text-align: center; font-weight: 700; box-shadow: none !important; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 22px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.total-row strong { font-family: var(--display); font-weight: 900; font-size: 40px; letter-spacing: 0; line-height: 1; }
.customer { border-top: var(--line); padding-top: 22px; }

/* Výběr míst */
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; border: 1.5px solid var(--ink); vertical-align: -1px; }
.legend i.taken { background: var(--paper2); }
.sp-scroll { overflow-x: auto; padding: 4px 0 14px; -webkit-overflow-scrolling: touch; }
.hall-fit { margin: 0 auto; position: relative; }
.hall { position: relative; transform-origin: 0 0; }
.hall > * { position: absolute; }
.hall-stage { display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--paper); border-radius: 0 0 40% 40% / 0 0 18px 18px; font-family: var(--display); font-weight: 900; font-size: 17px; letter-spacing: .3em; text-transform: uppercase; }
.hall-sec-name { display: flex; align-items: flex-end; justify-content: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; padding-bottom: 3px; white-space: nowrap; }
.hall-lbl { display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--mute); }
.sp-seat { border: 0; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px var(--c); color: var(--ink); font: 700 10px var(--sans); cursor: pointer; padding: 0; transition: background .1s, transform .1s; }
.sp-seat:hover:not(:disabled) { transform: scale(1.12); background: color-mix(in srgb, var(--c) 25%, #fff); }
.sp-seat.is-sel, .sp-seat.is-sel:hover:not(:disabled) { background: var(--ink); color: var(--paper); box-shadow: 0 0 0 3px var(--c); }
.sp-seat.is-taken { background: var(--paper2); box-shadow: none; color: transparent; cursor: not-allowed; }
.picked { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0; border-top: var(--line); min-height: 60px; align-items: center; font-size: 15px; }
.picked.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.chip { display: inline-flex; align-items: center; gap: 8px; font: 500 14px var(--sans); padding: 7px 14px; border: var(--line); border-radius: 999px; background: var(--paper); cursor: pointer; }
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.chip small { color: var(--mute); }
.chip b { font-weight: 700; }
.chip:hover { background: var(--ink); color: var(--paper); }
.chip:hover small { color: var(--paper2); }

/* Vstupenka */
.tk { position: relative; width: 100%; aspect-ratio: 8 / 3; container-type: inline-size; overflow: hidden; background-color: #fff; line-height: 1.12; -webkit-print-color-adjust: exact; print-color-adjust: exact; box-shadow: 0 0 0 2px var(--ink); }
.tk-el { position: absolute; white-space: pre-wrap; overflow-wrap: break-word; }
.tk-qr { background: #fff; padding: .7cqw; box-sizing: border-box; }
.tk-qr img, .tk-qr canvas, .tk-qr svg { width: 100% !important; height: auto !important; display: block; }
.tk-img { height: auto; }
.qr-ph { aspect-ratio: 1; background: repeating-conic-gradient(var(--qc) 0 25%, #fff 0 50%) 0 0 / 22% 22%; }
.tickets-page { padding-top: clamp(32px, 4vw, 56px); padding-bottom: 96px; max-width: 980px; }
.done-banner .h1 { font-size: clamp(64px, 10vw, 140px); }
.order-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 28px 0; padding: 0 !important; }
.order-sum > div { display: flex; flex-direction: column; gap: 4px; font-size: 15px; padding: 20px; }
.order-sum > div + div { border-left: var(--line); }
.order-sum .muted { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.order-sum strong { font-size: 20px; }
.actions { margin: 0 0 32px; }
.ticket-stack { display: flex; flex-direction: column; gap: 32px; }
.tk-wrap { position: relative; }
.tk-wrap.is-used .tk { opacity: .4; filter: grayscale(1); }
.tk-used { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-6deg); background: var(--accent); border: var(--line); font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 30px; padding: 6px 18px; }
.cancel-form { margin-top: 48px; text-align: center; }

/* Textová stránka */
.prose-page { padding-top: clamp(32px, 4vw, 56px); padding-bottom: 96px; }
.prose { max-width: 760px; font-size: 17px; }
.prose .h1 { font-size: clamp(52px, 8vw, 110px); }
.prose .lead { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; }
.prose h2 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-top: 44px; padding-top: 14px; border-top: var(--line); }
.prose li { margin-bottom: 8px; }
.prose-table { margin: 14px 0; border: var(--line); }

/* ===== Administrace ===== */
.is-admin main.wrap { padding-top: 28px; padding-bottom: 80px; }
.is-admin .h1 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1; }
.is-admin .kicker { font-size: 12px; color: var(--mute); margin-bottom: 8px; }
.is-admin .card { padding: 22px; }
.is-admin .page-head, .is-admin .ev-admin-head { margin-bottom: 18px; }
.is-admin .tabs { margin-bottom: 22px; }
.page-head, .ev-admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.page-head .h1, .ev-admin-head .h1 { margin: 0; }
.row-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: flex-end; font-size: 14px; font-weight: 500; }
.row-actions form { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: flex-end; margin: 0; }
.tabs { display: flex; gap: 8px; margin-bottom: 28px; overflow-x: auto; padding-bottom: 2px; }
.tabs a { padding: 7px 16px; text-decoration: none; font-size: 14.5px; font-weight: 500; border: 1.5px solid var(--ink); border-radius: 999px; white-space: nowrap; }
.tabs a:hover { background: var(--white); }
.tabs a.on { background: var(--ink); color: var(--paper); font-weight: 700; }
.tabs-sm { margin: 0; gap: 6px; }
.tabs-sm a { padding: 6px 12px; font-size: 13.5px; border-width: 1.5px; }
.table-wrap { overflow-x: auto; border: var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 14px 16px; border-bottom: var(--line); white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: var(--thin); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: var(--white); }
.table .num { text-align: right; white-space: nowrap; }
.table-tight td { padding: 10px 14px; }
.table tr.is-off td { opacity: .45; text-decoration: line-through; }
.table tr.is-off td:last-child { text-decoration: none; }
.bar { height: 6px; background: var(--paper2); margin-top: 6px; overflow: hidden; width: 90px; margin-left: auto; border: 1px solid var(--ink); }
.bar i { display: block; height: 100%; background: var(--accent); }
.cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
.admin-form .card { margin: 0; background: var(--white); }
.sticky-save { position: sticky; bottom: 0; padding: 16px 0; background: linear-gradient(180deg, rgba(233, 230, 223, 0), var(--paper) 40%); margin-top: 10px; z-index: 5; }
.img-field img { max-height: 150px; border: var(--line); display: block; margin-bottom: 10px; }
.cat-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.cat-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr) 30px; gap: 8px; align-items: center; padding: 10px 0; border-bottom: var(--thin); }
.cat-row > :nth-child(1) { grid-column: 1; grid-row: 1; }
.cat-row > :nth-child(2) { grid-column: 2 / 5; grid-row: 1; }
.cat-row > :nth-child(3) { grid-column: 2; grid-row: 2; }
.cat-row > :nth-child(4) { grid-column: 3; grid-row: 2; }
.cat-row > :nth-child(5) { grid-column: 4; grid-row: 2; }
.cat-row > :nth-child(6) { grid-column: 5; grid-row: 1; }
.form .vis-select { margin: 0 !important; min-height: 44px !important; padding: 8px 10px !important; font-size: 14px !important; }
.private-note { background: var(--accent); border: var(--line); padding: 10px 14px; font-weight: 600; font-size: 14px; margin: 0 0 14px; }
.form .cat-row input[type=color] { margin: 0; }
.form .cat-row input { margin-top: 0 !important; padding: 10px 12px !important; min-height: 44px !important; }
.unit { position: relative; display: block; }
.unit small { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--mute); pointer-events: none; text-transform: none; letter-spacing: 0; }
.form .unit input { padding-right: 34px !important; }
.form label.del, button.del, span.del { display: flex; align-items: center; justify-content: center; margin: 0; cursor: pointer; font-size: 14px; background: none; border: 0; gap: 2px; }
label.del input { width: 14px; height: 14px; margin: 0; }
.danger-zone { display: flex; gap: 10px; margin-top: 36px; padding-top: 22px; border-top: var(--line); }
.narrow-card { max-width: 680px; background: var(--white); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 16px; border: var(--line); }
.stat { padding: 14px 18px; }
.stat + .stat { border-left: var(--line); }
.stat span { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 8px; }
.stat strong { font-family: var(--display); font-weight: 900; font-size: 36px; line-height: 1; }
.stat small { font-family: var(--sans); font-size: 16px; color: var(--mute); font-weight: 500; }
.cat-stats { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; margin: 0 0 28px; }
.toolbar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .search { flex: 1; min-width: 240px; display: flex; gap: 8px; align-items: center; }
.toolbar .search input { margin: 0; min-height: 44px; padding: 8px 18px; border-radius: 999px; }
.orders .order { padding: 0; margin-bottom: 8px; background: var(--white); border-width: 1.5px; }
.order summary { display: grid; grid-template-columns: minmax(0, 1fr) 44px 110px minmax(130px, max-content) 96px; gap: 12px; align-items: center; padding: 12px 18px; cursor: pointer; list-style: none; }
.order summary::-webkit-details-marker { display: none; }
.order[open] summary { border-bottom: var(--line); }
.o-name { display: flex; flex-direction: column; min-width: 0; }
.o-name strong { font-size: 17px; }
.o-name small { color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-total { text-align: right; font-weight: 700; }
.o-date { text-align: right; font-size: 14px; }
.order.is-cancelled { opacity: .5; }
.order .table { margin: 4px 0; }
.o-note { margin: 14px 20px 0; font-family: var(--serif); font-style: italic; font-size: 20px; }
.o-actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 20px 18px; }
.pick-list { display: grid; gap: 12px; }
.pick { display: flex; flex-direction: column; text-decoration: none; margin: 0; background: var(--white); }
.pick strong { font-size: 22px; }
.pick:hover { background: var(--ink); color: var(--paper); }
.pick:hover .muted { color: var(--paper2); }
.cat-design { display: grid !important; grid-template-columns: 1fr 1.3fr; gap: 12px; align-items: center; text-transform: none !important; letter-spacing: 0 !important; font-size: 16px !important; }
.cat-design select { margin: 0 !important; }

/* Editor plánku */
.sm-editor { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: start; }
.sm-tools { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; background: var(--white); }
.sm-tools label { margin-bottom: 12px; }
.sm-secs { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.sm-secbtn { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border: var(--line); border-radius: 999px; background: transparent; font: 700 15px var(--sans); cursor: pointer; text-align: left; }
.sm-secbtn small { color: inherit; opacity: .7; font-weight: 500; }
.sm-secbtn.on { background: var(--ink); color: var(--paper); }
.sm-props { border: var(--line); padding: 16px; margin: 8px 0 4px; background: var(--paper); }
.sm-props .btn-sm { margin-bottom: 12px; }
.sm-quick { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.form .sm-preset { width: auto !important; flex: 1; margin: 0 !important; min-height: 36px !important; padding: 6px 12px !important; font-size: 14px !important; border-radius: 999px !important; }
.sm-brushes { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.sm-brush { display: flex; align-items: center; gap: 10px; padding: 9px 16px; border: var(--line); border-radius: 999px; background: transparent; cursor: pointer; font: 500 15px var(--sans); text-align: left; }
.sm-brush i { width: 16px; height: 16px; border-radius: 50%; flex: none; border: 1.5px solid var(--ink); }
.sm-brush small { margin-left: auto; opacity: .7; }
.sm-brush.is-eraser i { border-style: dashed; }
.sm-brush.on { background: var(--ink); color: var(--paper); }
.sm-brush.on i { border-color: var(--paper); }
.sm-count { font-size: 15px; line-height: 1.8; padding: 14px 0; border-top: var(--line); margin-top: 18px; }
.sm-canvas { position: relative; padding: 0; overflow: hidden; }
.sm-scroll { overflow: auto; max-height: calc(100vh - 60px); background: radial-gradient(rgba(17, 17, 17, .25) 1px, transparent 1px) 0 0 / 30px 30px; }
.sm-hall { position: relative; margin: 30px; touch-action: none; user-select: none; -webkit-user-select: none; }
.sm-hall > * { position: absolute; }
.sm-stage { display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 900; font-size: 16px; letter-spacing: .3em; text-transform: uppercase; cursor: move; }
.sm-stage.is-off { background: transparent; color: var(--mute); border: 2px dashed var(--ink); }
.sm-resize { position: absolute; right: -6px; bottom: -6px; width: 12px; height: 12px; background: var(--accent); border: 2px solid var(--ink); border-radius: 50%; cursor: nwse-resize; }
.sm-sec { border: 2px dashed transparent; }
.sm-sec.is-active { border-color: var(--ink); background: rgba(246, 244, 239, .8); }
.sm-sec-head { position: absolute; left: 0; right: 0; top: 0; height: 26px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; cursor: move; white-space: nowrap; overflow: hidden; }
.sm-sec.is-active .sm-sec-head { background: var(--ink); color: var(--paper); }
.sm-cell { border-radius: 50%; border: 1.5px dashed rgba(17, 17, 17, .35); background: transparent; cursor: crosshair; font: 700 9px var(--sans); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.sm-cell.is-seat { background: var(--c); border: 1.5px solid var(--ink); }
.sm-cell.is-dim { opacity: .4; cursor: pointer; }
.sm-cell.is-locked { box-shadow: 0 0 0 3px var(--ink); }
.sm-lbl, .sm-colh { background: none; border: 0; cursor: pointer; border-radius: 50%; font: 700 11px var(--sans); color: var(--ink); display: flex; align-items: center; justify-content: center; padding: 0; }
.sm-lbl:hover, .sm-colh:hover { background: var(--accent); }
.sm-menu { position: absolute; z-index: 20; background: var(--white); border: var(--line); box-shadow: 6px 6px 0 var(--ink); padding: 6px; display: flex; flex-direction: column; min-width: 230px; }
.sm-menu button { text-align: left; background: none; border: 0; padding: 9px 12px; font: 500 15px var(--sans); cursor: pointer; }
.sm-menu button:hover { background: var(--ink); color: var(--paper); }
.sm-menu button.danger { color: var(--bad); }
.sm-menu button.danger:hover { background: var(--bad); color: #fff; }

/* Designér */
.dz { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.dz-canvas-wrap { background: var(--ink); padding: 44px; margin-bottom: 12px; border: var(--line); }
#dzCanvas { max-width: 900px; margin: 0 auto; }
.dz-canvas-wrap .tk { box-shadow: none; }
.dz-tk { touch-action: none; user-select: none; -webkit-user-select: none; }
.dz-el { cursor: move; outline: 1px dashed transparent; outline-offset: 1px; min-height: 1cqw; }
.dz-el:hover { outline-color: var(--accent); }
.dz-el.is-sel { outline: 2px solid var(--accent); }
.dz-h { position: absolute; right: -6px; bottom: -6px; width: 12px; height: 12px; background: var(--accent); border: 2px solid var(--ink); border-radius: 50%; cursor: nwse-resize; display: none; }
.dz-el.is-sel .dz-h { display: block; }
.dz-ph { opacity: .45; font-style: italic; font-size: 1.6cqw; }
.dz-stage .card { margin-top: 20px; background: var(--white); }
.dz-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 14px; }
.dz-thumb-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.dz-thumb-btn .tk { box-shadow: 0 0 0 1.5px var(--ink); pointer-events: none; transition: transform .15s; }
.dz-thumb-btn:hover .tk { transform: translateY(-3px); box-shadow: 4px 4px 0 var(--ink), 0 0 0 1.5px var(--ink); }
.dz-thumb-cap { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 500; margin-top: 8px; }
.dz-tplform { display: flex; gap: 8px; align-items: center; }
.dz-tplform input { margin: 0 !important; min-height: 40px !important; padding: 6px 16px !important; border-radius: 999px !important; }
.dz-tplform .btn { white-space: nowrap; }
.dz-panel { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; }
.dz-panel .card { padding: 20px; margin-bottom: 14px; background: var(--white); }
.dz-panel label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.dz-panel small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.dz-panel input:not([type=checkbox]):not([type=color]):not([type=range]):not([type=file]), .dz-panel select, .dz-panel textarea { min-height: 40px; padding: 7px 12px; font-size: 15px; margin-top: 6px; border-radius: 10px; }
.dz-add { display: flex; flex-wrap: wrap; gap: 6px; }
.dz-el-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding-top: 14px; border-top: var(--line); }
.checks { display: flex; gap: 18px; }
.dz-panel .check { display: flex; gap: 6px; align-items: center; font-size: 14px; }
.dz-panel .check input { margin: 0; }
.dz-save { margin: 0 0 14px; }

/* Skener */
.scan-body .foot { display: none; }
.scan { max-width: 560px; margin: 0 auto; padding: 18px 18px 48px; }
.scan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.scan-top div:first-child { display: flex; flex-direction: column; }
.scan-top strong { font-size: 18px; }
.scan-count { font-family: var(--display); font-weight: 900; font-size: 52px; text-align: right; line-height: .9; }
.scan-count small { display: block; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.scan-cam { position: relative; background: var(--ink); border: var(--line); overflow: hidden; min-height: 340px; display: flex; align-items: center; justify-content: center; }
#reader { width: 100%; }
#scStart { position: absolute; background: var(--accent); color: var(--ink); border-color: var(--accent); }
.scan-result { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 10px; z-index: 5; color: #fff; }
.scan-result.is-ok { background: #157a3a; }
.scan-result.is-warn { background: var(--accent); color: var(--ink); }
.scan-result.is-bad { background: #b91c1c; }
.sr-icon { font-family: var(--display); font-size: 96px; font-weight: 900; line-height: .9; }
.sr-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 44px; line-height: 1; }
.sr-info { display: flex; flex-direction: column; gap: 4px; font-size: 17px; }
.sr-info strong { font-size: 22px; }
.sr-seat { font-weight: 700; border: 2px solid currentColor; padding: 4px 12px; border-radius: 999px; }
.sr-info .muted { color: inherit; opacity: .8; }
.sr-pay { border: 2px solid currentColor; padding: 14px; width: 100%; max-width: 330px; display: flex; flex-direction: column; gap: 10px; }
.sr-pay .btn-link { color: inherit; }
.sr-pay .btn, .scan-result > .btn { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.scan-result > .btn { max-width: 330px; margin-top: 8px; }
.scan-manual { display: flex; gap: 8px; margin: 16px 0; }
.scan-manual input { margin: 0 !important; border-radius: 999px !important; }
.scan-share { background: var(--white); }
.scan-share summary { cursor: pointer; font-weight: 700; }
.scan-share a { word-break: break-all; }

/* Patička */
.foot { background: var(--ink); color: var(--paper); padding: clamp(48px, 6vw, 96px) 0 32px; overflow: hidden; }
.foot a { color: var(--paper); }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; }
.foot-claim { flex: 1 1 420px; max-width: 560px; }
.foot-title { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(36px, 4vw, 56px); line-height: 1.05; }
.foot-cols { flex: 1 1 420px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; font-size: 16px; line-height: 1.6; }
.foot-cols p { margin: 0; }
.foot-label { margin: 0 0 8px !important; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.foot-word { margin: clamp(48px, 6vw, 80px) 0 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--paper); letter-spacing: -.015em; white-space: nowrap; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 20px; border-top: 1px solid #555; font-size: 14px; color: #BDB9B1; }
.foot-bottom a { color: #BDB9B1; }
.foot-small { padding: 0 0 24px; }
.foot-small .foot-bottom { margin-top: 0; border-top: 0; }

/* Mobil */
@media (max-width: 960px) {
  .ev-layout, .cols, .sm-editor, .dz { grid-template-columns: 1fr; gap: 28px; }
  .ev-layout.is-seated .bk-cols { grid-template-columns: 1fr; gap: 0; }
  .ev-layout.is-seated .bk-side { border-left: 0; padding-left: 0; }
  .ev-layout.is-seated .customer { border-top: var(--line); padding-top: 22px; }
  .booking, .sm-tools, .dz-panel { position: static; max-height: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: var(--line); }
  .dz-canvas-wrap { padding: 18px; }
  .hero-badge { display: none; }
}
@media (max-width: 680px) {
  .logo { font-size: 28px; }
  .topnav { gap: 4px 18px; font-size: 15px; }
  .topnav .nav-pill { padding: 9px 16px; }
  .hero-tag { text-align: left; transform: rotate(-3deg); transform-origin: left bottom; }
  .fsearch input { width: 100%; }
  .fsearch { flex: 1 1 100%; }
  .facts { grid-template-columns: 1fr; }
  .facts > div + div { border-left: 0; padding-left: 0; border-top: var(--line); }
  .grid2, .seg, .order-sum { grid-template-columns: 1fr; }
  .order-sum > div + div { border-left: 0; border-top: var(--line); }
  .order summary { grid-template-columns: 1fr auto; }
  .o-count, .o-date { display: none; }
  .o-total { grid-row: 1; grid-column: 2; }
  .table th, .table td { padding: 10px 12px; }
  .dz-tplform { flex-direction: column; align-items: stretch; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .booking .h2 { font-size: 44px; }
}

/* Tisk vstupenek */
@media print {
  @page { size: A4 portrait; margin: 12mm; }
  body { background: #fff; display: block; }
  .topbar, .foot, .no-print, .flash { display: none !important; }
  .tickets-page { padding: 0; max-width: none; }
  .ticket-stack { gap: 10mm; }
  .tk-wrap { break-inside: avoid; page-break-inside: avoid; }
  .tk { box-shadow: none; border: .3mm solid #999; }
}

/* Výběr barvy akcentu */
.swatches { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.form .swatch { margin: 0; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.swatch input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.swatch i { display: block; width: 44px; height: 44px; border-radius: 50%; border: var(--line); }
.swatch input:checked + i, .swatch input:checked + input[type=color] { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.swatch input[type=color] { margin: 0; border-radius: 50%; width: 44px; height: 44px; }

/* Hosté, tajné odkazy, zveřejnění */
.copy-row { display: flex; gap: 8px; align-items: center; margin: 8px 0; }
.copy-row input { flex: 1; min-width: 0; min-height: 40px; padding: 6px 14px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); font: 14px var(--mono); }
.secret { padding: 14px 0; border-top: var(--thin); }
.secret:first-of-type { border-top: 0; }
.secret-name { margin: 0; }
.guests .cols { margin-bottom: 20px; }
.guests .cols .card { margin: 0; background: var(--white); }
.pub { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; border: var(--line); padding: 18px 22px; margin-bottom: 20px; }
.pub-main { flex: 1 1 260px; }
.pub-state { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 34px; line-height: 1; }
.pub-state i { width: 14px; height: 14px; border-radius: 50%; background: currentColor; flex: none; }
.pub-text { margin: 6px 0 0; font-size: 15px; }
.pub-draft { background: var(--white); }
.pub-draft .pub-state i { background: transparent; border: 2px solid var(--ink); }
.pub-live { background: var(--ink); color: var(--paper); }
.pub-live .pub-state i { background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } }
.pub-live .btn-ghost { color: var(--paper); border-color: var(--paper); }
.pub-live .btn-ghost:hover { background: var(--paper); color: var(--ink); }
.pub-live .btn { border-color: var(--paper); }
.pub-live .copy-row input { background: transparent; color: var(--paper); border-color: var(--paper); }
.pub-live .btn-danger { color: #ff8d80; border-color: #ff8d80; }
.pub-share { flex: 1 1 460px; }
.pub-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.pub-btns form { margin: 0; }
.pub-cancel { background: var(--paper2); }
.pub-check { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 4px 24px; font-size: 14.5px; flex: 1 1 360px; }
.pub-check .is-done { color: var(--ok); }
.pub-check .is-missing { color: var(--bad); font-weight: 700; }
.pub-check .is-optional { color: var(--mute); }
.pub-go { margin: 0; }
.scan-list { background: var(--white); border: var(--line); margin-top: 14px; max-height: 360px; overflow-y: auto; }
.scan-list .muted { padding: 14px; margin: 0; }
.sl-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: var(--thin); }
.sl-row.is-inside { opacity: .55; }

/* Filtry programu */
.filterbar { display: flex; flex-direction: column; gap: 10px; padding-bottom: 24px; }
.filters.cats { gap: 6px; }
.fpill-sm { font-size: 14px; padding: 7px 14px; min-height: 36px; border-width: 1.5px; }
.fpill small { opacity: .6; margin-left: 4px; }
.fcity select { min-height: 44px; padding: 0 16px; border: var(--line); border-radius: 999px; background: transparent; font: 500 15px var(--sans); }
.program-head .fsearch input { width: min(340px, 100%); }
/* Stránky míst a pořadatelů */
.profile-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); gap: clamp(24px, 4vw, 56px); padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(24px, 3vw, 40px); align-items: start; }
.profile-head:not(:has(.profile-img)) { grid-template-columns: minmax(0, 900px); }
.profile-img { aspect-ratio: 4 / 3; border: var(--line); background: var(--paper2) center/cover; }
.facts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ev-meta-line { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: 0; }
.ev-cat { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; background: var(--ink); color: var(--paper); padding: 4px 12px; border-radius: 999px; }
.ev-cat:hover { color: var(--paper); background: #000; }
.list-page { padding-top: clamp(28px, 3.5vw, 48px); padding-bottom: 80px; }
.section-gap { margin-top: 56px !important; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 24px; }
.tile { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.tile-img { aspect-ratio: 4 / 3; border: var(--line); background: var(--accent) center/cover; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; transition: transform .15s, box-shadow .15s; }
.tile-img span { font-family: var(--display); font-weight: 900; font-size: 90px; text-transform: uppercase; }
.tile:hover .tile-img { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.tile strong { font-size: 19px; }
.tile small { color: var(--mute); }
@media (max-width: 760px) { .profile-head { grid-template-columns: 1fr; } .facts-2 { grid-template-columns: 1fr; } .facts-2 > div + div { border-left: 0; padding-left: 0; border-top: var(--line); } }

.radio:has(input:checked) small { color: var(--ink); }
td.row-actions { display: table-cell; white-space: nowrap; text-align: right; }
td.row-actions > * { display: inline-flex; margin-left: 14px; vertical-align: middle; }
td.row-actions form { display: inline-flex; }

/* Platba převodem */
.paybox { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; border: var(--line); background: var(--white); padding: 24px; margin: 0 0 28px; }
.paybox-qr { flex: 0 0 200px; }
.paybox-qr svg { width: 100%; height: auto; display: block; background: #fff; padding: 10px; border: var(--line); box-sizing: border-box; }
.paybox-info { flex: 1 1 280px; }
.paybox-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 40px; line-height: 1; margin: 0 0 14px; }
.paybox dl { margin: 0 0 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.paybox dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.paybox dd { margin: 2px 0 0; font-size: 20px; font-weight: 700; }
.order-sum small { color: var(--mute); }

/* Slevový kód */
.promo { padding: 6px 0 0; }
.promo-row { display: flex; gap: 8px; align-items: center; }
.form .promo-row input { margin: 0 !important; min-height: 40px !important; padding: 6px 14px !important; border-radius: 999px !important; text-transform: uppercase; }
.promo-msg { margin: 6px 0 0; font-size: 14px; font-weight: 600; min-height: 0; }
.promo-msg:empty { display: none; }
.promo-msg.is-ok { color: var(--ok); }
.promo-msg.is-bad { color: var(--bad); }
.o-meta { margin: 12px 20px 0; font-size: 14px; color: var(--ink2); }

/* Platby / avíza */
.res { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1.5px solid var(--ink); white-space: nowrap; }
.res-ok { background: var(--ink); color: var(--paper); }
.res-warn { background: var(--accent); }
.res-mute { opacity: .6; }
.assign { display: flex; gap: 6px; margin-top: 8px; }
.assign input { width: 130px; min-height: 34px; padding: 4px 12px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); font: 14px var(--mono); }
.raw summary { cursor: pointer; font-size: 12px; color: var(--mute); margin-top: 6px; }
.raw pre { white-space: pre-wrap; font-size: 12px; max-height: 200px; overflow: auto; background: var(--white); border: var(--thin); padding: 8px; }
.steps { padding-left: 20px; margin: 0 0 12px; font-size: 15px; }
.steps li { margin-bottom: 6px; }
.test-out { background: var(--white); border: var(--line); padding: 10px 14px; }

/* Účty a sledování */
.follow-row { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 16px 0 0; }
.follow-form { margin: 0; }
.account-page { padding-top: clamp(28px, 3.5vw, 48px); padding-bottom: 80px; }
.account-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.account-head .h1 { margin: 0 0 4px; }
.notice-bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; background: var(--accent); border: var(--line); padding: 12px 16px; margin-bottom: 20px; }
.notice-bar form { margin: 0; }
.my-tickets { border-top: var(--line); }
.my-ticket { display: flex; align-items: center; gap: 24px; padding: 18px 0; border-bottom: var(--line); text-decoration: none; }
.my-ticket:hover { background: var(--white); }
.my-ticket .ev-date { flex: 0 0 110px; font-size: 52px; }
.mt-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.mt-body strong { font-size: 22px; }
.mt-body small { color: var(--mute); }
.past { margin: 20px 0; }
.past summary { cursor: pointer; font-weight: 600; }
.login-hint { font-size: 14px; background: var(--paper); border: var(--thin); padding: 10px 14px; border-radius: 12px; }
.unsub-form { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 680px) { .my-ticket { flex-wrap: wrap; gap: 8px 16px; } .my-ticket .ev-date { font-size: 40px; flex-basis: auto; } }

.nl-mail { background: #fff; border: var(--thin); padding: 20px; font-family: -apple-system, Segoe UI, Helvetica, Arial, sans-serif; color: #111; }
.nl-mail img { max-width: 100%; height: auto; }
.nl-subj { font-size: 20px; font-weight: 700; margin: 0 0 14px; }

/* Partnerské pozvánky */
.invite-note { border: var(--line); background: var(--accent); color: #111; padding: 14px 16px; margin: 0 0 16px; }
.invite-note p { margin: 0; }
.invite-note .kicker { margin-bottom: 2px; }
.invite-for { font-family: var(--display, inherit); font-size: 26px; font-weight: 800; text-transform: uppercase; line-height: 1.05; margin: 0 0 6px !important; }
.invite-form { margin: 6px 0 18px; padding-bottom: 18px; border-bottom: var(--thin); }
.inv-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.inv-secs { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.inv-secs legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.pill-check { display: inline-flex; cursor: pointer; }
.pill-check input { position: absolute; opacity: 0; pointer-events: none; }
.pill-check span { padding: 7px 14px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 14px; }
.pill-check input:checked + span { background: var(--ink); color: var(--paper); }
.pill-check input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.secret.is-off { opacity: .55; }
.inv-actions { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.inline-form { display: inline-flex; gap: 8px; align-items: center; margin: 0; }
.mini-num { width: 70px; min-height: 32px; padding: 2px 8px; border: 1.5px solid var(--ink); border-radius: 8px; }
@media (max-width: 560px) { .inv-grid { grid-template-columns: 1fr; } }

/* Hlavní stránka: souhrn aktivních filtrů */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fsummary { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; justify-content: space-between; padding-bottom: 18px; }
.fsummary p { margin: 0; }
.fsummary p a { text-decoration: none; font-weight: 700; padding: 0 4px; }

/* ---------- Program: hutný seznam pro hodně akcí ---------- */
.ev-list { border-bottom: var(--line); }
.ev-month { position: sticky; top: 0; z-index: 3; background: var(--paper); border-top: var(--line); border-bottom: var(--line); }
.ev-month-in { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 8px; }
.ev-month h3 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(30px, 3.4vw, 44px); line-height: .9; text-transform: uppercase; }
.ev-month h3 small { font-size: .55em; opacity: .55; margin-left: 6px; }
.ev-month span { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ev-group > .ev-row + .ev-row { border-top: var(--thin); }
.ev-list .ev-row { display: block; text-decoration: none; color: var(--ink); transition: background .15s, color .15s; }
.ev-list .ev-row:hover, .ev-list .ev-row:focus-visible { background: var(--ink); color: var(--paper); outline: none; }
.ev-list .ev-row.is-off .ev-title, .ev-list .ev-row.is-off .ev-price { opacity: .5; }
.ev-list .ev-row-in { display: grid; grid-template-columns: 72px 52px minmax(0, 1fr) auto; align-items: center; gap: 22px; padding-top: 12px; padding-bottom: 12px; }
.ev-list .ev-date { display: flex; flex-direction: column; line-height: 1; }
.ev-list .ev-date b { font-family: var(--display); font-weight: 900; font-size: 44px; line-height: .85; }
.ev-list .ev-date span { margin-top: 5px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ev-art { width: 52px; height: 52px; border: var(--line); position: relative; overflow: hidden; box-sizing: border-box; }
.ev-row:hover .ev-art { border-color: var(--paper); }
.ev-art-0 { background: var(--ink); display: flex; align-items: center; justify-content: center; }
.ev-art-0 i { width: 60%; height: 60%; border-radius: 50%; background: var(--accent); }
.ev-art-1 i { position: absolute; right: -2px; bottom: -2px; width: 100%; height: 100%; border-radius: 100% 0 0 0; background: var(--accent); }
.ev-art-2 { background: repeating-linear-gradient(90deg, var(--ink) 0 8px, var(--paper) 8px 16px); }
.ev-art-3 { background: var(--accent); display: flex; align-items: flex-end; justify-content: center; }
.ev-art-3 i { width: 56%; height: 72%; border-radius: 99px 99px 0 0; background: var(--ink); }
.ev-body { min-width: 0; }
.ev-title { margin: 0; font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-title em { font-weight: 400; font-style: normal; opacity: .7; }
.ev-kicker { margin: 4px 0 0; font-size: 14px; display: flex; gap: 10px; align-items: center; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-tag { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border: 1.5px solid currentColor; border-radius: 999px; padding: 1px 8px; }
.ev-side { display: flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.ev-arrow { width: 38px; height: 38px; border-radius: 50%; border: 2px solid currentColor; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.ev-more { display: flex; justify-content: center; padding-top: 28px; }
.ev-more small { font-weight: 400; opacity: .7; margin-left: 6px; }
.my-ticket .ev-date { font-family: var(--display); font-weight: 900; line-height: .9; }
.my-ticket .ev-date span { display: block; margin-top: 6px; font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Kompaktní mobilní verze ---------- */
@media (max-width: 680px) {
  .hero { padding: 14px 0 18px; }
  .hero-row { margin-top: 4px; gap: 10px; }
  .hero-intro { font-size: 15px; }
  .marquee-in { font-size: 17px; padding: 6px 0; }
  .mq-set { gap: 20px; padding-right: 20px; }
  .program-head { padding-top: 18px; padding-bottom: 12px; gap: 12px; }
  .section-title { font-size: 46px; }
  .filterbar { gap: 8px; padding-bottom: 14px; }
  /* filtry v jedné vodorovně posuvné řadě místo několika řádků */
  .filterbar .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 calc(-1 * var(--pad, 20px)); padding: 0 var(--pad, 20px); }
  .filterbar .filters::-webkit-scrollbar { display: none; }
  .filterbar .fpill { flex: none; min-height: 38px; padding: 7px 14px; font-size: 14px; }
  .filterbar .fpill-sm { min-height: 32px; padding: 5px 12px; font-size: 13px; }
  .fcity { flex: none; }
  .fcity select { min-height: 38px; font-size: 14px; }
  .fsearch input { min-height: 42px; }
  .fsummary { font-size: 14px; padding-bottom: 12px; }
  .ev-month-in { padding-top: 7px; padding-bottom: 6px; }
  .ev-month h3 { font-size: 28px; }
  .ev-month span { font-size: 11px; }
  .ev-list .ev-row-in { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .ev-list .ev-date b { font-size: 32px; }
  .ev-list .ev-date span { font-size: 10px; letter-spacing: .04em; margin-top: 3px; }
  .ev-list .ev-art, .ev-list .ev-arrow { display: none; }
  .ev-title { font-size: 16px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .ev-title em { display: none; }
  .ev-kicker { font-size: 12.5px; margin-top: 3px; gap: 6px; }
  .ev-tag { display: none; }
  .ev-side { font-size: 13px; align-self: start; padding-top: 2px; }
  .ev-more { padding-top: 18px; }
  .ev-more .btn { width: 100%; justify-content: center; }
}
@media (max-width: 680px) {
  .topbar-in { flex-wrap: nowrap; min-height: 56px; padding-top: 8px; padding-bottom: 8px; gap: 12px; }
  .logo { font-size: 24px; flex: none; }
  .topnav { flex-wrap: nowrap; gap: 14px; font-size: 14px; }
  .topnav a { padding: 6px 0; white-space: nowrap; }
  .topnav .nav-pill { padding: 8px 14px; }
  .hero-word { font-size: 56px !important; }
}
@media (max-width: 360px) { .topnav a[href$="mista.php"] { display: none; } }

/* Plakát akce: celý, neořezaný */
.ev-poster { margin: 28px 0 0; }
.ev-poster a { display: inline-block; max-width: 100%; }
.ev-poster img { display: block; max-width: 100%; max-height: 640px; width: auto; height: auto; border: var(--line); background: var(--paper2); }
.ev-art-img { width: 52px; height: 68px; }
.ev-art-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-list .ev-row-in { min-height: 68px; }
@media (max-width: 680px) {
  .ev-poster img { max-height: 70vh; }
  .ev-list .ev-row-in { min-height: 0; }
  .ev-list .ev-row-in:has(.ev-art-img) { grid-template-columns: 44px 38px minmax(0, 1fr) auto; }
  .ev-list .ev-art-img { display: block; width: 38px; height: 50px; border-width: 1.5px; }
}

/* ---------- Pokladna ---------- */
.bo-main { padding: 0; }
.bo { max-width: 1560px; margin: 0 auto; padding: 18px var(--pad) 40px; }
.bo-top { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: flex-end; justify-content: space-between; padding-bottom: 14px; border-bottom: var(--line); }
.bo-ev h1 { margin: 2px 0 2px; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 48px); line-height: 1; }
.bo-ev p { margin: 0; }
.bo-stats { display: flex; gap: 0; margin: 0; border: var(--line); }
.bo-stats div { padding: 8px 16px; }
.bo-stats div + div { border-left: var(--line); }
.bo-stats dt { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.bo-stats dd { margin: 2px 0 0; font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1; white-space: nowrap; }
.bo-stats small { font-family: var(--sans); font-size: 13px; font-weight: 500; }
.bo-links { display: flex; gap: 8px; }
.bo-sold { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; background: var(--accent); border: var(--line); padding: 14px 18px; margin: 16px 0 0; }
.bo-sold p { margin: 0; }
.bo-sold-title { font-family: var(--display); font-weight: 900; font-size: 34px; text-transform: uppercase; line-height: 1; }
.bo-sold-act { display: flex; gap: 10px; flex-wrap: wrap; }
.bo-tabs { margin: 16px 0; }
.bo-tabs small { font-size: 12px; background: var(--accent); color: var(--ink); padding: 1px 7px; border-radius: 99px; margin-left: 4px; }
.bo-sell { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.bo-pick { margin: 0; overflow: hidden; min-width: 0; }
.bo-sell > *, .bo-bottom > * { min-width: 0; box-sizing: border-box; }
.bo-pay { margin: 0; position: sticky; top: 12px; display: flex; flex-direction: column; gap: 14px; background: var(--white); }
.bo-total { margin: 0; }
.bo-total strong { font-size: 44px; }
.bo-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bo-method input { position: absolute; opacity: 0; pointer-events: none; }
.bo-method span { display: flex; align-items: center; justify-content: center; min-height: 54px; border: var(--line); border-radius: 12px; font-weight: 700; font-size: 18px; cursor: pointer; }
.bo-method input:checked + span { background: var(--ink); color: var(--paper); }
.bo-method input:focus-visible + span { box-shadow: 0 0 0 3px var(--accent); }
.bo-cash label { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.bo-cash input { flex: 1; min-width: 0; width: 100%; box-sizing: border-box; min-height: 48px; font: 700 22px var(--sans); padding: 0 14px; border: var(--line); border-radius: 12px; text-align: right; background: var(--paper); }
.bo-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.bo-change { margin: 10px 0 0; display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.bo-change strong { font-size: 26px; }
.bo-who summary { cursor: pointer; font-weight: 600; }
.bo-who label { display: block; margin-top: 8px; font-weight: 600; font-size: 14px; }
.bo-who input { width: 100%; min-height: 42px; padding: 0 12px; border: var(--line); border-radius: 10px; margin-top: 4px; background: var(--paper); font: inherit; box-sizing: border-box; }
.bo-qty .qty-row { padding: 14px 0; }
.bo-qty .stepper button { width: 52px; height: 52px; font-size: 24px; }
.bo-qty .stepper input { width: 64px; font-size: 22px; }
.bo-search { display: flex; gap: 8px; margin-bottom: 10px; }
.bo-search input { flex: 1; min-height: 48px; padding: 0 16px; border: var(--line); border-radius: 999px; font: 500 16px var(--sans); background: var(--white); }
.bo-table td { vertical-align: middle; }
.bo-table .row-actions form { gap: 6px; }
.bo-bottom { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; margin-top: 18px; align-items: start; }
.bo-bottom .card { margin: 0; }
.bo-bottom h2 { margin: 0 0 10px; font-size: 18px; }
.bo-list { list-style: none; margin: 0; padding: 0; }
.bo-list li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-top: var(--thin); font-size: 15px; }
.bo-list li:first-child { border-top: 0; }
.bo-list .row-actions form { margin: 0; }
.bo-printer label { display: block; font-weight: 600; }
.bo-printer select { display: block; width: 100%; min-height: 44px; margin-top: 6px; border: var(--line); border-radius: 10px; padding: 0 10px; background: var(--white); font: inherit; }
.bo-printer details { margin-top: 10px; }
.bo-printer summary { cursor: pointer; font-weight: 600; }
.scan-top .scan-bo { margin-left: auto; margin-right: 12px; }
@media (max-width: 960px) {
  .bo-sell, .bo-bottom { grid-template-columns: minmax(0, 1fr); }
  .bo-pay { position: static; }
}
@media (max-width: 680px) {
  .bo { padding-top: 12px; }
  .bo-stats { width: 100%; }
  .bo-stats div { flex: 1; padding: 6px 8px; }
  .bo-stats dd { font-size: 19px; }
  .bo-list li { grid-template-columns: 42px 1fr; }
  .bo-list li .row-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .bo-pick, .bo-pay { padding: 14px; }
  .bo-qty .stepper button { width: 44px; height: 44px; }
  .bo-qty .stepper input { width: 48px; }
  .bo-qty .qty-row { gap: 10px; }
  .bo-total strong { font-size: 34px; }
  .bo-sold-act { width: 100%; }
  .bo-sold-act .btn { flex: 1; justify-content: center; }
  .bo-table .row-actions { white-space: normal; }
}

/* ---------- Administrace: boční menu ---------- */
.adm { display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: start; border-bottom: var(--line); }
.adm-side { position: sticky; top: 0; max-height: 100vh; overflow-y: auto; box-sizing: border-box; min-height: calc(100vh - 77px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 18px 14px 20px; border-right: var(--line); background: var(--paper); }
.adm-nav, .adm-user { display: flex; flex-direction: column; gap: 2px; }
.adm-side a { display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink); }
.adm-side a:hover { background: var(--white); }
.adm-side a.on { background: var(--ink); color: var(--paper); font-weight: 700; }
.adm-side a .pill { margin-left: auto; }
.adm-label { margin: 16px 12px 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.adm-label:first-child { margin-top: 0; }
.adm-ev { margin: 8px 0 4px; padding: 10px 6px 8px; border: var(--line); border-radius: 12px; background: var(--white); display: flex; flex-direction: column; gap: 1px; }
.adm-ev-title { margin: 0 6px; font-weight: 700; font-size: 15px; line-height: 1.25; display: flex; gap: 8px; align-items: baseline; }
.adm-ev-date { margin: 2px 6px 8px 22px; font-size: 12.5px; color: var(--mute); }
.adm-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--mute); transform: translateY(-1px); }
.adm-dot.is-published { background: #16a34a; }
.adm-dot.is-draft { background: #d97706; }
.adm-dot.is-cancelled { background: #c2410c; }
.adm-ev a { font-size: 14.5px; padding: 7px 12px; }
.adm-ev-tools { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 6px 0; padding-top: 8px; border-top: var(--thin); }
.adm-ev-tools a { font-size: 13px; padding: 5px 10px; border: 1.5px solid var(--ink); border-radius: 999px; }
.adm-user { border-top: var(--thin); padding-top: 12px; }
.adm-logout { color: var(--mute) !important; font-size: 14px !important; }
main.adm-main.wrap { max-width: none; margin: 0; padding: 28px clamp(20px, 3vw, 44px) 80px; min-width: 0; }
.adm-toggle { display: none; }
@media (min-width: 961px) { .is-admin .ev-tabs { display: none; } }
@media (max-width: 960px) {
  .adm { grid-template-columns: minmax(0, 1fr); }
  .adm-toggle { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px var(--pad); background: var(--ink); color: var(--paper); border: 0; font: 600 15px var(--sans); cursor: pointer; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .adm-side { display: none; position: static; max-height: none; min-height: 0; border-right: 0; border-bottom: var(--line); }
  body.adm-open .adm-side { display: flex; }
  main.adm-main.wrap { padding: 20px var(--pad) 60px; }
}
@media (max-width: 680px) {
  .is-admin .topnav > a:not(.nav-pill):not(:first-child) { display: none; }
  .ev-tabs { scrollbar-width: none; }
  .ev-tabs::-webkit-scrollbar { display: none; }
}
@media (max-width: 480px) { .is-public .topnav a[href$="admin/index.php"] { display: none; } }

/* ---------- Administrace: doladění ---------- */
.is-admin .topbar-in { min-height: 60px; padding-top: 8px; padding-bottom: 8px; }
.is-admin .logo { font-size: 28px; display: inline-flex; align-items: baseline; gap: 10px; }
.logo-tag { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 3px 8px; border-radius: 6px; transform: translateY(-4px); }
.is-admin .topnav .nav-pill { padding: 9px 18px; }
.is-admin .adm-side { min-height: calc(100vh - 61px); }
.nowrap { white-space: nowrap; }
.dash-stats { margin-bottom: 22px; }
.dash-stats .stat small { display: block; font-size: 13px; margin-top: 6px; }
.ev-admin-head .kicker { margin-bottom: 4px; }
.ev-admin-head { align-items: flex-end; }
@media (min-width: 961px) { .hide-desk { display: none !important; } }

/* úzký pruh se stavem akce */
.pub-slim { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; border: var(--line); padding: 10px 14px; margin-bottom: 22px; background: var(--white); }
.pub-slim-state { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.pub-slim-state i { width: 10px; height: 10px; border-radius: 50%; background: var(--mute); }
.pub-slim.is-live .pub-slim-state i { background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, .2); }
.pub-slim.is-draft { background: #fff7e6; }
.pub-slim.is-draft .pub-slim-state i { background: #d97706; }
.pub-slim.is-cancel { background: var(--paper2); }
.pub-slim-text { margin: 0; flex: 1 1 220px; font-size: 14.5px; }
.pub-slim-link { flex: 1 1 320px; margin: 0; }
.pub-slim-link input { min-height: 36px; font-size: 13px; }
.pub-slim form { margin: 0; }
.pub-more { position: relative; }
.pub-more summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 14px; padding: 7px 12px; border: 1.5px solid var(--ink); border-radius: 999px; white-space: nowrap; }
.pub-more summary::-webkit-details-marker { display: none; }
.pub-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 230px; background: var(--white); border: var(--line); border-radius: 12px; padding: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); display: flex; flex-direction: column; }
.pub-menu a, .pub-menu button { display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; background: none; border-radius: 8px; font: 500 14.5px var(--sans); color: var(--ink); text-decoration: none; cursor: pointer; }
.pub-menu a:hover, .pub-menu button:hover { background: var(--paper); }
.pub-menu .t-bad { color: var(--bad); }
@media (max-width: 680px) {
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .pub-more .pub-menu { right: auto; left: 0; }
}

/* ---------- Administrace v2: boční karta s ikonami ---------- */
body.is-admin { background: var(--paper); }
.is-admin .foot { display: none; }
.adm { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; padding: 16px; border-bottom: 0; }
.adm-side { position: sticky; top: 16px; height: calc(100vh - 32px); max-height: none; min-height: 0; padding: 0; border: 0; background: transparent; display: block; overflow: visible; }
.is-admin .adm-side { min-height: 0; }
.adm-card { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; background: var(--white); border: var(--line); border-radius: 18px; overflow: hidden; }
.adm-head { padding: 18px 18px 14px; border-bottom: var(--thin); }
.adm-logo { display: inline-block; font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; color: var(--ink); }
.adm-who { margin: 10px 0 14px; font-weight: 700; font-size: 15.5px; line-height: 1.25; }
.adm-who small { display: block; font-weight: 500; font-size: 12.5px; color: var(--mute); }
.adm-new { gap: 8px; min-height: 46px; }
.adm-new .ico { width: 18px; height: 18px; }
.adm-nav { flex: 1; overflow-y: auto; padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; }
.adm-side a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; font-size: 15.5px; font-weight: 500; text-decoration: none; color: var(--ink); }
.adm-side a .ico { flex: none; opacity: .85; }
.adm-side a:hover { background: var(--paper); }
.adm-side a.on { background: var(--ink); color: var(--paper); font-weight: 700; }
.adm-side a.on .ico { opacity: 1; }
.adm-side .adm-new, .adm-side .adm-new:hover { background: var(--accent); color: var(--ink); justify-content: center; border-radius: 999px; font-weight: 700; }
.adm-label { margin: 18px 12px 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.adm-badge { margin-left: auto; background: var(--accent); color: var(--ink); font-size: 12px; padding: 1px 8px; border-radius: 99px; }
.adm-side a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; display: flex; gap: 6px; align-items: center; }
.adm-ev { margin: 6px 0 8px; padding: 10px 6px 8px; border: var(--line); border-radius: 12px; background: var(--paper); }
.adm-ev a { padding: 7px 12px 7px 30px; font-size: 14.5px; }
.adm-ev a:hover { background: var(--white); }
.adm-ev-tools a { padding: 5px 10px !important; font-size: 13px !important; }
.adm-foot { border-top: var(--thin); padding: 8px 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.adm-foot a { font-size: 14.5px; }
.adm-mail { color: var(--mute); }
.adm-side .adm-logout { color: var(--bad) !important; font-size: 14.5px !important; }
.adm-mbar { display: none; }
main.adm-main.wrap { padding: 12px 8px 80px 0; }
@media (max-width: 960px) {
  .adm { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; }
  .adm-mbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--pad); border-bottom: var(--line); background: var(--paper); position: sticky; top: 0; z-index: 40; }
  .adm-mbar .adm-logo { font-size: 26px; }
  .adm-toggle { display: inline-flex !important; width: auto !important; align-items: center; gap: 8px; padding: 9px 16px !important; border-radius: 999px; background: var(--ink); color: var(--paper); border: 0; font: 600 15px var(--sans); cursor: pointer; }
  .adm-side { display: none; position: static; height: auto; padding: 12px var(--pad) 0; }
  body.adm-open .adm-side { display: block; }
  .adm-card { height: auto; }
  .adm-nav { overflow: visible; }
  main.adm-main.wrap { padding: 20px var(--pad) 60px; }
}

/* Účetnictví */
.acc-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.acc-step { display: inline-flex; align-items: center; border: var(--line); border-radius: 999px; background: var(--white); overflow: hidden; }
.acc-step a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; text-decoration: none; font-size: 22px; line-height: 1; }
.acc-step a:hover { background: var(--paper); }
.acc-step span { min-width: 92px; text-align: center; font-weight: 700; font-size: 15.5px; }
.seg-switch { display: inline-flex; border: var(--line); border-radius: 999px; padding: 3px; background: var(--white); margin-left: auto; }
.seg-switch a { padding: 7px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14.5px; }
.seg-switch a.on { background: var(--ink); color: var(--paper); }
.acc-card { padding: 0 !important; overflow: hidden; background: var(--white); }
.acc-table { margin: 0; }
.acc-table th, .acc-table td { padding: 14px 18px; }
.acc-table tfoot td { border-top: var(--line); font-weight: 700; background: var(--paper); }
.acc-empty { text-align: center; padding: 48px 18px !important; color: var(--mute); }
.acc-total { white-space: nowrap; }
.acc-copy { border: 0; background: none; cursor: pointer; font-size: 17px; margin-left: 6px; padding: 2px 4px; border-radius: 6px; }
.acc-copy:hover { background: var(--white); }
@media (max-width: 680px) { .seg-switch { margin-left: 0; } }
.adm-side .adm-logo { display: inline-block; padding: 0; font-family: var(--display); font-weight: 900; font-size: 32px; line-height: 1; text-transform: uppercase; letter-spacing: .03em; }
.adm-side .adm-logo:hover { background: none; }
.acc-card .table { border: 0; }
.acc-card .table-wrap { border: 0; }
@media (max-width: 680px) { .acc-bar { gap: 8px; } .acc-step span { min-width: 72px; } }

/* ---------- Veřejný web: doladění ---------- */
.is-public .topbar { position: sticky; top: 0; z-index: 50; background: rgba(233, 230, 223, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.is-public .ev-month { top: 78px; }
.follow-form { margin: 0; }
.follow-btn { display: inline-flex; align-items: center; gap: 6px; font: 600 14px var(--sans); padding: 7px 14px; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.follow-btn:hover { background: var(--ink); color: var(--paper); }
.follow-btn.is-on { background: var(--ink); color: var(--paper); }
.ev-cal { margin: 14px 0 0; font-size: 14.5px; }
.ev-cal a { font-weight: 600; }
.bk-step { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; font-weight: 700; font-size: 15px; }
.bk-step b { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 13px; flex: none; }
.bk-side .bk-step:first-child, .bk-main .bk-step:first-child { margin-top: 0; }
.methods { border: 0; padding: 0; margin: 0; }
.buy-bar { display: none; }
@media (max-width: 960px) {
  .buy-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: var(--line); transition: transform .2s; }
  .buy-bar.is-hidden { transform: translateY(110%); }
  .buy-bar strong { display: block; font-size: 16px; }
  .buy-bar small { color: var(--mute); font-size: 13px; }
  .buy-bar .btn { flex: none; }
  .event-page { padding-bottom: 76px; }
}
@media (max-width: 680px) { .is-public .ev-month { top: 58px; } }

/* ---------- Rezervace po krocích ---------- */
.wz-steps { display: none; }
.wz.is-wizard .wz-steps { display: flex; list-style: none; margin: 0 0 18px; padding: 0; gap: 6px; counter-reset: none; }
.wz-steps li { flex: 1; display: flex; align-items: center; gap: 7px; padding: 8px 2px; border-bottom: 3px solid var(--line-soft, rgba(17,17,17,.15)); font-size: 14px; font-weight: 600; color: var(--mute); min-width: 0; }
.wz-steps li b { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1.5px solid currentColor; font-size: 12.5px; }
.wz-steps li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wz-steps li.is-on { color: var(--ink); border-bottom-color: var(--accent); }
.wz-steps li.is-on b { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.wz-steps li.is-done { color: var(--ink); border-bottom-color: var(--ink); }
.wz-steps li.is-done b { background: var(--ink); border-color: var(--ink); color: var(--paper); font-size: 0; }
.wz-steps li.is-done b::after { content: '✓'; font-size: 13px; }
.wz-steps li.is-link { cursor: pointer; }
.wz-steps li.is-link:hover span { text-decoration: underline; }
.wz.is-wizard .wz-pane { display: none; }
.wz.is-wizard .wz-pane.is-on { display: block; animation: wzIn .2s ease; }
@keyframes wzIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wz.is-wizard .wz-pane > .bk-step { display: none; }
.wz-pane + .wz-pane { margin-top: 26px; }
.wz.is-wizard .wz-pane + .wz-pane { margin-top: 0; }
.wz-bar { display: none; }
.wz.is-wizard .wz-bar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: var(--thin); }
.wz-bar-end { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: 14px; }
.wz-bar .btn-lg { flex: 1 1 200px; justify-content: center; }
.wz-sum { margin: 0; font-size: 15px; flex: 1 1 160px; }
.wz-review { border: var(--line); border-radius: 12px; background: var(--paper); padding: 12px 14px; margin-bottom: 12px; }
.wz-items { list-style: none; margin: 0; padding: 0; }
.wz-items li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14.5px; }
.wz-items li + li { border-top: var(--thin); }
.wz-items li span:last-child { white-space: nowrap; font-weight: 600; }
.wz-who { margin: 8px 0 0; padding-top: 8px; border-top: var(--line); font-size: 14px; }
.methods-label { font-weight: 700; font-size: 15px; margin-bottom: 8px; padding: 0; }
.wz .total-row { padding-top: 10px; }
.ev-layout.is-seated .wz-pane[data-step="2"], .ev-layout.is-seated .wz-pane[data-step="3"] { max-width: 560px; }
.ev-layout.is-seated .wz-steps { max-width: 560px; }
.ev-layout.is-seated .wz-pane[data-step="1"] .wz-bar .btn-lg { flex: 0 1 320px; }

/* ---------- Akce v administraci po krocích ---------- */
.aw-steps { display: none; }
.aw.is-wizard .aw-steps { display: flex; list-style: none; margin: 0 0 18px; padding: 0; gap: 8px; }
.aw-steps li { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 4px; border-bottom: 3px solid rgba(17, 17, 17, .15); font-weight: 600; font-size: 15px; color: var(--mute); min-width: 0; }
.aw-steps li b { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 13px; flex: none; }
.aw-steps li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-steps li.is-on { color: var(--ink); border-bottom-color: var(--accent); }
.aw-steps li.is-on b { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.aw-steps li.is-done { color: var(--ink); border-bottom-color: var(--ink); }
.aw-steps li.is-done b { background: var(--ink); border-color: var(--ink); color: var(--paper); font-size: 0; }
.aw-steps li.is-done b::after { content: '✓'; font-size: 14px; }
.aw-steps li.is-link { cursor: pointer; color: var(--ink); }
.aw-steps li.is-link:hover span { text-decoration: underline; }
.aw.is-wizard .aw-pane { display: none; max-width: 820px; }
.aw.is-wizard .aw-pane.is-on { display: block; animation: wzIn .2s ease; }
.aw-pane h2 { margin-top: 0; }
.aw-sub { margin: 22px 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.aw-narrow { max-width: 320px; margin-top: 18px; }
.aw-bar { display: flex; align-items: center; gap: 12px; max-width: 820px; }
.aw-bar .aw-count { margin-left: auto; color: var(--mute); font-size: 14px; font-weight: 600; }
.aw:not(.is-wizard) .aw-prev, .aw:not(.is-wizard) .aw-next, .aw:not(.is-wizard) .aw-count { display: none; }
.aw:not(.is-wizard) .aw-pane + .aw-pane { margin-top: 20px; }
.aw-recap { border: var(--line); border-radius: 12px; background: var(--paper); padding: 14px 16px; margin: 18px 0 8px; }
.aw-recap-title { margin: 0 0 8px; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.aw-recap dl { margin: 0; display: grid; gap: 6px; }
.aw-recap dl div { display: grid; grid-template-columns: 140px 1fr; gap: 10px; font-size: 14.5px; }
.aw-recap dt { color: var(--mute); }
.aw-recap dd { margin: 0; }
.img-field img[hidden] { display: none; }
.img-field img { max-height: 220px; }
@media (max-width: 680px) {
  .aw-steps li span { display: none; }
  .aw-steps li.is-on span { display: inline; }
  .aw-recap dl div { grid-template-columns: 1fr; gap: 0; }
  .aw-bar .aw-count { display: none; }
}
.aw.is-wizard .aw-steps { max-width: 820px; }

/* ---------- Nákup vstupenek výrazněji ---------- */
.booking { padding: 0; top: 96px; border: 3px solid var(--ink); border-radius: 18px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); }
.booking-head { background: var(--ink); color: var(--paper); padding: 18px clamp(20px, 2.4vw, 30px) 16px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 16px; }
.booking-head .h2 { margin: 0; color: var(--paper); font-size: 44px; }
.booking-head p { margin: 0; text-align: right; line-height: 1.25; }
.booking-head strong { display: block; font-size: 18px; color: var(--accent); }
.booking-head span { font-size: 13px; opacity: .75; letter-spacing: .04em; }
.booking-body { padding: clamp(18px, 2.2vw, 28px); }
.booking .wz-steps { margin-top: 0; }
.booking .btn-accent { border-color: var(--ink); }
.booking .btn-accent:hover:not(:disabled) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.booking .btn-accent:disabled { background: var(--paper2); border-color: var(--paper2); color: var(--mute); }
.ev-buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0 0; max-width: 520px; padding: 16px 22px; background: var(--accent); color: var(--ink); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--ink); text-decoration: none; transition: transform .12s, box-shadow .12s; }
.ev-buy:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.ev-buy:active { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--ink); }
.ev-buy b { display: block; font-family: var(--display); font-weight: 900; font-size: 30px; text-transform: uppercase; line-height: 1; }
.ev-buy small { display: block; margin-top: 4px; font-size: 14.5px; font-weight: 600; }
.ev-buy i { font-style: normal; font-size: 34px; font-weight: 700; }
.ev-buy.is-out { background: var(--paper2); box-shadow: none; }
.ev-layout:not(.is-seated) .ev-buy { display: none; }
@media (max-width: 960px) {
  .ev-layout:not(.is-seated) .ev-buy { display: flex; }
  .booking { box-shadow: 5px 5px 0 var(--ink); }
}
@media (max-width: 680px) {
  .booking-head .h2 { font-size: 34px; }
  .ev-buy b { font-size: 24px; }
}
.booking-head { align-items: flex-end; }
.ev-layout:not(.is-seated) .booking-head { flex-direction: column; align-items: flex-start; }
.ev-layout:not(.is-seated) .booking-head p { text-align: left; }
@media (max-width: 960px) { .ev-layout:not(.is-seated) .ev-buy { display: none; } }

/* Automatické ukládání + upozornění */
.aw.is-autosave .aw-submit { display: none; }
.aw-status { font-size: 14px; font-weight: 600; color: var(--mute); display: inline-flex; align-items: center; gap: 8px; }
.aw-status::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--mute); }
.aw-status.is-ok::before { background: #16a34a; }
.aw-status.is-busy::before { background: #d97706; animation: pulse 1s infinite; }
.aw-status.is-bad { color: var(--bad); }
.aw-status.is-bad::before { background: var(--bad); }
.aw.is-autosave .aw-bar .aw-count { margin-left: 0; }
.aw.is-autosave .aw-status { margin-left: auto; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 100; display: flex; align-items: center; gap: 14px; max-width: min(460px, calc(100vw - 32px)); padding: 12px 14px 12px 18px; background: var(--ink); color: var(--paper); border-radius: 14px; box-shadow: 0 12px 34px rgba(0, 0, 0, .25); font-weight: 600; font-size: 15px; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-on { opacity: 1; transform: none; pointer-events: auto; }
.toast::before { content: '✓'; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: #16a34a; color: #fff; font-size: 14px; }
.toast.is-bad::before { content: '!'; background: var(--bad); }
.toast button { margin-left: auto; flex: none; background: var(--paper); color: var(--ink); border: 0; border-radius: 999px; padding: 7px 14px; font: 700 14px var(--sans); cursor: pointer; }
.toast button:hover { background: var(--accent); }
@media (max-width: 680px) { .toast { left: 16px; right: 16px; bottom: 16px; } }

/* ---------- Poloha v programu ---------- */
.locbar { display: flex; align-items: center; gap: 8px; }
.loc { position: relative; }
.loc summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 9px 18px; min-height: 44px; box-sizing: border-box; border: var(--line); border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 15px; }
.loc summary::-webkit-details-marker { display: none; }
.loc-pin { font-size: 15px; }
.loc-caret { font-size: 12px; opacity: .8; }
.loc[open] .loc-caret { transform: rotate(180deg); }
.loc-pop { position: absolute; left: 0; top: calc(100% + 8px); z-index: 40; width: min(420px, calc(100vw - 2 * var(--pad))); max-height: 70vh; overflow-y: auto; box-sizing: border-box; padding: 14px; background: var(--white); border: var(--line); border-radius: 16px; box-shadow: 6px 6px 0 var(--ink); }
.loc-near { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 12px; background: var(--accent); color: var(--ink); font: 700 15px var(--sans); cursor: pointer; text-align: left; }
.loc-near small { font-weight: 500; opacity: .75; }
.loc-near:disabled { opacity: .7; cursor: wait; }
.loc-msg { margin: 8px 2px 0; font-size: 13.5px; color: var(--bad); }
.loc-h { margin: 14px 2px 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.loc-h small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.loc-list { display: flex; flex-direction: column; }
.loc-list a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 8px; text-decoration: none; font-size: 15px; }
.loc-list a:hover { background: var(--paper); }
.loc-list a.on { background: var(--ink); color: var(--paper); font-weight: 700; }
.loc-list small { opacity: .6; }
.loc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.loc-all { display: block; margin-top: 12px; padding-top: 10px; border-top: var(--thin); font-weight: 600; font-size: 14.5px; }
.loc-clear { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1.5px solid var(--ink); border-radius: 50%; text-decoration: none; font-weight: 700; }
.loc-clear:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 680px) { .loc summary { min-height: 40px; padding: 7px 14px; font-size: 14px; } }
.note-warn { margin: 12px 0 0; padding: 10px 14px; background: #fff7e6; border: 1.5px solid #d97706; border-radius: 10px; font-size: 14px; }

/* Stav automatického ukládání (boční menu / mobilní lišta) */
.save-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1.5px solid rgba(17, 17, 17, .15); font-size: 13px; font-weight: 600; color: var(--ink); }
.save-chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--mute); flex: none; }
.save-chip.is-ok::before { background: #16a34a; }
.save-chip.is-busy::before { background: #d97706; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.save-chip.is-bad { color: var(--bad); border-color: var(--bad); }
.save-chip.is-bad::before { background: var(--bad); }
.adm-mbar .save-chip { margin: 0 0 0 auto; padding: 5px 10px; font-size: 12px; }
.is-admin .aw-status { display: none; }
.is-admin .aw.is-autosave .aw-count { margin-left: auto; }
form.is-autosave .sticky-save:empty { display: none; }

/* Přístup pomocníků ke skeneru */
.helpers { display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: flex-start; padding: 14px; border: var(--line); border-radius: 14px; background: var(--white); margin: 8px 0 16px; }
.helpers-qr { display: flex; gap: 14px; }
.helpers-qr figure { margin: 0; text-align: center; }
.helpers-qr svg { width: 132px; height: 132px; display: block; border: 1.5px solid var(--ink); border-radius: 8px; }
.helpers-qr figcaption { margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.helpers-text { flex: 1 1 260px; font-size: 14.5px; }
.helpers-text p { margin: 0 0 8px; }
.helpers-code { font: 700 30px var(--mono, ui-monospace, monospace); letter-spacing: .18em; display: inline-block; padding: 4px 14px; border: var(--line); border-radius: 10px; background: var(--paper); }
.helpers-act { display: flex; flex-wrap: wrap; gap: 8px; }
.code-input { text-transform: uppercase; letter-spacing: .14em; font-weight: 700 !important; font-size: 20px !important; text-align: center; }
.scan-code .btn-lg { margin-top: 6px; }
.scan-other { margin-top: 18px; }
.scan-other summary { cursor: pointer; font-weight: 600; margin-bottom: 10px; }
.scan-share .helpers { margin-top: 12px; }

/* Storno a vracení peněz */
.refund-set { margin: 18px 0 6px; padding: 14px; border: var(--line); border-radius: 12px; }
.refund-set legend { font-weight: 700; padding: 0 6px; }
.refund-due { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin: 0 18px 10px; padding: 10px 14px; background: #fff7e6; border: 1.5px solid #d97706; border-radius: 10px; font-size: 14.5px; }
.refund-due form { margin: 0; }
.refund-due.is-done { background: var(--paper); border-color: rgba(17, 17, 17, .2); color: var(--mute); }
.refund-alert { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: #fff7e6; border: 1.5px solid #d97706; font-weight: 700; font-size: 14px; text-decoration: none; }
.cancel-box { max-width: 560px; margin: 26px auto 0; padding: 12px 16px; border: var(--thin); border-radius: 12px; }
.cancel-box summary { cursor: pointer; font-weight: 600; }
.cancel-box .form { margin-top: 10px; }
.refund-note { margin: 0 0 12px; padding: 10px 12px; background: var(--paper); border-radius: 10px; font-size: 13.5px; line-height: 1.45; }
.foot-legal { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------- servisní poplatek a dýško ---------- */
.sum-rows { margin: 14px 0 4px; font-size: 14px; }
.sum-rows p { display: flex; justify-content: space-between; margin: 4px 0; }
.sum-rows p span:last-child { font-variant-numeric: tabular-nums; }
.info-dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; background: none; font-size: 11px; font-weight: 700; line-height: 1; padding: 0; opacity: .55; cursor: help; vertical-align: 1px; }
.extra-pick { border: 0; padding: 14px 0 4px; margin: 0; border-top: 1px solid rgba(0,0,0,.12); }
.extra-pick legend { font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 8px; }
.extra-pick legend small { display: block; font-weight: 400; font-size: 13px; opacity: .7; margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips label { cursor: pointer; }
.chips input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.chips label span { display: inline-block; padding: 8px 14px; border: 2px solid currentColor; border-radius: 999px; font-weight: 700; font-size: 14px; opacity: .6; transition: .15s; }
.chips input:checked + span { opacity: 1; background: var(--accent, #ff5a1f); border-color: var(--accent, #ff5a1f); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--accent, #ff5a1f); outline-offset: 2px; }
.chip-own-input input { width: 90px; }
.legend small { opacity: .7; font-size: 11px; }

/* ---------- tým pořadatele ---------- */
.team-intro { max-width: 640px; margin: -6px 0 20px; }
.team-list { padding: 6px 0; }
.team-list > p { padding: 12px 20px; margin: 0; }
.team-row { border-bottom: 1px solid rgba(0,0,0,.1); }
.team-row:last-child { border-bottom: 0; }
.team-row summary { display: grid; grid-template-columns: minmax(180px, 1.2fr) 2fr auto; gap: 14px; align-items: center; padding: 14px 20px; cursor: pointer; list-style: none; }
.team-row summary::-webkit-details-marker { display: none; }
.team-row summary:hover { background: rgba(0,0,0,.03); }
.team-who strong { display: block; }
.team-who small { opacity: .65; font-size: 13px; }
.team-perms { display: flex; flex-wrap: wrap; gap: 6px; }
.team-perms i { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(0,0,0,.07); }
.team-state { font-size: 13px; font-weight: 700; }
.team-row.is-paused { opacity: .55; }
.team-edit { padding: 4px 20px 18px; }
.perm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 10px 0 14px; }
.perm-box { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 2px solid rgba(0,0,0,.14); border-radius: 12px; cursor: pointer; font-weight: 400; }
.perm-box:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
.perm-box input { margin-top: 3px; accent-color: var(--accent); }
.perm-box strong { display: block; font-size: 15px; }
.perm-box small { display: block; font-size: 12.5px; opacity: .7; line-height: 1.35; margin-top: 2px; }
.perm-presets { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.field-label { font-weight: 700; margin: 14px 0 4px; }
@media (max-width: 700px) { .team-row summary { grid-template-columns: 1fr auto; } .team-perms { grid-column: 1 / -1; order: 3; } }

/* ---------- hlavní stránka: program se sidebarem ---------- */
.prog-layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: clamp(28px, 3vw, 48px); align-items: start; }
.prog-mbar, .ps-mhead, .ps-mfoot { display: none; }
.prog-side { padding: 0 12px; margin: 0 -12px; position: sticky; top: var(--ps-top, 96px); align-self: start; }
.ps-in { display: flex; flex-direction: column; gap: 18px; padding: 2px 0 24px; }
.ps-search input { width: 100%; box-sizing: border-box; }
.ps-h { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ps-block .locbar { display: flex; gap: 6px; align-items: center; }
.ps-block .loc { flex: 1; min-width: 0; }
.ps-block .loc summary { width: 100%; box-sizing: border-box; }
.ps-block .loc-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-list { display: flex; flex-direction: column; }
.prog-side .ps-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 5px 12px; margin: 0 -12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.prog-side .ps-list a small { font-size: 13px; opacity: .55; font-variant-numeric: tabular-nums; }
.prog-side .ps-list a:hover { background: var(--paper2); }
.prog-side .ps-list a.on { background: var(--ink); color: var(--paper); font-weight: 700; }
.prog-side .ps-list a.on small { opacity: .8; }
.prog-side .ps-list a.is-empty { opacity: .4; }
.ps-cal { margin-top: 12px; border: var(--line); border-radius: 16px; padding: 12px; background: var(--white); }
.ps-cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ps-cal-head strong { font-size: 15px; }
.ps-cal-head a, .ps-cal-head span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); text-decoration: none; font-size: 20px; line-height: 1; }
.ps-cal-head a:hover { background: var(--paper2); }
.ps-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; font-size: 13px; }
.ps-cal-grid .dn { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; opacity: .5; padding-bottom: 4px; }
.ps-cal-grid > span:not(.dn), .ps-cal-grid > a { height: 29px; width: 29px; max-width: 100%; justify-self: center; display: grid; place-items: center; border-radius: 50%; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.ps-cal-grid > span.is-past { opacity: .3; }
.ps-cal-grid > span:not(.dn):not(.is-past) { opacity: .55; }
.ps-cal-grid > a.has { font-weight: 800; position: relative; }
.ps-cal-grid > a.has::after { content: ""; position: absolute; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.ps-cal-grid > a.has:hover { background: var(--paper2); }
.ps-cal-grid > .today { box-shadow: inset 0 0 0 1.5px var(--ink); }
.ps-cal-grid > a.on { background: var(--accent); color: #fff; }
.ps-cal-grid > a.on::after { background: #fff; }
.ps-toggle { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
.ps-toggle i { width: 40px; height: 24px; border-radius: 999px; border: var(--line); position: relative; flex: none; box-sizing: border-box; transition: background .15s; }
.ps-toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); transition: transform .15s; }
.ps-toggle.on i { background: var(--accent); border-color: var(--accent); }
.ps-toggle.on i::after { transform: translateX(16px); background: #fff; }
.ps-follow a { font-weight: 600; }
.ps-links { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; border-top: var(--thin); font-size: 14px; }
.ps-links a { color: var(--ink); }
.prog-main { min-width: 0; }
.prog-main .ev-row-in, .prog-main .ev-month-in { max-width: none; padding-left: 0; padding-right: 0; }
.prog-main .ev-list .ev-row:hover .ev-row-in { padding-left: 0; }
.prog-main .fsummary { padding-top: 2px; }
.prog-main .empty { padding: 40px 0; }
.program-head { padding-bottom: 20px; }

@media (max-width: 1000px) {
  .prog-layout { display: block; }
  .prog-mbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding-bottom: 16px; }
  .prog-mbar .fsearch input { width: 100%; box-sizing: border-box; }
  .prog-ftoggle { min-height: 44px; padding: 10px 18px; }
  .prog-ftoggle b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; }
  .prog-quick { grid-column: 1 / -1; display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 6px; margin: 0 calc(-1 * var(--pad)); padding: 2px var(--pad) 4px; scrollbar-width: none; }
  .prog-quick::-webkit-scrollbar { display: none; }
  .prog-quick .fpill { flex: none; }
  .prog-side { margin: 0; padding: 0; position: fixed; inset: 0; top: 0; max-height: none; z-index: 80; background: rgba(17, 17, 17, .45); display: flex; align-items: flex-end; overflow: hidden; opacity: 0; pointer-events: none; transition: opacity .2s; }
  .ps-open .prog-side { opacity: 1; pointer-events: auto; }
  .ps-open { overflow: hidden; }
  .ps-in { width: 100%; max-height: 88vh; overflow-y: auto; box-sizing: border-box; background: var(--paper); border-radius: 22px 22px 0 0; border-top: var(--line); padding: 0 var(--pad) 0; gap: 20px; transform: translateY(30px); transition: transform .2s; }
  .ps-open .ps-in { transform: none; }
  .ps-mhead { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 2; background: var(--paper); padding: 16px 0 10px; margin-bottom: -8px; font-size: 18px; }
  .ps-mhead .ps-close { width: 40px; height: 40px; border-radius: 50%; border: var(--line); background: none; font-size: 16px; cursor: pointer; }
  .ps-mfoot { display: block; position: sticky; bottom: 0; background: linear-gradient(180deg, rgba(233, 230, 223, 0), var(--paper) 30%); padding: 18px 0 calc(16px + env(safe-area-inset-bottom)); }
  .ps-search { display: none; }
  .ps-block .loc-pop { position: static; width: auto; box-shadow: none; margin-top: 8px; max-height: none; }
  .ps-cal { max-width: 360px; }
}

/* sidebar: Kdy a Co jako štítky, ať se panel vejde na výšku */
.prog-side .ps-pills { flex-direction: row; flex-wrap: wrap; gap: 6px; }
.prog-side .ps-pills a { margin: 0; padding: 6px 12px; border: var(--thin); border-radius: 999px; font-size: 14px; gap: 6px; }
.prog-side .ps-pills a.on { border-color: var(--ink); }
.prog-side .ps-pills a.is-empty { display: none; }
.ps-cal { margin-top: 10px; padding: 10px 12px; }
.ps-links { flex-direction: row; flex-wrap: wrap; gap: 4px 14px; padding-top: 14px; }

/* early bird v administraci */
.cat-row > .early-field { display: none; grid-column: 2 / 4; grid-row: 3; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.has-early .cat-row > .early-field { display: flex; }
.cat-row > .early-field .unit { flex: 1; max-width: 160px; }
.early-set { border: 0; padding: 0; margin: 16px 0 0; }
.early-when { margin-top: 8px; }
.early-note { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, transparent); font-size: 14px; }
.early-note b { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.qty-row s, .legend s { opacity: .55; margin-left: 4px; }
.waitlist-form { margin-top: 14px; padding-top: 16px; border-top: var(--thin); }
.waitlist-form .wl-lead { margin: 0 0 12px; font-size: 14px; }
.waitlist-form .wl-lead strong { display: block; font-size: 17px; margin-bottom: 2px; }
.done-page { padding: 60px 0; }
.rate-stars { display: flex; gap: 10px; margin: 18px 0 26px; }
.rate-stars a { width: 52px; height: 52px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; font-size: 20px; font-weight: 800; color: var(--ink); text-decoration: none; }
.rate-stars a.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.rate-next { margin-top: 40px; }
.rate-page .ev-row-in, .rate-page .ev-month-in { padding-left: 0; padding-right: 0; }
.given-list { margin: 20px 0; padding: 14px 18px; border: var(--thin); border-radius: 14px; }
.given-list p { margin: 4px 0; }
.tk-extras { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; margin: 10px 0 0; }
.tk-wallet { display: flex; flex-wrap: wrap; gap: 8px; }
.tk-wallet a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; background: #000; color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; }
.tk-wallet a svg { width: 18px; height: 18px; }
.tk-give { flex: 1 1 100%; }
.tk-give summary { cursor: pointer; font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.tk-give form { margin-top: 10px; padding: 14px; border: var(--thin); border-radius: 12px; background: var(--white); }
.howto { margin: 0 0 18px; padding-left: 20px; font-size: 14px; line-height: 1.6; }
.howto li { margin: 4px 0; }
h2 .pill { vertical-align: middle; margin-left: 8px; font-size: 12px; }

/* ---------- přehled akce ---------- */
.big-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border: var(--line); border-radius: 18px; overflow: hidden; margin-bottom: 20px; background: var(--white); }
.big-stats .stat { border-left: 0 !important; border-right: var(--thin); border-bottom: var(--thin); margin: 0 -1px -1px 0; }
.big-stats .stat > small { display: block; margin-top: 6px; font-size: 13px; }
.meter { display: block; height: 6px; margin-top: 10px; border-radius: 999px; background: var(--paper2); overflow: hidden; }
.meter b { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-bottom: 20px; }
.stats-grid .card, .sales-chart { margin: 0 0 20px; }
.src-line { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px; }
.fb { margin: 0 0 12px; padding: 10px 14px; border-left: 3px solid var(--accent); background: var(--paper2); border-radius: 0 10px 10px 0; font-size: 14px; }
.fb b { margin-right: 6px; }
.fb cite { display: block; margin-top: 4px; font-size: 12px; opacity: .65; font-style: normal; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 700; }
.live-badge i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; animation: livepulse 1.6s infinite; }
@keyframes livepulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .live-badge i { animation: none; } }
.chart-wrap { position: relative; }
.chart { width: 100%; height: auto; display: block; }
.chart .grid { stroke: rgba(17, 17, 17, .1); stroke-width: 1; }
.chart .ax { font-size: 11px; fill: var(--mute); font-family: var(--sans); }
.chart .bar { fill: var(--accent); }
.chart .promo { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 3 3; opacity: .55; }
.chart .hit { fill: transparent; cursor: default; }
.chart .hit.on { fill: rgba(17, 17, 17, .05); }
.chart-tip { position: absolute; pointer-events: none; padding: 6px 10px; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: 13px; white-space: nowrap; z-index: 5; }
.tbl-view { margin-top: 8px; font-size: 14px; }
.tbl-view summary { cursor: pointer; }
.widget-opts { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 14px; }
.widget-opts label { margin: 0; }
.widget-opts input { width: 110px; }
#wcode { font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
.widget-preview.is-dark { background: #111; color: #f4f1ea; }

/* ===================== Úklid a sjednocení (listopad) ===================== */
/* malé štítkové odkazy */
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; background: transparent; white-space: nowrap; }
.chip:hover { background: var(--ink); color: var(--paper); }

/* boční menu administrace: posouvá se celé, nic se neschová */
.adm-card { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.adm-nav { flex: 1 0 auto; overflow: visible; padding: 10px 10px; }
.adm-side a { padding: 7px 12px; font-size: 15px; }
.adm-label { margin: 12px 12px 4px !important; }

/* hlavička akce v administraci */
.ev-head-act { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
@media (max-width: 760px) {
  .pub-slim-link input { display: none; }
  .pub-slim { gap: 10px; }
  .big-stats .stat strong, .stats .stat strong { font-size: clamp(22px, 7vw, 36px); }
}

/* přehled akcí v administraci */
.eva-list { display: flex; flex-direction: column; gap: 10px; }
.eva { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr) auto 150px 140px auto; gap: 18px; align-items: center; padding: 14px 18px; background: var(--white); border: var(--line); border-radius: 16px; }
.eva:hover { box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); transition: transform .12s, box-shadow .12s; }
.eva.is-draft { background: transparent; border-style: dashed; }
.eva.is-cancelled { opacity: .6; }
.eva-date b { display: block; font-family: var(--display); font-weight: 900; font-size: 32px; line-height: 1; }
.eva-date small { display: block; margin-top: 3px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.eva-main h2 { margin: 0; font-size: 18px; line-height: 1.25; font-family: var(--sans); letter-spacing: 0; text-transform: none; }
.eva-main p { margin: 2px 0 0; font-size: 13px; color: var(--mute); }
.eva-link { color: var(--ink); text-decoration: none; }
.eva-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.eva-sold span { font-size: 14px; }
.eva-sold small, .eva-money small { display: block; font-size: 12px; color: var(--mute); margin-top: 4px; }
.eva-sold .meter { margin-top: 6px; }
.eva-money { text-align: right; font-size: 15px; }
.eva-act { position: relative; z-index: 1; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 1100px) {
  .eva { grid-template-columns: 60px minmax(0, 1fr) auto; grid-template-areas: "d m p" "d s r" "a a a"; row-gap: 10px; }
  .eva-date { grid-area: d; align-self: start; }
  .eva-main { grid-area: m; }
  .eva .pill { grid-area: p; }
  .eva-sold { grid-area: s; }
  .eva-money { grid-area: r; }
  .eva-act { grid-area: a; justify-content: flex-start; }
}
@media (max-width: 520px) {
  .eva { grid-template-columns: 52px minmax(0, 1fr); grid-template-areas: "d m" "d p" "s s" "r r" "a a"; gap: 8px 14px; padding: 14px; }
  .eva .pill { justify-self: start; }
  .eva-money { text-align: left; }
}

/* rezervace: pevné sloupce, nic neposkakuje */
.order summary { grid-template-columns: minmax(0, 1fr) 44px 100px 170px 96px; }
.order summary .pill { justify-self: start; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) {
  .order summary { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n t" "p c"; row-gap: 6px; }
  .order summary .o-name { grid-area: n; }
  .order summary .o-total { grid-area: t; text-align: right; }
  .order summary .pill { grid-area: p; }
  .order summary .o-count { grid-area: c; text-align: right; }
  .order summary .o-date { display: none; }
}

/* nastavení: rychlá navigace po částech */
.jump-nav { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 6px; max-width: 680px; padding: 10px 0; margin-bottom: 6px; background: var(--paper); }
.jump-nav a { padding: 6px 12px; border-radius: 999px; border: var(--thin); font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; background: var(--white); }
.jump-nav a:hover { border-color: var(--ink); }
.form h2[id] { scroll-margin-top: 70px; }
.form h2 + * { margin-top: 0; }
.narrow-card h2:not(:first-child) { margin-top: 30px; padding-top: 22px; border-top: var(--thin); }

/* kroky nákupu na úzkém displeji: aktivní krok s popiskem, ostatní jen číslo */
@media (max-width: 480px) {
  .wz-steps li { flex: 0 0 auto; }
  .wz-steps li.is-on { flex: 1 1 auto; }
  .wz-steps li:not(.is-on) span { display: none; }
  .wz-steps { gap: 6px; }
}
/* kroky v administraci akce na mobilu stejně */
@media (max-width: 760px) {
  .aw-steps li:not(.is-on) span, .aw-steps li:not(.on) .aw-label { display: none; }
}
@media (max-width: 760px) { .aw-steps li { flex: 0 0 auto; } .aw-steps li.is-on { flex: 1 1 auto; } }
/* přehled akcí: odkazy vždy na druhém řádku, název má místo */
@media (min-width: 1101px) {
  .eva { grid-template-columns: 70px minmax(0, 1fr) auto 140px 140px; row-gap: 8px; }
  .eva-date { grid-row: 1 / 3; }
  .eva-act { grid-column: 2 / -1; grid-row: 2; justify-content: flex-start; }
}
@media (max-width: 760px) {
  .pub-slim { display: flex; flex-wrap: wrap; align-items: center; }
  .pub-slim-state { flex: 1 1 100%; }
  .pub-slim-link { flex: 0 0 auto; width: auto; }
}
.narrow-card h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
/* ikony ve štítcích nástrojů akce a v sekcích akce */
.adm-ev-tools a { gap: 5px !important; }
.adm-ev-tools a .ico { width: 15px; height: 15px; flex: none; }
.adm-ev .adm-side a .ico, .adm-ev a .ico { width: 18px; height: 18px; }

/* ===================== Veřejný web ve stylu administrace ===================== */
/* klidnější nadpisy: normální písmo místo obřích verzálek */
.is-public .h1, .is-public .ev-h1 { font-family: var(--sans); font-weight: 800; text-transform: none; letter-spacing: -.02em; line-height: 1.08; font-size: clamp(32px, 4.2vw, 54px); }
.is-public .section-title { font-family: var(--sans); font-weight: 800; text-transform: none; letter-spacing: -.02em; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; }
.is-public .section-title em { font-family: var(--sans); font-style: normal; font-weight: 500; font-size: .5em; color: var(--mute); margin-left: 8px; letter-spacing: 0; }
.is-public .booking-head .h2 { font-family: var(--sans); font-weight: 800; text-transform: none; letter-spacing: -.01em; font-size: 26px; }

/* program: akce jako bílé karty */
.ev-list { border: 0; display: flex; flex-direction: column; gap: 10px; }
.ev-list .ev-group { display: flex; flex-direction: column; gap: 10px; }
.ev-month { position: static; border: 0; background: transparent; }
.ev-month-in { padding: 14px 2px 2px !important; max-width: none; }
.ev-month h3 { font-family: var(--sans); font-weight: 800; font-size: 20px; text-transform: none; letter-spacing: -.01em; line-height: 1.2; }
.ev-month h3::first-letter { text-transform: uppercase; }
.ev-month span { font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--mute); }
.ev-list .ev-row { background: var(--white); border: var(--line); border-radius: 16px; transition: transform .12s, box-shadow .12s; }
.ev-list .ev-row:hover, .ev-list .ev-row:focus-visible { background: var(--white); color: var(--ink); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.ev-list .ev-row-in { max-width: none; padding: 12px 18px !important; gap: 18px; }
.ev-list .ev-row:hover .ev-row-in { padding-left: 18px !important; }
.ev-list .ev-date b { font-size: 34px; }
.ev-list .ev-title { font-size: 18px; }
.ev-list .ev-row.is-off { background: transparent; border-style: dashed; }
.ev-wrap { padding-top: 8px; padding-bottom: 40px; }

/* filtry v kartě jako menu v administraci */
.prog-side .ps-in { background: var(--white); border: var(--line); border-radius: 18px; padding: 16px 16px 18px; gap: 16px; }
.prog-side .ps-cal { background: var(--paper); border: var(--thin); }
.prog-side .ps-links { border-top: var(--thin); }
@media (min-width: 1001px) { .prog-side { padding: 0; margin: 0; } }
@media (max-width: 1000px) {
  .prog-side .ps-in { border: 0; border-radius: 22px 22px 0 0; border-top: var(--line); background: var(--paper); padding: 0 var(--pad); }
}
@media (max-width: 600px) {
  .ev-list .ev-row-in { padding: 12px 14px !important; gap: 12px; }
  .ev-list .ev-date b { font-size: 28px; }
}
/* údaje o akci jako karta */
.is-public .facts { background: var(--white); border: var(--line); border-radius: 16px; overflow: hidden; }
.is-public .facts > div { padding: 14px 18px; }
.is-public .facts > div + div { border-left: var(--thin) !important; }
@media (max-width: 700px) { .is-public .facts > div + div { border-left: 0 !important; border-top: var(--thin) !important; } }

/* stránka akce: rezervace hned pod údaji, popis a plakát až pod ní */
.ev-layout { grid-template-areas: "main book" "info book"; row-gap: 28px; }
.ev-layout > .ev-main { grid-area: main; }
.ev-layout > .booking { grid-area: book; }
.ev-layout > .ev-info { grid-area: info; min-width: 0; }
.ev-layout.is-seated { grid-template-areas: "main" "book" "info"; }
.ev-layout.is-seated .ev-info { max-width: 900px; }
.ev-info .ev-poster { margin-top: 0; }
@media (max-width: 960px) {
  .ev-layout { grid-template-areas: "main" "book" "info"; }
}
.broker-note { max-width: 640px; margin-top: 12px; line-height: 1.5; }

/* účetnictví a finance */
.payout-card { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, 1fr); gap: 28px; margin-bottom: 20px; }
.payout-card.is-paid { border-color: #1f7a4a; }
.payout-calc { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 15px; }
.payout-calc td { padding: 7px 0; border-bottom: var(--thin); }
.payout-calc td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.payout-calc tr.sum td { border-bottom: 0; border-top: var(--line); padding-top: 10px; font-weight: 800; font-size: 18px; }
.payout-side { border-left: var(--thin); padding-left: 24px; }
.payout-state { font-weight: 800; font-size: 18px; margin: 0 0 6px; }
.payout-state.ok { color: #1f7a4a; }
.payout-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.acc-notes { max-width: 820px; margin-top: 18px; }
.acc-notes p { margin: 0 0 8px; }
.fin-pct { display: flex; gap: 6px; align-items: center; margin-top: 6px; font-size: 12px; }
.fin-pct input { width: 52px !important; padding: 3px 6px !important; min-height: 0 !important; font-size: 12px; }
.fin-act { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fin-act form { margin: 0; }
.fin-table td { vertical-align: top; }
@media (max-width: 760px) { .payout-card { grid-template-columns: 1fr; } .payout-side { border-left: 0; padding-left: 0; border-top: var(--thin); padding-top: 14px; } }
.terms-banner { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin: 0 0 18px; padding: 14px 18px; border: var(--line); border-radius: 14px; background: color-mix(in srgb, var(--accent) 12%, var(--white)); }
.terms-banner p { margin: 0; max-width: 720px; }
.acc-card > h2 { margin: 0; padding: 18px 20px 4px; }

/* ---------- obrázky ---------- */
/* hlavička akce: celý obrázek na rozmazaném pozadí (plakát na výšku i fotka na šířku) */
.ev-hero { position: relative; overflow: hidden; background: var(--ink); border-bottom: var(--line); }
.ev-hero-bg { position: absolute; inset: -40px; background: center/cover no-repeat; filter: blur(34px) saturate(1.2) brightness(.72); transform: scale(1.1); }
.ev-hero-img { position: relative; display: block; max-width: 1560px; margin: 0 auto; padding: clamp(14px, 2.4vw, 28px) var(--pad); box-sizing: border-box; }
.ev-hero-img img { display: block; margin: 0 auto; border-radius: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); background: #222; }
.ev-hero.is-wide .ev-hero-img img { width: 100%; height: clamp(200px, 38vw, 480px); object-fit: cover; }
.ev-hero.is-tall .ev-hero-img img { width: auto; max-width: 100%; height: clamp(320px, 52vw, 560px); object-fit: contain; }
.ev-hero-img:hover img { box-shadow: 0 22px 60px rgba(0, 0, 0, .45); }
@media (max-width: 600px) {
  .ev-hero.is-tall .ev-hero-img img { height: 56vh; width: auto; max-width: 100%; }
  .ev-hero.is-wide .ev-hero-img img { height: auto; aspect-ratio: 3 / 2; }
  .ev-hero-img { padding: 12px; }
}
.ev-art-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* administrace: nahrání obrázku s bodem zájmu */
.img-pro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); gap: 18px; align-items: start; }
.img-pro .focus-pick[hidden] + .img-side { grid-column: 1 / -1; }
.focus-pick { position: relative; cursor: crosshair; border: var(--line); border-radius: 12px; overflow: hidden; background: var(--paper2); line-height: 0; }
.focus-pick img { width: 100%; max-height: 420px; object-fit: contain; display: block; }
.focus-dot { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 3px solid #fff; background: var(--accent); box-shadow: 0 0 0 2px var(--ink), 0 2px 8px rgba(0,0,0,.4); pointer-events: none; transition: left .15s, top .15s; }
.img-side { display: flex; flex-direction: column; gap: 12px; }
.crop-prev { display: flex; gap: 12px; align-items: center; }
.crop-thumb { flex: none; width: 64px; height: 64px; border: var(--line); border-radius: 8px; overflow: hidden; }
.crop-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.crop-prev small { font-size: 12.5px; color: var(--mute); line-height: 1.4; }
.drop-zone { display: block; padding: 18px; border: 2px dashed rgba(17,17,17,.35); border-radius: 14px; background: var(--white); cursor: pointer; font-weight: 700; text-align: center; }
.drop-zone:hover { border-color: var(--ink); }
.drop-zone small { display: block; font-weight: 400; font-size: 12.5px; color: var(--mute); margin: 4px 0 10px; }
.drop-zone input { max-width: 100%; }
@media (max-width: 760px) { .img-pro { grid-template-columns: 1fr; } }

/* ---------- skener a pokladna: vlastní lišta, klidný vzhled ---------- */
.staff-body .topbar, .staff-body .foot, .staff-body footer.site-foot { display: none; }
.staff-body { background: var(--paper); }
.staff-bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px max(14px, var(--pad)); background: var(--ink); color: var(--paper); }
.staff-bar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sb-back { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: inherit; flex: none; }
.sb-back:hover { background: rgba(255,255,255,.12); }
.sb-ev { min-width: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.sb-ev strong { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-ev small { font-size: 12.5px; opacity: .7; }
.sb-tabs { display: flex; background: rgba(255,255,255,.1); border-radius: 999px; padding: 3px; flex: none; }
.sb-tabs a { display: flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; color: inherit; text-decoration: none; font-weight: 600; font-size: 14px; opacity: .75; }
.sb-tabs a.on { background: var(--paper); color: var(--ink); opacity: 1; }
.sb-tabs svg { width: 18px; height: 18px; }
.sb-count { flex: none; display: grid; grid-template-columns: auto; justify-items: end; gap: 2px; min-width: 76px; }
.sb-count > span { font-size: 20px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.sb-count > span span { opacity: .6; font-weight: 600; }
.sb-count small { font-size: 11px; opacity: .65; }
.sb-bar { display: block; width: 76px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); overflow: hidden; }
.sb-bar i { display: block; height: 100%; background: #3ccf6e; border-radius: 4px; transition: width .4s; }
@media (max-width: 640px) {
  .staff-bar { gap: 8px; padding: 8px 10px; flex-wrap: wrap; }
  .sb-ev { order: 1; }
  .sb-count { order: 2; }
  .sb-back { order: 0; width: 34px; height: 34px; }
  .sb-tabs { order: 3; width: 100%; }
  .sb-tabs a { flex: 1; justify-content: center; }
}

.scan { max-width: 600px; padding: 14px 14px 48px; }
.scan-cam { border: 0; border-radius: 18px; min-height: 0; aspect-ratio: 1 / 1; max-height: 62vh; width: 100%; }
.scan-cam #reader { position: absolute; inset: 0; }
.scan-cam #reader video { width: 100% !important; height: 100% !important; object-fit: cover; }
.scan-idle { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255,255,255,.7); text-align: center; padding: 20px; }
.scan-idle .btn { display: inline-flex; align-items: center; gap: 10px; }
.scan-idle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.scan-idle.is-loading .btn { opacity: .6; pointer-events: none; }
.scan-idle.is-loading .btn::after { content: '…'; }
.scan-tools { position: absolute; z-index: 3; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 8px; }
.sc-tool { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; cursor: pointer; }
.sc-tool svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sc-tool.on { background: #ffd54a; color: #111; }
.sc-tool.off { opacity: .55; }
.sc-tool.off svg path:last-child { stroke-dasharray: 2 3; }

.scan-manual { position: relative; margin: 14px 0 0; }
.scan-manual svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; fill: none; stroke: var(--mute); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.scan-manual input { width: 100%; min-height: 54px; padding-left: 46px !important; font-size: 17px !important; background: var(--white) !important; box-sizing: border-box; }
.scan-list { border-radius: 14px; overflow: hidden auto; margin-top: 8px; }
.scan-list .sl-row { width: 100%; text-align: left; background: none; border: 0; border-bottom: var(--thin); font: inherit; color: inherit; cursor: pointer; min-height: 60px; }
.scan-list .sl-row:hover:not(:disabled) { background: var(--paper2); }
.scan-list .sl-row span small { display: block; color: var(--mute); margin-top: 2px; }
.scan-list .sl-row em { font-style: normal; font-weight: 700; white-space: nowrap; }
.scan-list .sl-go { background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 999px; font-size: 14px; }
.scan-list .sl-row:disabled { cursor: default; }

.scan-log { margin-top: 18px; }
.scan-log h2 { font-size: 13px; font-weight: 700; color: var(--mute); margin: 0 0 6px; text-transform: none; letter-spacing: 0; }
.scan-log ul { list-style: none; margin: 0; padding: 0; background: var(--white); border: var(--thin); border-radius: 14px; overflow: hidden; }
.scan-log li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: var(--thin); cursor: pointer; }
.scan-log li:last-child { border-bottom: 0; }
.scan-log li > i { width: 10px; height: 10px; border-radius: 50%; flex: none; background: #b91c1c; }
.scan-log li.is-ok > i { background: #1f9d4c; }
.scan-log li.is-warn > i { background: var(--accent); }
.scan-log li span { flex: 1; min-width: 0; }
.scan-log li strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scan-log li small { color: var(--mute); font-size: 12.5px; }
.scan-log time { font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; }
.scan-share { margin-top: 18px; border-radius: 14px; }

/* výsledek skenu přes celou obrazovku, čitelný na délku paže */
.scan-result { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.35); color: #fff; overflow-y: auto; }
.scan-result[hidden] { display: none; }
.sr-card { position: relative; width: 100%; max-width: 460px; border-radius: 24px; padding: 28px 22px 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.35); max-height: calc(100dvh - 32px); overflow-y: auto; }
.scan-result.is-ok .sr-card { background: #157a3a; }
.scan-result.is-warn .sr-card { background: #f2a31b; color: #1b1300; }
.scan-result.is-bad .sr-card { background: #b91c1c; }
.sr-icon { width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; font-size: 0; }
.sr-icon svg { width: 52px; height: 52px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sr-title { font-family: var(--sans); text-transform: none; font-weight: 800; font-size: clamp(28px, 8vw, 38px); line-height: 1.1; letter-spacing: -.01em; }
.sr-info { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 16px; }
.sr-info strong { font-size: 24px; }
.sr-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.sr-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.2); font-weight: 600; }
.sr-chip i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; }
.sr-seat { font-size: 20px; font-weight: 800; padding: 6px 16px; background: rgba(255,255,255,.92); color: #111; }
.sr-group { opacity: .85; font-size: 14.5px; }
.sr-act { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.sr-act:empty { display: none; }
.sr-pay { background: rgba(255,255,255,.28); border-radius: 16px; padding: 12px; }
.sr-pay p { margin: 0 0 10px; font-size: 16px; }
.sr-pay strong { font-size: 22px; }
.sr-pay-all { background: rgba(0,0,0,.08); }
.sr-pay-all p { font-size: 14.5px; }
.sr-pay-all strong { font-size: 16px; }
.sr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sr-card .btn { background: #fff; color: #111; border-color: #fff; }
.sr-card .sr-main { min-height: 58px; font-size: 19px; }
.sr-card .sr-sec { background: transparent; color: inherit; border-color: currentColor; }
.sr-link { background: none; border: 0; color: inherit; text-decoration: underline; font: inherit; cursor: pointer; opacity: .9; }
.sr-next { width: 100%; min-height: 52px; border-radius: 999px; border: 2px solid currentColor; background: transparent; color: inherit; font: 700 17px var(--sans); cursor: pointer; margin-top: 4px; }
.sr-timer { position: absolute; left: 0; bottom: 0; height: 5px; width: 0; background: rgba(255,255,255,.7); }

/* plánek sálu: vyplní obrazovku, lupa u velkých sálů */
#seatpicker { position: relative; }
.sp-scroll { overflow: auto; overscroll-behavior: contain; }
.sp-scroll.is-zoomed { border: var(--thin); border-radius: 12px; background: var(--paper); cursor: grab; }
.hall-fit { margin: 0 auto; }
.sp-scroll.is-zoomed .hall-fit { margin: 0; }
.sp-zoom { position: sticky; top: 8px; z-index: 5; float: right; display: flex; gap: 4px; margin: 0 0 -44px; padding: 4px; background: var(--white); border: var(--thin); border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.sp-zoom[hidden] { display: none; }
.sp-zoom button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.sp-zoom button:hover:not(:disabled) { background: var(--paper2); }
.sp-zoom button:disabled { opacity: .3; cursor: default; }
.sp-zoom svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sp-small .sp-seat { cursor: zoom-in; }

/* pokladna – klidnější a s méně klikáním */
.bo { padding-top: 14px; }
.bo-head { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 14px; }
.bo-seg { display: flex; background: var(--white); border: var(--thin); border-radius: 999px; padding: 3px; }
.bo-seg a { padding: 8px 18px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.bo-seg a.on { background: var(--ink); color: var(--paper); }
.bo-seg small { background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 99px; }
.bo-sum { margin: 0; flex: 1; color: var(--mute); font-size: 14.5px; }
.bo-sum strong { color: var(--ink); }
.bo-gear { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 999px; }
.bo-gear:hover { background: var(--white); }
.bo-gear svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }

.bo-sold { margin: 0 0 14px; background: #157a3a; color: #fff; border: 0; border-radius: 16px; padding: 12px 14px; gap: 14px; flex-wrap: nowrap; animation: boIn .25s ease-out; }
@keyframes boIn { from { transform: translateY(-8px); opacity: 0; } }
.bo-sold-ico { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; flex: none; }
.bo-sold-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.bo-sold-txt { flex: 1; min-width: 0; }
.bo-sold-title { font-family: var(--sans); text-transform: none; font-size: 20px; font-weight: 800; }
.bo-sold-txt p:last-child { opacity: .9; font-size: 14.5px; }
.bo-sold .btn { background: #fff; color: #111; border-color: #fff; }
.bo-sold .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.bo-x { background: none; border: 0; color: inherit; font-size: 18px; cursor: pointer; padding: 6px 8px; opacity: .8; }
@media (max-width: 640px) { .bo-sold { flex-wrap: wrap; } .bo-sold-act { width: 100%; } .bo-sold-act .btn { flex: 1; } }

.bo-sell { grid-template-columns: minmax(0, 1fr) 340px; }
.bo .card { border: var(--thin); border-radius: 18px; background: var(--white); box-shadow: none; }
.bo-pick { padding: 16px; }
.bo-qty .qty-row { cursor: pointer; border-radius: 12px; padding: 14px 10px; margin: 0 -10px; transition: background .1s; }
.bo-qty .qty-row:hover { background: var(--paper2); }
.bo-qty .qty-row.is-out { cursor: default; opacity: .5; }
.bo-qty .qty-row strong { font-size: 18px; }
.bo-pay { gap: 12px; padding: 16px; }
.bo-cart { list-style: none; margin: 0; padding: 0 0 10px; border-bottom: var(--thin); display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.bo-cart li { display: flex; justify-content: space-between; gap: 10px; }
.bo-cart li.muted { font-size: 14px; }
.bo-cart small { display: block; color: var(--mute); font-size: 12.5px; }
.bo-cart b { white-space: nowrap; }
.bo-total { display: flex; justify-content: space-between; align-items: baseline; }
.bo-total span { font-weight: 600; font-size: 15px; letter-spacing: 0; text-transform: none; }
.bo-total strong { font-family: var(--sans); font-size: 36px; font-weight: 800; text-transform: none; font-variant-numeric: tabular-nums; }
.bo-method span { min-height: 50px; font-size: 17px; border: var(--thin); border-width: 2px; }
.bo-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 8px; }
.bo-quick:empty { display: none; }
.bo-bill { min-height: 42px; border: var(--thin); border-radius: 10px; background: var(--paper); font: 600 14px var(--sans); cursor: pointer; white-space: nowrap; padding: 0 4px; }
.bo-bill:hover { border-color: var(--ink); }
.bo-bill.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bo-given { font-size: 14px; color: var(--mute); }
.bo-given input { min-height: 42px; font-size: 18px; border: var(--thin); }
.bo-change { margin: 8px 0 0; padding: 10px 12px; background: var(--paper); border-radius: 10px; }
.bo-change[hidden] { display: none; }
.bo-change strong { font-size: 24px; }
.bo-opts { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: 14px; }
.bo-opts .check { margin: 0; }
.bo-who { width: 100%; }
.bo-who summary { font-size: 14px; color: var(--mute); }
.bo-res { padding: 16px; }
.bo-search input { border: var(--thin); border-width: 2px; min-height: 52px; font-size: 17px; }
.bo-bottom .card { padding: 16px; }
.bo-recent h2, .bo-printer h2 { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 16px; font-weight: 700; }
.bo-mbar { display: none; }
@media (max-width: 900px) {
  .bo-sell, .bo-bottom { grid-template-columns: 1fr; }
  .bo-pay { position: static; }
  .bo-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: var(--thin); box-shadow: 0 -6px 20px rgba(0,0,0,.08); }
  .bo-mbar small { display: block; font-size: 12px; color: var(--mute); }
  .bo-mbar strong { font-size: 22px; }
  .bo-mbar .btn { min-width: 150px; }
  .bo-body .bo { padding-bottom: 90px; }
}
.bo-pay { top: 76px; }
.bo .table-wrap { border: var(--thin); border-radius: 12px; overflow: hidden; } .bo .table-wrap .table { border: 0; }
.scan-list { border: var(--thin); }
.scan-list .sl-row em { font-family: var(--sans); color: var(--mute); }
.scan-list .sl-row em.sl-go { color: var(--paper); }
.scan-list .sl-row.is-inside { opacity: .6; }
.scan-share { border: var(--thin); background: var(--white); }

/* Vstup a pokladna (administrace akce) */
.door-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.door-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--ink); color: var(--paper); border-radius: 18px; text-decoration: none; transition: transform .12s; }
.door-card:hover { transform: translateY(-2px); }
.door-card strong { font-size: 20px; }
.door-card small { opacity: .75; font-size: 14px; }
.door-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; margin-bottom: 6px; }
.door-ico svg { width: 26px; height: 26px; }
.door-pin-row { display: flex; gap: 8px; margin-top: 6px; }
.door-pin-row input { max-width: 180px; font: 700 20px var(--sans) !important; letter-spacing: .15em; }
.aw-hint { background: var(--paper2); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.aw-done[hidden] { display: none; }
@media (max-width: 640px) { .door-open { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .bo-head { gap: 8px; }
  .bo-sum { order: 3; flex-basis: 100%; font-size: 13.5px; }
  .bo-gear span { display: none; }
  .bo-gear { margin-left: auto; }
}
.sp-zoom { position: absolute; top: 6px; right: 6px; float: none; margin: 0; }

/* stránka akce: nejdřív informace, pak tlačítko, výběr vstupenek až po kliknutí */
.ev-layout, .ev-layout.is-seated { grid-template-columns: minmax(0, 1fr); }
.ev-main { max-width: 900px; }
.ev-layout:not(.is-seated) .booking { position: static; max-width: 640px; }
.booking.is-collapsed { display: none; }
.booking:not(.is-collapsed) { animation: bookIn .3s ease-out; }
@keyframes bookIn { from { opacity: 0; transform: translateY(12px); } }
.ev-info-top { margin: 28px 0 0; padding: 0; border: 0; }
.ev-info-top .ev-desc { max-width: 68ch; font-size: 17px; line-height: 1.6; }
.ev-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-top: 32px; padding: 20px 22px; background: var(--ink); color: var(--paper); border-radius: 20px; }
.ev-cta[hidden] { display: none; }
.ev-cta-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ev-cta-txt strong { font-size: 24px; color: var(--accent); }
.ev-cta-txt span { font-size: 14.5px; opacity: .75; }
.ev-cta-btn { min-width: 240px; font-size: 19px; }
@media (max-width: 600px) { .ev-cta-btn { width: 100%; min-width: 0; } .ev-cta { padding: 18px; } }
.buy-bar { box-shadow: 0 -6px 20px rgba(0,0,0,.06); border-top: var(--thin); }
.buy-bar.is-hidden { transform: translateY(110%); }
.buy-bar strong { display: block; font-size: 16px; }
.buy-bar small { color: var(--mute); font-size: 13px; }
.buy-head { max-width: none; }
.buy-back { display: inline-block; font-weight: 600; text-decoration: none; color: var(--mute); margin-bottom: 14px; }
.buy-back:hover { color: var(--ink); }
.buy-ev { display: flex; align-items: center; gap: 16px; }
.buy-ev img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; flex: none; }
.buy-title { font-family: var(--sans); text-transform: none; letter-spacing: -.01em; font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; line-height: 1.1; margin: 0 0 4px; }
.buy-ev p { margin: 0; color: var(--mute); }
.event-page .ev-layout:has(.buy-head) { padding-top: 20px; gap: 22px; }
.ev-layout:not(.is-seated) .booking { max-width: 680px; }

.ev-cta .ev-cta-btn { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.ev-cta .ev-cta-btn:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.event-page .ev-layout:has(.buy-head) { grid-template-columns: minmax(0, 1fr); }
.ev-layout, .ev-layout.is-seated { grid-template-areas: none; } .ev-layout > * { grid-area: auto !important; }
/* tlačítko nákupu na stránce akce: oranžové s černým stínem (vede na stránku nákupu) */
.ev-layout .ev-buy, .ev-layout:not(.is-seated) .ev-buy { display: flex; margin-top: 30px; }
.ev-buy.is-out { background: var(--white); box-shadow: 6px 6px 0 var(--ink); }
/* předprodej na kód */
.ev-presale { display: flex; flex-direction: column; align-items: stretch; gap: 14px; max-width: 560px; margin-top: 30px; padding: 20px 22px; background: var(--white); color: var(--ink); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--ink); }
.ev-presale .ev-cta-txt strong { color: var(--ink); font-family: var(--display); font-weight: 900; font-size: 28px; text-transform: uppercase; line-height: 1; }
.ev-presale .ev-cta-txt span { opacity: 1; color: var(--mute); }
.presale-row { display: flex; gap: 10px; }
.presale-row input { flex: 1; min-width: 0; min-height: 54px; font: 700 20px var(--sans); letter-spacing: .08em; text-transform: uppercase; border: 2px solid var(--ink); border-radius: 12px; padding: 0 14px; background: var(--paper); }
.presale-row .ev-cta-btn { min-width: 0; background: var(--accent); color: var(--ink); border: 2px solid var(--ink); }
.presale-err { margin: 0; color: #b91c1c; font-weight: 600; }
@media (max-width: 480px) { .presale-row { flex-direction: column; } }
.presale-set { margin-top: 18px; } .presale-fields[hidden] { display: none; } .aw-hint code { word-break: break-all; font-size: 13px; }
.ev-presale { box-sizing: border-box; width: 100%; min-width: 0; }
.ev-presale * { box-sizing: border-box; }
@media (max-width: 480px) {
  .presale-row input { flex: none; width: 100%; }
  .presale-row .ev-cta-btn { width: 100%; }
  .ev-presale .ev-cta-txt strong { font-size: 22px; }
  .ev-presale { padding: 18px; }
}

/* zálohy a bezpečnost */
.sec-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sec-list li { display: flex; gap: 12px; align-items: flex-start; }
.sec-list i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 14px; background: #1f9d4c; color: #fff; }
.sec-list li.is-bad i { background: var(--accent); color: var(--ink); }
.sec-list small { display: block; color: var(--mute); font-size: 13px; margin-top: 2px; }
/* cena na místě */
.cat-row > .door-field { display: none; grid-column: 2 / 4; grid-row: 4; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.has-door .cat-row > .door-field { display: flex; }
.cat-row > .door-field .unit { flex: 1; max-width: 160px; }
.door-set { margin-top: 10px; }
.door-note { display: block; font-size: 13px; font-weight: 600; color: var(--mute); margin-top: 2px; }
.pay-wait { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 600; font-size: 14.5px; }
.pay-wait i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: payPulse 1.2s ease-in-out infinite; }
.pay-wait.is-done i { background: #1f9d4c; animation: none; }
@keyframes payPulse { 50% { opacity: .25; transform: scale(.7); } }

/* dvoufázové přihlášení */
.twofa-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 10px; }
.twofa-qr svg { width: 200px; height: 200px; display: block; border: var(--thin); border-radius: 12px; padding: 8px; background: #fff; box-sizing: border-box; }
.twofa-key { display: inline-block; font-size: 15px; letter-spacing: .05em; padding: 2px 8px; background: var(--paper2); border-radius: 6px; word-break: break-all; }
.twofa-confirm { display: flex; gap: 8px; margin-top: 8px; max-width: 340px; }
.twofa-confirm input { flex: 1; font-size: 22px !important; letter-spacing: .15em; text-align: center; }
.twofa-state { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.twofa-state i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #1f9d4c; color: #fff; font-style: normal; }
.twofa-codes .codes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; font: 700 18px ui-monospace, Menlo, monospace; }
.twofa-codes .codes li { padding: 10px; background: var(--paper2); border-radius: 8px; text-align: center; }
@media (max-width: 640px) { .twofa-grid { grid-template-columns: 1fr; } .twofa-codes .codes { grid-template-columns: repeat(2, 1fr); } }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.card-head h2 { margin: 0; }
.hide-notice { display: inline; margin-left: 8px; }
.linkish { background: none; border: 0; padding: 0; color: var(--mute); text-decoration: underline; font: inherit; font-size: 13px; cursor: pointer; }
.o-delete { margin-top: 6px; }
.o-delete .btn { color: #b91c1c; }
.refund-due { flex-wrap: wrap; }
.refund-qr { flex: none; width: 116px; height: 116px; background: #fff; border-radius: 8px; padding: 4px; box-sizing: border-box; }
.refund-qr svg { width: 100%; height: 100%; display: block; }
.refund-acc { display: inline-flex; gap: 6px; margin-left: 6px; }
.refund-acc input { padding: 4px 8px; font-size: 13px; }
/* přesunutá akce */
.ev-tag-moved { background: var(--accent); color: var(--ink); }
.moved-note { display: block; color: #b45309; font-weight: 600; }
.moved-box { margin: 0 0 16px; padding: 14px 16px; background: #fff7e6; border: 1.5px solid #d97706; border-radius: 14px; }
.moved-box p { margin: 0 0 6px; }
.moved-box p:last-child { margin-bottom: 0; }
.moved-title { font-weight: 800; font-size: 17px; }
.pub-menu .postpone-form { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border-top: var(--thin); border-bottom: var(--thin); margin: 4px 0; }
.pub-menu .postpone-form label { display: flex; flex-direction: column; gap: 3px; font-size: 13px; font-weight: 600; }
.pub-menu .postpone-form input, .pub-menu .postpone-form select { font: inherit; font-size: 14px; padding: 6px 8px; border: var(--thin); border-radius: 8px; }
.pm-title { margin: 0; font-weight: 800; }
.pub-menu .postpone-form button { background: var(--ink); color: var(--paper); border-radius: 999px; padding: 8px 12px; text-align: center; font-weight: 700; }
.pub-menu .postpone-form button:hover { background: #333; }

/* ---------- zlevněné vstupenky ---------- */
.red-set .red-cfg { display: grid; gap: 8px; margin-top: 12px; }
.red-cfg-row { display: grid; grid-template-columns: auto minmax(0, 1.2fr) auto minmax(0, 1.4fr); gap: 8px; align-items: center; padding: 8px 10px; border: 1.5px solid var(--line, #d8d4cc); border-radius: 12px; opacity: .55; transition: opacity .15s; }
.red-cfg-row.is-on { opacity: 1; border-color: var(--ink); background: var(--paper, #fff); }
.red-cfg-row input:not([type=checkbox]), .red-cfg-row select { margin: 0; min-width: 0; }
.red-cfg-on input { width: 20px; height: 20px; }
.red-cfg-val { display: flex; align-items: center; gap: 4px; }
.red-cfg-val input { width: 62px; text-align: right; }
.red-cfg-val select { width: auto; }
.red-minus { font-weight: 700; }
.red-cfg-proof { display: flex; align-items: center; gap: 6px; margin: 0; }
.red-cfg-proof span { font-size: 12px; color: var(--muted, #6b665e); white-space: nowrap; }
@media (max-width: 640px) {
  .red-cfg-row { grid-template-columns: auto 1fr auto; }
  .red-cfg-proof { grid-column: 2 / -1; }
}
.red-box { margin-top: 14px; padding: 12px 14px; border: 2px dashed var(--ink); border-radius: 14px; background: rgba(255, 196, 0, .08); }
.red-head { margin: 0 0 6px; font-weight: 700; }
.red-head small { display: block; font-weight: 400; color: var(--muted, #6b665e); font-size: 13px; }
.red-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(0, 0, 0, .08); }
.red-row:first-of-type { border-top: 0; }
.red-off { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--ink); color: var(--paper, #fff); font-size: 12px; font-weight: 700; }
.red-proof { color: #8a5a00; }
.red-row .stepper button:disabled { opacity: .3; cursor: default; }
.bo-red { margin: 0 0 12px; }
.bo-cart li.bo-off b { color: #1a7f37; }
.proof-box { margin: 0 0 16px; padding: 14px 16px; border: 1.5px solid #e0a800; border-radius: 14px; background: #fff8e1; }
.proof-box p { margin: 4px 0 0; }
.sr-proof { display: grid; gap: 2px; margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: #ffd24a; color: #1a1400; text-align: left; }
.sr-proof b { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.sr-proof span { font-size: 20px; line-height: 1.2; }
.sr-proof small { font-size: 14px; opacity: .8; }
.sr-proof-soft { background: rgba(255, 210, 74, .35); }
.sr-proof-note { margin: 6px 0 0; font-weight: 700; color: #8a5a00; text-align: center; }
.red-cfg-row .red-cfg-val input { width: 64px; flex: none; }
.red-cfg-row .red-cfg-val select { width: 64px; flex: none; padding-right: 22px; }
.red-cfg-row { grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1.2fr); }
.red-cfg-proof { flex-direction: column; align-items: stretch; gap: 2px; }
.scan-result .sr-proof-note { color: #ffd24a; }
.bo-red .red-row { display: grid; grid-template-columns: 1fr auto; }
.bo-red .red-row .stepper { transform: scale(.88); transform-origin: right center; }
.bo-red .red-proof { font-size: 12px; }
.form .red-cfg-row input:not([type=checkbox]), .form .red-cfg-row select { margin-top: 0 !important; min-height: 42px !important; padding: 8px 12px !important; }
.form .red-cfg-row .red-cfg-val input { width: 70px !important; text-align: right; }
.form .red-cfg-row .red-cfg-val select { width: 72px !important; padding-right: 26px !important; }
.form .red-stepper input { pointer-events: auto; }
.form .red-cfg-row .red-cfg-val select { width: 84px !important; padding-left: 12px !important; }
@media (max-width: 640px) {
  .red-cfg-row { grid-template-columns: auto minmax(0, 1fr); }
  .red-cfg-row > input, .red-cfg-val, .red-cfg-proof { grid-column: 2; }
}

/* ---------- krok Vstupenky: přehlednější kategorie a slevy ---------- */
.tk-block { margin-top: 26px; padding-top: 22px; border-top: var(--thin); }
.tk-block:first-of-type { border-top: 0; padding-top: 0; }
.tk-block > .aw-sub { margin-top: 0; }
.tk-block > p.muted { margin: 4px 0 12px; }
.cat-list { gap: 10px; }
.cat-card { border: 1.5px solid var(--ink); border-radius: 16px; padding: 12px 14px 14px; background: var(--white, #fff); transition: opacity .15s; }
.cat-card.is-deleted { opacity: .45; }
.cat-card.is-deleted .cc-name { text-decoration: line-through; }
.cc-head { display: flex; align-items: center; gap: 10px; }
.form .cc-head input[type=color] { flex: none; width: 36px; height: 36px; padding: 0; border: 1.5px solid var(--ink); border-radius: 10px; background: none; cursor: pointer; }
.form .cc-head .cc-name { flex: 1; margin: 0 !important; min-height: 40px !important; padding: 6px 2px !important; border: 0 !important; border-bottom: 1.5px dashed transparent !important; border-radius: 0 !important; background: transparent !important; font-size: 18px; font-weight: 700; box-shadow: none !important; }
.form .cc-head .cc-name:hover, .form .cc-head .cc-name:focus { border-bottom-color: var(--ink) !important; }
.cc-del { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 0; border-radius: 999px; background: none; color: var(--mute, #6b665e); font: inherit; font-size: 13px; cursor: pointer; }
.cc-del:hover { background: var(--paper2, #ece9e2); color: #b42318; }
.cc-del input { width: 16px; height: 16px; margin: 0; }
.cc-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 10px; margin-top: 10px; }
.cc-f { display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--mute, #6b665e); }
.cc-f span i { font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; opacity: .8; }
.form .cc-f input:not([type=checkbox]), .form .cc-f select { margin-top: 0 !important; min-height: 42px !important; padding: 8px 12px !important; font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 400; }
.form .cc-f .unit input { padding-right: 34px !important; }
.cc-early { display: none; }
.has-early .cc-early { display: flex; }
.cc-door input::placeholder, .cc-early input::placeholder { color: #a8a39a; }

.red-cfg { display: grid; gap: 8px; }
.red-cfg-row { display: block; padding: 0; border: 1.5px solid var(--line, #d8d4cc); border-radius: 14px; opacity: 1; background: none; }
.red-cfg-row.is-on { border-color: var(--ink); background: var(--white, #fff); }
.red-cfg-on { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: 0; cursor: pointer; }
.red-cfg-on input { flex: none; width: 20px; height: 20px; margin: 0; }
.red-cfg-title { font-weight: 700; }
.red-cfg-sum { margin-left: auto; font-size: 13px; color: var(--mute, #6b665e); text-align: right; }
.red-cfg-body { display: none; grid-template-columns: minmax(0, 1.2fr) 150px minmax(0, 1.4fr); gap: 10px; padding: 0 14px 14px 46px; }
.red-cfg-row.is-on .red-cfg-body { display: grid; }
.red-val-in { display: flex; gap: 6px; }
.form .red-val-in input { width: 70px !important; text-align: right; }
.form .red-val-in select { width: 74px !important; padding-right: 24px !important; }
@media (max-width: 640px) {
  .red-cfg-body { grid-template-columns: 1fr; padding-left: 14px; }
  .red-cfg-sum { display: none; }
  .cc-fields { grid-template-columns: 1fr 1fr; }
}
.form .cc-f { display: flex; margin: 0; font-size: 12px; font-weight: 700; }
.form .cc-del { display: inline-flex; margin: 0; font-weight: 400; }
.cat-list:not(.has-early) .cc-early { display: none !important; }
.red-cfg-row { border: 1.5px solid #d3cec4; }
.red-cfg-row.is-on { border-color: var(--ink); }
.form .red-cfg-on { display: flex; align-items: center; margin: 0; font-weight: 400; }
.form .red-cfg-on input { margin: 0; }
.red-cfg-row:not(.is-on):hover { border-color: var(--ink); }

/* zlevněné vstupenky jako samostatné řádky */
.qty-row.qty-red { padding-left: 22px; position: relative; }
.qty-row.qty-red::before { content: ''; position: absolute; left: 6px; top: 0; bottom: 50%; width: 10px; border-left: 1.5px solid #c9c3b8; border-bottom: 1.5px solid #c9c3b8; border-bottom-left-radius: 8px; }
.qty-row.qty-red .qty-name, .qty-row.qty-red strong { font-weight: 600; }
.qty-proof { display: inline-block; margin-top: 2px; padding: 1px 8px; border-radius: 999px; background: #fff1c2; color: #6b4a00; font-size: 12px; font-weight: 600; }
.chip.chip-red { display: inline-flex; align-items: center; gap: 6px; padding: 4px 4px 4px 10px; cursor: default; }
.chip-red select { margin: 0 !important; min-height: 0 !important; height: 30px; padding: 0 26px 0 10px !important; border: 1.5px solid var(--ink) !important; border-radius: 999px !important; font-size: 13px; width: auto !important; background-color: var(--white, #fff); }
.chip-red .chip-x { width: 28px; height: 28px; border: 0; border-radius: 50%; background: none; font-size: 18px; line-height: 1; cursor: pointer; }
.chip-red .chip-x:hover { background: rgba(0, 0, 0, .08); }
.ev-disc { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.ev-disc small { font-size: 13px; }
.cc-red { display: none !important; }
.has-red-stud .cc-red[data-red=stud], .has-red-sen .cc-red[data-red=sen], .has-red-ztp .cc-red[data-red=ztp], .has-red-kid .cc-red[data-red=kid], .has-red-own .cc-red[data-red=own] { display: flex !important; }
.cc-red .cc-red-name { color: #8a5a00; }
.cc-red input::placeholder { color: #b5afa5; font-size: 13px; }
.red-cfg-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.aw-sub small { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--mute, #6b665e); }
.tk-red { margin-top: 14px; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 16px; background: var(--white, #fff); }
.tk-red-head { margin: 0 0 4px; font-weight: 700; }
.tk-red-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 8px 0; border-top: 1px solid rgba(0, 0, 0, .08); }
.tk-red-head + .tk-red-row { border-top: 0; }
.tk-red-l { flex: 1; min-width: 120px; }
.tk-red-l small { color: var(--mute, #6b665e); }
.form .tk-red-sel, .tk-red-sel { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 600; color: var(--mute, #6b665e); }
.form .tk-red-sel select, .tk-red-sel select { margin: 0 !important; min-height: 40px !important; padding: 6px 30px 6px 12px !important; width: auto !important; min-width: 190px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 14px; color: var(--ink); background-color: var(--white, #fff); }
.tk-red-row .qty-proof { flex-basis: 100%; width: fit-content; }
.tk-red-row .qty-proof { display: block; flex-basis: 100%; padding: 0; background: none; color: #8a5a00; font-weight: 600; }
.tk-red-row .qty-proof::before { content: '⚠ '; }
.red-cfg-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.red-prices { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding-top: 10px; border-top: 1px dashed #d3cec4; }
.red-price-cat { color: #8a5a00 !important; }
.red-warn { grid-column: 1 / -1; margin: 0; padding: 8px 12px; border-radius: 10px; background: #fff1c2; color: #6b4a00; font-size: 13px; font-weight: 600; }
.red-prices-head { grid-column: 1 / -1; margin: 0; font-size: 14px; font-weight: 700; }
.abo-box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; margin-bottom: 16px; border: 2px solid var(--ink); }
.abo-box h3 { margin: 0 0 4px; }
.abo-box p { margin: 0; max-width: 60ch; }
.abo-act { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.abo-act form { margin: 0; }
