/* =========================================================================
   Rezervační systém – vzhled v6
   Písmo: Fraunces (nadpisy) + Manrope (text), uloženo lokálně (GDPR), licence OFL.
   Barvy jsou tokeny; tmavý režim podle systému.
   ========================================================================= */

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
	src: url("../fonts/manrope-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
	src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
	src: url("../fonts/fraunces-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
	src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--bg: #f7f4ef;
	--surface: #ffffff;
	--surface-2: #fbf9f5;
	--surface-3: #f2ede5;
	--ink: #1c1d1f;
	--ink-2: #3a3936;
	--muted: #6e6862;
	--line: #ebe4d9;
	--brand: #1d5e4f;
	--brand-strong: #144437;
	--brand-ink: #ffffff;
	--brand-soft: #e3eee8;
	--accent: #cf7436;
	--accent-soft: #fbeadc;
	--danger: #b42318;
	--danger-soft: #fdecea;
	--ok: #1e7a3c;
	--ok-soft: #e5f3e9;
	--warn: #94560a;
	--warn-soft: #fcf1de;
	--radius: 18px;
	--radius-sm: 12px;
	--shadow-sm: 0 1px 2px rgba(41, 33, 22, .05);
	--shadow: 0 1px 2px rgba(41, 33, 22, .04), 0 8px 28px rgba(41, 33, 22, .06);
	--shadow-lg: 0 2px 6px rgba(41, 33, 22, .05), 0 28px 60px rgba(41, 33, 22, .14);
	--font: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root {
		--bg: #111312;
		--surface: #191c1b;
		--surface-2: #161918;
		--surface-3: #20241f;
		--ink: #eceae6;
		--ink-2: #d2cfc9;
		--muted: #a19b93;
		--line: #2b2f2c;
		--brand: #5cbfa3;
		--brand-strong: #7dd3ba;
		--brand-ink: #0b1714;
		--brand-soft: #1a2e28;
		--accent: #f0a167;
		--accent-soft: #35261b;
		--danger: #f28b82;
		--danger-soft: #3a1f1d;
		--ok: #7fd18f;
		--ok-soft: #1c3223;
		--warn: #f2c06b;
		--warn-soft: #362b17;
		--shadow-sm: none;
		--shadow: 0 1px 0 rgba(255, 255, 255, .03);
		--shadow-lg: 0 28px 60px rgba(0, 0, 0, .55);
		color-scheme: dark;
	}
}

/* ---------- základ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0; background: var(--bg); color: var(--ink);
	font: 16px/1.6 var(--font); font-feature-settings: "ss01"; -webkit-font-smoothing: antialiased;
	display: flex; flex-direction: column; min-height: 100vh;
}
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-strong); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; font-variation-settings: "SOFT" 50, "WONK" 0; }
h1 { font-size: clamp(28px, 3.4vw, 38px); }
h2 { font-size: 22px; }
h3 { font-size: 16px; font-weight: 750; }
h4 { font-size: 16px; font-weight: 700; }
p { margin: 0 0 1em; }
img { max-width: 100%; }
code { font: 13px/1.4 ui-monospace, Consolas, monospace; background: var(--surface-3); padding: 1px 6px; border-radius: 6px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; border-radius: 8px; }
.ic { flex: none; vertical-align: -3px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: .92em; }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ok { color: var(--ok); }
.warn { color: var(--warn); }
.eyebrow {
	display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px;
	font-size: 12px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--brand);
}

/* ---------- testovací provoz */
.test-banner {
	background: var(--warn-soft); color: var(--warn); text-align: center; font-size: 13px; line-height: 1.4;
	padding: 7px 16px; border-bottom: 1px solid color-mix(in srgb, var(--warn) 25%, transparent);
}
.test-banner strong { font-weight: 800; }

/* ---------- hlavička (veřejná + mobilní administrace) */
.top {
	position: sticky; top: 0; z-index: 30;
	background: color-mix(in srgb, var(--bg) 82%, transparent);
	backdrop-filter: saturate(1.5) blur(12px); -webkit-backdrop-filter: saturate(1.5) blur(12px);
	border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text small { font-size: 12px; color: var(--muted); font-weight: 600; }
.logo-mark {
	flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
	background: radial-gradient(120% 120% at 20% 10%, color-mix(in srgb, var(--brand) 70%, #fff) 0%, var(--brand) 55%, var(--brand-strong) 100%);
	color: var(--brand-ink); font-family: var(--font-display); font-weight: 700; font-size: 21px;
	box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12);
}
.logo-lg { width: 56px; height: 56px; font-size: 28px; border-radius: 16px; margin-bottom: 16px; }

.nav-desktop { display: flex; align-items: center; gap: 2px; }
.nav-desktop a, .nav-mobile nav a {
	display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-2);
	font-size: 15px; font-weight: 600; padding: 8px 14px; border-radius: 10px; white-space: nowrap;
}
.nav-desktop a:hover, .nav-mobile nav a:hover { background: var(--surface-3); color: var(--ink); }
.nav-desktop a.btn { margin-left: 8px; color: var(--brand-ink); padding: 10px 18px; }
.nav-desktop a.btn:hover { background: var(--brand-strong); color: var(--brand-ink); }
.nav-quiet { color: var(--muted) !important; }

.nav-mobile { display: none; position: relative; }
.nav-mobile summary {
	list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
	display: grid; align-content: center; justify-items: center; gap: 4px; background: var(--surface);
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-mobile[open] summary span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-mobile[open] summary span:nth-child(2) { opacity: 0; }
.nav-mobile[open] summary span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-mobile nav {
	position: absolute; right: 0; top: 54px; width: min(300px, calc(100vw - 24px)); max-height: calc(100vh - 140px); overflow-y: auto;
	padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
	display: flex; flex-direction: column; gap: 2px;
}
.nav-mobile nav a.active { background: var(--brand-soft); color: var(--brand); }
.nav-mobile nav a.btn { justify-content: center; margin-top: 6px; color: var(--brand-ink); }

/* ---------- administrace: postranní panel */
.shell { flex: 1; display: block; }
.sidebar { display: none; }
.nav-group { margin: 18px 12px 6px; font-size: 11.5px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.nav-mobile .nav-group { margin: 12px 10px 4px; }
.nav-mobile .nav-group:first-child { margin-top: 4px; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a {
	display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink-2);
	font-size: 14.5px; font-weight: 600; padding: 9px 12px; border-radius: 11px;
}
.side-nav a .ic { color: var(--muted); }
.side-nav a:hover { background: var(--surface-3); color: var(--ink); }
.side-nav a.active { background: var(--brand-soft); color: var(--brand); }
.side-nav a.active .ic { color: var(--brand); }
.side-nav span, .nav-mobile nav a span { overflow: hidden; text-overflow: ellipsis; }
.nav-web { margin-top: 10px; border-top: 1px solid var(--line); border-radius: 0 0 11px 11px !important; padding-top: 14px !important; }
.admin-main { padding: 26px 20px 48px; max-width: 1240px; width: 100%; }
.admin-foot { padding: 18px 20px 26px; font-size: 12.5px; color: var(--muted); }

@media (min-width: 1020px) {
	.is-admin .top { display: none; }
	.shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); }
	.sidebar {
		display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; height: 100vh; overflow-y: auto;
		padding: 22px 14px; background: var(--surface); border-right: 1px solid var(--line);
	}
	.sidebar > .brand { padding: 4px 8px 14px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
	.admin-main { padding: 34px 40px 56px; }
	.admin-foot { padding: 20px 40px 30px; }
}

/* ---------- veřejná část */
.public-main { flex: 1; padding-top: 28px; padding-bottom: 72px; }

/* ---------- patička */
.foot { background: var(--surface); border-top: 1px solid var(--line); font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-top: 40px; padding-bottom: 28px; }
.foot h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.foot-claim { margin-top: 14px; max-width: 340px; }
.foot-line { display: flex; gap: 8px; align-items: center; margin: 0 0 8px; color: var(--ink-2); }
.foot-line .ic { color: var(--brand); }
.foot-line a { color: var(--ink-2); text-decoration: none; }
.foot-line a:hover { color: var(--brand); }
.foot-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot-test { color: var(--warn); font-weight: 650; }

/* ---------- tlačítka */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border: 1px solid var(--line); background: var(--surface); color: var(--ink);
	padding: 11px 18px; border-radius: 12px; font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2;
	cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, box-shadow .15s, transform .05s;
	box-shadow: var(--shadow-sm);
}
.btn:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn-primary {
	background: var(--brand); border-color: var(--brand); color: var(--brand-ink);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 6px 16px color-mix(in srgb, var(--brand) 25%, transparent);
}
.btn-primary:hover { background: var(--brand-strong); border-color: var(--brand-strong); color: var(--brand-ink); }
.btn-ghost { background: transparent; box-shadow: none; color: var(--brand); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand); }
.btn-danger { background: var(--surface); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, var(--line)); }
.btn-danger:hover { background: var(--danger-soft); color: var(--danger); border-color: var(--danger); }
.btn-sm { padding: 7px 13px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 15px 22px; font-size: 16.5px; border-radius: 14px; }
.btn-block { width: 100%; }

/* ---------- formuláře */
input, select, textarea {
	font: inherit; font-size: 15.5px; color: var(--ink); background: var(--surface);
	padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; width: 100%;
	transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
input:hover, select:hover, textarea:hover { border-color: color-mix(in srgb, var(--ink) 18%, var(--line)); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 15%, transparent); }
textarea { min-height: 96px; resize: vertical; }
input[type=checkbox] { width: 19px; height: 19px; padding: 0; accent-color: var(--brand); flex: none; }
label { display: block; font-size: 14px; font-weight: 650; color: var(--ink); }
label label { display: block; margin: 0 !important; }
label > input, label > select, label > textarea { margin-top: 7px; font-weight: 500; }
.stack-form label { margin-bottom: 16px; }
.stack-form .check, label.check { display: flex; gap: 11px; align-items: flex-start; font-weight: 500; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.stack-form .check input, label.check input { margin-top: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.consents { padding: 14px 16px 2px; margin: 4px 0 18px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.consents .check { margin-bottom: 12px; }
.inline-form { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.inline-form input, .inline-form select { width: auto; min-width: 190px; }
.inline-form label > input, .inline-form label > select { margin-top: 5px; }
.grid-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; align-items: end; }
.errors { color: var(--danger); background: var(--danger-soft); border-radius: var(--radius-sm); padding: 11px 16px 11px 32px; margin: 0 0 16px; font-size: 14px; }
.field-error { display: block; color: var(--danger); font-size: 13px; font-weight: 600; margin-top: 5px; }

/* ---------- zprávy */
.flash { padding: 13px 18px; border-radius: 14px; margin-bottom: 20px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); font-weight: 600; }
.flash-success { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 25%, transparent); color: var(--ok); }
.flash-error { background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 25%, transparent); color: var(--danger); }

/* ---------- karty a obecné bloky */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow); overflow-x: auto; }
.card h2 { font-size: 21px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2 { margin: 0; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; align-items: start; }
.cols > .card { margin-bottom: 0; }
.cols + .card, .card + .cols, .cols + .cols, .tiles + .cols { margin-top: 20px; }
.row-head, .page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.row-head h1, .page-head h1 { margin: 0; }
.section { margin: 72px 0; }
.section-head { margin-bottom: 24px; max-width: 640px; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 6px; }
.section-head .eyebrow { margin-bottom: 8px; }
.count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 8px; border-radius: 99px; background: var(--surface-3); font-family: var(--font); font-size: 12.5px; font-weight: 700; color: var(--muted); vertical-align: 3px; margin-left: 4px; }
.empty { display: flex; flex-direction: column; gap: 4px; padding: 32px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); background: var(--surface-2); }
.empty strong { color: var(--ink); }

/* tabulky */
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th, .tbl td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th { color: var(--muted); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; background: var(--surface-2); }
.tbl thead th:first-child { border-top-left-radius: 10px; }
.tbl thead th:last-child { border-top-right-radius: 10px; }
.tbl tbody tr:hover td { background: color-mix(in srgb, var(--brand) 4%, transparent); }
.tbl .group td { font-weight: 750; background: var(--brand-soft); color: var(--brand); }
.tbl .total td { font-weight: 800; border-top: 2px solid var(--line); }
.tbl tr.doc-first td { border-top: 2px solid var(--line); }

.facts { display: grid; grid-template-columns: 150px 1fr; gap: 9px 16px; margin: 0 0 16px; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; }
.facts.small { grid-template-columns: 96px 1fr; font-size: 14.5px; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.pager, .seg { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; margin-bottom: 16px; flex-wrap: wrap; box-shadow: var(--shadow-sm); }
.pager a, .seg a { text-decoration: none; color: var(--ink-2); padding: 7px 13px; border-radius: 9px; font-size: 14px; font-weight: 700; }
.pager a:hover, .seg a:hover { background: var(--surface-3); color: var(--ink); }
.pager a.active, .seg a.active { background: var(--brand); color: var(--brand-ink); }
.seg { margin-bottom: 0; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 700; white-space: nowrap; background: var(--surface-3); color: var(--muted); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.badge-confirmed, .badge-completed, .badge-eet-sent { background: var(--ok-soft); color: var(--ok); }
.badge-pending_deposit, .badge-cancel_requested, .badge-eet-queued { background: var(--warn-soft); color: var(--warn); }
.badge-no_show, .badge-expired, .badge-cancelled, .badge-eet-error { background: var(--danger-soft); color: var(--danger); }

/* =========================================================================
   Úvodní stránka
   ========================================================================= */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: center;
	padding: clamp(28px, 5vw, 64px); border-radius: 28px;
	background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
	border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55; }
.hero::before { width: 420px; height: 420px; right: -120px; top: -160px; background: color-mix(in srgb, var(--accent) 35%, transparent); }
.hero::after { width: 460px; height: 460px; left: -180px; bottom: -240px; background: color-mix(in srgb, var(--brand) 30%, transparent); }
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 18px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--brand); font-variation-settings: "SOFT" 100, "WONK" 1; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 560px; margin-bottom: 26px; }
.hero-search {
	display: flex; gap: 8px; align-items: center; padding: 8px;
	background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
	max-width: 620px; transition: box-shadow .2s, border-color .2s;
}
.hero-search:focus-within { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 12%, transparent), var(--shadow-lg); }
.hero-search .voice-text { display: flex; gap: 8px; flex: 1; min-width: 0; }
.hero-search input { border: 0; box-shadow: none !important; font-size: 17px; padding: 12px 6px; background: transparent; min-width: 0; }
.hero-search .btn { padding: 13px 24px; border-radius: 14px; }
.examples { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.examples-label { font-size: 13.5px; color: var(--muted); font-weight: 600; margin-right: 2px; }
.example {
	font: inherit; font-size: 13.5px; font-weight: 600; padding: 6px 13px; border-radius: 99px; cursor: pointer;
	background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--line); color: var(--ink-2);
	transition: border-color .15s, color .15s, background .15s;
}
.example:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

.mic {
	flex: none; width: 52px; height: 52px; border-radius: 15px; border: 0; cursor: pointer;
	background: var(--brand-soft); color: var(--brand); display: grid; place-items: center;
	transition: background .15s, color .15s, transform .05s;
}
.mic:hover { background: var(--brand); color: var(--brand-ink); }
.mic:disabled { opacity: .4; cursor: not-allowed; }
.mic.on { background: var(--danger); color: #fff; animation: pulse 1.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--danger) 55%, transparent); } 100% { box-shadow: 0 0 0 18px transparent; } }
.voice-bar { display: flex; gap: 12px; align-items: center; margin: 16px 0 8px; }
.voice-text { display: flex; gap: 8px; flex: 1; }
.voice-phone { display: flex; gap: 8px; align-items: flex-end; margin: 16px 0 0; max-width: 520px; }
.voice-status { min-height: 0; font-weight: 650; margin: 14px 0 4px; color: var(--ink-2); }
.voice-status:empty { margin: 0; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 12.5px; font-weight: 700; padding: 3px 11px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); }
.slots-voice:empty { display: none; }
.slots-voice { margin-top: 18px; }

/* karta s nejbližšími termíny v hero */
.next-card {
	background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 20px;
	box-shadow: var(--shadow-lg); transform: rotate(.6deg);
}
.next-head { display: flex; align-items: center; gap: 10px; padding: 2px 4px 14px; font-size: 15px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 50%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
.next-item {
	display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
	padding: 12px; border-radius: 16px; text-decoration: none; color: var(--ink); transition: background .15s;
}
.next-item + .next-item { border-top: 1px solid var(--line); border-radius: 0 0 16px 16px; }
.next-item:hover { background: var(--surface-2); color: var(--ink); border-radius: 16px; }
.next-time {
	display: grid; place-items: center; min-width: 70px; height: 52px; padding: 0 10px; border-radius: 14px;
	background: var(--brand-soft); color: var(--brand); font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.next-item:first-of-type .next-time { background: var(--accent-soft); color: var(--accent); }
.next-main { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.next-main strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.next-main span { font-size: 13.5px; color: var(--muted); }
.next-go { color: var(--muted); transition: transform .15s, color .15s; }
.next-item:hover .next-go { transform: translateX(3px); color: var(--brand); }
.next-empty { padding: 8px 4px 4px; }
.next-all { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; padding: 11px; border-radius: 13px; background: var(--surface-2); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.next-all:hover { background: var(--brand-soft); }

/* výhody */
.trust { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.trust li { display: flex; gap: 14px; align-items: center; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.trust strong { display: block; font-size: 15.5px; }
.trust span:not(.trust-ic) { font-size: 14px; color: var(--muted); }
.trust-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); }

/* filtr a termíny */
.filter {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 14px; align-items: end;
	padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 18px;
}
.filter .btn { height: 48px; }
@media (max-width: 960px) { .filter { grid-template-columns: repeat(2, minmax(0, 1fr)); } .filter .btn { grid-column: 1 / -1; } }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 12px; }
.slot {
	position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "when time" "what what" "who who";
	gap: 2px 10px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s, box-shadow .15s;
}
.slot:hover { border-color: color-mix(in srgb, var(--brand) 60%, var(--line)); transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.slot-when { grid-area: when; display: flex; flex-direction: column; line-height: 1.25; }
.slot-day { font-size: 12.5px; color: var(--muted); font-weight: 650; text-transform: capitalize; }
.slot-date { font-weight: 800; }
.slot-time { grid-area: time; align-self: center; font-size: 24px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.slot-what { grid-area: what; margin-top: 10px; font-weight: 700; font-size: 14.5px; }
.slot-who { grid-area: who; font-size: 13px; color: var(--muted); }
.slot-first { border: 2px solid var(--accent); padding-top: 22px; }
.slot-first .slot-time { color: var(--accent); }
.slot-flag {
	position: absolute; top: -11px; left: 14px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em;
	padding: 3px 10px; border-radius: 99px; background: var(--accent); color: #fff;
}
.reservation-info { grid-column: 1 / -1; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 4px; }

/* služby */
.cat { display: flex; align-items: center; gap: 10px; margin: 30px 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.cat-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.svc-card {
	display: flex; flex-direction: column; padding: 20px; background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: box-shadow .15s, transform .15s;
}
.svc-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.svc-card h4 { font-size: 17px; margin-bottom: 8px; }
.svc-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.svc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.svc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line); }
.svc-price { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.01em; }

/* tým */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.member { padding: 24px 20px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.member h4 { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin: 14px 0 4px; }
.member p { font-size: 14px; min-height: 2.6em; margin-bottom: 14px; }
.avatar {
	display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
	font-family: var(--font-display); font-size: 32px; font-weight: 600; color: #fff;
	box-shadow: 0 0 0 5px var(--surface), 0 0 0 6px var(--line);
}
.avatar-0 { background: linear-gradient(140deg, #2f7d6a, #1d5e4f); }
.avatar-1 { background: linear-gradient(140deg, #e09a5f, #c46a2c); }
.avatar-2 { background: linear-gradient(140deg, #8b78b8, #5f4f91); }
.avatar-3 { background: linear-gradient(140deg, #d47a8c, #ae4d63); }

/* jak to funguje */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.steps li { position: relative; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps h4 { font-size: 17px; margin: 14px 0 6px; }
.steps p { margin: 0; font-size: 14.5px; }
.step-n {
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
	font-family: var(--font-display); font-size: 22px; font-weight: 600; background: var(--brand); color: var(--brand-ink);
}

.note { display: flex; gap: 18px; padding: 26px; border-radius: var(--radius); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent); }
.note h3 { color: var(--brand); font-size: 17px; }
.note p { color: var(--ink-2); }
.note-ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--surface); color: var(--brand); }

/* vyskakovací okno */
.popup { border: 0; border-radius: 26px; padding: 30px; max-width: 560px; width: calc(100% - 32px); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
.popup[open] { animation: pop .25s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.popup::backdrop { background: rgba(20, 16, 10, .45); backdrop-filter: blur(3px); }
.popup h2 { font-size: 30px; margin-right: 36px; }
.popup-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 12px; border: 0; background: var(--surface-3); font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); }
.popup-close:hover { color: var(--ink); }
.popup-slots { display: grid; gap: 16px; margin: 22px 0 14px; padding-top: 6px; }
.popup-foot { margin: 0; }

/* =========================================================================
   Rezervace a správa rezervace
   ========================================================================= */
.stepper { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 22px; flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 650; color: var(--muted); }
.stepper li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-3); font-size: 13px; font-weight: 800; }
.stepper li.done span { background: var(--brand-soft); color: var(--brand); }
.stepper li.current { color: var(--ink); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.stepper li.current span { background: var(--brand); color: var(--brand-ink); }

.booking { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.booking-form.card { padding: 30px; }
.summary { position: sticky; top: 96px; }
.summary-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.summary-card h2 { font-size: 25px; margin-bottom: 16px; }
.summary-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.summary-list li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.summary-list .ic { color: var(--brand); }
.summary-price { display: grid; gap: 8px; padding: 16px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); margin-bottom: 14px; }
.summary-price div { display: flex; justify-content: space-between; align-items: baseline; }
.summary-price span { color: var(--muted); font-size: 14.5px; }
.summary-price strong { font-size: 17px; }
.summary-deposit strong { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--accent); }

.status-hero { display: flex; gap: 18px; align-items: flex-start; padding: 26px; margin-bottom: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.status-hero h1 { margin-bottom: 6px; }
.status-hero p:last-child { margin: 0; }
.status-ic { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--surface-3); color: var(--muted); }
.status-confirmed .status-ic, .status-completed .status-ic { background: var(--ok-soft); color: var(--ok); }
.status-pending_deposit .status-ic { background: var(--warn-soft); color: var(--warn); }
.status-cancelled .status-ic, .status-expired .status-ic, .status-no_show .status-ic { background: var(--danger-soft); color: var(--danger); }

.pay { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.pay-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pay img { background: #fff; border-radius: 16px; padding: 10px; border: 1px solid var(--line); }
.pay-info { flex: 1; min-width: 240px; }

/* =========================================================================
   Administrace
   ========================================================================= */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.tile { position: relative; overflow: hidden; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.tile::after { content: ""; position: absolute; right: -24px; top: -24px; width: 80px; height: 80px; border-radius: 50%; background: var(--brand-soft); opacity: .7; }
.tile-label { position: relative; z-index: 1; font-size: 13px; color: var(--muted); font-weight: 700; }
.tile-value { position: relative; z-index: 1; font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.tile-alert { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.tile-alert::after { background: var(--accent-soft); opacity: 1; }
.tile-alert .tile-value { color: var(--accent); }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.timeline { display: flex; flex-direction: column; gap: 8px; }
.tl-item {
	display: grid; grid-template-columns: 74px 1fr auto; gap: 16px; align-items: center;
	padding: 13px 16px; border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 14px;
	text-decoration: none; color: var(--ink); background: var(--surface); transition: border-color .15s, box-shadow .15s;
}
.tl-item:hover { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); box-shadow: var(--shadow); color: var(--ink); }
.tl-confirmed, .tl-completed { border-left-color: var(--ok); }
.tl-pending_deposit, .tl-cancel_requested { border-left-color: var(--warn); }
.tl-cancelled, .tl-expired, .tl-no_show { border-left-color: var(--danger); opacity: .7; }
.tl-time { font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; display: flex; flex-direction: column; line-height: 1.15; }
.tl-time small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.tl-main { display: flex; flex-direction: column; min-width: 0; }
.tl-main .muted { font-size: 14px; }
.tl-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }

.actions h3 { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.actions h2 + h3 { margin-top: 0; padding-top: 0; border-top: 0; }

.auth { display: grid; place-items: center; min-height: 58vh; }
.auth-card { width: 100%; max-width: 420px; padding: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 30px; margin-bottom: 4px; }

/* hlasový asistent */
.chat { display: flex; flex-direction: column; gap: 10px; max-height: 480px; overflow-y: auto; padding: 4px 2px 14px; }
.msg { padding: 11px 15px; border-radius: 18px; max-width: 85%; white-space: pre-wrap; font-size: 15px; }
.msg-user { align-self: flex-end; background: var(--brand); color: var(--brand-ink); border-bottom-right-radius: 6px; }
.msg-assistant { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg-link { align-self: flex-start; }
.draft { border: 2px solid var(--accent); background: var(--accent-soft); border-radius: var(--radius); padding: 16px 18px; margin: 10px 0; display: grid; gap: 10px; }
.draft .check { display: flex; gap: 8px; align-items: center; }

/* =========================================================================
   Tablet a mobil
   ========================================================================= */
@media (max-width: 1020px) {
	.is-admin .nav-mobile { display: block; }
	.hero { grid-template-columns: 1fr; }
	.next-card { transform: none; max-width: 560px; }
	.booking { grid-template-columns: 1fr; }
	.summary { position: static; order: -1; }
	.trust, .steps { grid-template-columns: 1fr; }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	.is-public .nav-desktop { display: none; }
	.is-public .nav-mobile { display: block; }
}

@media (max-width: 680px) {
	input, select, textarea { font-size: 16px; } /* iOS nepřibližuje */
	.wrap { padding-left: 14px; padding-right: 14px; }
	.public-main { padding-top: 16px; padding-bottom: 48px; }
	.admin-main { padding: 18px 14px 40px; }
	.top-in { min-height: 62px; }
	.brand-text strong { font-size: 17px; }
	.logo-mark { width: 36px; height: 36px; font-size: 19px; border-radius: 11px; }
	h1 { font-size: 27px; }
	.section { margin: 48px 0; }
	.section-head h2 { font-size: 26px; }
	.card { padding: 18px; border-radius: 16px; }
	.booking-form.card { padding: 20px; }

	.hero { padding: 24px 18px; border-radius: 22px; }
	.hero h1 { font-size: 36px; }
	.lead { font-size: 16px; margin-bottom: 20px; }
	.hero-search { gap: 6px; padding: 6px; border-radius: 17px; }
	.hero-search .mic { width: 46px; height: 46px; border-radius: 13px; }
	.hero-search input { font-size: 16px; padding: 10px 4px; }
	.hero-search .btn { padding: 11px 15px; }
	.examples-label { width: 100%; }
	.next-card { padding: 14px; border-radius: 20px; }
	.next-time { min-width: 62px; height: 48px; font-size: 18px; }

	.row-head, .page-head { align-items: flex-start; margin-bottom: 18px; }
	.row-head > form, .page-head > form { width: 100%; }
	.inline-form { flex-direction: column; align-items: stretch; }
	.inline-form > *, .inline-form input, .inline-form select, .inline-form label, .inline-form .btn { width: 100%; min-width: 0; }
	.form-row { grid-template-columns: 1fr; }
	.btn { min-height: 46px; }
	.btn-sm { min-height: 38px; }
	.filter { grid-template-columns: 1fr; padding: 16px; }

	/* tabulky → karty (popisky doplní js/app.js) */
	.card:has(> .tbl-ready) { overflow: visible; }
	.tbl.tbl-ready thead { display: none; }
	.tbl.tbl-ready, .tbl.tbl-ready tbody, .tbl.tbl-ready tr, .tbl.tbl-ready td { display: block; width: 100%; }
	.tbl.tbl-ready tr { border: 1px solid var(--line); border-radius: 14px; padding: 8px 14px; margin-bottom: 10px; background: var(--surface); box-shadow: var(--shadow-sm); }
	.tbl.tbl-ready tbody tr:hover td { background: transparent; }
	.tbl.tbl-ready td { border: 0; padding: 5px 0; display: flow-root; text-align: right; overflow-wrap: anywhere; }
	.tbl.tbl-ready td::before {
		content: attr(data-label); float: left; max-width: 45%; margin-right: 14px; padding-top: 2px; text-align: left;
		color: var(--muted); font-size: 11.5px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em;
	}
	.tbl.tbl-ready td[data-label=""]::before { display: none; }
	.tbl.tbl-ready td.tbl-empty { display: none; }
	.tbl.tbl-ready td:first-child { font-weight: 700; }
	.tbl.tbl-ready tr.tbl-wide td[data-label=""] { text-align: left; }
	.tbl.tbl-ready .group { background: var(--brand-soft); border-color: transparent; }
	.tbl.tbl-ready .total { border-width: 2px; }
	.tbl.tbl-ready tr.doc-first td { border-top: 0; }

	.slots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.slot { padding: 13px; grid-template-columns: 1fr; grid-template-areas: "when" "time" "what" "who"; }
	.slot-time { font-size: 21px; align-self: start; margin-top: 2px; }
	.slot-what { margin-top: 4px; font-size: 14px; }
	.slot-first { padding-top: 22px; }
	.popup-slots { grid-template-columns: 1fr; gap: 14px; }
	.popup .slot { grid-template-columns: 1fr auto; grid-template-areas: "when time" "what what" "who who"; }
	.popup .slot-time { font-size: 23px; align-self: center; }
	.popup {
		margin: auto 0 0; width: 100%; max-width: none; max-height: 88vh; overflow-y: auto;
		border-radius: 24px 24px 0 0; padding: 24px 16px calc(18px + env(safe-area-inset-bottom));
	}
	.popup h2 { font-size: 25px; }
	@keyframes pop { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

	.svc-grid, .team { grid-template-columns: 1fr; }
	.member { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "av name" "av spec" "av btn"; text-align: left; gap: 0 16px; padding: 18px; }
	.member .avatar { grid-area: av; width: 60px; height: 60px; font-size: 26px; align-self: center; }
	.member h4 { grid-area: name; margin: 0; font-size: 19px; }
	.member p { grid-area: spec; min-height: 0; margin: 0 0 8px; }
	.member .btn { grid-area: btn; justify-self: start; }
	.note { flex-direction: column; padding: 20px; }

	.status-hero { flex-direction: column; padding: 20px; }
	.pay { flex-direction: column; align-items: stretch; text-align: left; gap: 18px; }
	.pay-qr { align-self: center; }
	.facts { grid-template-columns: 1fr; gap: 2px 0; }
	.facts dd { margin-bottom: 8px; }
	.facts.small { grid-template-columns: 90px 1fr; }
	.facts.small dd { margin-bottom: 0; }
	.actions .stack-form > div { display: flex; flex-direction: column; gap: 8px; }
	.tl-item { grid-template-columns: 58px 1fr; padding: 12px; }
	.tl-side { grid-column: 2; align-items: flex-start; }
	.tile { padding: 14px 16px; }
	.tile-value { font-size: 25px; }
	.chat { max-height: 55vh; }
	.msg { max-width: 92%; }
	.draft .btn { width: 100%; }
	.foot-grid { grid-template-columns: 1fr; gap: 22px; padding-top: 28px; }
	.foot-bottom { flex-direction: column; gap: 6px; }
	.auth { min-height: auto; padding-top: 8px; }
	.auth-card { padding: 24px 20px; border-radius: 20px; }
	.test-banner { font-size: 12px; padding: 6px 12px; }
	.stepper li { font-size: 13px; padding-right: 11px; }
}
@media (max-width: 380px) {
	.slots { grid-template-columns: 1fr; }
	.hero h1 { font-size: 31px; }
}
