.altm-language-picker {
    position: relative;
    width: 400px;
    max-width: 100%;
    text-align: left;
}
.altm-onboarding-field .altm-language-picker { width: 100%; }
.altm-language-picker [hidden] { display: none !important; }
.altm-language-picker__panel[hidden] { display: none !important; }
.altm-language-picker__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid #cecece;
    border-radius: 4px;
    background: #fff;
    color: #323846;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.altm-language-picker__trigger::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: rotate(45deg) translateY(-2px);
}
.altm-onboarding-field .altm-language-picker__trigger {
    min-height: 56px;
    padding: 8px 14px;
    border-color: #d1d5db;
    border-radius: 12px;
    font-size: 14px;
}
.altm-language-picker__trigger:focus-visible,
.altm-language-picker__trigger[aria-expanded="true"] {
    border-color: #465bff;
    outline: 2px solid #465bff;
    outline-offset: 0;
}
.altm-language-picker__panel {
    /* Portaled outside the wizard's animated, scrollable content. */
    position: fixed;
    box-sizing: border-box;
    z-index: 100010;
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .16);
    overflow: auto;
    color: #323846;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
}
.altm-language-picker__panel input.altm-language-picker__search {
    box-sizing: border-box;
    width: 100%;
    min-height: 38px;
    margin: 0 0 6px;
    padding: 6px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font: inherit;
    background: #fff;
    color: #323846;
}
.altm-language-picker__options {
    max-height: 180px;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.altm-language-picker__option,
.altm-language-picker__empty {
    padding: 8px 10px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.4;
}
.altm-language-picker__option { cursor: pointer; }
.altm-language-picker__option[aria-selected="true"] { font-weight: 600; }
.altm-language-picker__option:hover,
.altm-language-picker__option.is-active { background: #eef2ff; color: #233eae; }
.altm-language-picker__empty { color: #64748b; }
