.dashboard{--ink:#18324e;--muted:#62728a;--line:#e0e7f0;max-width:1700px;margin:0 auto;color:var(--text-primary41)}.dash-hero{position:relative;overflow:hidden;background:linear-gradient(112deg,#101f3a 0%,#233e70 70%,#365c99 100%);color:#fff;border-radius:20px;padding:28px 32px;display:flex;align-items:center;gap:20px;box-shadow:0 12px 26px #1a315021}.dash-hero::after{content:'';position:absolute;right:230px;top:-100px;width:350px;height:350px;border:45px solid #ffffff06;border-radius:50%;pointer-events:none}.dash-kicker{font-size:11px;letter-spacing:2px;color:#b9cceb;margin:0 0 10px}.dash-hero h1{font-size:clamp(25px,2.3vw,37px);line-height:1.13;margin:0 0 8px;color:#fff;letter-spacing:-.8px}.dash-hero-copy>p:not(.dash-kicker){margin:0;color:#d0def3;font-size:13px}.dash-period{display:inline-block;margin-top:17px;padding:7px 11px;border:1px solid #a3b8d74a;border-radius:7px;background:#0a193735;font-size:12px}.dash-hero-copy{flex:1;z-index:1}.dash-hero-symbol{color:#e3ad58;opacity:.9;width:88px;flex-shrink:0;transform:rotate(-8deg);margin-right:10px}.dash-hero-symbol svg{width:88px}.dash-hero-actions{display:flex;flex-direction:column;gap:7px;z-index:1;min-width:190px}.dash-hero-actions button{display:flex;align-items:center;justify-content:center;gap:9px;background:#fff;color:#202124;border:1px solid #ffffff55;padding:9px 14px;font-size:12px;border-radius:8px}.dash-hero-actions button:first-child{background:#eeb358;color:#202124;border-color:#eeb358}.dash-hero-actions button:last-child{background:transparent;color:#e4ebf6}.dashboard svg{width:20px;height:20px;flex-shrink:0}.dash-hero-symbol svg{width:88px;height:88px}.dash-filter{display:flex;align-items:end;gap:12px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;margin:20px 0 12px}.dash-filter label{font-size:11px;margin:0;flex:1;min-width:115px;color:var(--text-secondary41)}.dash-filter input,.dash-filter select{padding:9px 10px;min-height:38px;margin-top:5px;border-radius:7px}.dash-filter label:nth-child(3){flex:1.6;min-width:190px}.dash-filter .dash-check{flex:1.5;display:flex;gap:8px;align-items:center;min-width:180px;max-width:240px;line-height:1.4;padding-bottom:7px}.dash-check input{width:16px;min-height:16px;margin:0}.dash-filter>button{background:#294c80;border:0;border-radius:7px;min-height:38px;font-size:12px}.dash-presets{display:flex;gap:6px;width:100%;padding-top:3px}.dash-presets button{border:0;background:#eef3fa;color:#45474a;font-size:11px;border-radius:5px;padding:5px 10px}.dash-tabbar{display:flex;align-items:center;justify-content:space-between;margin:18px 0;gap:15px}.dash-tabbar>div{display:flex;background:#e6edf7;border-radius:9px;padding:4px;gap:2px}.dash-tabbar button{background:transparent;border:0;color:#45474a;font-size:13px;border-radius:6px;padding:9px 22px}.dash-tabbar button[aria-selected=true]{background:white;color:#202124;box-shadow:0 2px 6px #1a315015}.dash-tabbar>span{font-size:11px;color:var(--text-secondary41)}.dash-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.dash-card{position:relative;min-height:170px;padding:20px;text-align:left;color:var(--text-primary41);border:1px solid var(--line);background:white;border-radius:13px;box-shadow:0 4px 10px #172f4b06;overflow:hidden;transition:transform .18s,box-shadow .18s;isolation:isolate}.dash-card:hover{transform:translateY(-3px);box-shadow:0 12px 22px #172f4b12}.dash-card::after{content:'';width:155px;height:155px;border-radius:50%;position:absolute;right:-60px;top:-40px;background:var(--tint);z-index:-1}.dash-card.orange{--accent:#d85926;--tint:#fff0e6}.dash-card.blue{--accent:#247dde;--tint:#eaf3ff}.dash-card.purple{--accent:#7659d9;--tint:#f2edff}.dash-card.teal{--accent:#0c9188;--tint:#e6f8f3}.dash-card.rose{--accent:#d5447a;--tint:#fff0f6}.dash-card.amber{--accent:#a47305;--tint:#fff7db}.dash-card-label{display:block;font-size:14px;font-weight:650;padding-right:38px}.dash-card strong{display:block;font-size:clamp(30px,2.9vw,43px);letter-spacing:-1px;color:var(--text-primary41);line-height:1.2;margin:8px 0 5px;font-variant-numeric:tabular-nums}.dash-card-detail{display:block;font-weight:normal;color:var(--text-secondary41);font-size:11px}.dash-card-icon{position:absolute;right:18px;top:22px;color:var(--text-primary41)}.dash-card-icon svg{width:33px;height:33px}.dashboard .dash-spark{position:absolute;width:88px;height:25px;right:20px;bottom:30px;color:var(--text-primary41);opacity:.75}.dash-card-link{display:flex;align-items:center;gap:5px;font-size:10px;margin-top:13px;color:var(--text-primary41)}.dash-card-link svg{width:12px;height:12px}.dash-delta{font-size:12px;color:#202124;display:block;margin-top:10px;max-width:70%}.dash-delta small{display:block;font-size:10px;color:var(--text-secondary41);font-weight:normal}.dash-neutral{font-size:10px;font-weight:normal;color:var(--text-secondary41)}.dash-highlights{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;margin:18px 0;padding:14px 20px;background:#e9eff8;border-radius:9px;color:#45474a;font-size:12px}.dash-highlights b{color:#202124;font-size:15px;margin-right:3px}.dash-charts{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:18px;margin:18px 0}.dash-charts.results{grid-template-columns:1fr 1fr}.dash-panel{padding:22px;background:white;border:1px solid var(--line);border-radius:13px;min-width:0;box-shadow:0 4px 12px #172f4b04}.dash-panel-head{display:flex;justify-content:space-between;align-items:start;gap:14px}.dash-panel h3{font-size:16px;color:var(--text-primary41);margin:0 0 6px;letter-spacing:-.2px}.dash-panel p{color:var(--text-secondary41);font-size:11px;line-height:1.5;margin:0 0 12px}.dash-image{padding:6px;background:#f0f4fa;color:#45474a;border:0;border-radius:6px;flex-shrink:0}.dash-image svg{width:16px;height:16px}.dash-chart{height:290px;min-width:0;width:100%}.dash-chart-controls{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px;align-items:center}.dash-chart-controls label{display:flex;gap:7px;align-items:center;font-size:11px;color:var(--text-secondary41);margin:0}.dash-chart-controls select{width:auto;padding:5px 8px;font-size:11px;border-radius:5px}.dash-chart-controls button{background:#f0f4f9;border:0;padding:5px 8px;font-size:10px;border-radius:5px;color:#45474a}.dash-chart-controls b{margin-left:4px;color:#202124}.dash-secondary-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.dash-secondary{padding:15px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:11px;color:var(--text-primary41)}.dash-secondary strong{display:block;font-size:25px;margin:8px 0}.dash-secondary>span:last-child{font-size:11px;font-weight:normal;line-height:1.5;display:block}.dash-small-icon{display:inline-flex;border-radius:7px;padding:6px;background:#fff0e6;color:#d85926}.dash-small-icon.tone-1,.dash-small-icon.tone-2{background:#f2edff;color:#45474a}.dash-small-icon.tone-3{background:#e6f8f3;color:#202124}.dash-small-icon.tone-4{background:#eaf3ff;color:#45474a}.dash-small-icon.tone-5{background:#fff0f6;color:#d5447a}.dash-result-footer{display:grid;grid-template-columns:1.5fr 1fr;gap:18px;margin:18px 0}.dash-other{display:flex;flex-wrap:wrap;gap:15px;margin-top:16px}.dash-other button{background:#f3f6fb;color:#202124;border:0;border-radius:8px;padding:12px;text-align:left;flex:1;min-width:115px}.dash-other strong{display:block;font-size:24px;margin-bottom:8px}.dash-other span{font-size:10px;font-weight:normal;display:block}.dash-money{display:flex;justify-content:space-between;margin:13px 0;font-size:13px;padding-bottom:10px;border-bottom:1px solid var(--line)}.dash-money strong{font-size:20px;color:#202124}.dash-panel small{font-size:11px;color:var(--text-secondary41)}.dash-method{padding:15px 18px;border:1px solid var(--line);border-radius:9px;color:var(--text-secondary41);font-size:12px;margin:20px 0}.dash-method summary{cursor:pointer;font-weight:600}.dash-method p{line-height:1.7}.dash-comparison{padding:12px 15px;background:#f0f3fb;border-radius:7px;font-size:11px;color:#45474a}.dash-zero{display:flex;flex-direction:column;gap:7px;padding:16px;background:#fff6df;border:1px solid #f2da9a;border-radius:9px;margin:15px 0;color:#785919;font-size:13px}.dash-zero span{font-size:12px}.dash-pagination{display:flex;justify-content:end;align-items:center;gap:15px;margin-top:15px;font-size:12px;color:var(--text-secondary41)}.dash-pagination button{background:#edf2f9;border:0;color:#45474a;font-size:12px;padding:7px 12px}.dashboard button:focus-visible{outline:3px solid #ecac46;outline-offset:3px}.dashboard button:disabled{opacity:.5;cursor:default}.dashboard-present>header,.dashboard-present .shell>aside,.dashboard-present .contextbar{display:none}.dashboard-present .shell{display:block;max-width:none}.dashboard-present main{padding:25px 4vw}.dashboard-present .dash-filter{display:none}.dashboard-present .dash-method{display:none}.dashboard-present .dash-hero{padding:22px 28px}.dashboard-present .dash-hero-actions button:last-child{display:none}.dashboard-present .dash-card{min-height:155px}.dashboard-present .dash-chart{height:280px}.dashboard-present #notice:empty{display:none}@media(min-width:1550px){.dash-card{min-height:183px}.dash-chart{height:320px}.dashboard-present .dash-cards{grid-template-columns:repeat(6,minmax(0,1fr))}.dashboard-present .dash-card{min-height:190px}.dashboard-present .dash-card-icon{top:auto;bottom:15px}.dashboard-present .dash-card-label{padding:0}.dashboard-present .dash-card strong{font-size:38px}.dashboard-present .dash-spark{display:none}.dashboard-present .dash-chart{height:310px}}@media(max-width:1100px){.dash-hero-symbol{display:none}.dash-secondary-cards{grid-template-columns:repeat(3,1fr)}.dash-card-label{font-size:12px}.dash-card-icon svg{width:25px;height:25px}.dash-hero{padding:23px}.dash-charts{grid-template-columns:1.2fr 1fr}.dash-panel{padding:17px}}@media(max-width:850px){.dash-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-charts,.dash-charts.results,.dash-result-footer{grid-template-columns:1fr}.dash-hero{flex-wrap:wrap}.dash-hero-actions{flex-direction:row;flex-wrap:wrap}.dash-hero-actions button{font-size:11px}.dash-card{min-height:165px}.dash-tabbar{flex-wrap:wrap}.dash-filter>button{width:100%}.dash-card strong{font-size:36px}.dash-chart{height:300px}}@media(max-width:500px){.dash-hero{padding:18px;border-radius:12px}.dash-cards{gap:9px}.dash-card{padding:14px;min-height:172px}.dash-card-label{font-size:12px;padding-right:0}.dash-card-icon{top:auto;bottom:16px;right:13px}.dashboard .dash-spark{display:none}.dash-card strong{font-size:32px}.dash-highlights{font-size:11px}.dash-secondary-cards{grid-template-columns:repeat(2,1fr)}.dash-tabbar button{padding:8px 13px}.dash-hero-actions{gap:6px}.dash-hero-actions button{padding:8px}.dash-period{font-size:10px}.dash-filter{padding:12px}.dash-delta{max-width:100%}.dash-presets{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.dash-card{transition:none}.dash-card:hover{transform:none}}
/* Judiciales 1.2: mapas y biblioteca visual local. */
.dash-card{border-top:3px solid var(--accent);background:linear-gradient(145deg,#fff 55%,var(--tint))}.dash-card-icon{background:var(--tint);padding:9px;border-radius:12px;right:15px;top:30px}.dash-card-label{padding-right:60px}.dash-tabbar>div{flex-wrap:wrap}.dash-map-panel{margin-bottom:18px}.dash-map-tools{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:16px 0}.dash-map-tools label{font-size:12px;min-width:205px;margin:0}.dash-map-tools select{padding:9px}.dash-map-tools button{font-size:12px;background:#edf2f9;color:#45474a;border:0}.dash-map-tools label:nth-child(2){flex:1}.dashboard #dash-map-chart{height:510px;min-height:380px;border-radius:13px;overflow:hidden}.dash-map-legend{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:13px 0;font-size:12px;color:#45474a}.dash-map-legend>span:not(:last-child){height:11px;width:11px;border-radius:50%;display:inline-block}.orange-dot{background:#ef803f}.blue-dot{background:#329df1}.purple-dot{background:#8b70e8}.dash-map-legend>span:last-child{margin-left:auto;font-size:11px}.dash-map-source{margin-top:10px!important}.dash-map-pending{display:flex;gap:8px;align-items:center;font-size:12px}.dash-map-pending input{width:auto}.dash-element-switch{display:flex;gap:5px;flex-wrap:wrap;margin:12px 0}.dash-element-switch button{background:#eef3f9;border:0;color:#45474a;padding:7px 12px;font-size:11px}.dash-element-switch button[aria-pressed=true]{background:#183c5e;color:#fff}#dash-element-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:420px;overflow:auto;padding:4px}.dash-item-card{background:#f2f8fb;border:1px solid #dce8ef;color:#202124;border-radius:12px;padding:16px 12px;text-align:left;transition:transform .2s,box-shadow .2s;display:grid;grid-template-columns:1fr auto;gap:6px}.dash-item-card:hover,.dash-item-card:focus-visible{transform:translateY(-3px);box-shadow:0 9px 18px #23405b1f}.dash-item-card .item-icon{grid-column:2;grid-row:1/3;color:#202124}.dash-item-card svg{width:43px;height:43px;stroke-width:1.4}.dash-item-card strong{font-size:28px;line-height:1.2;grid-column:1}.dash-item-card>span:not(.item-icon){font-size:11px;grid-column:1/-1}.dash-item-card small{font-size:10px;grid-column:1/-1;color:#45474a}.dash-item-card.tone-1{background:#f5f0ff;border-color:#e7def8}.dash-item-card.tone-1 .item-icon{color:#45474a}.dash-item-card.tone-2{background:#fff4e9;border-color:#f7dfc4}.dash-item-card.tone-2 .item-icon{color:#c96a1e}.dash-item-card.tone-3{background:#edf6ff;border-color:#d4e6f7}.dash-item-card.tone-3 .item-icon{color:#45474a}.dash-item-card.tone-4{background:#fff0f6;border-color:#f5dbe7}.dash-item-card.tone-4 .item-icon{color:#bc4b78}.location-dialog{width:min(760px,95vw);max-height:95vh;overflow:auto;padding:22px}.location-dialog p{font-size:12px;color:#45474a;line-height:1.6}.location-dialog #geo-preview{height:260px;margin-top:12px;border-radius:10px;overflow:hidden}.location-dialog .grid{margin-top:15px}.location-dialog .dialoghead button{font-size:24px}.location-dialog #geo-candidates{display:flex;flex-direction:column;gap:6px;margin-top:12px}.location-dialog #geo-candidates button{text-align:left;font-size:12px}#geo-status{white-space:pre-wrap}#location-form label{font-size:12px}.dashboard [hidden]{display:none!important}@media(max-width:1100px){#dash-element-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-card-icon{padding:5px;top:40px}.dash-card-label{padding-right:33px}}@media(max-width:650px){.dash-map-tools label{width:100%;min-width:0}.dash-map-tools button{width:100%}.dashboard #dash-map-chart{height:410px}.dash-map-legend>span:last-child{margin:0;width:100%}.dash-card-icon{top:auto;bottom:12px}.dash-card-label{padding-right:0}.dash-map-panel .dash-highlights{gap:10px;padding:12px}.dash-map-pending{margin-top:8px}.location-dialog{padding:15px}.dash-panel-head{flex-wrap:wrap}.dash-tabbar button{padding:8px 10px}.dash-item-card{padding:14px 10px}.dash-item-card strong{font-size:24px}}@media(prefers-reduced-motion:reduce){.dash-item-card{transition:none}.dash-item-card:hover{transform:none}}
