/* Estructura funcional del wireframe. Los productos y cálculos científicos no cambian. */
html{background:#f5f6f6}
body.wireframe{--bg:#f5f6f6;--panel:#fff;--card:#fff;--text:#182325;--muted:#526064;--line:#cbd0d1;--accent:#41595c;--cyan:#354d50;height:auto;min-height:100vh;overflow:auto!important;display:block;color:var(--text);background:var(--bg);font-family:Inter,Arial,sans-serif}
body.wireframe *{scroll-margin-top:18px}
.wireframe .top{margin:16px 24px 0;padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:#fff;gap:18px}
.wireframe .brand{flex:1;min-width:240px}.wireframe .brand h1{font-size:19px}.wireframe .brand-mark{box-shadow:none;width:56px;height:56px;flex-basis:56px;background:#f4f4f0}
.wireframe .region-picker{display:flex;flex-direction:column;align-items:stretch;gap:5px;border-left:1px solid var(--line);padding-left:20px;margin:0;min-width:220px;color:var(--text);font-size:12px;font-weight:700}
.wireframe #siteSel{margin:0;max-width:100%;width:100%}.wireframe .hdr-actions{flex-wrap:wrap}
.wireframe select,.wireframe .btn,.wireframe .chip,.wireframe .science-tool-btn{background:#fff;color:var(--text);border:1px solid #aeb8ba;box-shadow:none;font-weight:600}
.wireframe select{max-width:100%;padding:9px 10px}.wireframe button{cursor:pointer}
.wireframe .btn.primary,.wireframe .science-tool-btn:hover{background:#e4eaeb;color:#182325;border-color:#aeb8ba}
.wireframe .wf-mode{display:flex;align-items:center;gap:8px}.wireframe .wf-segment{display:flex;border:1px solid #9aa8aa;border-radius:7px;overflow:hidden}
.wireframe .wf-segment button{border:0;border-right:1px solid var(--line);padding:9px 11px;background:#fff;color:#27383a;font:inherit;font-size:12px}.wireframe .wf-segment button:last-child{border-right:0}.wireframe .wf-segment button[aria-pressed=true]{background:#dce3e4;font-weight:700}
.wireframe .wf-original-switch,.wireframe #moreToggle{display:none!important}
.wf-languages{display:flex;gap:0;border:1px solid #aeb8ba;border-radius:7px;overflow:hidden}.wf-languages button{padding:8px 9px;border:0;background:#fff;color:#41585c;font:inherit;font-size:11px}.wf-languages button[aria-pressed=true]{background:#dce6e7;color:#152f34;font-weight:700}.wf-languages button+button{border-left:1px solid #cbd0d1}
.wf-intro{margin:18px 24px;padding:18px 22px;background:#ecefef;border-radius:10px}.wf-intro h2{margin:0 0 6px;font-size:clamp(22px,2.7vw,34px);letter-spacing:-.6px}.wf-intro p{margin:0;color:var(--muted);line-height:1.6}
body.wireframe .layout,body.wireframe.expert .layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:14px;margin:0 24px;height:820px;min-height:580px;flex:none}
.wireframe .mapwrap{min-width:0;min-height:480px;border:1px solid #aab5b7;border-radius:11px;overflow:hidden}.wireframe .panel{background:#fff;border:1px solid #aab5b7;border-radius:11px;padding:16px;gap:12px;overflow:auto;min-width:0}
.wireframe .card{background:#fff;color:var(--text);border:1px solid var(--line);box-shadow:none;padding:14px;border-radius:9px;opacity:1!important;transform:none!important;transition:none}
.wireframe .panel>.card{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0 0 14px;flex-shrink:0}.wireframe .card h3{color:#253638;font-size:13px;letter-spacing:.1px;text-transform:none}
.wireframe .datebig{font-size:24px}.wireframe .hint,.wireframe .probe,.wireframe .about p,.wireframe .about li{color:var(--muted)}
.wireframe .light,.wireframe .kpi{background:#f0f3f3;color:#19292c;border-radius:7px}.wireframe .light b,.wireframe .light .val{color:#182b2e}.wireframe .light span,.wireframe .kpi span{color:#53666a}.wireframe .light .bulb{width:9px;height:9px;box-shadow:none;margin-top:5px}
.wireframe .sema{gap:7px}.wireframe .light:last-child:nth-child(odd){grid-column:1/-1}.wireframe .sema .light b{font-size:12px}.wireframe .sema .light span{font-size:11px}
.wireframe .fillnote{background:#eef1f1;border:1px solid #c6cfd0;border-radius:6px;padding:10px;margin:0;font-size:12px;color:#35484b}
.wireframe #fillNote{display:none!important}.wireframe #wfQualityFallback{white-space:pre-line;font-size:12px;line-height:1.6;display:block;background:#eef2f2;padding:10px;border-radius:6px;color:#3b5155}
.wireframe .modes{flex-wrap:wrap;border-radius:7px;background:#f1f3f3}.wireframe .modes button,.wireframe .seg button{color:#46585b;padding:7px 8px;font-size:12px}.wireframe .modes button.on,.wireframe .seg button.on{background:#d9e2e3;color:#152d30}.wireframe .seg{background:#f1f3f3}
.wf-layer-label{display:block;font-size:12px;font-weight:700;margin-bottom:7px}.wireframe #wfLayerSelect{width:100%}.wireframe #layerSeg{display:none}.wireframe .legend{color:#4c6165}.wireframe .wf-map-legend{position:absolute;left:12px;bottom:25px;z-index:810;background:#fffffff0;border:1px solid #c1cbcd;padding:10px 12px;border-radius:7px;max-width:260px;font-size:11px;pointer-events:none}.wf-map-legend strong{display:block;margin-bottom:4px}
.wireframe #ctlLayer>h3,.wireframe #ctlLayer>.legend{display:none}.wireframe #ctlSingle> .row h3{display:none}.wireframe #ctlSingle{padding-bottom:0}.wireframe #semaCard>.hint{font-size:10px}.wireframe .panel #ctlPair,.wireframe .panel #ctlTruth{padding:12px 0 0;border:0}.wireframe #dateSlider{margin:12px 0}.wireframe .panel #ctlSingle{border:0;padding:10px 0 0}
.wireframe .wf-map-legend .legend{margin:0;font-size:10px;gap:3px}.wireframe #mapLegend{display:none!important}
.wf-blocks{margin:22px 24px 36px;display:grid;gap:12px}.wf-block{border:1px solid #aeb9bb;border-radius:10px;background:#fff;min-width:0}.wf-block>summary{display:grid;grid-template-columns:260px 1fr auto;gap:18px;align-items:center;padding:18px 20px;cursor:pointer;list-style:none}.wf-block>summary::-webkit-details-marker{display:none}.wf-block>summary:after{content:'⌄';font-size:24px}.wf-block[open]>summary:after{content:'⌃'}.wf-block summary strong{font-size:18px}.wf-block summary span{font-size:12px;color:var(--muted);border-left:1px solid var(--line);padding-left:20px}.wf-block-content{padding:0 18px 18px}.wf-block[open]>summary{border-bottom:1px solid #e0e5e5;margin-bottom:15px}
.wf-results-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.wf-results-head p{color:var(--muted);margin:0;font-size:12px}
.wireframe .analysis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:none;margin:0;padding:0}.wireframe .analysis-grid>.card{height:auto;min-width:0}.wireframe .analysis-grid canvas{max-width:100%;width:100%;height:auto}
.wireframe .analysis-grid{gap:8px;align-items:start}.wf-result-item{min-width:0;border:1px solid #d4dddd;border-radius:7px;background:#fafcfc}.wf-result-item>summary{padding:12px 14px;font-size:13px;font-weight:600;cursor:pointer;color:#30484c;line-height:1.5}.wf-result-item[open]>summary{border-bottom:1px solid #d4dddd}.wireframe .wf-result-item>.card{border:0;background:#fff;border-radius:0 0 7px 7px;margin:0;padding:14px}.wf-block .wf-result-item>summary span{border:0;padding:0}.wf-block .wf-result-item>summary strong{font-size:13px}
.wireframe .scientific-analysis{padding:0;border:0;background:transparent}.wireframe .science-tools{margin:10px 0;flex-wrap:wrap}.wireframe .science-tool-picker,.wireframe .science-tool-status{color:var(--muted)}
.wireframe .science-banner{margin-top:18px;border-radius:8px;grid-template-columns:1fr 1fr;max-height:none;overflow:visible;padding:18px;background:#e9eeee;flex-shrink:0}.wireframe .science-banner h2{color:#223b3e;font-size:25px}.wireframe .science-banner p{color:#4b6367}.wireframe .science-banner:before,.wireframe .science-banner:after{display:none}.wireframe .science-banner__art img{height:170px}.wireframe .science-banner__cta{background:#d6e2e4;color:#1c393d;box-shadow:none}
.wf-empty{padding:14px;background:#f1f4f4;border-radius:7px;line-height:1.6;color:var(--muted)}.wireframe .interp-box b,.wireframe .probe b{color:#203638}.wireframe .interp-hypo{background:#eff4f4}.wireframe .alertmsg{background:#f0f4f4;color:#33494d}.wireframe .sr-table th{background:#e9eeee;color:#23383b}.wireframe .sr-table td{color:#263b3e}
.wf-dialog{width:min(1050px,94vw);max-height:92vh;padding:24px;border:1px solid #9eaaac;border-radius:14px;color:#1e3033;background:#fff;box-shadow:0 20px 90px #0005;overflow:auto}.wf-dialog::backdrop{background:#12232680}.wf-dialog-header{display:flex;align-items:start;justify-content:space-between;border-bottom:1px solid #cbd3d4;padding-bottom:14px;gap:16px}.wf-dialog h2{margin:0 0 5px;font-size:24px}.wf-dialog p{color:#526669;line-height:1.6}.wf-dialog-header p{margin:0;font-size:12px}.wf-close{font-size:26px;background:none;border:0;color:#2e4448;padding:0 5px}
.wf-dialog-tabs{display:flex;gap:7px;margin:18px 0;flex-wrap:wrap}.wf-dialog-tabs button{padding:9px 16px;border:1px solid #9eafb2;border-radius:7px;background:#fff;color:#354b50;font-weight:600}.wf-dialog-tabs button[aria-pressed=true]{background:#dbe5e6;color:#182f33}.wf-dialog-tabs button:disabled{opacity:.45;cursor:not-allowed}
.wf-detail-picker{display:flex;gap:10px;align-items:center;color:#334c50;font-size:12px}.wf-detail-picker select{flex:1}.wf-detail-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:22px;margin:16px 0}.wf-chart-host{position:relative;min-width:0;height:350px}.wf-chart-host canvas{display:block!important;width:100%!important;max-width:100%}.wf-detail-grid h3{font-size:15px;margin:0 0 9px}.wf-interpretation{background:#f0f3f3;border-radius:9px;padding:14px;margin-bottom:14px}.wf-interpretation p{font-size:12px;margin:0}
.wf-data-table{overflow:auto;max-height:270px;border:1px solid #ccd6d7;border-radius:7px}.wf-data-table table{border-collapse:collapse;width:100%;font-size:11px}.wf-data-table th,.wf-data-table td{padding:8px;text-align:left;border-bottom:1px solid #e0e7e8;white-space:nowrap}.wf-data-table th{position:sticky;top:0;background:#edf2f2;color:#233d41}.wf-detail-meta{font-size:11px;white-space:pre-line;line-height:1.6;color:#526669}
.wf-detail-grid>section{min-width:0}.wf-chart-host{width:100%}.wf-chart-host canvas{height:100%!important}.wf-detail-picker select{min-width:0;width:0}.wf-detail-meta{overflow-wrap:anywhere}.wf-dialog-header{position:sticky;top:-24px;background:#fff;z-index:4;padding-top:8px}.wf-dialog{overscroll-behavior:contain}.wf-dialog small{overflow-wrap:anywhere}
.wf-chart-host{height:300px}.wf-dialog-footer h3{margin:0 0 10px;font-size:15px}.wf-dialog-footer label{margin:4px 0}.wf-dialog-footer small{font-size:10px}.wf-export-status{margin:8px 0 0}
.wf-dialog-footer{border-top:1px solid #ccd5d7;padding-top:15px;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.wf-export-buttons{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.wf-dialog label{color:#334d51;font-size:12px}.wf-dialog label input{width:auto}.wf-dialog button:disabled{opacity:.5;cursor:not-allowed}.wf-export-status{font-size:12px;color:#405d62;min-height:18px}.wf-no-chart{height:100%;display:grid;place-items:center;color:#596e72;text-align:center}
.wireframe button:focus-visible,.wireframe a:focus-visible,.wireframe summary:focus-visible,.wireframe select:focus-visible{outline:3px solid #227b89;outline-offset:3px}
.wireframe .maptag{color:#fff}.wireframe .story{background:#fff;color:#243c40;border-color:#cbd5d7}.wireframe .story p{color:#526b70}.wireframe .hero,.wireframe .intro{--text:#edf5f4;--muted:#bdcece;color:#edf5f4}.wireframe .hero p{color:#bdcece}
@media(max-width:1050px){.wireframe .top{margin:12px 16px 0}.wireframe .brand{flex-basis:45%}.wireframe .hdr-actions{flex:1}.wf-intro{margin:16px}body.wireframe .layout,body.wireframe.expert .layout{margin:0 16px;grid-template-columns:minmax(0,1fr) 310px}.wf-blocks{margin:20px 16px}.wf-block>summary{grid-template-columns:210px 1fr auto}}
@media(max-width:760px){.wireframe .top{margin:10px;gap:12px;padding:13px}.wireframe .brand{flex-basis:100%;min-width:0}.wireframe .region-picker{border:0;padding:0;flex:1;min-width:0}.wireframe .hdr-actions{justify-content:space-between}.wf-intro{margin:12px 10px;padding:15px}.wf-intro h2{font-size:23px}body.wireframe .layout,body.wireframe.expert .layout{margin:0 10px;grid-template-columns:1fr;height:auto;min-height:0;gap:12px}.wireframe .mapwrap{min-height:52vh}.wireframe .panel{overflow:visible}.wf-blocks{margin:16px 10px}.wf-block>summary{grid-template-columns:1fr auto;padding:15px;gap:8px}.wf-block summary span{grid-column:1;border:0;padding:0}.wf-block>summary:after{grid-column:2;grid-row:1/3}.wf-block summary strong{font-size:16px}.wireframe .analysis-grid{grid-template-columns:1fr}.wf-results-head{align-items:start;flex-direction:column}.wf-dialog{padding:16px;width:96vw;max-height:94vh}.wf-dialog h2{font-size:20px}.wf-detail-grid{grid-template-columns:1fr}.wf-chart-host{height:280px}.wf-dialog-footer{flex-direction:column}.wireframe .science-banner{grid-template-columns:1fr}.wireframe .science-banner__art img{height:160px}}
/* Tutorial: una sola evidencia original sobre el mapa, sin abrir bloques inferiores. */
.wireframe .story{position:absolute;left:12px;bottom:28px;right:auto;z-index:1100;max-height:44%;overflow:auto;background:#fff;color:#243c40;animation:none}
.wireframe .story.swap h2,.wireframe .story.swap p{animation:none}
.wireframe .wf-tour-evidence{position:absolute;right:12px;top:12px;width:min(48%,540px);max-height:85%;overflow:auto;z-index:1090;background:#fff;color:#243c40;border:1px solid #cbd5d7;border-radius:10px;box-shadow:0 8px 24px #0003;padding:12px}
.wireframe .wf-tour-evidence .card{display:block!important;margin:0;background:#fff;color:#243c40;animation:none;opacity:1;transform:none}.wireframe .wf-tour-evidence .hint{color:#526b70}
.wireframe.tour-active .wf-map-legend{display:none}
.wireframe .wf-result-item[open]{grid-column:1/-1}
.wf-inline-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.wf-inline-chart{min-width:0}.wf-inline-chart-frame{position:relative;height:260px}.wireframe .wf-inline-chart-frame canvas{height:100%!important;width:100%!important}
@media(max-width:760px){.wf-inline-charts{grid-template-columns:1fr}.wireframe .story{bottom:8px;left:8px;width:calc(100% - 16px);max-height:48%}}
body.wireframe.tour-active .layout{height:min(820px,94vh);min-height:480px}
@media(max-width:1100px){.wireframe .wf-tour-evidence{top:8px;right:8px;width:calc(100% - 16px);max-height:43%}.wireframe .story{bottom:8px;left:8px;width:calc(100% - 16px);max-height:48%}}
.wireframe .wf-tour-evidence .wf-inline-charts{grid-template-columns:1fr}.wireframe .wf-tour-evidence .wf-inline-chart-frame{height:210px}.wireframe .wf-tour-evidence .wf-inline-chart-frame canvas{height:100%!important;width:100%!important}
.wireframe .kpi b{color:#243c40}
#storyLocate{margin:0 0 12px}.tour-return{position:fixed;right:20px;bottom:20px;z-index:1600;padding:12px 18px;box-shadow:0 3px 18px #0003!important}.wireframe .tour-located{outline:3px solid #227b89;outline-offset:4px;scroll-margin-top:20px}body.wireframe:not(.expert) .tour-located.tech,body.wireframe:not(.expert) .tour-located-item.tech{display:block!important}

/* Identidad editorial MANGLO. Solo presentación: mismos controles y bloques. */
body.wireframe{--bg:#fbf9f3;--panel:#fffefa;--card:#fff;--text:#102c59;--muted:#475a73;--line:#d5deea;--accent:#00358f;--cyan:#00358f;background:var(--bg)}
.wireframe .top{margin:0;padding:16px 28px;background:#06366e;border:0;border-radius:0;color:white;gap:20px}
.wireframe .brand{min-width:230px;gap:13px}.wireframe .brand h1{color:white;font-weight:800}.wireframe .brand p{color:#e2ecfa;max-width:270px;font-size:11px}.wireframe .brand-mark{background:#fffdf6;border-radius:9px}
.wireframe .region-picker{color:white;border-color:#8ca7c7;min-width:190px;padding-left:18px}.wireframe .wf-mode{font-size:12px;font-weight:600}.wireframe .wf-segment,.wireframe .wf-languages{border-color:#91b7dd}
.wireframe .wf-segment button,.wireframe .wf-languages button{background:#06366e;color:#fff;border-color:#91b7dd;min-height:38px}.wireframe .wf-segment button[aria-pressed=true],.wireframe .wf-languages button[aria-pressed=true]{background:#a5edf3;color:#082b58}
.wireframe .top .btn{background:transparent;color:#fff;border-color:#91cce5;min-height:38px}.wireframe .top #tourBtn{background:#fffdf6;color:#002d78;border-color:#fffdf6;font-weight:700}.wireframe .hdr-actions{gap:10px}
.wf-intro{position:relative;isolation:isolate;margin:26px 28px 20px;padding:2px 24px;background:transparent;border-radius:0;border-left:4px solid #00bed5}.wf-intro h2{color:#06366e;font-weight:800;letter-spacing:-1px;font-size:clamp(24px,2.5vw,36px)}.wf-intro p{font-size:13px;color:#385473;max-width:1000px}.wf-intro:after{content:'';position:absolute;z-index:-1;right:0;top:-26px;width:210px;height:95px;opacity:.22;background:url('img/landing/decoracion/halftone_azul_circulo.svg') center/cover no-repeat;pointer-events:none}
body.wireframe .layout,body.wireframe.expert .layout{margin:0 28px;grid-template-columns:minmax(0,1fr) 370px;gap:18px}
.wireframe .mapwrap{border-color:#c6d5e4;border-radius:16px}.wireframe .panel{border-color:#d5deea;border-radius:16px;padding:15px;background:#fffefa;gap:15px;scrollbar-color:#9eafc2 #f3f5f8;scrollbar-width:thin}
.wireframe .panel>.card{padding-bottom:16px;border-color:#dce3ec}.wireframe .card h3,.wireframe .wf-layer-label{color:#082b72;font-weight:800;letter-spacing:0;font-size:13px}
.wireframe #wfCurrentDate{position:relative;isolation:isolate;background:#063b83;color:white;padding:16px;border-radius:11px;border:0;overflow:hidden}.wireframe #wfCurrentDate h3{color:white}.wireframe #wfCurrentDate:after{content:'';position:absolute;inset:0 0 0 55%;z-index:-1;background:url('img/landing/decoracion/halftone_azul_circulo.svg') right center/cover no-repeat;opacity:.5}.wireframe .datebig{color:inherit;font-size:30px;font-weight:800;letter-spacing:-.6px}
.wireframe select{background:#fff;color:#102c59;border:1px solid #b8c8dc;border-radius:7px;min-height:40px}.wireframe .light,.wireframe .kpi{background:#edf3f7;border:1px solid #e1e9ee;border-radius:10px;padding:12px}.wireframe .light:nth-child(2){background:#edf5f0}.wireframe .light:last-child:nth-child(odd){background:#eaf4fa}.wireframe .light b,.wireframe .light .val,.wireframe .kpi b{color:#082b72}.wireframe .light span,.wireframe .kpi span{color:#435b73}.wireframe .light .val{font-size:20px;font-weight:800}.wireframe .sema{gap:9px}.wireframe #wfQualityFallback{background:#eef2f5;border:1px solid #e1e7ee;color:#263f5d;border-radius:9px;padding:12px}
.wireframe .btn,.wireframe .chip,.wireframe .science-tool-btn{color:#06366e;border-color:#bacbdf;border-radius:7px;min-height:38px}.wireframe .btn.primary,.wireframe #play{background:#063b83;color:#fff;border-color:#063b83}.wireframe .btn:hover:not(:disabled),.wireframe .chip:hover:not(:disabled),.wireframe .science-tool-btn:hover:not(:disabled){background:#e5f4fa;color:#082b72;border-color:#5e86ae}.wireframe .btn.primary:hover:not(:disabled),.wireframe #play:hover:not(:disabled){background:#002d72;color:white}
.wireframe .modes,.wireframe .seg{background:#eef2f6;border:0;padding:3px;gap:3px}.wireframe .modes button,.wireframe .seg button{color:#163867;font-weight:600;min-height:36px;border-radius:6px}.wireframe .modes button.on,.wireframe .seg button.on{background:#a5edf3;color:#082b58;box-shadow:inset 0 0 0 1px #79cedb}.wireframe .modes button:hover:not(.on),.wireframe .seg button:hover:not(.on){background:#dae9f3}
.wireframe input[type=range]{accent-color:#00358f}.wireframe .legend,.wireframe .ticks{color:#385473}.wireframe .wf-map-legend{background:#fffdf7f5;color:#102c59;border-color:#d5deea;border-radius:9px;padding:12px;max-width:310px}.wireframe .leaflet-control-zoom a{color:#06366e;background:#fffdf7}
.wf-blocks{margin:20px 28px 36px;gap:10px}.wf-block{border-color:#ced9e6;border-radius:11px;background:#fffefa}.wf-block>summary{padding:16px 20px;grid-template-columns:270px 1fr auto;gap:18px;min-height:64px}.wf-block summary strong{color:#082b72;font-weight:800;font-size:18px}.wf-block summary span{color:#4a5c74;border-color:#dce3ec}.wf-block>summary:after{color:#00358f}.wf-block>summary:hover{background:#f0f6fa;border-radius:11px}.wf-block[open]>summary{background:#f0f6fa;border-color:#dce3ec;border-radius:11px 11px 0 0}.wf-result-item{border-color:#d5deea;background:#f7f9fc}.wf-result-item>summary{color:#163867}.wf-result-item>summary:hover{background:#edf5fa}.wireframe .card{border-color:#d5deea;border-radius:10px}
.wireframe .science-banner{background:#edf3fa}.wireframe .science-banner h2{color:#082b72}.wireframe .science-banner__cta{background:#063b83;color:white}.wireframe .interp-box b,.wireframe .probe b{color:#082b72}.wireframe .interp-hypo,.wf-empty,.wf-interpretation{background:#f0f5f9;color:#263f5d}.wireframe .alertmsg{color:#263f5d;background:#f0f5f9}.wireframe .azone{background:#eef3f7;color:#163867}.wireframe .azone b,.wireframe .azone span{color:inherit}
.wf-dialog{color:#102c59;border-color:#bacbdf;background:#fffefa}.wf-dialog-header{background:#fffefa}.wf-dialog h2,.wf-dialog h3{color:#082b72}.wf-dialog-tabs button{color:#163867;border-color:#bacbdf;min-height:40px}.wf-dialog-tabs button[aria-pressed=true]{background:#a5edf3;color:#082b58}.wireframe button:disabled,.wireframe .btn:disabled{opacity:.55;cursor:not-allowed;filter:grayscale(.5)}
.wireframe button:focus-visible,.wireframe a:focus-visible,.wireframe summary:focus-visible,.wireframe select:focus-visible,.wireframe input:focus-visible{outline:3px solid #1476bb;outline-offset:3px}.wireframe .top button:focus-visible,.wireframe .top a:focus-visible,.wireframe .top select:focus-visible{outline-color:#a5edf3}
/* Iconos SVG decorativos: conservar etiquetas y traducciones. */
.wireframe #semaCard>h3:before,.wireframe .wf-layer-label:before{content:'';display:inline-block;vertical-align:middle;width:21px;height:21px;margin-right:7px;background:currentColor;mask:var(--wf-icon) center/contain no-repeat}
.wireframe #semaCard>h3{--wf-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 21V12m5 9V5m5 16V9m5 12V2'/%3E%3C/svg%3E")}.wireframe .wf-layer-label{--wf-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='m2 8 10-6 10 6-10 6L2 8Zm0 5 10 6 10-6M2 18l10 5 10-5'/%3E%3C/svg%3E")}
@media(max-width:1150px){.wireframe .top{padding:15px 20px;gap:15px}.wireframe .brand{flex-basis:35%}body.wireframe .layout,body.wireframe.expert .layout{grid-template-columns:minmax(0,1fr) 330px;margin:0 20px}.wf-intro{margin:22px 20px 18px}.wf-blocks{margin:18px 20px 30px}}
@media(max-width:760px){.wireframe .top{padding:16px;gap:14px}.wireframe .brand{flex-basis:100%;min-width:0}.wireframe .brand p{font-size:10px}.wireframe .region-picker{border:0;padding:0;min-width:0}.wireframe .wf-mode{flex-wrap:wrap}.wireframe .hdr-actions{justify-content:flex-start;gap:8px}.wf-intro{margin:22px 14px 18px;padding:0 14px}.wf-intro h2{font-size:26px;letter-spacing:-.7px}.wf-intro p{font-size:12px}.wf-intro:after{opacity:.1;width:120px}body.wireframe .layout,body.wireframe.expert .layout{grid-template-columns:1fr;margin:0 14px;height:auto;gap:14px}.wireframe .mapwrap{min-height:55vh;border-radius:12px}.wireframe .panel{padding:14px;overflow:visible}.wf-blocks{margin:18px 14px 28px}.wf-block>summary{grid-template-columns:1fr auto;padding:15px;gap:7px}.wf-block summary strong{font-size:16px}.wf-block summary span{grid-column:1;padding:0;border:0;font-size:11px}.wf-block>summary:after{grid-column:2;grid-row:1/3}.wireframe .wf-map-legend{max-width:calc(100% - 24px)}.wireframe .wf-segment button{padding:9px}.wireframe .analysis-grid{grid-template-columns:1fr}}

.wireframe .az{background:#eef3f7;color:#163867;border:1px solid #dce5ef}.wireframe .az small{color:#435b73}.wireframe .az .up{color:#a63b20}.wireframe .az .down{color:#086a72}.wireframe .az .eq{color:#475a73}
@media(max-width:640px){.wireframe .brand{display:flex;gap:12px}.wireframe .brand>div:last-child{min-width:0}.wireframe .brand h1{font-size:17px}.wireframe .brand-mark{width:48px;height:48px;flex:0 0 48px}.wireframe .hdr-actions{margin:0;padding:0;box-sizing:border-box;overflow:visible;flex-wrap:wrap;mask-image:none;-webkit-mask-image:none}}
.wireframe #wfCurrentDate>h3:before{content:"";display:inline-block;width:20px;height:20px;vertical-align:middle;margin-right:8px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%225%22%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%202v6m8-6v6M4%2011h16%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.wireframe .panel>.card:has(#wfQualityFallback)>h3:before{content:"";display:inline-block;width:20px;height:20px;vertical-align:middle;margin-right:8px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%202%208%204v6c0%205-8%2010-8%2010S4%2017%204%2012V6l8-4Z%22%2F%3E%3Cpath%20d%3D%22m8%2012%203%203%205-6%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.wireframe .panel>.card:has(#ctlSingle)>h3:before{content:"";display:inline-block;width:20px;height:20px;vertical-align:middle;margin-right:8px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M12%206v6l4%203%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.wireframe .light:nth-child(1) b:before{content:"";display:inline-block;width:20px;height:20px;vertical-align:middle;margin-right:8px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%202S4%2011%204%2015a8%208%200%200%200%2016%200c0-4-8-13-8-13Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.wireframe .light:nth-child(2) b:before{content:"";display:inline-block;width:20px;height:20px;vertical-align:middle;margin-right:8px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2022V10m0%206C1%2017%201%203%204%203c7%200%209%207%208%2013Zm0-2C12%205%2019%202%2022%204c0%207-4%2011-10%2010Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.wireframe .light:nth-child(3) b:before{content:"";display:inline-block;width:20px;height:20px;vertical-align:middle;margin-right:8px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%2015a5%205%200%201%201%201-10%206%206%200%200%201%2011%203%204%204%200%200%201%200%208H6Zm1%203-1%204m6-4-1%204m6-4-1%204%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.wireframe #wfResults>summary strong:before{content:"";display:inline-block;width:20px;height:20px;vertical-align:middle;margin-right:8px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2021V12m5%209V5m5%2016V9m5%2012V2%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.wireframe #wfNotices>summary strong:before{content:"";display:inline-block;width:20px;height:20px;vertical-align:middle;margin-right:8px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2017h16l-2-4V9a6%206%200%200%200-12%200v4l-2%204Zm6%204h4%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.wireframe #wfHypotheses>summary strong:before{content:"";display:inline-block;width:20px;height:20px;vertical-align:middle;margin-right:8px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M9%208a3%203%200%200%201%206%200c0%203-3%202-3%206m0%203v1%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.wireframe #wfScience>summary strong:before{content:"";display:inline-block;width:20px;height:20px;vertical-align:middle;margin-right:8px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%202h6m-5%200v7L4%2020q0%202%203%202h10q3%200%203-2L14%209V2M7%2015h10%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
body.wireframe:not(.expert) .modes button.on{background:#a5edf3;color:#082b58;box-shadow:inset 0 0 0 1px #79cedb}   /* el activo de "Explorar en el tiempo" se lee en tema claro y oscuro */
.wf-intro .wf-mode-note{margin-top:8px;font-size:13px;max-width:900px}.wf-intro .wf-mode-note b{font-weight:700}
/* "Volver al tutorial": mientras el recorrido está abierto debe saltar a la vista (color de marca, más grande y con un pulso suave) */
body .btn.tour-return{background:#00bed5!important;color:#04233f!important;border:2px solid #fff!important;font-size:16px;font-weight:800;padding:14px 24px;border-radius:999px;box-shadow:0 6px 24px #0007,0 0 0 0 #00bed5aa!important;animation:tourReturnPulse 1.8s ease-out infinite}
body .btn.tour-return:hover,body .btn.tour-return:focus-visible{background:#3fe0f0!important}
@keyframes tourReturnPulse{0%{box-shadow:0 6px 24px #0007,0 0 0 0 #00bed5aa}70%{box-shadow:0 6px 24px #0007,0 0 0 16px #00bed500}100%{box-shadow:0 6px 24px #0007,0 0 0 0 #00bed500}}
@media (prefers-reduced-motion:reduce){body .btn.tour-return{animation:none}}
/* mientras se mira la evidencia: el botón para volver va abajo al centro, más grande, y la parte señalada queda dentro de un recuadro de líneas que se mueven */
body .btn.tour-return{left:50%;right:auto;bottom:22px;transform:translateX(-50%);font-size:18px;padding:16px 30px;min-height:56px;letter-spacing:.2px;z-index:2000}
.wireframe .tour-located{position:relative;outline:none!important;box-shadow:0 0 0 6px #00bed52e,0 0 28px #00bed566!important;border-radius:12px}
.wireframe .tour-located::after{content:"";position:absolute;inset:-9px;pointer-events:none;z-index:5;border-radius:4px;
  background:linear-gradient(90deg,#00bed5 55%,transparent 0) repeat-x 0 0/18px 3px,linear-gradient(90deg,#00bed5 55%,transparent 0) repeat-x 0 100%/18px 3px,
             linear-gradient(0deg,#00bed5 55%,transparent 0) repeat-y 0 0/3px 18px,linear-gradient(0deg,#00bed5 55%,transparent 0) repeat-y 100% 0/3px 18px;
  animation:tourAnts .9s linear infinite}
@keyframes tourAnts{to{background-position:18px 0,-18px 100%,0 -18px,100% 18px}}
@media (prefers-reduced-motion:reduce){.wireframe .tour-located::after{animation:none}}
/* botones "Ver la zona en 3D" y "Ver la órbita de NISAR" a la derecha del título del mapa */
.wf-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:28px;align-items:center}
.wf-intro>:not(.wf-intro-actions){grid-column:1}
.wf-intro-actions{grid-column:2;grid-row:1/span 3;display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.wireframe .wf-intro-actions .btn.wf-top-link{background:#0b3d7a;color:#fff;border:1.5px solid #00bed5;font-size:15px;font-weight:700;padding:12px 20px;min-height:48px;border-radius:12px;text-decoration:none;box-shadow:0 4px 14px #0003;display:inline-flex;align-items:center;gap:6px}
.wireframe .wf-intro-actions .btn.wf-top-link:hover,.wireframe .wf-intro-actions .btn.wf-top-link:focus-visible{background:#00bed5;color:#04233f}
@media(max-width:900px){.wf-intro{grid-template-columns:1fr}.wf-intro-actions{grid-column:1;grid-row:auto;justify-content:flex-start;margin-top:12px}}
