/**
 * MosaicPulse — Host Calibration Console Stylesheet
 * 
 * Clean Editorial Light Aesthetic (#F9F9FB).
 * Transparent floating navbar, 3-lines menu drawer, generous constellation buffer,
 * and responsive mobile architecture.
 */

:root {
    --bg-main: #F9F9FB;
    --bg-card: rgba(255, 255, 255, 0.90);
    --bg-card-hover: rgba(255, 255, 255, 0.96);
    --bg-input: #FFFFFF;
    --gold-primary: #B6952B;
    --gold-hover: #9E7F1F;
    --gold-subtle: rgba(182, 149, 43, 0.22);
    --gold-glow: 0 0 16px rgba(182, 149, 43, 0.15);
    --emerald-live: #059669;
    --emerald-glow: 0 0 10px rgba(5, 150, 105, 0.25);
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6B7280;
    --border-glass: rgba(0, 0, 0, 0.08);
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
    --shadow-card: 0 8px 24px -6px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Background Canvas Layer */
#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    background-color: var(--bg-main);
    pointer-events: auto;
}

/* ---------------------------------------------------------------------------
   1. Transparent Floating Navigation Bar (100% Background Visibility)
--------------------------------------------------------------------------- */
.top-navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    pointer-events: none;
    z-index: 100;
}

.navbar-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 16px 20px 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto;
}

/* Floating Glass Pill Buttons with Subtle Opacity & Glow */
.nav-pill-btn {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    user-select: none;
}

.nav-pill-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    border-color: var(--gold-primary);
    box-shadow: 0 4px 16px rgba(182, 149, 43, 0.25);
    transform: translateY(-1px);
}

.nav-pill-btn.primary {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(182, 149, 43, 0.2) 100%);
    border-color: rgba(182, 149, 43, 0.4);
    color: var(--gold-primary);
    font-weight: 700;
}

.nav-pill-btn.primary:hover {
    background: linear-gradient(135deg, #D4AF37 0%, #B89727 100%);
    color: #FFFFFF;
    border-color: #B89727;
}

.nav-pill-btn.icon-only {
    padding: 0;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-actions-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 3-Lines Hamburger Icon */
.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3.5px;
    width: 14px;
    height: 14px;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: currentColor;
    border-radius: 99px;
    transition: all 0.2s ease;
}

/* ---------------------------------------------------------------------------
   Slide-out Navigation Drawer (Mobile & Quick Links)
--------------------------------------------------------------------------- */
.nav-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.nav-drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--border-glass);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 201;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.nav-drawer.open {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 16px;
}

.drawer-title {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin: 0;
}

.drawer-close-btn {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    transition: background 0.15s ease, transform 0.15s ease;
}

.drawer-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

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

.drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: background 0.15s ease, color 0.15s ease;
}

.drawer-link:hover {
    background: rgba(182, 149, 43, 0.08);
    color: var(--gold-primary);
}

/* ---------------------------------------------------------------------------
   Lean Centered Container
--------------------------------------------------------------------------- */
.host-container {
    position: relative;
    z-index: 10;
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 20px 60px 20px;
    width: 100%;
}

/* ---------------------------------------------------------------------------
   Streamlined Header Strip
--------------------------------------------------------------------------- */
.host-header {
    position: relative;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 10px 18px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-top: 2px solid rgba(182, 149, 43, 0.45);
    border-radius: var(--radius-lg);
    margin-bottom: 92px;
    box-shadow: var(--shadow-card);
}

.header-top-row {
    display: contents;
}

.brand-zone {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    order: 1;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.brand-logo-img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.brand-title {
    font-family: 'Caveat', cursive, sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: -0.5px;
    line-height: 1;
}

.badge-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(5, 150, 105, 0.08);
    border: 1px solid var(--emerald-live);
    color: var(--emerald-live);
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald-live);
    animation: pulse-live 1.8s infinite;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 6px var(--emerald-live); }
    50% { opacity: 0.4; transform: scale(0.75); box-shadow: none; }
}

/* Inline Metrics Strip */
.header-stats-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    order: 2;
    margin: 0;
}

.stat-pill {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stat-pill-label {
    color: var(--text-muted);
    font-weight: 500;
}

.stat-pill-val {
    font-weight: 700;
    color: var(--text-primary);
}

.stat-pill-val.gold {
    color: var(--gold-primary);
}

.stat-sep {
    color: rgba(0, 0, 0, 0.15);
    font-size: 0.7rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    order: 3;
}

.header-nav-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    order: 4;
}

/* Event Kit Dropdown Menu */
.event-kit-dropdown {
    position: relative;
    display: inline-block;
}

.event-kit-dropdown summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.event-kit-dropdown summary::-webkit-details-marker {
    display: none;
}

.event-kit-dropdown summary::marker {
    display: none;
}

.event-kit-dropdown[open] summary {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    box-shadow: 0 4px 14px rgba(182, 149, 43, 0.2);
}

.event-kit-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    min-width: 250px;
    padding: 6px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: dropdownFade 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-4px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.event-kit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    width: 100%;
    color: #1E293B;
    transition: all 0.15s ease;
    box-sizing: border-box;
    min-height: 44px;
}

.event-kit-item:hover {
    background: #F8FAFC;
    color: #92400E;
}

.event-kit-item .item-icon {
    font-size: 1.15rem;
    flex-shrink: 0;
}

.event-kit-item .item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.event-kit-item .item-title {
    font-weight: 600;
    font-size: 0.82rem;
    color: inherit;
}

.event-kit-item .item-subtitle {
    font-size: 0.72rem;
    color: #64748B;
    font-weight: 400;
    line-height: 1.2;
}

/* Responsive Header Balance */
@media (max-width: 1120px) {
    .header-stats-strip .stat-pill:first-child,
    .header-stats-strip .stat-sep:first-of-type {
        display: none;
    }
    .header-actions {
        gap: 6px;
    }
    .header-nav-pills {
        gap: 6px;
    }
    .nav-pill-btn {
        padding: 6px 10px;
        font-size: 0.76rem;
    }
    .btn-live-testing {
        padding: 6px 12px;
        font-size: 0.78rem;
    }
    .btn-gold-stage {
        padding: 6px 10px;
        font-size: 0.76rem;
    }
}

@media (max-width: 960px) {
    .header-stats-strip {
        display: none;
    }
}

/* ---------------------------------------------------------------------------
   Main Core Workspace Grid (Activity Area & Morphism Display)
--------------------------------------------------------------------------- */
.workspace-grid {
    display: grid;
    grid-template-columns: 440px 1fr;
    gap: 28px;
    align-items: start;
}

@media (max-width: 960px) {
    .workspace-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Base Panel Cards */
.panel-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-top: 2px solid rgba(182, 149, 43, 0.35);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Display Area Glassmorphism Card */
.display-morphism-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.65) 100%);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-top: 2px solid rgba(255, 255, 255, 1);
    border-radius: 22px;
    padding: 22px 24px;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.08), 
                0 1px 3px rgba(0, 0, 0, 0.03), 
                inset 0 1px 2px rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

/* Core Segmented Tabs Selector (Activity Area) */
.tabs-container {
    display: flex;
    background: rgba(0, 0, 0, 0.04);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 6px;
    gap: 4px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 10px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    outline: none;
    user-select: none;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.5);
}

.tab-btn.active {
    background: #FFFFFF;
    color: var(--gold-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pulse-tab-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: fadeInTab 0.2s ease;
}

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

/* Glassmorphic Guest Invite Card */
.invite-card-glass {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.copy-link-btn {
    background: rgba(182, 149, 43, 0.1);
    border: 1px solid rgba(182, 149, 43, 0.3);
    color: var(--gold-primary);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.copy-link-btn:hover {
    background: var(--gold-primary);
    color: #ffffff;
}

/* Stage Tools List in Tab 3 */
.stage-tools-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stage-tool-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: all 0.18s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.stage-tool-item:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 4px 12px rgba(182, 149, 43, 0.12);
    transform: translateY(-1px);
}

.stage-tool-item.danger:hover {
    border-color: #EF4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

.stage-tool-item .tool-icon {
    font-size: 1.15rem;
    flex-shrink: 0;
}

.stage-tool-item .tool-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stage-tool-item .tool-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stage-tool-item .tool-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.panel-title {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.2px;
}

.step-badge {
    background: rgba(182, 149, 43, 0.1);
    border: 1px solid rgba(182, 149, 43, 0.25);
    color: var(--gold-primary);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* Form Controls */
.form-row-dual {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}

.form-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.label-with-tooltip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.form-value-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold-primary);
    font-family: monospace;
}

.text-input {
    background: var(--bg-input);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
    transition: all 0.2s ease;
}

.text-input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 2px rgba(182, 149, 43, 0.15);
}

.text-input::placeholder {
    color: #9CA3AF;
}

/* Tooltips */
.tooltip-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 700;
    font-style: normal;
    cursor: help;
    transition: all 0.15s ease;
    user-select: none;
}

.tooltip-trigger:hover, .tooltip-trigger:focus {
    background: var(--gold-primary);
    color: #FFFFFF;
}

.tooltip-bubble {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #1E293B;
    color: #F8FAFC;
    font-size: 0.72rem;
    font-weight: 400;
    line-height: 1.4;
    padding: 8px 11px;
    border-radius: 6px;
    border: 1px solid rgba(182, 149, 43, 0.4);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    width: 210px;
    text-align: left;
    pointer-events: none;
    z-index: 200;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.tooltip-bubble::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #1E293B transparent transparent transparent;
}

.tooltip-trigger:hover .tooltip-bubble,
.tooltip-trigger:focus .tooltip-bubble {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Dropzone */
.dropzone-box {
    border: 1.5px dashed rgba(182, 149, 43, 0.4);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 12px;
}

.dropzone-box:hover {
    border-color: var(--gold-primary);
    background: rgba(182, 149, 43, 0.05);
}

.dropzone-box input {
    display: none;
}

.dropzone-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.dropzone-text-col {
    display: flex;
    flex-direction: column;
    gap: 1px;
    text-align: left;
    overflow: hidden;
}

.dropzone-title {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropzone-subtitle {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* Presets */
.presets-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.preset-chip {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-secondary);
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.preset-chip:hover {
    background: rgba(182, 149, 43, 0.08);
    border-color: rgba(182, 149, 43, 0.3);
    color: var(--gold-primary);
}

.preset-chip.active {
    background: rgba(182, 149, 43, 0.12);
    border-color: var(--gold-primary);
    color: #856613;
    font-weight: 700;
}

.preset-description-box {
    font-size: 0.74rem;
    color: #856613;
    background: rgba(182, 149, 43, 0.06);
    border: 1px solid rgba(182, 149, 43, 0.16);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    line-height: 1.35;
}

/* Sliders */
.slider-control {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    outline: none;
    cursor: pointer;
}

.slider-control::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E5BE42 0%, #B6952B 100%);
    border: 2px solid #FFFFFF;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.slider-control::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E5BE42 0%, #B6952B 100%);
    border: 2px solid #FFFFFF;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

/* Preview Box */
.preview-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    background: #FFFFFF;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.loupe-helper {
    position: absolute;
    bottom: 8px;
    right: 10px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    border: 1px solid var(--gold-subtle);
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--gold-primary);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* Guest Invite Card */
.invite-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.invite-card-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.invite-url-box {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.78rem;
    color: #856613;
    background: #F8F9FA;
    padding: 6px 10px;
    border-radius: 5px;
    border: 1px solid rgba(182, 149, 43, 0.2);
    word-break: break-all;
}

/* Actions Grid */
.actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

/* ==========================================================================
   OriginKit & Uiverse Segmented Action Tray (Lean Microcopy & Quick Utility)
   ========================================================================== */
.originkit-action-tray {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(182, 149, 43, 0.3);
    border-radius: var(--radius-md);
    padding: 6px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    margin: 4px 0 8px 0;
    width: 100%;
}

.tray-btn {
    flex: 1;
    min-height: 38px;
    padding: 7px 6px;
    border-radius: var(--radius-sm);
    font-size: 0.76rem;
    font-weight: 600;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    outline: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    touch-action: manipulation;
    white-space: nowrap;
}

.tray-btn.secondary {
    background: #f8fafc;
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.08);
}

.tray-btn.secondary:hover {
    background: #fefce8;
    border-color: rgba(182, 149, 43, 0.45);
    color: var(--gold-primary);
    transform: translateY(-1px);
}

.tray-btn.secondary:active {
    transform: scale(0.97);
}

.tray-btn.danger {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.tray-btn.danger:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c;
    transform: translateY(-1px);
}

.tray-btn.danger:active {
    transform: scale(0.97);
}

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, #D4AF37 0%, #B89727 100%);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    border-radius: var(--radius-sm);
    padding: 9px 16px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(182, 149, 43, 0.25);
}

.btn-gold:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(182, 149, 43, 0.35);
    background: linear-gradient(135deg, #E5BE42 0%, #CBA52C 100%);
}

.btn-secondary {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
    padding: 7px 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.btn-secondary:hover {
    background: #F9FAFB;
    border-color: rgba(0, 0, 0, 0.18);
    color: var(--text-primary);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.22);
    color: #DC2626;
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
    padding: 7px 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: #EF4444;
}

/* ---------------------------------------------------------------------------
   2. Substantial Empty Space Buffer (Forces Scroll to View Written Details)
--------------------------------------------------------------------------- */
.constellation-spacer {
    min-height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px 20px;
    pointer-events: none;
}

.scroll-prompt-indicator {
    pointer-events: auto;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(182, 149, 43, 0.25);
    padding: 10px 20px;
    border-radius: 999px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: all 0.2s ease;
}

.scroll-prompt-indicator:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--gold-primary);
    transform: translateY(2px);
}

.scroll-prompt-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold-primary);
}

.scroll-arrow-anim {
    font-size: 0.85rem;
    color: var(--gold-primary);
    animation: bounce-arrow 1.8s infinite;
}

@keyframes bounce-arrow {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(4px); }
    60% { transform: translateY(2px); }
}

/* ---------------------------------------------------------------------------
   Below-the-Fold Humanized Editorial & FAQ Section
--------------------------------------------------------------------------- */
.editorial-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 10px 60px 10px;
    position: relative;
    z-index: 10;
}

.editorial-hero {
    text-align: center;
    margin-bottom: 36px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-top: 2px solid rgba(182, 149, 43, 0.4);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-card);
}

.editorial-h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin: 0 0 12px 0;
}

.editorial-h1 span {
    color: var(--gold-primary);
}

.editorial-lead {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto;
}

/* Complete Walkthrough Step Cards */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 36px;
}

@media (max-width: 960px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.step-card-tip {
    font-size: 0.76rem;
    color: #4B5563;
    background: rgba(182, 149, 43, 0.08);
    border-left: 3px solid var(--gold-primary);
    padding: 7px 10px;
    border-radius: 4px;
    margin-top: auto;
    line-height: 1.45;
}

.step-item-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-top: 2px solid rgba(182, 149, 43, 0.35);
    border-radius: var(--radius-md);
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease;
}

.step-item-card:hover {
    transform: translateY(-2px);
    border-color: var(--gold-subtle);
}

.step-number-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.step-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Venue Hardware Specs Banner */
.specs-banner-box {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 36px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    text-align: center;
}

.spec-col-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}

.spec-col-val {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* FAQ Accordion */
.faq-section-header {
    text-align: center;
    margin-bottom: 22px;
}

.faq-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px 0;
}

.faq-section-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

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

.faq-item {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow: var(--shadow-card);
    transition: all 0.2s ease;
    cursor: pointer;
}

.faq-item[open] {
    border-color: rgba(182, 149, 43, 0.4);
    border-left: 3px solid var(--gold-primary);
    background: rgba(255, 255, 255, 0.96);
}

.faq-summary {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-primary);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    outline: none;
    user-select: none;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    font-size: 0.8rem;
    color: var(--gold-primary);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    margin: 10px 0 2px 0;
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---------------------------------------------------------------------------
   Clean Editorial Footer
--------------------------------------------------------------------------- */
.site-footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    padding: 24px 20px 32px 20px;
    margin-top: auto;
}

.footer-inner {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.footer-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-link:hover {
    color: var(--gold-primary);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

/* ---------------------------------------------------------------------------
   3. Complete Mobile Architecture (Zero Cluster, Touch-Friendly)
--------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .host-container {
        padding: 12px 12px 30px 12px;
    }

    .navbar-inner {
        padding: 12px 14px 4px 14px;
    }

    /* Streamlined Mobile Header Strip */
    .host-header {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px 14px;
    }

    .header-top-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        order: 1;
        gap: 6px;
    }

    .brand-zone {
        display: flex;
        align-items: center;
        gap: 6px;
        order: unset;
        min-width: 0;
        flex-shrink: 1;
    }

    .brand-logo-img {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }

    .brand-title {
        font-size: 1.25rem;
        white-space: nowrap;
    }

    .badge-live {
        padding: 5px 6px;
        border-radius: 999px;
        flex-shrink: 0;
    }

    .badge-live #eventStatusLabel {
        display: none;
    }

    .header-nav-pills {
        display: flex;
        align-items: center;
        gap: 6px;
        order: unset;
        flex-shrink: 0;
    }

    .header-nav-pills .nav-pill-btn {
        padding: 6px 9px;
        font-size: 0.74rem;
        gap: 4px;
        min-height: 44px;
        touch-action: manipulation;
    }

    .header-stats-strip {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px 12px;
        padding: 8px 12px;
        border-radius: var(--radius-sm);
        white-space: normal;
        order: 2;
        margin: 0;
        width: 100%;
    }

    .stat-sep {
        display: none;
    }

    .header-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
        order: 3;
    }

    .header-actions button {
        width: 100%;
        padding: 8px 10px;
        font-size: 0.78rem;
        min-height: 44px;
        touch-action: manipulation;
    }

    /* Single-line 4-chip layout for presets on mobile */
    .presets-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
    }

    .preset-chip {
        padding: 6px 2px;
        font-size: 0.7rem;
        text-align: center;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        touch-action: manipulation;
    }

    /* OriginKit Action Tray on Mobile: 2x2 Clean Segmented Dock */
    .originkit-action-tray {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        padding: 6px;
    }

    .tray-btn {
        width: 100%;
        min-height: 44px;
        font-size: 0.78rem;
        touch-action: manipulation;
    }

    /* Single Column Workspace with Live Screen First */
    .workspace-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px;
    }

    .display-morphism-card {
        order: 1 !important;
    }

    .activity-card {
        order: 2 !important;
    }

    #previewDisplayImg {
        touch-action: none; /* Smooth zoom loupe on mobile without jitter */
    }

    .form-row-dual {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    /* Safe Tooltip Positioning on Mobile */
    .tooltip-bubble {
        left: 0;
        transform: translateY(4px);
        width: min(240px, 80vw);
    }

    .tooltip-bubble::after {
        left: 12px;
        transform: none;
    }

    .tooltip-trigger:hover .tooltip-bubble,
    .tooltip-trigger:focus .tooltip-bubble {
        transform: translateY(0);
    }

    /* Empty Space Buffer on Mobile */
    .constellation-spacer {
        min-height: 280px;
        padding: 20px 10px;
    }

    .scroll-prompt-indicator {
        padding: 8px 16px;
    }

    /* Below the Fold Adjustments */
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .specs-banner-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 12px 14px;
    }

    .editorial-h1 {
        font-size: 1.35rem;
    }

    .editorial-lead {
        font-size: 0.85rem;
    }

    .faq-summary {
        font-size: 0.85rem;
    }

    .faq-answer {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   Modals, Auth & Commercial Packaging Styles
   ========================================================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 16px;
}

.modal-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(182, 149, 43, 0.35);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    width: 100%;
    max-width: 520px;
    padding: 24px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content.wide {
    max-width: 820px;
}

.btn-close-modal {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #9CA3AF;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.btn-close-modal:hover {
    color: #111827;
}

.modal-header-box {
    text-align: center;
    margin-bottom: 20px;
}

.modal-title-text {
    font-size: 1.35rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 6px 0;
    letter-spacing: -0.3px;
}

.modal-sub-text {
    font-size: 0.85rem;
    color: #4B5563;
    margin: 0;
    line-height: 1.5;
}

/* Timing Selector Row */
.timing-selector-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 4px;
}

.timing-radio-card {
    border: 1px solid #E5E7EB;
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 8px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: all 0.2s ease;
    user-select: none;
}

.timing-radio-card input {
    display: none;
}

.timing-radio-card:hover {
    border-color: rgba(182, 149, 43, 0.4);
    background: #FDFBF7;
}

.timing-radio-card.active {
    border-color: var(--gold-primary);
    background: rgba(182, 149, 43, 0.08);
    box-shadow: 0 0 0 1px var(--gold-primary);
}

.timing-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 4px;
}

.timing-sub {
    font-size: 0.68rem;
    color: #6B7280;
    line-height: 1.3;
}

/* Commercial Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 16px;
}

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

.package-card {
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    padding: 20px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.package-card.highlight {
    border-color: var(--gold-primary);
    box-shadow: 0 8px 30px rgba(182, 149, 43, 0.15);
    background: #FFFDF9;
}

.package-badge-tag {
    position: absolute;
    top: -10px;
    right: 16px;
    background: var(--gold-primary);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(182, 149, 43, 0.4);
}

.package-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 4px 0;
}

.package-sub {
    font-size: 0.75rem;
    color: #6B7280;
    margin-bottom: 12px;
}

.package-price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 14px;
}

.package-price-val {
    font-size: 1.8rem;
    font-weight: 900;
    color: #111827;
}

.package-currency {
    font-size: 0.85rem;
    color: #4B5563;
    font-weight: 600;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.78rem;
    color: #374151;
}

.package-features li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
}

.feature-check {
    color: #059669;
    font-weight: 800;
}

.agency-inquire-box {
    margin-top: 16px;
    background: #F9FAFB;
    border: 1px dashed #D1D5DB;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.agency-text-col h4 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
}

.agency-text-col p {
    margin: 2px 0 0 0;
    font-size: 0.74rem;
    color: #6B7280;
}

/* Auth Modal Styles for Host Console */
.auth-toggle-row {
    display: flex;
    background: #F3F4F6;
    border-radius: var(--radius-sm);
    padding: 3px;
    margin-bottom: 16px;
}

.auth-tab-btn {
    flex: 1;
    padding: 7px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #4B5563;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-tab-btn.active {
    background: #FFFFFF;
    color: #111827;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.auth-field {
    margin-bottom: 14px;
}

.auth-field label {
    display: block;
    font-size: 0.76rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.auth-input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #D1D5DB;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: #111827;
    background: #FFFFFF;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.auth-input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(182, 149, 43, 0.15);
}

.auth-submit-btn {
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(135deg, #E5BE42 0%, #B6952B 100%);
    color: #111827;
    font-weight: 700;
    font-size: 0.88rem;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(182, 149, 43, 0.3);
    transition: all 0.2s ease;
}

.auth-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(182, 149, 43, 0.4);
}

.auth-msg {
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    display: none;
}

.auth-msg.error {
    display: block;
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
    color: #991B1B;
}

.auth-msg.success {
    display: block;
    background: #ECFDF5;
    border: 1px solid #6EE7B7;
    color: #065F46;
}

/* ==========================================================================
   Phase 1-4 Feature Enhancements: Modals, Guided Tour, Table Tents & Print
   ========================================================================== */

/* Live Event Ready Modal */
.ready-event-card {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    padding: 16px;
    margin: 16px 0 20px 0;
}

.ready-event-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.ready-event-label {
    color: var(--text-muted);
    font-weight: 500;
}

.ready-event-val {
    font-weight: 700;
    color: var(--text-primary);
}

.ready-url-box {
    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: var(--radius-sm);
    padding: 9px 12px;
    font-family: monospace;
    font-size: 0.8rem;
    color: #1F2937;
    word-break: break-all;
    user-select: all;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ready-actions-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.ready-actions-grid .btn-gold,
.ready-actions-grid .btn-secondary {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: var(--radius-md);
    text-decoration: none;
    border: none;
}

.ready-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 500px) {
    .ready-actions-row {
        grid-template-columns: 1fr;
    }
}

/* Guided Tour Spotlight & Tooltip Popover (Zero Screen Blur) */
.tour-spotlight-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.2);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 9998;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.tour-spotlight-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tour-popover-card {
    position: fixed;
    z-index: 10001;
    background: #FFFFFF;
    border: 1.5px solid var(--gold-primary);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(182, 149, 43, 0.15);
    padding: 20px;
    width: 360px;
    max-width: calc(100vw - 32px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    animation: tourCardPop 0.25s ease-out forwards;
}

@keyframes tourCardPop {
    0% { transform: scale(0.92); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.tour-step-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(182, 149, 43, 0.12);
    color: var(--gold-hover);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 999px;
}

.tour-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 6px 0;
}

.tour-desc {
    font-size: 0.82rem;
    color: #4B5563;
    line-height: 1.5;
    margin: 0 0 14px 0;
}

.tour-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #F3F4F6;
    padding-top: 12px;
}

.tour-dots {
    display: flex;
    gap: 6px;
}

.tour-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E5E7EB;
    transition: all 0.2s ease;
}

.tour-dot.active {
    background: var(--gold-primary);
    width: 18px;
    border-radius: 999px;
}

.tour-nav-btns {
    display: flex;
    gap: 8px;
}

.tour-btn {
    min-height: 38px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.15s ease;
}

.tour-btn.secondary {
    background: #F3F4F6;
    color: #374151;
}

.tour-btn.secondary:hover {
    background: #E5E7EB;
}

.tour-btn.primary {
    background: var(--gold-primary);
    color: #FFFFFF;
}

.tour-btn.primary:hover {
    background: var(--gold-hover);
}

.tour-target-highlight {
    position: relative;
    z-index: 10000 !important;
    outline: 2px solid var(--gold-primary) !important;
    outline-offset: 4px !important;
    box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.25), 0 8px 30px rgba(0, 0, 0, 0.12) !important;
    border-radius: var(--radius-md) !important;
    transition: all 0.25s ease !important;
}

/* Header Action Buttons */
.btn-live-testing {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #d4af37 0%, #b8972e 100%);
    color: #0b0d11;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 8px 16px;
    min-height: 44px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
    transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.12s ease;
    white-space: nowrap;
}

.btn-live-testing:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-gold-stage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #111827;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #d4af37;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 14px;
    min-height: 44px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-gold-stage:hover {
    background: rgba(182, 149, 43, 0.15);
    border-color: #d4af37;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Video Guide Modal */
.video-guide-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0B0F17;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.video-guide-box iframe,
.video-guide-box video {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

.video-chapters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

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

.video-chapter-pill {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    font-size: 0.76rem;
    color: #374151;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.video-chapter-time {
    font-weight: 700;
    color: var(--gold-hover);
}

/* Aspect Ratio Advisor Modal */
.advisor-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 18px 0;
}

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

.advisor-choice-card {
    border: 2px solid #E5E7EB;
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.advisor-choice-card:hover {
    border-color: rgba(182, 149, 43, 0.5);
    background: #FFFDF9;
}

.advisor-choice-card.selected {
    border-color: var(--gold-primary);
    background: rgba(182, 149, 43, 0.05);
    box-shadow: 0 4px 16px rgba(182, 149, 43, 0.15);
}

.advisor-badge-pill {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.advisor-badge-pill.rec {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.advisor-badge-pill.std {
    background: #F3F4F6;
    color: #4B5563;
}

.advisor-diagram-box {
    height: 90px;
    background: #111827;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    overflow: hidden;
    position: relative;
    padding: 6px;
}

.diagram-standard-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #1F2937;
    border-radius: 4px;
}

.diagram-std-inner {
    width: 32%;
    height: 90%;
    background: var(--gold-primary);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 700;
}

.diagram-split-preview {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 4px;
}

.diagram-split-left {
    width: 58%;
    height: 100%;
    background: var(--gold-primary);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 0.62rem;
    font-weight: 700;
}

.diagram-split-right {
    width: 42%;
    height: 100%;
    background: #374151;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #9CA3AF;
    font-size: 0.58rem;
}

.advisor-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 4px 0;
}

.advisor-desc {
    font-size: 0.78rem;
    color: #4B5563;
    line-height: 1.4;
    margin: 0;
}

/* Printable Table Tent Kit */
.tent-preview-container {
    background: #E5E7EB;
    padding: 16px;
    border-radius: var(--radius-md);
    margin: 16px 0;
    display: flex;
    justify-content: center;
}

.tent-card-sheet {
    background: #FFFFFF;
    border: 1px dashed #9CA3AF;
    padding: 20px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tent-fold-guide {
    width: 100%;
    border-bottom: 1px dashed #D1D5DB;
    padding-bottom: 6px;
    margin-bottom: 12px;
    font-size: 0.65rem;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tent-event-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 4px 0;
}

.tent-sub-lead {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-hover);
    margin-bottom: 14px;
}

.tent-qr-box {
    background: #FFFFFF;
    padding: 12px;
    border: 2px solid #111827;
    border-radius: 12px;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.tent-qr-box img {
    width: 100% !important;
    height: 100% !important;
}

.tent-steps-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.8rem;
    color: #374151;
    max-width: 320px;
}

.tent-step-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tent-step-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #F3F4F6;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
}

.tent-footer-tag {
    font-size: 0.7rem;
    color: #9CA3AF;
}

/* Dedicated Print Stylesheet: Clean Full-Bleed 2-Up Table Tent Page */
@media print {
    body * {
        visibility: hidden !important;
    }
    #tableTentPrintArea, #tableTentPrintArea * {
        visibility: visible !important;
    }
    #tableTentPrintArea {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        margin: 0 !important;
        padding: 20mm !important;
        background: #FFFFFF !important;
        box-shadow: none !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 15mm !important;
    }
    .tent-card-sheet {
        box-shadow: none !important;
        border: 1px dashed #999999 !important;
        padding: 15mm !important;
    }
    .modal-overlay {
        position: static !important;
        background: transparent !important;
        backdrop-filter: none !important;
        padding: 0 !important;
    }
}

/* ==========================================================================
   OriginKit Elevated UI/UX Standard (Dock Clusters, Calculator, Screencast)
   ========================================================================== */

.originkit-hero-dock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(15, 17, 23, 0.94);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 999px;
    padding: 6px 14px 6px 8px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 16px rgba(212, 175, 55, 0.12);
    backdrop-filter: blur(16px);
}

.hero-dock-cluster {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-originkit-demo {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #d4af37 0%, #b8972e 100%);
    color: #0b0d11;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 8px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
    transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.12s ease;
    overflow: hidden;
}

.btn-originkit-demo:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-originkit-demo:active {
    transform: scale(0.97);
}

/* Kinetic Radar Wave for Demo Trigger */
.radar-pulse-ring {
    position: relative;
    width: 10px;
    height: 10px;
    background: #0b0d11;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.radar-pulse-ring::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 18px;
    height: 18px;
    border: 2px solid #0b0d11;
    border-radius: 50%;
    animation: radarRipple 1.8s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes radarRipple {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.dock-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    color: #1E293B;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 8px 14px;
    min-height: 44px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.15s ease;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.dock-pill-btn:hover {
    background: #F8FAFC;
    border-color: rgba(212, 175, 55, 0.6);
    color: #92400E;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.dock-pill-btn:active {
    transform: scale(0.97);
}

/* Vector Icon Stroke Helper */
.origin-icon {
    display: inline-block;
    vertical-align: middle;
    width: 15px;
    height: 15px;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex-shrink: 0;
}

/* Target Density & Guest Intake Calculator Card */
.mosaic-math-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-top: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.mosaic-math-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.mosaic-math-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mosaic-math-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.mosaic-math-stat {
    background: #F9FAFB;
    border: 1px solid #F3F4F6;
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    text-align: center;
}

.mosaic-math-stat-val {
    font-size: 0.95rem;
    font-weight: 800;
    color: #111827;
}

.mosaic-math-stat-val.gold {
    color: #b8972e;
}

.mosaic-math-stat-label {
    font-size: 0.68rem;
    color: #6B7280;
    margin-top: 2px;
}

.mosaic-math-banner {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: var(--radius-sm);
    padding: 9px 12px;
    font-size: 0.74rem;
    color: #166534;
    line-height: 1.45;
}

/* Screencast Guide Modal Grid */
.screencast-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 16px 0;
}

@media (max-width: 640px) {
    .screencast-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.screencast-card {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    padding: 14px;
    text-align: center;
    transition: all 0.15s ease;
}

.screencast-card:hover {
    border-color: #d4af37;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.screencast-card-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.12);
    border-radius: 50%;
    color: #b8972e;
}

.screencast-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.screencast-card-desc {
    font-size: 0.72rem;
    color: #6B7280;
    line-height: 1.35;
}

/* Rehearsal Multi-Device Dock */
.rehearsal-action-dock {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* Token Balance Badge in Pricing Modal */
.tokens-balance-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: #b8972e;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

/* User Account Dropdown Menu */
.pulse-user-menu-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.user-avatar-btn {
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.user-avatar-btn.open .dropdown-chevron {
    transform: rotate(180deg);
}

.pulse-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 230px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    padding: 6px 0;
    display: none;
    z-index: 1050;
    transform-origin: top right;
    animation: pulseDdFade 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.pulse-user-dropdown.show {
    display: block;
}

@keyframes pulseDdFade {
    from {
        opacity: 0;
        transform: translateY(-4px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-user-header {
    padding: 10px 16px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.dropdown-email {
    font-size: 0.75rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.dropdown-tokens-line {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
}

.tokens-sym {
    font-size: 0.9rem;
}

.tokens-txt strong {
    color: #b8972e;
    font-weight: 800;
}

.dropdown-actions {
    padding: 4px 0 2px;
}

.pulse-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    background: transparent;
    border: none;
    font-size: 0.84rem;
    font-weight: 600;
    color: #334155;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.pulse-dropdown-item:hover,
.pulse-dropdown-item:focus-visible {
    background: rgba(212, 175, 55, 0.09);
    color: #927218;
    outline: none;
}

.pulse-dd-icon {
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
}

.pulse-dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 4px 0;
}

.pulse-dropdown-item.pulse-dd-signout:hover,
.pulse-dropdown-item.pulse-dd-signout:focus-visible {
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
}

/* Redeem Modal Feedback states */
#pulseRedeemFeedback.feedback-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

#pulseRedeemFeedback.feedback-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

/* Progressive Guidance Nudge (Clean Glassmorphic Popover) */
.pulse-guidance-nudge {
    position: absolute;
    z-index: 1000;
    width: 280px;
    background: #FFFFFF;
    border: 1px solid rgba(182, 149, 43, 0.4);
    box-shadow: 0 12px 36px -4px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(182, 149, 43, 0.15);
    border-radius: 12px;
    padding: 12px 14px;
    animation: nudgeFadeSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
}

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

.pulse-guidance-nudge .nudge-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.pulse-guidance-nudge .nudge-badge {
    background: rgba(182, 149, 43, 0.12);
    color: var(--gold-primary);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 999px;
}

.pulse-guidance-nudge .nudge-close-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}

.pulse-guidance-nudge .nudge-close-btn:hover {
    color: var(--text-primary);
}

.pulse-guidance-nudge .nudge-body {
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.pulse-guidance-nudge .nudge-body strong {
    color: var(--text-primary);
}

