/**
 * Site Menu — consolidated header controls
 */

.upload-container > .header-section {
    margin-bottom: 0.65rem !important;
}

.header-section .brand-header {
    margin-bottom: 0 !important;
}

/* Site menu panel */
.site-menu.accessibility-menu {
    width: min(320px, 92vw);
}

.site-menu-account {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8f9fa;
}

.site-menu-account-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
}

.site-menu-account-row i {
    color: #6b73ff;
    font-size: 1.15rem;
}

.site-menu-account-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.site-menu-section {
    padding: 1rem 1.25rem 0.85rem;
}

.site-menu-section-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 0.55rem;
}

.site-menu-mode-toggle {
    margin-bottom: 0 !important;
    width: 100%;
}

.site-menu-mode-toggle .mode-btn {
    flex: 1;
    padding: 0.5rem 0.65rem;
    font-size: 0.82rem;
}

.site-menu-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0;
}

.site-menu-actions .menu-item {
    text-decoration: none;
}

/* Menu text follows the menu panel's own theme, never the app skin. The link
   items used color:inherit, which bled the Sick Puppy skin's light body text
   onto the light menu panel and made them illegible. Scope both link and button
   items to the menu's light/dark palette instead. */
.site-menu-actions .menu-item {
    color: #2d2d2d;
}
[data-theme="dark"] .site-menu-actions .menu-item {
    color: #e8e8e8;
}

[data-theme="dark"] .site-menu-account {
    background: #16213e;
    border-bottom-color: #333;
}

[data-theme="dark"] .site-menu-account-row {
    color: #e8e8e8;
}

[data-theme="dark"] .site-menu-section-label {
    color: #9ca3af;
}

[data-theme="dark"] .site-menu-divider {
    background: #333;
}

#clapbackTierSection {
    margin-top: 0.35rem;
}

.session-tap-hint {
    font-size: 0.78rem;
    opacity: 0.75;
}