/* Self-contained language globe: no flashing or automatic rotation. */
.sgl-dialog{position:fixed;inset:0;width:min(920px,calc(100vw - 24px));max-width:920px;max-height:calc(100dvh - 24px);margin:auto;padding:0;border:1px solid #99c6b9;border-radius:24px;background:#f6f6ee;color:#153d36;font:16px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif;box-shadow:0 24px 80px #031a1aaa;overflow:auto}
.sgl-dialog::backdrop{background:#071c24c9;backdrop-filter:blur(5px)}
.sgl-dialog *{box-sizing:border-box}
.sgl-dialog [hidden]{display:none!important}
.sgl-shell{padding:24px}
.sgl-heading{display:flex;gap:16px;align-items:center;justify-content:space-between}
.sgl-eyebrow{margin:0 0 3px;color:#547366;text-transform:uppercase;letter-spacing:.15em;font-size:.72rem;font-weight:700}
.sgl-dialog h2{margin:0;font:600 clamp(24px,4vw,34px)/1.14 Georgia,serif;color:#153d36}
.sgl-close{flex:none;border-radius:50%!important;width:44px;height:44px;font-size:30px!important;line-height:1!important}
.sgl-dialog button{font:inherit;cursor:pointer;border:1px solid #8ba99d;background:#fffef8;color:#143b33;min-height:40px;border-radius:10px;padding:7px 12px}
.sgl-dialog button:hover{background:#e0f0e4;border-color:#45735d}
.sgl-dialog :is(button,input,summary,canvas):focus-visible{outline:3px solid #c57c06;outline-offset:4px}
.sgl-intro{margin:14px 0 16px;color:#405d54;max-width:75ch;font-size:.93rem}
.sgl-stage{position:relative;isolation:isolate;width:100%;height:clamp(300px,52vh,490px);overflow:hidden;border:1px solid #78a598;border-radius:19px;background:radial-gradient(ellipse at 50% 60%,#143d43 0%,#0c2832 58%,#061c28 100%)}
.sgl-canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:none}
.sgl-canvas.is-dragging{cursor:grabbing}
.sgl-dots{position:absolute;inset:0;pointer-events:none}
.sgl-dialog .sgl-dot{position:absolute;pointer-events:auto;transform:translate(-50%,-50%);border:1px solid #fff3b3;border-radius:50%;width:15px;height:15px;min-height:0;padding:0;background:#ffe9a0;box-shadow:0 0 8px 2px #ffed9977;z-index:1}
.sgl-dialog .sgl-dot::after{content:"";position:absolute;inset:-7px;border-radius:50%}
.sgl-dialog .sgl-dot:hover,.sgl-dialog .sgl-dot:focus-visible{background:#fff;box-shadow:0 0 0 4px #dceecf77;z-index:3}
.sgl-dialog .sgl-dot-current{border:2px solid #fff;background:#c9ffed;box-shadow:0 0 0 3px #2df1c866}
.sgl-dialog .sgl-dot-cluster{width:24px;height:24px;background:#fff2b9;color:#173c34;font-size:11px;font-weight:800;text-align:center;line-height:21px;box-shadow:0 0 10px 2px #ffe6a066}
.sgl-popover{position:absolute;z-index:6;width:min(290px,calc(100% - 16px));max-height:min(280px,calc(100% - 16px));overflow:auto;border:1px solid #abc5b8;border-radius:13px;background:#fffffa;color:#193e35;padding:10px;box-shadow:0 10px 30px #001c1d66}
.sgl-popover-title{margin:0 2px 8px;font-size:.8rem;font-weight:700;color:#547366}
.sgl-dialog .sgl-language-choice{display:flex;flex-direction:column;gap:1px;text-align:start;width:100%;border-color:#c3d4c9;background:#f4f8ed;padding:8px 10px;margin:0 0 6px}
.sgl-language-choice strong{font-size:.94rem}.sgl-language-choice span{font-size:.86rem}.sgl-language-choice small{font-size:.72rem;color:#4a665b}
.sgl-cluster-note{margin:8px 2px 0;font-size:.75rem;color:#50685f}
.sgl-scale{position:absolute;left:12px;bottom:10px;border-radius:8px;background:#061f2acc;padding:3px 8px;color:#ebf7e8;font-size:.76rem;pointer-events:none}
.sgl-controls{display:flex;flex-wrap:wrap;gap:7px;justify-content:center;margin:12px 0 6px}
.sgl-dialog .sgl-controls button{min-width:43px;font-size:18px;background:#fffdf2}
.sgl-dialog .sgl-controls button:last-child{font-size:.86rem}
.sgl-status{min-height:1.4em;margin:8px 0;color:#4f6d60;font-size:.81rem;text-align:center}
.sgl-search{margin-top:13px;border-top:1px solid #d4ddcf;padding-top:12px}
.sgl-search summary{cursor:pointer;font-size:.89rem;font-weight:600;display:list-item;list-style-position:inside}
.sgl-search label{display:block;margin-top:12px;font-size:.84rem;color:#405d54}
.sgl-search input{width:100%;max-width:490px;margin:5px 0 8px;background:#fffef9;border:1px solid #94aea0;border-radius:8px;padding:10px;color:#193d35;font:inherit}
.sgl-results{display:flex;gap:7px;flex-wrap:wrap}.sgl-results button{font-size:.85rem}.sgl-results p{width:100%;margin:2px 0;font-size:.8rem}
.sgl-footer{margin-top:17px;border-top:1px solid #d4ddcf;padding-top:12px;font-size:.75rem;line-height:1.5;color:#5a7167}.sgl-footer small{font-size:.72rem}
@media(max-width:440px){.sgl-dialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:16px}.sgl-shell{padding:15px}.sgl-stage{height:clamp(300px,48vh,420px);border-radius:13px}.sgl-intro{font-size:.84rem}.sgl-controls{gap:5px}.sgl-dialog .sgl-controls button{min-width:36px;min-height:38px;padding:5px 9px}.sgl-heading{gap:8px}.sgl-eyebrow{font-size:.63rem}.sgl-status{font-size:.73rem}}
@media(prefers-reduced-motion:reduce){.sgl-dialog *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(forced-colors:active){.sgl-stage{background:Canvas}.sgl-dialog .sgl-dot{forced-color-adjust:none;background:#ffef79;border:2px solid #000;box-shadow:0 0 0 2px #fff}.sgl-popover{border:2px solid CanvasText}.sgl-dialog :focus-visible{outline:3px solid Highlight}.sgl-scale{background:Canvas;color:CanvasText}}

.sgl-language-choice :is(strong,span,small){overflow-wrap:anywhere}
.sgl-dialog .sgl-cluster-zoom{width:100%;margin-bottom:8px;font-size:.8rem}
.sgl-cluster-filter-label{display:block;font-size:.76rem;color:#4b675b}
.sgl-cluster-filter{width:100%;font:inherit;font-size:.84rem;padding:7px;margin:4px 0 7px;border:1px solid #95ad9e;border-radius:7px;background:#fffef9;color:#193d35}
.sgl-cluster-count{font-size:.74rem;margin:2px 2px 7px;color:#516b5e}
.sgl-pager{display:flex;gap:6px;justify-content:space-between;width:100%;margin:5px 0}
.sgl-dialog .sgl-pager button{font-size:.79rem;min-height:34px;padding:5px 9px}
.sgl-dialog button:disabled{cursor:default;opacity:.5}
.sgl-availability{font-style:italic;color:#426354!important}

/* Glossy jewel tones and platinum surfaces, confined to the language globe. */
.sgl-dialog{border:2px solid #e7efff;background:linear-gradient(137deg,#ffffff 0%,#edf3ff 28%,#ffffff 42%,#e0e8f7 78%,#f9f5ff 100%);color:#172b57;box-shadow:0 0 0 1px #5976a6,0 2px 0 #fff inset,0 -3px 7px #697d9d88 inset,0 30px 90px #020a2bd9}
.sgl-eyebrow{color:#624291}.sgl-dialog h2{color:#173e79;text-shadow:0 1px 0 #fff,0 2px 2px #5874a733}
.sgl-intro{color:#354c6c}
.sgl-stage{border:2px solid #d7f4ff;background:radial-gradient(ellipse at 15% 18%,#164c96 0%,transparent 42%),radial-gradient(ellipse at 87% 13%,#552591 0%,transparent 41%),radial-gradient(ellipse at 58% 90%,#05645e 0%,#08142f 69%);box-shadow:0 0 0 1px #557da9,0 2px 8px #ffffff77 inset,0 -14px 30px #020a2c88 inset,0 10px 22px #1b36684d}
.sgl-dialog button{border-color:#788eb7;background:linear-gradient(165deg,#ffffff 0%,#f9fbff 23%,#d6e2f5 49%,#f2f7ff 55%,#c8d6ef 100%);color:#15315e;box-shadow:0 1px 0 #fff inset,0 -2px 3px #7187af55 inset,0 2px 3px #15244924;text-shadow:0 1px #fff}
.sgl-dialog button:hover{background:linear-gradient(165deg,#fff 0%,#e3fbff 42%,#b9d4f5 49%,#effbff 58%,#bdd9f9 100%);border-color:#2f70ba}
.sgl-dialog .sgl-controls button{background:linear-gradient(165deg,#fff 0%,#f1edff 34%,#d4d7f5 49%,#fff 56%,#d0dff4 100%)}
.sgl-dialog .sgl-dot{border:1px solid #ffffdd;background:radial-gradient(circle at 32% 24%,#fff 0%,#fff8bd 24%,#ffea00 58%,#ffcf00 100%);box-shadow:0 0 7px 2px #fff00099,0 0 16px #fff00055;text-shadow:none}
.sgl-dialog .sgl-dot-current{border:2px solid #f4ffff;background:radial-gradient(circle at 28% 20%,#fff 0%,#d2ffff 28%,#2ce3e8 66%,#127baf 100%);box-shadow:0 0 0 3px #29dce477,0 0 14px #69eaf8aa}
.sgl-dialog .sgl-dot-cluster{background:radial-gradient(ellipse at 35% 21%,#fff 0%,#fff9a3 36%,#ffea00 63%,#ffdf00 100%);color:#172447;box-shadow:0 0 11px 2px #ffe68d88;font-size:10px}
.sgl-popover{border:1px solid #d5edff;background:linear-gradient(140deg,#ffffff,#eef3ff 55%,#fbfaff);color:#18315b;box-shadow:0 0 0 1px #6984b0,0 12px 36px #010c34a6}
.sgl-popover-title,.sgl-cluster-count,.sgl-cluster-filter-label{color:#4c5d88}
.sgl-dialog .sgl-language-choice{border-color:#9aafd0;background:linear-gradient(163deg,#fff 0%,#edf6ff 42%,#dee8fa 51%,#fafcff 100%);color:#1e3964}
.sgl-status,.sgl-footer{color:#4c5d7a}.sgl-footer,.sgl-search{border-color:#bac7df}.sgl-scale{background:#091b3cd9;color:#e4f9ff;border:1px solid #9ac4ef77}
.sgl-dialog :is(button,input,summary,canvas):focus-visible{outline-color:#a44f00}
@media(forced-colors:active){.sgl-dialog,.sgl-popover{background:Canvas;color:CanvasText;box-shadow:none}.sgl-dialog button{background:ButtonFace;color:ButtonText;text-shadow:none}.sgl-stage{background:Canvas}.sgl-dialog .sgl-dot{forced-color-adjust:none;background:#ffef79;border:2px solid #000;box-shadow:0 0 0 2px #fff}}
/* List-first language chooser, v83. The globe is optional and follows the list. */
.sgl-shell{padding:24px}.sgl-views{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 8px}.sgl-dialog .sgl-list-button{font-weight:800;border-color:#173e79;background:linear-gradient(163deg,#fff 0%,#e4f4ff 44%,#96c6ef 52%,#eaf7ff 100%)}
.sgl-list-panel{scroll-margin-top:16px}.sgl-current{padding:10px 13px;border-inline-start:4px solid #146e65;background:#e5f4ee;color:#124d42;font-weight:650;border-radius:6px;margin:8px 0 16px;overflow-wrap:anywhere}
.sgl-search-label,.sgl-list-filters label>span{display:block;margin-bottom:5px;font-weight:650;font-size:.88rem;color:#283f63}
.sgl-dialog #sgl-search-input{width:100%;padding:12px 14px;border:1px solid #6c88ad;border-radius:8px;background:#fff;color:#142c50;font:inherit;min-height:46px;box-shadow:0 1px 3px #16325b16 inset}
.sgl-regions{display:flex;flex-wrap:wrap;gap:6px;margin:13px 0}.sgl-dialog .sgl-regions button{font-size:.88rem;min-height:42px}.sgl-dialog button[aria-pressed=true]{border-color:#173e79;background:linear-gradient(165deg,#fff 0%,#deecff 40%,#9fc3e9 50%,#e8f2ff 63%,#c9dff6 100%);font-weight:750;color:#103367;box-shadow:0 0 0 1px #173e79 inset}
.sgl-list-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin:14px 0}.sgl-list-filters label{min-width:0}.sgl-list-filters select{width:100%;min-height:44px;font:inherit;font-size:.9rem;border:1px solid #879bbb;border-radius:8px;background:#fff;color:#19365f;padding:9px}
.sgl-list-modes{display:flex;gap:7px}.sgl-dialog .sgl-list-modes button{font-size:.87rem;min-height:40px}.sgl-list-count{margin:14px 0 9px;font-size:.86rem;color:#425976;scroll-margin:14px}.sgl-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;align-items:stretch}.sgl-dialog .sgl-results .sgl-language-choice{margin:0;min-height:92px;height:100%;justify-content:center;text-align:start;gap:3px;padding:10px 12px;overflow-wrap:anywhere}.sgl-results .sgl-language-choice strong{font-size:1rem;font-weight:750;line-height:1.25}.sgl-results .sgl-language-choice span{color:#3e5577}.sgl-results .sgl-language-choice .sgl-availability{font-size:.72rem;line-height:1.3;font-style:normal;color:#37556b!important}.sgl-dialog .sgl-results button[aria-current=true]{border:2px solid #0c7869;background:linear-gradient(145deg,#fff,#dbf2ec);box-shadow:0 0 0 1px #b0ddd4 inset}.sgl-current-badge{font-weight:800;color:#0b5d4f}.sgl-list-pager{margin:15px 0 5px}.sgl-dialog .sgl-list-pager button{min-height:42px;min-width:100px}
.sgl-results.sgl-location-results{display:block}.sgl-country-row{display:grid;grid-template-columns:minmax(100px,160px) minmax(0,1fr);gap:12px;border-bottom:1px solid #b6c7df;padding:15px 0}.sgl-country-row h3{margin:5px 0;font-size:1rem;line-height:1.4;color:#183d71;overflow-wrap:anywhere}.sgl-country-languages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sgl-country-row details{grid-column:2}.sgl-country-row summary{cursor:pointer;font-weight:650;color:#1f4e83;padding:7px 0}.sgl-country-row details[open]{display:flex;flex-wrap:wrap;gap:7px}.sgl-country-row details[open]>summary{width:100%}.sgl-dialog .sgl-results .sgl-country-row .sgl-inline-choice{min-height:68px;font-size:.86rem}.sgl-country-row details>.sgl-inline-choice{max-width:calc(50% - 4px)}
.sgl-globe-section{margin-top:22px;border-top:2px solid #9bb7d6;padding-top:16px;scroll-margin-top:16px}.sgl-globe-section>summary{font-weight:750;color:#214c7c;cursor:pointer;font-size:1rem;padding:10px 0;min-height:44px;list-style-position:inside}.sgl-globe-intro{font-size:.86rem;max-width:80ch;color:#435b78;margin:4px 0 14px}.sgl-dialog :is(select,details>summary):focus-visible{outline:3px solid #a44f00;outline-offset:3px}
@media(max-width:680px){.sgl-results{grid-template-columns:repeat(2,minmax(0,1fr))}.sgl-country-row{grid-template-columns:minmax(75px,120px) minmax(0,1fr)}.sgl-country-languages{grid-template-columns:1fr}.sgl-country-row details>.sgl-inline-choice{max-width:100%}.sgl-list-filters{gap:9px}}
@media(max-width:440px){.sgl-shell{padding:15px}.sgl-dialog h2{font-size:24px}.sgl-list-filters{grid-template-columns:1fr}.sgl-country-row{display:block}.sgl-country-row h3{margin-bottom:10px}.sgl-country-languages{grid-template-columns:repeat(2,minmax(0,1fr))}.sgl-dialog .sgl-results .sgl-language-choice{padding:9px;min-height:96px}.sgl-results .sgl-language-choice strong{font-size:.94rem}.sgl-list-count{font-size:.8rem}}
@media(forced-colors:active){.sgl-current{background:Canvas;color:CanvasText}.sgl-dialog button[aria-pressed=true],.sgl-dialog .sgl-results button[aria-current=true]{outline:2px solid Highlight;background:Canvas;color:CanvasText;box-shadow:none}.sgl-search-label,.sgl-list-filters label>span,.sgl-country-row h3,.sgl-globe-section>summary{color:CanvasText}}
