.country-settings-button{border:1px solid #b6cadb;border-radius:6px;background:#f3f8fd;color:#173d5e;padding:8px 12px;font:inherit;font-weight:700;white-space:nowrap;cursor:pointer}
.country-settings-button[hidden],.countries a[hidden],.country-switch a[hidden],main[hidden]{display:none!important}
#countryControlsDialog{width:min(520px,94vw);border:1px solid #c7d6e4;border-radius:10px;padding:22px;color:#193a55;box-shadow:0 18px 50px #183b5b55}
#countryControlsDialog::backdrop{background:#173a5b80}
#countryControlsDialog .country-settings-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
#countryControlsDialog h2{margin:0}
#countryControlsDialog p{color:#597085;line-height:1.5}
#countryControlsDialog button{border:1px solid #b6cadb;border-radius:6px;background:#fff;color:#173d5e;padding:7px 13px;font:inherit;cursor:pointer}
#countryControlsDialog .country-settings-head button{font-size:22px;line-height:1}
#countryControlsDialog .country-toggle{position:relative;display:inline-flex;align-items:center;justify-content:flex-end;width:56px;height:32px;min-width:56px;padding:0 7px;border:1px solid #d2dce7;border-radius:999px;background:#dce5ee;box-shadow:none;cursor:pointer;transition:background-color .22s ease,border-color .22s ease}
#countryControlsDialog .country-toggle[aria-checked="true"]{background:#f97316;border-color:#ea580c}
.country-toggle-knob{position:absolute;left:3px;top:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #173a5b55;transition:transform .22s ease}
.country-toggle[aria-checked="true"] .country-toggle-knob{transform:translateX(24px)}
.country-toggle-action{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.country-settings-row .country-toggle:focus-visible{outline:2px solid #f97316;outline-offset:3px}
.country-settings-row .country-toggle:disabled{opacity:.65;cursor:wait}
@media(prefers-reduced-motion:reduce){.country-settings-row .country-toggle,.country-settings-row .country-toggle-knob{transition:none}}
.country-settings-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #dce6ef}
.country-settings-row strong{min-width:80px}
.country-settings-row span{margin-right:auto;font-size:13px;font-weight:700}
.country-settings-row .on{color:#237b58}
.country-settings-row .off{color:#a34442}
#countryControlsError{color:#ad3535;min-height:18px}
#countryClosedNotice{margin:12vh auto;padding:30px;width:min(520px,90vw);border:1px solid #d2dfe9;border-radius:10px;background:#fff;text-align:center;color:#193a55}
.country-settings-group{border-top:1px solid #dce6ef}
#countryControlsDialog .country-settings-group .country-settings-row{border:0;padding:10px 0}
#countryControlsDialog .country-expand{display:flex;align-items:center;gap:6px;flex:1;min-width:0;padding:5px 0;border:0;background:transparent;text-align:left;color:#193a55;font-weight:700}
#countryControlsDialog .country-expand strong{min-width:0}
.country-chevron{display:inline-block;margin-left:4px;margin-right:0!important;color:#6a7f94;transition:transform .3s ease}
.country-expand[aria-expanded=true] .country-chevron{transform:rotate(180deg)}
.country-city-reveal{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .32s ease,opacity .26s ease}
.country-settings-group.expanded .country-city-reveal{grid-template-rows:1fr;opacity:1}
.country-city-inner{min-height:0;overflow:hidden;padding-left:12px}
.country-city-row{display:flex;align-items:center;gap:10px;min-height:44px;padding:5px 0;border-top:1px solid #e8eef4;font-size:12px}
.country-city-row>span:first-child{flex:1;min-width:0}
.country-city-row .on,.country-city-row .off{font-weight:700}
#countryControlsDialog .country-city-row .country-toggle{box-sizing:border-box;flex:0 0 42px;width:42px;height:24px;min-width:42px;min-height:24px;max-height:24px;padding:0}
#countryControlsDialog .country-city-row .country-toggle-knob{left:2px;top:2px;width:18px;height:18px}
#countryControlsDialog .country-city-row .country-toggle[aria-checked=true] .country-toggle-knob{transform:translateX(20px)}
@media(prefers-reduced-motion:reduce){.country-city-reveal,.country-chevron{transition:none}}
#countryClosedNotice a{display:inline-block;margin:8px;padding:9px 16px;border:1px solid #b6cadb;border-radius:6px;color:#174e80;text-decoration:none}
