/* Compact local language picker, scoped to the guide. */
.tw-language-row{display:flex;align-items:center;justify-content:flex-start;gap:16px;margin-bottom:8px;min-width:0}
.guide-intro .tw-language-row .eyebrow{margin:0;min-width:0;flex:0 1 auto}
.tw-language-picker{position:relative;flex:none;font-size:14px;color:#125e59}
.tw-language-picker>:is(summary,.tw-language-trigger){display:flex;align-items:center;gap:7px;min-height:44px;padding:6px 10px;box-sizing:border-box;border:1px solid #c5d5ce;border-radius:8px;cursor:pointer;list-style:none;background:#fff;font-weight:650}
.tw-language-picker>:is(summary,.tw-language-trigger)::-webkit-details-marker{display:none}
.tw-language-picker>:is(summary,.tw-language-trigger)::after{content:'▾';font-size:12px}
.tw-language-picker svg{width:18px;height:18px;flex:none}
.tw-language-links{position:absolute;right:0;top:100%;z-index:12;width:156px;box-sizing:border-box;min-width:150px;max-width:calc(100vw - 40px);padding:4px;margin-top:6px;border:1px solid #c5d5ce;border-radius:8px;background:#fff;box-shadow:0 4px 14px #18272714}
.tw-language-links a{display:flex;align-items:center;min-height:44px;box-sizing:border-box;padding:8px 10px;color:#125e59;border-radius:0;border-left:2px solid transparent;text-decoration:none}
.tw-language-links a:hover{background:#f2f6f3}.tw-language-links a[aria-current='page']{border-left-color:#167c78;font-weight:700}
.tw-language-picker :is(summary,.tw-language-trigger):focus-visible,.tw-language-links a:focus-visible{outline:3px solid #167c78;outline-offset:2px}
.guide-article .tw-language-note{font-size:13px;line-height:1.65;margin-top:12px;color:#506360}
html[lang='ru'] .guide-article{font-family:Manrope,system-ui,sans-serif}
@media(max-width:600px){.tw-language-picker{font-size:13px}.tw-language-picker>:is(summary,.tw-language-trigger){padding:6px 8px}.tw-language-row{gap:8px;justify-content:space-between}.guide-intro .tw-language-row .eyebrow{font-size:10px;letter-spacing:.06em;flex:1}}
@media(forced-colors:active){.tw-language-picker>:is(summary,.tw-language-trigger),.tw-language-links{border-color:CanvasText}}

/* r8: compact reference dropdown, immediately below the unchanged button. */
.tw-language-row{justify-content:space-between}
.guide-intro .tw-language-row .eyebrow{flex:1}
.tw-language-trigger{font:inherit;line-height:inherit;text-align:left;color:inherit;appearance:none}
.tw-language-picker>.tw-language-trigger{font-weight:650}
.tw-language-popover{position:fixed;inset:auto;left:var(--tw-popover-left,0);top:var(--tw-popover-top,0);margin:0;padding:4px;width:100px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);box-sizing:border-box;overflow:auto;overscroll-behavior:contain;border:1px solid #c5d5ce;border-radius:8px;background:#fff;color:#125e59;font:13px/1.5 Manrope,system-ui,sans-serif;box-shadow:0 4px 14px #1827271f}
.tw-language-popover[hidden]{display:none}
.tw-language-popover::backdrop{background:transparent}
.tw-language-popover ul,.tw-language-popover li{list-style:none;margin:0;padding:0}
.tw-language-popover a{display:flex;align-items:center;min-height:44px;box-sizing:border-box;padding:6px 8px;border-left:2px solid transparent;color:#125e59;text-decoration:none;font-size:13px;line-height:1.5}
.tw-language-popover a[aria-current='page']{border-left-color:#167c78;font-weight:700}
.tw-language-popover a:hover{background:#f2f6f3}
.tw-language-popover a:focus-visible{outline:3px solid #167c78;outline-offset:-3px;border-radius:3px}
.tw-language-popover.tw-popover-fallback{z-index:10000}
@media(forced-colors:active){.tw-language-popover{border-color:CanvasText}.tw-language-popover a[aria-current='page']{border-left-color:Highlight}}
