/* ========== Reset & Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #0a6b59;
    --primary-light: #0f8a72;
    --primary-dark: #063f35;
    --accent: #d8ae5e;
    --accent-light: #f1c55f;
    --success: #16a34a;
    --warning: #d97706;
    --danger: #dc2626;
    --info: #0e7490;
    --chart-blue-1: #063f35;
    --chart-blue-2: #0a6b59;
    --chart-blue-3: #0f8a72;
    --chart-blue-4: #d8ae5e;
    --chart-blue-5: #b8542e;
    --chart-blue-6: #8fb9aa;
    --chart-neutral: #64748b;
    --bg: #f1f5f9;
    --surface: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --sidebar-width: 250px;
    --topbar-height: 52px;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
}

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

/* ========== Top Bar ========== */
.topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    height: var(--topbar-height);
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.topbar-left { display: flex; align-items: center; gap: 12px; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.topbar-logo {
    width: 42px;
    height: 32px;
    padding: 3px;
    border-radius: 6px;
    object-fit: contain;
    background: #fff;
}
.topbar-title { font-size: 1.05rem; font-weight: 700; letter-spacing: .3px; }
.sidebar-toggle {
    background: none; border: none; color: #fff; font-size: 1.25rem;
    cursor: pointer; padding: 4px 6px; border-radius: 4px; transition: background .15s;
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
}
.sidebar-toggle:hover { background: rgba(255,255,255,.15); }
.toggle-icon { line-height: 1; }

.topbar-user { display: flex; align-items: center; gap: 10px; }
.topbar-user-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,.2); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .72rem; font-weight: 700; letter-spacing: .5px;
    flex-shrink: 0;
}
.topbar-user-info { display: flex; flex-direction: column; line-height: 1.2; }
.topbar-user-info strong { font-size: .82rem; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-user-info small { font-size: .68rem; opacity: .65; }
.topbar-action {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; padding: 4px; border-radius: 4px;
    color: rgba(255,255,255,.75); text-decoration: none; font-size: 1.05rem; line-height: 1;
    filter: grayscale(1); transition: all .15s;
    background: none; border: none; cursor: pointer;
}
.topbar-action:hover { color: #fff; background: rgba(255,255,255,.12); }

/* ========== Sidebar ========== */
.sidebar {
    position: fixed; top: var(--topbar-height); bottom: 0; left: 0; z-index: 100;
    width: var(--sidebar-width);
    background: var(--primary); color: #fff;
    display: flex; flex-direction: column;
    transition: width .25s cubic-bezier(.4,0,.2,1), transform .25s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
}
.sidebar.collapsed { width: 0; transform: translateX(calc(-1 * var(--sidebar-width))); }
.sidebar.expanded { width: var(--sidebar-width); transform: translateX(0); }

.sidebar-nav {
    list-style: none; padding: 8px 0; flex: 1; overflow-y: auto;
    scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent;
}
.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 4px; }

/* Nav group toggle (section headers) */
.nav-group { border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-group-toggle {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 10px 18px; border: none; background: none; color: rgba(255,255,255,.5);
    font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.1px;
    cursor: pointer; transition: all .15s; user-select: none;
}
.nav-group-toggle:hover { color: rgba(255,255,255,.8); background: rgba(255,255,255,.04); }
.chevron { font-size: .6rem; transition: transform .2s ease; }
.chevron.open { transform: rotate(180deg); }

/* Nav group items */
.nav-group-items { list-style: none; padding: 0 0 4px; }
.nav-group-items li a {
    display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 24px;
    color: rgba(255,255,255,.75); text-decoration: none; font-size: .84rem; transition: all .15s;
    border-left: 3px solid transparent;
}
.nav-group-items li a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-group-items li a.active {
    background: rgba(255,255,255,.12); color: #fff; font-weight: 600;
    border-left-color: var(--accent);
}
.nav-icon { font-size: .9rem; width: 18px; text-align: center; filter: grayscale(1); opacity: .6; flex-shrink: 0; }
.nav-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.sidebar-footer {
    padding: 12px 18px; border-top: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.35); font-size: .72rem; text-align: center;
}

/* ========== Main Content ========== */
.main-content {
    margin-top: var(--topbar-height); flex: 1; display: flex; flex-direction: column;
    transition: margin-left .25s cubic-bezier(.4,0,.2,1);
    min-height: calc(100vh - var(--topbar-height));
}
.main-content.sidebar-is-expanded { margin-left: var(--sidebar-width); }
.main-content.sidebar-is-collapsed { margin-left: 0; }

.content-area { max-width: 1560px; margin: 0 auto; padding: 24px 32px; flex: 1; }
.public-content-area { max-width: none; margin-top: 0; }
.landing-content {
    min-height: 100vh;
    width: 100%;
    overflow-x: clip;
    overflow-y: visible;
    background: #f3f5f1;
}

/* Overlay (mobile only) */
.sidebar-overlay {
    position: fixed; inset: 0; top: var(--topbar-height);
    background: rgba(0,0,0,.4); z-index: 90;
    display: none;
}

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

.public-hero {
    min-height: 74vh;
    padding: 22px clamp(20px, 4vw, 56px) 64px;
    background:
        linear-gradient(rgba(6, 63, 53, .78), rgba(17, 52, 47, .86)),
        var(--brand-hero-image) center 42% / cover no-repeat,
        var(--primary);
    color: #fff;
}

.public-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.brand-lockup img {
    width: 58px;
    height: 44px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 5px;
}

.public-hero-content {
    max-width: 720px;
    margin-top: 14vh;
}

.eyebrow {
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    color: #bae6fd;
}

.public-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4.4rem);
    line-height: 1.02;
}

.lead {
    max-width: 680px;
    color: #dbeafe;
    font-size: 1rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.public-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 24px clamp(20px, 4vw, 56px) 48px;
}

.public-grid article,
.card {
    background: var(--surface);
    border: 1px solid rgba(219, 227, 239, .9);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.public-grid article {
    padding: 22px;
}

.public-grid h2 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.public-grid p {
    margin: 0;
    color: var(--text-muted);
}

/* ========== ACCS Landing Page ========== */

.accs-frontdoor {
    --accs-deep: #063f35;
    --accs-primary: #0a6b59;
    --accs-signal: #0f8a72;
    --accs-cyan: #0e7490;
    --accs-gold: #d8ae5e;
    --accs-surface: #ffffff;
    --accs-surface-light: #eff7f3;
    --accs-text: #1e293b;
    --accs-text-muted: #64748b;
    --accs-glass: rgba(255, 255, 255, 0.74);
    --accs-glass-border: rgba(10, 107, 89, 0.16);
    background: #f4f8f5;
    color: var(--accs-text);
}

.accs-section-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 72px);
}

.accs-hero {
    position: relative;
    min-height: calc(100vh - var(--topbar-height));
    color: var(--accs-text);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.accs-hero-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 82% 18%, rgba(216, 174, 94, 0.22), transparent 34%),
        radial-gradient(circle at 20% 84%, rgba(10, 107, 89, 0.14), transparent 42%),
        linear-gradient(135deg, #ffffff 0%, #eff7f3 48%, #f7f1e5 100%);
}

.accs-hero-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(239,247,243,0.86) 54%, rgba(247,241,229,0.72) 100%);
}

.accs-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 107, 89, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 107, 89, 0.07) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(180deg, transparent 0%, black 20%, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 20%, black 80%, transparent 100%);
}

.accs-hero-orbit {
    position: absolute;
    right: min(8vw, 6rem);
    bottom: min(18vh, 10rem);
    width: min(44vw, 560px);
    aspect-ratio: 1;
    border: 1px solid rgba(7, 44, 147, 0.16);
    border-radius: 50%;
    opacity: 0.6;
    animation: accs-orbit-rotate 60s linear infinite;
}

.accs-hero-orbit::before,
.accs-hero-orbit::after {
    content: "";
    position: absolute;
    border-radius: inherit;
    border: 1px solid rgba(14, 165, 233, 0.18);
}

.accs-hero-orbit::before { inset: 14%; }
.accs-hero-orbit::after { inset: 28%; background: rgba(14, 165, 233, 0.08); }

@keyframes accs-orbit-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.accs-hero-logo-mark {
    position: absolute;
    right: clamp(20px, 8vw, 96px);
    top: 50%;
    transform: translateY(-50%);
    width: min(40vw, 320px);
    height: min(40vw, 320px);
    background: var(--brand-logo-image) center / contain no-repeat;
    opacity: 0.07;
    filter: saturate(1.05);
}

.accs-hero-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 26px clamp(20px, 5vw, 72px) 72px;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--topbar-height));
}

.accs-public-nav,
.accs-nav-actions,
.bulk-search-row,
.bulk-total-strip {
    display: flex;
    align-items: center;
    gap: 12px;
}

.accs-public-nav {
    justify-content: space-between;
}

.accs-nav-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.accs-hero .brand-lockup img {
    width: 58px;
    height: 44px;
    padding: 5px;
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
    box-shadow: 0 14px 34px rgba(7, 44, 147, 0.18);
}

.accs-hero .brand-lockup span {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.accs-hero .btn-outline {
    border-color: rgba(7, 44, 147, 0.2);
    color: var(--accs-primary);
    background: rgba(255, 255, 255, 0.72);
}

.accs-hero .btn-outline:hover {
    background: #fff;
    border-color: rgba(7, 44, 147, 0.35);
}

.accs-hero .btn-primary {
    background: var(--accs-primary);
    color: #fff;
}

.accs-hero .btn-primary:hover {
    background: var(--accs-signal);
}

.accs-hero-copy {
    max-width: 820px;
    padding: 10vh 0 6vh;
}

.accs-hero-copy .eyebrow {
    color: var(--accs-cyan);
    font-weight: 900;
    letter-spacing: 0.14em;
    margin-bottom: 18px;
}

.accs-hero-copy h1 {
    max-width: 900px;
    margin: 0 0 24px;
    font-size: clamp(2.6rem, 7vw, 6.2rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
}

.accs-hero-copy .lead {
    max-width: 680px;
    color: var(--accs-text-muted);
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    line-height: 1.6;
}

.accs-hero-associations {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 6px;
}

.accs-hero-associations span {
    padding: 8px 14px;
    border: 1px solid rgba(7, 44, 147, 0.16);
    border-radius: 999px;
    background: #fff;
    color: var(--accs-primary);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    box-shadow: 0 10px 24px rgba(7, 44, 147, 0.08);
}

.accs-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 32px;
}

.accs-meta-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid var(--accs-glass-border);
    border-radius: 12px;
    background: var(--accs-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.accs-meta-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.accs-meta-pill strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
}

.accs-meta-pill small {
    display: block;
    color: var(--accs-text-muted);
    font-size: 0.82rem;
}

.accs-countdown,
.summit-countdown {
    --countdown-progress: 0%;
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    width: min(100%, 640px);
    margin-left: auto;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid rgba(216, 174, 94, .28);
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 0%, rgba(216, 174, 94, .26), transparent 32%),
        linear-gradient(135deg, rgba(10, 107, 89, .96), rgba(30, 58, 95, .94));
    color: #fff;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(15, 39, 68, .24);
}

.summit-countdown::before {
    content: "";
    position: absolute;
    inset: -50% auto auto -20%;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .09);
    filter: blur(2px);
    z-index: -1;
}

.countdown-orb {
    display: grid;
    place-items: center;
    width: clamp(86px, 13vw, 124px);
    aspect-ratio: 1;
    border-radius: 999px;
    background:
        radial-gradient(circle, rgba(255, 255, 255, .95) 0 54%, transparent 55%),
        conic-gradient(#d8ae5e var(--countdown-progress), rgba(255, 255, 255, .22) 0);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 16px 36px rgba(0, 0, 0, .18);
}

.countdown-orb span {
    color: #0a6b59;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 900;
}

.countdown-copy {
    min-width: 0;
}

.countdown-copy .summit-eyebrow,
.countdown-copy h3,
.countdown-copy span {
    margin: 0;
}

.countdown-copy .summit-eyebrow {
    color: #d8ae5e;
}

.countdown-copy h3 {
    margin-top: 4px;
    font-size: clamp(1.2rem, 2.4vw, 1.75rem);
    color: #fff;
}

.countdown-copy > span {
    display: inline-block;
    margin-top: 5px;
    color: rgba(255, 255, 255, .76);
    font-size: .92rem;
}

.countdown-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(8px, 1.5vw, 12px);
}

.countdown-unit {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: clamp(12px, 2.6vw, 18px) 8px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
    overflow: hidden;
}

.countdown-unit::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .16), transparent 42%);
    pointer-events: none;
}

.countdown-unit.accent-tick {
    border-color: rgba(216, 174, 94, .38);
    background: rgba(216, 174, 94, .16);
}

.countdown-unit strong {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: clamp(1.65rem, 5vw, 3.25rem);
    font-weight: 950;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.04em;
    text-shadow: 0 10px 26px rgba(0, 0, 0, .24);
}

.countdown-unit span {
    position: relative;
    z-index: 1;
    margin-top: 6px;
    color: rgba(255, 255, 255, .72);
    font-size: clamp(.62rem, 1.7vw, .78rem);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.accs-band,
.accs-section {
    padding: 64px 0;
}

.accs-band {
    background: var(--accs-surface);
    border-bottom: 1px solid var(--border);
}

.accs-association-strip,
.accs-package-grid,
.accs-hotel-grid,
.accs-steps,
.accs-sponsor-grid {
    display: grid;
    gap: 18px;
}

.accs-association-strip {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.accs-assoc-card {
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--accs-surface);
    box-shadow: var(--shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.accs-assoc-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.accs-card-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: var(--accs-surface-light);
    font-size: 1.5rem;
}

.accs-assoc-card strong {
    display: block;
    color: var(--accs-primary);
    font-size: 1.7rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.accs-assoc-card span {
    display: block;
    color: var(--accs-text-muted);
    font-size: 0.95rem;
}

.accs-assoc-card p {
    margin: 12px 0 18px;
    color: var(--accs-text-muted);
}

.accs-section.muted {
    background: var(--accs-surface-light);
}

.accs-section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.accs-section-header.centered {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.accs-section-header.compact {
    align-items: flex-start;
    margin-bottom: 22px;
}

.accs-section-header p {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--accs-text-muted);
}

.accs-section-header .eyebrow {
    color: var(--accs-cyan);
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}

.accs-section-header h2 {
    margin: 0;
    color: var(--accs-text);
    font-size: clamp(1.6rem, 3.6vw, 2.6rem);
    font-weight: 900;
    line-height: 1.1;
}

.accs-package-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.accs-package-card {
    min-height: 280px;
    padding: 28px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--accs-surface);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.accs-package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(7, 44, 147, 0.12);
}

.accs-package-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--accs-surface-light);
    color: var(--accs-primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.accs-package-card h3 {
    margin: 16px 0 8px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accs-text);
}

.accs-package-card p,
.accs-package-card small,
.accs-hotel-card p,
.accs-steps p,
.accs-sponsor-card span {
    color: var(--accs-text-muted);
}

.accs-package-price strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--accs-primary);
    margin-bottom: 4px;
}

.accs-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.accs-feature-grid.three {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.accs-feature-grid.five {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.accs-feature-card {
    padding: 26px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--accs-surface);
    box-shadow: var(--shadow);
}

.accs-feature-card span {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: var(--accs-surface-light);
    font-size: 1.55rem;
}

.accs-feature-card h3 {
    margin: 0 0 8px;
    color: var(--accs-text);
    font-size: 1.08rem;
    font-weight: 850;
}

.accs-feature-card p {
    margin: 0;
    color: var(--accs-text-muted);
}

.accs-info-panel {
    margin-top: 20px;
    padding: 20px 22px;
    border: 1px solid rgba(7, 44, 147, 0.14);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
}

.accs-info-panel strong {
    display: block;
    color: var(--accs-primary);
    font-size: 1rem;
    margin-bottom: 4px;
}

.accs-info-panel p {
    margin: 0;
    color: var(--accs-text-muted);
}

.accs-hotel-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.accs-hotel-card {
    padding: 28px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--accs-surface);
    box-shadow: var(--shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.accs-hotel-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.accs-hotel-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.accs-hotel-card h3,
.accs-steps h3 {
    margin: 12px 0 8px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accs-text);
}

.accs-hotel-card strong {
    display: block;
    margin-top: 12px;
    color: var(--accs-primary);
    font-size: 1.1rem;
    font-weight: 800;
}

.accs-steps {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.accs-steps article {
    padding: 28px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--accs-surface);
    box-shadow: var(--shadow);
}

.accs-steps strong {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accs-primary);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 14px;
}

.accs-sponsor-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.accs-sponsor-card {
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--accs-surface);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.accs-sponsor-card span {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.accs-sponsor-card strong {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accs-text);
}

.accs-final-cta {
    position: relative;
    padding: 96px 0;
    color: var(--accs-text);
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.18), transparent 42%),
        linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
    overflow: hidden;
}

.accs-final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.25), transparent 40%),
        var(--brand-logo-image) center / 500px no-repeat;
    opacity: 0.04;
}

.accs-final-cta .accs-section-shell {
    position: relative;
    z-index: 1;
}

.accs-final-cta .eyebrow {
    color: var(--accs-cyan);
    font-weight: 900;
    letter-spacing: 0.14em;
    margin-bottom: 14px;
}

.accs-final-cta h2 {
    margin: 0 auto 16px;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 900;
    max-width: 18ch;
}

.accs-final-cta p {
    max-width: 600px;
    margin: 0 auto 28px;
    color: var(--accs-text-muted);
    font-size: 1.1rem;
}

.accs-final-cta .btn-primary {
    background: var(--accs-primary);
    color: #fff;
}

.accs-final-cta .btn-outline {
    border-color: rgba(7, 44, 147, 0.22);
    color: var(--accs-primary);
    background: #fff;
}

.accs-final-cta .btn-outline:hover {
    background: var(--accs-surface-light);
}

@media (max-width: 768px) {
    .accs-hero-copy {
        padding: 6vh 0 4vh;
    }

    .accs-countdown,
    .summit-countdown {
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 0;
        border-radius: 22px;
        padding: 18px;
        text-align: center;
    }

    .countdown-orb {
        justify-self: center;
        width: 94px;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .countdown-unit {
        border-radius: 16px;
        padding: 14px 8px;
    }

    .accs-hero-orbit,
    .accs-hero-logo-mark {
        display: none;
    }

    .accs-event-meta {
        flex-direction: column;
    }

    .accs-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .accs-section-header .btn {
        width: 100%;
        justify-content: center;
    }
}

.account-shell {
    min-height: calc(100vh - var(--topbar-height));
    display: grid;
    place-items: center;
    padding: 32px;
    background: #eef4fb;
}

.account-shell-premium {
    min-height: 100vh;
    padding: clamp(18px, 4vw, 48px);
    background:
        linear-gradient(135deg, rgba(6, 63, 53, .08), rgba(216, 174, 94, .12)),
        #f3f7f4;
}

.account-panel {
    width: min(940px, 100%);
    padding: 26px;
}

.account-panel.compact {
    width: min(560px, 100%);
}

.account-panel-header {
    margin-bottom: 22px;
}

.account-panel-header h1 {
    margin: 0 0 8px;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.account-onboarding {
    display: grid;
    grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
    width: min(1120px, 100%);
    min-height: min(720px, calc(100vh - 64px));
    overflow: hidden;
    border: 1px solid rgba(10, 107, 89, .14);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .16);
}

.account-story-panel {
    position: relative;
    display: grid;
    align-content: space-between;
    gap: 28px;
    min-height: 100%;
    padding: clamp(24px, 4vw, 44px);
    background:
        linear-gradient(150deg, rgba(6, 63, 53, .96), rgba(10, 107, 89, .92)),
        var(--primary-dark);
    color: #fff;
}

.account-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 900;
}

.account-brand img {
    width: 54px;
    height: 40px;
    padding: 5px;
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
}

.account-story-copy {
    display: grid;
    gap: 14px;
    max-width: 430px;
}

.account-story-copy .eyebrow {
    margin: 0;
    color: var(--accent-light);
}

.account-story-copy h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.02;
}

.account-story-copy p,
.account-assurance p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    line-height: 1.65;
}

.account-journey {
    display: grid;
    gap: 10px;
}

.account-journey span {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .9);
    font-size: .88rem;
    font-weight: 800;
}

.account-journey strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    color: #17231e;
    font-size: .76rem;
}

.account-assurance {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid rgba(241, 197, 95, .34);
    border-radius: 8px;
    background: rgba(241, 197, 95, .12);
}

.account-assurance strong {
    color: #fff;
}

.account-form-panel {
    display: grid;
    align-content: start;
    gap: 18px;
    padding: clamp(24px, 4vw, 44px);
    background: #fff;
    overflow-y: auto;
}

.account-form-panel .account-panel-header {
    margin-bottom: 0;
}

.account-form-panel .eyebrow {
    color: var(--primary);
}

.account-form-panel .account-panel-header h1 {
    color: var(--primary-dark);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.account-form-panel .account-panel-header p {
    max-width: 620px;
    color: var(--text-muted);
}

.account-progress {
    display: grid;
    align-items: center;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
}

.account-progress span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #fff;
    color: var(--text-muted);
    font-size: .78rem;
    font-weight: 900;
}

.account-progress span.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(30, 58, 95, .2);
}

.account-progress div {
    height: 2px;
    border-radius: 999px;
    background: var(--border);
}

.required-marker {
    color: var(--danger);
    font-weight: 900;
}

.account-form-section {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fbfdfb;
}

.account-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.account-section-heading > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
    flex: 0 0 auto;
}

.account-section-heading h2 {
    margin: 0;
    font-size: 1rem;
    color: var(--text);
}

.account-section-heading p {
    margin: 3px 0 0;
    color: var(--text-muted);
    font-size: .85rem;
}

.account-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.account-form-actions .btn {
    min-height: 44px;
    justify-content: center;
}

.login-local-form {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.login-local-form label {
    display: grid;
    gap: 6px;
    font-size: .82rem;
    color: var(--text-muted);
}

.bulk-search-row {
    margin-bottom: 16px;
}

.bulk-search-row .field-input {
    flex: 1;
}

.bulk-total-strip {
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 16px 0;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.bulk-payments-page {
    display: grid;
    gap: 18px;
}

.bulk-payment-flow {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
}

.bulk-create-card {
    min-width: 0;
}

.bulk-payment-side-rail {
    align-content: start;
    align-self: start;
    display: grid;
    gap: 18px;
    min-width: 0;
}

.bulk-payment-main {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.bulk-payment-flow .payment-panel {
    background: var(--surface-muted, #f8fafc);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: grid;
    gap: 12px;
    padding: 14px;
}

.bulk-payment-flow .payment-panel-heading {
    display: grid;
    gap: 4px;
}

.bulk-payment-flow .payment-panel-heading h4 {
    margin: 0;
}

.bulk-payment-flow .payment-panel-heading p {
    color: var(--text-muted);
    font-size: .86rem;
    margin: 0;
}

.bulk-payment-summary {
    max-height: calc(100vh - var(--topbar-height) - 32px);
    overflow: hidden;
    position: sticky;
    top: calc(var(--topbar-height) + 16px);
}

.bulk-payment-summary .hp-cart-lines {
    max-height: 230px;
    overflow: auto;
}

.bulk-summary-notice {
    background: #f8fafc;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: .84rem;
    line-height: 1.35;
    padding: 12px 18px;
}

.bulk-summary-notice.warning {
    background: #fff7ed;
    color: #9a3412;
}

.bulk-payment-summary .order-actions {
    padding: 14px 18px 18px;
}

.bulk-payment-summary .order-checkout-btn {
    width: 100%;
}

.danger-text {
    color: #b91c1c !important;
}

.success-inline {
    background: #ecfdf5 !important;
    border-color: rgba(16, 185, 129, .28) !important;
    color: #065f46 !important;
}

.bulk-selected-shell {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.bulk-selected-toolbar {
    align-items: center;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 14px;
}

.bulk-selected-toolbar div {
    display: grid;
    gap: 2px;
}

.bulk-selected-toolbar span {
    color: var(--text-muted);
    font-size: .8rem;
}

.bulk-selected-toolbar > strong {
    color: var(--primary-dark);
    white-space: nowrap;
}

.bulk-cart-list {
    display: grid;
    gap: 10px;
    max-height: min(64vh, 640px);
    overflow: auto;
    padding: 12px 8px 12px 12px;
    scrollbar-gutter: stable;
}

.bulk-cart-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    display: grid;
    gap: 10px;
    padding: 12px;
}

.bulk-cart-card.is-editing {
    border-color: rgba(10, 107, 89, .32);
    box-shadow: 0 0 0 3px rgba(10, 107, 89, .06);
}

.bulk-cart-card.payer-cart-card {
    border-color: rgba(14, 165, 233, .38);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .08);
}

.bulk-cart-card-header,
.bulk-cart-actions {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.bulk-cart-card.is-editing .bulk-cart-card-header,
.bulk-cart-card.is-editing .bulk-cart-actions {
    align-items: flex-start;
}

.bulk-cart-card-header > div:first-child,
.bulk-cart-card-total {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.bulk-cart-card-header > div:first-child > strong,
.bulk-cart-card-header > div:first-child > span,
.bulk-cart-card-header > div:first-child > small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bulk-cart-card-header span,
.bulk-cart-card-header small,
.bulk-cart-card-total span,
.bulk-addon-row small {
    color: var(--text-muted);
    font-size: .82rem;
}

.bulk-cart-card-total {
    min-width: 132px;
    text-align: right;
}

.bulk-cart-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bulk-cart-preview span {
    background: #f1f5f9;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 999px;
    color: var(--text-muted);
    display: inline-flex;
    font-size: .76rem;
    font-weight: 700;
    max-width: 100%;
    min-height: 26px;
    overflow: hidden;
    padding: 4px 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bulk-payer-note {
    color: var(--accent, #0ea5e9) !important;
    font-weight: 800;
}

.cart-lines.bulk-cart-lines {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
}

.bulk-cart-lines .cart-line {
    grid-template-columns: minmax(0, 1fr) auto;
}

.bulk-cart-lines .cart-line > div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.bulk-cart-lines .cart-line > span {
    color: var(--primary-dark);
    font-weight: 800;
    white-space: nowrap;
}

.bulk-cart-editor {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    display: grid;
    gap: 12px;
    padding: 12px;
}

.bulk-editor-section {
    margin: 0;
}

.bulk-product-grid {
    grid-template-columns: 1fr;
}

.bulk-hotel-selector {
    margin-top: 10px;
}

.bulk-addon-editor {
    display: grid;
    gap: 8px;
}

.bulk-addon-row {
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    display: grid;
    gap: 10px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 10px;
}

.bulk-addon-row span {
    display: grid;
    gap: 2px;
}

.bulk-addon-row em {
    color: var(--text);
    font-style: normal;
    font-weight: 700;
    white-space: nowrap;
}

.bulk-history-card {
    overflow: hidden;
    padding: 0;
}

.bulk-history-card .card-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    display: block;
    margin-bottom: 0;
    padding: 14px 16px;
}

.bulk-history-card .card-title {
    color: var(--text);
    display: block;
    font-size: 1rem;
    margin: 0 0 3px;
}

.bulk-history-card .section-note {
    margin: 0;
}

.bulk-history-list {
    display: grid;
    gap: 10px;
    max-height: 420px;
    overflow: auto;
    padding: 12px;
    scrollbar-gutter: stable;
}

.bulk-history-card .empty-state.compact,
.bulk-history-card .loading-panel {
    margin: 14px;
}

.bulk-history-item {
    background: #fbfdff;
    border: 1px solid var(--border);
    border-radius: 8px;
    display: grid;
    gap: 10px;
    padding: 12px;
}

.bulk-history-header {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.bulk-history-header div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.bulk-history-header h3 {
    font-size: .95rem;
    line-height: 1.2;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bulk-history-header p {
    color: var(--text-muted);
    font-size: .78rem;
    margin: 0;
}

.bulk-history-amounts {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bulk-history-amounts span {
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 8px;
    display: grid;
    gap: 2px;
    padding: 8px;
}

.bulk-history-amounts strong {
    color: var(--primary-dark);
    font-size: .8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bulk-history-amounts small,
.bulk-history-delegates span {
    color: var(--text-muted);
    font-size: .74rem;
}

.bulk-history-delegates {
    display: grid;
    gap: 5px;
}

.bulk-history-delegates span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-registration-options {
    display: grid;
    gap: 12px;
}

.post-registration-options article {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    display: grid;
    gap: 4px;
    padding: 14px 16px;
}

.post-registration-options strong {
    color: var(--text);
}

.post-registration-options span {
    color: var(--text-muted);
    font-size: .9rem;
}

.post-registration-options b {
    color: var(--primary-dark);
    font-size: 1.05rem;
    letter-spacing: .06em;
}

.bulk-approval-delegates {
    gap: 10px;
}

.bulk-approval-delegate {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    display: grid;
    gap: 8px;
    padding: 10px;
}

.bulk-approval-delegate-head {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.bulk-approval-delegate-head div,
.bulk-approval-lines {
    display: grid;
    gap: 2px;
}

.bulk-approval-delegate-head small,
.bulk-approval-lines small {
    color: var(--text-muted);
    font-size: .78rem;
}

.bulk-approval-delegate-head > span {
    color: var(--primary-dark);
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 1080px) {
    .bulk-payment-flow {
        grid-template-columns: 1fr;
    }

    .bulk-payment-side-rail {
        max-height: none;
        overflow: visible;
        position: static;
    }

    .bulk-payment-summary {
        max-height: none;
        overflow: visible;
        position: static;
    }

    .bulk-payment-summary .hp-cart-lines,
    .bulk-history-list {
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 720px) {
    .bulk-cart-card-header,
    .bulk-cart-actions,
    .bulk-history-header,
    .bulk-selected-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .bulk-cart-card-total {
        min-width: 0;
        text-align: left;
    }

    .bulk-history-amounts {
        grid-template-columns: 1fr;
    }
}

.stacked-list {
    display: grid;
    gap: 8px;
}

.stacked-list span {
    display: grid;
    color: var(--text-muted);
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: var(--bg);
}

.login-card {
    width: 100%;
    max-width: 430px;
    padding: 0;
    overflow: hidden;
}

.login-logo-header {
    background: #fff;
    padding: 26px 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}

.login-logo {
    width: min(250px, 72%);
    height: auto;
    object-fit: contain;
}

.login-card-body {
    padding: 28px;
}

.login-brand {
    text-align: center;
    margin-bottom: 22px;
}

.login-brand h1 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--primary);
}

.login-brand h1:focus {
    outline: none;
}

.login-brand p,
.login-note {
    margin: 3px 0 0;
    color: var(--text-muted);
    font-size: .9rem;
}

.login-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-button {
    justify-content: center;
    width: 100%;
    min-height: 44px;
}

.login-note {
    margin-top: 18px;
    line-height: 1.55;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid rgba(219, 227, 239, .9);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.page-header-icon { font-size: 1.7rem; opacity: .8; filter: grayscale(.4); }
.page-header h1 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
}

.page-header p {
    margin: 5px 0 0;
    color: var(--text-muted);
}

.page-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.card {
    padding: 20px;
}

.card.login-card {
    padding: 0;
    overflow: hidden;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.card-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px;
    border: none; border-radius: var(--radius); font-size: .85rem; font-weight: 500;
    cursor: pointer; transition: all .15s; text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-light); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { background: var(--bg); }
.btn-sm { padding: 4px 10px; font-size: .8rem; }
.btn-lg { padding: 12px 24px; font-size: .95rem; border-radius: 999px; font-weight: 800; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { opacity: .85; }
.btn-link { background: none; border: none; color: var(--accent); text-decoration: none; padding: 0; }
.btn-link:hover { text-decoration: underline; }
.btn:disabled,
.modal-btn:disabled {
    opacity: .68;
    cursor: not-allowed;
}
.loading-button {
    justify-content: center;
    white-space: nowrap;
}
.loading-button-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.loading-button-spinner {
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

.table-actions {
    text-align: right;
}

/* ========== Alerts ========== */
.alert {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px 16px; border-radius: var(--radius); margin-bottom: 16px;
    font-size: .9rem;
}
.alert-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: #dcfce7; color: #166534; border-left: 4px solid var(--success); }
.alert-error   { background: #fecaca; color: #991b1b; border-left: 4px solid var(--danger); }
.alert-warning { background: #fef3c7; color: #92400e; border-left: 4px solid var(--warning); }
.alert-info    { background: #dbeafe; color: #1e40af; border-left: 4px solid var(--accent); }
.alert strong  { font-weight: 600; }
.exception-details {
    margin: 6px 0 0;
    white-space: pre-wrap;
    word-break: break-word;
    font: 0.78rem/1.45 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

/* ========== Toast Notifications ========== */
.toast-stack {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 360px;
    max-width: calc(100vw - 48px);
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(15, 23, 42, .18), 0 2px 8px rgba(15, 23, 42, .1);
    border: 1px solid transparent;
    font-size: .9rem;
    line-height: 1.45;
    pointer-events: all;
    animation: toast-in .28s cubic-bezier(.34, 1.56, .64, 1) both;
}

@keyframes toast-in {
    from { opacity: 0; transform: translateX(32px) scale(.95); }
    to   { opacity: 1; transform: translateX(0)    scale(1); }
}

.toast-icon {
    flex: 0 0 auto;
    margin-top: 1px;
    display: flex;
}

.toast-message {
    flex: 1;
    min-width: 0;
    font-weight: 500;
}

.toast-close {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    border-radius: 4px;
    opacity: .55;
    transition: opacity .15s, background .15s;
    color: inherit;
    margin-top: 1px;
}

.toast-close:hover { opacity: 1; background: rgba(0, 0, 0, .08); }

.toast-success {
    background: #f0fdf4;
    color: #15803d;
    border-color: #bbf7d0;
}

.toast-error {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

.toast-warning {
    background: #fffbeb;
    color: #b45309;
    border-color: #fde68a;
}

.toast-info {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

@media (max-width: 480px) {
    .toast-stack {
        bottom: 16px;
        right: 12px;
        left: 12px;
        width: auto;
    }
}

/* ========== Smart Alerts (Card Style) ========== */
.smart-alert {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border-radius: var(--radius); margin-bottom: 16px;
    font-size: .92rem; box-shadow: var(--shadow-md);
    border: 1px solid transparent;
}
.smart-alert-icon { font-size: 1.2rem; flex-shrink: 0; }
.smart-alert-text { flex: 1; }
.smart-alert-close {
    background: none; border: none; font-size: 1.1rem; cursor: pointer;
    padding: 4px; border-radius: 4px; opacity: .7; transition: opacity .15s;
    color: inherit;
}
.smart-alert-close:hover { opacity: 1; background: rgba(0,0,0,.08); }

.smart-alert-success {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}
.smart-alert-error {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}
.smart-alert-warning {
    background: #fffbeb;
    color: #92400e;
    border-color: #fde68a;
}
.smart-alert-info {
    background: #eff6ff;
    color: #1e40af;
    border-color: #bfdbfe;
}

.section-note {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: .88rem;
    line-height: 1.45;
}

.event-create-panel {
    margin-bottom: 18px;
}

.compact-form {
    margin-bottom: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-grid label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--text-muted);
    font-size: .82rem;
    font-weight: 700;
}

.form-grid-wide {
    grid-column: 1 / -1;
}

/* ========== Collapsible Cards ========== */
.collapsible-card {
    margin-bottom: 18px;
}
.collapsible-header {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    transition: background .15s;
}
.collapsible-header:hover {
    background: rgba(0,0,0,.02);
}
.collapsible-toggle {
    font-size: .85rem;
    color: var(--text-muted);
    transition: transform .2s ease;
    display: inline-block;
}
.collapsible-toggle.open {
    transform: rotate(180deg);
}
.collapsible-body {
    padding: 0 20px 20px;
    animation: slideDown .2s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== Input Hints ========== */
.input-hint {
    display: block;
    color: var(--text-muted);
    font-size: .75rem;
    font-weight: 500;
    margin-top: 4px;
}

.field-input {
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    color: var(--text);
    padding: 9px 11px;
}

textarea.field-input {
    resize: vertical;
}

.checkbox-field {
    align-items: center;
    flex-direction: row !important;
    gap: 10px !important;
    color: var(--text) !important;
}

.checkbox-field input {
    width: 17px;
    height: 17px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.stat-card {
    background: var(--surface);
    border: 1px solid rgba(219, 227, 239, .9);
    border-left: 4px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.stat-card span {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
}

.stat-card small {
    color: var(--text-muted);
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.stat-card.total { border-left-color: var(--primary); }
.stat-card.open { border-left-color: var(--accent); }
.stat-card.awaiting { border-left-color: var(--warning); }
.stat-card.success { border-left-color: var(--success); }
.stat-card.warning { border-left-color: var(--warning); }
.stat-card.accent { border-left-color: var(--chart-blue-3); }

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, .8fr);
    gap: 18px;
}

.table-container {
    width: 100%;
    overflow-x: auto;
}

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

th {
    padding: 12px 14px;
    text-align: left;
    background: #f8fafc;
    color: var(--text-muted);
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-bottom: 1px solid var(--border);
}

td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

td small {
    display: block;
    color: var(--text-muted);
    margin-top: 2px;
}

tbody tr:hover {
    background: #f8fafc;
}

.queue-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.queue-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fbfdff;
}

.queue-item small {
    display: block;
    color: var(--text-muted);
    margin-top: 3px;
}

.setup-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 18px;
    margin-bottom: 18px;
}

.setup-list-item {
    align-items: flex-start;
}

.setup-summary-list {
    margin-top: 14px;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.package-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fbfdff;
    padding: 15px;
}

.package-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.package-card h3 {
    margin: 0;
    font-size: 1rem;
}

.package-card p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: .86rem;
}

.entitlement-block {
    display: grid;
    gap: 8px;
    margin-top: 13px;
}

.entitlement-block strong {
    font-size: .78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    border-radius: 999px;
    background: #eef6ff;
    color: #0f4f7f;
    padding: 5px 9px;
    font-size: .76rem;
    font-weight: 700;
}

.member-events-grid {
    align-items: start;
}

.member-code-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(10, 107, 89, .18);
    border-radius: var(--radius);
    background: linear-gradient(135deg, #ffffff 0%, #eef8f4 100%);
    box-shadow: var(--shadow);
}

.member-code-banner div {
    display: grid;
    gap: 2px;
}

.member-code-banner span {
    color: var(--text-muted);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.member-code-banner strong {
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.member-code-banner p {
    max-width: 520px;
    color: var(--text-muted);
    font-size: .9rem;
    margin: 0;
}

.registration-event-list,
.registration-list {
    display: grid;
    gap: 14px;
}

.registration-event-card,
.registration-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fbfdff;
    padding: 15px;
}

.registration-event-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.registration-event-header h3 {
    margin: 0;
    font-size: 1rem;
}

.registration-event-header p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: .86rem;
}

.package-grid.compact {
    grid-template-columns: 1fr;
    margin-top: 14px;
}

.package-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
}

.package-option small,
.detail-grid span {
    color: var(--text-muted);
}

.inline-info {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius);
    background: #eff6ff;
    color: #1e3a8a;
    font-size: .88rem;
}

.inline-info.warning {
    border-color: #fed7aa;
    background: #fff7ed;
    color: #9a3412;
}

.status-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.detail-grid span {
    display: grid;
    gap: 3px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    font-size: .84rem;
}

.detail-grid strong {
    color: var(--text);
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.booking-flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    margin-top: 16px;
    align-items: start;
}

.booking-main {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.cart-stepper {
    display: flex;
    align-items: flex-start;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    gap: 0;
}

.cart-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    min-width: 64px;
}

.cart-step-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(30, 58, 95, .25);
}

.cart-step-label {
    font-size: .68rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .06em;
    white-space: nowrap;
}

.cart-step-connector {
    flex: 1;
    height: 2px;
    background: var(--border);
    align-self: flex-start;
    margin-top: 14px;
}

.booking-section-header > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    flex: 0 0 auto;
    box-shadow: 0 2px 8px rgba(30, 58, 95, .2);
}

.booking-section {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
}

.booking-section-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.booking-section-header h4,
.booking-summary h4 {
    margin: 0;
    color: var(--text);
    font-size: .98rem;
}

.booking-section-header p,
.booking-summary p {
    margin: 3px 0 0;
    color: var(--text-muted);
    font-size: .84rem;
}

.booking-addons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.booking-product-grid,
.booking-addon-grid {
    display: grid;
    gap: 10px;
}

.booking-product-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 18px 18px 18px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: #fafcff;
    cursor: pointer;
    transition: border-color .18s, box-shadow .18s, background .18s;
    overflow: hidden;
}

.booking-product-card:hover {
    border-color: rgba(30, 58, 95, .3);
    box-shadow: 0 4px 16px rgba(30, 58, 95, .08);
}

.booking-product-card.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, #f0f6ff 0%, #ffffff 100%);
    box-shadow: 0 4px 20px rgba(30, 58, 95, .15);
}

.pkg-featured-banner {
    position: absolute;
    top: 0;
    right: 0;
    padding: 4px 12px;
    background: #eef2f7;
    color: var(--text-muted);
    font-size: .66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    border-bottom-left-radius: var(--radius);
}

.booking-product-select {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 2px solid rgba(30, 58, 95, .25);
    border-radius: 50%;
    background: #fff;
    color: transparent;
    flex: 0 0 auto;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
}

.booking-product-select.checked {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 2px 10px rgba(30, 58, 95, .3);
}

.booking-product-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.booking-product-copy p {
    margin: 0;
    color: var(--text-muted);
    font-size: .84rem;
    line-height: 1.45;
}

.pkg-currency-tag {
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(30, 58, 95, .08);
    color: var(--primary);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.booking-product-price {
    display: grid;
    justify-items: end;
    gap: 4px;
    min-width: 120px;
    padding-left: 14px;
    border-left: 1px solid var(--border);
}

.booking-product-price small {
    color: var(--text-muted);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.booking-product-price strong {
    color: var(--primary-dark);
    font-size: 1.1rem;
    font-weight: 800;
}

.booking-subhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.booking-subhead strong {
    color: var(--text);
    font-size: .88rem;
}

.booking-subhead span {
    color: var(--text-muted);
    font-size: .8rem;
}

.booking-addon {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 62px;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: #fafcff;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: border-color .15s, background .15s;
}

.booking-addon:hover {
    border-color: rgba(30, 58, 95, .25);
}

.booking-addon:disabled {
    cursor: not-allowed;
    opacity: .72;
}

.booking-addon.selected {
    border-color: rgba(14, 165, 233, .5);
    background: #f0faff;
}

.addon-check {
    position: relative;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(30, 58, 95, .22);
    border-radius: 5px;
    background: #fff;
    transition: border-color .15s, background .15s;
}

.addon-check.checked {
    background: var(--accent, #0ea5e9);
    border-color: var(--accent, #0ea5e9);
}

.addon-check input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    margin: 0;
}

.addon-check svg {
    color: #fff;
    pointer-events: none;
}

.booking-addon span {
    display: grid;
    gap: 2px;
}

.booking-addon span strong {
    font-size: .88rem;
    color: var(--text);
}

.booking-addon span small {
    color: var(--text-muted);
    font-size: .78rem;
}

.addon-capacity {
    display: inline-block;
    margin-top: 3px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(16, 185, 129, .1);
    color: #047857;
    font-size: .7rem;
    font-weight: 700;
}

.addon-capacity.low {
    background: rgba(245, 158, 11, .12);
    color: #b45309;
}

.addon-schedule {
    display: inline-flex;
    width: fit-content;
    margin-top: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(30, 58, 95, .08);
    color: var(--primary-dark);
    font-size: .72rem;
    font-weight: 700;
}

.booking-addon em {
    color: var(--primary-dark);
    font-style: normal;
    font-size: .9rem;
    font-weight: 800;
    white-space: nowrap;
}

.addon-terms-panel {
    display: grid;
    gap: 14px;
}

.addon-terms-summary {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f8fafc;
}

.addon-terms-summary span {
    color: var(--text-muted);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.addon-terms-summary strong {
    color: var(--text);
    font-size: .96rem;
}

.addon-terms-copy {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-left: 4px solid var(--accent, #0ea5e9);
    background: #f0faff;
}

.addon-terms-copy strong {
    color: var(--text);
}

.addon-terms-copy p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.55;
}

.addon-terms-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
}

.addon-terms-check input {
    margin-top: 4px;
}

.hotel-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
}

.hotel-image-preview {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
}

.hotel-image-preview img,
.setup-list-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.setup-list-thumb {
    width: 84px;
    height: 64px;
    border-radius: 8px;
    border: 1px solid var(--border);
    flex: 0 0 auto;
}

.hotel-choice-card {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 300px;
    padding: 0;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    color: inherit;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .16s, box-shadow .16s, background .16s, transform .16s;
}

.hotel-choice-card:hover {
    border-color: rgba(30, 58, 95, .3);
    box-shadow: 0 8px 24px rgba(30, 58, 95, .1);
    transform: translateY(-1px);
}

.hotel-choice-card.selected {
    border-color: var(--primary);
    background: #f7fbff;
    box-shadow: 0 8px 24px rgba(30, 58, 95, .14);
}

.hotel-choice-card.unavailable {
    opacity: .58;
    cursor: not-allowed;
}

.hotel-choice-card:disabled {
    cursor: not-allowed;
}

.hotel-choice-card.no-stay {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: none;
    align-items: center;
    min-height: 104px;
    padding: 16px;
    background: #fafcff;
}

.hotel-choice-card.no-stay:hover {
    transform: none;
}

.hotel-tabbed-selector {
    grid-template-columns: 1fr;
}

.grouped-hotel-grid .hotel-choice-card.no-stay {
    grid-column: 1 / -1;
}

.hotel-tabs-shell {
    display: grid;
    gap: 8px;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    position: relative;
}

.hotel-tabs-shell.is-scrollable::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 76%);
    bottom: 10px;
    content: "";
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 38px;
    width: 42px;
}

.hotel-scroll-cue {
    align-items: center;
    animation: hotelScrollCuePulse 2.2s ease-in-out infinite;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    display: inline-flex;
    font-size: .74rem;
    font-weight: 700;
    gap: 8px;
    justify-self: end;
    padding: 5px 9px;
}

.hotel-scroll-cue span {
    background: #fff;
    border: 1px solid rgba(10, 107, 89, .22);
    border-radius: 999px;
    display: inline-block;
    height: 16px;
    overflow: hidden;
    position: relative;
    width: 34px;
}

.hotel-scroll-cue span::after {
    animation: hotelScrollCueSlide 1.25s ease-in-out infinite;
    background: var(--primary);
    border-radius: 999px;
    content: "";
    height: 8px;
    left: 6px;
    position: absolute;
    top: 3px;
    width: 8px;
}

.hotel-tabs {
    display: flex;
    gap: 10px;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    padding: 2px 48px 12px 2px;
    scroll-padding-inline: 2px 48px;
    scroll-snap-type: x proximity;
    scrollbar-color: var(--primary) #e2e8f0;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.hotel-tabs::-webkit-scrollbar {
    height: 10px;
}

.hotel-tabs::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 999px;
}

.hotel-tabs::-webkit-scrollbar-thumb {
    background: var(--primary);
    border: 2px solid #e2e8f0;
    border-radius: 999px;
}

.hotel-tab {
    display: grid;
    flex: 0 0 clamp(210px, 26vw, 260px);
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 74px;
    padding: 8px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    color: inherit;
    cursor: pointer;
    scroll-snap-align: start;
    text-align: left;
    transition: border-color .16s, background .16s, box-shadow .16s;
}

.hotel-tab:hover {
    border-color: rgba(10, 107, 89, .32);
    box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
}

.hotel-tab.active {
    border-color: var(--primary);
    background: #eef8f4;
    box-shadow: inset 0 -3px 0 var(--primary);
}

.hotel-tab.has-selection:not(.active) {
    border-color: rgba(10, 107, 89, .35);
    box-shadow: inset 3px 0 0 var(--primary);
}

.hotel-tab:disabled {
    cursor: not-allowed;
    opacity: .7;
}

.hotel-tab img {
    width: 64px;
    height: 52px;
    border-radius: 6px;
    object-fit: cover;
}

.hotel-tab span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.hotel-tab strong {
    color: var(--text);
    font-size: .9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hotel-tab small {
    color: var(--text-muted);
    font-size: .73rem;
}

.hotel-tab em {
    align-self: start;
    background: #e5f6ef;
    border-radius: 999px;
    color: var(--primary);
    font-size: .68rem;
    font-style: normal;
    font-weight: 800;
    justify-self: start;
    padding: 2px 7px;
}

.hotel-group-card {
    cursor: default;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    min-height: auto;
}

.tabbed-hotel-panel {
    align-items: stretch;
}

.hotel-group-card:hover {
    transform: none;
}

@keyframes hotelScrollCueSlide {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(14px);
    }
}

@keyframes hotelScrollCuePulse {
    0%, 100% {
        opacity: .72;
    }

    50% {
        opacity: 1;
    }
}

.hotel-group-card.selected {
    border-color: rgba(10, 107, 89, .45);
}

.hotel-group-card > .hotel-choice-image {
    grid-row: 1 / 3;
    height: 100%;
    min-height: 240px;
    aspect-ratio: auto;
}

.hotel-group-card > .hotel-choice-body {
    padding: 16px 16px 8px;
}

.hotel-rate-list {
    display: grid;
    gap: 8px;
    padding: 0 16px 16px;
}

.hotel-rate-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #f8fafc;
    color: inherit;
    cursor: pointer;
    text-align: left;
    transition: border-color .16s, background .16s, box-shadow .16s;
}

.hotel-rate-option:hover {
    border-color: rgba(10, 107, 89, .35);
    background: #fff;
}

.hotel-rate-option.selected {
    border-color: var(--primary);
    background: #eef8f4;
    box-shadow: inset 3px 0 0 var(--primary);
}

.hotel-rate-option.unavailable {
    cursor: not-allowed;
    opacity: .58;
}

.hotel-rate-option span {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.hotel-rate-option strong {
    color: var(--text);
    font-size: .86rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hotel-rate-option small {
    color: var(--text-muted);
    font-size: .73rem;
}

.hotel-rate-option em {
    color: var(--primary-dark);
    display: grid;
    font-size: .9rem;
    font-style: normal;
    font-weight: 900;
    justify-items: end;
    white-space: nowrap;
}

.hotel-rate-option em small {
    font-size: .68rem;
    font-weight: 700;
}

.hotel-choice-check {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 2px solid rgba(30, 58, 95, .22);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: transparent;
}

.hotel-choice-card.selected .hotel-choice-check {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.hotel-choice-card.no-stay .hotel-choice-check {
    position: static;
    margin-right: 12px;
    flex: 0 0 auto;
}

.hotel-choice-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #eef4f8;
}

.hotel-choice-body {
    display: grid;
    align-content: start;
    gap: 10px;
    min-width: 0;
    padding: 14px;
}

.hotel-choice-card.no-stay .hotel-choice-body {
    padding: 0;
    gap: 3px;
}

.hotel-choice-body strong {
    color: var(--text);
    font-size: .95rem;
}

.hotel-choice-body small {
    color: var(--text-muted);
    font-size: .78rem;
}

.hotel-choice-title {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.hotel-choice-title strong,
.hotel-choice-title small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hotel-choice-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hotel-choice-meta span {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(30, 58, 95, .07);
    color: var(--primary);
    font-size: .72rem;
    font-weight: 700;
}

.hotel-choice-meta .hotel-low-stock {
    background: rgba(245, 158, 11, .14);
    color: #9a3412;
}

.hotel-choice-price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(226, 232, 240, .8);
}

.hotel-choice-price strong {
    color: var(--primary-dark);
    font-size: 1rem;
    white-space: nowrap;
}

.hotel-choice-price small {
    white-space: nowrap;
}

.booking-package-grid {
    display: grid;
    gap: 10px;
}

.booking-package-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fbfdff;
}

.booking-package-option.featured {
    border-color: rgba(216, 174, 94, .7);
    background: #fffaf0;
}

.booking-package-option.selected {
    border-color: rgba(10, 107, 89, .48);
    background: #f2faf6;
    box-shadow: 0 10px 28px rgba(10, 107, 89, .1);
}

.booking-package-radio {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.booking-package-radio input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.booking-package-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.booking-package-heading strong {
    font-size: .96rem;
}

.booking-package-heading span:not(.pkg-currency-tag) {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(216, 174, 94, .22);
    color: #7c4a03;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.booking-package-option p {
    margin: 5px 0 10px;
    color: var(--text-muted);
    font-size: .84rem;
}

.booking-package-option dl {
    display: grid;
    gap: 7px;
    margin: 0;
}

.booking-package-option dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.booking-package-option dt {
    color: var(--text-muted);
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.booking-package-option dd {
    margin: 2px 0 0;
    color: var(--text);
    font-size: .84rem;
    font-weight: 700;
}

.booking-package-action {
    display: grid;
    justify-items: end;
    gap: 6px;
    min-width: 140px;
}

.booking-package-action small {
    color: var(--text-muted);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.booking-package-action > span {
    color: var(--primary-dark);
    font-size: 1.05rem;
    font-weight: 900;
}

.booking-summary {
    position: sticky;
    top: calc(var(--topbar-height) + 16px);
    align-self: start;
    display: grid;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 8px 32px rgba(15, 23, 42, .1);
    overflow: hidden;
}

.order-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--primary);
}

.booking-summary-label {
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .85);
}

.order-item-count {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .2);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
}

.order-event-info {
    display: grid;
    gap: 3px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
}

.order-event-info strong {
    color: var(--text);
    font-size: .93rem;
}

.order-event-info small {
    color: var(--text-muted);
    font-size: .78rem;
}

.booking-summary h4 {
    margin: 0;
    color: var(--text);
    font-size: .93rem;
}

.booking-summary p {
    margin: 3px 0 0;
    color: var(--text-muted);
    font-size: .82rem;
}

.cart-lines {
    display: grid;
    gap: 0;
    padding: 0 18px;
}

.cart-line {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(226, 232, 240, .6);
    font-size: .86rem;
}

.cart-line:last-child {
    border-bottom: none;
}

.cart-line-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(30, 58, 95, .07);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.cart-line-icon.addon-icon {
    background: rgba(14, 165, 233, .08);
    color: var(--accent, #0ea5e9);
}

.cart-line-icon.hotel-icon {
    background: rgba(124, 58, 237, .08);
    color: #7c3aed;
}

.cart-line-info {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.cart-line-info span {
    font-size: .86rem;
    color: var(--text);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-line-info small {
    font-size: .72rem;
    color: var(--text-muted);
}

.cart-line > strong {
    color: var(--primary-dark);
    font-size: .88rem;
    font-weight: 700;
    white-space: nowrap;
}

.cart-subtotals {
    display: grid;
    gap: 5px;
    padding: 10px 18px;
    background: #f8fafc;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cart-subtotal-line {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: .79rem;
    color: var(--text-muted);
}

@keyframes total-flash {
    0% { letter-spacing: .02em; opacity: .7; }
    60% { opacity: 1; }
    100% { letter-spacing: normal; opacity: 1; }
}

.booking-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
}

.booking-summary-total span {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    opacity: .85;
}

.booking-summary-total strong {
    font-size: 1.28rem;
    font-weight: 900;
    animation: total-flash .45s ease-out;
}

.order-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 18px;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.order-empty-state p {
    margin: 0;
    font-size: .86rem;
}

.order-delegate-info {
    display: grid;
    gap: 6px;
    padding: 14px 18px;
    margin: 0;
    border-top: 1px solid var(--border);
}

.order-delegate-info > div {
    display: flex;
    gap: 6px;
    align-items: baseline;
}

.order-delegate-info dt {
    color: var(--text-muted);
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
    flex: 0 0 auto;
}

.order-delegate-info dd {
    margin: 0;
    color: var(--text);
    font-size: .84rem;
    font-weight: 700;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-cta-wrap {
    display: grid;
    gap: 10px;
    padding: 14px 18px;
}

.order-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    font-size: .96rem;
    font-weight: 800;
}

.order-trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: .73rem;
}

.cart-line.muted {
    color: var(--text-muted);
}

.sticky-order-summary {
    border-color: #cbd5e1;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .12);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - var(--topbar-height) - 32px);
    overflow: hidden;
}

.sticky-order-summary .order-summary-header {
    padding: 18px 18px 12px;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.sticky-order-summary .booking-summary-label {
    color: var(--text);
    font-size: 1.05rem;
    letter-spacing: 0;
    text-transform: none;
}

.sticky-order-summary .order-item-count {
    background: #eef2ff;
    color: #334155;
}

.sticky-order-summary .order-event-info {
    background: #f8fafc;
}

.cart-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 12px 14px;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.cart-tab {
    display: grid;
    min-width: 0;
    gap: 2px;
    padding: 9px 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f8fafc;
    color: var(--text-muted);
    cursor: pointer;
    text-align: left;
}

.cart-tab span {
    color: inherit;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1.1;
}

.cart-tab small {
    color: inherit;
    font-size: .68rem;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-tab.active {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

.cart-tab.attention:not(.active) {
    border-color: rgba(245, 158, 11, .45);
    background: #fffbeb;
    color: #92400e;
}

.cart-tab-panel {
    flex: 1;
    min-height: 180px;
    max-height: min(38vh, 310px);
    overflow: auto;
    overscroll-behavior: contain;
}

.cart-details-panel {
    display: grid;
    gap: 12px;
    padding: 14px 18px;
}

.cart-details-panel .order-delegate-info {
    padding: 0;
    border-top: 0;
}

.sticky-order-summary .cart-details-panel .checkout-hints {
    margin: 0;
}

.cart-ready-note {
    display: grid;
    gap: 3px;
    padding: 12px 14px;
    border: 1px solid color-mix(in srgb, #16a34a 22%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, #16a34a 8%, transparent);
}

.cart-ready-note strong {
    color: #166534;
    font-size: .84rem;
}

.cart-ready-note span {
    color: var(--text-muted);
    font-size: .78rem;
    line-height: 1.35;
}

.hp-cart-lines {
    gap: 10px;
    padding: 14px 18px;
}

.hp-cart-line {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
}

.hp-cart-line + .hp-cart-line,
.hp-cart-line:last-child {
    border-bottom: 1px solid var(--border);
}

.hp-cart-line.muted {
    background: #f8fafc;
    border-style: dashed;
}

.hp-cart-thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
}

.hp-cart-line-copy {
    gap: 4px;
}

.hp-cart-line-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.hp-cart-line-title span {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.3;
}

.hp-cart-line-title a,
.cart-line-action {
    border: 0;
    background: none;
    color: var(--primary);
    cursor: pointer;
    font-size: .76rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

.cart-line-action:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.hp-cart-line > strong {
    padding-top: 2px;
    color: var(--text);
    font-size: .88rem;
}

.sticky-order-summary .cart-subtotals {
    gap: 8px;
    padding: 14px 18px;
    background: #fff;
}

.sticky-order-summary .cart-subtotal-line {
    color: var(--text);
    font-size: .86rem;
}

.sticky-order-summary .cart-subtotal-line span:last-child {
    font-weight: 800;
}

.sticky-order-summary .booking-summary-total {
    align-items: flex-start;
    padding: 18px;
    background: #0f172a;
}

.sticky-order-summary .booking-summary-total span {
    letter-spacing: 0;
    text-transform: none;
}

.sticky-order-summary .booking-summary-total strong {
    text-align: right;
}

.sticky-order-summary .order-delegate-info {
    background: #fff;
}

.sticky-order-summary .checkout-hints {
    margin: 0 18px 14px;
}

.sticky-order-summary .order-cta-wrap {
    padding-top: 16px;
    border-top: 1px solid var(--border);
    background: #fff;
}

.sticky-order-summary .order-checkout-btn {
    min-height: 48px;
}

.pop-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.pop-upload-grid label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--text-muted);
    font-size: .82rem;
    font-weight: 700;
}

.finance-review-grid {
    display: grid;
    min-width: 260px;
    gap: 8px;
}

.ocr-summary {
    display: grid;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f8fafc;
    font-size: .78rem;
}

.ocr-summary-main {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.ocr-summary-main span:last-child {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.ocr-summary-main strong {
    color: var(--text);
    font-size: .78rem;
    line-height: 1.2;
}

.ocr-summary-main small {
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

.ocr-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex: 0 0 9px;
    background: #94a3b8;
}

.ocr-summary-low {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.ocr-summary-low .ocr-status-dot {
    background: #16a34a;
}

.ocr-summary-medium {
    background: #fffbeb;
    border-color: #fde68a;
}

.ocr-summary-medium .ocr-status-dot {
    background: #d97706;
}

.ocr-summary-high {
    background: #fef2f2;
    border-color: #fecaca;
}

.ocr-summary-high .ocr-status-dot {
    background: #dc2626;
}

.ocr-summary-muted {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
}

.ocr-similar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    padding-top: 6px;
    border-top: 1px solid rgba(15, 23, 42, .08);
}

.ocr-similar-row span {
    min-width: 0;
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

.ocr-similar-row strong {
    color: var(--text);
}

.ocr-summary-details summary {
    cursor: pointer;
    color: var(--primary);
    font-weight: 700;
    width: fit-content;
}

.ocr-summary-details dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 8px 0;
}

.ocr-summary-details div {
    min-width: 0;
}

.ocr-summary-details .ocr-detail-wide {
    grid-column: 1 / -1;
}

.ocr-summary-details dt {
    color: var(--text-muted);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.ocr-summary-details dd {
    margin: 2px 0 0;
    color: var(--text);
    overflow-wrap: anywhere;
}

.ocr-summary-details p {
    margin: 8px 0 0;
    color: var(--text);
    line-height: 1.35;
}

.ocr-summary-details pre {
    max-height: 120px;
    margin: 8px 0 0;
    padding: 8px;
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    color: var(--text-muted);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-family: inherit;
    font-size: .72rem;
}

.compare-summary-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.compare-summary-strip span {
    display: grid;
    gap: 3px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

.compare-summary-strip strong {
    color: var(--text);
    font-size: .78rem;
    text-transform: uppercase;
}

.proof-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.proof-compare-pane {
    display: grid;
    grid-template-rows: auto auto minmax(420px, 68vh) auto;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}

.proof-compare-pane header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid var(--border);
}

.proof-compare-pane header span {
    color: var(--text-muted);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.proof-compare-pane h2 {
    margin: 2px 0 0;
    color: var(--text);
    font-size: .95rem;
    overflow-wrap: anywhere;
}

.proof-compare-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    border-bottom: 1px solid var(--border);
    background: #f8fafc;
}

.proof-compare-meta span {
    display: grid;
    gap: 2px;
    color: var(--text);
    font-size: .78rem;
    overflow-wrap: anywhere;
}

.proof-compare-meta strong {
    color: var(--text-muted);
    font-size: .68rem;
    text-transform: uppercase;
}

.proof-compare-preview {
    display: grid;
    place-items: center;
    min-height: 420px;
    overflow: auto;
    background: #111827;
}

.proof-compare-preview img {
    max-width: 100%;
    height: auto;
}

.proof-compare-preview iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    background: #fff;
}

.proof-compare-ocr {
    padding: 10px 12px;
    border-top: 1px solid var(--border);
}

.proof-compare-ocr summary {
    cursor: pointer;
    color: var(--primary);
    font-weight: 800;
}

.proof-compare-ocr p {
    margin: 8px 0 0;
    color: var(--text);
    line-height: 1.35;
}

.proof-compare-ocr pre {
    max-height: 140px;
    margin: 8px 0 0;
    padding: 8px;
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #f8fafc;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-family: inherit;
    font-size: .75rem;
}

@media (max-width: 1100px) {
    .compare-summary-strip,
    .proof-compare-grid {
        grid-template-columns: 1fr;
    }
}

.text-link,
button.text-link,
button.doc-viewer-trigger {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.matrix-scroll {
    width: 100%;
    overflow-x: auto;
}

.entitlement-matrix {
    min-width: 860px;
}

.entitlement-matrix th,
.entitlement-matrix td {
    min-width: 150px;
}

.entitlement-matrix th:first-child,
.entitlement-matrix td:first-child {
    min-width: 220px;
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff;
}

.entitlement-matrix th:first-child {
    background: #f8fafc;
}

.entitlement-matrix th small {
    display: block;
    margin-top: 3px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-muted);
    font-size: .7rem;
}

.matrix-control-cell {
    text-align: center;
}

.matrix-control-cell input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.matrix-quantity {
    max-width: 96px;
    min-height: 34px;
    padding: 6px 8px;
}

.badge-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(380px, .7fr);
    gap: 18px;
    align-items: start;
}

.badge-preview-panel {
    position: sticky;
    top: calc(var(--topbar-height) + 20px);
}

.print-surface {
    display: grid;
    place-items: center;
    padding: 18px;
    background: #f8fafc;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
}

.name-tag {
    width: min(100%, 390px);
    aspect-ratio: 3 / 4;
    display: grid;
    grid-template-rows: auto 1fr auto;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.name-tag-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: var(--primary);
    color: #fff;
}

.name-tag-band span {
    font-weight: 800;
    letter-spacing: .04em;
}

.name-tag-band strong {
    font-size: .88rem;
}

.name-tag-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 116px;
    gap: 14px;
    padding: 20px 16px;
    align-items: center;
}

.name-tag-main small {
    display: block;
    color: var(--text-muted);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 8px;
}

.name-tag-main h2 {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1.12;
    color: var(--text);
}

.name-tag-main p {
    margin: 8px 0 12px;
    color: var(--text-muted);
}

.name-tag-main span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    border-radius: 999px;
    background: #eef6ff;
    color: #0f4f7f;
    padding: 6px 10px;
    font-size: .8rem;
    font-weight: 800;
}

.qr-block {
    display: grid;
    place-items: center;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
}

.qr-block svg {
    width: 104px;
    height: 104px;
    display: block;
}

.name-tag-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    background: #f8fafc;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    font-size: .76rem;
    font-weight: 700;
}

.badge-detail-grid {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.badge-detail-grid > div {
    display: grid;
    gap: 8px;
}

.badge-detail-grid strong {
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: .76rem;
    letter-spacing: .04em;
}

.qr-payload {
    display: block;
    max-height: 94px;
    overflow: auto;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #f8fafc;
    color: var(--text);
    white-space: pre-wrap;
    word-break: break-word;
    font-size: .72rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985;
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap;
}

.empty-state {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
}

.empty-state h2 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 1.05rem;
}

.empty-state.compact {
    min-height: 160px;
    border: 1px dashed var(--border);
    background: #fbfdff;
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.role-grid span {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #f8fafc;
    font-weight: 700;
}

.loading-panel {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text-muted);
}

/* ========== Forms (unified) ========== */
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-label { font-size: .85rem; font-weight: 500; color: var(--text-muted); }
.form-control {
    padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius);
    font-size: .9rem; outline: none; transition: border .15s;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,165,233,.15); }
select.form-control { appearance: auto; }
textarea.form-control { resize: vertical; min-height: 80px; font-family: inherit; }

.filters-bar { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin-bottom: 20px; }
.filters-bar .form-group { min-width: 180px; }
.search-input { min-width: 280px; }

/* ========== Pagination ========== */
.pagination { display: flex; gap: 4px; justify-content: center; align-items: center; margin-top: 20px; }
.pagination button { min-width: 36px; height: 36px; border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); cursor: pointer; font-size: .85rem; }
.pagination button:hover:not(:disabled) { background: var(--bg); }
.pagination button:disabled { opacity: .4; cursor: default; }
.pagination .page-info { font-size: .85rem; color: var(--text-muted); padding: 0 8px; }

/* ========== Unified Badges (status) ========== */
.badge {
    display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .3px; white-space: nowrap;
}
.badge-open       { background: #dbeafe; color: #1e40af; }
.badge-inprogress { background: #fef3c7; color: #92400e; }
.badge-awaiting   { background: #e0e7ff; color: #3730a3; }
.badge-resolved   { background: #dcfce7; color: #166534; }
.badge-closed     { background: #f1f5f9; color: #475569; }
.badge-escalated  { background: #fecaca; color: #991b1b; }
.badge-default    { background: rgba(100,116,139,.12); color: #475569; }
.badge-low        { background: #f1f5f9; color: #475569; }
.badge-medium     { background: #dbeafe; color: #1e40af; }
.badge-high       { background: #fef3c7; color: #92400e; }
.badge-critical   { background: #fecaca; color: #991b1b; }

/* ========== Back link ========== */
.back-link { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); text-decoration: none; font-size: .9rem; margin-bottom: 16px; }
.back-link:hover { text-decoration: underline; }

/* ========== Loading & Spinner ========== */
.spinner {
    display: inline-block; width: 24px; height: 24px;
    border: 3px solid var(--border); border-top-color: var(--accent);
    border-radius: 50%; animation: spin .7s linear infinite;
    margin-right: 8px; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 16px; padding: 64px 24px; color: var(--text-muted);
    animation: fadeIn .3s ease;
}
.loading .spinner { width: 36px; height: 36px; border-width: 3.5px; margin: 0; }
.loading-text { font-size: .95rem; font-weight: 500; letter-spacing: .01em; }
.loading-subtext { font-size: .8rem; color: var(--text-muted); opacity: .7; margin-top: -8px; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Skeleton shimmer base */
.skeleton {
    background: linear-gradient(90deg, var(--border) 25%, #e8edf2 37%, var(--border) 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
    border-radius: var(--radius);
}
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.skeleton-cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px; margin-bottom: 24px; animation: fadeIn .3s ease;
}
.skeleton-card {
    background: var(--surface); border-radius: var(--radius); padding: 24px;
    box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.skeleton-card .skeleton-number { width: 60px; height: 36px; }
.skeleton-card .skeleton-label { width: 90px; height: 14px; }

.skeleton-table { animation: fadeIn .3s ease; }
.skeleton-table-header {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 16px;
    padding: 14px 20px; border-bottom: 2px solid var(--border);
}
.skeleton-table-header .skeleton { height: 14px; border-radius: 4px; }
.skeleton-table-row {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 16px;
    padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.skeleton-table-row .skeleton { height: 16px; border-radius: 4px; }
.skeleton-table-row:nth-child(odd) .skeleton { opacity: .85; }

.skeleton-section {
    background: var(--surface); border-radius: var(--radius);
    padding: 24px; box-shadow: var(--shadow); margin-bottom: 24px;
    animation: fadeIn .3s ease;
}

.skeleton-pulse { animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

.loading-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 12px; border-radius: 16px;
    background: rgba(14, 165, 233, .08); color: var(--accent);
    font-size: .8rem; font-weight: 500;
}
.loading-badge .spinner { width: 14px; height: 14px; border-width: 2px; margin: 0; }

/* ========== Modal / Dialog ========== */
.modal-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,.45);
    z-index: 500; display: flex; align-items: center; justify-content: center; padding: 16px;
}
.modal {
    background: var(--surface); border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    width: 100%; max-width: 480px; overflow: hidden;
}
.modal-header {
    padding: 20px 24px; border-bottom: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}
.modal-header h3 { margin: 0; font-size: 1.05rem; font-weight: 600; }
.modal-body   { padding: 20px 24px; }
.modal-footer {
    padding: 16px 24px; border-top: 1px solid var(--border);
    display: flex; justify-content: flex-end; gap: 8px;
}
.modal-close { background: none; border: none; font-size: 1.25rem; cursor: pointer; color: var(--text-muted); line-height: 1; }
.modal-close:hover { color: var(--text); }

/* ========== Toast / Snackbar ========== */
.toast-container {
    position: fixed; bottom: 24px; right: 24px;
    z-index: 9999; display: flex; flex-direction: column; gap: 8px;
}
.toast {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 18px; border-radius: var(--radius);
    box-shadow: var(--shadow-md); font-size: .9rem; font-weight: 500;
    animation: toastIn .25s ease;
    min-width: 260px; max-width: 380px;
}
.toast-success { background: #166534; color: #fff; }
.toast-error   { background: #991b1b; color: #fff; }
.toast-warning { background: #92400e; color: #fff; }
.toast-info    { background: var(--primary); color: #fff; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ========== Utility helpers ========== */
.text-muted    { color: var(--text-muted); }

.accommodation-allocation-block {
    align-items: stretch;
}

.allocation-grid {
    display: grid;
    gap: 10px;
    min-width: min(520px, 100%);
}

.allocation-row {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 260px);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #f8fafc;
}

.room-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.room-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(22, 163, 74, .35);
    background: rgba(22, 163, 74, .08);
    color: #166534;
    font-size: .78rem;
    font-weight: 700;
}

.room-chip.allocated,
.room-chip.inactive {
    border-color: var(--border);
    background: #e2e8f0;
    color: var(--text-muted);
}

@media (max-width: 760px) {
    .allocation-row {
        grid-template-columns: 1fr;
    }
}
.text-success  { color: var(--success); }
.text-danger   { color: var(--danger); }
.text-warning  { color: var(--warning); }
.text-accent   { color: var(--accent); }
.font-bold     { font-weight: 700; }
.font-semibold { font-weight: 600; }

.motion-control-item {
    align-items: stretch;
}

.motion-control-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(90px, 1fr));
    gap: 8px;
    min-width: min(100%, 520px);
}

.live-agm-current {
    padding: 20px;
    display: grid;
    gap: 12px;
}

.live-agm-current h2 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--primary);
}

.motion-live-list {
    display: grid;
    gap: 12px;
    padding: 0 20px 20px;
}
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.w-full { width: 100%; }
.flex-1 { flex: 1; }
.pre-wrap { white-space: pre-wrap; }

#blazor-error-ui {
    background: #fff3cd;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, .2);
    display: none;
    left: 0;
    padding: .6rem 1.25rem .7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: .75rem;
    top: .5rem;
}

/* ========== Document Viewer ========== */
.doc-viewer-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn .15s ease;
}
.doc-viewer-modal {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
    display: flex;
    flex-direction: column;
    width: 90vw;
    max-width: 1000px;
    height: 85vh;
    max-height: 85vh;
    overflow: hidden;
}
.doc-viewer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    gap: 12px;
    flex-shrink: 0;
}
.doc-viewer-header strong {
    font-size: .95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.doc-viewer-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.doc-viewer-body {
    flex: 1;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary, #f5f7fa);
    padding: 16px;
}
.doc-viewer-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}
.doc-viewer-frame {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 4px;
    background: #fff;
}
.doc-viewer-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}
.doc-viewer-unsupported {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
}
/* Document viewer trigger button (looks like a link) */
.doc-viewer-trigger {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
}
.doc-viewer-trigger:hover {
    color: var(--primary-light);
}

@media (max-width: 768px) {
    .doc-viewer-overlay { padding: 8px; }
    .doc-viewer-modal { width: 100%; height: 92vh; max-height: 92vh; border-radius: 8px; }
}

.mobile-only { display: none; }

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .topbar { padding: 0 14px; }
    .topbar-user-info { display: none; }
    .topbar-title { font-size: .95rem; }
    .topbar-right { gap: 8px; }

    .sidebar.collapsed { transform: translateX(calc(-1 * var(--sidebar-width))); width: var(--sidebar-width); }
    .sidebar.expanded { transform: translateX(0); width: var(--sidebar-width); }
    .sidebar-overlay.mobile-only { display: block; }

    .main-content.sidebar-is-expanded,
    .main-content.sidebar-is-collapsed { margin-left: 0; }

    .content-area { padding: 16px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .filters-bar { flex-direction: column; }
    .filters-bar .form-group { min-width: 100%; }

    .content-grid,
    .setup-grid,
    .badge-workspace,
    .account-onboarding,
    .booking-flow,
    .detail-grid,
    .pop-upload-grid,
    .public-grid {
        grid-template-columns: 1fr;
    }

    .account-shell-premium {
        padding: 14px;
        place-items: start center;
    }

    .account-onboarding {
        min-height: auto;
    }

    .account-story-panel {
        align-content: start;
        min-height: auto;
        padding: 22px;
    }

    .account-story-copy h1 {
        font-size: 2rem;
    }

    .account-form-panel {
        overflow: visible;
        padding: 22px;
    }

    .account-form-actions {
        justify-content: stretch;
    }

    .account-form-actions .btn {
        width: 100%;
    }

    .booking-summary {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .cart-tab-panel {
        max-height: none;
    }

    .cart-stepper {
        overflow-x: auto;
    }

    .booking-product-card,
    .booking-addon,
    .hp-cart-line,
    .hotel-rate-option,
    .booking-package-option,
    .booking-package-option dl {
        grid-template-columns: 1fr;
    }

    .hp-cart-line {
        align-items: stretch;
    }

    .hp-cart-thumb {
        width: 42px;
        height: 42px;
    }

    .hp-cart-line > strong {
        padding-top: 0;
    }

    .hotel-card-grid {
        grid-template-columns: 1fr;
    }

    .hotel-tabs,
    .hotel-tab,
    .hotel-group-card {
        grid-template-columns: 1fr;
    }

    .hotel-tab {
        flex-basis: min(260px, 86vw);
        min-height: auto;
    }

    .hotel-tab img {
        width: 100%;
        height: 120px;
    }

    .hotel-choice-card {
        min-height: auto;
    }

    .hotel-group-card > .hotel-choice-image {
        grid-row: auto;
        min-height: 160px;
        aspect-ratio: 16 / 9;
    }

    .hotel-rate-option em {
        justify-items: start;
    }

    .booking-product-select {
        justify-self: start;
    }

    .booking-product-price {
        justify-self: stretch;
        justify-items: start;
        text-align: left;
        min-width: auto;
        border-left: none;
        border-top: 1px solid var(--border);
        padding-left: 0;
        padding-top: 10px;
    }

    .booking-addon em {
        white-space: normal;
    }

    .booking-package-action {
        justify-items: stretch;
    }

    .booking-package-action .btn {
        width: 100%;
    }

    .member-code-banner {
        align-items: flex-start;
        flex-direction: column;
    }

    .badge-preview-panel {
        position: static;
    }

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

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

@media (prefers-reduced-motion: reduce) {
    .hotel-scroll-cue,
    .hotel-scroll-cue span::after {
        animation: none;
    }
}

@media (max-width: 640px) {
    .content-area { padding: 12px; }
    .topbar { padding: 0 12px; }
    .topbar-title { display: none; }

    .public-hero-content {
        margin-top: 10vh;
    }

    .hero-actions {
        flex-direction: column;
    }
}

@media print {
    body {
        background: #fff;
    }

    .no-print,
    .topbar,
    .sidebar,
    .sidebar-overlay,
    #blazor-error-ui {
        display: none !important;
    }

    .main-content,
    .main-content.sidebar-is-expanded,
    .main-content.sidebar-is-collapsed {
        margin: 0 !important;
        padding: 0 !important;
    }

    .content-area {
        max-width: none;
        padding: 0;
    }

    .badge-workspace,
    .badge-preview-panel,
    .print-surface {
        display: block;
        padding: 0;
        border: 0;
        box-shadow: none;
        background: #fff;
    }

    .card {
        border: 0;
        box-shadow: none;
        padding: 0;
    }

    .name-tag {
        width: 96mm;
        height: 128mm;
        margin: 8mm auto;
        box-shadow: none;
        break-inside: avoid;
    }
}

/* ========== Responsive Modal with Corporate Animation ========== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(7, 44, 147, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.3s ease;
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: 0 25px 50px -12px rgba(7, 44, 147, 0.25),
                0 0 0 1px rgba(7, 44, 147, 0.1);
    width: 100%;
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.96) translateY(12px);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-container.visible {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Corporate entrance animation */
@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.96) translateY(-8px);
    }
    60% {
        transform: scale(1.01) translateY(2px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-container.visible {
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Modal sizes */
.modal-small { max-width: 400px; }
.modal-medium { max-width: 560px; }
.modal-large { max-width: 720px; }
.modal-xlarge { max-width: 960px; }
.modal-fullscreen {
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 40px);
}

/* Modal header */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
}

.modal-title-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-icon {
    font-size: 1.5rem;
    opacity: 0.9;
}

.modal-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.modal-subtitle {
    font-size: 0.85rem;
    opacity: 0.85;
    margin: 2px 0 0;
    color: rgba(255,255,255,0.9);
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.15s ease;
}

.modal-close:hover {
    background: rgba(255,255,255,0.25);
    transform: rotate(90deg);
}

/* Modal body */
.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

/* Modal footer */
.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    background: #f8fafc;
}

/* Modal action buttons */
.modal-btn {
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.modal-btn-primary {
    background: var(--primary);
    color: #fff;
}

.modal-btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(7, 44, 147, 0.3);
}

.modal-btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.modal-btn-outline:hover {
    background: var(--bg);
    border-color: var(--text-muted);
}

/* Mobile responsive */
@media (max-width: 640px) {
    .modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .modal-container {
        max-height: calc(100vh - 20px);
        border-radius: 16px 16px 0 0;
        transform: translateY(100%);
    }

    .modal-container.visible {
        transform: translateY(0);
        animation: modalSlideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    @keyframes modalSlideUp {
        from {
            transform: translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .modal-small,
    .modal-medium,
    .modal-large,
    .modal-xlarge {
        max-width: 100%;
    }

    .modal-header {
        padding: 16px 20px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-footer {
        padding: 12px 20px;
        flex-direction: column-reverse;
    }

    .modal-footer .modal-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Modal alert (error display inside modal) */
.modal-alert {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; border-radius: var(--radius); margin-bottom: 16px;
    font-size: .9rem;
}
.modal-alert-icon { font-size: 1.1rem; flex-shrink: 0; }
.modal-alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.modal-confirm-message {
    margin: 0;
    color: var(--text);
    font-size: 0.98rem;
}

.modal-btn-danger {
    background: var(--danger);
    color: #fff;
    border: 1px solid var(--danger);
}

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

.modal-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #f8fafc;
}

.modal-notice-success {
    background: #ecfdf5;
    border-color: #86efac;
    color: #14532d;
}

.modal-notice-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.modal-notice-warning {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #92400e;
}

.modal-notice-info {
    background: #ecfeff;
    border-color: #67e8f9;
    color: #155e75;
}

/* Form styles within modal */
.modal-body .form-grid {
    gap: 16px;
}

.modal-body .form-grid label {
    font-size: 0.9rem;
}

.modal-body .field-input {
    font-size: 0.95rem;
    padding: 10px 12px;
}

/* Trigger button styles */
.modal-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-trigger-btn:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(7, 44, 147, 0.25);
}

.modal-trigger-btn:active {
    transform: translateY(0);
}

/* ========== Branding Admin ========== */
.branding-admin-grid {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.brand-profile-list,
.brand-preview-card {
    position: sticky;
    top: calc(var(--topbar-height) + 24px);
}

.brand-profile-stack {
    display: grid;
    gap: 12px;
}

.brand-profile-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.brand-profile-card.is-active {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.brand-profile-card strong,
.brand-profile-card small {
    display: block;
}

.brand-profile-card small {
    color: var(--text-muted);
}

.brand-swatch-row {
    display: flex;
    gap: 6px;
}

.brand-swatch-row span {
    width: 28px;
    height: 22px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 4px;
}

.brand-card-meta,
.brand-card-actions,
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.brand-card-actions {
    justify-content: flex-end;
}

.brand-form-grid,
.brand-asset-grid,
.brand-overlay-grid {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.brand-form-grid,
.brand-asset-grid,
.brand-overlay-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.brand-form-grid .span-2,
.brand-asset-grid .span-2 {
    grid-column: 1 / -1;
}

.brand-asset-grid label {
    display: grid;
    gap: 8px;
}

.brand-asset-grid input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: var(--bg);
}

.brand-color-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.brand-color-grid label {
    display: grid;
    grid-template-columns: 112px 42px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.brand-color-grid input[type="color"] {
    width: 42px;
    height: 38px;
    padding: 2px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface);
}

.brand-editor-card .form-actions {
    justify-content: flex-end;
    margin-top: 22px;
}

.brand-preview-card {
    grid-column: 2;
}

.brand-preview-shell {
    overflow: hidden;
    border: 1px solid var(--preview-border);
    border-radius: var(--radius);
    background: var(--preview-bg);
    color: var(--preview-text);
}

.brand-preview-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 8px 14px;
    background: var(--preview-primary);
    color: #fff;
}

.brand-preview-topbar img {
    width: 40px;
    height: 30px;
    object-fit: contain;
    padding: 3px;
    border-radius: 6px;
    background: #fff;
}

.brand-preview-body {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    min-height: 170px;
}

.brand-preview-body aside {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 16px;
    background: var(--preview-primary);
}

.brand-preview-body aside span {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .36);
}

.brand-preview-body main {
    display: grid;
    gap: 8px;
    align-content: center;
    padding: 18px;
    background: var(--preview-surface);
}

.brand-preview-body h3,
.brand-preview-body p {
    margin: 0;
}

.brand-preview-body p {
    color: var(--preview-muted);
}

.brand-preview-body button {
    width: max-content;
    padding: 8px 12px;
    border: 0;
    border-radius: 6px;
    background: var(--preview-accent);
    color: #fff;
    font-weight: 700;
}

.brand-hero-preview {
    display: grid;
    align-content: end;
    gap: 4px;
    min-height: 190px;
    margin-top: 18px;
    padding: 20px;
    border-radius: var(--radius);
    background-position: center;
    background-size: cover;
    color: #fff;
}

.brand-hero-preview span {
    text-transform: uppercase;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.brand-hero-preview strong {
    font-size: 1.35rem;
}

@media (max-width: 1100px) {
    .branding-admin-grid,
    .brand-preview-card {
        grid-template-columns: 1fr;
        grid-column: auto;
    }

    .brand-profile-list,
    .brand-preview-card {
        position: static;
    }
}

@media (max-width: 760px) {
    .brand-form-grid,
    .brand-asset-grid,
    .brand-overlay-grid,
    .brand-color-grid {
        grid-template-columns: 1fr;
    }

    .brand-color-grid label {
        grid-template-columns: 1fr 42px;
    }

    .brand-color-grid label span,
    .brand-color-grid label .field-input {
        grid-column: 1 / -1;
    }
}

/* ========== UX Animations ========== */

@keyframes emsFadeInUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes emsFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes emsStatusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .85; transform: scale(1.03); }
}

@keyframes emsCartFlash {
    0%   { opacity: .72; transform: translateY(2px); text-shadow: none; }
    45%  { opacity: 1; transform: translateY(0); text-shadow: 0 0 18px rgba(216, 174, 94, .45); }
    100% { opacity: 1; transform: translateY(0); text-shadow: none; }
}

@keyframes emsHotelPanelIn {
    0%   { opacity: 0; transform: translateY(12px) scale(.985); }
    65%  { opacity: 1; transform: translateY(0) scale(1.006); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes emsHotelSelectionPop {
    0%   { transform: scale(.985); filter: brightness(1); }
    55%  { transform: scale(1.012); filter: brightness(1.04); }
    100% { transform: scale(1); filter: none; }
}

@keyframes emsHotelConfirmLine {
    0%   { opacity: .78; transform: translateY(6px); filter: brightness(1.04); }
    100% { opacity: 1; transform: translateY(0); filter: none; }
}

@keyframes emsTableShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes emsCountdownFlip {
    0%   { transform: rotateX(-90deg); opacity: 0; }
    60%  { transform: rotateX(10deg); opacity: 1; }
    100% { transform: rotateX(0); opacity: 1; }
}

@keyframes emsSuccessPop {
    0%   { transform: scale(.7); opacity: 0; }
    60%  { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes emsStatusGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .35); }
    50% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
}

/* Booking section reveal */
.booking-reveals-ready .booking-section.reveal-on-scroll:not(.is-visible) {
    opacity: 0;
    transform: translateY(18px);
}

.booking-section.reveal-on-scroll.is-visible,
.booking-section.reveal-on-scroll.replay-reveal {
    animation: emsFadeInUp .55s cubic-bezier(.2, .8, .2, 1) both;
}

.booking-section.reveal-on-scroll:nth-of-type(1) { animation-delay: 0ms; }
.booking-section.reveal-on-scroll:nth-of-type(2) { animation-delay: 80ms; }
.booking-section.reveal-on-scroll:nth-of-type(3) { animation-delay: 160ms; }
.booking-section.reveal-on-scroll:nth-of-type(4) { animation-delay: 240ms; }

/* Hotel panel content switch */
.tabbed-hotel-panel {
    animation: emsHotelPanelIn .4s cubic-bezier(.2, .8, .2, 1) both;
}

.hotel-tab.active.hotel-selection-feedback {
    animation: emsHotelSelectionPop .32s cubic-bezier(.2, .8, .2, 1) both;
}

.hotel-rate-option.selected.hotel-selection-feedback,
.hotel-choice-card.no-stay.selected.hotel-selection-feedback {
    animation: emsHotelSelectionPop .42s cubic-bezier(.2, .8, .2, 1) both;
}

.cart-line.hotel-selection-feedback {
    animation: emsHotelConfirmLine .42s cubic-bezier(.2, .8, .2, 1) both;
}

/* Cart total update flash */
.booking-summary-total strong {
    animation: emsCartFlash .5s ease both;
}

/* Pending status badge pulse */
.status-pill.is-pending,
.status-pill.is-submitted {
    animation: emsStatusPulse 1.8s ease-in-out infinite;
}

/* Page header entrance */
.page-header,
.member-page-header {
    animation: emsFadeInUp .4s cubic-bezier(.2, .8, .2, 1) both;
}

/* Skeleton shimmer for data tables */
.skeleton {
    background: linear-gradient(90deg, var(--border) 25%, #f1f5f9 50%, var(--border) 75%);
    background-size: 200% 100%;
    animation: emsTableShimmer 1.5s infinite;
    border-radius: var(--radius);
    color: transparent !important;
    user-select: none;
    pointer-events: none;
}

.skeleton * { visibility: hidden; }

/* Approval row status change */
.registration-card.status-approved,
.ux-registration-card.status-approved,
tr.status-approved {
    animation: emsStatusGlow .9s ease both;
}

/* Payment submission success checkmark */
.payment-panel {
    position: relative;
}

.payment-success-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, .96);
    border-radius: var(--radius);
    text-align: center;
    animation: emsFadeIn .25s ease both;
    z-index: 10;
}

.payment-success-overlay strong {
    color: var(--primary);
    font-size: 1.1rem;
}

.payment-success-overlay span {
    color: var(--text-muted);
    font-size: .9rem;
}

.payment-success-check {
    animation: emsSuccessPop .45s cubic-bezier(.34, 1.56, .64, 1) both;
    color: var(--success);
}

/* Countdown flip animation */
.countdown-unit strong {
    display: inline-block;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.countdown-unit strong.flip {
    animation: emsCountdownFlip .35s ease both;
}

@media (prefers-reduced-motion: reduce) {
    .booking-reveals-ready .booking-section.reveal-on-scroll,
    .tabbed-hotel-panel,
    .hotel-tab.hotel-selection-feedback,
    .hotel-rate-option.hotel-selection-feedback,
    .hotel-choice-card.no-stay.hotel-selection-feedback,
    .cart-line.hotel-selection-feedback,
    .booking-summary-total strong,
    .status-pill.is-pending,
    .status-pill.is-submitted,
    .page-header,
    .member-page-header,
    .skeleton,
    .registration-card.status-approved,
    .ux-registration-card.status-approved,
    .payment-success-overlay,
    .payment-success-check,
    .countdown-unit strong.flip {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
