/* Compact location form; preserves existing selectors and location logic. */
html body header .location-tab[open]>.location-filters{width:min(370px,calc(100vw - 24px));padding:16px!important;border-radius:16px;grid-template-columns:minmax(0,1fr) auto!important;gap:10px 8px!important}
html body header .location-tab .location-filters>label,
html body header .location-tab .location-filters>.state-picker-field{grid-column:1/-1!important;display:grid!important;grid-template-columns:100px minmax(0,1fr)!important;align-items:center;gap:10px!important;margin:0!important;font-size:13px}
html body header .location-tab .location-filters>.state-picker-field>label{margin:0!important;display:block!important;font-size:13px}
html body header .location-tab .location-filters select,
html body header .location-tab .location-filters .state-picker-button{margin:0!important;height:44px;min-height:44px;padding:8px 10px;font-size:14px!important;border-radius:9px}
html body header .location-tab .location-filters>.detect-location{grid-column:1!important;grid-row:4;display:flex;align-items:center;margin:2px 0 0;min-width:0}
html body header .location-tab .location-filters .location-or{display:none!important}
html body header .location-tab .location-filters #use-location{padding:8px 0;min-height:44px;background:transparent;border:0;box-shadow:none;font-size:12px;color:#0868b9;text-align:left;width:auto}
html body header .location-tab .location-filters>#submit-location{grid-column:2!important;grid-row:4;min-height:44px;padding:8px 16px;width:auto;margin:2px 0 0;border-radius:9px;align-self:center}
html body header .location-tab .location-filters>#location-status{grid-column:1/-1!important;grid-row:5}
html[data-theme=dark] body header .location-tab .location-filters #use-location{color:#8ac8ff}
@media(max-width:600px){html body header .location-tab[open]>.location-filters{left:50%;transform:translateX(-50%);width:min(370px,calc(100vw - 24px))}html body header .location-tab .location-filters select,html body header .location-tab .location-filters .state-picker-button{font-size:16px!important}}

@media(max-width:700px){html body header .location-tab[open]>.location-filters{position:fixed!important;top:72px!important;left:12px!important;right:12px!important;transform:none!important;width:auto!important;max-width:370px!important;margin:0 auto!important;box-sizing:border-box;max-height:calc(100dvh - 90px);overflow-y:auto;z-index:80}}
