/* Compact, keyboard-accessible RU / EN control in the existing Dory header. */
.account-page .header {gap:10px}
.account-page .header .brand {margin-right:auto;flex-shrink:1}
.account-page .language-switch {display:flex;align-items:center;flex:0 0 auto;gap:3px;padding:3px;margin:0 0 0 auto;border:1px solid #2a354a;border-radius:12px;background:#101722;min-width:90px;box-sizing:border-box;order:1}
.account-page .language-switch button {appearance:none;display:grid;place-items:center;min-width:40px;min-height:36px;padding:7px 9px;margin:0;border:1px solid transparent;border-radius:8px;font:700 11px/1.2 Inter,system-ui,sans-serif;letter-spacing:.025em;color:#91a3bd;background:transparent;box-shadow:none;cursor:pointer;touch-action:manipulation}
.account-page .language-switch button.selected {background:linear-gradient(150deg,#347df6,#165bce);color:#fff;border-color:#5698ff;box-shadow:0 2px 10px #1476ff30}
.account-page .language-switch button:focus-visible {outline:2px solid #9ac5ff;outline-offset:2px}
.account-page .header .preview-profile {order:2;flex:0 0 auto;margin-left:0}
html[lang="ru"] [data-launch-language="en"],html[lang="en"] [data-launch-language="ru"] {display:none!important}
html[lang="en"] .account-page .sidebar>button {overflow-wrap:normal;word-break:normal}
html[lang="en"] .account-page .preview-guide-tabs button {white-space:normal;line-height:1.25}
html[lang="en"] .account-page .preview-product-foot small {min-width:0;overflow-wrap:anywhere}
@media(max-width:360px){.account-page .header{gap:7px}.account-page .language-switch{min-width:80px;padding:2px;gap:1px;border-radius:10px}.account-page .language-switch button{min-width:36px;min-height:34px;padding:6px;font-size:10px}body.account-page.dory-preview .brand{font-size:14px!important}body.account-page.dory-preview .brand img{width:42px!important}.account-page .header .preview-profile>summary{width:30px;height:32px}}
@media(prefers-reduced-motion:reduce){.account-page .language-switch button{transition:none}}
