/* ReserveIT — administrace a web. Bootstrap 5 + vlastní vrstvy, barvy jen přes proměnné (paleta loga: #4318ee → #ff3dbf). */
:root {
    --brand: #5b21e6;
    --brand-dark: #4716c4;
    --brand-soft: #f1ebff;
    --brand-tint: #f9f6ff;
    --brand-start: #4318ee;
    --brand-pink: #ff3dbf;
    /* Přechod z loga — dekorace, ikony, wordmark (bez textu přes něj). */
    --brand-grad: linear-gradient(90deg, #4318ee, #ff3dbf);
    /* Přechod pro plochy s bílým textem (tlačítka, aktivní menu) — tmavší konec kvůli kontrastu AA (≥ 4.5:1). */
    --brand-grad-ui: linear-gradient(90deg, #4318ee 0%, #6d1fe0 55%, #b8169a 100%);
    --brand-grad-ui-hover: linear-gradient(90deg, #3a10d0 0%, #5d17c8 55%, #9f1186 100%);
    --ink: #1c1d26;
    --ink-2: #374151;
    --muted: #6b7280;
    --bg: #f5f6fa;
    --surface: #ffffff;
    --line: #e5e7eb;
    --line-2: #eef0f4;
    --sidebar: #150f36;
    --sidebar-2: #211852;
    --sidebar-text: #cdc8ea;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 2px 10px rgba(17, 24, 39, .05);
    --shadow-lg: 0 12px 32px rgba(17, 24, 39, .12);
    --sidebar-w: 248px;

    --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --bs-body-font-size: .9375rem;
    --bs-body-color: var(--ink);
    --bs-body-bg: #ffffff;
    --bs-secondary-color: var(--muted);
    --bs-border-color: var(--line);
    --bs-border-radius: 10px;
    --bs-border-radius-sm: 8px;
    --bs-border-radius-lg: 14px;
    --bs-primary: var(--brand);
    --bs-primary-rgb: 91, 33, 230;
    --bs-link-color: var(--brand);
    --bs-link-color-rgb: 91, 33, 230;
    --bs-link-hover-color: var(--brand-dark);
    --bs-link-hover-color-rgb: 71, 22, 196;
    --bs-primary-bg-subtle: var(--brand-soft);
    --bs-primary-text-emphasis: var(--brand-dark);
    --bs-primary-border-subtle: #d9c8fd;
}

body { background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { font-family: 'Montserrat', var(--bs-body-font-family); font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
h5, h6, .h5, .h6 { font-weight: 700; }
a { text-decoration: none; }
a:hover { text-decoration: underline; }
.btn:hover, .dropdown-item:hover, .sidebar-link:hover, .nav-link:hover, .list-link:hover { text-decoration: none; }
.min-w-0 { min-width: 0; }
.fw-medium { font-weight: 500; }
.text-brand { color: var(--brand) !important; }
.bg-brand-soft { background: var(--brand-soft) !important; }
.small-caps { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
[hidden] { display: none !important; }

/* ── Tlačítka a formuláře ─────────────────────────────────────────────── */
.btn { font-weight: 600; border-radius: 10px; }
.btn-sm { border-radius: 8px; }
.btn-primary {
    --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: var(--brand-dark); --bs-btn-hover-border-color: var(--brand-dark);
    --bs-btn-active-bg: #3b0fa8; --bs-btn-active-border-color: #3b0fa8;
    --bs-btn-disabled-bg: var(--brand); --bs-btn-disabled-border-color: var(--brand);
    --bs-btn-focus-shadow-rgb: 91, 33, 230;
    background-image: var(--brand-grad-ui);
    border-color: transparent;
    box-shadow: 0 2px 10px rgba(91, 33, 230, .28);
}
.btn-primary:hover, .btn-primary:focus-visible, .btn-primary:active, .btn-primary.active { background-image: var(--brand-grad-ui-hover); border-color: transparent; }
.btn-primary:disabled, .btn-primary.disabled { background-image: var(--brand-grad-ui); opacity: .55; }
.gradient-text { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.bg-brand-grad { background-image: var(--brand-grad) !important; }
.btn-outline-primary {
    --bs-btn-color: var(--brand); --bs-btn-border-color: #d9c8fd;
    --bs-btn-hover-bg: var(--brand-soft); --bs-btn-hover-border-color: var(--brand); --bs-btn-hover-color: var(--brand-dark);
    --bs-btn-active-bg: var(--brand); --bs-btn-active-border-color: var(--brand); --bs-btn-active-color: #fff;
}
.btn-light { --bs-btn-bg: #fff; --bs-btn-border-color: var(--line); --bs-btn-hover-bg: #f3f4f6; --bs-btn-hover-border-color: #d1d5db; }
.btn-soft { background: #f1f2f6; border: 1px solid transparent; color: var(--ink-2); }
.btn-soft:hover, .btn-soft:focus { background: #e6e8ef; color: var(--ink); }
.btn-icon { width: 38px; height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; border-radius: 10px; color: var(--ink-2); }
.btn-icon:hover { background: #f1f2f6; }
.btn-xs { padding: .15rem .45rem; font-size: .78rem; border-radius: 6px; }
.form-control, .form-select { border-color: #d6d9e0; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: #b9a0fb; box-shadow: 0 0 0 .2rem rgba(91, 33, 230, .15); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-range::-webkit-slider-thumb { background: var(--brand); }
.form-range::-moz-range-thumb { background: var(--brand); }
.form-label { font-weight: 600; font-size: .86rem; color: var(--ink-2); margin-bottom: .3rem; }
.form-text { font-size: .8rem; }
.form-switch .form-check-input { cursor: pointer; }
.input-group-text { background: #f7f8fa; color: var(--muted); border-color: #d6d9e0; }
.dropdown-menu { border-color: var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: .4rem; font-size: .9rem; }
.dropdown-item { border-radius: 8px; padding: .45rem .7rem; }
.dropdown-item.active, .dropdown-item:active { background: var(--brand-soft); color: var(--brand-dark); }
.alert { border-radius: 12px; border-width: 0; }
.alert-success { background: #ecfdf5; color: #065f46; }
.alert-danger { background: #fef2f2; color: #991b1b; }
.alert-warning { background: #fffbeb; color: #92400e; }
.alert-info { background: var(--brand-soft); color: #3b0fa8; }
.badge { font-weight: 600; letter-spacing: .01em; }
.status-badge { font-size: .74rem; padding: .35em .6em; border-radius: 999px; }
.text-bg-warning { color: #78350f !important; background-color: #fde68a !important; }
.text-bg-success { color: #065f46 !important; background-color: #d1fae5 !important; }
.text-bg-secondary { color: #4b5563 !important; background-color: #e5e7eb !important; }
.text-bg-primary { color: #3b0fa8 !important; background-color: #ece4ff !important; }
.text-bg-danger { color: #991b1b !important; background-color: #fee2e2 !important; }
.pagination { --bs-pagination-active-bg: var(--brand); --bs-pagination-active-border-color: var(--brand); --bs-pagination-color: var(--ink-2); --bs-pagination-border-radius: 8px; }
.nav-tabs { --bs-nav-tabs-link-active-color: var(--brand); --bs-nav-link-color: var(--muted); --bs-nav-link-hover-color: var(--ink); }
.nav-tabs .nav-link { font-weight: 600; font-size: .9rem; }
.nav-pills { --bs-nav-pills-link-active-bg: var(--brand); --bs-nav-link-color: var(--ink-2); }
.color-dot { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; background: var(--c, var(--brand)); flex: none; vertical-align: middle; }
.color-bar { display: inline-block; width: 4px; align-self: stretch; border-radius: 4px; background: var(--c, var(--brand)); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; flex: none; }

/* ── Layout administrace ──────────────────────────────────────────────── */
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: var(--sidebar-w); background-color: var(--sidebar) !important; color: var(--sidebar-text); display: flex; flex-direction: column; }
@media (min-width: 992px) {
    .sidebar { position: fixed; inset: 0 auto 0 0; z-index: 1030; }
    .app-main { margin-left: var(--sidebar-w); }
}
@media (max-width: 991.98px) {
    .sidebar.offcanvas-lg { --bs-offcanvas-width: 280px; --bs-offcanvas-bg: var(--sidebar); --bs-offcanvas-color: var(--sidebar-text); }
}
.sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.15rem .9rem; }
.sidebar-brand:hover { text-decoration: none; }
.sidebar-nav { flex: 1; overflow-y: auto; padding: .25rem .75rem 1rem; display: flex; flex-direction: column; gap: 2px; }
.sidebar-section { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: #948dc4; font-weight: 700; padding: 1rem .7rem .35rem; }
.sidebar-link { display: flex; align-items: center; gap: .7rem; padding: .55rem .75rem; border-radius: 10px; color: var(--sidebar-text); font-weight: 500; font-size: .92rem; transition: background .15s, color .15s; }
.sidebar-link i { font-size: 1.05rem; width: 1.2rem; text-align: center; opacity: .85; }
.sidebar-link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.sidebar-link.active { background: var(--brand-grad-ui); color: #fff; box-shadow: 0 4px 16px rgba(120, 30, 200, .45); }
.sidebar-link.active i { opacity: 1; }
.sidebar-badge { margin-left: auto; background: #f59e0b; color: #1f1300; border-radius: 999px; font-size: .7rem; font-weight: 700; padding: .1rem .45rem; }
.sidebar-foot { padding: 1rem; border-top: 1px solid rgba(255, 255, 255, .07); }
/* Logo (_logo.html.twig): inline SVG ikona + wordmark „Reserve“ + „it“ v přechodu. --logo-size = výška ikony. */
.logo { --logo-size: 32px; display: inline-flex; align-items: center; gap: calc(var(--logo-size) * .28); font-family: 'Montserrat', 'Arial Black', Arial, sans-serif; font-weight: 800; font-size: calc(var(--logo-size) * .72); line-height: 1; letter-spacing: -.035em; color: #1c1d26; white-space: nowrap; }
.logo-mark { width: var(--logo-size); height: var(--logo-size); flex: none; display: block; }
.logo-word { display: inline-block; padding-bottom: .06em; }
.logo-word .gradient-text { padding-right: .04em; }
.logo-light { color: #fff; }
.logo-light .gradient-text { background-image: linear-gradient(90deg, #a08cff, #ff7ad6); }

.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 1020; display: flex; align-items: center; gap: .75rem; height: 62px; padding: 0 1.5rem; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.topbar-account-name { font-weight: 700; color: var(--ink); display: block; }
.user-btn { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid transparent; padding: .25rem .5rem .25rem .3rem; font-weight: 500; }
.user-btn:hover, .user-btn.show { background: #f3f4f6; }
.app-content { padding: 1.5rem; width: 100%; }
@media (max-width: 575.98px) {
    .app-content { padding: 1rem .85rem 2rem; }
    .topbar { padding: 0 .75rem; }
}
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem 1rem; margin-bottom: 1.25rem; }
.page-title { font-size: 1.6rem; margin: 0; }
.page-subtitle { color: var(--muted); margin: .25rem 0 0; }
.page-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.page-actions:empty { display: none; }
.breadcrumb { font-size: .82rem; margin-bottom: .35rem; --bs-breadcrumb-divider-color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.flash-wrap .alert { box-shadow: var(--shadow); }

/* ── Karty a panely ───────────────────────────────────────────────────── */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-body { padding: 1.25rem; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line-2); }
.panel-head h2, .panel-head h3, .panel-title { font-family: var(--bs-body-font-family); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 0; }
.panel-foot { padding: .85rem 1.25rem; border-top: 1px solid var(--line-2); background: #fbfbfd; border-radius: 0 0 var(--radius) var(--radius); }
.panel + .panel { margin-top: 1.25rem; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.15rem; box-shadow: var(--shadow); display: flex; gap: .9rem; align-items: center; height: 100%; color: inherit; }
a.stat:hover { border-color: #d9c8fd; text-decoration: none; }
.stat-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; background: var(--brand-soft); color: var(--brand); flex: none; }
.stat-icon.amber { background: #fef3c7; color: #b45309; }
.stat-icon.green { background: #d1fae5; color: #047857; }
.stat-icon.sky { background: #e0f2fe; color: #0369a1; }
.stat-value { font-size: 1.6rem; font-weight: 800; font-family: 'Montserrat', sans-serif; line-height: 1.1; }
.stat-label { color: var(--muted); font-size: .82rem; }
.empty { text-align: center; padding: 2.5rem 1rem; color: var(--muted); }
.empty i { font-size: 2.2rem; color: #c7cad6; display: block; margin-bottom: .5rem; }
.empty-sm { padding: 1.25rem 1rem; }

/* Seznam rezervací v kartách */
.booking-list { list-style: none; margin: 0; padding: 0; }
.booking-item { display: flex; gap: .85rem; align-items: center; padding: .75rem 1.25rem; border-bottom: 1px solid var(--line-2); color: inherit; }
.booking-item:last-child { border-bottom: 0; }
a.booking-item:hover { background: var(--brand-tint); text-decoration: none; }
.booking-time { width: 64px; flex: none; text-align: center; }
.booking-time b { display: block; font-size: 1.05rem; }
.booking-time span { font-size: .75rem; color: var(--muted); }
.booking-main { flex: 1; min-width: 0; }
.booking-main .name { font-weight: 600; }
.booking-main .meta { color: var(--muted); font-size: .84rem; }

/* Tabulky */
.table-app { margin: 0; --bs-table-bg: transparent; font-size: .9rem; }
.table-app > thead th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; background: #fafbfc; border-bottom: 1px solid var(--line); padding: .7rem .75rem; white-space: nowrap; }
.table-app > tbody td { padding: .75rem; border-color: var(--line-2); vertical-align: middle; }
.table-app > tbody tr:last-child td { border-bottom: 0; }
.table-app > tbody tr.row-link { cursor: pointer; }
.table-app > tbody tr.row-link:hover td { background: var(--brand-tint); }
.table-app td:first-child, .table-app th:first-child { padding-left: 1.25rem; }
.table-app td:last-child, .table-app th:last-child { padding-right: 1.25rem; }
.tr-muted td { opacity: .55; }

/* Filtry */
.filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .75rem; align-items: end; }
.filters .form-label { font-size: .76rem; }

/* Detail */
.dl-grid { display: grid; grid-template-columns: 150px 1fr; gap: .55rem 1rem; margin: 0; }
.dl-grid dt { color: var(--muted); font-weight: 500; font-size: .87rem; }
.dl-grid dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 575.98px) { .dl-grid { grid-template-columns: 1fr; gap: .1rem; } .dl-grid dd { margin-bottom: .55rem; } }
.hero-when { display: flex; gap: 1rem; align-items: center; }
.hero-date { width: 64px; height: 68px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-dark); display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; line-height: 1.1; }
.hero-date b { font-size: 1.55rem; font-family: 'Montserrat', sans-serif; }
.hero-date span { font-size: .72rem; text-transform: uppercase; font-weight: 700; }

/* Výběr času (sloty) */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: .45rem; }
.slot-btn { border: 1px solid #d6d9e0; background: #fff; border-radius: 9px; padding: .45rem .25rem; font-weight: 600; font-size: .88rem; text-align: center; cursor: pointer; transition: all .12s; line-height: 1.15; }
.slot-btn small { display: block; font-weight: 500; font-size: .68rem; color: var(--muted); }
.slot-btn:hover { border-color: var(--brand); color: var(--brand); }
.slot-btn.taken { background: #f6f6f8; color: #9ca3af; text-decoration: line-through; border-style: dashed; }
.slot-btn.taken small { text-decoration: none; }
.slot-btn.taken:hover { color: #6b7280; border-color: #9ca3af; }
.slot-btn.selected { background: var(--brand-grad-ui); border-color: var(--brand); color: #fff; text-decoration: none; }
.slot-btn.selected small { color: rgba(255, 255, 255, .8); }
.slot-btn.taken.selected { background: #b45309; border-color: #b45309; }
.slot-status { font-size: .85rem; color: var(--muted); }

/* ── Kalendář ─────────────────────────────────────────────────────────── */
.cal-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-bottom: 1rem; }
.cal-range { font-weight: 700; font-size: 1.05rem; }
.cal { --hour: 56px; display: grid; grid-template-columns: 56px repeat(7, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: clip; }
.cal-head { position: sticky; top: 62px; z-index: 6; background: #fff; border-bottom: 1px solid var(--line); padding: .55rem .25rem; text-align: center; font-size: .8rem; color: var(--muted); }
.cal-head b { display: block; font-size: 1.15rem; color: var(--ink); font-family: 'Montserrat', sans-serif; }
.cal-head.today b { color: #fff; background: var(--brand-grad-ui); border-radius: 999px; width: 2rem; height: 2rem; line-height: 2rem; margin: .1rem auto 0; }
.cal-head a { color: inherit; }
.cal-corner { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 62px; z-index: 6; }
.cal-hours { position: relative; }
.cal-hours div { height: var(--hour); font-size: .7rem; color: var(--muted); text-align: right; padding-right: .4rem; transform: translateY(-.45rem); }
.cal-hours div:first-child { transform: none; }
.cal-day { position: relative; border-left: 1px solid var(--line-2); background: #f1f2f6; }
.cal-lines { position: absolute; inset: 0; pointer-events: none; z-index: 1; background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--hour) - 1px), var(--line-2) calc(var(--hour) - 1px), var(--line-2) var(--hour)); }
.cal-day.today .cal-open { background: #fafaff; }
.cal-open { position: absolute; left: 0; right: 0; background: #fff; }
.cal-closure { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, rgba(239, 68, 68, .08) 0 8px, rgba(239, 68, 68, .16) 8px 16px); border-top: 2px solid rgba(239, 68, 68, .5); font-size: .7rem; color: #b91c1c; padding: 2px 4px; overflow: hidden; z-index: 2; }
.cal-event { position: absolute; z-index: 3; border-radius: 7px; padding: 3px 6px; font-size: .74rem; line-height: 1.25; overflow: hidden; color: #1f2937; background: color-mix(in srgb, var(--c) 16%, #fff); border-left: 3px solid var(--c); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); transition: box-shadow .12s, transform .12s; margin: 0 2px; }
.cal-event:hover { z-index: 4; box-shadow: var(--shadow-lg); text-decoration: none; color: #111; }
.cal-event b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-event span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #4b5563; }
.cal-event.st-pending { border: 1.5px dashed var(--c); border-left-width: 3px; background: #fff; }
.cal-event.st-cancelled { opacity: .5; text-decoration: line-through; background: #f3f4f6; border-left-color: #9ca3af; }
.cal-event.st-completed { opacity: .8; }
.cal-event.st-no_show { background: #fef2f2; border-left-color: #ef4444; }
.cal-now { position: absolute; left: 0; right: 0; height: 2px; background: #ef4444; z-index: 5; }
.cal-now::before { content: ''; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; }
.cal-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .8rem; color: var(--muted); }
.cal-legend i { display: inline-block; width: 18px; height: 11px; border-radius: 3px; vertical-align: -1px; margin-right: .3rem; }
.cal-daylist .day-title { font-weight: 700; padding: .65rem 1rem; background: #fafbfc; border-bottom: 1px solid var(--line-2); font-size: .9rem; }
.cal-daylist .day-title.today { color: var(--brand); }

/* ── Týdenní editor pracovní doby ─────────────────────────────────────── */
.hours-editor { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.hours-row { display: grid; grid-template-columns: 150px 1fr; gap: .5rem 1rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line-2); align-items: start; }
.hours-row:last-child { border-bottom: 0; }
.hours-row.is-closed { background: #fafafb; }
.hours-row.is-closed .hours-day-name { color: var(--muted); }
.hours-day { display: flex; align-items: center; gap: .5rem; padding-top: .35rem; }
.hours-day-name { font-weight: 600; }
.hours-intervals { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.hours-iv { display: inline-flex; align-items: center; gap: .3rem; background: #f7f8fb; border: 1px solid var(--line); border-radius: 10px; padding: .25rem .3rem .25rem .4rem; }
.hours-iv input[type=time] { width: 6.6rem; padding: .2rem .4rem; font-size: .88rem; }
.hours-iv .btn-remove { border: 0; background: none; color: #9ca3af; padding: 0 .2rem; font-size: 1.05rem; line-height: 1; }
.hours-iv .btn-remove:hover { color: #dc2626; }
.hours-closed-label { color: var(--muted); font-size: .88rem; padding-top: .35rem; }
.hours-toolbar { display: flex; flex-wrap: wrap; gap: .5rem; padding: .65rem 1rem; background: #fafbfc; border-top: 1px solid var(--line); }
@media (max-width: 575.98px) { .hours-row { grid-template-columns: 1fr; } }
.hours-summary { font-size: .82rem; color: var(--muted); }
.hours-summary b { color: var(--ink-2); font-weight: 600; display: inline-block; min-width: 1.6rem; }

/* ── Widgety ──────────────────────────────────────────────────────────── */
.widget-card { display: flex; flex-direction: column; height: 100%; }
.widget-thumb { height: 120px; border-radius: var(--radius) var(--radius) 0 0; padding: 14px; display: flex; flex-direction: column; gap: 7px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line-2); }
.widget-thumb .t-bar { height: 9px; border-radius: 4px; }
.widget-thumb .t-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.widget-thumb .t-grid span { height: 13px; }
.widget-thumb .t-btn { height: 18px; width: 45%; margin-top: auto; }
.swatches { display: inline-flex; gap: 3px; }
.swatches span { width: 14px; height: 14px; border-radius: 4px; border: 1px solid rgba(0, 0, 0, .08); }

.choice-cards { display: grid; gap: .75rem; }
.choice-cards.cols-3 { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.choice-card { position: relative; display: block; border: 1.5px solid var(--line); border-radius: 12px; padding: .9rem; cursor: pointer; background: #fff; transition: border-color .12s, box-shadow .12s; height: 100%; margin: 0; }
.choice-card:hover { border-color: #b9a0fb; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(91, 33, 230, .15); }
.choice-card:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.choice-card .cc-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: .5rem; }
.choice-card .cc-title { font-weight: 700; display: block; }
.choice-card .cc-desc { font-size: .8rem; color: var(--muted); display: block; margin-top: .2rem; }
.choice-card .cc-check { position: absolute; top: .6rem; right: .6rem; color: var(--brand); font-size: 1.1rem; display: none; }
.choice-card:has(input:checked) .cc-check { display: block; }

.tpl-preview { height: 76px; border-radius: 8px; margin-bottom: .6rem; padding: 10px; display: flex; flex-direction: column; gap: 6px; border: 1px solid rgba(0, 0, 0, .06); overflow: hidden; }
.tpl-preview .p-title { height: 7px; width: 55%; border-radius: 3px; }
.tpl-preview .p-row { display: flex; gap: 5px; }
.tpl-preview .p-row span { flex: 1; height: 14px; }
.tpl-preview .p-btn { height: 14px; width: 40%; margin-top: auto; }

.color-row { display: flex; align-items: center; gap: .6rem; padding: .45rem 0; border-bottom: 1px dashed var(--line-2); }
.color-row:last-child { border-bottom: 0; }
.color-row .color-label { flex: 1; min-width: 0; font-size: .87rem; }
.color-row input[type=color] { width: 38px; height: 34px; padding: 2px; border-radius: 8px; border: 1px solid #d6d9e0; background: #fff; cursor: pointer; flex: none; }
.color-row input[type=color]:disabled { opacity: .35; cursor: not-allowed; }
.color-row .hex { width: 6.6rem; font-family: ui-monospace, Consolas, monospace; font-size: .82rem; text-transform: lowercase; }
.color-row .form-check { margin: 0; font-size: .78rem; min-width: 5.6rem; }

.editor-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 1.25rem; align-items: start; }
@media (max-width: 1199.98px) { .editor-layout { grid-template-columns: 1fr; } }
.editor-side { position: sticky; top: 78px; display: flex; flex-direction: column; gap: 1rem; }
@media (max-width: 1199.98px) { .editor-side { position: static; } }
.preview-frame { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.preview-bar { display: flex; align-items: center; gap: .5rem; padding: .55rem .85rem; border-bottom: 1px solid var(--line); background: #fafbfc; font-size: .8rem; color: var(--muted); }
.preview-bar .dots { display: inline-flex; gap: 5px; }
.preview-bar .dots span { width: 10px; height: 10px; border-radius: 50%; background: #e5e7eb; }
.preview-bar .btn-group .btn { padding: .1rem .5rem; font-size: .78rem; }
.preview-stage { padding: 1.25rem; max-height: calc(100vh - 220px); min-height: 380px; overflow: auto; transition: background .2s; }
.preview-stage.bg-light-web { background: #f3f4f6; }
.preview-stage.bg-dark-web { background: #111827; }
.preview-stage.bg-white-web { background: #fff; }
.preview-stage.narrow > div { max-width: 380px; margin: 0 auto; }
.preview-missing { border: 2px dashed var(--line); border-radius: 12px; padding: 2rem 1rem; text-align: center; color: var(--muted); }

.code-box { position: relative; background: #0f172a; color: #e2e8f0; border-radius: 10px; padding: .85rem 1rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .78rem; white-space: pre-wrap; word-break: break-all; margin: 0; padding-right: 5.5rem; }
.code-box .copy-btn { position: absolute; top: .5rem; right: .5rem; }
.copy-btn.copied { background: #10b981 !important; border-color: #10b981 !important; color: #fff !important; }
.key-pill { font-family: ui-monospace, Consolas, monospace; background: #f1f2f6; padding: .15rem .5rem; border-radius: 6px; font-size: .82rem; }
.sticky-save { position: sticky; bottom: 0; z-index: 10; background: rgba(255, 255, 255, .95); backdrop-filter: blur(6px); border-top: 1px solid var(--line); padding: .75rem 1.25rem; border-radius: 0 0 var(--radius) var(--radius); display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.dirty-dot { display: none; width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; }
.is-dirty .dirty-dot { display: inline-block; }
.tab-pane-pad { padding: 1.25rem; }
.fieldset-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--muted); margin: 1.5rem 0 .75rem; }
.fieldset-title:first-child { margin-top: 0; }

/* ── Přihlášení / registrace (návrh docs/brand/login-navrh.webp) ─────── */
.guest-body { background: #f8f8fc; }
.guest-wrap { min-height: 100vh; display: flex; }
.guest-side { display: flex; position: relative; width: 54%; max-width: 820px; flex: none; padding: 2.6rem 4.5rem 2rem; flex-direction: column; justify-content: space-between; overflow: hidden;
    background: linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .7) 32%, rgba(255, 255, 255, 0) 55%), url("../img/landing/login-bg.webp") 78% 40% / cover no-repeat, #f3eefc; }
.guest-side > * { position: relative; }
.guest-logo { align-self: flex-start; }
.guest-pitch { max-width: 23rem; margin: 2.5rem 0 auto; padding-top: 6vh; }
.guest-pitch h2 { font-size: clamp(2.3rem, 3.4vw, 3.1rem); line-height: 1.08; letter-spacing: -.035em; margin-bottom: 2.2rem; color: #15162b; }
.guest-grad { display: block; background: linear-gradient(90deg, #6d28d9, #d946ef 70%, #ff3dbf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.guest-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.35rem; }
.guest-points li { display: flex; align-items: center; gap: 1.1rem; }
.guest-points b { display: block; font-size: 1.08rem; color: #15162b; }
.guest-points span:not(.gp-ic) { display: block; color: #555872; margin-top: 2px; }
.gp-ic { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 1.35rem; box-shadow: 0 6px 16px -10px rgba(40, 20, 120, .4); }
.gp-ic .bi { display: block; line-height: 1; }
.gp-violet { background: #eee8ff; color: #6232ea; }
.gp-pink { background: #ffe5f2; color: #e11d74; }
.gp-blue { background: #e3edff; color: #2563eb; }
.gp-green { background: #dcf7ea; color: #0f9d63; }
.guest-foot { font-size: .8rem; color: #6b6d88; }
.guest-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2.5rem 1.25rem; }
.guest-card { width: 100%; max-width: 540px; }
.guest-card h1 { font-size: clamp(2rem, 2.8vw, 2.5rem); letter-spacing: -.035em; margin-bottom: .6rem !important; }
.guest-card h1 + p { font-size: 1.05rem; color: #6b6d88 !important; margin-bottom: 2rem !important; }
.guest-card .form-label { font-weight: 700; color: #15162b; margin-bottom: .45rem; }
.guest-card .form-control { border-radius: 12px; border-color: #e2e1ec; padding: .8rem 1rem; min-height: 3.2rem; background: #fff; }
.guest-card .form-control:focus { border-color: #8b5cf6; box-shadow: 0 0 0 4px rgba(139, 92, 246, .15); }
.guest-card .btn-primary.btn-lg { border-radius: 12px; min-height: 3.6rem; font-size: 1.15rem; font-weight: 700; border: 0; background: linear-gradient(90deg, #4318ee 0%, #8b2cf5 55%, #ff3dbf 100%); box-shadow: 0 14px 30px -14px rgba(116, 34, 230, .7); }
.guest-card .btn-primary.btn-lg:hover { filter: brightness(1.06); }
.guest-card a.fw-semibold { color: #6d28d9; font-weight: 700 !important; text-decoration: none; }
.guest-card a.fw-semibold:hover { text-decoration: underline; }
@media (min-width: 992px) and (max-width: 1199.98px) { .guest-side { padding: 2.4rem 2.6rem 2rem; width: 50%; } }
/* Mobil / tablet: hlavní je formulář — nahoře jen doplňková fotka s logem a nadpisem (bez výhod). Přihlášení se nemá scrollovat
   (na nízkých displejích body.guest-login skryje i podtitulek). */
@media (max-width: 991.98px) {
    .guest-wrap { flex-direction: column; min-height: 100dvh; }
    .guest-side { width: 100%; max-width: none; min-height: calc(min(74vw, 340px) + 1.2rem); padding: calc(env(safe-area-inset-top) + 1.25rem) 1.4rem 2.6rem; justify-content: flex-start;
        background: radial-gradient(120% 90% at 0% 0%, #fff 0%, #f6f1ff 55%, #efe6ff 100%); }
    /* Fotka oříznutá zhruba na čtverec (žena i s notebookem), zarovnaná vpravo; doleva se rozplývá. */
    .guest-side::after { content: ""; position: absolute; right: 0; bottom: 1.2rem; width: min(74vw, 340px); aspect-ratio: 1 / 1; z-index: 0; pointer-events: none;
        background: url("../img/landing/login-bg.webp") 100% 66% / 124% auto no-repeat;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); }
    .guest-side > * { z-index: 1; }
    .guest-side .logo-img { height: 36px; width: auto; }
    .guest-pitch { margin: 1.2rem 0 0; padding: 0; max-width: none; }
    .guest-pitch h2 { font-size: clamp(1.75rem, 7.4vw, 2.3rem); max-width: 11.5rem; margin-bottom: 0; }
    .guest-grad { white-space: nowrap; width: max-content; } /* gradient (background-clip: text) musí pokrýt celý text, ne jen šířku h2 */
    .guest-foot { display: none; }
    .guest-main { position: relative; margin-top: -1.6rem; align-items: flex-start; padding: 1.6rem 1.4rem calc(env(safe-area-inset-bottom) + 1.4rem); background: #f8f8fc; border-radius: 24px 24px 0 0; box-shadow: 0 -12px 30px -18px rgba(40, 20, 120, .35); }
    .guest-card h1 { font-size: 1.75rem; }
    .guest-card h1 + p { font-size: .95rem; margin-bottom: 1.2rem !important; }
    .guest-card .form-control { min-height: 3rem; padding: .7rem .9rem; }
    .guest-card .btn-primary.btn-lg { min-height: 3.3rem; font-size: 1.08rem; }
    .guest-card .vstack { gap: .85rem !important; }
    .guest-card > p.mt-4 { margin-top: 1rem !important; }
    .guest-points { display: none; }
}
@media (min-width: 576px) and (max-width: 991.98px) { .guest-pitch { max-width: 24rem; } .guest-card { margin: 0 auto; } }
/* Nízké telefony (iPhone SE apod.): přihlášení se musí vejít bez scrollu. */
@media (max-width: 991.98px) and (max-height: 740px) {
    .guest-side { min-height: 29dvh; padding-top: calc(env(safe-area-inset-top) + 1rem); }
    .guest-side::after { top: .4rem; width: auto; }
    .guest-pitch { margin-top: .8rem; }
    .guest-pitch h2 { font-size: 1.6rem; }
    .guest-login .guest-card h1 + p { display: none; }
    .guest-login .guest-card h1 { margin-bottom: 1rem !important; }
}

/* ── Úvodní stránka ───────────────────────────────────────────────────── */
.site-nav { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-nav .navbar { padding: .7rem 0; }
.site-nav .nav-link { font-weight: 500; color: var(--ink-2); }
.hero { padding: 4.5rem 0 3.5rem; background: radial-gradient(1200px 500px at 85% -10%, #ece4ff 0, transparent 60%), radial-gradient(800px 400px at -10% 20%, #f5f3ff 0, transparent 60%), #fff; }
.hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); line-height: 1.08; }
.hero .lead { font-size: 1.18rem; color: var(--ink-2); max-width: 36rem; }
.hero-badge { display: inline-flex; align-items: center; gap: .4rem; background: var(--brand-soft); color: var(--brand-dark); border-radius: 999px; padding: .3rem .8rem; font-size: .82rem; font-weight: 600; margin-bottom: 1.1rem; }
.hero-mock { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(59, 15, 168, .25); padding: 1rem; }
.section { padding: 4.5rem 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 40rem; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; height: 100%; box-shadow: var(--shadow); }
.feature .f-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 1rem; }
.feature h3 { font-size: 1.12rem; }
.feature p { color: var(--muted); margin: 0; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-grad-ui); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: .75rem; }
.tpl-card { border-radius: 14px; border: 1px solid var(--line); background: #fff; padding: .75rem; height: 100%; }
.tpl-card .tpl-preview { height: 96px; }
.demo-wrap { background: linear-gradient(180deg, #f5f7ff, #fff); border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem; }
.site-footer { background: var(--sidebar); color: var(--sidebar-text); padding: 2.5rem 0; font-size: .9rem; }
.site-footer a { color: #ece4ff; }

/* ── Akcenty značky ReserveIT ─────────────────────────────────────────── */
.topbar::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand-grad); opacity: .55; pointer-events: none; }
.sidebar-head { position: relative; }

/* ── Widgety a rezervační stránky: průvodce, editor, blokové volby (admin/widget/*) ── */
.choice-cards.cols-2 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.choice-cards.cols-4 { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.choice-card:focus-within { border-color: #b9a0fb; }
.choice-card .cc-icon-lg { width: 52px; height: 52px; font-size: 1.55rem; border-radius: 14px; }
.choice-card .cc-list { margin: .55rem 0 0; padding-left: 1.1rem; font-size: .8rem; color: var(--ink-2); }
.choice-card .cc-who { display: block; margin-top: .5rem; font-size: .76rem; color: var(--brand-dark); background: var(--brand-tint); border-radius: 8px; padding: .35rem .5rem; }
.kind-card { padding: 1.15rem; }

/* Ilustrace typů formuláře */
.mode-illu { display: block; margin-bottom: .6rem; border-radius: 10px; background: #f6f7fb; padding: 8px; }
.mode-illu svg { display: block; width: 100%; height: auto; }
.mode-illu .i-card { fill: #fff; stroke: var(--line); }
.mode-illu .i-ink { fill: #c9ccd8; }
.mode-illu .i-field { fill: #eef0f5; }
.mode-illu .i-sel { stroke: var(--brand); stroke-width: 1.5; fill: var(--brand-soft); }
.mode-illu .i-acc { fill: var(--brand); }
.mode-illu .i-free { fill: #d9f5e3; }
.mode-illu .i-busy { fill: #f6dede; }
.choice-card:has(input:checked) .mode-illu { background: var(--brand-soft); }

/* Písma (stejné rodiny jako ve widgetu) */
.ff-inherit, .ff-inter { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.ff-montserrat { font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; font-weight: 700; }
.ff-system { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
.ff-sans { font-family: Arial, Helvetica, sans-serif; }
.ff-rounded { font-family: ui-rounded, 'SF Pro Rounded', 'Nunito', 'Varela Round', 'Quicksand', system-ui, sans-serif; }
.ff-serif { font-family: Georgia, 'Times New Roman', Times, serif; }
.ff-mono { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; }

/* Miniatura šablony (věrná maketa widgetu) */
.tmock { display: block; border-radius: 10px; padding: 10px; margin-bottom: .6rem; background: #eef0f5; height: 118px; overflow: hidden; }
.tmock.tm-transparent { background-color: #fff; background-image: linear-gradient(45deg, #f1f2f6 25%, transparent 25%, transparent 75%, #f1f2f6 75%), linear-gradient(45deg, #f1f2f6 25%, transparent 25%, transparent 75%, #f1f2f6 75%); background-size: 12px 12px; background-position: 0 0, 6px 6px; }
.tmock.tm-glass { background: linear-gradient(135deg, var(--m-p), var(--m-p2)); }
.tmock.tm-bold, .tmock.tm-dark { background: #2a2d36; }
.tm-card { display: flex; flex-direction: column; gap: 5px; height: 100%; background: var(--m-bg); border-radius: var(--m-r); padding: 8px 9px; color: var(--m-tx); border: 1px solid var(--m-bd); }
.tm-sh-soft .tm-card { box-shadow: 0 6px 14px rgba(20, 25, 60, .12); }
.tm-sh-strong .tm-card { box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.tm-glass .tm-card { background: rgba(255, 255, 255, .72); border-color: rgba(255, 255, 255, .8); backdrop-filter: blur(4px); }
.tm-title { font-size: .72rem; font-weight: 700; line-height: 1; color: var(--m-tx); }
.tm-bold .tm-title { text-transform: uppercase; letter-spacing: .04em; font-size: .78rem; }
.tm-sub { height: 4px; width: 60%; border-radius: 2px; background: var(--m-mu); opacity: .45; }
.tm-days, .tm-times { display: flex; gap: 3px; }
.tm-days i, .tm-times i { flex: 1; height: 12px; border-radius: calc(var(--m-r) / 2.5); background: var(--m-sf); border: 1px solid var(--m-bd); }
.tm-days i.off { opacity: .35; }
.tm-times i { height: 10px; }
.tm-days i.on, .tm-times i.on { background: var(--m-p); border-color: var(--m-p); }
.tm-bs-gradient .tm-days i.on, .tm-bs-gradient .tm-times i.on { background: linear-gradient(135deg, var(--m-p), var(--m-p2)); }
.tm-bs-outline .tm-days i.on, .tm-bs-outline .tm-times i.on { background: transparent; border: 1.5px solid var(--m-p); }
.tm-btn { margin-top: auto; align-self: flex-start; font-size: .58rem; font-weight: 700; line-height: 1; padding: 5px 9px; border-radius: var(--m-r); background: var(--m-p); color: var(--m-pt); border: 1.5px solid var(--m-p); }
.tm-bs-gradient .tm-btn { background: linear-gradient(90deg, var(--m-p), var(--m-p2)); border-color: transparent; }
.tm-bs-outline .tm-btn { background: transparent; color: var(--m-p); }

/* Palety */
.palette-picks { display: flex; flex-wrap: wrap; gap: .45rem; }
.pal-pick { margin: 0; cursor: pointer; position: relative; }
.pal-pick input { position: absolute; opacity: 0; pointer-events: none; }
.pal-pick > span, .pal-btn { display: inline-flex; align-items: center; gap: .45rem; border: 1.5px solid var(--line); border-radius: 999px; padding: .3rem .75rem .3rem .35rem; background: #fff; font-size: .82rem; font-weight: 500; color: var(--ink-2); transition: border-color .12s, box-shadow .12s; }
.pal-pick:hover > span, .pal-btn:hover { border-color: #b9a0fb; }
.pal-pick input:checked + span, .pal-btn[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(91, 33, 230, .15); color: var(--ink); }
.pal-pick input:focus-visible + span, .pal-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.pal-dot { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(0, 0, 0, .08); flex: none; }
.pal-auto { background: var(--brand-soft); color: var(--brand); font-size: .75rem; }

/* Segmentové přepínače */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: #f1f2f6; border-radius: 12px; padding: 4px; max-width: 100%; }
.seg-opt { margin: 0; cursor: pointer; position: relative; }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opt > span { display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .75rem; border-radius: 9px; font-size: .85rem; font-weight: 500; color: var(--ink-2); transition: background .12s, color .12s, box-shadow .12s; }
.seg-opt:hover > span { color: var(--ink); background: rgba(255, 255, 255, .6); }
.seg-opt input:checked + span { background: #fff; color: var(--brand-dark); box-shadow: 0 1px 3px rgba(17, 24, 39, .12); font-weight: 600; }
.seg-opt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 1px; }
.seg-lg .seg-opt > span { padding: .55rem 1rem; }
.seg-sm .seg-opt > span { padding: .15rem .55rem; font-size: .75rem; }
.seg-cards { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
.seg-cards .seg-opt > span { flex-direction: column; justify-content: center; width: 100%; padding: .55rem .4rem; text-align: center; font-size: .8rem; }
.loc-code { font-size: .68rem; font-weight: 700; letter-spacing: .04em; background: var(--brand-soft); color: var(--brand-dark); border-radius: 5px; padding: .05rem .3rem; }
.field-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding: .35rem 0; }
.field-row .fr-lbl { min-width: 7.5rem; font-weight: 500; }

/* Ukázky: stín, hustota, zaoblení, šířka */
.sh-sample { width: 34px; height: 20px; border-radius: 5px; background: #fff; border: 1px solid var(--line); display: block; }
.sh-soft { box-shadow: 0 6px 12px rgba(20, 25, 60, .16); }
.sh-strong { box-shadow: 0 8px 16px rgba(0, 0, 0, .38); }
.dn-sample { display: flex; flex-direction: column; justify-content: center; width: 30px; height: 22px; }
.dn-sample i { display: block; height: 3px; border-radius: 2px; background: currentColor; opacity: .55; }
.dn-compact { gap: 1px; }
.dn-normal { gap: 3px; }
.dn-comfortable { gap: 6px; }
.preset-row { display: inline-flex; flex-wrap: wrap; gap: .4rem; }
.preset-btn { display: inline-flex; align-items: center; gap: .45rem; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: .35rem .7rem; font-size: .82rem; color: var(--ink-2); }
.preset-btn:hover { border-color: #b9a0fb; }
.preset-btn[aria-pressed="true"] { border-color: var(--brand); color: var(--brand-dark); box-shadow: 0 0 0 3px rgba(91, 33, 230, .15); font-weight: 600; }
.preset-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.rd-sample { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-bottom-color: transparent; display: inline-block; opacity: .75; }
.wd-sample { height: 10px; border-radius: 3px; background: currentColor; opacity: .45; display: inline-block; min-width: 8px; }

/* Písma a tlačítka */
.font-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; }
.font-pick { margin: 0; cursor: pointer; position: relative; }
.font-pick input { position: absolute; opacity: 0; pointer-events: none; }
.font-pick > span { display: flex; flex-direction: column; gap: .15rem; border: 1.5px solid var(--line); border-radius: 12px; padding: .6rem .75rem; background: #fff; height: 100%; transition: border-color .12s, box-shadow .12s; }
.font-pick:hover > span { border-color: #b9a0fb; }
.font-pick input:checked + span { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(91, 33, 230, .15); }
.font-pick input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.fp-sample { font-size: 1.12rem; line-height: 1.25; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-lbl { font-size: .74rem; color: var(--muted); }
.btnstyle-picks { --s-p: #4f46e5; --s-p2: #9333ea; --s-pt: #fff; --s-r: 10px; }
.btnstyle-card { text-align: center; }
.bs-sample { display: inline-block; padding: .45rem 1rem; border-radius: var(--s-r); font-weight: 700; font-size: .85rem; margin: .3rem 0 .55rem; border: 2px solid var(--s-p); background: var(--s-p); color: var(--s-pt); }
.bs-gradient { background: linear-gradient(90deg, var(--s-p), var(--s-p2)); border-color: transparent; }
.bs-outline { background: transparent; color: var(--s-p); }

/* Kontrast */
.contrast-list { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; gap: .3rem; font-size: .8rem; }
.contrast-list li { display: flex; gap: .45rem; align-items: flex-start; padding: .35rem .6rem; border-radius: 8px; }
.contrast-list .ct-ok { background: #ecfdf5; color: #065f46; }
.contrast-list .ct-mid { background: #fffbeb; color: #92400e; }
.contrast-list .ct-low { background: #fef2f2; color: #991b1b; }

/* Služby jako karty */
.svc-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .5rem; transition: opacity .15s; }
.svc-picks.is-disabled { opacity: .45; }
.svc-pick { position: relative; display: flex; align-items: center; gap: .6rem; border: 1.5px solid var(--line); border-radius: 12px; padding: .6rem .75rem; cursor: pointer; background: #fff; margin: 0; }
.svc-pick input { position: absolute; opacity: 0; pointer-events: none; }
.svc-pick .sp-check { margin-left: auto; color: var(--line); font-size: 1.1rem; flex: none; }
.svc-pick:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.svc-pick:has(input:checked) .sp-check { color: var(--brand); }
.svc-pick:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.svc-picks.is-disabled .svc-pick { cursor: not-allowed; }

/* Nápověda */
.help-q { border: 0; background: none; padding: 0 .1rem; color: var(--muted); line-height: 1; font-size: .95rem; text-transform: none; letter-spacing: 0; cursor: help; }
.help-q:hover, .help-q:focus { color: var(--brand); }
.help-q:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 50%; }
.intro-card { display: flex; gap: .75rem; align-items: flex-start; background: var(--brand-tint); border: 1px solid #e6dcff; border-radius: 12px; padding: .75rem .9rem; margin-bottom: 1.25rem; }
.intro-card .ic-icon { width: 34px; height: 34px; border-radius: 10px; background: #fff; color: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.docs-link { display: flex; align-items: center; gap: .75rem; border: 1.5px solid var(--line); border-radius: 12px; padding: .75rem 1rem; color: var(--ink); background: #fff; }
.docs-link:hover { border-color: var(--brand); text-decoration: none; }
.docs-link > .bi-book { font-size: 1.4rem; color: var(--brand); }
.css-examples { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.editor-tabs { overflow-x: auto; scrollbar-width: none; }
.editor-tabs::-webkit-scrollbar { display: none; }
.editor-tabs .nav-link { padding: .5rem .7rem; }
.editor-tabs .nav-link { white-space: nowrap; }

/* Průvodce */
.wiz-steps { list-style: none; display: flex; gap: .4rem; padding: 0; margin: 0 0 1rem; overflow-x: auto; }
.wiz-steps li { flex: 1; min-width: 0; }
.wiz-ind { width: 100%; display: flex; align-items: center; gap: .5rem; border: 0; background: #fff; border-radius: 12px; padding: .55rem .7rem; box-shadow: var(--shadow); color: var(--muted); font-size: .85rem; text-align: left; }
.wiz-ind:disabled { opacity: .7; cursor: default; }
.wiz-ind:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.wiz-num { width: 26px; height: 26px; border-radius: 50%; background: #f1f2f6; color: var(--ink-2); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.wiz-lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wiz-steps li.is-current .wiz-ind { color: var(--ink); font-weight: 600; box-shadow: 0 0 0 2px var(--brand), var(--shadow); }
.wiz-steps li.is-current .wiz-num { background: var(--brand-grad-ui); color: #fff; }
.wiz-steps li.is-done .wiz-num { background: #10b981; color: #fff; }
@media (max-width: 767.98px) {
    .wiz-lbl { display: none; }
    .wiz-steps li { flex: none; }
    .wiz-steps li.is-current { flex: 1; }
    .wiz-steps li.is-current .wiz-lbl { display: inline; }
}
.wizard { max-width: 1080px; }
.wizard .wiz-step { margin-bottom: 1rem; }
.wiz-nav { position: sticky; bottom: 0; z-index: 10; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; background: rgba(255, 255, 255, .95); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem 1rem; box-shadow: var(--shadow); }
.wizard:not(.js-wiz) [data-wiz-next], .wizard:not(.js-wiz) [data-wiz-back], .wizard:not(.js-wiz) [data-wiz-counter] { display: none; }
.wiz-summary { background: #f8f9fc; border: 1px solid var(--line-2); border-radius: 12px; padding: 1rem; }
.wiz-summary dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem .9rem; font-size: .87rem; }
.wiz-summary dt { color: var(--muted); font-weight: 500; }
.wiz-summary dd { margin: 0; font-weight: 600; }
.logo-drop { display: flex; gap: .9rem; align-items: center; }
.logo-prev { width: 96px; height: 64px; border-radius: 10px; border: 1.5px dashed var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex: none; color: var(--muted); font-size: 1.4rem; }
.logo-prev img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Seznamy */
.kind-switch { display: inline-flex; flex-wrap: wrap; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.kind-switch a { padding: .4rem .85rem; border-radius: 9px; color: var(--ink-2); font-weight: 500; font-size: .9rem; display: inline-flex; gap: .4rem; align-items: center; }
.kind-switch a:hover { background: #f5f6fa; text-decoration: none; }
.kind-switch a.active { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.page-thumb { gap: 8px; }
.page-thumb .pt-head { display: flex; align-items: center; gap: 8px; }
.page-thumb .pt-head img { max-height: 18px; max-width: 60px; object-fit: contain; }
.page-thumb .pt-logo { width: 18px; height: 18px; border-radius: 6px; background: rgba(255, 255, 255, .7); }
.page-thumb .pt-card { margin: 0 auto; width: 70%; padding: 8px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
.page-thumb .t-grid span { height: 10px; }
.page-thumb .t-btn { margin-top: 0; height: 12px; }
.add-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; text-align: center; height: 100%; min-height: 220px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); padding: 1.5rem; }
.add-card:hover { border-color: var(--brand); color: var(--brand-dark); text-decoration: none; background: var(--brand-tint); }
.add-card > .bi { font-size: 2rem; color: var(--brand); }
.next-steps { border: 1.5px solid #c9b6fd; background: linear-gradient(135deg, #fff, var(--brand-tint)); }
.next-steps .ns-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-grad-ui); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; flex: none; }

/* Stránka: rozvržení, pozadí, texty */
.lay-illu { display: grid; gap: 4px; height: 64px; padding: 6px; border-radius: 8px; background: #f6f7fb; margin-bottom: .55rem; }
.lay-illu i { display: block; border-radius: 4px; background: #d9dbe5; }
.lay-illu .l-form { background: var(--brand); opacity: .75; }
.lay-center { grid-template-columns: 1fr; grid-template-rows: 8px 8px 1fr; padding-inline: 30px; }
.lay-split { grid-template-columns: 1fr 1.2fr; grid-template-rows: 8px 1fr; grid-template-areas: "h f" "t f"; }
.lay-split .l-head { grid-area: h; }
.lay-split .l-text { grid-area: t; }
.lay-split .l-form { grid-area: f; }
.lay-wide { grid-template-columns: 1fr; grid-template-rows: 18px 6px 1fr; }
.lay-wide .l-head { background: var(--brand-grad-ui); opacity: .6; }
.lay-wide .l-text, .lay-wide .l-form { margin-inline: 22px; }
.bg-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem; }
.bg-pick { margin: 0; cursor: pointer; position: relative; text-align: center; }
.bg-pick input { position: absolute; opacity: 0; pointer-events: none; }
.bg-sw { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 10px; border: 1px solid rgba(0, 0, 0, .1); transition: box-shadow .12s; color: rgba(0, 0, 0, .55); }
.bg-lbl { display: block; font-size: .74rem; color: var(--ink-2); margin-top: .25rem; }
.bg-pick:hover .bg-sw { box-shadow: 0 0 0 2px #b9a0fb; }
.bg-pick input:checked + .bg-sw { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand); }
.bg-pick input:checked ~ .bg-lbl { color: var(--brand-dark); font-weight: 600; }
.bg-pick input:focus-visible + .bg-sw { outline: 2px solid var(--brand); outline-offset: 4px; }
.md-editor { border: 1px solid #d6d9e0; border-radius: 10px; overflow: hidden; background: #fff; }
.md-editor:focus-within { border-color: #b9a0fb; box-shadow: 0 0 0 .2rem rgba(91, 33, 230, .12); }
.md-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 4px 6px; border-bottom: 1px solid var(--line); background: #fafbfc; }
.md-toolbar > button { border: 0; background: none; width: 32px; height: 30px; border-radius: 6px; color: var(--ink-2); font-size: 1.05rem; }
.md-toolbar > button:hover:not(:disabled) { background: #eceef4; color: var(--ink); }
.md-toolbar > button:focus-visible { outline: 2px solid var(--brand); }
.md-toolbar > button:disabled { opacity: .35; }
.md-editor .md-text { border: 0; border-radius: 0; box-shadow: none !important; resize: vertical; min-height: 120px; }
.md-preview { padding: .75rem .9rem; min-height: 120px; font-size: .92rem; }
.md-help summary { cursor: pointer; font-size: .85rem; color: var(--ink-2); }
.md-help code { white-space: nowrap; }

/* Náhled celé rezervační stránky v editoru — zmenšená kopie public/css/page.css (/p/{slug}-{hash}), třídy pgp-* místo pg-* */
.pg-stage { padding: 0; background: #e5e7eb; container-type: inline-size; }
.pgp { --pgp-text: #1d2133; --pgp-muted: #5f6580; --pgp-line: rgba(29, 33, 51, .1); --pgp-panel: rgba(255, 255, 255, .78); --pgp-link: var(--pg-primary);
    min-height: 100%; background-color: #f4f5fa; background: var(--pg-bg); color: var(--pgp-text); font: 400 14px/1.6 Inter, system-ui, sans-serif; display: flex; flex-direction: column; }
.pgp[data-layout="wide"] { background: #f5f6fa; }
.pgp.is-dark .on-bg { --pgp-text: #f4f5ff; --pgp-muted: rgba(240, 242, 255, .76); --pgp-line: rgba(255, 255, 255, .16); --pgp-panel: rgba(255, 255, 255, .08); --pgp-link: #fff; color: var(--pgp-text); }
.pgp-brand { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.pgp-brand img { display: block; max-height: 52px; max-width: 200px; object-fit: contain; }
.pgp-mono { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none; background: linear-gradient(135deg, var(--pg-primary), var(--pg-primary2)); color: #fff; font: 800 1.1rem/1 Montserrat, Inter, sans-serif; }
.pgp-wordmark { font: 800 .95rem/1.2 Montserrat, Inter, sans-serif; color: var(--pgp-text); }
.pgp-eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pgp-muted); }
.pgp-eyebrow::before { content: ""; width: 14px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--pg-primary), var(--pg-primary2)); }
.pgp-title { margin: 0 0 10px; font: 800 1.55rem/1.15 Montserrat, Inter, sans-serif; letter-spacing: -.025em; color: var(--pgp-text); text-wrap: balance; }
.pgp-prose { color: var(--pgp-text); font-size: .92rem; }
.pgp-prose:empty { display: none; }
.pgp-prose > :first-child { margin-top: 0; }
.pgp-prose > :last-child { margin-bottom: 0; }
.pgp-prose p { margin: 0 0 .9em; }
.pgp-prose h2, .pgp-prose h3, .pgp-prose h4 { color: inherit; font-family: Montserrat, Inter, sans-serif; line-height: 1.25; margin: 1.3em 0 .45em; }
.pgp-prose h2 { font-size: 1.2rem; font-weight: 800; }
.pgp-prose h3 { font-size: 1.05rem; font-weight: 700; }
.pgp-prose h4 { font-size: .95rem; font-weight: 700; }
.pgp-prose ul { list-style: none; padding-left: 0; margin: 0 0 .9em; }
.pgp-prose ul li { position: relative; padding-left: 1.4em; margin: .25em 0; }
.pgp-prose ul li::before { content: ""; position: absolute; left: .2em; top: .62em; width: .45em; height: .45em; border-radius: 50%; background: linear-gradient(135deg, var(--pg-primary), var(--pg-primary2)); }
.pgp-prose ol { padding-left: 1.4em; margin: 0 0 .9em; }
.pgp-prose ol li::marker { color: var(--pg-primary); font-weight: 700; }
.pgp-prose blockquote { margin: 1em 0; padding: 10px 14px; border-radius: 12px; border-left: 4px solid var(--pg-primary); background: color-mix(in srgb, var(--pg-primary) 9%, #fff); color: var(--pgp-text); }
.pgp.is-dark .on-bg .pgp-prose blockquote { background: rgba(255, 255, 255, .1); border-left-color: rgba(255, 255, 255, .7); }
.pgp-prose a { color: var(--pgp-link); }
.pgp-prose hr { opacity: .25; }
.pgp-card { background: var(--pgp-panel); border: 1px solid var(--pgp-line); border-radius: 16px; padding: 14px 16px; font-size: .85rem; }
.pgp-card h2 { margin: 0 0 8px; font: 700 .7rem/1.2 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--pgp-muted); }
.pgp-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pgp-card li { display: flex; gap: 8px; align-items: baseline; }
.pgp-card li .bi { color: var(--pg-primary); }
.pgp.is-dark .on-bg .pgp-card li .bi { color: #fff; }
.pgp-widget { position: relative; background: var(--pg-widget-bg, #fff); border-radius: 18px; box-shadow: 0 1px 2px rgba(20, 24, 52, .05), 0 12px 40px -8px rgba(20, 24, 52, .16); padding: 8px; min-height: 300px; }
.pgp.is-dark .pgp-widget { box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .55); }
.pgp-footer { padding: 16px 12px 18px; text-align: center; font-size: .74rem; color: var(--pgp-muted); margin-top: auto; }
.pgp-footer b { color: var(--pgp-text); }
/* na střed */
.pgp[data-layout="center"] .pgp-shell { max-width: 760px; width: 100%; margin: 0 auto; padding: 26px 14px 4px; }
.pgp[data-layout="center"] .pgp-intro { text-align: center; margin-bottom: 18px; }
.pgp[data-layout="center"] .pgp-brand { justify-content: center; }
.pgp[data-layout="center"] .pgp-intro .pgp-prose ul, .pgp[data-layout="center"] .pgp-intro .pgp-prose ol, .pgp[data-layout="center"] .pgp-intro .pgp-prose blockquote { text-align: left; display: inline-block; }
.pgp-after { display: grid; gap: 16px; margin-top: 22px; }
.pgp-after:empty { display: none; }
/* dva sloupce */
.pgp[data-layout="split"] .pgp-shell { width: 100%; padding: 22px 14px 4px; display: grid; grid-template-columns: 1fr; gap: 20px; }
.pgp-aside > * + * { margin-top: 14px; }
@container (min-width: 600px) {
    .pgp[data-layout="split"] .pgp-shell { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
}
/* široká */
.pgp-hero { background-color: #eef0f7; background: var(--pg-bg); padding: 30px 16px 110px; }
.pgp-hero > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.pgp[data-layout="wide"] .pgp-shell { width: 100%; max-width: 860px; margin: -90px auto 0; padding: 0 14px 4px; }
.pgp[data-layout="wide"] .pgp-after .pgp-card { background: #fff; }
.preview-url { font-family: ui-monospace, Consolas, monospace; font-size: .74rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .1rem .5rem; min-width: 0; }
.md-preview { --pg-primary: var(--brand); --pg-primary2: var(--brand-pink); --pgp-text: var(--ink); }

/* ── SMS kredit (admin/credit/*) ──────────────────────────────────────── */
.credit-balance { background: var(--brand-grad-ui); color: #fff; border: 0; }
.credit-balance .panel-body { padding: 1.5rem; }
.credit-amount { font: 800 2.4rem/1.1 'Montserrat', sans-serif; letter-spacing: -.03em; margin: .35rem 0 .2rem; }
.credit-meta { display: grid; gap: .45rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .25); font-size: .9rem; }
.credit-meta div { display: flex; justify-content: space-between; }
.credit-meta span { opacity: .8; }
.credit-ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 1.8rem; }
.credit-packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .6rem; }
.credit-pack { cursor: pointer; }
.credit-pack input { position: absolute; opacity: 0; pointer-events: none; }
.credit-pack-box { display: block; border: 1.5px solid var(--line); border-radius: 12px; padding: .8rem 1rem; background: #fff; transition: border-color .15s, box-shadow .15s; }
.credit-pack-box b { display: block; font-size: 1.15rem; }
.credit-pack-box small { color: var(--muted); }
.credit-pack:hover .credit-pack-box { border-color: #b9a0fb; }
.credit-pack input:checked + .credit-pack-box { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.credit-pack input:focus-visible + .credit-pack-box { outline: 2px solid var(--brand); outline-offset: 2px; }
.pay-row { display: flex; align-items: baseline; gap: .5rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.pay-row > span { color: var(--muted); min-width: 10rem; }
.pay-row > b { word-break: break-all; }
.pay-qr { image-rendering: pixelated; background: #fff; padding: 8px; border-radius: 10px; border: 1px solid var(--line); }
@media (max-width: 575.98px) { .pay-row { flex-wrap: wrap; } .pay-row > span { min-width: 100%; } }
/* Výběr tarifu a délky předplatného (admin/billing) */
.licence-plan + .licence-plan { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.licence-plan-head { display: flex; align-items: center; gap: .4rem; margin-bottom: .5rem; }

/* ══ Přehlednost administrace (2026-10): záložky sekcí, nápověda, tipy, průvodci, lišta změn ══ */
/* Záložky skupiny stránek (Nastavení, Tarif a platby) — admin/_settings_tabs.html.twig */
.page-tabs { display: flex; gap: .25rem; margin: -.25rem 0 1.25rem; padding: .3rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow-x: auto; scrollbar-width: none; }
.page-tabs::-webkit-scrollbar { display: none; }
.page-tab { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .85rem; border-radius: 9px; color: var(--ink-2); font-weight: 600; font-size: .88rem; white-space: nowrap; transition: background .15s, color .15s; }
.page-tab i { color: var(--muted); font-size: 1rem; }
.page-tab:hover { background: var(--brand-tint); color: var(--brand-dark); text-decoration: none; }
.page-tab.active { background: var(--brand-soft); color: var(--brand-dark); }
.page-tab.active i { color: var(--brand); }

/* Nápověda „?“ a tipy — admin/_ui.html.twig */
.help-dot { border: 0; background: none; padding: 0 .15rem; color: #9aa0b4; font-size: .85rem; line-height: 1; vertical-align: baseline; cursor: help; }
.help-dot:hover, .help-dot:focus-visible { color: var(--brand); }
.popover { --bs-popover-max-width: 300px; --bs-popover-font-size: .84rem; --bs-popover-border-color: var(--line); --bs-popover-header-bg: var(--brand-tint); box-shadow: var(--shadow-lg); }
.tip { display: flex; align-items: flex-start; gap: .6rem; padding: .6rem .75rem; margin: .75rem 0 0; border-radius: 10px; background: var(--brand-tint); border: 1px dashed #dccdfd; color: var(--ink-2); font-size: .83rem; line-height: 1.45; }
.tip > i:first-child { color: var(--brand); margin-top: .05rem; }
.tip > div { flex: 1; }
.tip-x { border: 0; background: none; color: #a3a8bb; padding: 0; line-height: 1; font-size: 1rem; }
.tip-x:hover { color: var(--ink); }

/* Kroky průvodců a checklistu */
.step-mark { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: .78rem; font-weight: 700; background: #eef0f6; color: var(--muted); border: 1px solid var(--line); }
.step-mark.done { background: #10b981; border-color: #10b981; color: #fff; }

/* „Začínáme“ na přehledu */
.onboard { border: 1px solid #e3d8ff; background: linear-gradient(135deg, #ffffff 0%, #faf7ff 60%, #fff4fb 100%); }
.onboard-progress { height: 6px; border-radius: 999px; background: #ece7fb; overflow: hidden; }
.onboard-progress > span { display: block; height: 100%; background: var(--brand-grad); border-radius: inherit; transition: width .3s; }
.onboard-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .75rem; margin-top: 1rem; }
.onboard-step { display: flex; gap: .7rem; padding: .85rem; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.onboard-step:hover { text-decoration: none; border-color: #c9b5fb; box-shadow: var(--shadow); transform: translateY(-1px); }
.onboard-step.done { background: #f6fdf9; border-color: #c9efdc; }
.onboard-step.done .onboard-step-title { color: #047857; }
.onboard-step.current { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(91, 33, 230, .08); }
.onboard-step-title { font-weight: 700; font-size: .9rem; }
.onboard-step-text { color: var(--muted); font-size: .8rem; line-height: 1.4; margin-top: .1rem; }
.onboard-step-cta { font-size: .8rem; font-weight: 600; color: var(--brand); margin-top: .35rem; display: inline-block; }

/* Matice oznámení (událost × kanál) — admin/notifications.html.twig */
.notify-matrix { width: 100%; border-collapse: separate; border-spacing: 0; }
.notify-matrix th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: .6rem .75rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.notify-matrix td { padding: .8rem .75rem; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.notify-matrix tr:last-child td { border-bottom: 0; }
.notify-matrix .ch { width: 128px; text-align: center; }
.notify-matrix .ch .form-switch { display: inline-flex; justify-content: center; padding-left: 2.5em; margin: 0; min-height: 0; }
.notify-matrix .ev-title { font-weight: 600; }
.notify-matrix .ev-text { color: var(--muted); font-size: .8rem; }
.notify-matrix .na { color: #c3c7d4; font-size: .8rem; }
.notify-matrix .linked { color: var(--muted); font-size: .78rem; }
.notify-matrix .ch.off { opacity: .45; }
.notify-group td { background: #fafbfd; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: .45rem .75rem; }
.setup-steps { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.setup-step { display: flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.setup-step .muted { font-weight: 400; color: var(--muted); }

/* Lišta neuložených změn — form[data-savebar] (app.js) */
.savebar { position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 140%); z-index: 1060; display: flex; align-items: center; gap: .5rem .9rem; padding: .55rem .6rem .55rem 1rem; border-radius: 14px; background: #1c1640; color: #fff; box-shadow: 0 14px 40px rgba(20, 12, 60, .35); transition: transform .25s ease, opacity .2s; max-width: calc(100vw - 24px); opacity: 0; pointer-events: none; }
.savebar.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.savebar-text { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .88rem; white-space: nowrap; }
@media (min-width: 992px) { .savebar { left: calc(50% + var(--sidebar-w) / 2); } }
body.has-savebar .app-content { padding-bottom: 5rem; }

/* Jemnější moderní detaily */
.panel { transition: box-shadow .2s; }
.panel-head h2 i, .panel-head h3 i { color: var(--brand); }
.page-title { letter-spacing: -.03em; }
.form-control, .form-select { border-radius: 10px; }
.form-control::placeholder { color: #a8adbd; }
.section-lead { color: var(--muted); font-size: .86rem; margin: -.15rem 0 .9rem; }

/* Rozbalovací „Pokročilé nastavení“ ve formulářích */
.adv-section { margin-top: 1.25rem; }
.adv-section > summary { list-style: none; display: flex; align-items: center; gap: .25rem; padding: .85rem 1.1rem; border: 1px dashed #d6d0ee; border-radius: var(--radius); background: #fcfbff; cursor: pointer; font-size: .9rem; }
.adv-section > summary::-webkit-details-marker { display: none; }
.adv-section > summary:hover { border-color: #b9a0fb; background: var(--brand-tint); }
.adv-section[open] > summary { margin-bottom: 1.25rem; }
.adv-section[open] .adv-chevron { transform: rotate(180deg); }
.adv-chevron { transition: transform .2s; color: var(--muted); }

/* Volba role (uživatelé) */
.role-choice { display: grid; gap: .5rem; }
.role-option { display: flex; gap: .65rem; align-items: flex-start; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: border-color .15s, background .15s; }
.role-option:hover { border-color: #c9b5fb; }
.role-option input { margin-top: .25rem; accent-color: var(--brand); }
.role-option:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.role-option b { display: block; font-size: .9rem; }
.role-option small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; }

/* Matice oznámení na mobilu: úzké sloupce kanálů, bez vodorovného posunu */
@media (max-width: 575.98px) {
    .notify-matrix th, .notify-matrix td { padding-left: .6rem; padding-right: .6rem; }
    .notify-matrix .ch { width: 62px; padding-left: .2rem; padding-right: .2rem; }
    .notify-matrix th.ch { font-size: .64rem; letter-spacing: .02em; }
    .notify-matrix th.ch .bi { display: none; }
    .notify-matrix .ch .form-switch { padding-left: 2.3em; }
    .notify-matrix .linked { display: block; font-size: .7rem; }
    .page-tabs { margin-left: -.25rem; margin-right: -.25rem; }
}

/* Tabulky přímo v panelu (bez .panel-body) — stejné odsazení jako obsah panelu a jako .table-app */
.panel > .table-responsive > .table,
.panel > .table { margin-bottom: 0; --bs-table-bg: transparent; font-size: .9rem; }
.panel > .table-responsive > .table > :not(caption) > * > *,
.panel > .table > :not(caption) > * > * { padding: .7rem .75rem; border-color: var(--line-2); vertical-align: middle; }
.panel > .table-responsive > .table > :not(caption) > * > :first-child,
.panel > .table > :not(caption) > * > :first-child { padding-left: 1.25rem; }
.panel > .table-responsive > .table > :not(caption) > * > :last-child,
.panel > .table > :not(caption) > * > :last-child { padding-right: 1.25rem; }
.panel > .table-responsive > .table > thead th,
.panel > .table > thead th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; background: #fafbfc; border-bottom: 1px solid var(--line); white-space: nowrap; }
.panel > .table-responsive > .table > tbody > tr:last-child > *,
.panel > .table > tbody > tr:last-child > * { border-bottom: 0; }
.panel > .table-responsive:last-child > .table > tbody > tr:last-child > :first-child { border-bottom-left-radius: var(--radius); }
.panel > .table-responsive:last-child > .table > tbody > tr:last-child > :last-child { border-bottom-right-radius: var(--radius); }
/* Řádek s akcemi vpravo: tlačítka nelámat */
.panel > .table-responsive > .table td.text-end { white-space: nowrap; }
@media (max-width: 575.98px) {
    .panel > .table-responsive > .table > :not(caption) > * > * { padding: .6rem .5rem; }
    .panel > .table-responsive > .table > :not(caption) > * > :first-child { padding-left: 1rem; }
    .panel > .table-responsive > .table > :not(caption) > * > :last-child { padding-right: 1rem; }
}

/* Mezery mezi kartami: řádky .row.g-* za sebou (bez toho na sebe karty sedly) a panely v řádku */
.app-content .row[class*=" g-"] + .row[class*=" g-"],
.app-content .row[class^="g-"] + .row[class^="g-"] { margin-top: 0; }
.app-content > .row + .panel, .app-content .panel + .row { margin-top: 1.5rem; }
.app-content .row > [class*="col"] > .panel + .panel { margin-top: 1.5rem; }

/* Výzva k dokončení nastavení (fakturační údaje…) — karta s jednou jasnou akcí */
.setup-card { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; padding: 1.1rem 1.25rem; border-radius: var(--radius); border: 1px solid #f5d79e; background: linear-gradient(135deg, #fffaf0 0%, #fff6e6 100%); box-shadow: var(--shadow); }
.setup-card-ic { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 1.35rem; background: #fde9bf; color: #a35f00; }
.setup-card-title { font-weight: 700; font-size: 1rem; color: var(--ink); }
.setup-card-text { color: var(--ink-2); font-size: .87rem; margin-top: .15rem; max-width: 640px; }
.setup-card-chips { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin-top: .55rem; font-size: .8rem; color: var(--muted); }
.setup-card-chips span { display: inline-flex; align-items: center; gap: .35rem; }
.setup-card-chips .ok { color: #047857; }
.setup-card-soft { border-color: #e3d8ff; background: linear-gradient(135deg, #ffffff 0%, #faf7ff 100%); }
.setup-card-soft .setup-card-ic { background: var(--brand-soft); color: var(--brand); }
.page-tab-dot { width: 7px; height: 7px; border-radius: 50%; background: #f59e0b; margin-left: .1rem; }
@media (max-width: 575.98px) { .setup-card > .btn { width: 100%; } }

/* ══ Widgety a rezervační stránky — karty s živým náhledem (admin/widget/index.html.twig) ══ */
.wcard { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.wcard:hover { box-shadow: var(--shadow-lg); border-color: #d9cdfb; transform: translateY(-2px); }
.wcard-preview { position: relative; display: block; background: #eef0f6; border-bottom: 1px solid var(--line); color: inherit; }
.wcard-preview:hover { text-decoration: none; }
.wcard-chrome { display: flex; align-items: center; gap: .6rem; height: 30px; padding: 0 .75rem; background: #f7f7fb; border-bottom: 1px solid var(--line-2); }
.wcard-chrome .dots { display: inline-flex; gap: 5px; flex: none; }
.wcard-chrome .dots i { width: 8px; height: 8px; border-radius: 50%; background: #dcdfe8; }
.wcard-chrome .dots i:first-child { background: #ffb4a8; } .wcard-chrome .dots i:nth-child(2) { background: #ffd98a; } .wcard-chrome .dots i:last-child { background: #a7e3b5; }
.wcard-chrome .addr { flex: 1; min-width: 0; height: 19px; line-height: 19px; padding: 0 .55rem; border-radius: 6px; background: #fff; border: 1px solid var(--line-2); font-size: .7rem; color: var(--muted); }
.wcard-stage { position: relative; height: 230px; overflow: hidden; background: #fff; }
.wcard-stage iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: #fff; }
.wcard-stage iframe.ready { opacity: 1; }
.wcard-sketch { position: absolute; inset: 0; }
.wcard-sketch .widget-thumb { height: 100%; border-radius: 0; padding: 22px 26px; gap: 10px; }
.wcard-sketch .widget-thumb .t-grid span { height: 18px; }
.wcard-sketch .widget-thumb .t-bar { height: 11px; }
.wcard-sketch .page-thumb .pt-card { width: 62%; padding: 14px; }
.wcard-off-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(28, 22, 64, .82); color: #fff; font-size: .8rem; font-weight: 600; padding: .35rem .8rem; border-radius: 999px; white-space: nowrap; }
.wcard.is-off .wcard-sketch { filter: grayscale(.85); opacity: .55; }
.wcard-hover { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 8px); opacity: 0; transition: opacity .2s, transform .2s; background: var(--brand-grad-ui); color: #fff; font-weight: 600; font-size: .82rem; padding: .45rem .95rem; border-radius: 999px; box-shadow: 0 6px 18px rgba(91, 33, 230, .35); white-space: nowrap; }
.wcard-preview:hover .wcard-hover, .wcard-preview:focus-visible .wcard-hover { opacity: 1; transform: translate(-50%, 0); }
.wcard-body { padding: 1rem 1.15rem .9rem; flex: 1; }
.wcard-title { font-family: var(--bs-body-font-family); font-size: 1.02rem; font-weight: 700; letter-spacing: 0; margin: 0 0 .25rem; }
.wcard-title a { color: var(--ink); }
.wcard-meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: .8rem; color: var(--muted); }
.wcard-meta > span { display: inline-flex; align-items: center; gap: .35rem; }
.wcard-stat { display: flex; align-items: center; gap: .5rem; margin-top: .85rem; padding: .5rem .65rem; border-radius: 9px; background: #f7f7fb; font-size: .8rem; color: var(--muted); }
.wcard-stat b { color: var(--ink); font-size: .95rem; }
.wcard-foot { display: flex; align-items: center; gap: .4rem; padding: .7rem 1.15rem; border-top: 1px solid var(--line-2); background: #fbfbfd; }
.status-dot { display: inline-flex; align-items: center; gap: .35rem; flex: none; font-size: .74rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.status-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #c3c7d4; }
.status-dot.on { color: #047857; }
.status-dot.on::before { background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, .18); }
.wcard-add { min-height: 100%; gap: .35rem; }
.wcard-add-ic { width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; background: var(--brand-soft); color: var(--brand); margin-bottom: .35rem; transition: transform .2s; }
.wcard-add:hover .wcard-add-ic { transform: scale(1.06); }
.wcard-add-cta { margin-top: .5rem; font-size: .82rem; font-weight: 600; color: var(--brand); }
.view-switch { display: inline-flex; gap: 2px; padding: 3px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.view-switch button { border: 0; background: none; padding: .35rem .7rem; border-radius: 8px; font-size: .84rem; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: .4rem; }
.view-switch button.active { background: var(--brand-soft); color: var(--brand-dark); }
@media (max-width: 575.98px) { .view-switch button span { display: none; } .wcard-stage { height: 200px; } }

/* ══ Texty e-mailů a SMS (admin/messages.html.twig) ══ */
.msg-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.msg-list { position: sticky; top: 78px; display: flex; flex-direction: column; gap: .35rem; }
.msg-item { display: flex; align-items: flex-start; gap: .65rem; padding: .7rem .8rem; border-radius: 12px; border: 1px solid transparent; color: inherit; transition: background .15s, border-color .15s; }
.msg-item:hover { background: #fff; border-color: var(--line); text-decoration: none; }
.msg-item.active { background: #fff; border-color: #cdb9fc; box-shadow: var(--shadow); }
.msg-item-ic { width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex: none; background: #eef0f6; color: var(--muted); }
.msg-item.active .msg-item-ic { background: var(--brand-soft); color: var(--brand); }
.msg-item-title { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); line-height: 1.3; }
.msg-item-when { display: block; font-size: .76rem; color: var(--muted); line-height: 1.35; margin-top: .1rem; }
.msg-flag { flex: none; font-size: .68rem; font-weight: 700; color: var(--brand-dark); background: var(--brand-soft); border-radius: 999px; padding: .1rem .45rem; }
.msg-list .tip { margin-top: .75rem; }
.msg-editor > .panel { margin: 0; }
.msg-form { border-right: 1px solid var(--line-2); }
.msg-preview { background: #f4f5fa; display: flex; flex-direction: column; border-radius: 0 0 var(--radius) 0; }
.msg-preview-head { padding: .6rem 1rem; font-size: .76rem; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line-2); }
.msg-preview iframe { width: 100%; height: 560px; border: 0; display: block; background: #f4f5fa; }
.ph-menu { max-height: 340px; overflow-y: auto; min-width: 290px; padding: .35rem 0; }
.ph-menu .dropdown-header { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.ph-menu .dropdown-item { display: flex; justify-content: space-between; gap: 1rem; font-size: .84rem; }
.ph-menu .dropdown-item code { font-size: .74rem; color: var(--muted); }
.sms-bubble { position: relative; display: inline-block; max-width: 100%; padding: .6rem .85rem; border-radius: 16px 16px 16px 4px; background: #eef0f6; font-size: .84rem; white-space: pre-wrap; word-break: break-word; }
@media (max-width: 1399.98px) { .msg-form { border-right: 0; border-bottom: 1px solid var(--line-2); } .msg-preview { border-radius: 0 0 var(--radius) var(--radius); } }
@media (max-width: 991.98px) {
    .msg-layout { grid-template-columns: minmax(0, 1fr); }
    .msg-list { position: static; flex-direction: row; overflow-x: auto; padding-bottom: .25rem; }
    .msg-item { flex: none; width: 230px; background: #fff; border-color: var(--line); }
    .msg-list .tip { display: none; }
}

/* Náhled widgetu / stránky v monitoru (nahrazuje živý iframe) */
.wcard-preview { background: radial-gradient(120% 90% at 50% 0%, #f6f2ff 0%, #f1f3f9 55%, #eceff6 100%); padding: 22px 0 14px; display: flex; justify-content: center; border-bottom: 1px solid var(--line); }
.mon { width: 62%; display: flex; flex-direction: column; align-items: center; transition: transform .25s ease; }
.mon.mon-page { width: 76%; }
.wcard-preview:hover .mon { transform: translateY(-3px); }
.mon-screen { position: relative; width: 100%; aspect-ratio: 16 / 11; border: 7px solid #23202f; border-bottom-width: 11px; border-radius: 11px; background: #fff; overflow: hidden; box-shadow: 0 14px 28px -12px rgba(28, 20, 70, .35), 0 2px 0 #3a3550 inset; }
.mon.mon-page .mon-screen { aspect-ratio: 16 / 10; }
.mon-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.mon-screen .wcard-sketch { position: absolute; inset: 0; }
.mon-screen .wcard-sketch .widget-thumb { padding: 12px 14px; gap: 6px; }
.mon-screen .wcard-sketch .widget-thumb .t-grid span { height: 10px; }
.mon-neck { width: 13%; height: 14px; background: linear-gradient(#2c2838, #3d3850); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }
.mon-base { width: 30%; height: 5px; border-radius: 5px 5px 2px 2px; background: #3d3850; box-shadow: 0 6px 10px -4px rgba(28, 20, 70, .35); }
.wcard.is-off .mon-screen img, .wcard.is-off .mon-screen .wcard-sketch { filter: grayscale(.9); opacity: .55; }
.mon:not(.mon-page) .mon-screen img { object-fit: contain; object-position: top center; background: #fff; }

/* Tarif a platby: odečet při přechodu na vyšší tarif */
.upgrade-credit { display: flex; gap: .6rem; align-items: flex-start; margin: .1rem 0 .7rem; padding: .6rem .8rem; border-radius: 10px;
    background: rgba(22, 163, 74, .08); border: 1px solid rgba(22, 163, 74, .2); color: #14532d; font-size: .88rem; line-height: 1.45; }
.upgrade-credit .bi { color: #16a34a; font-size: 1.05rem; margin-top: .05rem; }
.credit-pack.is-disabled { cursor: not-allowed; }
.credit-pack.is-disabled .credit-pack-box { opacity: .55; background: #f7f7fb; }
.credit-pack-box s { text-decoration-thickness: 1px; }

/* Tarif a platby: parametry opakované platby + souhlas (GoPay) */
.recurring-params { border: 1px solid var(--line); border-radius: 12px; background: #fbfbfe; padding: .9rem 1.1rem; }
.recurring-params-title { font-weight: 700; margin-bottom: .55rem; display: flex; align-items: center; gap: .45rem; }
.recurring-params-title .bi { color: var(--primary, #4318ee); }
.recurring-params dl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: .3rem 1rem; margin: 0 0 .8rem; font-size: .88rem; }
.recurring-params dt { color: var(--muted, #6b7088); font-weight: 500; }
.recurring-params dd { margin: 0; }
.recurring-consent { display: flex; gap: .55rem; align-items: flex-start; padding: .65rem .8rem; margin: 0; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: .88rem; }
.recurring-consent .form-check-input { margin: .15rem 0 0; flex: none; float: none; }
@media (max-width: 575px) { .recurring-params dl { grid-template-columns: 1fr; } .recurring-params dt { margin-top: .35rem; } }
