.he-green{--he-ink:#185b40;--he-bg:#e3f3e9;--he-bar:#33825e}
.he-yellow{--he-ink:#634d0a;--he-bg:#fff1c5;--he-bar:#ac790e}
.he-orange{--he-ink:#823d13;--he-bg:#fbe7d6;--he-bar:#c5581d}
.he-red{--he-ink:#8b2233;--he-bg:#f9e1e6;--he-bar:#b93546}
.he-black{--he-ink:#fff;--he-bg:#242229;--he-bar:#242229}
.he-neutral{--he-ink:#3f5359;--he-bg:#edf1f2;--he-bar:#667b82}

.he-summary{background:#edf4f0;border-radius:6px;padding:1em 1.15em;margin:0 0 1em;color:#203936}
.he-summary p,.he-note p{margin:0}
.he-summary .he-lead{font:700 1.45em/1.18 Georgia,serif;margin:0 0 .32em}
.he-cards{display:grid;gap:.8em;margin:0 0 .92em}
.he-cards-air{grid-template-columns:repeat(3,minmax(0,1fr))}
.he-card{position:relative;min-width:0;box-sizing:border-box;padding:.83em .94em;background:#fff;
  border:1px solid #d5e1df;border-top:3px solid var(--he-bar);border-radius:6px;break-inside:avoid}
.he-card-top{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:.22em .6em;margin-bottom:.52em}
.he-card .he-card-top h3{font:700 1.25em/1.16 Georgia,serif;letter-spacing:-.012em;margin:0;color:#203936}
.he-card-top h3 span{color:#425b5c;white-space:nowrap}
.he-cards-air .he-card-top{min-height:3.35em;display:grid;align-content:space-between;justify-items:start;gap:.3em}
.he-cards-air .he-card-top h3{font-size:1.07em}
.he-cards-air .he-number{margin-top:.35em}
.he-badge{display:inline-block;background:var(--he-bg);color:var(--he-ink);font:700 .76em/1.2 Arial,sans-serif;
  border-radius:20px;padding:.35em .65em;white-space:nowrap;max-width:100%}
@media print{#reportOutput .he-badge{color:var(--he-ink)!important}}
.he-number{display:flex;align-items:baseline;flex-wrap:wrap;gap:.18em .42em;margin:.12em 0;color:#203936}
.he-number b,.he-metrics dd b{font:700 2em/1.02 Georgia,serif;letter-spacing:-.037em;font-variant-numeric:lining-nums tabular-nums}
.he-number span,.he-metrics dd{color:#3e5659}
.he-card .he-card-note,.he-small,.he-card .he-benchmark{color:#40585c;font-size:.88em;line-height:1.31;margin:.32em 0 0}
.he-card .he-benchmark{font-weight:bold}
.he-gauge{height:.37em;margin:.48em 0 .4em;background:#e9efed;overflow:hidden;border-radius:6px;box-shadow:inset -2px 0 #566a66}
.he-gauge span{display:block;height:100%;background:var(--he-bar);border-radius:6px}
.he-note{border-left:3px solid #809491;background:#f0f4f3;padding:.55em .85em;margin:.6em 0 .55em;font-size:.88em;line-height:1.35}
.he-note strong{display:block;margin-bottom:.2em;color:#273f3e}
.he-legend,.he-uv-scale{display:flex;flex-wrap:wrap;gap:.28em .41em;margin:.55em 0}
.he-uv-scale{margin:.82em 0 .56em}
.he-card .he-action{font-weight:bold;color:#263f3a;margin:.5em 0 0}
.he-metrics{display:flex;flex-wrap:wrap;gap:.45em;margin:.64em 0 .47em}
.he-metrics div{min-width:0;flex:1 1 26%;padding:.46em .57em;background:#f0f5f3;border-radius:4px}
.he-metrics dt{color:#3d5557;font-size:.79em;line-height:1.24}
.he-metrics dd{margin:.2em 0 0;font-size:.84em}
.he-metrics dd b{font-size:1.56em}
.he-card .he-table{border-collapse:collapse;width:100%;font-size:.88em;margin:.6em 0 .3em}
.he-card .he-table :is(th,td){text-align:left;border-bottom:1px solid #d5e1df;padding:.4em .5em;vertical-align:top}
.he-card .he-table thead th{background:#edf4f0;color:#274b43}
.he-card .he-table tbody th{font-weight:bold}
.hi-effect-refs{font-size:.79em;line-height:1.35;margin:.6em 0 0}
.he-chart,.he-comparison-bars{background:var(--hi-wash,#f0f5f3);border:1px solid #d5e1df;border-radius:6px;padding:.55em .83em;
  margin:.72em 0 .42em;box-sizing:border-box;break-inside:avoid;color:#294944}
.he-chart svg{display:block;width:100%;overflow:visible}
.he-chart figcaption,.he-comparison-bars figcaption{font-weight:bold;line-height:1.25;margin:0 0 .3em;padding:0;color:#263f3c}
.he-chart-grid path{stroke:#bfcfcb;stroke-width:.7;fill:none}
.he-chart :is(.he-chart-grid,.he-chart-ticks) text{font:10px Arial,sans-serif;fill:#334d4e}
.he-chart-legend{display:flex;flex-wrap:wrap;gap:.3em 1.1em;font-size:.8em}
.he-chart-legend span{display:inline-flex;align-items:center;gap:.35em}
.he-chart-legend i{display:inline-block;width:1.2em;border-top:2px solid var(--series)}
.he-chart-legend span:nth-child(2) i{border-top-style:dashed}
.he-comparison-bars>div{display:grid;grid-template-columns:minmax(6em,1fr) minmax(2em,1.7fr) max-content;gap:.55em;align-items:center}
.he-comparison-bars .he-gauge span{background:var(--hi-accent,#237469)}
.he-chapter-intro{border-left:3px solid var(--hi-accent,#237469);border-radius:3px;background:var(--hi-wash,#edf4f0);
  color:#294644;margin:0 0 1em;padding:.65em .9em}
.he-chapter-intro p{margin:0}
.he-chapter-intro .he-badge{margin:0 0 .33em}
.hi-archive-report{--archive-ink:#243b3d;--archive-accent:#315e68;--archive-wash:#edf4f3;font:15px/1.4 Arial,sans-serif}
.hi-archive-report .vhr-complete{color:var(--archive-ink);background:#fff}
.hi-archive-report .vhr-section{--archive-accent:#315e68;--archive-wash:#edf4f3;border-top:1px solid #d6e3df;margin:1.25em 0}
.hi-archive-report .vhr-section[id*="meteorolog"],.hi-archive-report .vhr-section[id*="historico"],
.hi-archive-report .vhr-section[id*="pronostico"]{--archive-accent:#854d20;--archive-wash:#fcf2e8}
.hi-archive-report .vhr-section[id*="aire"]{--archive-accent:#23578b;--archive-wash:#eef4fb}
.hi-archive-report .vhr-section[id*="poblacion"]{--archive-accent:#624485;--archive-wash:#f3eef8}
.hi-archive-report .vhr-section[id*="inventario"]{--archive-accent:#3e653a;--archive-wash:#edf4e9}
.hi-archive-report .vhr-section>h3,.hi-archive-report .vhr-contents>h3{
  color:var(--archive-accent);background:var(--archive-wash);border-left:4px solid var(--archive-accent);
  padding:.42em .65em;margin:0 0 .55em;font:700 1.23em/1.15 Georgia,serif;break-after:avoid}
.hi-archive-report .vhr-head h2{font:700 2em/1.02 Georgia,serif;color:var(--archive-ink);margin:0 0 .38em}
.hi-archive-report .vhr-head p{margin:.3em 0}
.hi-archive-report .vhr-lead{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5em;margin:.7em 0}
.hi-archive-report .vhr-lead>div{padding:.45em .6em;background:var(--archive-wash);border-top:2px solid var(--archive-accent)}
.hi-archive-report .vhr-lead b{font-size:1.2em;display:block}
.hi-archive-report .vhr-section .he-chart{--hi-wash:var(--archive-wash)}
.hi-archive-report table.vhr-table{width:100%;border-collapse:collapse;margin:0 0 1em}
.hi-archive-report .vhr-table caption{color:var(--archive-accent);text-align:left;font-weight:bold;margin:.35em 0;break-after:avoid}
.hi-archive-report .vhr-table :is(th,td){border-bottom:1px solid #d6e3df;text-align:left;vertical-align:top;padding:.22em .43em}
.hi-archive-report .vhr-table thead th{background:var(--archive-wash);color:var(--archive-accent)}
.hi-archive-report .vhr-table tbody tr:nth-child(even){background:#f4f7f6}
.hi-archive-report .vhr-table tbody th{font-weight:500}
.hi-archive-report .vhr-item{border-bottom:1px solid #d6e3df;padding:.42em 0;break-inside:avoid}
.hi-archive-report .vhr-item h4,.hi-archive-report .vhr-item p{margin:.26em 0}
.hi-archive-report .vhr-value,.hi-archive-report a{color:var(--archive-accent)}
.hi-archive-report .vhr-contents{break-inside:avoid;margin:.7em 0}
.hi-archive-report .vhr-contents ul{columns:2;margin:.4em 0;padding-inline-start:1.4em}
.hi-archive-report .hs-map svg{display:block;width:100%;max-height:70mm}
@media screen and (max-width:780px){
  .he-cards-air{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media screen and (max-width:490px){
  .he-cards-air{grid-template-columns:1fr}
  .he-cards-air .he-card-top{min-height:0}
}
@media print{
  .hi-effects,.editorial-effects,.hi-archive-report{print-color-adjust:exact;-webkit-print-color-adjust:exact}
  .he-chart-compact svg{max-height:28mm}
  .hi-archive-report{font-size:9.3pt}
  .hi-archive-report table.vhr-table{font-size:8pt;table-layout:fixed}
  .hi-archive-report .vhr-table thead{display:table-header-group}
  .hi-archive-report .vhr-table tr{break-inside:avoid}
  .hi-archive-report .vhr-table :is(th,td){overflow-wrap:anywhere}
}
