.ag-language { position: relative; flex: 0 0 auto; color: #082b55; }
.ag-language summary { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 37px; min-width: 55px; padding: 5px 9px; background: #f4f8fa; border: 1px solid #d8e7ec; border-radius: 24px; cursor: pointer; list-style: none; font-size: 12px; font-weight: 700; white-space: nowrap; }
.ag-language summary::-webkit-details-marker { display: none; }
.ag-language summary svg { width: 17px; height: 17px; }
.ag-language summary:hover, .ag-language[open] summary { background: #e9f6f9; border-color: #b5dae6; }
.ag-language :focus-visible { outline: 2px solid #168fb4; outline-offset: 3px; }
.ag-language ul { position: absolute; inset: calc(100% + 8px) 0 auto auto; z-index: 5; width: max-content; min-width: 148px; margin: 0; padding: 5px; border-radius: 14px; border: 1px solid #d8e7ec; background: #fff; box-shadow: 0 12px 32px #12324c21; list-style: none; }
.ag-language li a { display: flex; justify-content: space-between; gap: 15px; padding: 9px 10px; border-radius: 9px; color: #082b55; font-size: 13px; text-decoration: none; }
.ag-language li a:hover, .ag-language li a[aria-current] { background: #eaf6f9; }
@media(max-width: 530px) { .ag-language summary { gap: 4px; min-width: 48px; padding-inline: 5px; font-size: 11px; } .ag-language summary svg { width: 14px; height: 14px; } }
