.has-language-picker{flex-wrap:wrap;gap:12px!important}.language-picker{display:inline-flex;align-items:center;gap:7px;max-width:100%;font:12px/1.5 system-ui,sans-serif;color:#29483e;letter-spacing:0;text-transform:none}.language-picker select{font:14px/1.5 system-ui,sans-serif;color:#29483e;background:#fffdf5;border:1px solid #aabdac;border-radius:5px;padding:7px 25px 7px 9px;max-width:160px;min-height:36px}.language-picker select:focus-visible{outline:3px solid #bc9951;outline-offset:2px}.language-notice{font:13px/1.7 system-ui,sans-serif;color:#4c6457;background:#eef1e6;border:1px solid #d5ddca;padding:12px 18px;margin:16px auto;max-width:1100px;box-sizing:border-box}.language-notice[hidden]{display:none}.book>.language-notice{margin:16px 24px}.header-actions{min-width:0}html:not([lang=en]) .hero{height:auto;min-height:550px}html:not([lang=en]) .hero-quote{height:auto}html:not([lang=en]) .topic{overflow-wrap:anywhere}html:lang(zh),html:lang(ja),html:lang(ko){line-break:auto}html:lang(hi) body{font-family:system-ui,'Nirmala UI',sans-serif}html:lang(hi) h1,html:lang(hi) h2,html:lang(hi) h3{line-height:1.5}@media(max-width:600px){.language-picker{gap:5px}.language-picker>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.language-picker select{max-width:130px;font-size:13px}.language-notice{margin:12px 10px}.header-actions{flex-wrap:wrap;justify-content:flex-end}.masthead{flex-wrap:wrap}html:not([lang=en]) .hero{min-height:550px;height:auto}}
/* Globe trigger and native modal shared across all public pages. */
button.language-picker{display:inline-flex!important;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px!important;padding:7px!important;border:1px solid #bccbbb!important;border-radius:50%!important;background:#fffdf5!important;color:#29483e;cursor:pointer;flex-shrink:0;box-shadow:0 2px 8px #24483b0a}
button.language-picker:hover{background:#edf3e8!important;border-color:#749782!important;transform:translateY(-1px)}
button.language-picker:focus-visible,.language-dialog button:focus-visible{outline:3px solid #c7a65a;outline-offset:3px}
dialog.language-dialog{box-sizing:border-box;width:min(540px,calc(100% - 32px));max-height:calc(100dvh - 40px);margin:auto;padding:32px;border:1px solid #b6c8b6;border-radius:18px;color:#29483e;background:#fffdf5;box-shadow:0 24px 80px #102d3540;overflow:auto}
dialog.language-dialog::backdrop{background:#173c3b80;backdrop-filter:blur(4px)}
.language-dialog #language-dialog-title{margin:0 40px 24px 0;font:400 30px/1.3 Georgia,serif;letter-spacing:0;color:#29483e}
.language-dialog .language-close{position:absolute;top:14px;right:16px;width:36px;height:36px;min-height:0;padding:0;border:0;border-radius:50%;background:transparent;font:26px/1 system-ui;color:#597165;cursor:pointer}
.language-dialog .language-close:hover{background:#e8eee1}
.language-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.language-dialog .language-choice{display:flex;align-items:center;gap:12px;box-sizing:border-box;min-width:0;min-height:60px;padding:13px 12px;border:1px solid #dce2d2;border-radius:10px;background:#fffef9;color:#304d42;font:15px/1.5 system-ui,sans-serif;text-align:left;text-transform:none;letter-spacing:0;cursor:pointer}
.language-choice img{display:block;flex-shrink:0;width:36px;height:24px;border-radius:3px;box-shadow:0 0 0 1px #18352e18;object-fit:cover}
.language-choice>span:not(.language-check){overflow-wrap:anywhere}
.language-dialog .language-choice:hover{border-color:#819f87;background:#f2f5eb}
.language-dialog .language-choice[aria-pressed=true]{border-color:#467b66;background:#e8f0e3;color:#234e3c;box-shadow:inset 0 0 0 1px #467b66}
.language-check{margin-left:auto;color:#3c7959;font-weight:700;visibility:hidden}.language-choice[aria-pressed=true] .language-check{visibility:visible}
@media(max-width:420px){dialog.language-dialog{padding:24px 18px}.language-dialog .language-choice{gap:8px;padding:12px 9px;font-size:14px}.language-grid{gap:8px}.language-choice img{width:30px;height:20px}}
