/* Isolated shared picker: original controls remain connected to their existing engines. */
html body .pg221-trigger{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-width:0!important;max-width:100%;height:42px;min-height:40px!important;padding:8px 13px!important;border:1px solid #d7dfec!important;border-radius:13px!important;background:linear-gradient(130deg,#fff,#f4f7fc)!important;color:#15233d!important;font-family:inherit;font-weight:600;font-size:14px;line-height:1.2;white-space:nowrap!important;box-shadow:0 2px 3px #13224103!important;cursor:pointer!important;text-transform:none!important;letter-spacing:normal!important;box-sizing:border-box!important;overflow:hidden!important;flex-shrink:0}
html body .pg221-trigger>:not(.pg221-face){display:none!important}html body .pg221-trigger .pg221-face{display:flex!important;align-items:center;gap:10px;min-width:0;pointer-events:none}html body .pg221-trigger .pg221-native{display:block!important;min-width:0;max-width:160px;overflow:hidden;text-overflow:ellipsis;font:inherit;letter-spacing:normal}html body .pg221-trigger .pg221-mark{display:block!important;width:21px;height:21px;flex:0 0 21px;background:#1464ff;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h12M9 2v3M5 5c0 5 4 9 9 11M13 5c-1 6-5 10-10 12m11 4 4-11 4 11m-6.5-4h5'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}html body .pg221-trigger .pg221-chevron{display:block!important;width:8px;height:8px;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:rotate(45deg);margin:-4px 2px 0 6px;flex:0 0 8px}html body .pg221-trigger[aria-expanded=true]{border-color:#2971ff!important;box-shadow:0 0 0 3px #276aff15!important}html body .pg221-trigger:focus-visible{outline:3px solid #6fa0ff!important;outline-offset:3px}
html body .pg221-native-hidden{display:none!important}html body .pg221-label-text{display:none!important}
html body dialog#pg221-language{--p221-bg:#fff;--p221-card:#fff;--p221-text:#10203d;--p221-muted:#75829b;--p221-line:#dce3ef;--p221-selected:#edf4ff;position:fixed;inset:auto;margin:0;padding:25px 25px 18px;width:620px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border:1px solid var(--p221-line);border-radius:24px;background:var(--p221-bg);color:var(--p221-text);box-shadow:0 20px 80px #172c5330;overflow:hidden;box-sizing:border-box;font-family:inherit;text-align:start;z-index:2147483600}
html body #pg221-language::backdrop{background:#dae9ff2b;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}html body #pg221-language *{box-sizing:border-box;font-family:inherit}#pg221-language .pg221-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:19px}#pg221-language h2{font-size:23px;line-height:1.25;font-weight:700;margin:0;color:var(--p221-text);letter-spacing:-.02em}#pg221-language .pg221-close{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;background:transparent;border:0;border-radius:10px;color:var(--p221-muted);padding:6px;cursor:pointer;font-size:28px;line-height:1}#pg221-language .pg221-close:hover{background:var(--p221-selected);color:var(--p221-text)}#pg221-language .pg221-searchbox{display:flex;align-items:center;gap:12px;padding:0 16px;border:1px solid var(--p221-line);border-radius:14px;background:var(--p221-card);height:51px;margin-bottom:15px}#pg221-language .pg221-searchbox:focus-within{border-color:#2872ff;box-shadow:0 0 0 3px #2872ff10}#pg221-language .pg221-searchbox svg{width:22px;height:22px;fill:none;stroke:var(--p221-muted);stroke-width:1.8;flex-shrink:0}#pg221-language input{display:block;width:100%;min-width:0;background:transparent;border:0;outline:0;box-shadow:none;color:var(--p221-text);font-size:16px;line-height:1.4;padding:10px 0;margin:0}#pg221-language input::placeholder{color:var(--p221-muted);opacity:1}#pg221-language .pg221-scroll{max-height:min(470px,calc(100dvh - 250px));overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c9d3e4 transparent;padding:1px 7px 1px 1px;margin-inline-end:-7px}#pg221-language .pg221-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}html body #pg221-language .pg221-option{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;min-height:70px;width:100%;padding:12px 17px;border:1px solid var(--p221-line);border-radius:14px;background:var(--p221-card);color:var(--p221-text);text-align:start;font:inherit;cursor:pointer;box-shadow:none;transition:background .12s,border-color .12s}#pg221-language .pg221-option strong{display:block;font-size:17px;line-height:1.25;font-weight:650;overflow-wrap:normal}#pg221-language .pg221-option small{display:block;color:var(--p221-muted);font-size:14px;line-height:1.4;margin-top:3px}#pg221-language .pg221-option:hover{border-color:#92b7ff;background:var(--p221-selected)}html body #pg221-language .pg221-option[aria-pressed=true]{border-color:#1767ff;background:var(--p221-selected);box-shadow:inset 0 0 0 .3px #1767ff}#pg221-language .pg221-check{visibility:hidden;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#1767ff;color:#fff;font-size:17px;flex-shrink:0}#pg221-language .pg221-option[aria-pressed=true] .pg221-check{visibility:visible}#pg221-language [hidden]{display:none!important}#pg221-language .pg221-footer{margin:16px 0 0;color:var(--p221-muted);font-size:14px;line-height:1.4}#pg221-language .pg221-error{margin:10px 0 0;color:#ba354c;font-size:14px;line-height:1.4}#pg221-language .pg221-error:empty{display:none}#pg221-language .pg221-empty{color:var(--p221-muted);font-size:15px;margin:12px 0}#pg221-language button:focus-visible{outline:3px solid #72a2ff;outline-offset:2px}html body #pg221-language[aria-busy=true] .pg221-option{opacity:.55;cursor:wait}
html[data-theme=dark] body dialog#pg221-language,html.dark body dialog#pg221-language{--p221-bg:#141e30;--p221-card:#182337;--p221-text:#edf3ff;--p221-muted:#a8b6cc;--p221-line:#33415a;--p221-selected:#1d355b;box-shadow:0 24px 80px #0008}html[data-theme=dark] body .pg221-trigger,html.dark body .pg221-trigger{background:linear-gradient(130deg,#182337,#141e30)!important;border-color:#33415a!important;color:#edf3ff!important}html[data-theme=dark] body #pg221-language::backdrop{background:#03091550}html[data-theme=dark] #pg221-language .pg221-error{color:#ff9eaf}
@media(max-width:650px){html body dialog#pg221-language{padding:20px 17px 16px;border-radius:21px;max-width:calc(100vw - 20px)}#pg221-language h2{font-size:21px}#pg221-language .pg221-option{padding:12px;min-height:71px;gap:8px}#pg221-language .pg221-option strong{font-size:16px}#pg221-language .pg221-option small{font-size:13px}#pg221-language .pg221-check{width:21px;height:21px;font-size:15px}html body .pg221-trigger{height:38px;min-height:38px!important;padding:7px 10px!important;gap:7px!important;font-size:13px!important}html body .pg221-trigger .pg221-face{gap:7px}html body .pg221-trigger .pg221-native{max-width:105px}html body .pg221-trigger .pg221-mark{width:19px;height:19px;flex-basis:19px}#pg221-language .pg221-grid{gap:8px}}
@media(max-width:355px){#pg221-language .pg221-grid{grid-template-columns:1fr}#pg221-language .pg221-option{min-height:61px}}
@media(prefers-reduced-motion:reduce){#pg221-language *{transition:none!important}}
@media print{html body #pg221-language{display:none!important}}
/* Some legacy tool styles turn every dialog div into a flex row. Keep this popup self-contained. */
html body dialog#pg221-language[open]{display:block}
html body #pg221-language .pg221-scroll{display:block;width:calc(100% + 7px);min-width:0}
html body #pg221-language .pg221-grid{display:grid;width:100%;min-width:0}
html body #pg221-language .pg221-option>span:first-child{display:block;min-width:0}

html body #pg221-language .pg221-check{position:absolute;inset-inline-end:14px;top:calc(50% - 12.5px)}
html body #pg221-language .pg221-option[aria-pressed=true]{padding-inline-end:47px}
@media(max-width:650px){html body #pg221-language .pg221-check{inset-inline-end:11px;top:calc(50% - 10.5px)}html body #pg221-language .pg221-option[aria-pressed=true]{padding-inline-end:37px}}
html body #pg221-language .pg221-searchbox input{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;font-size:16px!important;height:auto!important;min-height:0!important}

/* v223 compact popover; existing menu placement and language actions retained. */
html body dialog#pg221-language{width:440px;padding:17px 17px 13px;border-radius:18px}
html body #pg221-language .pg221-head{margin-bottom:11px;gap:10px}
html body #pg221-language h2{font-size:18px;line-height:1.25}
html body #pg221-language .pg221-close{width:30px;height:30px;flex-basis:30px;font-size:24px;padding:4px}
html body #pg221-language .pg221-searchbox{height:42px;padding:0 12px;margin-bottom:11px;border-radius:11px;gap:9px}
html body #pg221-language .pg221-searchbox svg{width:19px;height:19px}
html body #pg221-language .pg221-grid{gap:7px}
html body #pg221-language .pg221-option{min-height:52px;padding:9px 11px;border-radius:10px}
html body #pg221-language .pg221-option strong{font-size:14px;line-height:1.25}
html body #pg221-language .pg221-option small{font-size:12px;line-height:1.3;margin-top:2px}
html body #pg221-language .pg221-option[aria-pressed=true]{padding-inline-end:35px}
html body #pg221-language .pg221-check{width:19px;height:19px;top:calc(50% - 9.5px);inset-inline-end:10px;font-size:13px}
html body #pg221-language .pg221-footer{font-size:12px;margin-top:10px}
html body #pg221-language .pg221-error{font-size:12px}
@media(max-width:355px){html body #pg221-language .pg221-option{min-height:50px}}

/* v225 mini selector: CSS owns sizing even if an older JS file is cached. */
html body .pg221-trigger{height:32px!important;min-height:32px!important;padding:5px 9px!important;border-radius:9px!important;font-size:12px!important}
html body .pg221-trigger .pg221-face{gap:6px!important}
html body .pg221-trigger .pg221-mark{width:16px!important;height:16px!important;flex-basis:16px!important}
html body .pg221-trigger .pg221-native{max-width:96px!important}
html body .pg221-trigger .pg221-chevron{width:6px!important;height:6px!important;flex-basis:6px!important;margin-inline-start:3px!important}
html body dialog#pg221-language{width:310px!important;max-width:calc(100vw - 20px)!important;max-height:min(370px,calc(100dvh - 20px))!important;padding:12px!important;border-radius:14px!important}
html body #pg221-language .pg221-head{margin-bottom:8px!important;gap:7px!important}
html body #pg221-language h2{font-size:16px!important;line-height:1.25!important}
html body #pg221-language .pg221-close{width:26px!important;height:26px!important;flex-basis:26px!important;font-size:21px!important}
html body #pg221-language .pg221-searchbox{height:36px!important;margin-bottom:8px!important;padding:0 10px!important;border-radius:8px!important}
html body #pg221-language .pg221-searchbox svg{width:16px!important;height:16px!important}
html body #pg221-language .pg221-scroll{max-height:min(225px,calc(100dvh - 160px))!important}
html body #pg221-language .pg221-grid{grid-template-columns:1fr!important;gap:4px!important}
html body #pg221-language .pg221-option{min-height:36px!important;padding:8px 30px 8px 9px!important;border-radius:7px!important}
html body #pg221-language .pg221-option>span:first-child{display:flex!important;align-items:baseline!important;gap:8px!important;flex-wrap:wrap!important}
html body #pg221-language .pg221-option strong{font-size:13px!important;line-height:1.2!important}
html body #pg221-language .pg221-option small{font-size:11px!important;line-height:1.2!important;margin:0!important}
html body #pg221-language .pg221-check{width:16px!important;height:16px!important;top:calc(50% - 8px)!important;inset-inline-end:8px!important;font-size:11px!important}
html body #pg221-language .pg221-footer{font-size:11px!important;margin-top:8px!important}
