/* =====================================================================
   PLANORA UI REFRESH  (presentation-only layer)
   Loaded AFTER style.css. Contains design tokens + non-structural polish.
   Rules here only change colour, type, spacing-feel, borders, shadows and
   interaction states. No selectors depend on or alter JS hooks / layout.
   ===================================================================== */

/* ---------- 1. Design tokens (additive; existing tokens kept) ---------- */
:root {
    /* Brand (aliases of the existing plum scale) */
    --brand-primary: var(--plum-600);
    --brand-primary-hover: var(--plum-700);
    --brand-secondary: var(--plum-400);
    --brand-accent: var(--plum-300);

    /* Surfaces & text */
    --bg-page: #FFFFFF;
    --bg-surface: var(--surface);
    --bg-card: #FFFFFF;
    --text-primary: var(--text);
    --text-secondary: #4F4860;
    --border-subtle: var(--border);
    --border-strong: #D5CADC;

    /* Contrast fix: previous #9A93A6 was ~2.8:1 on white; this is ~4.8:1 */
    --text-light: #766F83;

    /* Semantic states */
    --state-success: #0E9F6E;
    --state-warning: #B7791F;
    --state-error: #D92D20;
    --state-info: #2563EB;
    --state-disabled-bg: #F1EEF4;
    --state-disabled-text: #9A93A6;

    /* Focus */
    --focus-ring: 0 0 0 3px rgba(156, 68, 148, .35);
    --focus-outline: 2px solid var(--plum-500);

    /* Spacing scale */
    --space-1: .25rem;
    --space-2: .5rem;
    --space-3: .75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;

    /* Type scale (component level) */
    --fs-label: .85rem;
    --fs-input: .92rem;
    --fs-helper: .78rem;
    --fs-table-head: .74rem;
    --fs-table-cell: .9rem;
    --fs-badge: .72rem;
    --fs-meta: .78rem;
}

/* ---------- 2. Base typography & rendering ---------- */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-size: 1rem;
}

p {
    line-height: 1.65;
}

::selection {
    background: var(--plum-100);
    color: var(--plum-800);
}

small, .small, .text-muted {
    line-height: 1.5;
}

.text-muted {
    color: var(--text-muted) !important; /* Bootstrap's own rule uses !important */
}

/* ---------- 3. Keyboard focus (visible, consistent) ---------- */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
summary:focus-visible,
.btn:focus-visible,
.btn-brand:focus-visible,
.btn-outline-brand:focus-visible,
.btn-white:focus-visible,
.btn-ghost-light:focus-visible,
.btn-ghost-brand:focus-visible,
.btn-outline-danger:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
    box-shadow: var(--focus-ring);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none; /* replaced by the box-shadow ring below */
}

/* ---------- 4. Buttons ---------- */
.btn-brand,
.btn-outline-brand,
.btn-ghost-light,
.btn-white,
.btn-ghost-brand {
    line-height: 1.2;
    letter-spacing: .005em;
    -webkit-tap-highlight-color: transparent;
}

.btn-brand {
    box-shadow: 0 4px 14px rgba(90, 29, 84, .22);
}

.btn-brand:hover {
    box-shadow: 0 10px 26px rgba(90, 29, 84, .34);
}

.btn-outline-brand {
    border-color: var(--border-strong);
}

.btn-outline-brand:disabled,
.btn-outline-brand.is-disabled,
.btn-white:disabled,
.btn-ghost-light:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-brand:disabled,
.btn-brand.is-disabled {
    box-shadow: none;
}

/* ---------- 5. Forms ---------- */
.form-label {
    font-size: var(--fs-label);
    letter-spacing: 0;
}

.form-control,
.form-select {
    font-size: var(--fs-input);
    line-height: 1.5;
    border-color: var(--border-strong);
    background-color: #fff;
}

.form-control:hover:not(:disabled):not([readonly]):not(:focus),
.form-select:hover:not(:disabled):not(:focus) {
    border-color: var(--plum-300);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--plum-500);
    box-shadow: var(--focus-ring);
}

.form-control:disabled,
.form-select:disabled,
.form-control[readonly] {
    background-color: var(--state-disabled-bg);
    color: var(--text-muted);
    cursor: not-allowed;
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(217, 45, 32, .2);
}

.form-control.is-valid:focus,
.form-select.is-valid:focus {
    box-shadow: 0 0 0 3px rgba(14, 159, 110, .2);
}

.form-text,
.field-help {
    font-size: var(--fs-helper);
    color: var(--text-muted);
}

.field-error,
.invalid-feedback,
.text-danger.field-validation-error,
.field-validation-error {
    font-size: var(--fs-helper);
    color: var(--state-error);
}

.form-check-input {
    border-color: var(--border-strong);
}

.form-check-input:checked {
    background-color: var(--plum-600);
    border-color: var(--plum-600);
}

.form-check-input:focus {
    border-color: var(--plum-500);
    box-shadow: var(--focus-ring);
}

/* ---------- 6. Cards & panels ---------- */
.card-soft {
    border-color: var(--border-subtle);
}

/* ---------- 7. Tables (Bootstrap .table used in data screens) ---------- */
.table {
    --bs-table-color: var(--text);
    --bs-table-border-color: var(--border-subtle);
    --bs-table-hover-bg: var(--plum-50);
    font-size: var(--fs-table-cell);
}

.table > thead > tr > th {
    font-family: var(--font-display);
    font-size: var(--fs-table-head);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-strong);
    vertical-align: middle;
}

.table > tbody > tr > td {
    vertical-align: middle;
}

/* ---------- 8. Modals, dropdowns, toasts (Bootstrap) ---------- */
.modal-content {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.modal-header,
.modal-footer {
    border-color: var(--border-subtle);
}

.modal-title {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.dropdown-menu {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--plum-50);
    color: var(--plum-700);
}

.dropdown-item.active,
.dropdown-item:active {
    background: var(--plum-600);
    color: #fff;
}

/* ---------- 9. Navigation ---------- */
.nav-links a {
    font-family: var(--font-display);
    letter-spacing: 0;
}

.nav-links a:hover {
    color: var(--plum-600);
}

.nav-links a.active {
    color: var(--plum-700);
}

/* Page titles on plum banners: style.css sets an opaque grey colour that
   hides its own white shimmer gradient. Use the intended white. */
.section-plum h1,
.ed-hero h1 {
    color: #fff;
}

/* ---------- 10. Badges & status text ---------- */
.badge-status,
.badge-cat,
.badge-free,
.badge-featured,
.badge-hot {
    font-size: var(--fs-badge);
    letter-spacing: .02em;
}

/* ---------- 11. Media & overflow safety ---------- */
/* Long unbroken strings (emails, ids, urls) must not push layout sideways */
.card-soft, .modal-body {
    overflow-wrap: break-word;
}

/* ---------- 12. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn-brand,
    .btn-outline-brand,
    .btn-brand:hover,
    .btn-outline-brand:hover {
        transition: none;
        transform: none;
    }
}

/* =====================================================================
   BOOKING FLOW — COMPACT LAYOUT (presentation-only)
   Scope: pages that use the shared booking shell
   (`.seatbar` header followed by `section.section`) and the event
   details page (`:is(.ed-hero, .ed-top) ~ .section`). Only spacing / sizing is
   changed; no markup, IDs, handlers or data are touched.
   Spacing scale: 4-8 related, 8-16 controls, 16-24 groups, 24-32 sections.
   `!important` is used only where Bootstrap utility classes
   (p-4, mb-4, py-*) in the markup would otherwise win.
   ===================================================================== */

/* ---- 1. Shared booking shell ---------------------------------------- */
.seatbar-inner {
    padding: .5rem 0;
}

.seatbar-back {
    width: 36px;
    height: 36px;
}

.seatbar + .section {
    padding-bottom: 2rem;
}

.seatbar + .section {
    padding-top: 1.1rem !important; /* page markup sets inline padding-top:1.5rem */
}

.seatbar + .section .row.g-4 {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.25rem;
}

.seatbar + .section .card-soft.p-4,
:is(.ed-hero, .ed-top) ~ .section .card-soft.p-4 {
    padding: 1.1rem 1.25rem !important;
}

.seatbar + .section .card-soft.p-3 {
    padding: .85rem 1rem !important;
}

.seatbar + .section .card-soft.mb-4,
:is(.ed-hero, .ed-top) ~ .section .card-soft.mb-4 {
    margin-bottom: 1rem !important;
}

.seatbar + .section .card-soft.mb-3 {
    margin-bottom: .75rem !important;
}

.seatbar + .section h2 {
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    margin-bottom: .25rem;
}

.seatbar + .section h3 {
    font-size: 1.05rem;
}

.seatbar + .section p.text-muted.mb-3 {
    margin-bottom: .75rem !important;
}

.seatbar + .section .form-control,
.seatbar + .section .form-select {
    padding: .55rem .8rem;
}

.seatbar + .section .btn-brand {
    padding: .65rem 1.4rem;
}

.seatbar + .section .btn-outline-brand {
    padding: .6rem 1.3rem;
}

/* ---- 2. Ticket selection -------------------------------------------- */
.seatbar + .section .tt-day-tab {
    padding: .32rem .85rem;
}

.seatbar + .section .slot-card {
    padding: .85rem 1rem;
    margin-bottom: .85rem;
}

.seatbar + .section .slot-head {
    margin-bottom: .35rem;
}

.seatbar + .section .slot-meta {
    margin-bottom: .5rem;
}

.seatbar + .section .ttype-row {
    padding: .5rem .6rem;
}

.seatbar + .section .ttype-chips {
    margin-top: .25rem;
}

.seatbar + .section .ttype-meta {
    margin-top: .2rem;
}

/* ---- 3. Guest details ------------------------------------------------ */
.seatbar + .section .gd-guest-card {
    padding: 1rem 1.1rem;
}

.seatbar + .section .gd-guest-head {
    margin-bottom: .75rem;
    padding-bottom: .75rem;
}

.seatbar + .section .gd-card-foot {
    margin-top: .9rem;
    padding-top: .75rem;
}

.seatbar + .section .gd-guest-card .row.g-3 {
    --bs-gutter-y: .75rem;
}

.seatbar + .section .gd-progress {
    margin-bottom: .6rem;
}

.seatbar + .section .gd-summary-row {
    padding: .3rem 0;
}

.seatbar + .section .gd-mini-guest {
    padding-top: .4rem;
    padding-bottom: .4rem;
}

/* ---- 4. Add-ons ------------------------------------------------------ */
.seatbar + .section .addon-card {
    padding: .75rem 1rem;
    margin-bottom: .65rem;
}

.seatbar + .section .adn-summary-row {
    padding: .3rem 0;
}

/* ---- 5. Assign seats ------------------------------------------------- */
.seatbar + .section .as-step-bar,
.seatbar + .section .bs-step-bar {
    margin-bottom: .75rem;
}

.seatbar + .section .as-guest-row {
    padding: .65rem 0;
}

.seatbar + .section .as-quota {
    margin-bottom: .5rem;
}

/* ---- 6. Booking summary ---------------------------------------------- */
.seatbar + .section .bs-row {
    padding: 6px 0;
}

.seatbar + .section .bs-row.tot {
    margin-top: 6px;
    padding-top: 10px;
}

.seatbar + .section .bs-section-h {
    margin-bottom: 8px;
}

.seatbar + .section .bs-chip {
    margin-top: 2px;
}

.seatbar + .section .bc-row {
    padding: 6px 0;
}

@media (min-width: 768px) {
    /* The summary column was sticking at top:20px, i.e. behind the
       sticky site nav + step bar. Park it just below them instead. */
    .seatbar + .section .bs-total-card {
        top: 172px;
    }
}

/* ---- 7. Seat map (desktop/tablet: denser, same behaviour) ------------ */
@media (min-width: 768px) and (pointer: fine) {
    .seatbar + .section .dynamic-seat {
        width: 30px;
        height: 30px;
    }

    .seatbar + .section .dynamic-table-seats,
    .seatbar + .section .dynamic-seat-row {
        gap: .3rem;
    }
}

.seatbar + .section .ticket-layout-section {
    margin-top: .75rem;
    padding: .75rem;
}

.seatbar + .section .ticket-layout-header {
    margin-bottom: .5rem;
}

.seatbar + .section .dynamic-table-card {
    padding: .6rem;
}

.seatbar + .section .dynamic-table-title {
    margin-bottom: .4rem;
}

.seatbar + .section .dynamic-table-grid {
    gap: .6rem;
}

.seatbar + .section .seatmap-toolbar-row,
.seatbar + .section .seat-legend {
    margin-bottom: .5rem;
}

.seatbar + .section .seat-reserve-card,
.seatbar + .section .seat-note-card {
    padding: .65rem .85rem;
    margin-bottom: .5rem;
}

/* ---- 8. Event details ------------------------------------------------ */
@media (min-width: 768px) {
    .ed-hero {
        min-height: 520px;
    }
}

.ed-hero .container {
    padding-bottom: 24px;
}

:is(.ed-hero, .ed-top) ~ .section {
    padding-top: 1.5rem;
}

:is(.ed-hero, .ed-top) ~ .section .row.g-3 {
    --bs-gutter-y: .75rem;
}

:is(.ed-hero, .ed-top) ~ .section .info-card {
    padding: .65rem .85rem;
}

:is(.ed-hero, .ed-top) ~ .section .info-card .ic {
    width: 34px;
    height: 34px;
}

:is(.ed-hero, .ed-top) ~ .section .row.g-4 {
    --bs-gutter-y: 1.25rem;
}

/* ---- 9. Phones: tighter shell, keep 44px-ish tap targets ------------- */
@media (max-width: 767px) {
    .seatbar + .section .card-soft.p-4,
    :is(.ed-hero, .ed-top) ~ .section .card-soft.p-4 {
        padding: .9rem 1rem !important;
    }

    .seatbar + .section .btn-brand,
    .seatbar + .section .btn-outline-brand {
        min-height: 44px;
    }

    .seatbar + .section .form-control,
    .seatbar + .section .form-select {
        min-height: 44px;
    }

    .ed-hero .container {
        padding-bottom: 20px;
    }
}

/* =====================================================================
   EVENT DETAILS — hero (banner + info card), carousel, Programme, Speakers
   Presentation only. New classes are prefixed `ed-` and scoped under
   `.ed-top` / `.ed-banner` so the Private Event page (which also uses
   `.ed-hero`) is unaffected.
   ===================================================================== */

/* ---- Hero layout ---------------------------------------------------- */
.ed-top-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 992px) {
    .ed-top-grid {
        grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
        gap: 1.25rem;
        align-items: stretch;
    }
}

.ed-top .ed-banner {
    min-height: 230px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--plum-800);
}

@media (min-width: 768px) {
    .ed-top .ed-banner {
        min-height: 300px;
    }
}

@media (min-width: 992px) {
    .ed-top .ed-banner {
        min-height: 380px;
    }
}

.ed-top .ed-banner:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
}

/* Slides (the page style forces 100% 100% stretch; use cover so a narrower
   banner never distorts the image) */
.ed-top .ed-banner .ed-slide {
    opacity: 0;
    transition: opacity .35s ease;
}

.ed-top .ed-banner .ed-slide.is-active {
    opacity: 1;
}

.ed-top .ed-banner .ed-slide.ed-bg {
    background-size: cover !important;
    background-position: center !important;
}

/* No text sits on the image any more; keep only enough shade for the
   back button and the carousel/share controls to stay readable. */
.ed-top .ed-banner .ed-overlay {
    background: linear-gradient(180deg, rgba(26,8,24,.32) 0%, rgba(26,8,24,0) 28%, rgba(26,8,24,0) 62%, rgba(26,8,24,.38) 100%);
    pointer-events: none;
}

/* ---- Carousel controls --------------------------------------------- */
.ed-car-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(26,8,24,.6);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease;
}

.ed-car-btn:hover {
    background: rgba(26,8,24,.82);
}

.ed-car-prev {
    left: .75rem;
}

.ed-car-next {
    right: .75rem;
}

.ed-car-dots {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: .85rem;
    transform: translateX(-50%);
    display: flex;
    gap: .45rem;
    padding: .35rem .6rem;
    border-radius: 999px;
    background: rgba(26,8,24,.5);
}

.ed-car-dot {
    position: relative;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.6);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.ed-car-dot::after { /* larger invisible tap area */
    content: "";
    position: absolute;
    inset: -8px -4px;
}

.ed-car-dot.is-active {
    width: 18px;
    background: #fff;
}

/* ---- Info card ------------------------------------------------------ */
.ed-info {
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.35rem;
}

.ed-info-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: .6rem;
}

.ed-info-title {
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
    line-height: 1.2;
    margin: 0 0 1rem;
    color: var(--text);
    overflow-wrap: break-word;
}

.ed-facts {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    gap: .8rem;
}

.ed-facts li {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
}

.ed-facts .ic {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--surface-tint);
    color: var(--plum-600);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.ed-facts .lbl,
.ed-price .lbl {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--text-light);
}

.ed-facts .val {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.35;
    color: var(--text);
    overflow-wrap: break-word;
}

.ed-facts .sub,
.ed-price .sub {
    font-size: .8rem;
    line-height: 1.4;
    color: var(--text-muted);
    overflow-wrap: break-word;
}

.ed-info-foot {
    margin-top: auto;
    padding-top: .9rem;
    border-top: 1px solid var(--border);
    display: grid;
    gap: .75rem;
}

.ed-price-val {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.45rem;
    line-height: 1.2;
    color: var(--plum-700);
}

.ed-chip-ok {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .75rem;
    border-radius: 999px;
    background: rgba(14,159,110,.1);
    color: #047857;
    font-size: .82rem;
    font-weight: 600;
}

.ed-note {
    padding: .6rem .8rem;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: .85rem;
}

/* Keep the booking panel clear of the sticky headers when scrolled to */
#booking-panel {
    scroll-margin-top: 110px;
}

/* ---- Programme ------------------------------------------------------ */
.ed-grp-head {
    padding-bottom: .4rem;
    margin-bottom: .6rem;
    border-bottom: 1px solid var(--border);
}

.ed-prog-row {
    display: grid;
    grid-template-columns: minmax(84px, auto) minmax(0, 1fr);
    gap: .75rem;
    align-items: start;
    padding: .6rem 0;
    border-bottom: 1px solid var(--border);
}

.ed-prog-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.ed-prog-time {
    max-width: 104px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: .3rem .55rem;
    border-radius: var(--radius-sm);
    background: var(--plum-600);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
}

/* ---- Speakers ------------------------------------------------------- */
.ed-spk-card {
    background: var(--surface-tint);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .65rem .75rem;
}

.ed-spk-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--plum-600);
}

/* The slot header repeats the "Day N" pill that the date header directly
   above it already shows; keep it compact rather than duplicating it. */
.mb-4:not(.card-soft) > .ed-grp-head {
    margin-bottom: .5rem;
}

.mb-4:not(.card-soft) > .ed-grp-head > .pill {
    display: none;
}

.mb-4:not(.card-soft) > .row.g-3 {
    --bs-gutter-y: .6rem;
    --bs-gutter-x: .75rem;
}

/* Back chip over the banner: solid dark glass so it stays readable on light images */
.ed-top .ed-banner .ed-back .btn-ghost-light {
    background: rgba(26,8,24,.62);
    border-color: rgba(255,255,255,.45);
    color: #fff;
}

.ed-top .ed-banner .ed-back .btn-ghost-light:hover {
    background: rgba(26,8,24,.8);
}

/* Category pill on the white info card (it was designed for a dark banner) */
.ed-info-pills .badge-cat:not(.badge-free) {
    background: var(--surface-tint);
    color: var(--plum-700);
}

/* =====================================================================
   BOOKING FLOW — PHASE 2: step trail, notices, seat legend
   ===================================================================== */

/* ---- Step trail (sits inside the dark booking header) ---------------- */
.bkf-steps-wrap {
    padding-bottom: .55rem;
}

.bkf-steps {
    display: flex;
    gap: .35rem;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.bkf-steps::-webkit-scrollbar {
    display: none;
}

.bkf-step {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .74rem;
    font-weight: 600;
    white-space: nowrap;
    color: rgba(255,255,255,.72);
}

.bkf-step::after { /* connector line */
    content: "";
    flex: 1;
    height: 1px;
    margin-left: .15rem;
    background: rgba(255,255,255,.25);
}

.bkf-step:last-child {
    flex: 0 0 auto;
}

.bkf-step:last-child::after {
    display: none;
}

.bkf-step-n {
    flex: none;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.5);
    font-size: .68rem;
    line-height: 1;
}

.bkf-step.is-past .bkf-step-n {
    background: rgba(255,255,255,.18);
    border-color: transparent;
    color: #fff;
}

.bkf-step.is-current {
    color: #fff;
}

.bkf-step.is-current .bkf-step-n {
    background: #fff;
    border-color: #fff;
    color: var(--plum-700);
}

@media (max-width: 575px) {
    .bkf-step:not(.is-current) .bkf-step-l {
        display: none;
    }

    .bkf-step:not(.is-current) {
        flex: 0 0 auto;
    }

    .bkf-step:not(.is-current)::after {
        width: 14px;
        flex: none;
    }

    .bkf-step.is-current {
        flex: 1 1 auto;
    }
}

/* The header is taller now; keep sticky side panels clear of it */
@media (min-width: 992px) {
    .seatbar + .section .seat-sticky {
        top: 172px;
    }
}

/* ---- Notices (replace blocking native alert pop-ups) ------------------ */
.bk-toasts {
    position: fixed;
    top: 172px;
    right: 1rem;
    z-index: 3000;
    display: grid;
    gap: .5rem;
    width: min(420px, calc(100vw - 2rem));
    pointer-events: none;
}

@media (max-width: 767px) {
    .bk-toasts {
        top: 172px;
        left: 1rem;
        right: 1rem;
        width: auto;
    }
}

.bk-toast {
    --bk-toast-accent: var(--state-warning);
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    padding: .8rem .9rem;
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--bk-toast-accent);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow-md);
    font-size: .9rem;
    line-height: 1.45;
    animation: bk-toast-in .2s ease-out;
}

.bk-toast--error {
    --bk-toast-accent: var(--state-error);
}

.bk-toast--success {
    --bk-toast-accent: var(--state-success);
}

.bk-toast--info {
    --bk-toast-accent: var(--state-info);
}

.bk-toast > i {
    flex: none;
    margin-top: .15rem;
    color: var(--bk-toast-accent);
}

.bk-toast-text {
    flex: 1;
    min-width: 0;
    white-space: pre-line;
    overflow-wrap: break-word;
}

.bk-toast-close {
    flex: none;
    width: 28px;
    height: 28px;
    margin: -.2rem -.3rem 0 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.bk-toast-close:hover {
    background: var(--bg-surface);
    color: var(--text);
}

@keyframes bk-toast-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .bk-toast {
        animation: none;
    }
}

/* ---- Seat colour key (swatches match the real seat colours) ---------- */
.bk-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1rem;
    font-size: .8rem;
    color: var(--text-secondary);
}

.bk-legend .dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: .3rem;
    border-radius: 4px;
    vertical-align: -2px;
    border: 1px solid transparent;
}

.bk-dot-available {
    background: #ede9fe;
    border-color: #7c3aed !important;
}

.bk-dot-selected {
    background: #16a34a;
    border-color: #16a34a !important;
}

.bk-dot-booked {
    background: #e5e7eb;
    border-color: #d1d5db !important;
}

/* Inline validation callouts (visibility is still controlled by each page's script) */
.seatbar + .section .as-err {
    padding: .6rem .85rem;
    border: 1px solid #fecaca;
    border-left: 4px solid var(--state-error);
    border-radius: var(--radius-sm);
    background: #fef2f2;
    color: #991b1b;
    font-size: .88rem;
    line-height: 1.45;
}

/* The site nav is 74px tall; the booking header used to stick at 64px and
   slid 10px under it. Stick it directly below the nav instead. */
.seatbar {
    top: 74px;
}

/* =====================================================================
   PHASE 3 — TYPOGRAPHY, READABILITY & CONTRAST
   Scope: event details page + booking flow only
   (.ed-top, .ed-top ~ .section, .seatbar, .seatbar + .section).
   Contrast figures are WCAG ratios measured on the rendered pages.
   ===================================================================== */

/* ---- 1. Semantic colours that are used as TEXT ---------------------- */
/* The brand "free / success" green (#10B981) was 2.5:1 on white and
   under white text. Within these pages the token resolves to #047857
   (5.5:1 either way), so every pill, price and note that uses it is fixed
   without editing each one. */
:is(.ed-top, .ed-top ~ .section, .seatbar, .seatbar + .section) {
    --accent-green: #047857;
    --success: #047857;
}

/* Header counter: a page style forced the light-background grey onto the
   dark header (2.9:1). */
.seatbar .seatbar-avail {
    color: rgba(255,255,255,.88);
}

/* Ticket availability labels (page styles used #16a34a / #d97706: ~3.2:1) */
.seatbar + .section .ttype-avail.ok {
    color: #15803d; /* 5.0:1 */
}

.seatbar + .section .ttype-avail.low {
    color: #b45309; /* 5.0:1 */
}

/* Selected seat: white number on green was 3.3:1 */
.seatbar + .section {
    --seat-selected-color: #15803d;
}

.bk-dot-selected {
    background: #15803d;
    border-color: #15803d !important;
}

/* ---- 2. Minimum text size: nothing under 12px ---------------------- */
:is(.ed-top, .ed-top ~ .section, .seatbar + .section) .pill,
:is(.ed-top, .ed-top ~ .section, .seatbar + .section) .badge-cat,
:is(.ed-top ~ .section, .seatbar + .section) .badge-free {
    font-size: .75rem;
}

.ed-grp-head .pill { /* page markup sets .68rem inline */
    font-size: .75rem !important;
}

.seatbar .seatbar-ev {
    font-size: .8rem;
    color: rgba(255,255,255,.78);
}

.bkf-step {
    font-size: .78rem;
}

.bkf-step-n {
    width: 22px;
    height: 22px;
    font-size: .75rem;
}

.seatbar + .section :is(.ttype-chip, .ttype-avail, .ttype-meta, .gd-mini-ticket, .bs-chip, .as-chip, .slot-meta, .bc-row small) {
    font-size: .78rem;
}

.seatbar + .section .tt-summary-day {
    font-size: .75rem;
}

.seatbar + .section .gd-mini-edit {
    font-size: .8rem;
    padding: .3rem .4rem; /* also enlarges the tap target */
}

:is(.ed-top, .ed-top ~ .section) :is(.lbl, .sub, .ev-price-label, .ev-date, .ev-venue) {
    font-size: .78rem;
}

.ed-top ~ .section .small {
    font-size: max(.8rem, .875em);
}

/* ---- 3. Buttons on phones: style.css shrinks them to 12px / 10px ---- */
@media (max-width: 767px) {
    :is(.ed-top, .ed-top ~ .section, .seatbar + .section) :is(.btn-brand, .btn-outline-brand, .btn-ghost-light) {
        font-size: .9rem;
    }

    .ed-top .btn-sm-b {
        font-size: .85rem;
    }
}

@media (max-width: 360px) {
    :is(.ed-top, .ed-top ~ .section, .seatbar + .section) :is(.btn-brand, .btn-outline-brand, .btn-ghost-light) {
        font-size: .85rem;
    }
}

/* ---- 4. Type hierarchy for money and totals --------------------------- */
.seatbar + .section :is(.bs-row.tot, .seat-sum-total, .gd-summary-row:last-child) {
    font-size: 1.05rem;
}

.seatbar + .section .bs-total-card h3,
.seatbar + .section .bs-total-card .bs-section-h h3 {
    font-size: 1.1rem;
}

/* Body copy in descriptions: comfortable measure and line height */
.seatbar + .section p,
.ed-top ~ .section p {
    line-height: 1.6;
}

/* Floating mobile "Book Tickets" bar: tuck it away while the hero's own
   Book button is on screen (same hide style the bar already uses). */
@media (max-width: 767px) {
    .mobile-book-float.is-hero-visible {
        opacity: 0;
        transform: translateY(14px);
        pointer-events: none;
    }
}

/* Selected seat (page hard-codes #16a34a: white number was 3.3:1) */
.seatbar + .section .dynamic-seat.is-selected {
    background: #15803d;
    border-color: #15803d;
    color: #fff;
}

.seatbar + .section .bk-legend {
    font-size: .8rem;
}

/* =====================================================================
   SEAT MAP ON PHONES — two tables per row
   Between 350px and 479px the grid used a single column (a 277px-wide
   card for a 5-seat-wide table). Two columns fit three 34px seats per
   row, so tap targets are unchanged. Below 350px the single column is
   kept (two columns would only fit two seats per row, with no gain).
   From 480px the page's own auto-fill grid already uses two columns.
   ===================================================================== */
@media (min-width: 350px) and (max-width: 479px) {
    .seatbar + .section .dynamic-table-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .5rem;
    }

    .seatbar + .section .dynamic-table-card {
        padding: .5rem;
    }

    .seatbar + .section .dynamic-table-title {
        margin-bottom: .35rem;
        font-size: .88rem;
        line-height: 1.25;
    }

    .seatbar + .section .dynamic-table-seats {
        justify-content: center;
    }

    /* put the availability count on its own line instead of wrapping mid-phrase */
    .seatbar + .section .dynamic-table-title > span {
        display: block;
        font-size: .75rem;
        font-weight: 500;
    }

    /* a little more width for the grid itself */
    .seatbar + .section .ticket-layout-section {
        padding: .5rem;
    }

    .seatbar + .section .col-lg-8 > .card-soft {
        padding: .6rem .5rem !important;
    }
}

/* =====================================================================
   TABLE SEATING — a table with chairs around it
   Applied only when booking-ui.js has positioned a table
   (`.has-chairs`); otherwise the plain grid of seats above is used.
   Layout type "TableLayout" -> tables; "RowAndSeating" is untouched.
   ===================================================================== */
.seatbar + .section .dynamic-table-grid.has-chairs {
    gap: .75rem;
    align-items: start;
}

.seatbar + .section .dynamic-table-grid.has-chairs .dynamic-table-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.seatbar + .section .dynamic-table-seats.has-chairs {
    position: relative;
    display: block;
    flex: none;
    margin: .4rem auto .2rem;
}

/* the table itself, drawn behind the chairs */
.seatbar + .section .dynamic-table-seats.has-chairs::before {
    content: attr(data-table-label);
    position: absolute;
    left: var(--tx);
    top: var(--ty);
    width: var(--tw);
    height: var(--th);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--tr, 14px);
    border: 2px solid var(--plum-300);
    background: linear-gradient(145deg, #fff, var(--surface-tint));
    box-shadow: inset 0 1px 6px rgba(90,29,84,.08);
    color: var(--plum-700);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: .02em;
    pointer-events: none;
}

.seatbar + .section .dynamic-table-seats.has-chairs .dynamic-seat {
    position: absolute;
    margin: 0;
    padding: 0;
    z-index: 1;
}

.seatbar + .section .dynamic-table-grid.has-chairs .dynamic-table-title {
    text-align: center;
}

/* ---- Compact tables -------------------------------------------------- */
.seatbar + .section .dynamic-table-grid.has-chairs {
    gap: .5rem;
}

.seatbar + .section .dynamic-table-grid.has-chairs .dynamic-table-card {
    padding: .4rem;
}

.seatbar + .section .dynamic-table-seats.has-chairs {
    margin: .1rem auto;
}

/* label (and, on wide tables, the availability) lives on the table itself */
.seatbar + .section .dynamic-table-seats.has-chairs::before {
    content: attr(data-table-text);
    white-space: pre-line;
    text-align: center;
    line-height: 1.25;
    font-size: .95rem;
}

/* When the availability is shown on the table, the heading above becomes
   screen-reader-only (still in the page, just not drawn twice). */
.seatbar + .section .dynamic-table-card.avail-inside .dynamic-table-title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.seatbar + .section .dynamic-table-grid.has-chairs .dynamic-table-card {
    position: relative; /* anchors the screen-reader-only heading */
}

.seatbar + .section .dynamic-table-card:not(.avail-inside) .dynamic-table-title {
    margin-bottom: .2rem;
    font-size: .85rem;
}

/* =====================================================================
   EVENT DETAILS — TOP SECTION v2
   Title above; media carousel + compact info card side by side;
   tags and "interested" under the media; dates & sessions popup.
   ===================================================================== */
.ed-titlebar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
}

.ed-titlebar-main {
    min-width: 0;
}

.ed-crumb {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: .2rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.ed-crumb:hover {
    color: var(--plum-600);
}

.ed-title {
    margin: 0;
    font-size: clamp(1.3rem, 2.4vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.01em;
    overflow-wrap: anywhere;
}

.ed-share {
    flex: none;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--bg-surface);
    color: var(--text);
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.ed-share:hover {
    background: var(--surface-tint);
    color: var(--plum-600);
}

/* layout */
@media (min-width: 992px) {
    .ed-top-grid {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
        gap: 1.25rem;
        align-items: start;
    }
}

.ed-top .ed-media {
    min-width: 0;
}

/* banner / carousel (blurred backdrop + contained image copes with posters of any shape) */
.ed-top .ed-banner {
    position: relative;
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    background: var(--plum-800);
}

@media (min-width: 768px) {
    .ed-top .ed-banner {
        aspect-ratio: 2 / 1;
    }
}

.ed-top .ed-banner .ed-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .35s ease;
}

.ed-top .ed-banner .ed-slide.is-active {
    opacity: 1;
}

.ed-banner .ed-bg-blur {
    position: absolute;
    inset: -12%;
    background-size: cover;
    background-position: center;
    filter: blur(24px);
    transform: scale(1.1);
}

.ed-banner .ed-bg-main {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* tags + interested, under the media */
.ed-media-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .6rem 1rem;
    margin-top: .7rem;
}

.ed-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.ed-tag {
    display: inline-block;
    padding: .25rem .65rem;
    border-radius: 6px;
    background: var(--plum-800);
    color: #fff;
    font-size: .78rem;
    font-weight: 500;
}

.ed-tag-access {
    background: var(--accent-green);
}

.ed-interest {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem .85rem;
}

.ed-interest-count {
    font-size: .88rem;
    font-weight: 600;
    color: var(--text);
}

.ed-interest-count i {
    margin-right: .25rem;
    color: #15803d;
}

.ed-interest-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .9rem;
    border: 1.5px solid var(--plum-600);
    border-radius: 8px;
    background: #fff;
    color: var(--plum-600);
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}

.ed-interest-btn:hover {
    background: var(--plum-50);
}

.ed-interest-btn .ed-int-on {
    display: none;
}

.ed-interest-btn.ev-act-fav {
    background: var(--plum-600);
    color: #fff;
}

.ed-interest-btn.ev-act-fav .ed-int-off {
    display: none;
}

.ed-interest-btn.ev-act-fav .ed-int-on {
    display: inline;
}

/* info card */
.ed-info {
    padding: 1rem 1.15rem;
}

.ed-facts {
    gap: .75rem;
    margin-bottom: .9rem;
}

.ed-facts li {
    align-items: flex-start;
    gap: .75rem;
}

.ed-facts .ic {
    width: 22px;
    height: 22px;
    border-radius: 0;
    background: none;
    color: var(--text);
    font-size: 1rem;
}

.ed-facts .val {
    font-family: var(--font-body);
    font-size: .92rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text);
}

.ed-venue {
    flex: 1;
    min-width: 0;
}

.ed-link {
    display: inline-block;
    margin-top: .15rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--plum-600);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.ed-link:hover {
    color: var(--plum-700);
}

.ed-dir {
    flex: none;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: -.3rem -.3rem 0 0;
    border-radius: 50%;
    color: var(--plum-600);
}

.ed-dir:hover {
    background: var(--plum-50);
    color: var(--plum-700);
}

.ed-info-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1rem;
    margin-top: auto;
    padding-top: .85rem;
    border-top: 1px solid var(--border);
}

.ed-price-val {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.ed-avail {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-top: .1rem;
    font-size: .8rem;
    font-weight: 600;
}

.ed-avail i {
    font-size: .55rem;
}

.ed-avail-ok {
    color: #15803d;
}

.ed-avail-out {
    color: #b91c1c;
}

.ed-cta .btn-brand,
.ed-cta .btn-outline-brand {
    padding: .65rem 1.5rem;
    white-space: nowrap;
}

@media (max-width: 420px) {
    .ed-info-foot {
        flex-wrap: wrap;
    }

    .ed-cta {
        width: 100%;
    }

    .ed-cta .btn-brand,
    .ed-cta .btn-outline-brand {
        width: 100%;
    }
}

/* dates & sessions popup */
.ed-dm-day {
    padding: .75rem 0;
    border-bottom: 1px solid var(--border);
}

.ed-dm-day:first-child {
    padding-top: 0;
}

.ed-dm-day:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.ed-dm-date {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    margin: 0 0 .5rem;
    font-size: .98rem;
    font-weight: 700;
}

.ed-dm-chip {
    padding: .1rem .55rem;
    border-radius: 999px;
    background: var(--surface-tint);
    color: var(--plum-700);
    font-size: .75rem;
    font-weight: 600;
}

.ed-dm-slots {
    display: grid;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ed-dm-slots li {
    display: grid;
    grid-template-columns: minmax(110px, 150px) 1fr;
    gap: .75rem;
    padding: .55rem .7rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.ed-dm-time {
    font-size: .88rem;
    font-weight: 600;
    color: var(--plum-700);
}

.ed-dm-name {
    font-size: .92rem;
    font-weight: 600;
}

.ed-dm-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem .9rem;
    font-size: .8rem;
    color: var(--text-secondary);
}

.ed-dm-ok {
    color: #15803d;
    font-weight: 600;
}

.ed-dm-out {
    color: #b91c1c;
    font-weight: 600;
}

@media (max-width: 575px) {
    .ed-dm-slots li {
        grid-template-columns: 1fr;
        gap: .2rem;
    }
}

/* =====================================================================
   EVENTS LISTING — compact cards + Show More
   ===================================================================== */
#ef-results .ev-media img {
    object-fit: cover; /* was `fill`, which stretched posters */
}

.ev-date-chip {
    position: absolute;
    left: .7rem;
    bottom: .7rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    max-width: calc(100% - 1.4rem);
    padding: .25rem .65rem;
    border-radius: 999px;
    background: rgba(26,8,24,.74);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.3;
    backdrop-filter: blur(4px);
}

/* "N going" moves to the top so it never collides with the date chip */
#ef-results .ev-going {
    bottom: auto;
    top: 3.1rem;
    right: .5rem;
}

#ef-results .ev-act {
    width: 34px;
    height: 34px;
    font-size: .85rem;
}

#ef-results .ev-body {
    padding: .9rem 1rem 1rem;
}

#ef-results .ev-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
    margin-bottom: .35rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

#ef-results .ev-venue {
    margin-bottom: .75rem;
    font-size: .84rem;
}

#ef-results .ev-price {
    font-size: 1.05rem;
}

/* Show more */
.ef-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    margin-top: 2rem;
}

.ef-more-count {
    margin: 0;
    font-size: .85rem;
    color: var(--text-muted);
}

.ef-more-btn {
    min-width: 220px;
}

.ef-more-btn.is-loading {
    opacity: .75;
    pointer-events: none;
}

/* listing: same accessible green as the rest of the booking journey,
   and a two-line cap on the venue text so cards stay level */
#ef-results {
    --accent-green: #047857;
    --success: #047857;
}

/* icon and location text on one line: the icon box is as tall as one text line, so it sits level with the first line;
   the text (.ev-venue-text) does the 2-line clamp itself, a long name wraps or ellipsises without moving the icon */
#ef-results .ev-venue {
    display: flex;
    align-items: flex-start;
    gap: .4rem;
    min-width: 0;
    line-height: 1.35;
}

#ef-results .ev-venue i {
    position: static;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1.35em;
    margin-top: 0;
}

#ef-results .ev-venue .ev-venue-text {
    min-width: 0;
    flex: 1 1 auto;
}

/* =====================================================================
   PROGRAMME / SPEAKERS / AGENDA POPUP
   ===================================================================== */
.ag-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .75rem;
}

.ag-h {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.ag-h i {
    margin-right: .4rem;
    color: var(--plum-600);
}

.ag-count {
    font-size: .82rem;
    color: var(--text-muted);
}

.ag-day + .ag-day {
    margin-top: .9rem;
}

.ag-day-h {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    margin: 0 0 .45rem;
    padding-bottom: .35rem;
    border-bottom: 1px solid var(--border);
    font-size: .92rem;
    font-weight: 700;
}

.ag-day-chip {
    padding: .1rem .55rem;
    border-radius: 999px;
    background: var(--surface-tint);
    color: var(--plum-700);
    font-size: .75rem;
    font-weight: 600;
}

.ag-rows {
    display: grid;
    gap: .4rem;
}

.ag-row {
    display: grid;
    grid-template-columns: minmax(96px, 128px) minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    width: 100%;
    padding: .55rem .7rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.ag-row:hover {
    border-color: var(--plum-300);
    background: var(--plum-50);
}

.ag-time {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--plum-700);
}

.ag-main {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    min-width: 0;
}

.ag-title {
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
    overflow-wrap: anywhere;
}

.ag-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .15rem .9rem;
    font-size: .8rem;
    color: var(--text-secondary);
}

.ag-meta i {
    margin-right: .25rem;
    color: var(--plum-600);
}

.ag-chev {
    color: var(--text-light);
    font-size: .75rem;
}

.ag-more {
    margin-top: .75rem;
}

@media (max-width: 575px) {
    .ag-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .ag-time {
        grid-column: 1 / -1;
    }

    .ag-chev {
        grid-column: 2;
        grid-row: 2;
    }
}

/* speakers: each person once, with the sessions they are in */
.ag-spk-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
}

@media (max-width: 767px) {
    .ag-spk-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.ag-spk {
    display: flex;
    gap: .75rem;
    padding: .7rem .8rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-tint);
}

.ag-spk-img,
.ag-spk-ini {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.ag-spk-img {
    object-fit: cover;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--plum-600);
}

.ag-spk-ini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-600);
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
}

.ag-spk-body {
    min-width: 0;
}

.ag-spk-name {
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
}

.ag-spk-bio {
    display: -webkit-box;
    margin: .15rem 0 .35rem;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: .82rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.ag-spk-sessions {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
}

.ag-chip {
    padding: .15rem .6rem;
    border: 1px solid var(--plum-300);
    border-radius: 999px;
    background: #fff;
    color: var(--plum-700);
    font-size: .76rem;
    font-weight: 600;
    cursor: pointer;
}

button.ag-chip:hover {
    background: var(--plum-50);
}

.ag-chip-static {
    cursor: default;
}

/* popup */
.ag-back {
    margin-right: auto;
    padding: 0;
    border: 0;
    background: none;
    color: var(--plum-600);
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
}

.ag-back:not([hidden]) + .modal-title {
    display: none;
}

#agendaModal .modal-header {
    gap: .75rem;
}

.ag-d-title {
    margin: 0 0 .6rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.ag-d-facts {
    display: grid;
    gap: .35rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
    font-size: .9rem;
}

.ag-d-facts i {
    width: 1.1rem;
    margin-right: .4rem;
    color: var(--plum-600);
    text-align: center;
}

.ag-d-sub {
    margin: 0 0 .5rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.ag-d-spk {
    display: grid;
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ag-d-spk li {
    display: flex;
    gap: .75rem;
}

.ag-d-spk img {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.ag-d-bio {
    margin: .15rem 0 0;
    font-size: .86rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* gallery + terms */
.gl-h {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.gl-thumbs {
    display: grid;
    gap: .4rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gl-thumbs.gl-n1 {
    grid-template-columns: minmax(0, 1fr);
}

.gl-thumbs.gl-n2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gl-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-tint);
    cursor: pointer;
}

.gl-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.gl-thumb:hover img {
    transform: scale(1.05);
}

.gl-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26,8,24,.6);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}

.gl-count {
    margin-left: .25rem;
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.gl-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    max-height: 60vh;
    border-radius: var(--radius-md);
    background: var(--plum-800);
    overflow: hidden;
}

.gl-stage img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
}

.gl-strip {
    display: flex;
    gap: .4rem;
    margin-top: .6rem;
    padding-bottom: .2rem;
    overflow-x: auto;
}

.gl-t {
    flex: none;
    width: 64px;
    height: 48px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 6px;
    background: var(--surface-tint);
    cursor: pointer;
    opacity: .75;
}

.gl-t img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gl-t.is-active {
    border-color: var(--plum-600);
    opacity: 1;
}

.tc-list {
    margin: 0;
    padding-left: 1.2rem;
    font-size: .92rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.tc-list li + li {
    margin-top: .5rem;
}

/* Event details: one consistent, less heavy heading size for every content card
   (the page sets 1.3rem inline on each of them). */
.ed-top ~ .section .card-soft > h3[style*="1.3rem"],
.ed-top ~ .section .card-soft h3.mb-0[style*="1.3rem"] {
    font-size: 1.15rem !important;
    font-weight: 700;
}

/* listing: nothing under 12px, readable buttons on phones */
#ef-results .ev-price-label {
    font-size: .75rem;
}

@media (max-width: 767px) {
    #ef-results .btn-brand,
    #ef-results .btn-outline-brand {
        font-size: .85rem;
    }
}

@media (max-width: 360px) {
    #ef-results .btn-brand,
    #ef-results .btn-outline-brand {
        font-size: .8rem;
    }
}

/* =====================================================================
   ROUND 2 — LISTING: filter panels, search button, lighter cards
   ===================================================================== */

/* ---- City / Category panels (same design system for both) ------------ */
.ef-panel-menu.dropdown-menu {
    width: min(440px, calc(100vw - 24px)) !important;
    min-width: 0 !important;
    max-height: min(560px, 76vh) !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.ef-panel-menu.dropdown-menu.show {
    display: flex !important;
    flex-direction: column;
}

.ef-panel-menu > li {
    list-style: none;
}

.ef-panel-head {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .7rem .9rem .5rem;
}

.ef-panel-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.ef-panel-close {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
}

.ef-panel-close:hover {
    background: var(--bg-surface);
    color: var(--text);
}

.ef-panel-menu .ef-city-search-wrapper {
    flex: none;
    padding: 0 .9rem .6rem;
}

.ef-panel-body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    border-top: 1px solid var(--border);
}

.ef-panel-cols {
    flex: 1;
    min-height: 0;
    display: flex;
    width: 100%;
}

.ef-list-scroll {
    flex: 1;
    min-width: 0;
    position: relative;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: .35rem .5rem;
    scrollbar-width: thin;
}

.ef-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ef-panel-menu .ef-list .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    white-space: normal;
    padding: .5rem .7rem !important;
    border-radius: 8px !important;
    font-size: .9rem !important;
    color: var(--text);
}

.ef-panel-menu .ef-list .dropdown-item:hover {
    background: var(--plum-50) !important;
}

.ef-panel-menu .ef-list .dropdown-item.active {
    background: var(--plum-600) !important;
    color: #fff !important;
    font-weight: 600;
}

.ef-panel-menu .ef-list .dropdown-item.active::after {
    content: "\2713";
    flex: none;
    font-weight: 700;
}

.ef-letter {
    position: sticky;
    top: -.35rem;
    z-index: 1;
    margin: .15rem 0 .1rem;
    padding: .3rem .7rem;
    background: var(--bg-surface);
    color: var(--plum-700);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    border-radius: 6px;
}

.ef-az {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: .35rem .25rem;
    border-left: 1px solid var(--border);
    overflow-y: auto;
}

.ef-az-l {
    width: 26px;
    flex: 1 1 0;
    min-height: 14px;
    max-height: 26px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--plum-600);
    font-size: .72rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
}

.ef-az-l:hover:not(:disabled) {
    background: var(--plum-50);
}

.ef-az-l:disabled {
    color: var(--text-light);
    opacity: .45;
    cursor: default;
}

.ef-panel-foot {
    flex: none;
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    padding: .6rem .9rem;
    border-top: 1px solid var(--border);
    background: #fff;
}

.ef-panel-clear,
.ef-panel-apply {
    padding: .5rem 1.1rem;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
}

.ef-panel-clear {
    border: 1px solid var(--border-strong);
    background: #fff;
    color: var(--text-secondary);
}

.ef-panel-clear:hover {
    background: var(--bg-surface);
}

.ef-panel-apply {
    border: 1px solid var(--plum-600);
    background: var(--plum-600);
    color: #fff;
}

.ef-panel-apply:hover:not(:disabled) {
    background: var(--plum-700);
}

.ef-panel-apply:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.ef-panel-close:focus-visible,
.ef-az-l:focus-visible,
.ef-panel-clear:focus-visible,
.ef-panel-apply:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
}

/* ---- Search button: brand plum family instead of amber -------------- */
.ef-form-new .esb-btn {
    background: var(--plum-300);
    color: var(--plum-900);
    font-weight: 600;
    transition: background .2s ease, box-shadow .2s ease;
}

.ef-form-new .esb-btn:hover {
    background: #d5a1d0;
    transform: none;
}

.ef-form-new .esb-btn:active {
    background: #b567ae;
}

.ef-form-new .esb-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(192,122,187,.55);
}

.ef-form-new .esb-btn:disabled,
.ef-form-new .esb-btn.is-loading {
    opacity: .65;
    cursor: not-allowed;
}

/* ---- Lighter event cards ------------------------------------------- */
#ef-results .ev-badges .badge-cat {
    padding: .18rem .55rem;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .04em;
}

#ef-results .ev-date-chip {
    padding: .2rem .55rem;
    font-size: .72rem;
    font-weight: 500;
    background: rgba(26,8,24,.7);
}

#ef-results .ev-title {
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.35;
    min-height: 2.7em;
}

#ef-results .ev-venue {
    font-size: .8rem;
}

#ef-results .ev-price {
    font-size: .98rem;
    font-weight: 600;
}

#ef-results .ev-foot .btn-brand {
    padding: .45rem .9rem;
    font-size: .78rem;
    font-weight: 600;
}

#ef-results .ev-going {
    font-size: .7rem;
}

/* =====================================================================
   EVENT DETAILS - ROUND 2: lighter page body, bordered back/share,
   popups for policies, compact hosted-by / polls / posts
   ===================================================================== */
.ed-titlebar { align-items: center; gap: .75rem; }
.ed-titlebar-main { flex: 1 1 auto; }

.ed-iconbtn {
    flex: none;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-strong, #cfc6d4);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.ed-iconbtn:hover { background: var(--surface-tint); border-color: var(--plum-600); color: var(--plum-700, var(--plum-600)); }
.ed-iconbtn:active { background: var(--plum-100, var(--surface-tint)); }
.ed-iconbtn:focus-visible { outline: 3px solid var(--plum-300, #c9a2c4); outline-offset: 2px; }
.ed-share { border-radius: 12px; }

.ed-top ~ .section { padding-top: 1.25rem !important; padding-bottom: 1.5rem; }
.ed-main { display: block; }

.ed-sec {
    padding: .9rem 0;
    margin: 0;
    border-top: 1px solid var(--border);
}
.ed-sec .ed-sec-h,
.ed-sec > h3,
.ed-sec .ag-h {
    margin: 0 0 .5rem;
    font-size: 1.05rem !important;
    font-weight: 700;
}
.ed-sec .ag-head { margin-bottom: .6rem; }
.ed-about { border-top: 0; padding-top: .25rem; }
.ed-about .text-muted { font-size: .92rem; line-height: 1.6; }

.ed-quick { display: flex; flex-wrap: wrap; gap: .5rem; padding: .75rem 0 .9rem; }
.ed-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 36px;
    padding: .3rem .85rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}
.ed-chip i { color: var(--plum-600); font-size: .8rem; }
.ed-chip:hover { background: var(--surface-tint); border-color: var(--plum-600); color: var(--text); }
.ed-chip:focus-visible { outline: 3px solid var(--plum-300, #c9a2c4); outline-offset: 2px; }

.ed-sec .info-card { padding: .6rem .75rem; }

.ed-legal { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: .9rem 0; border-top: 1px solid var(--border); }
@media (max-width: 575.98px) { .ed-legal { grid-template-columns: 1fr; } }
.ed-legal-btn {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 44px;
    padding: .55rem .9rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    font-size: .92rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}
.ed-legal-btn > i:first-child { color: var(--plum-600); }
.ed-legal-btn > i:last-child { margin-left: auto; color: var(--text-muted); font-size: .75rem; }
.ed-legal-btn:hover { background: var(--surface-tint); border-color: var(--plum-600); }
.ed-legal-btn:focus-visible { outline: 3px solid var(--plum-300, #c9a2c4); outline-offset: 2px; }
.ed-empty { color: var(--text-muted); font-size: .92rem; }

/* polls + posts */
.ed-card-sm { padding: 1rem !important; margin: .9rem 0 !important; }
.ed-card-sm > h3,
.ed-card-sm h3.mb-0,
.ed-card-sm h3.mb-3 { font-size: 1.05rem !important; margin-bottom: .6rem !important; }
#event-feed .tm-avatar { width: 32px !important; height: 32px !important; font-size: .75rem !important; }
#event-feed > .d-flex.justify-content-between { margin-bottom: .6rem !important; }
#event-feed .posts-list > .d-flex { margin-bottom: .6rem !important; padding-bottom: .6rem !important; gap: .6rem !important; }
#event-feed > .d-flex.gap-3.mb-4 { margin-bottom: .75rem !important; padding-bottom: .6rem !important; gap: .6rem !important; }
#event-feed .text-center.py-4 { padding-top: .5rem !important; padding-bottom: .5rem !important; }
#event-poll .poll-option { padding: .55rem .75rem; }

/* hosted by */
.ed-host {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 0;
    margin-top: .25rem;
    border-top: 1px solid var(--border);
}
.ed-host-av { width: 36px !important; height: 36px !important; font-size: .8rem !important; flex: none; }
.ed-host-txt { min-width: 0; flex: 1 1 auto; }
.ed-host-lbl { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.ed-host-name { font-weight: 700; font-size: .95rem; overflow-wrap: anywhere; }
.ed-host-ver { flex: none; font-size: .78rem; font-weight: 600; color: #047857; white-space: nowrap; }

/* booking popup (non-enterprise inline flow) */
#bookingModal #booking-panel { border: 0; box-shadow: none; background: transparent; }
.ed-modal-x { position: absolute; top: .9rem; right: .9rem; z-index: 3; }
#bookingModal #bk-heading { padding-right: 2rem; }

/* gallery popup sits above everything it can be opened from */
#galleryModal .modal-dialog { max-width: min(900px, 96vw); }
/* City / category panels: a centred sheet that always fits the viewport (Clear / Apply never fall off-screen) */
.ef-panel-menu.dropdown-menu.show {
    position: fixed !important;
    inset: 50% auto auto 50% !important;
    transform: translate(-50%, -50%) !important;
    width: min(520px, calc(100vw - 24px)) !important;
    max-height: min(640px, calc(100vh - 24px)) !important;
    max-height: min(640px, calc(100dvh - 24px)) !important;
    margin: 0 !important;
    z-index: 100000 !important;
    border-radius: 16px !important;
    box-shadow: 0 24px 60px rgba(30, 10, 40, .35) !important;
}
.ef-panel-scrim { position: fixed; inset: 0; z-index: 99999; background: rgba(30, 10, 40, .45); display: none; }
.ef-panel-scrim.is-on { display: block; }
/* one heading size for every section on the page */
#event-details :is(.ed-sec, .ed-card-sm) :is(h3, h4):not(.modal *) { font-size: 1.05rem !important; font-weight: 700; }

/* floating helpers (chat / mobile book bar) never sit on top of an open popup */
body.modal-open .ask-plano,
body.modal-open .mobile-book-float { visibility: hidden !important; pointer-events: none !important; }

/* the sticky header must not paint over (or accept clicks through) an open popup */
body.modal-open .nav-main { z-index: 1040 !important; }

/* ---- review page ---- */
.bs-event-title { font-size: 1.15rem; font-weight: 700; margin: 0 0 .5rem; }
.bs-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.bs-facts li { display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; }
.bs-facts li > i { color: var(--plum-600); margin-top: .2rem; width: 1rem; text-align: center; }
.bs-edit-line { padding-top: .5rem; text-align: right; }
.bs-total-card .card-soft { box-shadow: var(--shadow-md, 0 8px 24px rgba(40,10,50,.08)); }
.bs-grand { background: var(--surface-tint); border-radius: 12px; padding: .85rem 1rem !important; margin-top: .75rem !important; border-top: 0 !important; font-size: 1.15rem !important; }
.bs-pay { margin-top: .9rem; min-height: 48px; font-size: 1rem; }
.bs-pay:focus-visible { outline: 3px solid var(--plum-300, #c9a2c4); outline-offset: 2px; }
/* =====================================================================
   EVENT DETAILS - ROUND 3: sticky booking column, venues, agenda rows,
   things to know, neutral speaker cards, gallery sizing
   ===================================================================== */
.ed-top-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.ed-side { display: grid; gap: .75rem; min-width: 0; }
.ed-body { min-width: 0; }
@media (min-width: 992px) {
    .ed-top-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 0 1.5rem; align-items: start; }
    .ed-top-grid > .ed-media { grid-column: 1; grid-row: 1; }
    .ed-top-grid > .ed-body { grid-column: 1; grid-row: 2; }
    .ed-top-grid > .ed-side {
        grid-column: 2; grid-row: 1 / span 2;
        position: sticky; top: 92px; align-self: start;
        max-height: calc(100vh - 108px); overflow-y: auto; overscroll-behavior: contain;
    }
}
.ed-side .ed-info { position: static; }

/* host card under the booking card */
.ed-host { margin: 0; padding: .7rem .9rem; border-top: 0; }
.ed-host-app { flex: none; display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 700; color: var(--plum-700, var(--plum-600)); text-decoration: none; white-space: nowrap; }
.ed-host-app:hover { text-decoration: underline; }

/* things to know */
.ed-ttk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 0; }
@media (max-width: 575.98px) { .ed-ttk { grid-template-columns: minmax(0, 1fr); } }
.ed-ttk-item { padding: .65rem .85rem; border: 1px solid var(--border); border-radius: 12px; background: #fff; min-width: 0; }
.ed-ttk-item dt { margin: 0 0 .15rem; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }
.ed-ttk-item dd { margin: 0; font-size: .92rem; font-weight: 500; color: var(--text); overflow-wrap: anywhere; }

/* venues popup */
.vn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.vn-item { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .8rem .9rem; border: 1px solid var(--border); border-radius: 12px; }
.vn-main { min-width: 0; display: grid; gap: .15rem; }
.vn-name { font-weight: 700; }
.vn-addr { font-size: .85rem; color: var(--text-secondary); }
.vn-pick { display: none; flex: none; }
#venuesModal.is-pick .vn-pick { display: inline-flex; }
.vn-t-pick { display: none; }
#venuesModal.is-pick .vn-t-pick { display: inline; }
#venuesModal.is-pick .vn-t-view { display: none; }
.bk-venue-line { padding: .75rem 3rem .25rem 1.25rem; font-size: .85rem; font-weight: 600; color: var(--plum-700, var(--plum-600)); }

/* agenda popup rows: start / end time kept in their own column */
.ag-row { grid-template-columns: 84px minmax(0, 1fr) auto; align-items: start; }
.ag-time { display: flex; flex-direction: column; gap: .05rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ag-t-start { font-size: .88rem; font-weight: 700; color: var(--text); }
.ag-t-end { font-size: .75rem; font-weight: 500; color: var(--text-muted); }
.ag-t-end::before { content: "to "; }
.ag-title { font-size: .95rem; }
.ag-chev { align-self: center; }
@media (max-width: 575px) {
    .ag-row { grid-template-columns: 72px minmax(0, 1fr) auto; }
    .ag-time { grid-column: auto; }
    .ag-chev { grid-column: auto; grid-row: auto; }
}
.ag-day-h { position: sticky; top: -1px; background: #fff; z-index: 1; }

/* speakers: neutral cards, brand colour only on the avatar */
.ag-spk { background: #fff; }
.ag-spk-ini { background: var(--plum-100, #f1e4ef); color: var(--plum-700, #5a1d54); border: 1px solid var(--plum-200, #e3c9df); }
.ag-spk-img { box-shadow: none; border: 1px solid var(--border); }

/* gallery: fixed, compact tiles */
#event-gallery .gl-thumbs { display: grid; gap: .5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
#event-gallery .gl-thumbs.gl-n1 { grid-template-columns: minmax(0, 220px); }
#event-gallery .gl-thumbs.gl-n2 { grid-template-columns: repeat(2, minmax(0, 220px)); }
#event-gallery .gl-thumb { aspect-ratio: 4 / 3; max-height: 150px; width: 100%; padding: 0; overflow: hidden; border-radius: 10px; }
#event-gallery .gl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* My Tickets: neutral placeholder instead of a stock photo when an event has no image */
.tk-media.tk-media-empty { background: linear-gradient(135deg, #5a1d54, #2b112a); display: flex; align-items: center; justify-content: center; }
.tk-media.tk-media-empty::after { content: "\f145"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; font-size: 2rem; color: rgba(255,255,255,.55); }

/* one pass per booking: no prev/next arrows */
.tkv-carousel-wrap:has(.tkv-flip-outer:only-child) .tkv-arrow { display: none; }

.tkv-actions-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tkv-actions-compact > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.tkv-actions-compact .dropdown-toggle::after { display: none; }
.tkv-actions-compact .dropdown-menu { min-width: 100%; }

/* ---- booking popup (inline flow): large, step-aware ---- */
.bk-modal { border: 0; border-radius: 18px; overflow: hidden; }
.bk-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem .6rem; border-bottom: 1px solid var(--border); }
.bk-head-ev { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.3; overflow-wrap: anywhere; }
.bk-head .bk-venue-line { padding: 0; margin-top: .15rem; }
.bk-prog { list-style: none; display: flex; gap: .5rem; margin: 0; padding: .75rem 1.25rem; background: var(--surface-tint); }
.bk-prog li { flex: 1; display: flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 600; color: var(--text-muted); min-width: 0; }
.bk-prog li span { flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--border); font-size: .72rem; }
.bk-prog li.is-cur { color: var(--text); }
.bk-prog li.is-cur span { background: var(--plum-600); border-color: var(--plum-600); color: #fff; }
.bk-prog li.is-done span { background: #047857; border-color: #047857; color: #fff; }
.bk-prog li.is-done { color: var(--text); }
@media (max-width: 575.98px) { .bk-prog li { font-size: .72rem; } .bk-prog li:not(.is-cur) { flex: 0 0 auto; } .bk-prog li:not(.is-cur):not(.is-done) { display: none; } }
#bookingModal .modal-body { padding: 0 !important; }
#bookingModal #booking-panel { padding: 1.25rem !important; }
#bookingModal #bk-heading { display: none; }
/* ---- venue step / bar on the ticket page ---- */
.tt-venue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; }
.tt-venue-card { display: flex; flex-direction: column; gap: .35rem; padding: 1rem; border: 1.5px solid var(--border); border-radius: 14px; background: #fff; }
.tt-venue-card:hover { border-color: var(--plum-600); }
.tt-venue-name { font-weight: 700; }
.tt-venue-addr { font-size: .88rem; color: var(--text-secondary); }
.tt-venue-actions { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .5rem; }
.tt-venue-bar { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; padding: .65rem .9rem; margin-bottom: 1rem; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-tint); font-size: .9rem; }
.tt-venue-bar > i { color: var(--plum-600); }
.tt-venue-bar-txt { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; }
.tt-venue-bar-txt span { color: var(--text-secondary); font-size: .82rem; }
/* things to know: checkmark before each point */
.ed-ttk-item dd { display: flex; align-items: flex-start; gap: .5rem; }
.ed-ttk-item dd > i { flex: none; margin-top: .2rem; color: #047857; font-size: .8rem; }
.ed-ttk-item dd > span { min-width: 0; }
.ef-az-l.is-active { background: var(--plum-600, #5a1d54); color: #fff !important; border-radius: 6px; }

.bs-cover { width: 100%; height: 150px; object-fit: cover; border-radius: 12px; margin-bottom: .75rem; display: block; }
@media (min-width: 768px) { .bs-event { display: block; } }

/* =====================================================================
   EVENT DETAILS - ROUND 4: plain lists, polls, posts, viewer, price
   ===================================================================== */
/* things to know: lightweight checked list (no cards) */
.ed-ttk { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.ed-ttk li { display: flex; align-items: flex-start; gap: .6rem; padding: 0; border: 0; background: none; font-size: .95rem; line-height: 1.5; }
.ed-ttk li > i { flex: none; margin-top: .3rem; color: #047857; font-size: .75rem; }
.ed-ttk li > span { min-width: 0; overflow-wrap: anywhere; }
.ed-ttk li strong { font-weight: 600; margin-right: .25rem; }

/* about: quiet View more control, description keeps its line breaks */
#about-body { white-space: pre-line; }
#about-more-btn { display: inline-flex; align-items: center; gap: .3rem; padding: 0; border: 0; background: none; text-decoration: none !important; font-size: .85rem; font-weight: 600; color: var(--plum-600); cursor: pointer; }
#about-more-btn i { font-size: .6rem; }
#about-more-btn:hover { color: var(--plum-700, var(--plum-600)); }
#about-more-btn:focus-visible { outline: 2px solid var(--plum-300, #c9a2c4); outline-offset: 3px; border-radius: 4px; }

/* speakers: date emphasised, time as muted metadata, no outlines */
.ag-spk-sessions { gap: .15rem .9rem; }
.ag-sess { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0; padding: .1rem 0; border: 0; background: none; text-align: left; cursor: pointer; }
.ag-sess-d { font-size: .85rem; font-weight: 600; color: var(--text); }
.ag-sess-t { font-size: .74rem; font-weight: 400; color: var(--text-muted); }
.ag-sess:hover .ag-sess-d { color: var(--plum-600); }
.ag-sess:focus-visible { outline: 2px solid var(--plum-300, #c9a2c4); outline-offset: 2px; border-radius: 4px; }
.ag-spk .ag-chip { border: 0; background: none; padding: .1rem 0; color: var(--plum-600); font-size: .8rem; }

/* booking card price */
.ed-price-from { font-size: .75rem; font-weight: 500; color: var(--text-muted); margin-right: .25rem; letter-spacing: .01em; }
.ed-price-amt { font-size: 1.3rem; font-weight: 700; color: var(--text); }
.ed-price-na { color: var(--text-muted); font-size: 1.05rem; }

/* feed cards (polls + posts) */
.ed-feedcard { margin: .9rem 0 !important; }
.ed-feed-head { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin-bottom: .6rem; }
.ed-feed-head h3 { margin: 0; }
.ed-count { font-size: .8rem; color: var(--text-muted); }
.ed-more { display: inline-flex; align-items: center; margin-top: .6rem; padding: .35rem 0; border: 0; background: none; font-size: .88rem; font-weight: 600; color: var(--plum-600); cursor: pointer; }
.ed-more:hover { color: var(--plum-700, var(--plum-600)); }
.ed-more:focus-visible { outline: 2px solid var(--plum-300, #c9a2c4); outline-offset: 2px; border-radius: 4px; }
.ed-feed-empty { padding: .75rem 0; color: var(--text-muted); font-size: .9rem; }

/* polls */
.ed-poll { padding: .9rem 0; border-top: 1px solid var(--border); }
.ed-poll:first-of-type { border-top: 0; padding-top: .25rem; }
.ed-poll[hidden] { display: none; }
.ed-poll-q { font-weight: 700; font-size: 1rem; line-height: 1.35; }
.ed-poll-meta { display: flex; align-items: center; gap: .75rem; margin: .3rem 0 .7rem; font-size: .8rem; color: var(--text-muted); }
.ed-poll-status { padding: .1rem .55rem; border-radius: 999px; font-weight: 600; background: #ecfdf5; color: #047857; }
.ed-poll-status.is-closed { background: var(--surface-tint); color: var(--text-secondary); }
.ed-opts { display: grid; gap: .5rem; }
.ed-opt { position: relative; display: flex; align-items: center; gap: .65rem; width: 100%; min-height: 46px; padding: .55rem .8rem; border: 1.5px solid var(--border); border-radius: 12px; background: rgba(90, 29, 84, .06); text-align: left; color: var(--text); font-size: .93rem; overflow: hidden; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.ed-opt:hover:not(:disabled) { border-color: var(--plum-300, #c9a2c4); background: rgba(90, 29, 84, .1); }
.ed-opt:focus-visible { outline: 3px solid var(--plum-300, #c9a2c4); outline-offset: 2px; }
.ed-opt:disabled { cursor: default; }
.ed-opt.is-selected { border-color: var(--plum-600); }
.ed-opt-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(122, 46, 115, .28); transition: width .8s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.ed-opt-radio { position: relative; flex: none; width: 20px; height: 20px; border: 2px solid var(--plum-300, #c9a2c4); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; }
.ed-opt-radio i { display: none; font-size: .6rem; color: #fff; }
.ed-opt.is-selected .ed-opt-radio { background: var(--plum-600); border-color: var(--plum-600); }
.ed-opt.is-selected .ed-opt-radio i { display: block; }
.ed-opt-label { position: relative; flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.ed-opt-pct { position: relative; flex: none; font-weight: 700; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .4s ease; }
.ed-opt-pct.show { opacity: 1; }
.ed-poll-actions { display: flex; flex-direction: row-reverse; align-items: center; gap: .75rem; margin-top: .7rem; } /* Vote button on the right, its message to the left of it */
.ed-poll-msg { font-size: .83rem; color: var(--text-muted); }
.ed-poll-msg.is-err { color: #b91c1c; }
.ed-poll-note { margin-top: .6rem; font-size: .83rem; color: var(--text-secondary); }
.ed-poll-note i { color: #047857; }
@media (prefers-reduced-motion: reduce) { .ed-opt-fill, .ed-opt-pct { transition: none; } }

/* composer */
.ed-composer { position: relative; margin-bottom: .9rem; }
.ed-compose-input { width: 100%; resize: none; padding: .6rem .8rem; border: 1.5px solid var(--border); border-radius: 12px; font-size: .92rem; background: #fff; }
.ed-compose-input:focus { outline: none; border-color: var(--plum-600); box-shadow: 0 0 0 3px rgba(156, 68, 148, .18); }
.ed-composer.is-locked .ed-compose-input { background: var(--surface-tint); color: var(--text-muted); cursor: not-allowed; }
.ed-compose-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .5rem; flex-wrap: wrap; }
.ed-lock-msg { font-size: .85rem; color: var(--text-secondary); }
.ed-lock-msg i { color: var(--plum-600); margin-right: .3rem; }
.ed-compose-count { font-size: .78rem; color: var(--text-muted); }
.ed-compose-msg { min-height: 1.1rem; margin-top: .35rem; font-size: .83rem; }
.ed-compose-msg.is-err { color: #b91c1c; }
.ed-compose-msg.is-ok { color: #047857; }
.ed-composer[data-lock="login"] { cursor: pointer; }

/* posts */
.ed-posts { display: grid; }
.ed-post { display: flex; gap: .7rem; padding: .75rem 0; border-top: 1px solid var(--border); }
.ed-post[hidden] { display: none; }
.ed-post:first-child { border-top: 0; }
.ed-post-av { flex: none; width: 34px !important; height: 34px !important; font-size: .78rem !important; }
.ed-post-main { min-width: 0; flex: 1 1 auto; }
.ed-post-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .5rem; font-size: .88rem; }
.ed-post-type { font-size: .7rem; padding: .05rem .5rem; border-radius: 999px; background: var(--surface-tint); color: var(--plum-700, var(--plum-600)); }
.ed-post-time { margin-left: auto; font-size: .74rem; color: var(--text-muted); white-space: nowrap; }
.ed-post-body { margin-top: .25rem; font-size: .92rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
/* Compact gallery-style thumbnails: same fixed tile size for 1, 2 or 3 images (display only; originals are untouched). */
.ed-post-imgs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .55rem; }
.ed-post-img { position: relative; flex: 0 0 auto; width: 140px; height: 105px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--surface-tint); cursor: zoom-in; }
@media (max-width: 575.98px) { .ed-post-img { width: calc((100% - 1rem) / 3); min-width: 0; height: auto; aspect-ratio: 4 / 3; } }
.ed-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ed-post-img.is-broken img { visibility: hidden; }
.ed-post-img.is-broken::after { content: "Image unavailable"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: .72rem; color: var(--text-muted); }
.ed-post-img:focus-visible { outline: 3px solid var(--plum-300, #c9a2c4); outline-offset: 2px; }
.ed-post-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(30, 10, 40, .55); color: #fff; font-weight: 700; font-size: 1.1rem; }

/* image viewer */
.ed-lb { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 3.5rem .75rem 1.5rem; background: rgba(15, 5, 20, .88); }
.ed-lb[hidden] { display: none; }
.ed-lb-fig { margin: 0; max-width: min(1000px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: .6rem; min-width: 0; }
.ed-lb-fig img { max-width: 100%; max-height: calc(100vh - 8rem); object-fit: contain; border-radius: 10px; background: #000; }
.ed-lb-count { color: #fff; font-size: .85rem; font-weight: 600; }
.ed-lb-err { color: #fff; padding: 2rem; }
.ed-lb-close, .ed-lb-nav { border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.ed-lb-close { position: absolute; top: .75rem; right: .75rem; }
.ed-lb-close:hover, .ed-lb-nav:hover:not(:disabled) { background: rgba(255, 255, 255, .3); }
.ed-lb-nav:disabled { opacity: .3; cursor: not-allowed; }
.ed-lb-close:focus-visible, .ed-lb-nav:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 575.98px) { .ed-lb { padding-inline: .25rem; } .ed-lb-nav { width: 38px; height: 38px; position: absolute; bottom: .75rem; } .ed-lb-prev { left: calc(50% - 56px); } .ed-lb-next { right: calc(50% - 56px); } .ed-lb-fig img { max-height: calc(100vh - 11rem); } }
body.lb-open { overflow: hidden; }
body.lb-open .ask-plano, body.lb-open .mobile-book-float { visibility: hidden !important; pointer-events: none !important; }
body.lb-open .nav-main { z-index: 1040 !important; }
/* ---- booking pages: more room for the actual selection area ---- */
.seatbar .container, .seatbar + .section > .container { max-width: 1240px; }
@media (min-width: 1200px) {
    .seatbar + .section .row > .col-lg-8 { flex: 0 0 auto; width: 71%; }
    .seatbar + .section .row > .col-lg-4 { flex: 0 0 auto; width: 29%; }
}
.seatbar + .section { padding-top: 1.25rem !important; padding-bottom: 2rem; }
/* ---- profile stat links ---- */
.pf-stat-link { display: block; text-decoration: none; color: inherit; border-radius: 10px; padding: .15rem .4rem; transition: background .15s; }
.pf-stat-link:hover, .pf-stat-link:focus-visible { background: var(--surface-tint, #f5f0f4); }
.pf-stat-link .pf-stat-l i { font-size: .6rem; margin-left: .2rem; color: var(--plum-600, #5A1D54); }
/* ---- add-ons: optional skip ---- */
.adn-skip { display: block; width: 100%; margin-top: .6rem; padding: .55rem; border: 1.5px solid var(--border, #ddd); border-radius: 999px; background: #fff; color: var(--plum-600, #5A1D54); font-weight: 700; font-size: .85rem; cursor: pointer; }
.adn-skip:hover { background: var(--surface-tint, #f5f0f4); }
/* ---- profile list pages: readable, centred column instead of full-width stretched cards ---- */
#my-events > .container, #my-invites > .container, #my-tickets > .container, #pending-invites > .container { max-width: 980px; }
@media (min-width: 992px) {
    #my-events .tk-tabs, #my-invites .tk-tabs, #my-tickets .tk-tabs, #pending-invites .tk-tabs { justify-content: center; }
}
.tk-empty, #my-events .text-center.py-5, #my-invites .text-center.py-5 { max-width: 460px; margin-inline: auto; }#pf-list > .container { max-width: 980px; }

/* ---- ticket cards: compact, scannable ---- */
.ttype-row { padding: .7rem .85rem; border: 1px solid var(--border, #e5e0e4); border-radius: 12px; margin-bottom: .55rem; background: #fff; }
.ttype-row .ttype-price { font-size: 1.05rem; line-height: 1.1; color: var(--plum-600, #5A1D54); }
.ttype-per { font-size: .68rem; color: var(--text-muted, #6b6670); margin-top: -.35rem; }
.ttype-line { font-size: .78rem; margin-top: .4rem; color: var(--text, #222); }
.ttype-line strong { color: var(--plum-600, #5A1D54); }
.ttype-limit { display: block; color: #b45309; font-weight: 600; font-size: .74rem; margin-top: .15rem; }

/* ================= Venue & Tickets refinements ================= */
.tt-h { font-size: 1.25rem; display: flex; align-items: center; gap: .55rem; margin-bottom: .2rem; }
.tt-h i { color: var(--plum-600, #5A1D54); font-size: 1.05rem; line-height: 1; flex: 0 0 auto; display: inline-flex; align-items: center; }
.tt-h2 { font-size: 1rem; display: flex; align-items: center; gap: .45rem; margin: .25rem 0 .75rem; }
.tt-h2 i { color: var(--plum-600, #5A1D54); font-size: .9rem; }
.tt-venue-addr { display: flex; align-items: flex-start; gap: .45rem; font-size: .84rem; color: var(--text-muted, #6b6670); margin-bottom: .9rem; }
.tt-venue-addr i { color: var(--plum-600, #5A1D54); margin-top: .15rem; }
.tt-map { margin-left: .35rem; font-weight: 600; font-size: .8rem; }
.tt-day-tab { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.2; border-radius: 10px; padding: .45rem .9rem; }
.tt-day-tab .tt-d { font-weight: 700; font-size: .84rem; }
.tt-day-tab .tt-s { font-weight: 500; font-size: .68rem; opacity: .8; }
.tt-day-tab.slot-tab { flex-direction: row; }
.slot-card { border-radius: 10px; padding: .85rem 1rem; }
.slot-date { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--text, #1f1a1f); }
.slot-card .slot-label { font-size: .78rem; font-weight: 600; color: var(--text-muted, #6b6670); }
.slot-card .slot-meta { color: var(--plum-400, #8a5c85); font-size: .78rem; margin-bottom: .6rem; }
.slot-card .hall-block .slot-label { font-size: .84rem; color: var(--text, #1f1a1f); }
.ttype-row { border-radius: 8px; }
.ttype-bullets { margin: .35rem 0 0; padding-left: 1.05rem; font-size: .76rem; color: var(--text-muted, #6b6670); }
.ttype-bullets li { margin-bottom: .1rem; }
.ttype-row .adn-stepper { border-radius: 8px; padding: 0; gap: 0; overflow: hidden; }
.ttype-row .adn-stepper button { width: 36px; height: 34px; border-radius: 0; background: transparent; font-size: 1.1rem; color: var(--plum-600, #5A1D54); }
.ttype-row .adn-stepper button:hover:not(:disabled) { background: var(--surface-tint, #f5f0f4); }
.ttype-row .adn-stepper button:focus-visible { outline: 2px solid var(--plum-600, #5A1D54); outline-offset: -2px; }
.ttype-row .adn-stepper .qv { min-width: 1.8rem; font-size: .92rem; }
.tt-sl-name { display: flex; flex-direction: column; min-width: 0; font-size: .84rem; color: var(--text, #1f1a1f); }
.tt-sl-name small { font-size: .7rem; color: var(--text-muted, #6b6670); font-weight: 500; }
@media (min-width: 992px) {
    .seatbar + .section .sticky-book { top: 94px; max-height: calc(100vh - 110px); overflow-y: auto; }
    .seatbar + .section .col-lg-4 { align-self: flex-start; }
}
.tt-mbar { display: none; }
@media (max-width: 991.98px) {
    .tt-mbar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--border, #e5e0e4); box-shadow: 0 -6px 18px rgba(30, 10, 30, .08); }
    .tt-mbar[hidden] { display: none; }
    .tt-mbar-info { display: flex; flex-direction: column; text-decoration: none; color: var(--text, #1f1a1f); min-width: 0; }
    .tt-mbar-count { font-size: .72rem; color: var(--text-muted, #6b6670); }
    .tt-mbar-info strong { font-size: 1rem; color: var(--plum-600, #5A1D54); }
    .tt-mbar .btn-brand { padding: .6rem 1.1rem; white-space: nowrap; }
    body.tt-has-mbar { padding-bottom: 76px; }
    .seatbar + .section .sticky-book { position: static; max-height: none; }
}
/* ---- Booking charges: calmer Grand total ---- */
.seatbar + .section .bs-row.tot.bs-grand, .bs-grand { font-size: .95rem !important; font-weight: 600 !important; padding: .7rem .9rem !important; border-radius: 10px; }
.bs-grand > span:first-child { font-size: .88rem; font-weight: 600; color: var(--text-muted, #6b6670); }
.bs-grand > span:last-child { font-size: 1.05rem; font-weight: 700; }
/* ---- profile header: identity left, stat cards right (stacked on small screens) ---- */
.pf-top { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1rem; }
.pf-top .pf-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin: 0; width: 100%; }
.pf-stat-link { padding: .6rem .8rem; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff; text-align: left; }
.pf-stat-link:hover, .pf-stat-link:focus-visible { background: rgba(255, 255, 255, .22); color: #fff; outline: none; }
.pf-stat-link:focus-visible { box-shadow: 0 0 0 2px #fff; }
.pf-stat-link .pf-stat-n { font-size: 1.35rem; font-weight: 700; line-height: 1.1; color: #fff; }
.pf-stat-link .pf-stat-l { font-size: .74rem; color: rgba(255, 255, 255, .85); display: flex; align-items: center; justify-content: space-between; }
.pf-stat-link .pf-stat-l i { color: #fff; }
@media (min-width: 992px) {
    .pf-top { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
    .pf-top .pf-stats { width: auto; min-width: 380px; max-width: 460px; }
}
/* ---- page-specific loading skeletons: ticket selection / booking forms ---- */
.pl-ts { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; max-width: 1240px; margin: 0 auto; }
.pl-ts-main { display: flex; flex-direction: column; gap: 12px; }
.pl-ts-h { height: 22px; width: 34%; border-radius: 6px; }
.pl-ts-tabs { display: flex; gap: 8px; }
.pl-ts-tabs span { height: 40px; width: 120px; border-radius: 10px; }
.pl-ts-card { height: 96px; border-radius: 8px; }
.pl-ts-side { height: 260px; border-radius: 12px; }
.pl-bf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pl-bf-row span { height: 46px; border-radius: 8px; }
@media (max-width: 991.98px) { .pl-ts { grid-template-columns: 1fr; } .pl-ts-side { height: 120px; } }
@media (max-width: 575.98px) { .pl-bf-row { grid-template-columns: 1fr; } .pl-ts-tabs span { width: 96px; } #page-loader { padding: 28px 16px; } }
@media (prefers-reduced-motion: reduce) { .sk-shimmer::after { animation: none; } }
/* ---- seat requirements + auto-select ---- */
.seat-need { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .6rem; }
.seat-need-row { display: flex; justify-content: space-between; gap: .5rem; font-size: .8rem; color: var(--text-muted, #6b6670); }
.seat-need-row strong { color: var(--text, #1f1a1f); font-weight: 600; }
.seat-need-row.is-done strong { color: #047857; }
.seat-auto-btn { width: 100%; padding: .55rem; border: 1.5px solid var(--plum-600, #5A1D54); border-radius: 8px; background: #fff; color: var(--plum-600, #5A1D54); font-weight: 700; font-size: .84rem; cursor: pointer; }
.seat-auto-btn:hover:not(:disabled) { background: var(--surface-tint, #f5f0f4); }
.seat-auto-btn:disabled { opacity: .45; cursor: not-allowed; }
.seat-auto-note { font-size: .72rem; color: var(--text-muted, #6b6670); margin: .35rem 0 1rem; }
.dynamic-seat.is-auto.is-selected { outline: 2px dashed #fff; outline-offset: -4px; }
/* ---- auto-hiding header (see js/ui-shell.js) ---- */
.nav-main { transition: box-shadow .3s ease, height .3s ease, transform .28s ease; will-change: transform; }
.nav-main.is-hidden { transform: translateY(-100%); box-shadow: none; }
.nav-main.nav-no-anim { transition: none; }
@media (prefers-reduced-motion: reduce) { .nav-main { transition: none; } }

/* ---- "launching soon" toast for app-download actions ---- */
.app-soon-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 20000; display: flex; align-items: center; gap: .6rem; max-width: calc(100vw - 32px); padding: .75rem 1.1rem; border-radius: 12px; background: var(--plum-600, #5A1D54); color: #fff; font-size: .9rem; font-weight: 600; box-shadow: 0 10px 30px rgba(30, 10, 30, .25); transition: opacity .25s ease, transform .25s ease; }
.app-soon-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .app-soon-toast { transition: none; } }
/* ---- Refer & Earn states / affiliates link ---- */
.ref-state { text-align: center; padding: 2rem 1.25rem; max-width: 520px; margin: 0 auto; }
.ref-state-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--surface-tint, #f5f0f4); color: var(--plum-600, #5A1D54); font-size: 1.2rem; margin-bottom: .75rem; }
.ref-state-ic.is-warn { background: #fef3c7; color: #b45309; }
.ref-state-h { font-size: 1.1rem; margin-bottom: .35rem; }
.ref-state-p { color: var(--text-muted, #6b6670); font-size: .9rem; margin-bottom: 1rem; }
.ref-state-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; align-items: center; }
.ref-state-note { font-size: .82rem; color: var(--text-muted, #6b6670); }
.aff-track-wrap { text-align: center; margin-top: .85rem; }
.aff-track { font-size: .82rem; color: var(--text-muted, #6b6670); text-decoration: underline; text-underline-offset: 3px; }
.aff-track:hover { color: var(--plum-600, #5A1D54); }
.aff-track:focus-visible { outline: 2px solid var(--plum-600, #5A1D54); outline-offset: 3px; border-radius: 4px; }
/* ---- seat map: auto-fit canvas, zoom, sticky side panel ---- */
.seat-canvas { width: max-content; min-width: 100%; margin: 0 auto; }
.seat-canvas .dynamic-seat-row { flex-wrap: nowrap; }
.seat-canvas .dynamic-table-grid { grid-template-columns: repeat(var(--tcols, 2), 190px); justify-content: center; }
.seat-scroll { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.seatmap-fit-btn { width: auto; padding: 0 .65rem; gap: .3rem; font-size: .75rem; font-weight: 600; }
.seat-need { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .6rem; }
.seat-need-row { display: flex; justify-content: space-between; gap: .5rem; font-size: .8rem; color: var(--text-muted, #6b6670); }
.seat-need-row strong { color: var(--text, #1f1a1f); font-weight: 600; }
.seat-need-row.is-done strong { color: #047857; }
.seat-auto-note { font-size: .74rem; color: var(--text-muted, #6b6670); margin: .2rem 0 1rem; }
.dynamic-seat.is-auto.is-selected { outline: 2px dashed #fff; outline-offset: -4px; }
@media (min-width: 992px) {
    .seatbar + .section .seat-sticky { max-height: calc(100vh - 190px); overflow-y: auto; }
    .seatbar + .section .bs-total-card.sticky-book { max-height: calc(100vh - 110px); overflow-y: auto; }
}
/* compact bottom bar so selection progress and the next action stay in reach on small screens */
.seat-mbar { display: none; }
@media (max-width: 991.98px) {
    .seat-mbar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--border, #e5e0e4); box-shadow: 0 -6px 18px rgba(30, 10, 30, .08); }
    .seat-mbar-info { display: flex; flex-direction: column; font-size: .8rem; color: var(--text-muted, #6b6670); min-width: 0; }
    .seat-mbar-info strong { color: var(--text, #1f1a1f); font-size: .92rem; }
    .seat-mbar .btn-brand { padding: .6rem 1.1rem; white-space: nowrap; }
    body.has-seat-mbar { padding-bottom: 76px; }
}
/* ---- calmer "Choose Tickets" typography ---- */
.seatbar .seatbar-title .seatbar-h { font-size: .98rem; font-weight: 600; letter-spacing: .01em; }
.seatbar .seatbar-title .seatbar-ev { font-size: .74rem; font-weight: 500; }
.tt-h { font-size: 1.1rem; font-weight: 600; }
.tt-h2 { font-size: .95rem; font-weight: 600; }
@media (max-width: 575.98px) { .seatbar .seatbar-title .seatbar-h { font-size: .92rem; } .tt-h { font-size: 1.02rem; } }
/* ---- booking flow: step banner is the only header ---- */
body.booking-flow { padding-top: 0; }
body.booking-flow header.nav-main { display: none; }
body.booking-flow .seatbar { top: 0; z-index: 1040; }
body.booking-flow #page-loader { top: 0; }
body.booking-flow .sticky-book, body.booking-flow .seatbar + .section .seat-sticky, body.booking-flow .seatbar + .section .sticky-book { top: calc(var(--seatbar-h, 110px) + 12px); }
@media (min-width: 992px) {
    body.booking-flow .seatbar + .section .seat-sticky, body.booking-flow .seatbar + .section .sticky-book { max-height: calc(100vh - var(--seatbar-h, 110px) - 24px); }
}
body.booking-flow .seatbar + .section [id], body.booking-flow .seatbar ~ * [id] { scroll-margin-top: calc(var(--seatbar-h, 110px) + 12px); }

/* ---- seat page: wider "Selected seats" card ---- */
@media (min-width: 992px) {
    .seatbar + .section .row.seat-row-wide > .col-lg-8 { flex: 0 0 auto; width: 60%; }
    .seatbar + .section .row.seat-row-wide > .col-lg-4 { flex: 0 0 auto; width: 40%; }
}
.seat-sticky .seat-need-row, .seat-sticky .seat-sum-row { gap: 1rem; }
.seat-sticky .seat-need-row span { overflow-wrap: anywhere; }

/* ---- chairs: round, with a little room between them ---- */
.dynamic-table-seats { gap: .55rem; }
.dynamic-table-seats .dynamic-seat { border-radius: 50%; }
.dynamic-table-seats .dynamic-seat.is-selected { box-shadow: 0 0 0 2px rgba(22, 163, 74, .25); }
.dynamic-table-seats .dynamic-seat.is-unavailable { background: #e5e7eb; border-color: #d1d5db; color: #9ca3af; }
.dynamic-seat-row { gap: .45rem; }

/* ---- zoom "Fit": plain text button, no box ---- */
.seatmap-fit-btn, .seatmap-fit-btn:hover, .seatmap-fit-btn:active, .seatmap-fit-btn:focus { border: 0 !important; background: transparent !important; box-shadow: none; }
.seatmap-fit-btn { color: var(--plum-600, #5A1D54); }
.seatmap-fit-btn:hover { text-decoration: underline; }
.seatmap-fit-btn:focus-visible { outline: 2px solid var(--plum-600, #5A1D54); outline-offset: 2px; border-radius: 6px; }
.tt-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem; padding: 1.5rem 1rem; border: 1px dashed var(--border, #e5e0e4); border-radius: 10px; color: var(--text-muted, #6b6670); }
.tt-empty i { font-size: 1.4rem; color: var(--plum-600, #5A1D54); }
.tt-empty strong { color: var(--text, #1f1a1f); font-size: .95rem; }
.tt-empty span { font-size: .84rem; max-width: 380px; }

/* ---- add-ons: Skip sits beside the heading as a quiet secondary action ---- */
.adn-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-bottom: .75rem; }
.adn-head .adn-skip { display: inline-flex; align-items: center; gap: .4rem; width: auto; margin: 0; padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--border, #ddd); background: transparent; color: var(--text-muted, #6b6670); font-size: .82rem; font-weight: 600; }
.adn-head .adn-skip:hover { color: var(--plum-600, #5A1D54); border-color: var(--plum-600, #5A1D54); background: transparent; }

/* ---- seats: other available seats keep their colours once the quantity is reached (tap = move selection) ---- */
[data-seat-id][data-ticket-type].quantity-limit-reached:not(.selected):not(.is-selected):not(.is-unavailable) { opacity: 1 !important; cursor: pointer !important; }
.dynamic-seat.is-selected { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #16a34a; }
/* ---- seat page: use the laptop width ---- */
@media (min-width: 1200px) {
    body.booking-flow .seatbar .container, body.booking-flow .seatbar + .section > .container { max-width: min(1520px, 96vw); }
}
@media (min-width: 992px) {
    .seatbar + .section .row.seat-row-wide > .col-lg-8 { width: 64%; }
    .seatbar + .section .row.seat-row-wide > .col-lg-4 { width: 36%; }
}
/* ---- Terms & Conditions: structured lists ---- */
.tc-list { padding-left: 1.25rem; }
.tc-list > li { margin-bottom: .75rem; line-height: 1.55; overflow-wrap: anywhere; }
.tc-list > li.tc-struct { list-style: none; margin-left: -1.25rem; }
.tc-sub { padding-left: 1.4rem; margin: .25rem 0 .5rem; }
.tc-sub > li { margin-bottom: .35rem; }
.tc-p { margin: 0 0 .4rem; }

/* ---- speakers: whole card is clickable, bio clamps to two lines ---- */
.ag-spk-click { cursor: pointer; transition: box-shadow .15s, border-color .15s, transform .1s; }
.ag-spk-click:hover { border-color: var(--plum-300, #C07ABB); box-shadow: 0 4px 14px rgba(90, 29, 84, .10); }
.ag-spk-click:active { transform: translateY(1px); }
.ag-spk-click:focus-visible { outline: 2px solid var(--plum-600, #5A1D54); outline-offset: 2px; }
.ag-spk-bio { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ag-spk-bio.is-open { display: block; -webkit-line-clamp: unset; overflow: visible; }
.ag-bio-toggle { background: none; border: 0; padding: 0; margin: 0 0 .4rem; color: var(--plum-600, #5A1D54); font-size: .78rem; font-weight: 600; cursor: pointer; text-align: left; }
.ag-bio-toggle:hover { text-decoration: underline; }

/* ---- guest details: saved guest list + icon actions ---- */
.gd-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--plum-600, #5A1D54); cursor: pointer; }
.gd-icon-btn:hover, .gd-icon-btn:focus-visible { background: var(--surface-tint, #f5f0f4); }
.gd-icon-btn:focus-visible { outline: 2px solid var(--plum-600, #5A1D54); outline-offset: 1px; }
.gd-icon-btn.gd-icon-danger { color: #b91c1c; }
.gd-icon-btn.gd-icon-danger:hover { background: #fef2f2; }
#gd-all-done { display: flex; flex-direction: column; gap: .75rem; }
.gd-done-head { display: flex; align-items: center; gap: .75rem; }
.gd-done-head > i { font-size: 1.5rem; color: #047857; }
.gd-done-head h2 { font-size: 1.15rem; margin: 0; }
.gd-done-head p { margin: 0; font-size: .85rem; color: var(--text-muted, #6b6670); }
.gd-done-card { display: flex; align-items: flex-start; gap: .85rem; padding: .85rem 1rem; border: 1px solid var(--border, #e5e0e4); border-radius: 10px; background: #fff; }
.gd-done-ava { flex: 0 0 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--surface-tint, #f5f0f4); color: var(--plum-600, #5A1D54); font-weight: 700; font-size: .85rem; }
.gd-done-body { flex: 1; min-width: 0; }
.gd-done-name { font-weight: 700; overflow-wrap: anywhere; }
.gd-done-tk { font-size: .78rem; color: var(--text-muted, #6b6670); margin-bottom: .3rem; }
.gd-done-row { display: flex; justify-content: space-between; gap: 1rem; font-size: .82rem; padding: .15rem 0; }
.gd-done-row span { color: var(--text-muted, #6b6670); }
.gd-done-row strong { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.gd-done-actions { display: flex; gap: .15rem; }
/* ---- View Ticket: single clear ticket (no flip) with actions in their own toolbar ---- */
.tkv-noflip .tkv-flip-outer { perspective: none; }
.tkv-noflip .tkv-flip-inner { height: auto !important; transform: none !important; transform-style: flat; transition: none; }
.tkv-noflip .tkv-flip-front, .tkv-noflip .tkv-flip-undo { display: none !important; }
.tkv-noflip .tkv-flip-back { position: static; transform: none; backface-visibility: visible; -webkit-backface-visibility: visible; padding: 0; background: transparent; }
.tkv-pager { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .6rem; flex-wrap: wrap; }
.tkv-pager-ctl { display: inline-flex; align-items: center; gap: .6rem; font-size: .85rem; }
.tkv-pager .tkv-arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border, #ddd); background: #fff; color: var(--plum-600, #5A1D54); }
.tkv-pager .tkv-arrow:disabled { opacity: .4; }
.tkv-toolbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .5rem; margin-top: .85rem; padding: .75rem; background: #fff; border: 1px solid var(--border, #e5e0e4); border-radius: 12px; }
.tkv-toolbar .tkv-tb-main { grid-column: 1 / -1; }
.tkv-toolbar .btn-outline-brand, .tkv-toolbar .btn-brand { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; font-size: .84rem; font-weight: 600; white-space: nowrap; text-decoration: none; width: 100%; }
.tkv-toolbar .dropdown { min-width: 0; }
/* ---- payment return: verification status card ---- */
#pay-overlay { position: fixed; inset: 0; z-index: 20000; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(250, 247, 250, .96); backdrop-filter: blur(4px); }
.po-card { width: min(440px, 100%); background: #fff; border: 1px solid var(--border, #e5e0e4); border-radius: 16px; padding: 2rem 1.5rem; text-align: center; box-shadow: 0 18px 50px rgba(30, 10, 30, .12); }
.po-spin { display: inline-block; width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--surface-tint, #f5f0f4); border-top-color: var(--plum-600, #5A1D54); animation: po-rot 1s linear infinite; margin-bottom: 1rem; }
@keyframes po-rot { to { transform: rotate(360deg); } }
.po-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; font-size: 1.3rem; margin-bottom: 1rem; }
.po-ic.warn { background: #fef3c7; color: #b45309; }
.po-ic.bad { background: #fee2e2; color: #b91c1c; }
.po-title { font-size: 1.2rem; margin-bottom: .4rem; }
.po-text { color: var(--text-muted, #6b6670); font-size: .9rem; margin-bottom: .9rem; }
.po-detail { display: block; margin-top: .4rem; font-size: .78rem; overflow-wrap: anywhere; }
.po-ref { font-size: .8rem; color: var(--text-muted, #6b6670); margin-bottom: 1rem; overflow-wrap: anywhere; }
.po-ref strong { color: var(--text, #1f1a1f); }
.po-step { font-size: .78rem; color: var(--text-muted, #6b6670); }
.po-actions { display: flex; flex-direction: column; gap: .5rem; }
.po-actions .btn-brand, .po-actions .btn-outline-brand { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .po-spin { animation-duration: 3s; } }
/* ---- booking confirmation (Done step) ---- */
.bc-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.bc-head-ic { flex: 0 0 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #ecfdf5; color: #047857; font-size: 1.1rem; }
.bc-head-ic.is-neutral { background: var(--surface-tint, #f5f0f4); color: var(--plum-600, #5A1D54); }
.bc-title { font-size: 1.3rem; margin: 0; }
.bc-sub { margin: .1rem 0 0; font-size: .88rem; color: var(--text-muted, #6b6670); }
.bc-card { padding: 1.1rem 1.25rem; }
.bc-ids { display: flex; flex-wrap: wrap; gap: .75rem 2rem; padding-bottom: .9rem; margin-bottom: .9rem; border-bottom: 1px solid var(--border, #e5e0e4); }
.bc-ids span { display: block; font-size: .72rem; color: var(--text-muted, #6b6670); text-transform: uppercase; letter-spacing: .04em; }
.bc-ids strong { font-size: 1.05rem; overflow-wrap: anywhere; }
.bc-sec { padding: .2rem 0 .9rem; }
.bc-sec + .bc-sec { border-top: 1px solid var(--border, #e5e0e4); padding-top: .9rem; }
.bc-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted, #6b6670); margin: 0 0 .5rem; font-weight: 600; }
.bc-count { display: inline-block; margin-left: .35rem; padding: 0 .45rem; border-radius: 999px; background: var(--surface-tint, #f5f0f4); color: var(--plum-600, #5A1D54); font-size: .72rem; }
.bc-ev-name { font-weight: 700; font-size: 1.02rem; overflow-wrap: anywhere; }
.bc-facts { list-style: none; padding: 0; margin: .4rem 0 0; display: flex; flex-direction: column; gap: .3rem; font-size: .88rem; color: var(--text-muted, #6b6670); }
.bc-facts li { display: flex; gap: .55rem; align-items: flex-start; }
.bc-facts i { width: 1rem; margin-top: .2rem; color: var(--plum-600, #5A1D54); text-align: center; }
.bc-guest { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .55rem 0; }
.bc-guest + .bc-guest { border-top: 1px solid var(--border, #eee); }
.bc-guest-name { font-weight: 600; overflow-wrap: anywhere; }
.bc-guest-tk { font-size: .78rem; color: var(--text-muted, #6b6670); }
.bc-seat { font-size: .8rem; font-weight: 600; white-space: nowrap; padding: .2rem .6rem; border-radius: 999px; background: var(--surface-tint, #f5f0f4); color: var(--plum-600, #5A1D54); }
.bc-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.bc-actions .btn-brand, .bc-actions .btn-outline-brand { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; text-decoration: none; }
/* event cards: no empty badge strip while the category/Enterprise tags are hidden */
.ev-badges:not(:has(*)) { display: none; }

/* ================= booking steps: headings, backgrounds, date cards ================= */
/* Content sits on a solid surface above the decorative page background, so headings never blend into it. */
body.booking-flow main > .section, .seatbar + .section { position: relative; z-index: 1; background: #fff; }
.seatbar + .section h1, .seatbar + .section .tt-h { font-size: 1.15rem !important; font-weight: 700; line-height: 1.3; color: var(--text, #1f1a1f); margin-bottom: .25rem; }
.seatbar + .section h1 + p.text-muted { font-size: .88rem; margin-bottom: 1rem; }
.tt-dwrap { display: flex; flex-direction: column; gap: .2rem; min-width: 0; max-width: 100%; }
.tt-dwrap .tt-s { font-size: .7rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--text-muted, #6b6670); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }
.tt-dwrap .tt-day-tab { padding: .55rem 1.1rem; }
.tt-dwrap .tt-day-tab .tt-d { font-size: 1rem; font-weight: 700; }
.tt-dwrap .tt-day-tab.active .tt-d { color: #fff; }

/* guest summary: label and value stay together */
.gd-done-row { justify-content: flex-start; gap: .5rem; }
.gd-done-row span { flex: 0 0 auto; }
.gd-done-row span::after { content: ':'; }
.gd-done-row strong { text-align: left; }
.gd-side .sticky-book { position: static; max-height: none; overflow: visible; }
.gd-tk-sum { margin: 0 0 1rem; padding: .6rem .75rem; border-radius: 10px; background: var(--surface-tint, #f5f0f4); font-size: .84rem; }
.gd-tk-row { display: flex; justify-content: space-between; gap: .75rem; padding: .15rem 0; }
.gd-tk-row span { overflow-wrap: anywhere; }
.gd-tk-total { border-top: 1px solid var(--border, #e5e0e4); margin-top: .3rem; padding-top: .4rem; font-weight: 600; }

/* seats: rows and tables centred in the available space */
.seat-canvas .dynamic-seat-row, .dynamic-seat-row { justify-content: center; }
.seat-canvas .dynamic-table-seats, .dynamic-table-seats { justify-content: center; }
.dynamic-row-layout, .dynamic-table-grid { margin-inline: auto; }
.ticket-layout-section { text-align: center; }
.ticket-layout-section .ticket-layout-header { text-align: left; }

/* booking confirmation: step banner scrolls with the page */
body.bk-bar-static .seatbar { position: static; }
.bc-h { font-size: .75rem; }
.bc-ev-name { font-size: .98rem; }
.bc-ids strong { font-size: 1rem; }

/* View Ticket: wider ticket, actions on two compact rows */
.tkv-wide { max-width: 680px !important; }
.tkv-toolbar { display: flex; flex-wrap: wrap; gap: .5rem; padding: .6rem; }
.tkv-toolbar .tkv-tb-main { flex: 1 1 100%; }
.tkv-toolbar > .btn-outline-brand, .tkv-toolbar > .dropdown { flex: 1 1 0; min-width: 96px; }
.tkv-toolbar .btn-outline-brand, .tkv-toolbar .btn-brand { min-height: 42px; padding: .45rem .5rem; font-size: .82rem; }
.tkv-toolbar .dropdown > .btn-outline-brand { width: 100%; }
@media (max-width: 380px) { .tkv-toolbar .btn-outline-brand span.lbl-long { display: none; } .tkv-toolbar .btn-outline-brand { font-size: .76rem; gap: .25rem; } }
/* ================= round 8: confirmation headings, View Ticket layout ================= */
/* The global ".seatbar + .section h2" rule outranked these classes, so the headings stayed large. */
.seatbar + .section h2.bc-h { font-size: .74rem; font-weight: 600; letter-spacing: .05em; line-height: 1.3; margin: 0 0 .5rem; }
.seatbar + .section .bc-ev-name { font-size: .98rem; }
.seatbar + .section h2.tt-h2 { font-size: .95rem; font-weight: 600; margin: .25rem 0 .75rem; }
.seatbar + .section h1.bc-title { font-size: 1.15rem !important; }

/* View Ticket: the 340px ticket column was the squeeze; widen it and use the space inside the card */
.tkv-wide .tkv-carousel-wrap { max-width: 560px; }
.tkv-wide .tkv-mini-head { padding: 1.15rem 1.5rem; }
.tkv-wide .tkv-mini-title { font-size: 1.15rem; }
.tkv-wide .tkv-mini-date { font-size: .82rem; }
.tkv-wide .tkv-mini-body { padding: 1.5rem 1.75rem; }
.tkv-wide .tkv-mini-qr { width: 168px; height: 168px; }
.tkv-wide .tkv-mini-qr-row { gap: 1.25rem; }
.tkv-wide .tv-body { padding: 1.5rem 1.75rem; }
.tkv-wide .tv-head { padding-left: 1.5rem; padding-right: 1.5rem; }
/* actions: no card, just two clean rows under the ticket */
.tkv-toolbar { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 0; margin-top: 1rem; gap: .5rem; }
.tkv-toolbar > .btn-outline-brand, .tkv-toolbar > .dropdown { background: #fff; }
.tkv-toolbar > .dropdown > .btn-outline-brand { background: #fff; }
@media (max-width: 575.98px) {
    .tkv-wide .tkv-mini-qr { width: 140px; height: 140px; }
    .tkv-wide .tkv-mini-body, .tkv-wide .tv-body { padding: 1.25rem 1rem; }
}
/* ---- review: ticket / add-on groups in the charges card ---- */
.bs-sub-h { font-size: .74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted, #6b6670); margin: 0 0 .35rem; }
.bs-sub-h-gap { margin-top: .9rem; padding-top: .7rem; border-top: 1px dashed var(--border, #e5e0e4); }
/* ================= round 9: seat map scrolling, spacing ================= */
/* overscroll-behavior:contain on the map trapped the mouse wheel; let scroll chain to the page like normal. */
.seat-scroll { overscroll-behavior: auto; -webkit-overflow-scrolling: touch; }
.seat-scroll, #dynamic-seat-layouts { touch-action: pan-x pan-y; }
/* chairs never touch their table card; tables keep clear space from each other */
.dynamic-table-grid { gap: 1.1rem; }
.dynamic-table-card { padding: 1rem .9rem; margin: .15rem; }
.dynamic-table-title { margin-bottom: .85rem; }
.dynamic-table-seats { gap: .6rem; padding: .25rem; }
.seat-canvas .dynamic-table-grid { column-gap: 1.25rem; row-gap: 1.25rem; }
/* "Selected seats" card scrolls with the page instead of following it */
.seatbar + .section .seat-sticky { position: static; max-height: none; overflow: visible; }
/* guest form: field-level error text */
.gd-field-error { font-size: .78rem; color: #b91c1c; margin-top: .25rem; }
.gd-custom-field.is-invalid { border-color: #dc2626; }
/* ================= round 9: nav, search, misc ================= */
/* mobile menu: Log In and Book a Demo share one row with equal width and height */
#mnav .mt-auto { display: flex; gap: .6rem; }
#mnav .mt-auto > a { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 .75rem; text-align: center; white-space: nowrap; }
/* mobile Explore group */
#mnav .oc-explore { width: 100%; display: flex; align-items: center; justify-content: space-between; background: none; border: 0; text-align: left; font: inherit; color: inherit; }
#mnav .oc-explore[aria-expanded="true"] .oc-explore-caret { transform: rotate(180deg); }
#mnav .oc-explore-caret { transition: transform .2s; font-size: .75rem; }
#mnav .oc-explore-menu .oc-link { padding-left: 1.5rem; font-size: .95em; opacity: .92; }
/* Search button on Discover Events: readable label + clear states */
.ef-search-btn { background: var(--plum-600, #5A1D54); color: #fff; }
.ef-search-btn:hover { background: var(--plum-700, #471644); }
.ef-search-btn:focus-visible { outline: 3px solid #fff; outline-offset: -1px; box-shadow: 0 0 0 4px var(--plum-600, #5A1D54); }
.ef-search-btn:active { background: #381136; }
.ef-search-btn:disabled { background: #9a8a99; color: #fff; cursor: not-allowed; }
/* ---- Discover Events: Search button (deep plum, white label; clear focus/hover/disabled) ---- */
.ef-form-new .esb-btn { background: var(--plum-600, #5A1D54); color: #fff; }
.ef-form-new .esb-btn:hover { background: var(--plum-700, #471644); color: #fff; }
.ef-form-new .esb-btn:active { background: #381136; color: #fff; }
.ef-form-new .esb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 4px var(--plum-600, #5A1D54); }
.ef-form-new .esb-btn:disabled, .ef-form-new .esb-btn.is-loading { background: #7d6a7c; color: #fff; opacity: 1; }

/* ---- floating Book bar steps aside for the footer ---- */
.mobile-book-float.is-footer-visible { opacity: 0; transform: translateY(14px); pointer-events: none; visibility: hidden; }

/* ---- event details: breathing room under the fixed site header ---- */
.ed-top { padding-top: .85rem; }
@media (min-width: 768px) { .ed-top { padding-top: .5rem; } }

/* ---- Full agenda popup ---- */
#agendaModal .modal-body { padding: 1rem 1.1rem 1.25rem; }
#agendaModal .ag-day + .ag-day { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border, #e5e0e4); }
#agendaModal .ag-day-h { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .95rem; font-weight: 700; margin: 0 0 .65rem; }
#agendaModal .ag-day-chip { font-size: .7rem; font-weight: 600; padding: .1rem .55rem; border-radius: 999px; background: var(--surface-tint, #f5f0f4); color: var(--plum-600, #5A1D54); }
#agendaModal .ag-rows { display: flex; flex-direction: column; gap: .5rem; }
#agendaModal .ag-row { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; align-items: start; gap: .75rem; width: 100%; text-align: left; padding: .75rem .85rem; border: 1px solid var(--border, #e5e0e4); border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
#agendaModal .ag-row:hover, #agendaModal .ag-row:focus-visible { border-color: var(--plum-300, #C07ABB); background: var(--surface-tint, #faf6fa); }
#agendaModal .ag-time { display: flex; flex-direction: column; font-size: .8rem; line-height: 1.25; color: var(--plum-600, #5A1D54); font-weight: 700; }
#agendaModal .ag-t-end { font-weight: 500; color: var(--text-muted, #6b6670); }
#agendaModal .ag-main { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
#agendaModal .ag-title { font-weight: 600; font-size: .95rem; overflow-wrap: anywhere; }
#agendaModal .ag-meta { display: flex; flex-direction: column; gap: .15rem; font-size: .78rem; color: var(--text-muted, #6b6670); }
#agendaModal .ag-meta i { width: 1rem; text-align: center; margin-right: .25rem; color: var(--plum-600, #5A1D54); }
#agendaModal .ag-chev { align-self: center; color: var(--text-muted, #6b6670); font-size: .75rem; }
@media (max-width: 575.98px) {
    #agendaModal .modal-dialog { margin: .5rem; max-height: calc(100dvh - 1rem); }
    #agendaModal .ag-row { grid-template-columns: 4.25rem minmax(0, 1fr) auto; padding: .65rem .7rem; }
}

/* ---- Terms & Conditions popup ---- */
#termsModal .tc-list > li::marker { color: var(--plum-600, #5A1D54); font-weight: 700; }
#termsModal .tc-list > li { margin-bottom: 1rem; padding-left: .25rem; }
#termsModal .tc-sub { list-style: disc; padding-left: 1.5rem; margin: .4rem 0 .6rem; }
#termsModal .tc-sub > li { margin-bottom: .45rem; padding-left: .2rem; }
#termsModal .tc-sub > li::marker { color: var(--plum-600, #5A1D54); font-size: 1.1em; }
#termsModal ol.tc-sub { list-style: decimal; }
#termsModal .modal-body { overflow-wrap: anywhere; }
/* ---- session date / time ---- */
.tt-dwrap .tt-day-tab { align-items: flex-start; text-align: left; }
.tt-dwrap .tt-day-tab .tt-d i { margin-right: .35rem; font-size: .85em; }
.tt-day-tab .tt-time { display: block; font-size: .74rem; font-weight: 500; color: var(--text-muted, #6b6670); margin-top: .1rem; }
.tt-day-tab.active .tt-time { color: rgba(255,255,255,.85); }
.tt-next { font-style: normal; font-weight: 600; }
.tt-day-tab.slot-tab { flex-direction: column; align-items: flex-start; }
/* ---- View Ticket actions: same radius for every button, deliberate wrapping on narrow screens ---- */
.tkv-toolbar .btn-outline-brand, .tkv-toolbar .btn-brand, .tkv-toolbar .dropdown > .btn-outline-brand { border-radius: var(--radius-md, 12px); }
@media (max-width: 479.98px) {
    .tkv-toolbar { gap: .5rem; }
    .tkv-toolbar > .btn-outline-brand, .tkv-toolbar > .dropdown { flex: 1 1 calc(50% - .25rem); min-width: 0; }
    .tkv-toolbar > .tkv-open-app { flex-basis: 100%; }
    .tkv-toolbar .btn-outline-brand, .tkv-toolbar .btn-brand { min-height: 44px; font-size: .84rem; }
}
/* ================= round 10 ================= */
/* shimmer page loader: the page underneath must not scroll while the placeholder is up (released as soon as the loader finishes) */
html:has(#page-loader:not(.is-done)), html:has(#page-loader:not(.is-done)) body { overflow: hidden; }
/* guest details: status line sized like other form messages */
.gd-sidebar-status, #gd-sidebar-heading { font-size: 1rem; }
.gd-done-head h2 { font-size: .98rem; font-weight: 600; }
.gd-done-head p { font-size: .8rem; }
.gd-done-head > i { font-size: 1.1rem; }
/* review: gateway-charge disclosure */
.bs-gateway-note { margin-top: .6rem; padding: .55rem .7rem; border-radius: 8px; background: var(--surface-tint, #f5f0f4); color: var(--text-muted, #5d5560); line-height: 1.4; }
.bs-gateway-note i { margin-right: .35rem; color: var(--plum-600, #5A1D54); }
.po-link { display: block; text-align: center; font-size: .84rem; color: var(--plum-600, #5A1D54); padding: .35rem 0; }
.po-actions .btn-brand, .po-actions .btn-outline-brand { width: 100%; }

#gd-sidebar-heading { font-size: 1rem !important; font-weight: 600; }
.seatbar + .section .gd-done-head h2 { font-size: .98rem !important; }

/* ---- review: payment messages sit in the content column, wrap on small screens, never move the header ---- */
.bs-pay-status { position: relative; margin: 0 0 1rem; padding: .75rem 2.25rem .75rem .9rem; border-radius: 10px; background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; font-size: .9rem; line-height: 1.45; overflow-wrap: anywhere; }
.bs-pay-status:empty { display: none !important; }
.bs-pay-status .alert { margin: 0; padding: 0; border: 0; background: transparent; color: inherit; }
.bs-pay-status-x { position: absolute; top: .35rem; right: .45rem; width: 28px; height: 28px; border: 0; background: transparent; font-size: 1.25rem; line-height: 1; color: inherit; cursor: pointer; border-radius: 6px; }
.bs-pay-status-x:hover, .bs-pay-status-x:focus-visible { background: rgba(0,0,0,.07); }
/* ================= round 11: ticket poster, bottom logo, calendar button ================= */
.tv-poster { margin: -.1rem -.25rem .75rem; border-radius: 10px; overflow: hidden; background: var(--surface-tint, #f5f0f4); aspect-ratio: 16 / 9; }
.tv-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tv-brand { text-align: center; margin-top: .6rem; }
.tv-brand img { height: 30px; width: auto; max-width: 120px; object-fit: contain; }
/* the white backing I put on the dropdown wrapper showed as a square patch behind the rounded Calendar button */
.tkv-toolbar > .dropdown { background: transparent; border-radius: var(--radius-md, 12px); }
.tkv-toolbar > .dropdown > .btn-outline-brand { background: #fff; }
.tkv-toolbar .dropdown .btn-outline-brand::after { margin-left: .35rem; }
.tkv-toolbar .dropdown-menu { border-radius: 12px; }
/* WhatsApp floating shortcut stays off the event pages */
body.hide-ask-plano .ask-plano { display: none !important; }
/* ---- ticket poster: shorter, rounded, steady ratio ---- */
.tv-poster { aspect-ratio: 5 / 2; max-height: 190px; border-radius: 12px; margin: 0 0 .75rem; }
.tv-poster img { object-position: center; border-radius: inherit; }
@media (max-width: 575.98px) { .tv-poster { aspect-ratio: 2 / 1; max-height: 160px; } }
/* ================= round 12: mobile polish ================= */
@media (max-width: 767.98px) {
    /* 2. My Tickets: roomier View Ticket / Download buttons */
    #my-tickets .tk-list .btn-sm-b { min-height: 44px; padding-top: .6rem; padding-bottom: .6rem; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; }
    /* 4. floating Book bar: near-opaque white so it reads over any poster */
    .mobile-book-float { background: rgba(255, 255, 255, .94); border: 1px solid rgba(90, 29, 84, .18); backdrop-filter: blur(8px) saturate(140%); -webkit-backdrop-filter: blur(8px) saturate(140%); box-shadow: 0 8px 26px rgba(26, 8, 24, .28); }
    .mobile-book-float .mbf-from { color: var(--text-muted, #5d5560); }
}
/* 5. Guest Details: Back + Save on one row (wraps again only on very narrow screens) */
@media (max-width: 575.98px) {
    .seatbar + .section .gd-card-foot { flex-wrap: nowrap; justify-content: stretch; gap: .5rem; }
    .gd-card-foot > button { flex: 1 1 0; min-width: 0; min-height: 44px; padding: .55rem .5rem; font-size: .84rem; white-space: normal; line-height: 1.2; }
}
@media (max-width: 339.98px) { .seatbar + .section .gd-card-foot { flex-wrap: wrap; } .gd-card-foot > button { flex-basis: 100%; } }
/* 7. Booking confirmed: both actions on one row */
@media (max-width: 575.98px) {
    .bc-actions { flex-wrap: nowrap; gap: .5rem; }
    .bc-actions > a { flex: 1 1 0; min-width: 0; justify-content: center; text-align: center; padding-left: .5rem; padding-right: .5rem; font-size: .84rem; line-height: 1.2; }
}
@media (max-width: 339.98px) { .bc-actions { flex-wrap: wrap; } .bc-actions > a { flex-basis: 100%; } }
/* 8. My Tickets filters: one scrollable row (only this strip scrolls, never the page) */
@media (max-width: 767.98px) {
    #my-tickets .tk-tabs { display: flex !important; flex-wrap: nowrap !important; justify-content: flex-start !important; gap: .5rem; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; scroll-snap-type: x proximity; padding-bottom: .25rem; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
    #my-tickets .tk-tabs::-webkit-scrollbar { display: none; }
    #my-tickets .tk-tabs .nav-item { width: auto !important; flex: 0 0 auto; scroll-snap-align: start; }
    #my-tickets .tk-tabs .nav-link { width: auto !important; white-space: nowrap; min-height: 40px; display: inline-flex; align-items: center; }
}
/* ---- View Ticket: the calendar menu opens as a bottom sheet on phones, so it is never cropped or hidden behind the footer ---- */
@media (max-width: 575.98px) {
    .tkv-toolbar .dropdown-menu.show { position: fixed !important; inset: auto 1rem calc(1rem + env(safe-area-inset-bottom)) 1rem !important; transform: none !important; margin: 0 !important; width: auto; min-width: 0; max-height: 60dvh; overflow-y: auto; z-index: 1080; box-shadow: 0 12px 40px rgba(26, 8, 24, .32); border-radius: 14px; padding: .4rem; }
    .tkv-toolbar .dropdown-menu.show .dropdown-item { padding: .75rem .9rem; border-radius: 10px; white-space: normal; }
}
/* ================= round 13: forms, login focus ================= */
/* Contact form: each message sits directly under its own field, whatever the neighbouring column does */
#contact-form .float-field + .field-error { margin: -.6rem 0 .7rem .2rem; padding-left: .1rem; }
#contact-form .field-error.show { font-size: .8rem; line-height: 1.35; }
#contact-form .row > [class*="col-"] { min-width: 0; }
/* Login popup: a browser-autofilled Email must not look "focused" (blue/yellow fill) while Password is active */
.lg-inp:-webkit-autofill, .lg-inp:-webkit-autofill:hover { -webkit-box-shadow: 0 0 0 1000px #fff inset !important; -webkit-text-fill-color: #191320 !important; caret-color: #191320; }
.lg-inp:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #fff inset, 0 0 0 3px rgba(156, 68, 148, .18) !important; border-color: #9C4494; }
/* ================= round 13: marketing page alignment ================= */
/* Feature lists with a bold lead-in ("<strong>Assign Roles</strong> - ..."): in a flex row the bold text and the sentence became separate
   columns. Keep the icon in the margin and let the whole sentence flow as one block (Event Staff Management and similar lists). */
.check-list li:has(> strong) { display: block; position: relative; padding-left: 1.7rem; }
.check-list li:has(> strong) > i { position: absolute; left: 0; top: .5rem; margin-top: 0; }
/* Enterprise panel on Home: label and value align the same way in every row, and stack on phones */
#enterprise .ent-panel-row { align-items: flex-start; gap: 1rem; }
#enterprise .ent-panel-row span:last-child { text-align: right; max-width: 60%; }
@media (max-width: 575.98px) {
    #enterprise .ent-panel { padding: 1.1rem; }
    #enterprise .ent-panel-row { flex-direction: column; align-items: flex-start; gap: .15rem; }
    #enterprise .ent-panel-row span:last-child { text-align: left; max-width: 100%; }
}
/* Event-type cards on Home: equal height, content from the top */
.etype-grid { align-items: stretch; }
.etype-card { display: flex; flex-direction: column; height: 100%; }
/* ---- View Ticket: banner on the front; QR on the front only; poster + QR still appear in the downloaded PDF ---- */
.tkv-mini-poster { aspect-ratio: 16 / 7; max-height: 210px; overflow: hidden; background: var(--surface-tint, #f5f0f4); }
.tkv-mini-poster img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.tkv-flip-back .tv-poster { display: none; }
.tkv-flip-back .tv-qr { display: none; }
.tkv-pdf-stage .tkv-flip-back .tv-poster { display: block; }
.tkv-pdf-stage .tkv-flip-back .tv-qr { display: flex; }
.tv-note { margin-top: .6rem; padding: .5rem .65rem; border-radius: 8px; background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; font-size: .74rem; line-height: 1.4; }
/* ---- avatars with initials fallback (agenda speaker rows + speaker details) ---- */
.ag-av { position: relative; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-tint, #f5f0f4); color: var(--plum-600, #5A1D54); font-weight: 700; font-size: .85rem; }
.ag-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ag-av-lg { flex-basis: 64px; width: 64px; height: 64px; font-size: 1.1rem; }
#agendaModal .ag-d-spk li { display: flex; align-items: flex-start; gap: .75rem; }
.ag-spk-detail-head { display: flex; align-items: center; gap: .9rem; margin-bottom: .75rem; }
.ag-spk-full-bio { white-space: pre-line; line-height: 1.55; overflow-wrap: anywhere; }
.ag-spk-detail .ag-spk-sessions { display: flex; flex-wrap: wrap; gap: .5rem; }
/* ================= round 14 ================= */
/* seat map: the page must scroll while the pointer is over the layout. The layout only scrolls sideways (zoomed-in / wide charts). */
.seat-scroll { overflow-x: auto; overflow-y: hidden; overscroll-behavior-y: auto; }
.seat-together { display: flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; margin: .1rem 0 .1rem; cursor: pointer; }
.seat-together input { width: 1.05rem; height: 1.05rem; accent-color: var(--plum-600, #5A1D54); }
/* Choose Tickets: calmer sizes on desktop (phones keep their readable sizes) */
@media (min-width: 768px) {
    #tt-session .ttype-name { font-size: .88rem; }
    #tt-session .ttype-row .ttype-price { font-size: .95rem; }
    #tt-session .ttype-meta, #tt-session .ttype-bullets { font-size: .74rem; }
    #tt-session .ttype-avail { font-size: .72rem; }
    #tt-session .slot-date { font-size: .92rem; }
    #tt-session .slot-card .slot-label { font-size: .74rem; }
    #tt-session .tt-dwrap .tt-day-tab .tt-d { font-size: .88rem; }
    #tt-session .ttype-row { padding: .55rem .75rem; margin-bottom: .45rem; }
    .seatbar + .section .tt-h { font-size: 1.02rem; }
    .seatbar + .section h1 + p.text-muted, .seatbar + .section #tt-main-sub { font-size: .82rem; margin-bottom: .75rem; }
    .seatbar + .section #tt-summary-card h3 { font-size: .98rem; }
    .seatbar + .section .adn-summary-row { font-size: .8rem; }
}
/* View Ticket front: banner inside its own rounded frame, event card below it with an outline and a gap */
.tkv-mini { padding: .65rem; }
.tkv-mini-poster { margin: 0 0 .65rem; border-radius: 12px; aspect-ratio: 16 / 8; max-height: 220px; }
.tkv-mini-head { border: 1px solid rgba(90, 29, 84, .45); border-radius: 12px; }
.tkv-mini-body { padding: 1rem .5rem .5rem; }
/* Booking summary rows: top-aligned so optional seat lines never push the price out of line */
.bs-row { align-items: flex-start; gap: 1rem; }
.bs-row > :first-child { min-width: 0; }
.bs-row > :last-child { white-space: nowrap; }
.bs-seat-list:empty { display: none; }
/* Full Agenda popup: use the width that is there */
@media (min-width: 768px) {
    #agendaModal .modal-dialog { max-width: min(980px, 94vw); }
    #agendaModal .ag-row { grid-template-columns: 7rem minmax(0, 1fr) auto; column-gap: 1.25rem; padding: .85rem 1.1rem; }
    #agendaModal .ag-main { flex: 1 1 auto; }
    #agendaModal .ag-meta { flex-direction: row; flex-wrap: wrap; gap: .25rem 1.25rem; }
    #agendaModal .ag-title { font-size: 1rem; }
}
/* ---- View Ticket front: banner fills the card width; slightly narrower card ---- */
.tkv-wide .tkv-carousel-wrap { max-width: 520px; }
.tkv-mini-poster { width: 100%; aspect-ratio: auto; height: 190px; max-height: none; }
@media (max-width: 575.98px) { .tkv-mini-poster { height: 150px; } }
/* closed events */
.ed-closed-btn:disabled { background: #9a8a99; border-color: #9a8a99; color: #fff; opacity: 1; cursor: not-allowed; box-shadow: none; }

/* Event Details: text link to the multi-slot booking flow, directly below the Book button */
.ed-ms-link { display: block; margin-top: .55rem; text-align: center; font-size: .85rem; font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ed-ms-link:hover { opacity: .8; }

/* Multi-slot pages: no full-page skeleton overlay (sections show their own skeletons), and no scroll-lock/scrollbar jump while it would have been up */
body.ms-flow #page-loader { display: none !important; }
html:has(body.ms-flow), html:has(body.ms-flow) body { overflow: visible !important; }

/* ---- page loader: starts below the header's visible part; the skeleton keeps the same distance from the top ---- */
#page-loader { padding-top: calc(132px - var(--pl-top, 72px)); }
@media (max-width: 991.98px) { #page-loader { padding-top: calc(96px - var(--pl-top, 64px)); } }

/* ---- Round 5: slightly smaller session/date text on the ticket-selection page; clear gap above the ticket actions ---- */
.tt-dwrap .tt-s { font-size: .64rem; }
.tt-dwrap .tt-day-tab .tt-d { font-size: .9rem; }
.slot-date { font-size: .92rem; }
.slot-card .slot-label { font-size: .74rem; }
.tkv-carousel-wrap { margin-bottom: 1.5rem; }
.tkv-toolbar { position: relative; margin-top: 1rem; clear: both; }

/* Venue cards on Choose Tickets: same look as the multi-slot Select Venue cards (radio, name, address, View map; selected = theme colour). */
.tt-vcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: .8rem; }
.tt-vcard { border: 1.5px solid var(--border, #e5e0e4); border-radius: 12px; padding: .9rem 1rem; background: #fff; }
.tt-vcard:has(.tt-vbtn.active) { border-color: var(--plum-600, #5A1D54); background: var(--surface-tint, #faf6fa); }
#tt-venue-tabs .tt-vbtn, #tt-venue-tabs .tt-vbtn.active { display: flex; flex-direction: row; align-items: center; gap: .6rem; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; box-shadow: none; text-align: left; }
.tt-vdot { flex: 0 0 auto; width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid var(--plum-600, #5A1D54); background: #fff; }
.tt-vbtn.active .tt-vdot { background: radial-gradient(circle, var(--plum-600, #5A1D54) 0 45%, #fff 50%); }
.tt-vaddr { margin: .3rem 0 0 1.6rem; font-size: .88rem; color: var(--text-secondary, #6b6670); }
.tt-vaddr .tt-map { margin-left: 0; color: var(--plum-600, #5A1D54); }

/* Choose Tickets (legacy page): the date/session strip is an even grid, so every pill has the same width and rows wrap evenly. Scoped to the date strip only. */
.tt-day-strip.d-flex { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: .75rem !important; }
.tt-day-strip > .tt-dwrap { width: 100%; align-items: stretch; }
.tt-day-strip > .tt-dwrap .tt-s { max-width: 100%; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tt-day-strip > .tt-dwrap .tt-day-tab { width: 100%; justify-content: center; align-items: center; text-align: center; }
@media (max-width: 575.98px) { .tt-day-strip.d-flex { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .5rem !important; } }

.bc-head-ic { flex: 0 0 36px; height: 36px; font-size: .95rem; }

/* ---- Free events on the single-session booking pages: same look as the paid public (multi-slot) flow. Presentation only; scoped by body.free-flow,
   which the layout sets only for a free event, so paid events on these pages are unchanged. ---- */
body.free-flow .seatbar + .section .card-soft { border: 1px solid var(--border, #e5e0e4); border-radius: 12px; box-shadow: none; background: #fff; }
body.free-flow .seatbar + .section h1, body.free-flow .seatbar + .section .section-title { font-size: 1.25rem; font-weight: 700; }
/* ticket rows and quantity stepper */
body.free-flow .ttype-row { border: 1px solid var(--border, #e5e0e4); border-radius: 10px; padding: .65rem .8rem; background: #fff; }
body.free-flow .ttype-row .ttype-name { font-weight: 600; font-size: .92rem; }
body.free-flow .ttype-row .ttype-price { font-weight: 700; color: var(--plum-600, #5A1D54); white-space: nowrap; }
body.free-flow .ttype-row .adn-stepper { display: inline-flex; align-items: center; gap: .7rem; border: 1.5px solid var(--border, #e5e0e4); border-radius: 999px; padding: .2rem .3rem; overflow: visible; }
body.free-flow .ttype-row .adn-stepper button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--surface-tint, #f5f0f4); color: var(--plum-600, #5A1D54); font-size: 1.1rem; font-weight: 700; line-height: 1; }
body.free-flow .ttype-row .adn-stepper button:disabled { opacity: .4; cursor: not-allowed; }
body.free-flow .ttype-row .adn-stepper .qv { min-width: 1.4rem; text-align: center; font-weight: 700; }
/* date / session pills */
body.free-flow .tt-day-tab { border: 1.5px solid var(--border, #e5e0e4); border-radius: 12px; background: #fff; }
body.free-flow .tt-day-tab.active { background: var(--plum-600, #5A1D54); border-color: var(--plum-600, #5A1D54); color: #fff; }
/* forms (guest details) */
body.free-flow .seatbar + .section .form-control, body.free-flow .seatbar + .section .form-select { min-height: 40px; border: 1.5px solid var(--border, #e5e0e4); border-radius: 8px; font-size: .88rem; }
body.free-flow .seatbar + .section .form-control:focus, body.free-flow .seatbar + .section .form-select:focus { border-color: var(--plum-600, #5A1D54); box-shadow: 0 0 0 3px rgba(90, 29, 84, .12); }
body.free-flow .seatbar + .section label { font-size: .78rem; font-weight: 600; color: var(--text-muted, #6b6670); }
/* buttons */
body.free-flow .seatbar + .section .btn-brand, body.free-flow .seatbar + .section .btn-outline-brand { min-height: 44px; }
/* seat map chips and summary */
body.free-flow .seatbar + .section .as-chip, body.free-flow .seatbar + .section .bs-chip { border-radius: 999px; }
@media (max-width: 767.98px) { body.free-flow .seatbar + .section .card-soft { padding: .85rem .9rem !important; } body.free-flow .ttype-row .adn-stepper button { width: 36px; height: 36px; } }

/* Speaker sessions: each date and time is its own outlined card. */
.ag-spk-sessions { gap: .4rem !important; }
.ag-sess { border: 1px solid var(--border, #e5e0e4); border-radius: 10px; padding: .35rem .7rem; background: #fff; }
.ag-sess:hover { border-color: var(--plum-600, #5A1D54); }
.ed-ttk li > i { color: var(--plum-600, #5A1D54); }

/* Venue cards: one-line address with ellipsis, and a View map link whose underline starts at the text. */
.ms-venue-addr, .tt-vaddr .tt-vaddr-t { display: block; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-link.ms-maplink { text-decoration: none; }
.ms-link.ms-maplink i { margin-right: .3rem; text-decoration: none; display: inline-block; }
.ms-link.ms-maplink span { text-decoration: underline; text-underline-offset: 3px; }
.tt-vcard .tt-vaddr:first-of-type { display: flex; align-items: baseline; gap: .3rem; }

/* Password fields: hide the browser's own reveal / clear icons so only the page's show-hide button is shown. */
input[type=password]::-ms-reveal, input[type=password]::-ms-clear { display: none; }

/* Ended event: the closed button and its note stack under the status instead of squeezing into one row. */
.ed-info-foot:has(.ed-closed-btn) { flex-direction: column; align-items: stretch; gap: .6rem; }
.ed-cta:has(.ed-closed-btn) { display: flex; flex-direction: column; align-items: stretch; gap: .5rem; min-width: 0; }
.ed-cta .ed-closed-btn { width: 100%; }
.ed-cta:has(.ed-closed-btn) .ed-note { text-align: center; font-size: .82rem; white-space: normal; margin: 0; }

/* Invites: title left, status right; date, venue and invited-by in one wrapping row. */
.tk-card .tk-top { align-items: flex-start; }
.tk-card .tk-top .tk-title { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.tk-card .tk-top .tk-status { white-space: nowrap; flex-shrink: 0; margin-left: auto; }
.tk-card .tk-meta span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 620px) { .tk-card .tk-top { flex-direction: row; } }

/* Profile menu: an icon before each item, same width and spacing. */
.dropdown-menu .dropdown-item > i { display: inline-block; width: 1.15rem; margin-right: .6rem; text-align: center; color: var(--plum-600, #5A1D54); }
.dropdown-menu .dropdown-item.js-logout > i { color: inherit; }

/* Ticket page swipe hint and branding footer (same rules as multislot.css for the multi-slot pages). */
.tkv-hint { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .9rem; }
.tkv-swipe { display: inline-flex; align-items: center; gap: .35rem; color: var(--plum-600, #5A1D54); font-weight: 600; min-width: 0; }
.tkv-hint > span { min-width: 0; }
.tkv-brand-foot { margin-top: 1rem; padding: .85rem .75rem .35rem; border-top: 1px dashed var(--border, #e5e0e4); text-align: center; display: flex; flex-direction: column; align-items: center; gap: .3rem; color: var(--text-muted, #6b6670); font-size: clamp(.72rem, 2.6vw, .8rem); line-height: 1.4; overflow-wrap: anywhere; }
.tkv-brand-foot strong { display: block; font-size: clamp(.8rem, 3vw, .9rem); font-weight: 600; letter-spacing: .01em; color: var(--plum-600, #5A1D54); line-height: 1.3; }

.tkv-brand-foot span { display: block; font-weight: 400; color: #8a8490; }

/* speaker job title / organization (Event Details) */
.ag-spk-role { font-size: .8rem; color: var(--plum-600, #5A1D54); font-weight: 600; line-height: 1.3; margin-top: .1rem; overflow-wrap: anywhere; }
.ag-spk-org { font-size: .8rem; color: var(--text-muted, #6b6670); line-height: 1.3; overflow-wrap: anywhere; }

/* Post composer: optional "Add images" picker and the chosen files (only shown when the event allows images). */
.ed-attach { cursor: pointer; margin-right: auto; display: inline-flex; align-items: center; gap: .4rem; }
.ed-attach-list { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.ed-attach-list:empty { display: none; }
.ed-attach-chip { display: inline-flex; align-items: center; gap: .4rem; max-width: 100%; padding: .2rem .35rem .2rem .65rem; border-radius: 999px; background: var(--surface-tint, #f5f0f4); color: var(--plum-700, #5A1D54); font-size: .8rem; }
.ed-attach-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 14rem; }
.ed-attach-chip button { border: 0; background: transparent; color: inherit; font-size: 1rem; line-height: 1; cursor: pointer; padding: 0 .25rem; }

/* Things to know: icon in a fixed box aligned to the first line, category label above its text, same spacing for every row */
.ed-ttk { align-items: start; gap: .65rem 1.25rem; }
.ed-ttk li { align-items: flex-start; gap: .65rem; line-height: 1.5; }
.ed-ttk li > i { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 1.25rem; width: 1.25rem; height: 1.43rem; margin: 0; }
.ed-ttk li > span { flex: 1 1 auto; min-width: 0; display: block; }
.ed-ttk li strong { display: block; margin: 0 0 .1rem; }