.app-language-dialog{box-sizing:border-box;width:min(480px,94vw);max-width:94vw;max-height:92dvh;overflow:auto;border:1px solid var(--line,#70785f);border-radius:20px;padding:20px;background:var(--surface,#fff);color:var(--text,#1b211b);font-family:inherit}.app-language-dialog::backdrop{background:#0008}.app-language-dialog *{box-sizing:border-box}.app-language-dialog header,.app-language-dialog footer{display:flex;justify-content:space-between;align-items:center;gap:14px}.app-language-dialog h2{font-size:1.3rem;margin:0}.app-language-dialog button{min-width:48px;min-height:48px;border:1px solid var(--line,#70785f);border-radius:12px;padding:10px 18px;font-family:inherit;font-size:1rem;font-weight:700;background:var(--raised,#f3f5ed);color:var(--text,#1b211b);cursor:pointer}.app-language-dialog fieldset{padding:0;border:0;margin:20px 0}.app-language-dialog legend{font-size:.9rem;margin-bottom:12px;color:var(--text,#1b211b)}.app-language-choice{position:relative;display:flex;align-items:center;gap:14px;width:100%;min-height:70px;border:1px solid var(--line,#70785f);border-radius:13px;margin:10px 0;padding:12px 16px;cursor:pointer;background:var(--surface,#fff)}.app-language-choice.selected{border:2px solid var(--accent,#a7ba00);padding:11px 15px}.app-language-choice input{width:21px;height:21px;flex-shrink:0;accent-color:var(--accent,#a7ba00)}.app-language-choice>span:first-of-type{flex:1}.app-language-choice strong{display:block;font-size:1.15rem;font-weight:700;line-height:1.8}.app-language-choice small{display:block;font-size:.88rem;line-height:1.6;opacity:1;color:var(--text,#1b211b)}.app-language-choice .language-check{font-size:1.4rem;visibility:hidden}.app-language-choice.selected .language-check{visibility:visible}.app-language-dialog footer{position:sticky;bottom:-20px;background:var(--surface,#fff);padding:14px 0 4px}.app-language-dialog footer small{font-size:.85rem;line-height:1.7}.app-language-dialog footer button{font-weight:700;border:2px solid var(--accent,#a7ba00);min-width:105px}.app-language-dialog :is(button,input):focus-visible{outline:3px solid var(--text,#1b211b);outline-offset:3px}#language{white-space:normal;line-height:1.7;min-height:56px}html[lang=hi] :is(button,label,h1,h2,h3,input,select,textarea),html[lang=th] :is(button,label,h1,h2,h3,input,select,textarea){line-height:1.8}html[lang=zh-Hans] body{font-family:Manrope,'Noto Sans SC','Microsoft YaHei',sans-serif}html[lang=hi] body{font-family:Manrope,'Noto Sans Devanagari',sans-serif}html[lang=th] body{font-family:Manrope,'Noto Sans Thai',sans-serif}
