/* Solo climatologia decadale. Dark/light. Caricamento DOPO il CSS V1.5. */
#zdi-insights{box-sizing:border-box;margin:0 22px 16px;padding:12px 15px;border:1px solid #d9e5ee;border-radius:13px;background:#f7fbfe;color:#233a4c;}
#zdi-insights *{box-sizing:border-box}
#zdi-insights .zdi-head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}
#zdi-insights .zdi-eyebrow{font-weight:750;letter-spacing:.07em;font-size:10px;color:#487992}
#zdi-insights h3{margin:1px 0 0;font-size:15px;line-height:1.3;color:inherit}
#zdi-insights .zdi-state{font-size:11px;color:#648195}
#zdi-insights .zdi-layout{display:grid;grid-template-columns:minmax(165px,.85fr) minmax(170px,.9fr) minmax(260px,1.9fr);gap:14px;align-items:center}
#zdi-insights .zdi-cell{min-width:0}
#zdi-insights .zdi-cell+.zdi-cell{border-left:1px solid #dce8ef;padding-left:14px}
#zdi-insights .zdi-label{display:block;font-size:10px;font-weight:750;letter-spacing:.035em;color:#648195;margin-bottom:4px}
#zdi-insights .zdi-big{display:block;font-size:24px;line-height:1.08;font-weight:800;font-variant-numeric:tabular-nums;color:#4c6476}
#zdi-insights .zdi-positive{color:#ce5848}#zdi-insights .zdi-negative{color:#3285c2}
#zdi-insights .zdi-pill{display:inline-block;margin-top:5px;font-size:11px;font-weight:750;color:#314f65}
#zdi-insights .zdi-small{display:block;margin-top:4px;font-size:10px;line-height:1.35;color:#698295}
#zdi-insights .zdi-analog{font-size:15px;line-height:1.2;font-weight:800;color:#284b61}
#zdi-insights .zdi-chart{width:100%;height:98px}#zdi-insights svg{display:block;width:100%;height:98px;overflow:visible}
#zdi-insights .zdi-zero{stroke:#91a7b5;stroke-width:1;stroke-dasharray:3 3}
#zdi-insights .zdi-col-warm{fill:#df7663}#zdi-insights .zdi-col-cold{fill:#4b9ad2}
#zdi-insights .zdi-xlabel,#zdi-insights .zdi-ylabel{font-size:10px;fill:#718b9b}
#zdi-insights .zdi-no-data{padding:20px 0;font-size:12px;color:#718b9b}
html[data-mp-theme="dark"] body.mp-home .decade-item,
html[data-mp-theme="dark"] body.mp-home #zeus-decadal-anomalies .zda-item{background:#203247;border-color:#3a5369;color:#e6f0fa;box-shadow:none}
html[data-mp-theme="dark"] body.mp-home .decade-item small,
html[data-mp-theme="dark"] body.mp-home .decade-item p,
html[data-mp-theme="dark"] body.mp-home #zeus-decadal-anomalies .zda-line span,
html[data-mp-theme="dark"] body.mp-home #zeus-decadal-anomalies .zda-item small{color:#b4c9da}
html[data-mp-theme="dark"] body.mp-home #zeus-decadal-anomalies .zda-line,
html[data-mp-theme="dark"] body.mp-home #zeus-decadal-anomalies .zda-line strong{color:#dfedf8}
html[data-mp-theme="dark"] body.mp-home #zeus-decadal-anomalies .zda-value.zda-neutral{color:#b9cadb}
html[data-mp-theme="dark"] body.mp-home #zeus-decadal-anomalies .zda-value.zda-warm{color:#ff8a78}
html[data-mp-theme="dark"] body.mp-home #zeus-decadal-anomalies .zda-value.zda-cold{color:#8acaff}
html[data-mp-theme="dark"] body.mp-home #zeus-decadal-anomalies .zda-plot{background:#132131}
html[data-mp-theme="dark"] body.mp-home #zdi-insights{background:#1c2c3e;color:#e7f0f8;border-color:#35516a}
html[data-mp-theme="dark"] body.mp-home #zdi-insights .zdi-cell+.zdi-cell{border-left-color:#35516a}
html[data-mp-theme="dark"] body.mp-home #zdi-insights .zdi-eyebrow,
html[data-mp-theme="dark"] body.mp-home #zdi-insights .zdi-state,
html[data-mp-theme="dark"] body.mp-home #zdi-insights .zdi-label,
html[data-mp-theme="dark"] body.mp-home #zdi-insights .zdi-small{color:#adc8dc}
html[data-mp-theme="dark"] body.mp-home #zdi-insights .zdi-pill,
html[data-mp-theme="dark"] body.mp-home #zdi-insights .zdi-analog{color:#dbeeff}
html[data-mp-theme="dark"] body.mp-home #zdi-insights .zdi-positive{color:#ff9584}
html[data-mp-theme="dark"] body.mp-home #zdi-insights .zdi-negative{color:#8acaff}
html[data-mp-theme="dark"] body.mp-home #zdi-insights .zdi-xlabel,
html[data-mp-theme="dark"] body.mp-home #zdi-insights .zdi-ylabel{fill:#b4c9da}
html[data-mp-theme="dark"] body.mp-home #zdi-insights .zdi-zero{stroke:#738da2}
@media(max-width:930px){#zdi-insights .zdi-layout{grid-template-columns:1fr 1fr}#zdi-insights .zdi-chart-cell{grid-column:1/-1;border-left:0!important;border-top:1px solid #dce8ef;padding:9px 0 0!important}html[data-mp-theme="dark"] body.mp-home #zdi-insights .zdi-chart-cell{border-top-color:#35516a}}
@media(max-width:620px){#zdi-insights{margin:0 14px 14px;padding:11px}#zdi-insights .zdi-layout{gap:9px}#zdi-insights .zdi-cell+.zdi-cell{padding-left:10px}#zdi-insights .zdi-big{font-size:22px}#zdi-insights .zdi-analog{font-size:13px}#zdi-insights .zdi-small{font-size:10px}}


/* V1.1 - etichette valori grafico + dark theme per card home correlate */
#zdi-insights .zdi-chart{width:100%;height:112px}
#zdi-insights svg{display:block;width:100%;height:112px;overflow:visible}
#zdi-insights .zdi-barlabel{font-size:10px;font-weight:800;paint-order:stroke;stroke:rgba(247,251,254,.95);stroke-width:3px;stroke-linejoin:round}
#zdi-insights .zdi-barlabel-warm{fill:#c65747}
#zdi-insights .zdi-barlabel-cold{fill:#2f86c8}
html[data-mp-theme="dark"] body.mp-home #zdi-insights .zdi-barlabel{stroke:rgba(24,38,53,.98)}
html[data-mp-theme="dark"] body.mp-home #zdi-insights .zdi-barlabel-warm{fill:#ff9a88}
html[data-mp-theme="dark"] body.mp-home #zdi-insights .zdi-barlabel-cold{fill:#97d2ff}

html[data-mp-theme="dark"] body.mp-home .derived{
  background:#17283a;
  border-color:#345069;
}
html[data-mp-theme="dark"] body.mp-home .derived-grid article{
  background:#203247;
  border-color:#3a5369;
  box-shadow:none;
}
html[data-mp-theme="dark"] body.mp-home .derived-grid article small,
html[data-mp-theme="dark"] body.mp-home .derived-grid article p{
  color:#b6cadb;
}
html[data-mp-theme="dark"] body.mp-home .derived-grid article strong{
  color:#e6f1fb;
}
html[data-mp-theme="dark"] body.mp-home .derived-grid article strong em{
  color:#aac0d3;
}
html[data-mp-theme="dark"] body.mp-home .derived-badge{
  background:#e7f3fb;
  color:#176ea0;
}

html[data-mp-theme="dark"] body.mp-home .solar-calendar,
html[data-mp-theme="dark"] body.mp-home .climate-lab{
  background:#17283a;
  border-color:#345069;
}
html[data-mp-theme="dark"] body.mp-home .solar-day,
html[data-mp-theme="dark"] body.mp-home .decade-panel,
html[data-mp-theme="dark"] body.mp-home .climate-panel,
html[data-mp-theme="dark"] body.mp-home .heatmap-panel{
  background:#1d3044;
  border-color:#35516a;
  box-shadow:none;
}
html[data-mp-theme="dark"] body.mp-home .solar-day.is-today{
  background:linear-gradient(155deg,#24384d 0%,#1f3449 100%);
  border-color:#577596;
  box-shadow:none;
}
html[data-mp-theme="dark"] body.mp-home .solar-day:before{
  background:radial-gradient(circle,rgba(255,202,77,.10),rgba(255,202,77,0) 70%);
}
html[data-mp-theme="dark"] body.mp-home .solar-day-head span{color:#f1c265}
html[data-mp-theme="dark"] body.mp-home .solar-day-head strong,
html[data-mp-theme="dark"] body.mp-home .solar-moment-copy b,
html[data-mp-theme="dark"] body.mp-home .nearby-foot strong,
html[data-mp-theme="dark"] body.mp-home .model-rain-foot strong,
html[data-mp-theme="dark"] body.mp-home .solar-calendar-foot strong,
html[data-mp-theme="dark"] body.mp-home .decade-item b{
  color:#ecf4fb;
}
html[data-mp-theme="dark"] body.mp-home .solar-day-head small,
html[data-mp-theme="dark"] body.mp-home .solar-moment-copy small,
html[data-mp-theme="dark"] body.mp-home .solar-daylight,
html[data-mp-theme="dark"] body.mp-home .solar-calendar-foot,
html[data-mp-theme="dark"] body.mp-home .decade-item small,
html[data-mp-theme="dark"] body.mp-home .decade-item p,
html[data-mp-theme="dark"] body.mp-home .climate-note{
  color:#b4c9da;
}
html[data-mp-theme="dark"] body.mp-home .solar-moment{
  background:#24384d;
  border-color:#3e5a72;
}
html[data-mp-theme="dark"] body.mp-home .solar-daylight{border-top-color:#36516a}
html[data-mp-theme="dark"] body.mp-home .solar-horizon-mini{background:rgba(255,255,255,.75)}
html[data-mp-theme="dark"] body.mp-home .climate-chart,
html[data-mp-theme="dark"] body.mp-home .climate-heatmap{
  background:#132131;
  border:1px solid #294055;
}
