/* Radar Inversión — light, mobile-first theme v0.2 */
:root {color-scheme:light;--bg:#f4f7fa;--panel:#ffffff;--panel2:#f7fafc;--line:#dfe7ed;--text:#163047;--muted:#647b8e;--accent:#078c93;--green:#189c72;--yellow:#b87916;--red:#d35160;--blue:#376fa7}
body{background:#f4f7fa;color:var(--text)}.ambient{opacity:.12;filter:blur(100px)}.ambient-a{background:#8bd4cf}.ambient-b{background:#c5d7ec}
.panel{background:#fff;border-color:#dde6ee;box-shadow:0 8px 25px #16374b0a}
.topbar,footer{border-color:#dce5eb}.brand-icon{background:#e2f9f6;border:1px solid #c7e7e4;box-shadow:none;color:#098b91}
.eyebrow{color:#718a9b}.brand-title span,.eyebrow.accent{color:#078c93}.intro h1 span{color:#078c93}
.pill{border-color:#d1dfe8;color:#52697b}.pill.normal{background:#e8f7f1;color:#13865e;border-color:#c9e8da}.pill.warning{background:#fff4df;color:#946313;border-color:#f4ddb1}.pill.critical{background:#fff0f0;color:#bb3f54;border-color:#f0ced2}
.group-label{color:#324d62}.score,.group-score,.indicator-value,.detail-value{color:#163047}.meter-fill{background:#122e3d}.meter-labels,.coverage,.section-head p,.source{color:#657a8b}
.summary{color:#385568}.tab,.range{background:#f7fafd;border-color:#dce7ed;color:#546d7e}.tab.selected,.range.selected{color:#fff;background:#078c93;border-color:#078c93}
.indicator{background:#fff;color:#193346;border-color:#dae5eb}.indicator.active{background:#e8f8f6;border-color:#69bdb8}
.details-description,.explanation p{color:#516b7e}.chart-box{background:#fbfdff;border-color:#dfebf0}
.facts .fact{background:#f8fbfc;border-color:#e1eaf0}.fact span{color:#6d8394}
.explanation{border-color:#e3ebef}.diagnosis-row+.diagnosis-row{border-color:#e9eef2}
.diagnosis-icon{background:#e5f5f4;color:#0b8888}
.notice{background:#fff8e7;border-color:#e9cc8c;color:#7c5b0d}
.indicator-meta,.indicator-status,.group-bottom{color:#647b8e}
footer{padding-bottom:calc(32px + env(safe-area-inset-bottom))}
@media(prefers-color-scheme:dark){:root{color-scheme:light}}


/* v0.3 · Priorizar niveles, explicar el índice y permitir explorar tarjetas */
.overview-heading{margin:27px 0 13px}.overview-heading h2{font-size:22px;line-height:1.24;margin:5px 0}.overview-heading p{font-size:12px;line-height:1.5;color:#627c8f;margin:0}
.structural-heading{display:flex;justify-content:space-between;align-items:start;gap:15px;margin-bottom:15px}.structural-heading h2{margin:3px 0;font-size:23px;letter-spacing:-.025em}.structural-heading p{margin:3px 0 0;color:#60798c;font-size:12px;line-height:1.5}.structural-glance{margin:7px 0 27px}
.structural-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.structural-stat{display:flex;flex-direction:column;min-height:172px;padding:16px 15px;text-decoration:none;color:#183548;transition:transform .18s ease,border-color .18s ease;position:relative}
.structural-stat:hover,.structural-stat:focus-visible{transform:translateY(-2px);border-color:#72bcb8}
.structural-stat .stat-top{font-weight:760;font-size:12px;color:#38596a}.structural-stat .stat-value{font-size:30px;font-weight:830;letter-spacing:-.045em;line-height:1.35;margin-top:9px}
.structural-stat .stat-value small{font-size:14px;font-weight:520;color:#68869a;margin-left:3px}
.structural-stat .stat-position{font-weight:690;font-size:11px;color:#ac711e}.structural-stat .stat-position.moderate{color:#167f78}
.structural-stat .stat-bottom{display:flex;align-items:end;justify-content:space-between;gap:7px;margin-top:auto;padding-top:10px;font-size:10px;color:#6d8494}
.structural-stat .stat-bottom em{font-style:normal;color:#0b8f91;font-weight:700}
.structural-conclusion{font-size:12px;line-height:1.55;color:#485e6d;margin:11px 2px 0}
.overview-clickable{cursor:pointer;text-align:left;color:var(--text);font:inherit;width:100%;transition:box-shadow .18s ease,border-color .18s ease,transform .18s ease}
.overview-clickable:hover,.overview-clickable:focus-visible,.overview-clickable[aria-expanded="true"]{border-color:#73c3bc;box-shadow:0 9px 25px #057f801b}
.overview-clickable:hover{transform:translateY(-1px)}.overview-clickable:focus-visible{outline:2px solid #069d98;outline-offset:2px}
.card-arrow{float:right;color:#0b9293;font-size:15px}.card-hint{font-size:10px;color:#068b8b;margin-top:12px;font-weight:710}
.main-score .card-hint{margin-top:12px}.overview-clickable.group-card{appearance:none;box-sizing:border-box}
.overview-clickable.group-card .group-label{width:100%}
.overview-clickable.group-card .group-bottom{font-size:10px}
.overview-explanation{margin-top:13px;padding:20px 22px;scroll-margin-top:22px}
.overview-explanation[hidden],.structural-glance[hidden]{display:none!important}
.overview-explain-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
.overview-explain-head h3{font-size:19px;letter-spacing:-.02em;margin:5px 0 12px}
.overview-close{border:1px solid #dce8ed;background:#f6fafb;border-radius:9px;cursor:pointer;color:#436172;padding:7px 12px;font-size:11px}
.overview-explain-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:11px}
.overview-explain-columns h4{font-size:12px;margin:10px 0 3px;color:#146b70}.overview-explain-columns p{font-size:12px;color:#4e6679;margin:0;line-height:1.6}
.overview-current{border-left:3px solid #159f9a;background:#eef9f8;border-radius:0 10px 10px 0;padding:12px 14px}
.overview-current strong{font-size:12px;color:#196a70}.overview-current p{font-size:12px;margin:4px 0 0;color:#3e6071;line-height:1.55}
.overview-link-intro{font-size:12px;color:#5b7686}
.overview-signal-list{margin-top:16px}.overview-signal-list h4{font-size:12px;margin:0 0 6px}
.overview-signal-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;border-bottom:1px solid #edf1f4;padding:8px 0;font-size:11px;color:#456273}
.overview-signal-row strong{white-space:nowrap;color:#234859}.overview-signal-row small{font-size:10px;color:#188c71;white-space:nowrap}
.overview-signal-row small.warning{color:#a67519}.overview-signal-row small.critical{color:#c34457}.overview-signal-row small.unavailable{color:#a16a36}
.overview-explain-actions{display:flex;flex-wrap:wrap;gap:15px;margin-top:15px;align-items:center}
.overview-explore{background:#078f91;border:0;border-radius:9px;padding:10px 14px;color:white;font-weight:700;font-size:12px;cursor:pointer}
.overview-explain-actions a{font-size:12px;font-weight:650;color:#07868e;text-decoration:none}
@media(max-width:850px){.structural-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.structural-glance{margin-top:6px}.structural-grid{gap:9px}.structural-stat{padding:12px;min-height:150px}.structural-stat .stat-value{font-size:25px}.structural-heading h2{font-size:21px}.overview-heading h2{font-size:19px}.overview-explanation{padding:15px}.overview-explain-columns{grid-template-columns:1fr;gap:5px}.overview-signal-row{grid-template-columns:minmax(0,1fr) auto;gap:5px}.overview-signal-row small{grid-column:1/-1}.main-score .card-hint{margin-top:9px}}
