.as24-location{--loc-bg:#fff;--loc-text:#13283d;--loc-muted:#486179;--loc-border:#d1dde7;--loc-soft:#edf4f8;--loc-orange:#b95a00;--loc-ok:#087348;box-sizing:border-box;width:100%;min-width:0;margin:20px 0;padding:clamp(12px,2.1vw,22px);border:1px solid var(--loc-border);border-radius:16px;background:var(--loc-bg);color:var(--loc-text);grid-column:1/-1;overflow:hidden}
.as24-location *{box-sizing:border-box}.as24-location-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.as24-location-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:12px;background:#ff981d;color:#122336;font-size:27px;font-weight:800}.as24-location-heading small{font-size:10px;letter-spacing:.13em;font-weight:800;color:var(--loc-orange)}.as24-location-heading h3{margin:3px 0;font-size:clamp(17px,2.4vw,22px);color:var(--loc-text)}.as24-location-heading p,.as24-location-tip,.as24-location-privacy,.as24-location-credits{font-size:13px;line-height:1.55;color:var(--loc-muted);margin:8px 0}.as24-location-actions,.as24-location-adjust{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.as24-location button{cursor:pointer;font-family:inherit;font-size:14px;line-height:1.35;min-height:42px;padding:10px 13px;border:1px solid var(--loc-border);border-radius:9px;color:var(--loc-text);background:var(--loc-soft);font-weight:700;white-space:normal}.as24-location button:focus-visible,.as24-location summary:focus-visible,.as24-location-map:focus-visible{outline:3px solid #ef880a;outline-offset:2px}.as24-location button:disabled{cursor:not-allowed;opacity:.55}.as24-location-status{padding:10px 12px;margin:10px 0;border:1px solid var(--loc-border);border-radius:9px;background:var(--loc-soft);color:var(--loc-text);font-size:13px;overflow-wrap:anywhere}.as24-location-status[data-state="ok"]{color:var(--loc-ok);border-color:var(--loc-ok)}.as24-location-map{height:340px;width:100%;min-width:0;border-radius:12px;border:1px solid var(--loc-border);background:#e4e9df;isolation:isolate;z-index:0}.as24-location-map .leaflet-control-attribution{font-size:10px;color:#334155}.as24-location-map .leaflet-control-attribution a{color:#155587}.as24-location-pin{width:30px!important;height:40px!important;background:transparent;border:0}.as24-location-pin i{display:block;width:29px;height:29px;transform:rotate(-45deg);border:2px solid #fff;border-radius:50% 50% 50% 0;background:#f6800c;box-shadow:0 3px 8px #0006}.as24-location-pin i:after{content:"";position:absolute;inset:8px;border-radius:50%;background:#fff}.as24-location-adjust button{min-width:44px;padding:8px;font-size:18px}.as24-location-manual{margin:10px 0;color:var(--loc-muted);font-size:13px}.as24-location-manual summary{cursor:pointer;padding:8px 0}.as24-location-manual-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0}.as24-location-manual-grid label{min-width:0;color:var(--loc-text)}.as24-location-manual-grid input{width:100%;min-width:0;font-size:16px!important;color:var(--loc-text);background:var(--loc-bg);border:1px solid var(--loc-border);border-radius:8px;padding:8px}.as24-location button.as24-location-confirm{width:100%;background:linear-gradient(120deg,#ffb446,#ff8911);border-color:#f39927;color:#101d2e;font-weight:800;margin-top:6px}.as24-location button.as24-location-confirm[data-done="1"]{background:var(--loc-soft);color:var(--loc-ok);border-color:var(--loc-ok)}.as24-location a{color:var(--loc-orange)}.as24-location-credits{font-size:11px}
/* Match the existing command-centre's dark theme when the page has no light-theme override. */
.dashboard-body:not([data-theme="light"]):not(.light):not(.theme-light):not(.is-light) .as24-location{--loc-bg:#112439;--loc-text:#edf4fb;--loc-muted:#bdcddd;--loc-border:#34536e;--loc-soft:#19334a;--loc-orange:#ffbd6c;--loc-ok:#73e2b5}
html[data-theme="light"] .as24-location,.dashboard-body[data-theme="light"] .as24-location,.dashboard-body.theme-light .as24-location,.dashboard-body.is-light .as24-location,.dashboard-body.light .as24-location{--loc-bg:#fff;--loc-text:#13283d;--loc-muted:#486179;--loc-border:#d1dde7;--loc-soft:#edf4f8;--loc-orange:#b95a00;--loc-ok:#087348}
@media(max-width:480px){.as24-location{padding:12px}.as24-location-map{height:285px}.as24-location-actions button{width:100%}.as24-location-manual-grid{grid-template-columns:1fr}.as24-location-heading{gap:9px}.as24-location-heading h3{font-size:17px}}
/* R002 / R009.4A existing light-theme class. */
.dashboard-body.r002-light .as24-location{--loc-bg:#fff;--loc-text:#13283d;--loc-muted:#486179;--loc-border:#d1dde7;--loc-soft:#edf4f8;--loc-orange:#b95a00;--loc-ok:#087348}

.as24-location [hidden]{display:none!important}
