/* Warm, consistent country flags independent of the operating system's emoji font. */
#countrySelect[hidden],#localeDialog .country-picker-panel[hidden],#localeDialog .country-no-results[hidden],#localeDialog .country-options[hidden]{display:none!important}
#localeDialog .country-picker{position:relative;width:100%;min-width:0}
#localeDialog .country-trigger{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:51px;width:100%;padding:12px 15px;border:1px solid #cfc5b1;border-radius:5px;background:#fffdf7;color:var(--ink);font-size:14px;line-height:1.5;text-align:left}
#localeDialog .country-trigger:hover,#localeDialog .country-trigger[aria-expanded=true]{border-color:#ae8c54;background:#fffaf0}
#localeDialog #countrySelectedText{min-width:0;overflow-wrap:anywhere}
#localeDialog .country-trigger-end{display:flex;align-items:center;gap:13px;flex-shrink:0}
#localeDialog .country-flag{width:32px;height:24px;max-width:none;flex-shrink:0;display:block;object-fit:contain;border:1px solid #e0dbce;border-radius:2px;background:#fff}
#localeDialog .country-chevron{font-size:17px;line-height:1;color:#8c7959;transition:transform .2s}
#localeDialog [aria-expanded=true] .country-chevron{transform:rotate(180deg)}
#localeDialog .country-picker-panel{position:absolute;top:calc(100% + 7px);left:0;right:0;z-index:12;border:1px solid #d5c5aa;border-radius:9px;background:#fffdf8;box-shadow:0 12px 35px #69543122;overflow:hidden}
#localeDialog .country-picker-panel[data-placement=above]{top:auto;bottom:calc(100% + 7px)}
#localeDialog .country-search-wrap{padding:10px;border-bottom:1px solid #ece4d5;background:#fbf7ef}
#localeDialog #countrySearch{box-sizing:border-box;width:100%;min-width:0;margin:0;border:1px solid #e0d5c0;border-radius:5px;background:#fffefa;color:var(--ink);padding:9px 11px;font-family:var(--sans);font-size:13px;line-height:1.5;min-height:39px;outline-offset:1px}
#localeDialog .country-options{max-height:250px;overflow-y:auto;overscroll-behavior:contain;scroll-padding:5px;padding:5px;scrollbar-width:thin;scrollbar-color:#c5b38f #fbf7ef;outline-offset:-3px}
#localeDialog .country-option{display:grid;grid-template-columns:18px minmax(0,1fr) 32px;align-items:center;gap:9px;width:100%;min-height:42px;padding:9px 10px;border:1px solid transparent;border-radius:5px;color:#514f43;background:transparent;text-align:left;font-family:var(--sans);font-size:13px;line-height:1.45}
#localeDialog .country-option .country-name{min-width:0;overflow-wrap:anywhere}
#localeDialog .country-option:hover,#localeDialog .country-option.is-active{background:#f5f0e4;border-color:#e5d6bc}
#localeDialog .country-option.is-selected{background:#eee9db;color:#465a3f;border-color:#d7c8a9;font-weight:650}
#localeDialog .country-check{color:#6b805a;font-size:14px;text-align:center}
#localeDialog .country-no-results{font-size:12px;line-height:1.7;text-align:center;padding:20px 15px;color:#89775b}
@media(max-width:600px){#localeDialog .country-trigger{min-height:49px;font-size:14px;padding:11px 12px}#localeDialog #countrySearch{font-size:16px}#localeDialog .country-option{min-height:44px;font-size:13px;padding-inline:7px;gap:7px}#localeDialog .country-flag{width:30px;height:22.5px}#localeDialog .country-trigger-end{gap:10px}}
