.language-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:48px;min-height:44px}.language-toggle img{display:block;width:36px;height:24px;border-radius:2px;box-shadow:0 0 0 1px #38272025}.language-code{font-size:12px;font-weight:800}.language-dialog{box-sizing:border-box;width:min(94vw,480px);padding:38px 26px 26px}.language-dialog h2{font-size:34px;line-height:1.12;margin-bottom:12px}.language-dialog p{font-size:18px;line-height:1.45}.language-welcome span{display:block;margin:6px 0}.language-choices{display:grid;gap:12px;margin:24px 0}.language-choices button{width:100%;min-height:60px;font-size:24px}.language-choices [aria-pressed=true]{border-color:var(--teal);background:#dcece2}.header-actions{flex-wrap:wrap}.header-actions #language-open{flex-shrink:0}@media(max-width:700px){.language-code{display:none}.site-header .header-actions{gap:4px}.language-toggle{padding:6px}.language-dialog h2{font-size:30px}html:not([lang=en]) .hero h1{font-size:clamp(44px,11vw,72px)}html:not([lang=en]) .quiet{font-size:16px}html:not([lang=en]) .primary,html:not([lang=en]) .secondary{font-size:22px;overflow-wrap:break-word}}
.font-language-controls{display:inline-flex;align-items:center;gap:4px;flex-shrink:0}@media(max-width:600px){.header-actions #account-open{margin-right:auto}.header-actions #recent-open:not([hidden]),.header-actions #recent-open:not([hidden])+#account-open{flex:1 1 calc(50% - 4px);white-space:normal;text-align:left;justify-content:flex-start;margin-right:0}.header-actions #help-open{margin-left:auto}}
.language-dialog{width:min(94vw,620px);max-height:92dvh;overflow-y:auto;background:var(--paper);padding:46px 24px 20px}
.language-dialog h2{text-align:center;font-family:var(--display);font-size:clamp(28px,5vw,42px)}
.language-choices{gap:10px;margin:20px 0 8px}
.language-choices button{display:grid;grid-template-columns:76px minmax(0,1fr);gap:18px;padding:8px 20px;min-height:94px;text-align:left;font:700 clamp(24px,5vw,34px)/1.15 var(--display);border:2px solid var(--wine)}
.language-choices img{width:76px;height:76px;object-fit:contain;border-radius:14px}
.language-choices button span{border-left:1px solid var(--line);padding-left:18px;overflow-wrap:anywhere}
@media(max-width:380px){.language-dialog{padding:42px 14px 14px}.language-choices button{grid-template-columns:58px minmax(0,1fr);gap:10px;padding:6px 12px;min-height:76px}.language-choices img{width:58px;height:58px}.language-choices button span{padding-left:12px}}
