#public-language-widget {
    color: #203843;
    font: 600 14px/1.3 system-ui, sans-serif;
    margin: 0 auto;
    max-width: min(calc(100% - 28px), 68rem);
    padding-block: 8px;
}
[data-public-language-slot] #public-language-widget {
    margin: 0;
    max-width: 100%;
    padding: 0 0 12px;
}
#public-language-widget > [role="group"] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}
#public-language-widget button {
    padding: 6px 10px;
    min-height: 38px;
    color: #203843;
    background: #f6f4eb;
    border: 1px solid #a4b0b0;
    border-radius: 6px;
    cursor: pointer;
}
#public-language-widget button[aria-pressed="true"] {
    background: #305660;
    color: #fffdf5;
    border-color: #305660;
}
#public-language-widget button:focus-visible { outline: 2px solid #b9843a; outline-offset: 2px; }
#public-language-widget > p, #public-language-widget details {
    width: fit-content;
    max-width: 100%;
    padding: 8px 12px;
    background: #f6f4eb;
    margin: 8px 0 0;
    border-radius: 6px;
}
#public-language-widget details p { white-space: pre-wrap; font-weight: 400; }
