:root{--navy:#173451;--blue:#2873a5;--line:#d7e2ec;--text:#19334d;--muted:#596e82;font:16px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--text);background:#f2f6fa}body{margin:0;background:#f2f6fa;color:#19334d;font:16px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}body>main,body>main.wrap{box-sizing:border-box;width:100%!important;max-width:none!important;margin:0 auto!important;padding:24px clamp(12px,2vw,32px) 40px!important}main>header{box-sizing:border-box;background:linear-gradient(110deg,#173451,#12596a);color:#fff;border-radius:20px;padding:30px 32px;margin:0 0 22px}main>header h1{font-size:38px;line-height:1.15;margin:10px 0}main>header p{color:#deebf3}main>header .eyebrow{font-size:12px;letter-spacing:.14em;color:#b9dae8}main h2{font-size:25px;line-height:1.25}main h3{color:#173451}main>section,main>.panel{border:1px solid #d7e2ec;border-radius:18px;background:#fff;padding:26px;margin:20px 0}button,.button{font-family:inherit;border-radius:9px}.foco-profile-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}.foco-profile-columns>section{min-width:0;margin:0;border:1px solid #d7e2ec;border-radius:18px;padding:26px;background:#fff}.foco-profile-columns p{overflow-wrap:anywhere}.foco-profile-columns .profile-preview{width:160px;height:160px;object-fit:contain}.foco-bulk{background:#edf4fa;border:1px solid #bbcfdf;border-radius:12px;padding:20px;margin:18px 0}.foco-bulk label{display:block;margin:10px 0;font-size:14px}.foco-bulk p{margin:10px 0}.foco-select-note{display:block;padding:10px 0 16px;font-size:14px;color:#175d7c}.foco-tools-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.foco-tools-grid article{background:#fff;border:1px solid #d7e2ec;border-radius:14px;padding:22px}.foco-tools-grid article h2{font-size:21px}.foco-tools-grid article a{color:#175d7c;font-weight:700}.foco-tools-grid article p{color:#596e82;font-size:14px}@media(max-width:750px){body>main,body>main.wrap{padding:14px 12px 30px!important}main>header{padding:24px 20px}main>header h1{font-size:30px}main>section,main>.panel{padding:20px 16px}.foco-profile-columns{grid-template-columns:1fr;gap:16px}.foco-profile-columns>section{padding:22px}.foco-bulk{padding:16px}}

.foco-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:22px 0;padding:14px;background:#fff;border:1px solid #d5e2ed;border-radius:18px;color:#173650;font:600 15px/1.45 system-ui,sans-serif;box-sizing:border-box}
.foco-nav .foco-nav-links{display:flex;flex-wrap:wrap;gap:6px}
.foco-nav a{display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;box-sizing:border-box;border-radius:10px;color:#173650;text-decoration:none;border:2px solid transparent}
.foco-nav a[aria-current=page]{background:#173650;color:#fff}
.foco-nav a:hover{background:#e2eef5;color:#173650}
.foco-nav a:focus-visible{outline:3px solid #1476a3;outline-offset:3px}
.foco-nav .foco-nav-identity{margin:0;padding:0 6px;display:flex;flex-direction:column;gap:2px;text-align:right;font-size:12px;color:#526b80;overflow-wrap:anywhere}
.foco-nav-identity strong{color:#17617a;font-weight:700}
.foco-subnav{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}
.foco-subnav a{padding:8px 12px;color:#17617a}
.foco-subnav a[aria-current=page]{font-weight:800;text-decoration-thickness:3px}
.foco-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.foco-card{padding:24px;border:1px solid #d5e2ed;border-radius:16px;background:#fff;display:flex;flex-direction:column;align-items:flex-start}
.foco-card h2{margin-top:0}.foco-card p{flex-grow:1}
.foco-table-scroll{overflow-x:auto}.foco-table-scroll table{width:100%;border-collapse:collapse}.foco-table-scroll th,.foco-table-scroll td{padding:14px;text-align:left;border-bottom:1px solid #d5e2ed}
@media(max-width:750px){.foco-nav{flex-direction:column;align-items:stretch;gap:12px;padding:12px}.foco-nav .foco-nav-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.foco-nav a{justify-content:center;padding:10px 6px}.foco-nav .foco-nav-identity{flex-direction:row;flex-wrap:wrap;justify-content:space-between;text-align:left;border-top:1px solid #d5e2ed;padding-top:10px}.foco-cards{grid-template-columns:1fr}}
/* Dimensiones de referencia: Tablero. Se carga después de los estilos de cada página. */
html body{margin:0;background:#f3f6f9;color:#20344b;font:16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}body>main,body>main.wrap{box-sizing:border-box;width:100%!important;max-width:none!important;padding:24px clamp(12px,2vw,32px) 40px!important;margin:0 auto!important}main *,main *:before,main *:after{box-sizing:border-box}body main>header,body.history-view main>header{display:block;background:linear-gradient(115deg,#123250,#12596a);border-radius:20px;padding:30px 34px!important;margin:0 0 20px!important;min-height:182px;color:#fff}body main>header:has(>.badge){display:flex;justify-content:space-between;align-items:center;gap:20px}body main>header h1,body.history-view main>header h1{font-size:48px!important;line-height:1.05!important;letter-spacing:normal;margin:4px 0!important}body main>header p,body.history-view main>header p{font-size:16px;line-height:1.5;color:#deebf3;max-width:720px;margin:10px 0 0!important}body main>header .eyebrow{font-size:12px;letter-spacing:.16em;font-weight:800;color:#8abbd7;margin:0 0 8px!important}body main .foco-nav{width:100%;margin:22px 0;padding:14px;min-height:72px}body main .foco-nav a[aria-current=page]{background:#173650;color:#fff}body main .foco-nav .foco-nav-identity{margin:0}body main>section:not(.overview){padding:24px;margin:18px 0}body main>section>h2{font-size:25px;margin:2px 0 6px}body main .foco-tools-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:18px;margin:22px 0}body main .foco-tools-grid>article{display:flex;flex-direction:column;align-items:flex-start;padding:24px;min-width:0;border:1px solid #d8e3ec;border-radius:18px;background:#fff}body main .foco-tools-grid h2{font-size:22px;margin:0 0 12px}body main .foco-tools-grid p{flex:1;margin:0 0 20px;color:#60748a}body main .foco-tools-grid a{display:inline-block;color:#175d7c;font-size:14px;font-weight:700}body main .toolbar{padding:12px 0;gap:12px}body main .overview{padding:0;border:0;background:transparent;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:14px 0}body main .overview article{padding:16px 20px;border-radius:14px}body main .overview .metric{font-size:30px;margin:0 0 4px}body main .overview h2{font-size:15px;margin:0 0 4px}body main .overview p{font-size:13px;margin:0 0 4px}body main .section-heading{margin:22px 0 12px}body main .section-heading h2{font-size:23px}.fs-list{display:grid;gap:8px}.fs-row{border:1px solid #d8e3ec;border-radius:12px;background:#fff;overflow:hidden}.fs-row>summary{display:grid;grid-template-columns:minmax(130px,1.25fr) minmax(120px,1fr) minmax(165px,1.35fr) repeat(3,minmax(75px,.65fr)) 85px;align-items:center;gap:12px;padding:14px 18px;cursor:pointer;list-style:none;font-size:14px}.fs-row>summary::-webkit-details-marker{display:none}.fs-row>summary:hover{background:#f2f7fb}.fs-row>summary:focus-visible{outline:3px solid #2873a5;outline-offset:-3px}.fs-row>summary small{display:block;font-size:11px;color:#60748a;margin-bottom:3px}.fs-row>summary strong{font-size:15px}.fs-row .fs-status{display:flex;align-items:flex-start;flex-direction:column;gap:3px}.fs-row .badge{white-space:normal}.fs-open{color:#175d7c;font-weight:700;font-size:12px}.fs-open:after{content:' ▾'}.fs-row[open] .fs-open:after{content:' ▴'}.fs-detail{border-top:1px solid #d8e3ec;padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:22px}.fs-detail p{font-size:13px;margin:0 0 8px;overflow-wrap:anywhere}.fs-detail .dates{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fs-detail .dates>div{margin:0}.fs-detail .cron-box{margin:0;padding:14px}.fs-detail .status-detail{min-height:0}.fs-detail .scope{padding-bottom:8px;margin-bottom:8px}.fs-detail .counts{padding:8px 0}.fs-detail .counts strong{font-size:20px}.fs-list-note{font-size:12px;color:#60748a}.fs-help{padding:18px 22px;margin:20px 0;background:#fff;border:1px solid #d8e3ec;border-radius:14px}.fs-help>summary{cursor:pointer;font-weight:700}.fs-help .help-grid{margin-top:15px}.fs-help h3{font-size:15px}.fs-help p{font-size:13px}.fh-scroll{width:100%;overflow:auto}.fh-table{width:100%;min-width:0;border-collapse:collapse;font-size:13px}.fh-table th,.fh-table td{padding:12px 10px;text-align:left;vertical-align:top;border-bottom:1px solid #d8e3ec}.fh-table thead th{background:#edf4f8;font-size:12px}.fh-table tbody tr:nth-child(even){background:#f8fbfd}.fh-table td:nth-child(5),.fh-table td:nth-child(6),.fh-table td:nth-child(7){text-align:center}.fh-table td small{display:block;color:#60748a;font-size:11px}.fh-table .status{font-size:11px;padding:4px 8px;white-space:nowrap}.fh-table .fh-error{background:#fcece8;color:#923c33}.fh-table details{max-width:360px;font-size:12px}.fh-table details p{overflow-wrap:anywhere;margin:8px 0}.fh-table summary{cursor:pointer;color:#175d7c;font-weight:700}.fh-table .error{padding:8px;margin:8px 0}.history-note{font-size:13px;margin:8px 0 12px}.history-pages{display:flex;gap:8px;justify-content:center;align-items:center;flex-wrap:wrap;margin:14px 0;font-size:13px}.history-pages a{padding:7px 11px;border:1px solid #d8e3ec;border-radius:8px;text-decoration:none;color:#175d7c}.history-view .history-section>h2{margin:0 0 6px}.history-view summary{cursor:pointer}.history-view footer{font-size:12px;text-align:center;padding:20px}
@media(max-width:1000px){.fs-row>summary{grid-template-columns:1.2fr 1fr 1.3fr;gap:12px}.fs-detail{grid-template-columns:1fr}.fs-open{grid-column:1/-1}.fh-table thead{display:none}.fh-table,.fh-table tbody{display:block}.fh-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #d8e3ec;border-radius:12px;margin-bottom:10px;padding:10px}.fh-table td{border:0;padding:7px;text-align:left!important;min-width:0}.fh-table td:before{content:attr(data-label);display:block;color:#60748a;font-size:11px}.fh-table td:last-child{grid-column:1/-1}.fh-table details{max-width:none}}
@media(max-width:750px){body>main,body>main.wrap{padding:14px 12px 30px!important}body main>header,body.history-view main>header{padding:24px 20px!important;min-height:0}body main>header h1,body.history-view main>header h1{font-size:32px!important}body main>header:has(>.badge){flex-direction:column;align-items:flex-start}body main>section:not(.overview){padding:18px 16px}body main .overview{grid-template-columns:1fr}.fs-row>summary{padding:12px;grid-template-columns:1fr 1fr}.fs-detail{padding:14px}.fs-detail .dates{grid-template-columns:1fr}.fs-help .help-grid{grid-template-columns:1fr}.fh-table tr{grid-template-columns:1fr 1fr}body main .foco-nav{padding:12px}body main .foco-tools-grid{grid-template-columns:1fr}}

/* Encabezado único: misma geometría y jerarquía que el Tablero. */
html body main>header,
html body.history-view main>header {
  box-sizing:border-box; width:100%; min-height:194.4px;
  padding:30px 34px!important; margin:0 0 22px!important;
  border:0!important; border-radius:20px!important;
  background:linear-gradient(115deg,#123250,#12596a)!important;
  color:#fff; text-align:left!important;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
}
html body main>header:has(>.badge){display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
html body main>header>div{min-width:0}
html body main>header h1,
html body.history-view main>header h1 {
  font-family:inherit!important; font-size:48px!important; font-weight:700!important;
  line-height:1.05!important; letter-spacing:normal!important;
  margin:0!important; padding:0!important; color:#fff!important;
  overflow-wrap:anywhere;
}
html body main>header p,
html body.history-view main>header p {
  font-family:inherit!important;font-size:16px!important;font-weight:400!important;
  line-height:1.5!important;letter-spacing:normal!important;
  margin:10px 0 0!important;padding:0!important;max-width:720px!important;
  color:#deebf3!important;
}
html body main>header p.eyebrow,
html body.history-view main>header p.eyebrow {
  font-size:12px!important;font-weight:800!important;line-height:1.5!important;
  letter-spacing:.16em!important;color:#8abbd7!important;
  margin:0 0 8px!important;
}
html body main>.foco-nav {
  box-sizing:border-box;width:100%;margin:22px 0!important;padding:14px!important;
  border:1px solid #d5e2ed!important;border-radius:18px!important;
  font:600 15px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif!important;
}
html body main>.foco-nav .foco-nav-links{gap:6px}
html body main>.foco-nav a {
  font:inherit!important;min-height:44px;padding:10px 14px!important;
  border:2px solid transparent;border-radius:10px!important;letter-spacing:normal;
}
@media(max-width:750px){
  html body main>header,html body.history-view main>header {
    min-height:0;padding:24px 20px!important;
  }
  html body main>header h1,html body.history-view main>header h1{font-size:32px!important}
  html body main>header:has(>.badge){flex-direction:column;align-items:flex-start}
  html body main>.foco-nav{padding:12px!important}
  html body main>.foco-nav a{padding:10px 6px!important}
}
/* FOCO · paleta del demo aprobado. */
:root{color-scheme:dark;--navy:#b8d9ee;--text:#e1eaf2;--muted:#b0c2d1;--line:#365065;--blue:#73bad6}
html body{background:#101e2a!important;color:#e1eaf2!important}
body main p,body main .hint,body main .sub,body main small{color:#b0c2d1}
body main h2,body main h3,body main h4,body main strong{color:#e1eaf2}
body main a{color:#8dcced}body main a:visited{color:#bba9de}
body main .panel,body main>section,body main .foco-profile-columns>section,body main .foco-tools-grid>article,body main .foco-card,body main .overview article,body main .fs-row,body main .fs-help,body main .fp-module,body main .fp-candidate,body main .fp-totals article{background:#1a2b3a!important;border-color:#365065!important;color:#e1eaf2}
html body main>.foco-nav{background:#1a2b3a!important;border-color:#365065!important;color:#e1eaf2}
body main .foco-nav a{color:#e1eaf2}body main .foco-nav a:hover{background:#304b60;color:#fff}body main .foco-nav .foco-nav-identity,body main .foco-nav-identity strong{color:#b0c2d1}
body main input,body main select,body main textarea{background:#132330!important;color:#e1eaf2!important;border-color:#496175!important}
body main button,body main .button{background:#294f68;color:#fff;border-color:#496175}body main button.secondary{background:#283e50}
body main th,body main td{border-color:#365065!important}body main thead th,body main .fh-table thead th{background:#243c50!important;color:#e1eaf2!important}body main tbody tr:nth-child(even),body main .fh-table tbody tr:nth-child(even){background:#1d3243}
body main .fs-row>summary:hover{background:#243c50}body main .fs-detail,body main .fs-detail .cron-box,body main .foco-bulk{background:#203748;border-color:#365065;color:#e1eaf2}
body main .fp-up{color:#8dd9bd!important}body main .fp-down{color:#f4ada5!important}
.fp-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.fp-totals article{border:1px solid #365065;border-radius:14px;padding:16px}.fp-totals span,.fp-totals small{display:block;font-size:12px}.fp-totals strong{display:block;font-size:29px;font-variant-numeric:tabular-nums}
.fp-upper{display:grid;grid-template-columns:minmax(0,2fr) minmax(230px,1fr);gap:16px}.fp-module{min-width:0;border:1px solid #365065;border-radius:16px;padding:20px}.fp-module h3,.fp-card-heading h3{margin:0 0 6px!important;font-size:21px}.fp-module .hint{margin:0 0 12px}
.fp-bar-scroll{overflow-x:auto}.fp-bars{display:flex;align-items:flex-end;gap:16px;min-height:300px;padding-top:12px}.fp-bar-item{flex:1 0 70px;display:flex;align-items:center;flex-direction:column;text-align:center;gap:6px;text-decoration:none!important;color:#e1eaf2!important}.fp-bar-item img,.fp-avatar-fallback{width:44px;height:44px;border-radius:50%;object-fit:cover;background:#304352}.fp-avatar-fallback{display:inline-flex;align-items:center;justify-content:center;color:#deebf3}.fp-bar-mark{display:block;flex:none;max-width:46px}.fp-bar-name{font-size:12px;line-height:1.3;min-height:48px;max-width:84px}.fp-bar-item:hover img{outline:3px solid #8dcced}.fp-bar-item:hover .fp-bar-mark{filter:brightness(1.2)}
.fp-changes{max-height:320px;overflow:auto}.fp-changes>div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #365065;padding:10px 0;font-size:13px}.fp-changes small{display:block}.fp-changes strong{white-space:nowrap}
.fp-card-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:22px 0 12px}.fp-columns{display:flex;gap:6px}.fp-columns button{font-size:12px;padding:8px 12px}.fp-columns button[aria-pressed=true]{background:#376886}
.fp-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.fp-cards.fp-two{grid-template-columns:repeat(2,minmax(0,1fr))}.fp-candidate{padding:18px;border:1px solid #365065;border-radius:16px;min-width:0}.fp-person{display:flex;align-items:center;gap:12px;margin-bottom:18px}.fp-person img{width:48px;height:48px;object-fit:cover;border-radius:50%}.fp-person h4{margin:0;font-size:17px}.fp-person p{margin:3px 0 0;font-size:12px}.fp-measures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fp-measures strong{display:block;font-size:24px;font-variant-numeric:tabular-nums}.fp-measures .fp-delta{font-size:20px;overflow-wrap:anywhere}.fp-measures small{display:block;font-size:11px}.fp-share{display:flex;justify-content:space-between;margin-top:16px;font-size:12px;color:#b0c2d1}.fp-track{display:block;margin:7px 0 13px}.fp-profile-link{font-size:13px}.fp-method{margin:18px 0;font-size:12px;color:#b0c2d1}.fp-method summary{color:#8dcced;cursor:pointer}
body main .fp-profiles .profile-preview{width:150px;height:150px;border-radius:18px;margin:0 0 18px}.fp-profiles .fp-portrait{object-fit:cover!important}.fp-profiles .fp-party-logo{object-fit:contain!important;background:#f3f6f9}.fp-profiles h2{font-size:28px!important;margin:0 0 16px!important}.fp-profiles p{font-size:16px;line-height:1.65}
.fp-radar-scroll{overflow-x:auto}.fp-radar-svg{width:100%;min-width:850px;display:block;height:auto}.fp-sector{stroke:#365065;stroke-width:1}.fp-sector-0{fill:#203748}.fp-sector-1{fill:#243e50}.fp-sector-label{fill:#dcebf4;font:bold 15px system-ui}.fp-node-name{fill:#dcebf4;font:13px system-ui}.fp-node-initial{fill:#fff;font:18px system-ui}.fp-radar-svg a:hover circle,.fp-radar-svg a:focus circle,.fp-radar-svg a[aria-current=page] circle{stroke:#e1eaf2;stroke-width:4}.fp-undefined{display:flex;flex-wrap:wrap;gap:16px}.fp-undefined a{display:flex;align-items:center;gap:8px}.fp-undefined img{width:44px;height:44px;object-fit:cover;border-radius:50%}
body main .fg-plot{background:#142635}body main .axis,body main .chart-name,body main .chart-number{fill:#b0c2d1}body main .chart-grid{stroke:#365065}.fg-hover-line{vector-effect:non-scaling-stroke}.fg-hover-line[visibility=hidden]{visibility:hidden}body main .fg-person{color:#e1eaf2}body main .fg-ring{stroke:#1a2b3a}body main .fg-cluster:hover .fg-ring,body main .fg-cluster:focus .fg-ring{stroke:#dcebf4}body main .fg-help:empty{display:none}
body main .fm-table .fm-level-0{background:#172a38;color:#91a7b8}body main .fm-table .fm-level-1{background:#244357;color:#dcebf4}body main .fm-table .fm-level-2{background:#315e76;color:#fff}body main .fm-table .fm-level-3{background:#347d9b;color:#fff}body main .fm-table .fm-level-4{background:#489bbc;color:#fff}body main .fm-table tbody th{background:#243c50;color:#e1eaf2}body main .fm-table .fm-total{background:#2d566e;color:#fff}
@media(max-width:1100px){.fp-upper{grid-template-columns:1fr}.fp-changes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;max-height:250px}}
@media(max-width:850px){.fp-cards,.fp-cards.fp-two{grid-template-columns:repeat(2,minmax(0,1fr))}.fp-totals{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.fp-cards,.fp-cards.fp-two{grid-template-columns:1fr}.fp-changes{grid-template-columns:1fr}.fp-module{padding:15px}.fp-profiles h2{font-size:25px!important}}
body main .notice,body main .choices form,body main .results article,body main .help,body main .profile-list a[aria-current]{background:#203748;border-color:#365065;color:#dcebf4}
body main .badge.ok,body main .fresh.ok,body main .alert.ok{background:#21493e;color:#a3e3ca}body main .badge.warn,body main .fresh.warn{background:#554527;color:#f5d89c}body main .badge.error,body main .error,body main .fh-error,body main .alert.err{background:#512f31;color:#ffd0c5}body main .badge.info,body main .fresh.info,body main .tag,body main .status{background:#294a62;color:#c5e4fa}body main .badge.neutral,body main .fresh.neutral{background:#304352;color:#d0dce6}body main .notice p,body main .error p{color:inherit}

/* Ajustes de contraste y módulos: noviembre 2026. */
body main>.panel,body main>.fp-radar{margin-top:28px!important;margin-bottom:28px!important}
body main .fp-module,body main .fp-totals article,body main .fp-light{background:#f8fafc!important;color:#1e2b39!important;border-color:#d5e0e9!important;color-scheme:light}
body main .fp-totals article:nth-child(2){background:#eef5f9!important}
body main .fp-totals article:nth-child(3){background:#f0f6f3!important}
body main .fp-totals article:nth-child(4){background:#f4f1f8!important}
body main .fp-totals article :is(strong,span,small),body main .fp-module :is(h3,p,small,strong,span,a),body main .fp-light :is(h2,h3,h4,p,small,strong,span,a,summary){color:#1e2b39!important}
body main .fp-totals .fp-total-title{font-size:14px;font-weight:700;margin:3px 0 5px}
body main .fp-totals strong{font-size:32px;line-height:1.2}
body main .fp-module .fp-up{color:#176348!important}body main .fp-module .fp-down{color:#a03232!important}
body main .fp-changes>div{border-color:#d5e0e9}
body main .fp-module h3,body main .fp-analytics h3,body main .fp-card-heading h3{font-size:21px!important;line-height:1.3;margin:0 0 6px!important}
body main .fp-analytics .chart-block{border:0!important;margin:0;padding:0;background:transparent!important}
body main .fp-analytics .foco-media{margin-top:36px!important}
body main .fp-analytics hr{display:none}
body main .fp-analytics .fg-plot{background:#f1f5f8}
body main .fp-analytics .axis{fill:#1e2b39}
body main .fp-analytics .chart-grid{stroke:#d5e0e9}
body main .fp-analytics .fg-ring{stroke:#f8fafc}
body main .fp-analytics .fg-cluster:hover .fg-ring,body main .fp-analytics .fg-cluster:focus .fg-ring{stroke:#1e2b39}
body main .fp-analytics .fm-table th,body main .fp-analytics .fm-table td{color:#1e2b39!important;border-color:#d5e0e9!important}
body main .fp-analytics .fm-table thead th,body main .fp-analytics .fm-table tbody th{background:#e5edf3!important}
body main .fp-analytics .fm-table tbody tr:nth-child(even) th{background:#edf3f7!important}
body main .fp-analytics .fm-table tbody tr{background:transparent!important}
body main .fp-analytics .fm-table .fm-level-0{background:#f8fafc}
body main .fp-analytics .fm-table .fm-level-1{background:#e2edf4}
body main .fp-analytics .fm-table .fm-level-2{background:#c3dce9}
body main .fp-analytics .fm-table .fm-level-3{background:#a0c6da}
body main .fp-analytics .fm-table .fm-level-4{background:#79afcc}
body main .fp-analytics .fm-table .fm-total{background:#c3dce9!important}
body main .fp-analytics .fg-values th,body main .fp-analytics .fg-values td{background:#edf3f7!important;color:#1e2b39!important}
body main .fp-radar .fp-sector{stroke:#c3d2de}
body main .fp-radar .fp-sector-0{fill:#eaf1f6}
body main .fp-radar .fp-sector-1{fill:#dce8f0}
body main .fp-radar .fp-sector-label,body main .fp-radar .fp-node-name{fill:#1e2b39}
body main .fp-radar a:hover circle,body main .fp-radar a:focus circle,body main .fp-radar a[aria-current=page] circle{stroke:#1e2b39;stroke-width:2}
body main .fp-card-heading{margin-top:0}
/* Catálogo: formularios, directorio y vínculos en la misma paleta oscura. */
body main .catalog-layout section{background:#1a2b3a!important;border:1px solid #365065!important;color:#e1eaf2;border-radius:18px;padding:24px}
body main .catalog-layout :is(h2,h3,h4,label){color:#e1eaf2!important}
body main .catalog-layout :is(p,small,.hint,.eyebrow){color:#b0c2d1!important}
body main .catalog-layout a,body main .catalog-layout a:visited{color:#8dcced!important}
body main .catalog-layout .button,body main .catalog-layout .button:visited{color:#fff!important}
body main .catalog-layout .profile-list a{border-color:#365065!important}
body main .catalog-layout .profile-list a[aria-current]{background:#28475d!important}
body main .catalog-layout .profile-form :is(input,select,textarea){background:#132330!important;color:#e1eaf2!important;border-color:#496175!important}
body main .catalog-layout .profile-form :is(input,textarea)::placeholder{color:#9fb4c4}

/* FOCO · Claro / azul niebla. Encabezados y colores de partidos conservados. */
:root{color-scheme:light;--navy:#1e2b39;--text:#1e2b39;--muted:#526779;--line:#cad8e2;--blue:#315a70;--foco-bg:#e9eff3;--foco-panel:#f6f9fb;--foco-inner:#edf3f7}
html,html body{background:#e9eff3!important;color:#1e2b39!important}
html body main :is(.panel,section,.foco-card,.foco-tools-grid>article,.overview article,.fs-row,.fs-help,.fp-light,.catalog-layout section){background:#f6f9fb!important;border-color:#cad8e2!important;color:#1e2b39!important}
html body main .overview{background:transparent!important;border:0!important}
html body main :is(.fp-module,.fp-candidate,.fp-totals article,.fp-totals article:nth-child(n),.choices form,.results article,.notice,.help,.foco-bulk,.fs-detail,.cron-box){background:#edf3f7!important;border-color:#cad8e2!important;color:#1e2b39!important}
/* Excluir el header evita cambiar su degradado y jerarquía original. */
html body main>:not(header) :is(h1,h2,h3,h4,h5,label,strong,b,span,legend,summary,li,dt,dd),html body main>:not(header){color:#1e2b39}
html body main>:not(header) :is(p,small,.hint,.eyebrow,.sub,.fs-list-note,.history-note,.fp-share,.fp-method),html body main>footer{color:#526779!important}
html body main :is(.fp-module,.fp-light,.catalog-layout) :is(h2,h3,h4,label,strong,span,a,summary){color:#1e2b39!important}
html body main :is(.fp-module,.fp-light,.catalog-layout) :is(p,small,.hint,.eyebrow){color:#526779!important}
html body main .fp-totals article :is(strong,span){color:#1e2b39!important}
html body main .fp-totals article small{color:#526779!important}
html body main>:not(header) a,html body main>:not(header) a:visited{color:#315a70!important}
html body main .catalog-layout a,html body main .catalog-layout a:visited{color:#315a70!important}
html body main :is(input,select,textarea),html body main .catalog-layout .profile-form :is(input,select,textarea){background:#f6f9fb!important;color:#1e2b39!important;border-color:#aebfcd!important;color-scheme:light}
html body main input::placeholder,html body main textarea::placeholder{color:#526779!important;opacity:1}
html body main input::file-selector-button{background:#e1ebf2;color:#1e2b39;border:1px solid #aebfcd;border-radius:5px;padding:6px 9px}
html body main :is(button,.button),html body main a.button:visited,html body main .catalog-layout .button,html body main .catalog-layout .button:visited{background:#315a70!important;color:#fff!important;border-color:#315a70!important}
html body main :is(button,.button) :is(span,strong){color:inherit!important}
html body main :is(button.secondary,.button.secondary){background:#e1ebf2!important;color:#1e2b39!important;border-color:#aebfcd!important}
html body main :is(button,.button):hover{filter:brightness(.94)}
html body main>.foco-nav{background:#f6f9fb!important;color:#1e2b39!important;border-color:#cad8e2!important}
html body main .foco-nav a{color:#1e2b39!important}
html body main .foco-nav a:hover{background:#e1ebf2!important;color:#1e2b39!important}
html body main .foco-nav a[aria-current=page]{background:#315a70!important;color:#fff!important}
html body main .foco-nav :is(.foco-nav-identity,.foco-nav-identity strong){color:#526779!important}
html body main .profile-list a[aria-current],html body main .catalog-layout .profile-list a[aria-current]{background:#dce8f0!important;color:#1e2b39!important}
html body main .catalog-layout .profile-list a,html body main :is(.history-item,.fs-detail,.fs-row>summary,.history-pages a,.fp-changes>div){border-color:#cad8e2!important}
html body main .fs-row>summary:hover{background:#e6eef4!important}
html body main :is(th,td){color:#1e2b39!important;border-color:#cad8e2!important}
html body main thead th,html body main .fh-table thead th{background:#dce8f0!important;color:#1e2b39!important}
html body main tbody tr{background:#f6f9fb!important}
html body main tbody tr:nth-child(even),html body main .fh-table tbody tr:nth-child(even){background:#edf3f7!important}
html body main .fp-upper>section:nth-child(2){background:#dce7ef!important;border-color:#b9ccd9!important}
html body main .fp-changes>div>span{font-weight:700}
html body main .fp-changes>div>span small{font-weight:400}
html body main .fp-up,html body main .fp-module .fp-up{color:#216448!important}
html body main .fp-down,html body main .fp-module .fp-down{color:#9b3535!important}
html body main .fp-bar-item{color:#1e2b39!important}
html body main .fp-avatar-fallback{background:#dce8f0!important;color:#1e2b39!important}
html body main .fp-track rect:first-child{fill:#cad8e2}
html body main .fg-plot,html body main .fp-analytics .fg-plot,html body main .chart-desktop{background:#e6eef4!important}
html body main :is(.axis,.chart-name,.chart-number){fill:#1e2b39!important}
html body main .chart-grid{stroke:#cad8e2!important}
html body main .fg-person{color:#1e2b39!important}
html body main .fg-ring{stroke:#e6eef4}
html body main .fg-cluster:hover .fg-ring,html body main .fg-cluster:focus .fg-ring{stroke:#1e2b39}
html body main .fp-radar .fp-sector-0{fill:#e6eef4}
html body main .fp-radar .fp-sector-1{fill:#dce8f0}
html body main .fp-radar .fp-sector{stroke:#bdceda}
html body main .fp-radar :is(.fp-sector-label,.fp-node-name){fill:#1e2b39}
html body main .fp-node-initial{paint-order:stroke;stroke:#1e2b39;stroke-width:2px;fill:#fff}
html body main .fm-table thead th,html body main .fm-table tbody th{background:#dce8f0!important;color:#1e2b39!important}
html body main .fm-table tbody tr:nth-child(even) th{background:#e6eef4!important}
html body main .fm-table .fm-level-0{background:#f6f9fb!important;color:#526779!important}
html body main .fm-table .fm-level-1{background:#e2edf4!important;color:#1e2b39!important}
html body main .fm-table .fm-level-2{background:#c3dce9!important;color:#1e2b39!important}
html body main .fm-table .fm-level-3{background:#a0c6da!important;color:#1e2b39!important}
html body main .fm-table .fm-level-4{background:#79afcc!important;color:#1e2b39!important}
html body main .fm-table .fm-total{background:#c3dce9!important;color:#1e2b39!important}
html body main :is(.badge.ok,.fresh.ok,.alert.ok){background:#e0f0e8!important;color:#205940!important}
html body main :is(.badge.warn,.fresh.warn){background:#f4ecd5!important;color:#70531c!important}
html body main :is(.badge.error,.error,.fh-error,.alert.err){background:#f8e6e2!important;color:#87392e!important}
html body main :is(.badge.info,.fresh.info,.tag,.status){background:#dceaf3!important;color:#264f6a!important}
html body main :is(.badge.neutral,.fresh.neutral){background:#e1e8ee!important;color:#42586a!important}
html body main :is(.error,.notice,.alert) p{color:inherit!important}
html body main code,html body main pre{color:#1e2b39;background:#e6eef4}
/* Tooltip oscuro legible, incluso si se inserta fuera de main. */
html body .fg-tooltip{background:#1e2b39!important;color:#fff!important}
html body .fg-tooltip *{color:#fff!important}
/* Escala de barras: coincide con 160 px de altura y valores enteros. */
html body main .fp-bars{position:relative;padding-left:34px;isolation:isolate}
html body main .fp-bar-guides{position:absolute;left:0;right:0;bottom:54px;height:160px;pointer-events:none;z-index:-1}
html body main .fp-bar-guide{position:absolute;left:30px;right:0;border-top:1px solid #cad8e2}
html body main .fp-bar-guide span{position:absolute;right:calc(100% + 8px);top:0;transform:translateY(-50%);font:11px/1 system-ui;color:#526779!important}
html body main .fp-bar-item{position:relative;z-index:0}
html body main .chart-grid{stroke:#cad8e2!important;stroke-width:1;vector-effect:non-scaling-stroke}
html body main .fp-radar .fp-sector{stroke:#cad8e2;stroke-width:1;vector-effect:non-scaling-stroke}
html body main .fp-bars{width:max-content;min-width:100%}
/* Posiciones en hoja externa: compatibles con la política CSP del sitio. */
html body main .fp-bar-guide-0{bottom:0}
html body main .fp-bar-guide-1{bottom:25%}
html body main .fp-bar-guide-2{bottom:50%}
html body main .fp-bar-guide-3{bottom:75%}
html body main .fp-bar-guide-4{bottom:100%}
html body main .fp-bar-name{height:48px;flex:none}
html body main .fp-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
html body main .fp-candidate{padding:15px}
html body main .fp-person{margin-bottom:14px}
html body main .fp-person>div{min-width:0;overflow-wrap:anywhere}
html body main .fp-person img{flex-shrink:0}
html body main .fp-measures{gap:8px}
html body main .fp-measures strong{font-size:21px}
html body main .fp-measures .fp-delta{font-size:18px}
html body main .fp-share{margin-top:12px}
html body main .fp-radar>h2{margin-bottom:6px!important}
html body main .fp-radar>p.hint{margin:0 0 6px!important}
html body main .fp-radar-scroll{margin-top:0;padding-top:0}
html body main .foco-profile-columns+.fp-radar{margin-top:16px!important}
@media(max-width:1150px){html body main .fp-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){html body main .fp-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){html body main .fp-cards{grid-template-columns:1fr}}
