/* Estado de obras: controles, iconos y marcadores. Se carga después de la base cartográfica. */
.work-stage-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:8px 16px; margin:0 0 14px; min-width:0; flex:none; }
.work-stage-toolbar>span { font-size:11px; font-weight:700; color:#425a4d; }
.work-stage-filters { display:flex; gap:7px; overflow-x:auto; max-width:100%; padding:3px 1px; }
.work-stage-filters button { display:inline-flex; align-items:center; justify-content:center; gap:7px; flex:none; min-height:44px; padding:10px 13px; border:1px solid #d3ddd2; border-radius:8px; background:#fff; color:#45584c; font-family:inherit; font-size:12px; font-weight:600; cursor:pointer; white-space:nowrap; }
.work-stage-filters button[aria-pressed="true"] { border-color:#385949; box-shadow:inset 0 0 0 1px #385949; background:#edf3e9; color:#223f30; }
.work-stage-filters button i { width:9px; height:9px; border-radius:50%; background:var(--work-stage,#64748b); }
[data-work-stage="PARALIZADA"],.official-work-stage[data-stage="PARALIZADA"] { --work-stage:#b91c1c; }
[data-work-stage="EN_EJECUCION"],.official-work-stage[data-stage="EN_EJECUCION"] { --work-stage:#d97706; }
[data-work-stage="FINALIZADA"],.official-work-stage[data-stage="FINALIZADA"] { --work-stage:#15803d; }
[data-work-stage="SIN_INICIAR"],.official-work-stage[data-stage="SIN_INICIAR"] { --work-stage:#2563eb; }
.official-work-stage[data-stage="ANUNCIADA"] { --work-stage:#0891b2; }
.official-work-stage[data-stage="LICITACION"] { --work-stage:#7c3aed; }
.official-work-stage { display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:750; color:#33463c; }
.official-work-stage:before { content:""; width:9px; height:9px; background:var(--work-stage,#64748b); border-radius:50%; }
.official-work-marker .official-work-cluster--stages { position:relative; display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:#fff; color:#263d32; border:0; font:700 11px system-ui; box-shadow:0 1px 6px #17392944; }
.official-work-cluster--stages svg { position:absolute; inset:0; width:100%; height:100%; }
.official-work-cluster--stages>span { position:relative; font-size:9px; }
.stalled-summary-controls { margin:0 0 12px; color:#6e3036; }
.stalled-summary-controls label { display:flex; align-items:center; gap:8px; font-size:12px; font-weight:650; }
.stalled-summary-controls input { width:17px; height:17px; accent-color:#b91c1c; }
.stalled-summary-controls p { margin:5px 0 0; font-size:11px; line-height:1.5; color:#756666; }
.stalled-summary-marker { background:transparent; border:0; }
.stalled-summary-count { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; width:40px; height:40px; border-radius:50%; border:2px dashed #fff; background:#b91c1c; color:#fff; font:750 10px system-ui; line-height:1; box-shadow:0 1px 7px #751c3440; }
.work-stalled-icon { display:block; flex:none; width:18px; height:18px; }
.stalled-summary-count .work-stalled-icon { width:16px; height:16px; }
.stalled-legend-symbol,[data-stalled-symbol] { display:inline-flex; color:#b91c1c; }
.official-work-stage[data-stage="PARALIZADA"]:before { display:none; }
.official-work-stage .work-stalled-icon { color:#b91c1c; }
.stalled-summary-popup { font-size:12px; color:#453435; }
.stalled-summary-popup h3 { font-size:16px; line-height:1.3; }
.stalled-summary-kicker { color:#a12636; font-size:10px; font-weight:750; text-transform:uppercase; letter-spacing:.06em; }
.stalled-summary-popup p { font-size:12px; line-height:1.5; }
.stalled-summary-note { color:#746367; }
.stalled-summary-popup a { color:#a12636; font-weight:650; }
.infrastructure-platform body.map-expanded #explorar .map-themebar>div { display:none; }
.infrastructure-platform body.map-expanded #explorar .map-themebar { padding:5px 10px; margin:0 0 8px; justify-content:flex-end; }
.infrastructure-platform body.map-expanded #explorar .map-themebar select { min-height:32px; padding-block:6px; }
.infrastructure-platform body.map-expanded #explorar .official-layer-controls { padding-block:6px; }
.infrastructure-platform body.map-expanded #explorar .official-source-filter select { min-height:32px; padding-block:6px; }
.infrastructure-platform body.map-expanded #explorar .stalled-summary-controls { flex:none; margin-bottom:7px; }
.infrastructure-platform body.map-expanded #explorar .stalled-summary-controls p { font-size:10px; line-height:1.3; }
.infrastructure-platform body.map-expanded #explorar .work-stage-toolbar { margin-bottom:8px; }
.infrastructure-platform body.map-expanded #explorar #exploreMapStatus { display:none; }
@media(max-width:760px) { .work-stage-toolbar { display:block; } .work-stage-toolbar>span { display:block; margin-bottom:5px; } .work-stage-filters { margin-right:-2px; } }
