/* Compact flag control, matching IV's navy navigation and existing type system. */
body.iv2026-shell details.iv-language-switch {
    position: relative;
    display: block;
    flex: none;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    color: #fff;
}
body.iv2026-shell .iv-language-switch__trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 10px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: color .15s ease;
}
body.iv2026-shell .iv-language-switch__trigger::-webkit-details-marker { display: none; }
body.iv2026-shell .iv-language-switch__trigger::marker { content: ''; }
body.iv2026-shell .iv-language-switch__trigger:hover,
body.iv2026-shell .iv-language-switch[open] > .iv-language-switch__trigger {
    background: transparent;
    border: 0;
    box-shadow: none;
}
body.iv2026-shell .iv-language-switch__code {
    font: 600 12px/1 "IBM Plex Mono", monospace;
    letter-spacing: .035em;
}
body.iv2026-shell .iv-language-switch__flag {
    display: block;
    width: 22px;
    height: 22px;
    flex: none;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(127, 145, 166, .2);
}
body.iv2026-shell .iv-language-switch__chevron,
body.iv2026-shell .iv-language-switch__check {
    width: 16px;
    height: 16px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
body.iv2026-shell .iv-language-switch[open] .iv-language-switch__chevron { transform: rotate(180deg); }
body.iv2026-shell .iv-language-switch > .iv-language-switch__menu {
    position: absolute;
    z-index: 1200;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    gap: 3px;
    width: 208px;
    max-width: calc(100vw - 32px);
    padding: 6px;
    margin: 0;
    border: 1px solid #dce3ed;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(8, 27, 49, .18);
    color: #15253b;
}
body.iv2026-shell .iv-language-switch:not([open]) > .iv-language-switch__menu { display: none; }
body.iv2026-shell .iv-language-switch__menu > .iv-language-switch__link {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 46px;
    padding: 10px 12px;
    margin: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #15253b !important;
    font: 600 14px/1.4 "Manrope", sans-serif;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
}
body.iv2026-shell .iv-language-switch__link .iv-language-switch__check { margin-left: auto; color: #5147bd; }
body.iv2026-shell .iv-language-switch__menu > .iv-language-switch__link.is-active { background: #eef2f8; }
body.iv2026-shell .iv-language-switch__menu > .iv-language-switch__link:hover { background: #e6ebf6; }
body.iv2026-shell .iv-language-switch__trigger:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
body.iv2026-shell .iv-language-switch__link:focus-visible { outline: 2px solid #655be8; outline-offset: -2px; }
body.iv2026-shell.dark-mode .iv-language-switch > .iv-language-switch__menu {
    background: #122a49;
    border-color: #3c526e;
    color: #f4f7fb;
}
body.iv2026-shell.dark-mode .iv-language-switch__menu > .iv-language-switch__link { color: #f4f7fb !important; }
body.iv2026-shell.dark-mode .iv-language-switch__menu > .iv-language-switch__link.is-active { background: #273d5c; }
body.iv2026-shell.dark-mode .iv-language-switch__menu > .iv-language-switch__link:hover { background: #324969; }
body.iv2026-shell.dark-mode .iv-language-switch__link .iv-language-switch__check { color: #b9b3ff; }
@media (min-width: 992px) {
    body.iv2026-shell details.iv-language-switch--mobile { display: none; }
}
@media (max-width: 991px) {
    body.iv2026-shell .iv-mobile-brand details.iv-language-switch--mobile { display: block; margin: 0; }
    body.iv2026-shell .iv-language-switch__trigger { gap: 6px; padding: 0 9px; }
}
@media (prefers-reduced-motion: reduce) {
    body.iv2026-shell .iv-language-switch__trigger { transition: none; }
}
