:root {
    --bg: #000000;
    --surface: #141414;
    --surface-elevated: #1a1a1a;
    --sidebar-bg: #0a0a0a;
    --text: #f5f5f5;
    --muted: #9ca3af;
    --primary: #F25826;
    --primary-hover: #ff6b3d;
    --primary-muted: rgba(242, 88, 38, 0.15);
    --border: #2a2a2a;
    --error: #f87171;
    --error-bg: rgba(248, 113, 113, 0.12);
    --success: #4ade80;
    --success-bg: rgba(74, 222, 128, 0.12);
    --admin: #F25826;
    --client: #F25826;
    --staff: #fbbf24;
    --member: #4ade80;
    --sidebar-width: 260px;
    --topbar-height: 72px;
    --radius: 12px;
    --radius-sm: 8px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-hover);
}

body.sidebar-scroll-lock {
    overflow: hidden;
}

/* ── Public layout (guest pages) ── */

.public-body {
    background: var(--bg);
}

body.public-booking-page {
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-elevated: #f8fafc;
    --text: #1f2937;
    --muted: #64748b;
    --primary: #2f3f59;
    --primary-hover: #243247;
    --primary-muted: rgba(47, 63, 89, 0.12);
    --border: #e2e8f0;
    --booking-brand: #2f3f59;
    --booking-gold: #e8b423;
    --booking-gold-hover: #d4a31c;
    background: #f7f8fa;
    color: #1f2937;
    overflow-x: clip;
    max-width: 100%;
}

body.public-booking-page main.container {
    width: min(1240px, 96%);
    max-width: 100%;
    padding-top: 1.5rem;
    padding-bottom: 7.5rem;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text);
    text-decoration: none;
}

.site-header nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.site-header nav a {
    color: var(--muted);
    font-weight: 500;
}

.site-header nav a:hover {
    color: var(--primary);
    text-decoration: none;
}

main.container {
    min-height: 60vh;
    padding-bottom: 3rem;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    color: var(--muted);
    font-size: 0.9rem;
}

/* ── App shell (logged-in dashboards) ── */

.app-shell {
    display: flex;
    min-height: 100vh;
    background: var(--bg);
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    width: var(--sidebar-width);
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border);
    padding: 1.25rem 1rem;
    overflow-y: auto;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem 1.5rem;
    margin-bottom: 0.5rem;
}

.sidebar-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.sidebar-logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--primary-muted);
    color: var(--primary);
    flex-shrink: 0;
}

.sidebar-logo-mark svg {
    width: 20px;
    height: 20px;
}

.sidebar-brand-text {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.3;
    color: var(--text);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius-sm);
    color: var(--muted);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.sidebar-link:hover {
    color: var(--text);
    background: var(--surface);
    text-decoration: none;
}

.sidebar-link.active {
    background: var(--primary);
    color: #fff;
}

.sidebar-link.active:hover {
    color: #fff;
    background: var(--primary-hover);
}

.sidebar-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sidebar-link-icon svg {
    width: 18px;
    height: 18px;
}

.sidebar-link-text {
    flex: 1;
    min-width: 0;
}

.sidebar-badge {
    margin-left: auto;
    min-width: 1.35rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.sidebar-link.active .sidebar-badge {
    background: #fff;
    color: var(--primary);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.sidebar-help {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.sidebar-help-title {
    margin: 0 0 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.sidebar-help-text {
    margin: 0;
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.4;
}

.sidebar-link-logout {
    margin-top: 0.25rem;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

.app-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.app-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--topbar-height);
    padding: 1rem 1.5rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.app-topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.sidebar-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    flex-shrink: 0;
}

.sidebar-toggle svg {
    width: 20px;
    height: 20px;
}

.sidebar-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.app-topbar-titles {
    min-width: 0;
}

.app-page-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
}

.app-page-greeting {
    margin: 0.15rem 0 0;
    font-size: 0.875rem;
    color: var(--muted);
}

.app-topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.app-view-page {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.app-view-page svg {
    width: 14px;
    height: 14px;
}

.app-user-chip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.app-user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-muted);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
}

.app-user-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

.app-content {
    flex: 1;
    padding: 1.5rem;
    max-width: 1400px;
    width: 100%;
    min-width: 0;
}

.app-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.85rem;
}

.app-footer p {
    margin: 0;
}

/* Mobile sidebar */
@media (max-width: 900px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        box-shadow: none;
    }

    .app-shell.sidebar-open .sidebar {
        transform: translateX(0);
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
    }

    .app-shell.sidebar-open .sidebar-overlay {
        display: block;
    }

    .app-main {
        margin-left: 0;
    }

    .sidebar-toggle {
        display: flex;
    }

    .app-user-name {
        display: none;
    }

    .app-user-chip {
        display: none;
    }

    .app-topbar {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }

    .app-page-title {
        font-size: 1.05rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .app-page-greeting {
        display: none;
    }

    .app-view-page {
        padding: 0.4rem 0.65rem;
        font-size: 0.78rem;
    }

    .app-content {
        padding: 1rem;
    }
}

/* ── Shared components ── */

.hero {
    text-align: center;
    padding: 2rem 0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.lead {
    color: var(--muted);
    font-size: 1.1rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    text-align: left;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.card h2 {
    margin-top: 0;
}

.info-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    margin-top: 2rem;
}

.type-list {
    padding-left: 1.2rem;
    color: var(--muted);
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}

.btn:hover {
    background: var(--primary-hover);
    color: #fff;
    text-decoration: none;
}

.btn-secondary {
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    background: var(--surface);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
}

.auth-form,
.dashboard {
    max-width: 100%;
    margin: 0;
}

.auth-form {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

.auth-form h1,
.dashboard h1 {
    margin-top: 0;
}

.dashboard .dashboard-header h1 {
    font-size: 1.1rem;
    font-weight: 600;
}

.form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.form label {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 0;
}

.form label[hidden] {
    display: none !important;
}

.label-row,
.field-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.selling-mode-help {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.55rem;
    font-weight: 400;
}

.selling-mode-help-item {
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

.selling-mode-help-item.is-current {
    color: var(--text);
}

.selling-mode-help-item strong {
    font-weight: 600;
}

.field-help {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
}

.field-help-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.125rem;
    height: 1.125rem;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface-elevated);
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.field-help-trigger:hover,
.field-help-trigger[aria-expanded="true"] {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-muted);
}

.field-help-popover {
    position: absolute;
    z-index: 300;
    top: calc(100% + 0.4rem);
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: min(280px, 80vw);
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-elevated);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.45;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.field-help-popover:not([hidden]) {
    display: block;
}

.form input,
.form select,
.form textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font: inherit;
    background: var(--surface-elevated);
    color: var(--text);
    color-scheme: dark;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-muted);
}

.form input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.75;
    cursor: pointer;
}

.form input[type="range"] {
    padding: 0;
    border: none;
    border-radius: 999px;
    background: transparent;
    height: 1.5rem;
    accent-color: var(--primary);
    cursor: pointer;
}

.form input[type="range"]:focus {
    border: none;
    box-shadow: none;
}

.form input[type="checkbox"],
.form input[type="radio"] {
    width: 1.125rem;
    height: 1.125rem;
    min-width: 1.125rem;
    max-width: none;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    accent-color: var(--primary);
    cursor: pointer;
    vertical-align: middle;
}

.form input[type="checkbox"]:focus,
.form input[type="radio"]:focus {
    box-shadow: 0 0 0 3px var(--primary-muted);
}

.form label.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 500;
    cursor: pointer;
    width: fit-content;
}

.activity-active-toggle {
    width: 100%;
    max-width: none;
    align-items: flex-start;
    margin-top: 0.25rem;
    padding: 0.9rem 1rem;
    border: 1px solid color-mix(in srgb, var(--primary) 45%, var(--border));
    border-radius: var(--radius-sm);
    background: var(--primary-muted);
    font-size: 1rem;
    font-weight: 600;
}

.activity-active-toggle input[type="checkbox"] {
    width: 1.35rem;
    height: 1.35rem;
    min-width: 1.35rem;
    margin-top: 0.15rem;
}

.activity-active-toggle-copy {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.activity-active-toggle:has(input:not(:checked)) {
    border-color: color-mix(in srgb, var(--error) 40%, var(--border));
    background: var(--error-bg);
}

.form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
    min-width: 0;
}

.auth-form .form > .btn,
.auth-form .form > .btn-secondary {
    display: block;
    width: 100%;
    text-align: center;
}

.form-footer {
    margin-top: 1rem;
    color: var(--muted);
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.alert-error {
    background: var(--error-bg);
    color: var(--error);
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.alert-success {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dashboard-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background: var(--primary);
}

.badge-admin { background: var(--admin); }
.badge-client { background: var(--client); }
.badge-staff { background: var(--staff); color: #000; }
.badge-member { background: var(--member); color: #000; }

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: left;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
}

.stat-label {
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    min-width: 0;
}

.panel-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.panel-header h2 {
    margin: 0;
    font-size: 1.05rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table th,
.data-table td {
    text-align: left;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.data-table tbody tr:hover {
    background: var(--surface-elevated);
}

.detail-list {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0.5rem 1rem;
}

.detail-list dt {
    font-weight: 600;
    color: var(--muted);
}

.detail-list dd {
    margin: 0;
}

.muted {
    color: var(--muted);
}

.table-scroll {
    overflow-x: auto;
}

.data-table code {
    font-size: 0.85em;
    background: var(--surface-elevated);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.page-intro {
    margin: -0.5rem 0 1.25rem;
}

.form h2 {
    margin: 1.5rem 0 0.75rem;
    font-size: 1.1rem;
}

.form h2:first-child {
    margin-top: 0;
}

.activity-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.activity-nav a {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--muted);
    text-decoration: none;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.activity-nav a.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.activity-nav a:hover:not(.active) {
    color: var(--text);
    border-color: var(--border);
    background: var(--surface-elevated);
    text-decoration: none;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 500;
    cursor: pointer;
    width: fit-content;
}

.day-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin-bottom: 0.5rem;
}

.day-checkboxes .checkbox-label {
    font-weight: 500;
    font-size: 0.9rem;
}

.location-picker {
    border: 0;
    margin: 0 0 1.1rem;
    padding: 0;
    min-width: 0;
}

.location-picker legend {
    padding: 0;
    margin-bottom: 0.55rem;
}

.location-option {
    align-items: flex-start;
    width: 100%;
    max-width: 36rem;
    margin-bottom: 0.65rem;
}

.location-option-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.location-option-address {
    white-space: pre-line;
    font-weight: 400;
}

.location-custom {
    margin: 0.15rem 0 0.5rem 1.75rem;
    max-width: 34rem;
}

.address-field-block {
    display: grid;
    gap: 0.35rem;
}

.address-autocomplete {
    display: grid;
    gap: 0.35rem;
}

.address-autocomplete-field {
    position: relative;
}

.address-suggestions {
    position: absolute;
    z-index: 40;
    left: 0;
    right: 0;
    top: calc(100% + 0.25rem);
    margin: 0;
    padding: 0.25rem 0;
    list-style: none;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
    max-height: 16rem;
    overflow: auto;
}

.address-suggestions[hidden] {
    display: none;
}

.address-suggestions button {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    color: var(--text);
    font: inherit;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
}

.address-suggestions button:hover,
.address-suggestions button.is-active {
    background: color-mix(in srgb, var(--primary) 22%, transparent);
    color: #fff;
}

.address-coords {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.address-coords[hidden] {
    display: none;
}

.address-coords a {
    margin-left: 0.5rem;
}

.detail-list {
    display: grid;
    grid-template-columns: 10rem 1fr;
    gap: 0.55rem 1.25rem;
    margin: 0;
}

.detail-list dt {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.detail-list dd {
    margin: 0;
}

.detail-list .pre-wrap {
    white-space: pre-wrap;
}

.activity-coords {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.8rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.activity-meeting-address {
    white-space: pre-line;
    margin: 0.35rem 0 0;
}

.data-table .activity-meeting-address {
    max-width: 16rem;
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-decoration: underline;
}

.btn-link.danger {
    color: var(--error);
}

.btn-danger {
    background: #dc2626;
}

.btn-danger:hover {
    background: #b91c1c;
}

.danger-zone {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.error-page {
    text-align: center;
    padding: 4rem 0;
}

.setup-form {
    max-width: 640px;
}

.setup-form--flush {
    max-width: none;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    gap: 0;
}

.setup-form textarea {
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font: inherit;
    resize: vertical;
    background: var(--surface-elevated);
    color: var(--text);
}

.subdomain-input {
    display: flex;
    align-items: center;
    gap: 0;
}

.subdomain-input input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    flex: 1;
}

.subdomain-suffix {
    padding: 0.6rem 0.75rem;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-left: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--muted);
    font-size: 0.9rem;
    white-space: nowrap;
}

.subdomain-setup-panel {
    margin-bottom: 1.25rem;
}

.subdomain-locked-value {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0.35rem 0 0.4rem;
    word-break: break-all;
}

.subdomain-locked-value a:hover {
    text-decoration: underline;
}

.field-hint {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--muted);
}

.logo-preview {
    margin-bottom: 0.5rem;
}

.logo-preview img,
.profile-logo {
    max-width: 120px;
    max-height: 80px;
    object-fit: contain;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.25rem;
    background: var(--surface-elevated);
}

.hero-preview {
    margin-bottom: 0.5rem;
}

.hero-preview img {
    display: block;
    width: 100%;
    max-width: 28rem;
    max-height: 10rem;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-elevated);
}

.profile-summary-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.profile-summary-header h2 {
    margin: 0 0 0.25rem;
}

.header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.calendar-panel {
    padding: 1rem;
    min-width: 0;
    overflow-x: auto;
}

.activity-calendar {
    min-width: 0;
    max-width: 100%;
}

.activity-editor-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.activity-editor-main {
    min-width: 0;
    width: 100%;
}

.activity-editor-sidebar {
    position: static;
    width: 100%;
}

.calendar-panel-embed {
    padding: 1rem;
}

.calendar-embed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.calendar-embed-header h2 {
    margin: 0;
    font-size: 1rem;
}

.calendar-embed-note {
    margin: 0 0 0.75rem;
    font-size: 0.82rem;
    line-height: 1.4;
}

.calendar-legend-compact {
    margin-top: 0.75rem;
    gap: 0.75rem 1rem;
}

.activity-calendar-compact .fc-toolbar-title {
    font-size: 0.95rem;
}

.activity-calendar-compact .fc-button {
    padding: 0.25rem 0.5rem;
    font-size: 0.78rem;
}

.activity-calendar-embed .fc-event {
    font-size: 0.78rem;
}

.fc-event-schedule-preview {
    border-style: dashed !important;
    border-width: 2px !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    opacity: 0.82;
}

.fc-event-schedule-removed {
    border-style: dotted !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    opacity: 0.58;
}

.fc-event-schedule-removed .fc-slot-time {
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.fc-slot-pending {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.2;
    opacity: 0.95;
}

.fc-slot-removed {
    color: #e5e7eb;
}

.fc-slot-attention {
    color: #fecaca;
}

.calendar-legend-swatch.scheduled {
    background: transparent;
    border: 1px dashed var(--muted);
}

.calendar-legend-swatch.removed {
    background: transparent;
    border: 1px dotted var(--muted);
    opacity: 0.7;
}

.schedule-table .inline-form {
    flex-wrap: wrap;
    gap: 0.35rem;
}

.calendar-schedules-panel h2 {
    margin-top: 0;
}

.schedule-summary-list {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--muted);
}

.schedule-summary-list li + li {
    margin-top: 0.35rem;
}

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: 0.4rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.calendar-legend-group {
    margin-top: 1rem;
}

.calendar-legend-heading {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--muted);
}

.calendar-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.calendar-legend-swatch {
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 3px;
    display: inline-block;
    flex-shrink: 0;
}

.calendar-legend-swatch.available { background: #F25826; }
.calendar-legend-swatch.sold-out { background: #b45309; }
.calendar-legend-swatch.closed { background: #374151; }
.calendar-legend-swatch.cancelled { background: #7f1d1d; }

.activity-calendar .fc {
    --fc-border-color: var(--border);
    --fc-page-bg-color: transparent;
    --fc-neutral-bg-color: var(--surface-elevated);
    --fc-list-event-hover-bg-color: var(--surface-elevated);
    --fc-today-bg-color: rgba(242, 88, 38, 0.08);
    color: var(--text);
    max-width: 100%;
}

.activity-calendar .fc-header-toolbar,
.activity-calendar .fc-footer-toolbar {
    flex-wrap: wrap;
    gap: 0.45rem 0.35rem;
    margin-bottom: 0.75rem;
}

.activity-calendar .fc-toolbar-chunk {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
}

.activity-calendar .fc-view-harness {
    max-width: 100%;
}

.activity-calendar .fc-daygrid-day-frame,
.activity-calendar .fc-daygrid-event-harness,
.activity-calendar .fc-event-main,
.activity-calendar .fc-event-main-frame {
    min-width: 0;
    max-width: 100%;
}

.activity-calendar .fc-more-link,
.activity-calendar .fc-daygrid-more-link {
    color: var(--primary);
    font-weight: 600;
}

.activity-calendar .fc-daygrid .fc-scrollgrid,
.activity-calendar .fc-daygrid .fc-scrollgrid table {
    width: 100% !important;
    table-layout: fixed;
}

.activity-calendar .fc-button-group {
    flex-wrap: wrap;
}

.activity-calendar .fc-theme-standard td,
.activity-calendar .fc-theme-standard th {
    border-color: var(--border);
}

.activity-calendar .fc-col-header-cell-cushion,
.activity-calendar .fc-daygrid-day-number,
.activity-calendar .fc-toolbar-title {
    color: var(--text);
    text-decoration: none;
}

.activity-calendar .fc-button {
    background: var(--surface-elevated);
    border-color: var(--border);
    color: var(--text);
    text-transform: capitalize;
}

.activity-calendar .fc-button:hover,
.activity-calendar .fc-button:focus {
    background: var(--surface);
    border-color: var(--primary);
    color: var(--primary);
}

.activity-calendar .fc-button-primary:not(:disabled).fc-button-active,
.activity-calendar .fc-button-primary:not(:disabled):active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.activity-calendar .fc-daygrid-day.fc-day-today {
    background: rgba(242, 88, 38, 0.08);
}

.activity-calendar a.fc-event,
.activity-calendar a.fc-event:hover {
    color: inherit;
    text-decoration: none;
}

.activity-calendar .fc-event {
    cursor: pointer;
    border-radius: 6px;
    padding: 3px 4px 4px;
    font-size: 0.78rem;
    color: #fff;
}

.activity-calendar .fc-daygrid-event-dot {
    display: none;
}

.fc-slot-event {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    width: 100%;
}

.fc-slot-head {
    display: flex;
    align-items: flex-start;
    gap: 0.15rem;
    min-width: 0;
}

.fc-slot-time {
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: inherit;
    flex: 1;
    min-width: 0;
}

.fc-slot-menu-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    margin: -0.1rem -0.15rem 0 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.22);
    color: inherit;
    cursor: pointer;
    opacity: 0.88;
    line-height: 0;
}

.fc-slot-menu-btn:hover,
.fc-slot-menu-btn:focus-visible {
    opacity: 1;
    background: rgba(0, 0, 0, 0.42);
    outline: none;
}

.slot-action-menu {
    position: fixed;
    z-index: 5000;
    min-width: 12.5rem;
    padding: 0.3rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface-elevated);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.slot-action-menu__item {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.5rem 0.7rem;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
}

.slot-action-menu__item:hover,
.slot-action-menu__item:focus-visible {
    background: var(--primary-muted);
    outline: none;
}

.slot-action-menu__item.is-danger {
    color: var(--error);
}

.slot-action-menu__sep {
    height: 1px;
    margin: 0.25rem 0.4rem;
    background: var(--border);
}

.fc-slot-capacity {
    position: relative;
    height: 0.95rem;
    border-radius: 999px;
    border: 1px solid #111;
    background: #fff;
    overflow: hidden;
}

.fc-slot-capacity-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background: #dc2626;
    border-radius: 999px;
}

.fc-slot-capacity-label {
    position: relative;
    z-index: 1;
    display: block;
    text-align: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: #111;
    line-height: 0.95rem;
}

.activity-calendar-compact .fc-slot-capacity {
    height: 0.8rem;
}

.activity-calendar-compact .fc-slot-capacity-label {
    font-size: 0.58rem;
    line-height: 0.8rem;
}

.activity-calendar-compact .fc-slot-menu-btn {
    width: 1rem;
    height: 1rem;
}

@media (max-width: 720px) {
    .calendar-panel {
        padding: 0.55rem;
    }

    .activity-calendar .fc-header-toolbar,
    .activity-calendar .fc-footer-toolbar {
        margin-bottom: 0.55rem;
    }

    .activity-calendar .fc-toolbar-title {
        font-size: 1rem;
        line-height: 1.25;
    }

    .activity-calendar .fc-button {
        padding: 0.28rem 0.5rem;
        font-size: 0.78rem;
    }

    .activity-calendar .fc-footer-toolbar .fc-toolbar-chunk:first-child {
        width: 100%;
    }

    .activity-calendar .fc-footer-toolbar .fc-button-group {
        display: flex;
        width: 100%;
        flex-wrap: nowrap;
    }

    .activity-calendar .fc-footer-toolbar .fc-button {
        flex: 1 1 0;
    }

    .activity-calendar .fc-col-header-cell-cushion {
        padding: 0.2rem 0;
        font-size: 0.72rem;
    }

    .activity-calendar .fc-daygrid-day-number {
        font-size: 0.72rem;
        padding: 2px 3px;
    }

    .activity-calendar .fc-event {
        padding: 2px 3px 3px;
        font-size: 0.68rem;
        border-radius: 4px;
    }

    .activity-calendar:not(.activity-calendar-compact) .fc-daygrid-event .fc-slot-menu-btn {
        display: none;
    }

    .activity-calendar .fc-daygrid-event .fc-slot-capacity {
        height: 0.82rem;
    }

    .activity-calendar .fc-daygrid-event .fc-slot-capacity-label {
        font-size: 0.58rem;
        line-height: 0.82rem;
    }

    .activity-calendar .fc-daygrid-event .fc-slot-pending {
        font-size: 0.55rem;
    }

    .activity-calendar .fc-timegrid {
        overflow-x: auto;
    }
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wizard-progress {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.wizard-step {
    flex: 1;
    min-width: 8rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--muted);
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    text-decoration: none;
}

a.wizard-step:hover {
    color: var(--text);
    border-color: var(--primary);
    text-decoration: none;
}

.wizard-step.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.wizard-step.is-done {
    color: var(--text);
    border-color: color-mix(in srgb, var(--primary) 55%, var(--border));
}

.wizard-step-label {
    margin: 0 0 1.25rem;
}

.wizard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1.5rem;
}

.schedule-preview-box {
    margin: 0.25rem 0 0.35rem;
    padding: 1rem 1.1rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-elevated);
    min-width: 0;
}

.schedule-preview-title {
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.schedule-preview-help {
    margin: 0 0 0.85rem;
    font-size: 0.85rem;
}

.schedule-preview-empty {
    margin: 0;
}

.schedule-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.schedule-preview-time {
    display: inline-block;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.schedule-preview-count {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
}

.add-times-choice {
    border: 0;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.add-times-choice legend {
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.add-times-times {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.add-times-time-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.add-times-advanced {
    margin-top: 0.75rem;
}

.add-times-participants {
    display: grid;
    gap: 0.85rem;
}

.add-times-participant {
    display: grid;
    gap: 0.65rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.pattern-list {
    display: grid;
    gap: 0.85rem;
}

.pattern-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    background: var(--surface);
}

.pattern-card h3,
.pattern-card p {
    margin: 0 0 0.35rem;
}

.pattern-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.25rem;
    align-items: center;
    margin-top: 0.75rem;
}

.pattern-card-actions form {
    margin: 0;
}

.add-times-cancel {
    margin: 0.85rem 0 0;
}

.suggestion-banner h2 {
    margin-top: 0;
}

.availability-add {
    margin: -0.55rem 0 1.15rem;
}

.availability-add .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.availability-add .btn svg {
    width: 1.05rem;
    height: 1.05rem;
    flex: none;
}

.availability-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.25rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.availability-views,
.availability-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 0.9rem;
    align-items: center;
}

.availability-actions form,
.availability-filter {
    margin: 0;
}

.availability-impact {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
}

.ai-assist {
    margin-bottom: 1.25rem;
    padding: 1rem;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: var(--surface-elevated);
}

.ai-prompt {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font: inherit;
    background: var(--surface-elevated);
    color: var(--text);
    color-scheme: dark;
    resize: vertical;
}

.ai-prompt:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-muted);
}

.ai-prompt::placeholder {
    color: var(--muted);
}

.ai-assist-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.ai-ptt {
    user-select: none;
    touch-action: none;
}

.ai-ptt.is-recording {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

.ai-ptt.is-recording:hover {
    background: #b91c1c;
    border-color: #b91c1c;
    color: #fff;
}

.ai-status {
    margin: 0.6rem 0 0;
}

.ai-status-error {
    color: var(--error);
}

.ai-unconfigured {
    margin-bottom: 1rem;
}

.ai-edit-panel .ai-assist {
    margin-bottom: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.ai-edit-preview {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.ai-edit-summary {
    margin: 0 0 0.6rem;
    font-weight: 600;
}

.ai-edit-actions {
    margin: 0 0 0.85rem;
    padding-left: 1.2rem;
}

.ai-edit-actions li {
    margin: 0.25rem 0;
}

.queue-move-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.queue-move-form select {
    min-width: 12rem;
}

.queue-move-empty {
    margin: 0;
    max-width: 16rem;
}

.queue-alert {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    border-color: var(--primary);
}

.queue-alert p {
    margin: 0;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .panel-row {
        grid-template-columns: 1fr;
    }

    .detail-list {
        grid-template-columns: 1fr;
        gap: 0.15rem 0;
    }

    .detail-list dt {
        margin-top: 0.5rem;
    }
}

@media (max-width: 400px) {
    .stat-grid {
        grid-template-columns: 1fr;
    }
}

/* Public customer booking */
.public-booking {
    background: transparent;
    color: #1f2937;
    padding: 0.25rem 0 1rem;
    min-width: 0;
    max-width: 100%;
}

.public-booking-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.4rem;
    min-width: 0;
    max-width: 100%;
}

.public-booking-header.is-compact {
    align-items: center;
    margin-bottom: 1.75rem;
}

.booking-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    max-width: 100%;
    color: #2f3f59;
    text-decoration: none;
    font-weight: 700;
}

.booking-brand:hover {
    color: #2f3f59;
    text-decoration: none;
}

.booking-brand-mark {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    overflow: hidden;
    background: #2f3f59;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.booking-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booking-brand-name {
    font-size: 1.05rem;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-booking-title-block {
    min-width: 0;
}

.public-booking-intro,
.public-booking-guide {
    margin: 0 0 1.25rem;
    color: #475569;
    max-width: 42rem;
}

.public-booking-guide {
    margin-top: -0.35rem;
    font-size: 1rem;
    line-height: 1.45;
}

.public-activity-book {
    display: inline-block;
    margin-top: 0.55rem;
    color: #2f3f59;
    font-weight: 600;
}

.public-booking-client {
    margin: 0.35rem 0 0;
    color: #94a3b8;
    font-size: 0.95rem;
}

.public-booking-client a {
    color: inherit;
}

.public-booking-client a:hover {
    color: #2f3f59;
}

.public-booking h1 {
    margin: 0;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #2f3f59;
}

.public-booking-home-logo {
    margin: 0;
    line-height: 1;
}

.public-booking-home-logo a {
    display: inline-block;
    line-height: 0;
}

.public-booking-home-logo img {
    display: block;
    height: clamp(3rem, 8vw, 4.75rem);
    width: auto;
    max-width: min(22rem, 70vw);
    object-fit: contain;
    object-position: left center;
}

.booking-stepper {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0;
    min-width: 0;
    max-width: 100%;
}

.public-booking-header.is-compact .booking-stepper {
    margin: 0;
}

.booking-stepper-step {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.booking-stepper-step:not(:first-child)::before {
    content: "";
    width: 2.4rem;
    border-top: 1.5px dashed #cbd5e1;
}

.booking-stepper-step > a,
.booking-stepper-step > span {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: inherit;
    text-decoration: none;
}

.booking-stepper-num {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1.5px solid #cbd5e1;
    color: #94a3b8;
    background: #fff;
}

.booking-stepper-num svg {
    width: 0.85rem;
    height: 0.85rem;
}

.booking-stepper-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: #94a3b8;
}

.booking-stepper-step.is-current .booking-stepper-num,
.booking-stepper-step.is-done .booking-stepper-num {
    background: #2f3f59;
    border-color: #2f3f59;
    color: #fff;
}

.booking-stepper-step.is-current .booking-stepper-label,
.booking-stepper-step.is-done .booking-stepper-label {
    color: #2f3f59;
}

.public-booking-body {
    display: grid;
    grid-template-columns: minmax(260px, 320px) 1fr;
    gap: 1.5rem;
    align-items: start;
}

.public-booking-sidebar {
    display: grid;
    gap: 1rem;
}

.public-booking-side-card,
.public-booking-day,
.public-booking-panel {
    background: #fff;
    color: #1f2937;
    border: 1px solid #e6e8ee;
    border-radius: 12px;
    padding: 1rem 1.05rem;
}

.public-booking-side-title {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #2f3f59;
}

.public-booking-panel-title {
    margin: 0 0 0.85rem;
    font-size: 1.2rem;
    color: #2f3f59;
}

.public-booking-step-head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.public-booking-step-head .public-booking-side-title,
.public-booking-step-head .public-booking-panel-title {
    margin: 0;
    font-size: 1.05rem;
}

.public-booking-step-num {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #2f3f59;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}

.public-booking-step-hint {
    margin: 0.3rem 0 0;
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.4;
}

.public-booking-date-summary {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.public-booking-date-summary-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.public-booking-date-summary-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.public-booking-date-nav {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.public-booking-date-summary strong {
    flex: 1;
    min-width: 0;
    display: block;
    text-align: center;
    color: #2f3f59;
    font-size: 1.02rem;
    line-height: 1.3;
}

.public-booking-date-shift {
    flex-shrink: 0;
    width: 2.15rem;
    height: 2.15rem;
    border: 1px solid #2f3f59;
    background: #fff;
    color: #2f3f59;
    border-radius: 999px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.public-booking-date-summary .public-booking-date-shift {
    width: auto;
    height: auto;
    flex-direction: column;
    gap: 0.28rem;
    border: 0;
    background: transparent;
    border-radius: 0;
    color: #2f3f59;
}

.public-booking-date-shift svg {
    width: 1.05rem;
    height: 1.05rem;
    display: block;
}

.public-booking-date-summary .public-booking-date-shift svg {
    width: 2.4rem;
    height: 2.4rem;
    padding: 0.58rem;
    border: 1.5px solid #2f3f59;
    border-radius: 999px;
    background: #fff;
    box-sizing: border-box;
}

.public-booking-date-shift-label {
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.15;
    color: #94a3b8;
    white-space: nowrap;
}

.public-booking-date-shift:hover:not(:disabled) {
    background: #2f3f59;
    color: #fff;
}

.public-booking-date-summary .public-booking-date-shift:hover:not(:disabled) {
    background: transparent;
    color: #2f3f59;
}

.public-booking-date-summary .public-booking-date-shift:hover:not(:disabled) svg {
    background: #2f3f59;
    color: #fff;
}

.public-booking-date-shift:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.public-booking-day-nav {
    display: flex;
    align-items: center;
    align-self: center;
    gap: 0.4rem;
    margin-left: auto;
    flex-shrink: 0;
}

.public-booking-step-copy {
    flex: 1;
    min-width: 0;
}

.public-booking-change-date {
    flex-shrink: 0;
    border: 1px solid #2f3f59;
    background: #fff;
    color: #2f3f59;
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.public-booking-change-date:hover {
    background: #2f3f59;
    color: #fff;
}

.public-booking-date-summary + .public-booking-calendar-wrap {
    margin-top: 0.9rem;
}

.public-booking-filters {
    margin: 0 0 0.85rem;
}

.public-booking-filters-label {
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.public-booking-empty {
    display: grid;
    gap: 0.75rem;
    justify-items: start;
    padding: 0.4rem 0 0.2rem;
}

.public-booking-empty p {
    margin: 0;
    color: #64748b;
}

.booking-slot-when {
    margin: 0 0 0.75rem;
    color: #2f3f59;
    font-size: 1rem;
    font-weight: 700;
}

.booking-slot-choose-qty {
    margin: 0 0 0.35rem;
    color: #2f3f59;
    font-size: 0.82rem;
    font-weight: 700;
}

.public-booking-extras {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.public-booking-help {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid #e6e8ee;
    border-radius: 12px;
}

.public-booking .fc {
    --fc-border-color: transparent;
    --fc-page-bg-color: transparent;
    --fc-today-bg-color: transparent;
}

.public-booking .fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 0.4rem;
}

.public-booking .fc .fc-toolbar-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2f3f59;
}

.public-booking .fc-theme-standard td,
.public-booking .fc-theme-standard th,
.public-booking .fc-theme-standard .fc-scrollgrid {
    border: 0;
}

.public-booking .fc-col-header-cell-cushion {
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    padding: 0.25rem 0;
}

.public-booking .fc-daygrid-day {
    cursor: pointer;
}

.public-booking .fc-daygrid-day-frame {
    min-height: 2.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.public-booking .fc-daygrid-day-events {
    display: none;
}

.public-booking .fc-daygrid-day-number {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: none;
    padding: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
}

.public-booking .fc-daygrid-day.is-bookable .fc-daygrid-day-frame::after {
    content: "";
    position: absolute;
    bottom: 0.12rem;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--booking-gold);
}

.public-booking .fc-daygrid-day-frame {
    position: relative;
}

.public-booking .fc-daygrid-day.fc-day-today .fc-daygrid-day-number {
    background: #f8e7a8;
    color: #2f3f59;
}

.public-booking .fc-daygrid-day.is-selected .fc-daygrid-day-number,
.public-booking .fc-daygrid-day.is-selected.fc-day-today .fc-daygrid-day-number {
    background: #2f3f59;
    color: #fff;
}

.public-booking .fc .fc-button-primary {
    background: transparent;
    border: 0;
    color: #2f3f59;
    box-shadow: none;
    padding: 0.15rem 0.35rem;
}

.public-booking .fc .fc-button-primary:hover,
.public-booking .fc .fc-button-primary:not(:disabled).fc-button-active,
.public-booking .fc .fc-button-primary:not(:disabled):active {
    background: #f1f5f9;
    color: #2f3f59;
}

.public-booking-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.public-booking-chip {
    border: 1px solid #d5dae3;
    background: #fff;
    color: #2f3f59;
    border-radius: 999px;
    padding: 0.38rem 0.85rem;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
}

.public-booking-chip:hover {
    border-color: #2f3f59;
}

.public-booking-chip.is-active {
    background: #2f3f59;
    border-color: #2f3f59;
    color: #fff;
}

.public-booking-timezone {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #64748b;
    font-size: 0.84rem;
}

.public-booking-timezone svg,
.public-booking-help-icon svg,
.public-booking-date-banner svg {
    width: 1.1rem;
    height: 1.1rem;
    display: block;
    flex-shrink: 0;
}

.public-booking-promo-card {
    display: block;
    position: relative;
    overflow: hidden;
    min-height: 9.5rem;
    border-radius: 12px;
    background: #2f3f59;
    color: #fff;
    text-decoration: none;
}

.public-booking-promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    opacity: 0.55;
}

.public-booking-promo-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.25rem;
    min-height: 9.5rem;
    padding: 1rem;
}

.public-booking-promo-copy strong {
    font-size: 1.15rem;
}

.public-booking-promo-copy span {
    color: var(--booking-gold);
    font-weight: 600;
    font-size: 0.88rem;
}

.public-booking-help-icon {
    color: #2f3f59;
}

.public-booking-help strong {
    display: block;
    color: #2f3f59;
}

.public-booking-help a {
    color: #2f3f59;
    font-weight: 600;
    font-size: 0.88rem;
}

.public-booking-day {
    padding: 1.1rem 1.15rem 1.25rem;
    min-height: 18rem;
}

.public-booking-date-banner {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1.15rem;
    padding: 0.7rem 0.9rem;
    background: #f3f4f6;
    border-radius: 8px;
    color: #2f3f59;
    font-weight: 700;
}

.public-booking-activity-group {
    margin-bottom: 1.6rem;
}

.public-booking-activity-heading {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin: 0 0 0.85rem;
}

.public-booking-activity-heading h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #2f3f59;
}

.public-booking-activity-heading p {
    margin: 0.2rem 0 0;
    color: #64748b;
    font-size: 0.88rem;
}

.public-booking-activity-icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: #e8eef8;
    color: #3b6ea5;
}

.public-booking-activity-icon.icon-1 {
    background: #fde7d4;
    color: #F25826;
}

.public-booking-activity-icon.icon-2 {
    background: #e4f4ee;
    color: #0f766e;
}

.public-booking-activity-icon.icon-3 {
    background: #f8edd0;
    color: #b45309;
}

.public-booking-activity-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.public-booking-activity-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.public-booking-slots {
    display: grid;
    gap: 0.9rem;
}

.public-booking-count-banner {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    padding: 0.7rem 0.9rem;
    background: #f3f4f6;
    border-radius: 12px;
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 600;
}

.public-booking-count-banner svg {
    width: 1.1rem;
    height: 1.1rem;
    color: #2f3f59;
}

.public-booking-choice {
    background: #fff;
    border: 1px solid #e6e8ee;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.public-booking-choice-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    overflow: hidden;
}

.public-booking-media-viewport {
    height: 100%;
    overflow: hidden;
    touch-action: pan-y;
}

.public-booking-media-track {
    display: flex;
    height: 100%;
    transition: transform 0.28s ease;
}

.public-booking-media-slide {
    flex: 0 0 100%;
    height: 100%;
    background: #1e293b;
}

.public-booking-choice-media img,
.public-booking-choice-fallback,
.public-booking-media-slide img,
.public-booking-media-missing {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
}

.public-booking-media-missing {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #1e293b;
}

.public-booking-media-missing svg {
    width: 2.4rem;
    height: 2.4rem;
}

.public-booking-choice-media[data-media-gallery]::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.55), transparent);
    pointer-events: none;
}

.public-booking-media-expand,
.public-booking-media-arrow,
.public-booking-media-watch,
.public-booking-media-count {
    position: absolute;
    z-index: 2;
    border: 0;
    color: #fff;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(6px);
}

.public-booking-media-expand {
    top: 0.7rem;
    right: 0.7rem;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.public-booking-media-expand svg {
    width: 1.05rem;
    height: 1.05rem;
}

.public-booking-media-arrow {
    top: 50%;
    width: 2.15rem;
    height: 2.15rem;
    margin-top: -1.05rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.public-booking-media-arrow.is-prev {
    left: 0.65rem;
}

.public-booking-media-arrow.is-next {
    right: 0.65rem;
}

.public-booking-media-arrow svg {
    width: 1.15rem;
    height: 1.15rem;
}

.public-booking-media-watch {
    left: 0.7rem;
    bottom: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.38rem 0.7rem 0.38rem 0.55rem;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.public-booking-media-watch svg {
    width: 0.85rem;
    height: 0.85rem;
}

.public-booking-media-watch[hidden] {
    display: none !important;
}

.public-booking-media-count {
    right: 0.7rem;
    bottom: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    border-radius: 999px;
    padding: 0.32rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
}

.public-booking-media-count svg {
    width: 0.9rem;
    height: 0.9rem;
}

.public-booking-media-dots {
    position: absolute;
    left: 50%;
    bottom: 2.55rem;
    z-index: 2;
    display: flex;
    gap: 0.28rem;
    transform: translateX(-50%);
    pointer-events: auto;
}

.public-booking-media-dot {
    width: 0.42rem;
    height: 0.42rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.public-booking-media-dot.is-active {
    background: #fff;
}

.public-booking-choice-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 1rem;
    margin: 0.7rem 0 0;
    color: #64748b;
    font-size: 0.88rem;
}

.public-booking-choice-details span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.public-booking-choice-details svg {
    width: 1.05rem;
    height: 1.05rem;
}

.public-booking-choice-gallery-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    margin-top: 0.85rem;
    border: 1.5px solid #2f3f59;
    background: #fff;
    color: #2f3f59;
    border-radius: 12px;
    padding: 0.72rem 0.9rem;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    text-align: left;
}

.public-booking-choice-gallery-link span:last-child {
    margin-left: auto;
    font-weight: 700;
}

.public-booking-choice-gallery-link svg {
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
}

.public-booking-choice-gallery-link:hover {
    background: #2f3f59;
    color: #fff;
}

body.has-booking-lightbox {
    overflow: hidden;
}

.booking-media-lightbox {
    position: fixed;
    inset: 0;
    z-index: 5200;
    display: flex;
    flex-direction: column;
    background: #0b1220;
    color: #fff;
}

.booking-media-lightbox[hidden] {
    display: none;
}

.booking-media-lightbox-head {
    display: grid;
    grid-template-columns: 2.6rem 1fr 2.6rem;
    align-items: center;
    min-height: 3.4rem;
    padding: 0.35rem 0.75rem;
}

.booking-media-lightbox-head p {
    margin: 0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
}

.booking-media-lightbox-close {
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.booking-media-lightbox-close svg {
    width: 1.25rem;
    height: 1.25rem;
}

.booking-media-lightbox-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0 3.4rem 0.5rem;
    touch-action: pan-y;
}

.booking-media-lightbox-stage img,
.booking-media-lightbox-stage video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.booking-media-lightbox-arrow {
    position: absolute;
    top: 46%;
    width: 2.5rem;
    height: 2.5rem;
    margin-top: -1.25rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.booking-media-lightbox-arrow.is-prev {
    left: 0.7rem;
}

.booking-media-lightbox-arrow.is-next {
    right: 0.7rem;
}

.booking-media-lightbox-arrow svg {
    width: 1.3rem;
    height: 1.3rem;
}

.booking-media-lightbox-arrow[hidden] {
    display: none !important;
}

.booking-media-lightbox-thumbs {
    display: flex;
    gap: 0.55rem;
    justify-content: center;
    overflow-x: auto;
    padding: 0.7rem 1rem 1.1rem;
}

.booking-media-lightbox-thumbs[hidden] {
    display: none !important;
}

.booking-media-lightbox-thumb {
    position: relative;
    flex: 0 0 4.6rem;
    width: 4.6rem;
    height: 3.1rem;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: #1e293b;
    cursor: pointer;
}

.booking-media-lightbox-thumb.is-active {
    border-color: #fff;
}

.booking-media-lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.booking-media-lightbox-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(15, 23, 42, 0.28);
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .public-booking-media-arrow {
        display: none;
    }
}

.public-booking-choice-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2f3f59;
    background: #e8eef8;
}

.public-booking-choice-fallback svg {
    width: 2.4rem;
    height: 2.4rem;
}

.public-booking-choice-fallback.icon-1 {
    background: #fde7d4;
    color: #F25826;
}

.public-booking-choice-fallback.icon-2 {
    background: #e4f4ee;
    color: #0f766e;
}

.public-booking-choice-fallback.icon-3 {
    background: #f8edd0;
    color: #b45309;
}

.public-booking-choice-body {
    padding: 1rem 1.05rem 1.1rem;
}

.public-booking-choice-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.public-booking-choice-title h3 {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: 1.22rem;
    line-height: 1.25;
    color: #2f3f59;
}

.public-booking-choice-avail {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: #e8f7ee;
    color: #16794a;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.public-booking-choice-avail-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #22c55e;
}

.public-booking-choice-avail.is-empty {
    background: #f1f5f9;
    color: #64748b;
}

.public-booking-choice-desc {
    margin: 0.45rem 0 0;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.public-booking-choice.is-desc-open .public-booking-choice-desc {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
}

.public-booking-choice-desc-more {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    margin: 0.35rem 0 0;
    border: 0;
    background: transparent;
    color: #2f3f59;
    padding: 0;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
}

.public-booking-choice-desc-more[hidden] {
    display: none !important;
}

.public-booking-choice-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem 0.85rem;
    margin-top: 0.95rem;
    padding-top: 0.85rem;
    border-top: 1px solid #eef0f4;
}

.public-booking-choice-facts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0;
    min-width: 0;
    flex: 1 1 12rem;
    color: #2f3f59;
    font-size: 0.86rem;
}

.public-booking-choice-facts > span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.public-booking-choice-facts > span + span {
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 1px solid #e6e8ee;
}

.public-booking-choice-facts svg {
    width: 1.05rem;
    height: 1.05rem;
    color: #64748b;
}

.public-booking-choice-empty {
    margin-top: 0.95rem;
    padding: 1.45rem 1.1rem 1.15rem;
    background: #f3f6fb;
    border-radius: 16px;
    text-align: center;
}

.public-booking-choice-empty-icon {
    display: inline-flex;
    color: #94a3b8;
}

.public-booking-choice-empty-icon svg {
    width: 2.1rem;
    height: 2.1rem;
}

.public-booking-choice-empty h4 {
    margin: 0.55rem 0 0.3rem;
    color: #2f3f59;
    font-size: 1.12rem;
    font-weight: 800;
}

.public-booking-choice-empty p {
    margin: 0 auto;
    max-width: 22rem;
    color: #7b8798;
    font-size: 0.92rem;
    line-height: 1.45;
}

.public-booking-choice-empty-check {
    width: 100%;
    margin: 1.05rem 0 0.75rem;
    border: 1.5px solid #2f3f59;
    background: #fff;
    color: #2f3f59;
    border-radius: 12px;
    padding: 0.78rem 1rem;
    font: inherit;
    font-size: 0.96rem;
    font-weight: 800;
    cursor: pointer;
}

.public-booking-choice-empty-check:hover {
    background: #2f3f59;
    color: #fff;
}

.public-booking-choice-empty-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    color: #2f3f59;
    font-size: 0.88rem;
    font-weight: 700;
}

.public-booking-choice-empty-nav button {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 700;
    padding: 0.2rem 0.1rem;
    cursor: pointer;
}

.public-booking-choice-empty-nav button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.public-booking-choice-from {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.95rem 0 0;
    padding-top: 0.9rem;
    border-top: 1px solid #eef0f4;
    color: #8b97a8;
    font-size: 0.95rem;
}

.public-booking-choice-from svg {
    width: 1.05rem;
    height: 1.05rem;
}

.public-booking-choice-from strong {
    color: #64748b;
    font-weight: 700;
}

.public-booking-choice-cta {
    flex: 1 1 8.5rem;
    border: 0;
    border-radius: 10px;
    padding: 0.7rem 1rem;
    background: var(--booking-gold);
    color: #2f3f59;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
}

a.public-booking-choice-cta {
    text-decoration: none;
}

.public-booking-choice-cta:hover {
    background: var(--booking-gold-hover);
}

.public-booking-choice-times {
    display: none;
    margin-top: 0.95rem;
    padding-top: 0.85rem;
    border-top: 1px solid #eef0f4;
}

.public-booking-choice.is-times-open .public-booking-choice-times {
    display: block;
}

.public-booking-choice-times-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.public-booking-choice-times-toggle {
    width: 1.8rem;
    height: 1.8rem;
    border: 0;
    background: transparent;
    color: #94a3b8;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.public-booking-choice-times-toggle svg {
    width: 1.05rem;
    height: 1.05rem;
    transform: rotate(180deg);
}

.public-booking-choice:not(.is-times-open) .public-booking-choice-times-toggle svg {
    transform: none;
}

.public-booking-choice-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.public-booking-time-chip,
.public-booking-time-more {
    white-space: nowrap;
    border: 1px solid #e6e8ee;
    background: #fff;
    color: #2f3f59;
    border-radius: 999px;
    padding: 0.4rem 0.7rem;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
}

.public-booking-time-chip.is-active {
    border-color: #2f3f59;
    background: #2f3f59;
    color: #fff;
}

.public-booking-time-chip.is-overflow,
.public-booking-choice.is-all-times .public-booking-time-more {
    display: none;
}

.public-booking-choice.is-all-times .public-booking-time-chip.is-overflow {
    display: inline-flex;
}

.public-booking-time-more {
    border-color: transparent;
    color: #64748b;
    padding-left: 0.35rem;
}

.public-booking-choice-panel {
    margin-top: 0.95rem;
    padding-top: 0.85rem;
    border-top: 1px solid #eef0f4;
}

.booking-slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(8.4rem, 1fr));
    gap: 0.7rem;
}

.booking-slot-card {
    border: 1px solid #e6e8ee;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    min-height: 7.6rem;
}

.booking-slot-toggle {
    width: 100%;
    min-height: 7.6rem;
    background: #fff;
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.8rem 0.5rem 0.65rem;
    font: inherit;
    color: #1f2937;
    cursor: pointer;
}

.booking-slot-toggle strong {
    font-size: 0.95rem;
    color: #2f3f59;
}

.booking-slot-clock,
.booking-slot-chevron {
    color: #94a3b8;
}

.booking-slot-clock svg,
.booking-slot-chevron svg,
.booking-add-btn svg {
    width: 1rem;
    height: 1rem;
    display: block;
}

.booking-slot-spots {
    font-size: 0.75rem;
    color: #64748b;
}

.booking-slot-card.is-open {
    grid-column: 1 / -1;
    min-height: 0;
}

.booking-slot-card.is-open .booking-slot-toggle {
    min-height: 0;
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
}

.booking-slot-card.is-open .booking-slot-spots {
    margin-left: auto;
}

.booking-slot-card.is-open .booking-slot-chevron {
    transform: rotate(180deg);
}

.booking-slot-panel {
    padding: 0 1rem 1rem;
    background: #fff;
    border-top: 1px solid #eef0f4;
}

.booking-slot-expanded {
    display: grid;
    grid-template-columns: 1fr minmax(11rem, 14rem);
    gap: 1rem;
    align-items: start;
}

.booking-type-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.8rem;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px solid #eef0f4;
}

.booking-type-row p {
    margin: 0.15rem 0 0;
    color: #64748b;
    font-size: 0.86rem;
}

.booking-type-price {
    font-weight: 700;
    color: #2f3f59;
}

.booking-type-row label {
    font-size: 0.78rem;
    color: #64748b;
}

.booking-type-row select {
    display: block;
    width: 5.2rem;
    margin-top: 0.2rem;
    padding: 0.35rem 0.4rem;
    border: 1px solid #d5dae3;
    border-radius: 8px;
    background: #fff;
    font: inherit;
}

.booking-slot-summary {
    background: #eef3f8;
    border-radius: 10px;
    padding: 0.9rem;
}

.booking-slot-summary p {
    display: flex;
    justify-content: space-between;
    margin: 0 0 0.75rem;
    color: #2f3f59;
    font-weight: 600;
}

.booking-add-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0;
}

.booking-slot-message {
    margin: 0.5rem 0 0;
    color: #0f766e;
    font-size: 0.85rem;
}

.booking-slot-message.is-error {
    color: #b91c1c;
}

.booking-cart-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    z-index: 40;
    background: #2f3f59;
    color: #fff;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.18);
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
    padding-bottom: env(safe-area-inset-bottom);
    box-sizing: border-box;
}

.booking-cart-bar-inner {
    width: min(1240px, 100%);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1rem;
    padding: 0.85rem 0;
    min-width: 0;
}

.booking-cart-bar-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    min-width: 0;
    flex: 1 1 auto;
}

.booking-cart-bar-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.booking-cart-bar-icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

.booking-cart-bar-copy {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.1rem 0.45rem;
    min-width: 0;
}

.booking-cart-bar-summary strong,
.booking-cart-bar-total {
    display: inline;
}

.booking-cart-bar-dot {
    color: #9aa8bc;
}

.booking-cart-bar-total {
    color: #dbe3ee;
    font-size: 0.92rem;
}

.booking-cart-bar-cta {
    background: var(--booking-gold);
    color: #2f3f59;
    font-weight: 800;
    border: 0;
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font: inherit;
    cursor: pointer;
    flex: 0 0 auto;
    min-width: 0;
    max-width: 100%;
}

.booking-cart-bar-cta[hidden] {
    display: none !important;
}

.booking-cart-bar-cta svg {
    width: 1rem;
    height: 1rem;
}

.booking-cart-bar-cta:hover {
    background: var(--booking-gold-hover);
    color: #2f3f59;
    text-decoration: none;
}

.booking-cart-bar-cta.is-disabled,
.booking-cart-bar-cta:disabled {
    background: #5b6b82;
    color: #e8eef6;
    cursor: not-allowed;
}

.booking-cart-bar-cta.is-disabled:hover,
.booking-cart-bar-cta:disabled:hover {
    background: #5b6b82;
    color: #e8eef6;
}

@media (max-width: 900px) {
    body.public-booking-page main.container {
        padding-top: 1rem;
        padding-bottom: 6.5rem;
    }

    .public-booking-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 0.9rem;
    }

    .public-booking-header.is-compact {
        align-items: stretch;
    }

    .public-booking h1 {
        font-size: 1.7rem;
    }

    .public-booking-guide {
        display: none;
    }

    .public-booking-filter-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.2rem;
        -webkit-overflow-scrolling: touch;
    }

    .public-booking-filters-label {
        display: none;
    }

    .public-booking-day > .public-booking-step-head {
        display: none;
    }

    .public-booking-choice-title {
        align-items: flex-start;
    }

    .public-booking-choice-cta {
        flex: 1 1 100%;
    }

    .public-booking-activity-heading p {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .public-booking-body {
        display: block;
    }

    .public-booking-sidebar {
        position: sticky;
        top: 0;
        z-index: 6;
        margin-bottom: 0.85rem;
        padding-top: 0.5rem;
        background: #f7f8fa;
    }

    .public-booking-date-card:not(.is-expanded) .public-booking-calendar-wrap,
    .public-booking-date-card:not(.is-expanded) .public-booking-step-hint {
        display: none;
    }

    .public-booking-date-card:not(.is-expanded) .public-booking-date-summary {
        display: flex;
    }

    .public-booking-day-nav {
        display: none;
    }

    .public-booking-date-card:not(.is-expanded) {
        padding: 0.85rem 1rem 1rem;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    }

    .public-booking-date-summary strong {
        font-size: 0.95rem;
    }

    .public-booking-date-shift-label {
        font-size: 0.62rem;
    }

    .public-booking-date-card:not(.is-expanded) .public-booking-step-head {
        display: none;
    }

    .public-booking-day {
        min-height: 0;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .public-booking-timezone {
        display: none;
    }

    .public-booking-step-head {
        margin-bottom: 0.7rem;
    }

    .booking-slot-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .booking-slot-card,
    .booking-slot-toggle {
        min-height: 0;
    }

    .booking-slot-toggle {
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.65rem;
        padding: 0.85rem 0.9rem;
    }

    .booking-slot-spots {
        margin-left: auto;
    }

    .booking-slot-expanded {
        grid-template-columns: 1fr;
    }

    .booking-type-row {
        grid-template-columns: 1fr auto;
    }

    .booking-type-row label {
        grid-column: 1 / -1;
    }

    .public-booking-extras {
        grid-template-columns: 1fr;
        margin-top: 0.9rem;
        gap: 0.75rem;
    }

    .public-booking-promo-card,
    .public-booking-promo-copy {
        min-height: 5.5rem;
    }

    .booking-stepper-label {
        display: none;
    }

    .booking-stepper-step:not(:first-child)::before {
        width: 1.5rem;
    }

    .booking-cart-bar-inner {
        flex-wrap: nowrap;
        gap: 0.55rem;
        padding: 0.7rem 0;
    }

    .booking-cart-bar-summary {
        gap: 0.55rem;
    }

    .booking-cart-bar-cta {
        padding: 0.65rem 0.75rem;
        font-size: 0.85rem;
        flex: 0 0 auto;
    }
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
    gap: 1.5rem;
    align-items: start;
    min-width: 0;
}

.checkout-main {
    min-width: 0;
}

.checkout-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.checkout-page-title {
    margin: 0;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    color: #2f3f59;
}

.checkout-page-sub {
    margin: 0.3rem 0 0;
    color: #94a3b8;
}

.checkout-continue {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.checkout-continue svg {
    width: 1rem;
    height: 1rem;
}

.checkout-cards {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
}

.checkout-card {
    background: #fff;
    border: 1px solid #e6e8ee;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.checkout-card-head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.95rem 1rem;
    min-width: 0;
}

.checkout-card-thumb {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 8px;
    overflow: hidden;
    background: #e8eef8;
    color: #2f3f59;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.checkout-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-card-title {
    min-width: 0;
    flex: 1;
}

.checkout-card-title strong {
    display: block;
    color: #2f3f59;
}

.checkout-card-title p {
    margin: 0.2rem 0 0;
    color: #64748b;
    font-size: 0.88rem;
}

.checkout-card-edit,
.checkout-card-chevron {
    background: transparent;
    border: 0;
    color: #64748b;
    cursor: pointer;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
}

.checkout-card-edit {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
}

.checkout-card-edit svg,
.checkout-card-chevron svg,
.checkout-remove svg {
    width: 1rem;
    height: 1rem;
}

.checkout-card-chevron {
    padding: 0.2rem;
}

.checkout-card.is-open .checkout-card-chevron {
    transform: rotate(180deg);
}

.checkout-card-body {
    padding: 0 1rem 1rem;
    border-top: 1px solid #eef0f4;
}

.checkout-ticket-table {
    display: grid;
    gap: 0;
}

.checkout-ticket-row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 0.7fr) auto;
    gap: 0.6rem;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eef0f4;
    color: #334155;
    min-width: 0;
}

.checkout-ticket-row:last-child {
    border-bottom: 0;
}

.checkout-ticket-row.is-head {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
    padding-bottom: 0.45rem;
}

.checkout-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
}

.checkout-qty span {
    min-width: 1.6rem;
    text-align: center;
    font-weight: 700;
}

.checkout-qty button,
.checkout-remove {
    background: #fff;
    border: 0;
    width: 1.8rem;
    height: 1.8rem;
    cursor: pointer;
    color: #2f3f59;
    font: inherit;
}

.checkout-remove {
    color: #dc2626;
}

.checkout-details-card,
.checkout-promo {
    background: #fff;
    border: 1px solid #e6e8ee;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
}

.booking-card-field {
    margin-top: 0.9rem;
}

.booking-wallets {
    margin-bottom: 0.85rem;
}

.booking-wallets-buttons {
    display: grid;
    gap: 0.6rem;
}

.booking-wallet-slot {
    min-height: 40px;
}

.booking-wallet-slot[hidden] {
    display: none;
}

.booking-wallets-or {
    margin: 0.75rem 0 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.booking-pay-later {
    margin: 0.85rem 0 0;
}

.booking-pay-step-title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    color: #2f3f59;
}

#booking-pay-step-bnpl {
    position: relative;
}

.booking-pay-step-copy {
    margin: 0 0 0.85rem;
}

.booking-pay-method-list {
    display: grid;
    gap: 0.6rem;
}

.booking-pay-method-list .booking-wallet-slot {
    width: 100%;
    min-height: 48px;
}

.booking-pay-method-btn,
.booking-pay-later-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 48px;
    width: 100%;
    padding: 0.7rem 0.95rem;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: 650;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
}

.booking-pay-method-btn span,
.booking-pay-later-btn span {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.82;
}

.booking-pay-method-btn--card {
    background: #fff;
    color: #1f2937;
    border-color: #d5dae3;
}

.booking-pay-back {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0 0 0.75rem;
    padding: 0;
    border: 0;
    background: none;
    color: #334155;
    font: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

.booking-pay-back::before {
    content: "←";
}

.booking-bnpl-banner {
    margin: 0 0 0.85rem;
    padding: 0.85rem 0.95rem;
    border-radius: 10px;
    background: #b2fce4;
    color: #0a0b09;
}

.booking-bnpl-banner strong {
    display: block;
    font-size: 1.05rem;
}

.booking-bnpl-banner p {
    margin: 0.2rem 0 0;
    font-size: 0.88rem;
}

.booking-bnpl-banner--affirm {
    background: #0a0b09;
    color: #fff;
}

.booking-bnpl-banner--klarna {
    background: #ffb3c7;
    color: #0a0b09;
}

.booking-afterpay-mount {
    position: absolute;
    width: 240px;
    height: 48px;
    left: 0;
    bottom: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

.booking-pay-later-btn[hidden],
.booking-pay-later[hidden],
.booking-billing[hidden],
.booking-pay-step[hidden] {
    display: none;
}

.booking-pay-later-btn--affirm {
    background: #0a0b09;
    color: #fff;
}

.booking-pay-later-btn--afterpay {
    background: #b2fce4;
    color: #0a0b09;
}

.booking-pay-later-btn--klarna {
    background: #ffb3c7;
    color: #0a0b09;
}

.booking-billing {
    margin-top: 0;
    display: grid;
    gap: 0.65rem;
}

.booking-billing .muted {
    margin: 0;
    font-size: 0.88rem;
}

#booking-apple-pay {
    height: 48px;
    width: 100%;
    -webkit-appearance: -apple-pay-button;
    -apple-pay-button-type: plain;
    -apple-pay-button-style: black;
    border-radius: 8px;
    cursor: pointer;
}

#booking-google-pay {
    width: 100%;
    min-height: 48px;
    display: block;
}

#booking-google-pay iframe,
#booking-google-pay button,
#booking-google-pay > div,
#booking-google-pay > button {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

#booking-payment-request,
#booking-payment-request iframe,
#booking-payment-request .StripeElement {
    width: 100% !important;
}

.booking-card-label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    color: #2f3f59;
}

.booking-card-box {
    min-height: 3rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid #d5dae3;
    border-radius: 8px;
    background: #fff;
}

.booking-card-box iframe {
    min-height: 1.25rem;
}

.booking-card-error {
    margin: 0.5rem 0 0;
    color: #dc2626;
    font-size: 0.9rem;
}

.checkout-error-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.checkout-error-modal[hidden] {
    display: none;
}

.checkout-error-dialog {
    width: min(22rem, 100%);
    background: #fff;
    color: #1f2937;
    border-radius: 12px;
    padding: 1.2rem 1.25rem 1.15rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
}

.checkout-error-dialog h2 {
    margin: 0 0 0.45rem;
    font-size: 1.15rem;
    color: #2f3f59;
}

.checkout-error-dialog p {
    margin: 0 0 1rem;
    color: #475569;
    line-height: 1.45;
}

.checkout-error-dialog .btn {
    width: 100%;
}

.checkout-pending-overlay {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.checkout-pending-overlay[hidden] {
    display: none;
}

.checkout-pending-dialog {
    width: min(20rem, 100%);
    background: #fff;
    color: #1f2937;
    border-radius: 12px;
    padding: 1.4rem 1.25rem 1.25rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
    text-align: center;
}

.checkout-pending-spinner {
    display: inline-block;
    width: 2.25rem;
    height: 2.25rem;
    border: 3px solid #e6e8ee;
    border-top-color: #2f3f59;
    border-radius: 50%;
    animation: checkout-pending-spin 0.8s linear infinite;
}

.checkout-pending-title {
    margin: 0.9rem 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #2f3f59;
}

.checkout-pending-copy {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.45;
}

body.is-checkout-pending {
    overflow: hidden;
}

@keyframes checkout-pending-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .checkout-pending-spinner {
        animation: none;
        border-top-color: #e6e8ee;
        border-right-color: #2f3f59;
    }
}

.checkout-details-card h2,
.checkout-promo h2,
.checkout-summary h2 {
    margin: 0 0 0.85rem;
    font-size: 1.15rem;
    color: #2f3f59;
}

.checkout-promo-form {
    display: flex;
    gap: 0.5rem;
    min-width: 0;
}

.checkout-promo-form input {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 0.5rem 0.7rem;
    border: 1px solid #d5dae3;
    border-radius: 8px;
    font: inherit;
}

.checkout-promo-form .btn {
    flex-shrink: 0;
}

.checkout-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: #eef4fb;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
}

.checkout-trust > div {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}

.checkout-trust svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #2f3f59;
    flex-shrink: 0;
}

.checkout-trust strong {
    display: block;
    color: #2f3f59;
    font-size: 0.92rem;
}

.checkout-trust p,
.checkout-trust a {
    margin: 0.15rem 0 0;
    color: #64748b;
    font-size: 0.82rem;
}

.checkout-summary {
    background: #fff;
    border: 1px solid #e6e8ee;
    border-radius: 12px;
    padding: 1.1rem 1.15rem 1.2rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    position: sticky;
    top: 1rem;
    min-width: 0;
    max-width: 100%;
}

.checkout-summary-items {
    list-style: none;
    margin: 0;
    padding: 0 0 0.75rem;
    border-bottom: 1px solid #eef0f4;
}

.checkout-summary-items li {
    margin: 0 0 0.85rem;
}

.checkout-summary-items li:last-child {
    margin-bottom: 0;
}

.checkout-summary-items strong {
    color: #2f3f59;
}

.checkout-summary-items p {
    margin: 0.15rem 0 0;
    color: #64748b;
    font-size: 0.85rem;
}

.checkout-summary-line {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
}

.checkout-summary-line span {
    flex-shrink: 0;
}

.checkout-summary-totals {
    padding: 0.85rem 0 1rem;
}

.checkout-summary-totals p {
    display: flex;
    justify-content: space-between;
    margin: 0 0 0.45rem;
    color: #64748b;
}

.checkout-summary-total {
    margin-top: 0.55rem;
    color: #2f3f59 !important;
    font-size: 1.2rem;
    font-weight: 800;
}

.checkout-summary-cta {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.checkout-summary-cta svg {
    width: 1rem;
    height: 1rem;
}

.checkout-summary-safe {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0.75rem 0 0;
    color: #64748b;
    font-size: 0.82rem;
}

.checkout-summary-safe svg {
    width: 0.95rem;
    height: 0.95rem;
}

.checkout-pay-marks {
    margin: 0.35rem 0 0;
    text-align: center;
    color: #94a3b8;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

.booking-promo-applied {
    margin: 0 0 0.6rem;
}

@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .checkout-summary {
        position: static;
    }

    .checkout-trust {
        grid-template-columns: 1fr;
    }

    .checkout-ticket-row,
    .checkout-ticket-row.is-head {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .checkout-page-head {
        flex-direction: column;
    }
}

.booking-cart-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.booking-cart-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.booking-cart-item p {
    margin: 0.2rem 0 0;
}

.booking-cart-item-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
}

.booking-extra-items {
    display: grid;
    gap: 0.55rem;
    margin: 0.7rem 0 0;
}

.booking-extra-item {
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border, #e6e8ee);
    border-radius: var(--radius-sm, 8px);
    background: color-mix(in srgb, var(--primary, #2563eb) 7%, var(--surface, #fff));
}

.booking-extra-item-title {
    margin: 0 0 0.3rem;
    font-size: 0.88rem;
    font-weight: 650;
}

.booking-extra-item p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
}

.booking-cart-item .booking-extra-item p {
    margin: 0;
}

.extra-item-placements {
    display: grid;
    gap: 0.45rem;
}

.extra-item-placements .checkbox-label {
    width: auto;
}

.booking-cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.05rem;
}

.booking-cart-totals {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0.75rem 0 0;
}

.booking-cart-totals p {
    display: flex;
    justify-content: space-between;
    margin: 0;
}

.booking-promo {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.booking-promo-applied {
    margin: 0;
}

.booking-promo-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.5rem;
    width: 100%;
}

.booking-promo-form label {
    flex: 1 1 12rem;
    margin: 0;
}

.booking-promo-form input {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.45rem 0.55rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font: inherit;
}

.promo-activity-list {
    margin: 0 0 1rem;
}

.promo-activity-checks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: 0.4rem 1rem;
    margin: 0.5rem 0 0;
}

.promo-codes-panel {
    min-width: 0;
    max-width: 100%;
    container-type: inline-size;
    container-name: promo-codes;
}

.promo-codes-table {
    min-width: 0;
}

.promo-codes-table td {
    vertical-align: top;
}

.promo-code-identity,
.promo-codes-table td[data-label="Discount"],
.promo-codes-table td[data-label="Applies to"] {
    overflow-wrap: break-word;
}

.promo-codes-table td[data-label="Applies to"] {
    max-width: 18rem;
}

.promo-codes-table td[data-label="Uses"],
.promo-codes-table td[data-label="Status"] {
    white-space: nowrap;
}

.promo-code-identity strong {
    display: block;
    letter-spacing: 0.02em;
}

.promo-code-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.promo-code-actions form {
    display: inline;
    margin: 0;
}

@container promo-codes (max-width: 52rem) {
    .promo-codes-table {
        border-collapse: separate;
        border-spacing: 0 0.75rem;
    }

    .promo-codes-table thead {
        display: none;
    }

    .promo-codes-table tbody,
    .promo-codes-table tr,
    .promo-codes-table td {
        display: block;
        width: 100%;
    }

    .promo-codes-table tr {
        background: var(--surface-elevated);
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        padding: 0.85rem 1rem;
    }

    .promo-codes-table td {
        display: grid;
        grid-template-columns: 6.75rem minmax(0, 1fr);
        gap: 0.35rem 0.75rem;
        padding: 0.35rem 0;
        border-bottom: 0;
    }

    .promo-codes-table td::before {
        content: attr(data-label);
        color: var(--muted);
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        padding-top: 0.2rem;
    }

    .promo-codes-table td[data-label="Applies to"] {
        max-width: none;
    }

    .promo-codes-table td.promo-code-identity {
        display: block;
        padding-top: 0;
        padding-bottom: 0.55rem;
        margin-bottom: 0.35rem;
        border-bottom: 1px solid var(--border);
    }

    .promo-codes-table td.promo-code-identity::before {
        content: none;
    }

    .promo-codes-table td.promo-code-identity strong {
        font-size: 1.05rem;
    }

    .promo-codes-table td.promo-code-actions {
        display: flex;
        grid-template-columns: none;
        justify-content: flex-start;
        padding-top: 0.7rem;
        margin-top: 0.35rem;
        border-top: 1px solid var(--border);
    }

    .promo-codes-table td.promo-code-actions::before {
        content: none;
    }

    .promo-codes-table tbody tr:hover {
        background: var(--surface-elevated);
    }
}

.booking-cart-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.booking-checkout-form label {
    display: block;
    margin-bottom: 0.75rem;
}

.booking-checkout-form input,
.booking-checkout-form select,
.booking-checkout-form textarea {
    display: block;
    width: 100%;
    min-width: 0;
    margin-top: 0.25rem;
    padding: 0.45rem 0.55rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font: inherit;
}

.booking-questions {
    margin: 1.5rem 0 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border, #e2e8f0);
}

.booking-questions-pending {
    margin: 0.85rem 0 1.35rem;
    padding-top: 0;
    border-top: 0;
}

.booking-questions h2 {
    margin: 0 0 0.4rem;
    font-size: 1.25rem;
}

.booking-questions-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.booking-questions-head h2 {
    margin: 0;
}

.booking-questions-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #2f3f59;
    text-decoration: none;
    flex-shrink: 0;
    cursor: pointer;
}

.booking-questions-edit:visited {
    color: #2f3f59;
}

.booking-questions-edit:hover,
.booking-questions.is-editing .booking-questions-edit {
    border-color: #2f3f59;
    color: #1f2937;
}

.booking-questions-edit:focus-visible {
    outline: 2px solid #2f3f59;
    outline-offset: 2px;
}

.booking-questions-edit svg {
    width: 1.05rem;
    height: 1.05rem;
}

.booking-questions-group-title {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    font-weight: 600;
}

.booking-questions-readonly .booking-questions-group {
    padding: 0.9rem 1rem 0.55rem;
}

.booking-questions-readonly dl {
    margin: 0;
}

.booking-question-read {
    margin: 0 0 0.75rem;
}

.booking-question-read:last-child {
    margin-bottom: 0.15rem;
}

.booking-question-read dt {
    margin: 0 0 0.15rem;
    font-size: 0.82rem;
    color: #64748b;
}

.booking-question-read dd {
    margin: 0;
    color: #1f2937;
    font-weight: 600;
    white-space: pre-wrap;
    word-break: break-word;
}

.booking-question-read dd.is-empty {
    font-weight: 400;
    color: #94a3b8;
}

.booking-questions-form {
    margin-top: 1rem;
}

.booking-questions-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.25rem;
}

.booking-questions-group {
    margin: 0 0 1.15rem;
    padding: 0.9rem 1rem 0.35rem;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 8px;
}

.booking-questions-group legend {
    padding: 0 0.35rem;
    font-weight: 600;
}

.booking-question-label {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem;
}

.booking-question-required {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--brand, #F25826);
}

.booking-questions-options {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.4rem;
}

.booking-questions-options-inline {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.booking-questions-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0;
}

.booking-checkout-form .booking-questions-options input {
    display: inline-block;
    width: auto;
    margin-top: 0;
}

.media-guidance-title {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
}

.media-guidance-list {
    margin: 0.4rem 0 0.75rem;
    padding-left: 1.2rem;
}

.media-guidance-note {
    margin: 0;
    font-size: 0.85rem;
}

.media-dropzone {
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 1.4rem 1rem;
    text-align: center;
    background: var(--surface-elevated);
    margin-bottom: 0.75rem;
}

.media-dropzone.is-hover {
    border-color: var(--primary);
    background: var(--primary-muted);
}

.media-status {
    margin: 0 0 0.85rem;
    font-size: 0.9rem;
}

.media-status.is-error {
    color: var(--error);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

.media-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    overflow: hidden;
}

.media-card.is-cover {
    border-color: var(--primary);
}

.media-card.is-dragging {
    opacity: 0.55;
}

.media-card-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: #0b0b0b;
    overflow: hidden;
    cursor: pointer;
}

.media-card-thumb:hover img {
    opacity: 0.88;
}

.media-card-thumb:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}

.media-card-thumb img,
.activity-card-media img,
.activity-hero img,
.media-preview-image img,
.activity-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-card-badge {
    position: absolute;
    top: 0.35rem;
    left: 0.35rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.media-card-play {
    position: absolute;
    inset: auto 0.4rem 0.4rem auto;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.media-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    padding: 0.4rem 0.5rem 0.5rem;
}

.media-preview-panel h3 {
    margin: 1rem 0 0.5rem;
}

.media-preview-tabs {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.media-preview-tabs .is-preview-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.media-preview-frame {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface-elevated);
    max-width: 28rem;
}

.media-preview-frame.is-page {
    max-width: 44rem;
}

.media-preview-frame.is-mobile {
    max-width: 18rem;
}

.media-preview-image {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b0b0b;
}

.media-preview-caption {
    padding: 0.65rem 0.8rem;
    font-weight: 600;
}

.media-crop-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(0, 0, 0, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.media-crop-modal[hidden] {
    display: none;
}

.media-crop-dialog {
    width: min(52rem, 100%);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem 1.1rem;
}

.media-crop-stage {
    max-height: 60vh;
    margin: 0.75rem 0;
}

.media-crop-stage img {
    max-width: 100%;
}

.activity-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: 1rem;
}

.activity-card {
    display: block;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    color: inherit;
    text-decoration: none;
}

.activity-card:hover {
    border-color: var(--primary);
    text-decoration: none;
}

.activity-card-media {
    aspect-ratio: 16 / 9;
    background: var(--surface-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-card-fallback {
    font-size: 2rem;
    font-weight: 700;
    color: var(--muted);
}

.activity-card-body {
    padding: 0.8rem 0.9rem 1rem;
}

.activity-card-body h2 {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
}

.activity-hero {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface-elevated);
    margin-bottom: 1rem;
}

.media-16x9,
.activity-hero {
    aspect-ratio: 16 / 9;
}

.activity-hero-empty {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
    gap: 0.55rem;
    margin-bottom: 1.25rem;
}

.activity-gallery-item {
    position: relative;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #0b0b0b;
    cursor: pointer;
}

.activity-index-thumb {
    width: 4.5rem;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px;
    background: var(--surface-elevated);
    display: block;
}

.media-lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(0, 0, 0, 0.84);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.media-lightbox[hidden] {
    display: none;
}

.media-lightbox-stage img,
.media-lightbox-stage video {
    max-width: min(96vw, 1100px);
    max-height: 86vh;
}

.media-lightbox-close {
    position: absolute;
    top: 0.8rem;
    right: 1rem;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.badge-muted {
    background: var(--surface-elevated);
    color: var(--muted);
    border: 1px solid var(--border);
}

.payment-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    align-items: start;
}

.payment-admin-grid .setup-form--flush {
    margin-top: 0.5rem;
}

.application-fee-panel {
    margin-bottom: 1.25rem;
}

.application-fee-panel .setup-form--flush {
    margin-top: 0.5rem;
}

.application-fee-panel .form-row {
    margin-bottom: 0.75rem;
}

.application-fee-panel .checkbox-label {
    margin-bottom: 0.45rem;
}

.extra-fee-row {
    padding: 1.05rem 1.1rem 1.1rem;
    margin: 0 0 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-elevated);
    color: var(--text);
}

.extra-fee-row label,
.extra-fee-row legend {
    color: var(--text);
}

.extra-fee-row-head {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
    justify-content: space-between;
}

.extra-fee-row-head label {
    flex: 1 1 16rem;
    margin-bottom: 0;
}

.extra-fee-row-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
    gap: 0.85rem;
    margin-top: 0.85rem;
}

.extra-fee-per {
    display: grid;
    gap: 0.5rem;
    margin: 0.95rem 0 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.extra-fee-per legend {
    padding: 0;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.extra-fee-per-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.form .extra-fee-per .checkbox-label {
    margin: 0;
    padding: 0.45rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
}

.form .extra-fee-per .checkbox-label:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-muted);
    color: var(--text);
}

.extra-fee-hint {
    margin: 0.7rem 0 0;
    color: var(--muted);
}

.extra-fees-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    margin-top: 0.85rem;
}

.pay-later-block {
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border, #e2e8f0);
}

.pay-later-heading {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
}

.pay-later-method {
    margin: 0.95rem 0 1.05rem;
}

.pay-later-method-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.7rem;
}

.pay-later-unavailable-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.pay-later-method--unavailable {
    padding: 0.75rem 0.85rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.pay-later-method--unavailable .checkbox-label {
    color: #64748b;
    cursor: not-allowed;
}

.pay-later-method--unavailable input[type="checkbox"] {
    opacity: 0.5;
    cursor: not-allowed;
}

.pay-later-method--unavailable .pay-later-fee-callout {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #64748b;
}

.pay-later-fee-callout {
    margin: 0.4rem 0 0.35rem 1.7rem;
    padding: 0.7rem 0.85rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    color: #9a3412;
    font-size: 0.92rem;
    line-height: 1.45;
}

.pay-later-method .muted {
    margin: 0.3rem 0 0 1.7rem;
}

.pay-later-method--unavailable .pay-later-fee-callout,
.pay-later-method--unavailable .muted {
    margin-left: 0;
}

.application-fee-example {
    margin-top: 0.35rem;
}

.fee-pass-slider {
    display: grid;
    gap: 0.45rem;
    margin: 0.85rem 0 1rem;
}

.fee-pass-slider-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.85rem;
    align-items: center;
}

.fee-pass-slider-value {
    min-width: 3.25rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.fee-pass-slider-ends {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.payment-card--active {
    border-color: color-mix(in srgb, var(--success) 45%, var(--border));
}

.payment-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    margin-top: 0.75rem;
}

.form input[readonly] {
    color: var(--muted);
    cursor: text;
}

/* Alerts */
.alerts-menu {
    position: relative;
}

.alerts-menu > summary {
    list-style: none;
    cursor: pointer;
}

.alerts-menu > summary::-webkit-details-marker {
    display: none;
}

.alerts-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
}

.alerts-toggle svg {
    width: 20px;
    height: 20px;
}

.alerts-menu[open] .alerts-toggle,
.alerts-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.alerts-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.alerts-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 1.15rem;
    padding: 0.05rem 0.3rem;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.alerts-panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    z-index: 120;
    width: min(22rem, calc(100vw - 2rem));
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.alerts-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem 0.6rem;
    border-bottom: 1px solid var(--border);
}

.alerts-mark-all {
    margin: 0;
}

.alerts-empty {
    margin: 0;
    padding: 1rem;
}

.alerts-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 22rem;
    overflow: auto;
}

.alerts-row {
    position: relative;
    border-bottom: 1px solid var(--border);
}

.alerts-row:last-child {
    border-bottom: none;
}

.alerts-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.85rem 2.4rem 0.85rem 1rem;
    color: var(--text);
    text-decoration: none;
}

.alerts-item:hover {
    background: var(--surface-elevated);
    color: var(--text);
    text-decoration: none;
}

.alerts-row.is-unread .alerts-item {
    background: var(--primary-muted);
}

.alerts-row .alerts-clear {
    position: absolute;
    top: 0.45rem;
    right: 0.35rem;
    margin: 0;
}

.alerts-clear-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.alerts-clear-btn svg {
    width: 16px;
    height: 16px;
}

.alerts-clear-btn:hover,
.alerts-clear-btn:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

.alerts-item-title {
    font-weight: 600;
    font-size: 0.92rem;
}

.alerts-item-body {
    color: var(--muted);
    font-size: 0.82rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.alerts-item-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.75rem;
}

.alerts-view-all {
    display: block;
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    border-top: 1px solid var(--border);
}

.alerts-severity {
    display: inline-block;
    padding: 0.05rem 0.45rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: var(--surface-elevated);
    color: var(--muted);
}

.alerts-severity-warning {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.alerts-severity-urgent {
    background: var(--error-bg);
    color: var(--error);
}

.alerts-inbox {
    list-style: none;
    margin: 0;
    padding: 0;
}

.alerts-inbox-item {
    border-bottom: 1px solid var(--border);
}

.alerts-inbox-item:last-child {
    border-bottom: none;
}

.alerts-inbox-layout {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.alerts-inbox-layout > a {
    flex: 1;
    min-width: 0;
    display: block;
    padding: 1rem 0;
    color: var(--text);
    text-decoration: none;
}

.alerts-inbox-layout > a:hover {
    color: var(--text);
}

.alerts-inbox-item.is-unread .alerts-inbox-layout {
    background: var(--primary-muted);
    margin: 0 -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.alerts-inbox-item .alerts-clear {
    margin: 1rem 0 0;
    flex-shrink: 0;
}

.alerts-inbox-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.alerts-inbox-item p {
    margin: 0 0 0.35rem;
}

.alert-user-picker {
    max-height: 18rem;
    overflow: auto;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-elevated);
}

.alert-user-picker h3 {
    margin: 0.75rem 0 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.alert-user-picker h3:first-child {
    margin-top: 0;
}

.alert-user-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}

.alert-user-group .checkbox-label {
    width: 100%;
    align-items: flex-start;
}

.alert-user-group .muted {
    display: block;
    font-weight: 400;
    font-size: 0.8rem;
}

body.public-home-page {
    background: #fff;
}

body.public-home-page main.container.public-booking-shell {
    width: 100%;
    max-width: none;
    padding: 0 0 0;
    margin: 0;
}

body.public-home-page main.container.public-booking-shell > .alert {
    width: min(1180px, 92%);
    margin: 1rem auto 0;
}

.public-home-wrap {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.public-home-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid #e8edf3;
}

.public-home-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: 4.5rem;
}

.public-home-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #2f3f59;
    text-decoration: none;
    font-weight: 700;
    min-width: 0;
}

.public-home-brand:hover {
    color: #2f3f59;
    text-decoration: none;
}

.public-home-brand-mark {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    overflow: hidden;
    background: #2f3f59;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.public-home-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.public-home-brand-name {
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.public-home-links {
    display: flex;
    gap: 1.4rem;
    font-weight: 600;
    color: #2f3f59;
}

.public-home-links a {
    color: #2f3f59;
}

.public-home-links a:hover {
    color: #243247;
}

.public-home-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.public-home-cart {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #2f3f59;
    font-weight: 600;
}

.public-home-cart svg {
    width: 1.2rem;
    height: 1.2rem;
}

.public-home-cart-count {
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: #2f3f59;
    color: #fff;
    font-size: 0.72rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.public-home-signup {
    color: #2f3f59;
    font-weight: 600;
    white-space: nowrap;
}

.public-home-signup:hover {
    color: #243247;
}

.public-home-signin {
    border-radius: 999px;
    padding: 0.55rem 1.15rem;
}

body.public-customer-auth {
    background: #fff;
}

.public-customer-auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.public-customer-auth-main {
    flex: 1;
    width: min(520px, 92%);
    padding: 2.75rem 0 3.5rem;
}

.public-customer-auth-main > .alert {
    margin-bottom: 1.25rem;
}

body.public-customer-auth .auth-form {
    max-width: none;
    margin: 0;
}

body.public-customer-auth .auth-form h1 {
    margin: 0 0 0.55rem;
    font-family: Inter, sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #2f3f59;
}

body.public-customer-auth .auth-form > p {
    margin: 0 0 1.35rem;
    color: #64748b;
    font-size: 1.02rem;
}

body.public-customer-auth .form {
    background: #fff;
    border: 1px solid #e6e8ee;
    border-radius: 14px;
    padding: 1.35rem 1.4rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

body.public-customer-auth .form label {
    color: #2f3f59;
}

body.public-customer-auth .form input,
body.public-customer-auth .form select,
body.public-customer-auth .form textarea {
    background: #fff;
    color: #1f2937;
    border-color: #cbd5e1;
    color-scheme: light;
}

body.public-customer-auth .form input:focus,
body.public-customer-auth .form select:focus,
body.public-customer-auth .form textarea:focus {
    border-color: #2f3f59;
    box-shadow: 0 0 0 3px rgba(47, 63, 89, 0.12);
}

body.public-customer-auth .form input[type="date"]::-webkit-calendar-picker-indicator {
    filter: none;
    opacity: 0.7;
}

body.public-customer-auth .auth-form .form > .btn {
    margin-top: 0.25rem;
    border-radius: 999px;
    padding: 0.75rem 1.15rem;
    background: #2f3f59;
}

body.public-customer-auth .auth-form .form > .btn:hover {
    background: #243247;
}

body.public-customer-auth .form-footer {
    margin-top: 1.15rem;
    color: #64748b;
}

body.public-customer-auth .form-footer a {
    color: #2f3f59;
    font-weight: 600;
}

body.public-customer-auth .form-footer a:hover {
    color: #243247;
}

body.public-customer-auth .alert-error,
body.public-customer-site .alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

body.public-customer-auth .alert-success,
body.public-customer-site .alert-success {
    background: #ecfdf3;
    color: #15803d;
    border-color: #bbf7d0;
}

.public-customer-auth-footer {
    border-top: 1px solid #e8edf3;
    padding: 1.35rem 0;
    color: #64748b;
    font-size: 0.9rem;
}

.public-customer-auth-footer p {
    margin: 0;
}

.public-customer-account-main {
    flex: 1;
    padding: 2.5rem 0 3.5rem;
}

.public-customer-account-head {
    max-width: 40rem;
    margin-bottom: 1.75rem;
}

.public-customer-account-kicker {
    margin: 0 0 0.4rem;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.public-customer-account-kicker a {
    color: #64748b;
}

.public-customer-account-kicker a:hover {
    color: #2f3f59;
}

.public-customer-account-head h1 {
    margin: 0 0 0.55rem;
    font-family: Inter, sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #2f3f59;
}

.public-customer-account-head p {
    margin: 0;
    color: #64748b;
    font-size: 1.02rem;
}

.public-customer-account-card {
    background: #fff;
    border: 1px solid #e6e8ee;
    border-radius: 14px;
    padding: 1.35rem 1.4rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    margin-bottom: 1.25rem;
}

.public-customer-verify {
    background: #fff8f1;
    border-color: #f3d5b5;
}

.public-customer-verify p {
    margin: 0 0 1rem;
    color: #5c6b7a;
}

.public-customer-verify .btn {
    border-radius: 999px;
}

.public-customer-account-card h2 {
    margin: 0 0 1rem;
    color: #2f3f59;
    font-size: 1.15rem;
}

.public-customer-account-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem 1rem;
    margin-bottom: 1rem;
}

.public-customer-account-card-head h2 {
    margin: 0;
}

.public-customer-tabs {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem;
    border: 1px solid #e6e8ee;
    border-radius: 999px;
    background: #f8fafc;
}

.public-customer-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.public-customer-tabs a span {
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: #e8edf3;
    color: #2f3f59;
    font-size: 0.72rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.public-customer-tabs a:hover {
    color: #2f3f59;
}

.public-customer-tabs a.is-current {
    background: #2f3f59;
    color: #fff;
}

.public-customer-tabs a.is-current span {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.public-customer-booking-list {
    margin: 0;
}

.public-customer-booking-list .booking-cart-item > div {
    min-width: 0;
    flex: 1;
}

.public-customer-booking-list .booking-extra-items {
    width: 100%;
}

.public-customer-booking-list .booking-extra-item {
    background: #f4f6f9;
    border-color: #e6e8ee;
    color: #1f2937;
}

.public-customer-booking-list a {
    color: #2f3f59;
    font-weight: 600;
}

.public-customer-booking-list a:hover {
    color: #243247;
}

.public-booking-change-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0 0.25rem;
}

.public-booking-change-actions .btn {
    margin: 0;
}

.public-booking-change-actions .is-disabled {
    opacity: 0.55;
    pointer-events: none;
    cursor: not-allowed;
}

.public-booking-change-history {
    margin-top: 0.5rem;
}

.public-booking-change-history ul {
    margin: 0.4rem 0 0;
    padding-left: 1.1rem;
}

.public-customer-account-card > p:last-child {
    margin-bottom: 0;
}

.public-customer-account-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem 1.5rem;
    margin: 0 0 1.25rem;
}

.public-customer-account-details dt {
    margin: 0;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.public-customer-account-details dd {
    margin: 0.2rem 0 0;
    color: #2f3f59;
    font-weight: 600;
}

.public-customer-account-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1rem;
}

body.public-customer-account .btn-secondary {
    border-radius: 999px;
    background: #fff;
    border-color: #cbd5e1;
    color: #2f3f59;
}

body.public-customer-account .btn-secondary:hover {
    background: #f8fafc;
    border-color: #2f3f59;
    color: #2f3f59;
}

body.public-customer-account .muted,
body.public-customer-account .page-intro {
    color: #64748b;
}

body.public-customer-account .dashboard-header h1 {
    color: #2f3f59;
}

body.public-customer-account .panel {
    background: #fff;
    border: 1px solid #e6e8ee;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

body.public-customer-account .activity-hero {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    background: #e8edf3;
}

body.public-customer-account .activity-hero-empty {
    color: #64748b;
}

body.public-customer-account .activity-gallery-item {
    border-color: #e6e8ee;
    background: #fff;
}

.public-home-hero {
    position: relative;
    padding: 4.5rem 0 2.75rem;
    background: #243247;
    color: #fff;
    overflow: hidden;
}

.public-home-hero.has-image {
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.62) 0%, rgba(15, 23, 42, 0.28) 55%, rgba(15, 23, 42, 0.18) 100%),
        var(--home-hero-image) center / cover no-repeat;
}

.public-home-hero-copy {
    max-width: 40rem;
    margin-bottom: 1.75rem;
}

.public-home-hero-copy h1 {
    margin: 0 0 0.6rem;
    font-family: Inter, sans-serif;
    font-size: clamp(2.1rem, 4.5vw, 3.15rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #fff;
}

.public-home-hero-copy p {
    margin: 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.92);
}

.public-home-search {
    display: grid;
    grid-template-columns: 1fr 0.8fr auto;
    gap: 0;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.public-home-search-field {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin: 0;
    padding: 0.85rem 1.1rem;
    color: #2f3f59;
    border-right: 1px solid #e8edf3;
}

.public-home-search-field span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.public-home-search-field svg {
    width: 1rem;
    height: 1rem;
}

.public-home-search-field input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 1.85rem;
    border: 0;
    padding: 0.2rem 0 0 1.4rem;
    font: inherit;
    font-size: 1rem;
    line-height: 1.4;
    color: #334155;
    background: transparent;
    color-scheme: light;
}

.public-home-search-field input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
}

.public-home-search-field input[type="date"]::-webkit-datetime-edit,
.public-home-search-field input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.public-home-search-field input[type="date"]::-webkit-datetime-edit-text,
.public-home-search-field input[type="date"]::-webkit-datetime-edit-month-field,
.public-home-search-field input[type="date"]::-webkit-datetime-edit-day-field,
.public-home-search-field input[type="date"]::-webkit-datetime-edit-year-field {
    color: #334155;
    padding: 0;
}

.public-home-search-field input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
    min-height: 1.4em;
}

.public-home-search-field input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.7;
    cursor: pointer;
    margin-left: 0.15rem;
}

.public-home-search-field input:focus {
    outline: none;
}

.public-home-search-submit {
    align-self: stretch;
    margin: 0.45rem;
    border-radius: 10px;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    white-space: nowrap;
}

.public-home-hero-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 1.75rem;
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.92rem;
    font-weight: 600;
}

.public-home-hero-perks li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.public-home-hero-perks svg {
    width: 1.05rem;
    height: 1.05rem;
}

.public-home-section {
    padding: 2.5rem 0 0.5rem;
}

.public-home-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.public-home-section-head h2 {
    margin: 0;
    color: #2f3f59;
    font-size: 1.45rem;
}

.public-home-section-head a {
    color: #2f3f59;
    font-weight: 600;
    white-space: nowrap;
}

.public-home-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
    gap: 0.85rem;
}

.public-home-category {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid #e6eaf0;
    border-radius: 12px;
    color: #2f3f59;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.public-home-category:hover {
    border-color: #2f3f59;
    color: #2f3f59;
    text-decoration: none;
}

.public-home-category-icon {
    width: 2rem;
    height: 2rem;
    color: #2f3f59;
    display: inline-flex;
}

.public-home-category-icon svg {
    width: 100%;
    height: 100%;
}

.public-home-activity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
}

.public-home-activity-grid.is-rich {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
}

.public-home-activity-book {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 0.95rem;
    text-decoration: none;
    box-sizing: border-box;
}

.public-home-activity-book:hover {
    text-decoration: none;
}

.public-home-activity {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    border: 1px solid #eef1f5;
}

.public-home-activity:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
}

.public-home-activity-media {
    aspect-ratio: 16 / 10;
    background: #e8eef5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #2f3f59;
}

.public-home-activity-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.public-home-activity-body {
    padding: 0.9rem 1rem 1.05rem;
}

.public-home-activity-body h3 {
    margin: 0 0 0.35rem;
    color: #2f3f59;
    font-size: 1.05rem;
}

.public-home-activity-meta {
    margin: 0 0 0.7rem;
    color: #64748b;
    font-size: 0.9rem;
}

.public-home-activity-price {
    margin: 0;
    color: #64748b;
    font-size: 0.92rem;
}

.public-home-activity-price strong {
    color: #2f3f59;
    font-size: 1.05rem;
}

.public-home-trust {
    margin-top: 2.75rem;
    background: #f4f6f8;
    padding: 1.6rem 0;
}

.public-home-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.public-home-trust-grid > div {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}

.public-home-trust svg {
    width: 1.45rem;
    height: 1.45rem;
    color: #2f3f59;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.public-home-trust strong {
    display: block;
    color: #2f3f59;
    font-size: 0.95rem;
}

.public-home-trust p {
    margin: 0.15rem 0 0;
    color: #64748b;
    font-size: 0.85rem;
}

@media (max-width: 1100px) {
    .public-home-activity-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .public-home-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .public-home-links {
        display: none;
    }

    .public-home-hero {
        padding: 2.4rem 0 1.6rem;
    }

    .public-home-search {
        grid-template-columns: 1fr;
    }

    .public-home-search-field {
        border-right: 0;
        border-bottom: 1px solid #e8edf3;
        padding: 1rem 1.1rem 0.9rem;
    }

    .public-home-search-field input {
        min-height: 2.1rem;
        padding-top: 0.35rem;
    }

    .public-home-search-submit {
        margin: 0.9rem 1rem 1.05rem;
        padding: 1.05rem 1.25rem;
        min-height: 3.2rem;
        font-size: 1.05rem;
        border-radius: 12px;
    }

    .public-home-activity-grid,
    .public-home-activity-grid.is-rich,
    .public-home-trust-grid,
    .public-home-categories {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .public-home-signup {
        display: none;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 100%;
    min-width: 0;
}

.dashboard.profile-page {
    max-width: 100%;
    min-width: 0;
}

.profile-page .dashboard-header {
    align-items: flex-start;
}

.profile-page .dashboard-header h1,
.dashboard.profile-page .dashboard-header h1 {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.profile-header p {
    margin: 0.35rem 0 0;
    max-width: 40rem;
    overflow-wrap: anywhere;
}

.profile-save-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}

.profile-save-btn svg {
    width: 1.05rem;
    height: 1.05rem;
}

.profile-brand-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    max-width: 100%;
    min-width: 0;
}

.profile-brand-banner {
    position: relative;
    min-height: 180px;
    background: linear-gradient(135deg, #1a1a1a, #2a241f 55%, #3a2a1c);
}

.profile-brand-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-brand-banner.has-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0.2));
}

.profile-logo-tile {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 180px;
    padding: 1.25rem 1.4rem;
    cursor: pointer;
}

.profile-logo-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    flex-shrink: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.profile-logo-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.profile-logo-placeholder {
    color: #9ca3af;
}

.profile-logo-placeholder svg {
    width: 2rem;
    height: 2rem;
    display: block;
}

.profile-logo-copy {
    display: grid;
    gap: 0.2rem;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.profile-logo-copy strong {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-logo-copy span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 400;
}

.profile-card-head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
    min-width: 0;
}

.profile-card-head > div {
    min-width: 0;
}

.profile-card-head h2 {
    margin: 0;
    font-size: 1.05rem;
}

.profile-card-head p {
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.profile-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: var(--primary-muted);
    color: var(--primary);
    flex-shrink: 0;
}

.profile-card-icon svg {
    width: 1.05rem;
    height: 1.05rem;
}

.profile-hero-row {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.profile-hero-current,
.profile-hero-drop {
    position: relative;
    display: flex;
    min-height: 132px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.profile-hero-current {
    align-items: center;
    justify-content: center;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
}

.profile-hero-current img {
    width: 100%;
    height: 132px;
    object-fit: cover;
}

.profile-hero-current.is-empty {
    color: var(--muted);
    font-size: 0.88rem;
}

.profile-hero-edit {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 1.7rem;
    height: 1.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
}

.profile-hero-edit svg {
    width: 0.9rem;
    height: 0.9rem;
}

.profile-hero-drop {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: 1px dashed #3a3a3a;
    background: var(--surface-elevated);
    color: var(--muted);
    text-align: center;
    padding: 1rem;
}

.profile-hero-drop strong {
    color: var(--text);
    font-size: 0.92rem;
}

.profile-hero-drop span {
    font-size: 0.8rem;
}

.profile-hero-drop-icon svg {
    width: 1.6rem;
    height: 1.6rem;
    color: var(--primary);
}

.profile-choose-btn {
    pointer-events: none;
    margin-top: 0.35rem;
}

.profile-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem;
}

.profile-field {
    margin-bottom: 0.95rem;
}

.profile-input-icon {
    position: relative;
    display: block;
}

.profile-input-icon > span:first-child {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    display: inline-flex;
    pointer-events: none;
}

.profile-input-icon svg {
    width: 1rem;
    height: 1rem;
}

.profile-input-icon input {
    padding-left: 2.35rem;
}

.profile-page .address-autocomplete-field input {
    padding-left: 0.75rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    min-width: 0;
    max-width: 100%;
    container-type: inline-size;
    container-name: hours;
}

.hours-days { grid-area: days; }
.hours-times { grid-area: times; }
.hours-status { grid-area: status; width: auto; min-width: 5.5rem; }
.hours-remove { grid-area: remove; }

.hours-row {
    display: grid;
    grid-template-columns: minmax(6.75rem, 8.25rem) minmax(0, 1fr) 6.25rem 2.1rem;
    grid-template-areas: "days times status remove";
    align-items: center;
    gap: 0.4rem;
    max-width: 100%;
}

.hours-row:has(.hours-times.is-hidden) {
    grid-template-columns: minmax(6.75rem, 1fr) 6.25rem 2.1rem;
    grid-template-areas: "days status remove";
}

.hours-days,
.hours-status {
    min-width: 0;
}

.hours-times {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.hours-times.is-hidden {
    display: none;
}

.hours-times label {
    display: block;
    min-width: 0;
    font-weight: 400;
}

.hours-times input[type="time"] {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0.5rem 0.4rem;
    color-scheme: dark;
    font-variant-numeric: tabular-nums;
}

.hours-times input[type="time"]::-webkit-datetime-edit {
    display: inline-flex;
    min-width: 6.25rem;
    padding: 0;
    color: var(--text);
}

.hours-times input[type="time"]::-webkit-datetime-edit-fields-wrapper,
.hours-times input[type="time"]::-webkit-datetime-edit-hour-field,
.hours-times input[type="time"]::-webkit-datetime-edit-minute-field,
.hours-times input[type="time"]::-webkit-datetime-edit-ampm-field {
    color: var(--text);
}

.hours-times input[type="time"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.75;
}

@container hours (max-width: 34rem) {
    .hours-row,
    .hours-row:has(.hours-times.is-hidden) {
        grid-template-columns: minmax(0, 1fr) minmax(5.5rem, 6.25rem) 2.1rem;
        grid-template-areas:
            "days status remove"
            "times times times";
    }

    .hours-row:has(.hours-times.is-hidden) {
        grid-template-areas: "days status remove";
    }

    .hours-times {
        min-width: 0;
    }
}

.hours-arrow {
    color: var(--muted);
    flex-shrink: 0;
}

.hours-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #f87171;
    cursor: pointer;
    border-radius: 8px;
    justify-self: end;
    flex-shrink: 0;
}

.hours-remove:hover {
    background: var(--error-bg);
}

.hours-remove svg {
    width: 1.05rem;
    height: 1.05rem;
}

.hours-add {
    margin-top: 0.85rem;
}

.profile-page .hours-row > label {
    display: block;
    gap: 0;
    font-weight: 500;
    margin: 0;
    min-width: 0;
}

.profile-intro-field {
    position: relative;
}

.profile-intro-field textarea {
    padding-bottom: 1.8rem;
    min-height: 8.5rem;
}

.profile-char-count {
    position: absolute;
    left: 0.75rem;
    bottom: 0.55rem;
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 400;
}

@media (max-width: 980px) {
    .profile-split,
    .profile-hero-row {
        grid-template-columns: 1fr;
    }

    .profile-header {
        flex-direction: column;
        align-items: stretch;
    }

    .profile-save-btn {
        width: 100%;
        justify-content: center;
    }

    .profile-logo-tile {
        flex-direction: column;
        align-items: flex-start;
        min-height: 0;
        padding: 1rem;
    }

    .panel.profile-card {
        max-width: 100%;
        min-width: 0;
    }

    .hours-row,
    .hours-row:has(.hours-times.is-hidden) {
        grid-template-columns: minmax(0, 1fr) minmax(5.5rem, 6.25rem) 2.1rem;
        grid-template-areas:
            "days status remove"
            "times times times";
    }

    .hours-row:has(.hours-times.is-hidden) {
        grid-template-areas: "days status remove";
    }

    .hours-times {
        min-width: 0;
    }
}

/* ── Client dashboard ── */

.client-dash-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.client-dash-kpi {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    min-height: 8.5rem;
    padding: 1.25rem 1.35rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.client-dash-kpi-copy {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

.client-dash-kpi-label {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.client-dash-kpi-value {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.1;
}

.client-dash-kpi-meta {
    font-size: 0.8rem;
    color: var(--muted);
}

.client-dash-kpi-meta.is-up {
    color: var(--success);
}

.client-dash-kpi-meta.is-down {
    color: var(--error);
}

.client-dash-kpi-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: var(--primary-muted);
    color: var(--primary);
    flex-shrink: 0;
}

.client-dash-kpi-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.client-dash-stars {
    display: flex;
    gap: 0.15rem;
    color: color-mix(in srgb, var(--primary) 45%, var(--border));
}

.client-dash-star {
    position: relative;
    width: 0.95rem;
    height: 0.95rem;
}

.client-dash-star svg {
    width: 0.95rem;
    height: 0.95rem;
    display: block;
}

.client-dash-star .is-fill {
    position: absolute;
    inset: 0;
    color: var(--primary);
    clip-path: inset(0 calc((1 - var(--star-fill, 0)) * 100%) 0 0);
}

a.client-dash-kpi {
    color: inherit;
    text-decoration: none;
}

a.client-dash-kpi:hover {
    border-color: var(--primary);
}

.client-dash-kpi-meta.is-link {
    color: var(--primary);
}

.client-dash-kpi.is-placeholder .client-dash-kpi-value {
    color: var(--muted);
}

.client-dash-mid,
.client-dash-bottom {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.client-dash-mid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}

.client-dash-bottom {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.client-dash-panel {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.client-dash-period {
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface-elevated);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.client-dash-activities,
.client-dash-upcoming,
.client-dash-feed {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.client-dash-activity {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.65rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-elevated);
    color: inherit;
    text-decoration: none;
}

.client-dash-activity:hover {
    border-color: var(--primary);
    color: inherit;
    text-decoration: none;
}

.client-dash-activity-thumb {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 10px;
    object-fit: cover;
    background: var(--surface);
}

.client-dash-activity-thumb.is-empty {
    display: block;
    background: color-mix(in srgb, var(--primary) 18%, var(--surface));
}

.client-dash-activity-main {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.client-dash-activity-main strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-dash-status {
    width: fit-content;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.client-dash-status.is-ok {
    background: var(--success-bg);
    color: var(--success);
}

.client-dash-status.is-warn {
    background: color-mix(in srgb, var(--primary) 16%, transparent);
    color: var(--primary);
}

.client-dash-status.is-muted {
    background: var(--surface);
    color: var(--muted);
}

.client-dash-activity-meta {
    display: grid;
    gap: 0.15rem;
    color: var(--muted);
    font-size: 0.78rem;
    text-align: right;
}

.client-dash-more {
    display: inline-block;
    margin-top: auto;
    padding-top: 1rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.client-dash-chart {
    min-height: 10.5rem;
}

.client-dash-chart-svg {
    display: block;
    width: 100%;
    height: 11rem;
}

.client-dash-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.client-dash-metrics strong {
    display: block;
    margin: 0.15rem 0;
    font-size: 1.15rem;
}

.client-dash-upcoming li,
.client-dash-feed a {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border);
}

.client-dash-upcoming li {
    display: block;
    padding: 0;
    border-bottom: 0;
}

.client-dash-upcoming a {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border);
    color: inherit;
    text-decoration: none;
}

.client-dash-upcoming li:last-child a,
.client-dash-feed li:last-child a {
    border-bottom: 0;
}

.client-dash-upcoming-time,
.client-dash-upcoming-copy,
.client-dash-feed a {
    display: grid;
    gap: 0.15rem;
}

.client-dash-upcoming-time span,
.client-dash-upcoming-copy span,
.client-dash-feed span,
.client-dash-feed time {
    color: var(--muted);
    font-size: 0.8rem;
}

.client-dash-feed span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.client-dash-feed {
    position: relative;
}

.client-dash-feed li {
    position: relative;
    padding-left: 1.6rem;
}

.client-dash-feed li::before {
    content: "";
    position: absolute;
    left: 0.35rem;
    top: 1.15rem;
    bottom: -0.15rem;
    width: 2px;
    background: var(--border);
}

.client-dash-feed li:last-child::before {
    display: none;
}

.client-dash-feed li::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: var(--primary);
}

.client-dash-feed li.is-booking::after {
    background: #22c55e;
}

.client-dash-feed li.is-queue::after {
    background: #f59e0b;
}

.client-dash-feed li.is-alert::after {
    background: #60a5fa;
}

.client-dash-feed a {
    grid-template-columns: 1fr;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--border);
}

.client-dash-feed a:hover {
    color: inherit;
}

.client-dash-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.client-dash-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    min-height: 5.5rem;
    padding: 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-elevated);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.client-dash-action:hover {
    border-color: var(--primary);
    color: var(--text);
    text-decoration: none;
}

.client-dash-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, var(--primary) 45%, var(--border));
    color: var(--primary);
}

.client-dash-action-icon svg {
    width: 1.05rem;
    height: 1.05rem;
}

.client-dash-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid color-mix(in srgb, var(--primary) 35%, var(--border));
    background: color-mix(in srgb, var(--primary) 10%, var(--surface));
    border-radius: var(--radius);
}

.client-dash-banner p {
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

@media (max-width: 1100px) {
    .client-dash-kpis,
    .client-dash-mid,
    .client-dash-bottom {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .client-dash-kpis,
    .client-dash-mid,
    .client-dash-bottom,
    .client-dash-metrics,
    .client-dash-actions {
        grid-template-columns: 1fr;
    }

    .client-dash-activity {
        grid-template-columns: 3.25rem minmax(0, 1fr);
    }

    .client-dash-activity-meta {
        grid-column: 2;
        text-align: left;
        grid-template-columns: repeat(3, auto);
        justify-content: start;
        gap: 0.75rem;
    }

    .client-dash-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

.bookings-filters {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(8rem, 0.8fr) auto;
    gap: 0.75rem 1rem;
    align-items: end;
    margin-bottom: 1rem;
}

.bookings-rebook-form {
    max-width: 42rem;
    margin-bottom: 1.5rem;
}

.bookings-choice {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bookings-choice-option {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: inherit;
    cursor: pointer;
}

.bookings-choice-option:has(input:checked) {
    border-color: var(--primary);
    background: color-mix(in srgb, var(--primary) 10%, var(--surface));
}

.bookings-choice-option input {
    margin: 0;
}

.bookings-customer-mode {
    margin: 0 0 1rem;
    padding: 0;
    border: 0;
}

.bookings-customer-mode legend {
    padding: 0;
    margin: 0 0 0.5rem;
    font-weight: 600;
}

.bookings-customer-results {
    list-style: none;
    margin: 0.4rem 0 0.75rem;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.bookings-customer-result {
    display: grid;
    gap: 0.15rem;
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 0;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.bookings-customer-result:last-child {
    border-bottom: 0;
}

.bookings-customer-result:hover,
.bookings-customer-result:focus {
    background: color-mix(in srgb, var(--primary) 10%, var(--surface));
}

#selected-customer-note {
    margin: -0.25rem 0 1rem;
}

.bookings-filters label {
    display: grid;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.bookings-pager {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0.75rem 0 0;
}

.bookings-pager-current {
    font-weight: 600;
}

.bookings-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.8fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.bookings-subhead {
    margin: 1.25rem 0 0.5rem;
    font-size: 0.95rem;
}

.bookings-ticket-list,
.bookings-history {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bookings-ticket-list li,
.bookings-history li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border);
}

.bookings-history li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: baseline;
}

.bookings-history li p {
    grid-column: 1 / -1;
    margin: 0.25rem 0 0;
}

.bookings-totals {
    margin-top: 0.75rem;
}

.bookings-totals p {
    display: flex;
    justify-content: space-between;
    margin: 0.25rem 0;
}

.bookings-split {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 1.25rem 0;
}

.bookings-cancel-form {
    margin-top: 0.75rem;
}

.form-actions {
    margin-top: 1rem;
}

.bookings-quote {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-elevated);
}

.bookings-quote .bookings-customer-mode {
    margin: 0.75rem 0 0.35rem;
}

.bookings-card {
    margin: 1rem 0 0;
}

.rebook-saved-card {
    display: grid;
    gap: 0.65rem;
}

.rebook-saved-card-tile {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(242, 88, 38, 0.45);
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--primary-muted), var(--surface-elevated));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

@media (max-width: 520px) {
    .rebook-saved-card-tile {
        flex-wrap: wrap;
    }

    .rebook-saved-card-badge {
        margin-left: auto;
    }
}

.rebook-saved-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    height: 1.85rem;
    color: var(--text);
    flex-shrink: 0;
}

.rebook-saved-card-icon svg {
    width: 2.7rem;
    height: 1.85rem;
    display: block;
}

.rebook-saved-card-tile.is-visa .rebook-saved-card-icon {
    color: #7aa7ff;
}

.rebook-saved-card-tile.is-mastercard .rebook-saved-card-icon,
.rebook-saved-card-tile.is-master_card .rebook-saved-card-icon {
    color: #f59e0b;
}

.rebook-saved-card-tile.is-amex .rebook-saved-card-icon,
.rebook-saved-card-tile.is-american_express .rebook-saved-card-icon {
    color: #67b4e8;
}

.rebook-saved-card-tile.is-discover .rebook-saved-card-icon {
    color: #fb923c;
}

.rebook-saved-card-meta {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
    flex: 1;
}

.rebook-saved-card-brand {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.rebook-saved-card-number {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    font-size: 0.92rem;
}

.rebook-saved-card-dots {
    letter-spacing: 0.12em;
    font-size: 0.85rem;
}

.rebook-saved-card-badge {
    flex-shrink: 0;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--success-bg);
    color: var(--success);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.public-customer-pay-summary {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.public-customer-pay-summary li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: #2f3f59;
    font-weight: 600;
}

.public-customer-card-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}

.public-customer-pay-card .rebook-saved-card-tile {
    margin-bottom: 1rem;
    border-color: #e6e8ee;
    background: #f8fafc;
    box-shadow: none;
    color: #2f3f59;
}

.public-customer-pay-edit {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    align-items: end;
    margin: 0 0 0.85rem;
}

.public-customer-pay-edit label {
    display: grid;
    gap: 0.35rem;
    margin: 0;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.public-customer-pay-edit input {
    width: 100%;
    border: 1px solid #e6e8ee;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    color: #2f3f59;
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

.public-customer-pay-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1rem;
}

.public-customer-pay-actions .btn-link {
    background: none;
    border: 0;
    padding: 0;
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
}

.public-customer-pay-actions .btn-link:hover {
    color: #2f3f59;
}

.booking-saved-cards {
    margin: 0 0 1rem;
}

.booking-saved-card-option {
    cursor: pointer;
}

.booking-saved-card-option input {
    margin: 0;
    flex-shrink: 0;
}

#booking-new-card[hidden],
#booking-saved-cards[hidden] {
    display: none;
}

.rebook-new-card {
    padding: 0.9rem 1rem;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: var(--surface-elevated);
}

.rebook-new-card .muted {
    margin: 0 0 0.35rem;
}

.bookings-qty {
    display: grid;
    gap: 0.75rem;
    border: 0;
    padding: 0;
    margin: 1rem 0 0;
    min-width: 0;
}

.bookings-qty legend {
    padding: 0;
    margin: 0;
    font-weight: 600;
    font-size: 0.9rem;
}

.badge-booking {
    color: #fff;
}

.badge-booking.is-paid,
.badge-booking.is-checked_in { background: #15803d; }
.badge-booking.is-unpaid,
.badge-booking.is-pending { background: #b45309; }
.badge-booking.is-partial { background: #c2410c; }
.badge-booking.is-refunded,
.badge-booking.is-completed { background: #64748b; }
.badge-booking.is-confirmed { background: #1d4ed8; }
.badge-booking.is-no_show,
.badge-booking.is-cancelled { background: #b91c1c; }
.badge-booking.is-open { background: #15803d; }
.badge-booking.is-closed { background: #64748b; }
.badge-booking.is-restricted { background: #b91c1c; }

.contact-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.public-contact {
    padding: 2.5rem 0 4rem;
}

.public-contact-head {
    max-width: 40rem;
    margin: 0 0 1.75rem;
}

.public-contact-kicker {
    margin: 0 0 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.public-contact-kicker a {
    color: inherit;
}

.public-contact-head h1 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.public-contact-head p {
    margin: 0;
    color: #5c6b7a;
}

.public-contact-card {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 0 0 1.25rem;
    max-width: 40rem;
}

.public-contact-form {
    display: grid;
    gap: 1rem;
}

.public-contact-form label {
    display: grid;
    gap: 0.4rem;
    font-weight: 600;
}

.public-contact-form input,
.public-contact-form textarea,
.public-contact-form select {
    font: inherit;
    padding: 0.7rem 0.8rem;
    border: 1px solid #d5dde6;
    border-radius: 10px;
    width: 100%;
}

.contact-thread {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.contact-bubble {
    max-width: 42rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: #f4f6f9;
    color: #1f2937;
}

.contact-bubble.is-client,
.contact-bubble.is-mine {
    background: #e8f1ff;
}

.contact-bubble.is-customer {
    background: #f4f6f9;
}

.contact-bubble-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
    color: #5c6b7a;
}

.contact-bubble p {
    margin: 0;
    white-space: pre-wrap;
    color: #1f2937;
}

.contact-meta-panel .detail-list {
    margin: 0;
}

.contact-notify-list,
.contact-list,
.contact-block-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.contact-notify-list .checkbox-label {
    align-items: flex-start;
}

.contact-notify-list .muted,
.contact-list .muted {
    display: block;
    font-weight: 400;
}

.contact-list a {
    display: grid;
    gap: 0.2rem;
    text-decoration: none;
    color: inherit;
}

.contact-list li,
tr.is-unread {
    box-shadow: inset 3px 0 0 var(--brand, #F25826);
}

.contact-block-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 800px) {
    .public-contact-card {
        padding: 1.1rem;
    }
}

@media (max-width: 800px) {
    .bookings-filters,
    .bookings-detail-grid {
        grid-template-columns: 1fr;
    }
}

.addon-panel {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(26, 35, 50, 0.08);
}

.addon-panel h3 {
    margin: 0.75rem 0 0.5rem;
}

.addon-list {
    display: grid;
    gap: 0.75rem;
}

.addon-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: #1f2937;
}

.addon-card > div {
    min-width: 0;
    flex: 1;
}

.addon-card strong {
    display: block;
    color: #1f2937;
    font-size: 1rem;
    line-height: 1.3;
}

.addon-card img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.addon-card.is-sold-out {
    opacity: 0.72;
}

.addon-price,
.addon-sold-out {
    margin: 0.2rem 0 0.35rem;
    font-weight: 600;
    color: #334155;
}

.addon-card .muted {
    margin: 0 0 0.55rem;
    color: #64748b;
}

.addon-card .checkbox-label {
    margin-top: 0.35rem;
    color: #1f2937;
}

.addon-sold-out {
    color: #9a3412;
}

.addon-choice,
.addon-qty {
    display: block;
    margin-top: 0.45rem;
}

.addon-form-error {
    color: #9a3412;
}

.rating-summary-score {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem 0.55rem;
    margin: 0;
    font-size: 1.05rem;
}

.rating-score {
    color: #c8890a;
    letter-spacing: 0.04em;
    font-size: 1.15rem;
    margin: 0;
}

.rating-comment {
    max-width: 28rem;
    white-space: pre-wrap;
}

.rating-visit-meta {
    display: grid;
    gap: 0.15rem;
    margin: 0;
}

.rating-fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    min-inline-size: 0;
}

.rating-fieldset legend {
    font-weight: 600;
    margin-bottom: 0.65rem;
}

.rating-choices {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
}

.rating-choice {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    padding: 0.75rem 0.25rem;
    cursor: pointer;
    text-align: center;
    background: #fff;
}

.rating-choice input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.rating-choice:has(input:checked) {
    border-color: #c8890a;
    background: #fff8e8;
    box-shadow: inset 0 0 0 1px #c8890a;
}

.rating-choice:has(input:focus-visible) {
    outline: 2px solid #2f3f59;
    outline-offset: 2px;
}

.rating-choice-stars {
    color: #c8890a;
    font-size: 0.72rem;
    letter-spacing: -0.04em;
    line-height: 1;
}

.rating-choice-label {
    font-size: 0.78rem;
    font-weight: 600;
}

.rating-saved-comment {
    margin: 0.75rem 0 0;
    padding: 0.85rem 1rem;
    background: #f4f6f9;
    border-radius: 8px;
    white-space: pre-wrap;
}

.public-rating-thanks .rating-choice-label {
    margin: 0.35rem 0 0;
}

.checkin-day {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.checkin-day h2 {
    margin: 0;
}

.checkin-summary {
    margin: 0.35rem 0 0;
}

.checkin-day-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.checkin-groups {
    display: grid;
    gap: 1rem;
}

.checkin-booking-panel {
    margin-bottom: 1rem;
}

.checkin-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.9rem 1rem;
    margin-top: 0.75rem;
}

.checkin-card.is-checked_in {
    border-color: #86efac;
}

.checkin-card.is-no_show {
    border-color: #fecaca;
}

.checkin-card-head,
.checkin-actions,
.checkin-person-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    align-items: center;
}

.checkin-card-head {
    justify-content: space-between;
    align-items: flex-start;
}

.checkin-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.checkin-actions {
    margin-top: 0.75rem;
}

.checkin-action-form {
    display: inline;
}

.checkin-people {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    border-top: 1px solid var(--border);
}

.checkin-people li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--border);
}

.checkin-people li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

@media (max-width: 640px) {
    .checkin-day,
    .checkin-people li {
        flex-direction: column;
        align-items: flex-start;
    }

    .rating-choices {
        grid-template-columns: 1fr;
    }

    .rating-choice {
        grid-template-columns: auto 1fr;
        justify-items: start;
        align-items: center;
        padding: 0.7rem 0.85rem;
    }
}

.agent-ops {
    display: grid;
    gap: 1.25rem;
}

.agent-ops-card {
    margin-bottom: 0;
}

.agent-ops-card-head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.agent-ops-card-head h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.agent-ops-card-head p {
    margin: 0.15rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.agent-ops-card-icon,
.agent-ops-mark,
.agent-ops-metric-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--primary);
}

.agent-ops-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary-muted);
}

.agent-ops-card-icon svg,
.agent-ops-mark svg,
.agent-ops-metric-icon svg,
.agent-ops-btn svg,
.agent-ops-field svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.agent-ops-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: end;
}

.agent-ops-search label {
    display: grid;
    gap: 0.45rem;
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 0;
}

.agent-ops-field {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    height: 48px;
    padding: 0 0.9rem;
    background: #0c0c0c;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--muted);
    overflow: hidden;
}

.agent-ops-field:focus-within {
    border-color: var(--primary);
    color: var(--primary);
}

.agent-ops-field input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    outline: none;
}

.agent-ops-field input::placeholder,
.agent-ops-note::placeholder {
    color: #6b7280;
}

.agent-ops-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 42px;
    white-space: nowrap;
}

.agent-ops-search-btn {
    min-width: 148px;
    height: 48px;
    padding-inline: 1.4rem;
}

.agent-ops-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.agent-ops-row,
.agent-ops-agreement {
    background: #101010;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.9rem 1rem;
}

.agent-ops-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.agent-ops-identity {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.agent-ops-identity strong {
    display: block;
    font-size: 1rem;
}

.agent-ops-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #1a1a1a;
    border: 1px solid var(--border);
}

.agent-ops-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.15rem;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.agent-ops-status::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: currentColor;
}

.agent-ops-status.is-active {
    color: var(--success);
}

.agent-ops-status.is-pending {
    color: var(--staff);
}

.agent-ops-status.is-offered {
    color: var(--primary);
}

.agent-ops-actions,
.agent-ops-request,
.agent-ops-agreement-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.agent-ops-note {
    width: 11rem;
    max-width: 100%;
    height: 42px;
    padding: 0 0.75rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #0c0c0c;
    color: var(--text);
    font: inherit;
}

.agent-ops-note:focus {
    outline: none;
    border-color: var(--primary);
}

.agent-ops-agreement-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.agent-ops-metrics {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.agent-ops-metric {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1.25rem;
    border-left: 1px solid var(--border);
}

.agent-ops-metric span {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
}

.agent-ops-metric strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1.15;
}

.agent-ops-metric-icon {
    color: var(--muted);
}

.agent-ops-preview {
    margin: 0.85rem 0 0;
}

.agent-ops-agreement-actions {
    justify-content: flex-start;
    margin-top: 1rem;
}

.agent-ops-empty {
    margin: 0;
}

.agent-request-note {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    background: #101010;
    border: 1px solid var(--border);
    border-radius: 10px;
    white-space: pre-wrap;
}

.confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.62);
}

.confirm-modal[hidden] {
    display: none;
}

.confirm-dialog {
    width: min(26rem, 100%);
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem 1.3rem 1.2rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.confirm-dialog h2 {
    margin: 0 0 0.45rem;
    font-size: 1.15rem;
}

.confirm-dialog p {
    margin: 0 0 1.1rem;
    color: var(--muted);
    line-height: 1.45;
}

.confirm-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
}

@media (max-width: 800px) {
    .agent-ops-search,
    .agent-ops-row,
    .agent-ops-agreement-top {
        grid-template-columns: 1fr;
        display: grid;
    }

    .agent-ops-search-btn,
    .agent-ops-actions,
    .agent-ops-request {
        width: 100%;
    }

    .agent-ops-request .agent-ops-note,
    .agent-ops-request .btn {
        width: 100%;
    }

    .agent-ops-metrics {
        margin-left: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .agent-ops-metric {
        padding: 0.85rem 0 0;
        border-left: 0;
        border-top: 1px solid var(--border);
    }
}

.affiliate-main-share {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-start;
    justify-content: space-between;
}

.affiliate-main-share > div:first-child {
    flex: 1 1 16rem;
    min-width: 0;
}

.affiliate-main-share a,
.affiliate-share-link {
    overflow-wrap: anywhere;
}

.affiliate-qr {
    margin: 0;
    display: grid;
    gap: 0.4rem;
    justify-items: center;
}

.affiliate-qr figcaption {
    color: var(--muted);
    font-size: 0.85rem;
}

.affiliate-qr-frame {
    background: #fff;
    padding: 0.35rem;
    border-radius: 8px;
    line-height: 0;
}

.affiliate-qr-frame svg {
    display: block;
    width: 168px;
    height: 168px;
}

.affiliate-share-status {
    margin: 0.9rem 0 0;
}

.affiliate-share-results[hidden],
.affiliate-share-picked[hidden],
.affiliate-share-status[hidden],
.affiliate-share-operator[hidden] {
    display: none;
}

.affiliate-share-results {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.affiliate-share-results button {
    width: 100%;
    text-align: left;
    background: #0c0c0c;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    cursor: pointer;
    font: inherit;
    display: grid;
    gap: 0.15rem;
}

.affiliate-share-results button:hover,
.affiliate-share-results button:focus-visible,
.affiliate-share-results button[aria-pressed="true"] {
    border-color: var(--primary);
}

.affiliate-share-kind {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.affiliate-share-result-name,
.affiliate-share-name {
    font-weight: 600;
}

.affiliate-share-picked {
    margin-top: 1.25rem;
    display: grid;
    gap: 0.45rem;
    justify-items: start;
}

.affiliate-share-kicker,
.affiliate-share-name,
.affiliate-share-operator {
    margin: 0;
}

.affiliate-share-name {
    font-size: 1.05rem;
}
