
.asteroid-local{color-scheme:dark;font:16px/1.55 system-ui;background:#080e1b;color:#eff3fa}
.asteroid-local *{box-sizing:border-box}
.asteroid-local{width:100%;max-width:none;padding:0;margin:0}
.asteroid-local h1{line-height:1.15}
.asteroid-local a{color:#95b9ff}
.asteroid-local #map{height:410px;border:1px solid #253247;border-radius:10px;background:#101a2b}
.asteroid-local .controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:18px 0}
.asteroid-local label{display:flex;flex-direction:column;gap:4px;font-size:14px}
.asteroid-local label:has(input[type=checkbox]){flex-direction:row;align-items:center}
.asteroid-local input,.asteroid-local select,.asteroid-local button{font:inherit;color:inherit;background:#101a2b;border:1px solid #abb9ce;border-radius:5px;padding:8px}
.asteroid-local input[type=number]{width:140px}
.asteroid-local input[type=checkbox]{width:auto}
.asteroid-local button{cursor:pointer}
.asteroid-local button:disabled{opacity:.5;cursor:default}
.asteroid-local .scroll{overflow:auto}
.asteroid-local table{border-collapse:collapse;width:100%;min-width:900px}
.asteroid-local th,.asteroid-local td{padding:12px;text-align:left;vertical-align:top;border-bottom:1px solid #253247}
.asteroid-local th{background:#152238}
.asteroid-local td small{display:block;color:#abb9ce;margin-top:5px}
.asteroid-local .muted{color:#abb9ce}
.asteroid-local .green{color:#79e5a4}
.asteroid-local .orange{color:#ffd18b}
.asteroid-local #detail{background:#101a2b;border:1px solid #253247;border-radius:10px;padding:18px;margin:18px 0}
.asteroid-local .leaflet-control{color:#111}
.asteroid-local .leaflet-container a{color:#07508a}
.asteroid-local .leaflet-control-attribution{font-size:11px}
.asteroid-local .leaflet-tooltip{color:#111}
.asteroid-local details{margin-top:25px}
.asteroid-local #status{font-weight:600}@media(max-width:600px){
.asteroid-local{padding:0}
.asteroid-local h1{font-size:28px}
.asteroid-local #map{height:330px}
.asteroid-local .controls{gap:10px}
.asteroid-local input[type=number]{width:135px}}
.asteroid-local .site-marker span{display:block;width:20px;height:20px;border:3px solid white;border-radius:50%;background:#287add;box-shadow:0 1px 6px #000}
.asteroid-local .site-marker{background:none}

/* Filter fields share label baselines and control heights. */
.asteroid-local .location-filters,.asteroid-local .event-filters{display:grid;align-items:end;gap:16px 12px}
.asteroid-local .location-filters{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(185px,1.3fr) auto}
.asteroid-local .event-filters{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(220px,2fr)}
.asteroid-local .location-filters>label,.asteroid-local .event-filters>label{min-width:0;gap:6px}
.asteroid-local .location-filters input,.asteroid-local .location-filters select,.asteroid-local .location-filters button,.asteroid-local .event-filters input:not([type=checkbox]){width:100%;min-width:0;height:42px;font-size:14px;line-height:1.3}
.asteroid-local .location-filters button{font-size:14px;padding-inline:16px}
.asteroid-local .filter-options{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;padding-top:2px}
.asteroid-local .filter-options label{flex-direction:row;align-items:center;gap:8px;min-height:28px}
.asteroid-local .filter-options input{width:16px;height:16px;flex-shrink:0;margin:0;accent-color:#95b9ff}
@media(max-width:1050px){
.asteroid-local .location-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
.asteroid-local .event-filters{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){
.asteroid-local .location-filters,.asteroid-local .event-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
.asteroid-local .filter-options{flex-direction:column;align-items:flex-start;gap:8px}}
@media(max-width:380px){
.asteroid-local .location-filters>label,.asteroid-local .event-filters>label{font-size:13px}
.asteroid-local .location-filters select{font-size:12px}}

.content-shell .com-content-article:has(.asteroid-local){max-width:none;width:100%}

/* Map tiles must meet at square corners; article image rounding creates gaps. */
.com-content-article__body .asteroid-local #map img.leaflet-tile{border-radius:0!important;height:256px!important;max-width:none!important;max-height:none!important}

.asteroid-local #event-modal{width:min(1040px,calc(100vw - 32px));max-width:1040px;max-height:calc(100dvh - 40px);padding:24px;border:1px solid #566b91;border-radius:12px;background:#101a2b;color:#eff3fa;overflow:auto;box-sizing:border-box;box-shadow:0 20px 80px #0009}
.asteroid-local #event-modal::backdrop{background:#030813cc}
.asteroid-local .modal-header{display:flex;align-items:flex-start;gap:16px;justify-content:space-between;margin-bottom:20px}.asteroid-local .modal-header h2{margin:0;font-size:24px;line-height:1.3}.asteroid-local .modal-header button{flex-shrink:0;font-size:24px;line-height:1;width:40px;height:40px;padding:4px}
.asteroid-local .modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.asteroid-local .modal-section{padding:16px;background:#152238;border:1px solid #253247;border-radius:8px}.asteroid-local .modal-section h3{font-size:18px;line-height:1.4;margin:0 0 12px}.asteroid-local .modal-section dl{margin:0}.asteroid-local .modal-section dl>div{padding:8px 0;border-top:1px solid #30415c}.asteroid-local .modal-section dt{font-size:13px;color:#abb9ce}.asteroid-local .modal-section dd{margin:3px 0 0;overflow-wrap:anywhere;font-size:15px}.asteroid-local .modal-note{font-size:13px;color:#abb9ce;line-height:1.6;margin-top:20px}.asteroid-local .modal-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:20px}.asteroid-local .modal-actions a{color:#95b9ff}.asteroid-local #event-modal button:focus-visible,.asteroid-local #event-modal a:focus-visible{outline:3px solid #95b9ff;outline-offset:3px}
@media(max-width:650px){.asteroid-local #event-modal{padding:16px;max-height:calc(100dvh - 24px);width:calc(100vw - 24px)}.asteroid-local .modal-grid{grid-template-columns:1fr}.asteroid-local .modal-header h2{font-size:20px}.asteroid-local .modal-section{padding:12px}}

.asteroid-local .modal-header{position:sticky;top:0;z-index:1;background:#101a2b;padding-block:10px}
.asteroid-local .modal-actions form{margin:0}
