/* Language switcher (markup from mu-plugins/help/language.php) */
.help-lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 8px !important;
}
.help-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    border: 1.5px solid var(--wp--preset--color--primary);
    border-radius: 20px;
    padding: 6px 12px 6px 10px;
    min-height: 36px;
    color: var(--wp--preset--color--primary);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    line-height: 1;
}
.help-lang-btn:hover { background: var(--wp--preset--color--accent-5); }
@media (max-width: 1023px) { .help-lang-btn { min-height: 44px; min-width: 44px; justify-content: center; } }
.help-lang-flag { font-size: 1.1em; line-height: 1; }
.help-lang-code { letter-spacing: 0.05em; }
.help-lang-chevron { transition: transform 0.2s ease; opacity: 0.75; flex-shrink: 0; }
.help-lang-btn[aria-expanded="true"] .help-lang-chevron { transform: rotate(180deg); }
.help-lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13), 0 1px 4px rgba(0,0,0,0.07);
    overflow: hidden;
    min-width: 148px;
    z-index: 9999;
}
.help-lang-dropdown[hidden] { display: none; }
.help-lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    text-decoration: none;
    color: var(--wp--preset--color--contrast);
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.15s;
}
.help-lang-option:hover {
    background: var(--wp--preset--color--accent-5);
    color: var(--wp--preset--color--primary);
    text-decoration: none;
}
