﻿body {
    background-color: #fff !important;
    color: #333 !important;
}
.highcharts-background {
    fill: #fff !important;
}
.highcharts-stocktools-wrapper, .highcharts-exporting-group, .highcharts-range-selector-group, .highcharts-contextbutton {
    display: none !important;
}
html > body .highcharts-container .highcharts-axis-labels text {
    fill: #333 !important;
    color: #333 !important;
}

/* ─── Heatmap watchlist (treemap) ────────────────────────────────────────────
   In stampa le custom property CSS non si risolvono sui fill SVG (stessa
   ragione delle regole Highcharts qui sopra, già a colori letterali): un
   fill var() non risolto ricade sul default SVG, NERO, e la mappa usciva
   come un blocco nero con i soli dischi colorati (loro hanno il colore come
   ATTRIBUTO svg, non come CSS). La palette dei bucket è ripetuta qui in
   LETTERALI: se cambi i colori in _heatmap.scss, aggiorna anche questi. */
.tlb-hm-d3 { fill: #922a20 !important; }
.tlb-hm-d2 { fill: #c33a2b !important; }
.tlb-hm-d1 { fill: #d9695c !important; }
.tlb-hm-n,
.tlb-hm-na { fill: #78838a !important; }
.tlb-hm-u1 { fill: #45ad78 !important; }
.tlb-hm-u2 { fill: #22935d !important; }
.tlb-hm-u3 { fill: #14683f !important; }

/* Cuciture fra i blocchi: a schermo usano la superficie del tema (var →
   irrisolvibile in stampa → nero); su carta la separazione è bianca. */
.tlb-heatmap .highcharts-point {
    stroke: #fff !important;
}

/* I colori devono ARRIVARE sulla carta: senza, l'economy mode del browser
   sbianca gli sfondi HTML (la striscia della legenda sparirebbe comunque). */
.tlb-heatmap,
.tlb-heatmap * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

/* Striscia della legenda: stesso gradiente a stop netti, coi letterali. */
.tlb-heatmap__legend-strip {
    background: linear-gradient(to right,
        #922a20 0 14.28%,
        #c33a2b 14.28% 28.57%,
        #d9695c 28.57% 42.85%,
        #78838a 42.85% 57.14%,
        #45ad78 57.14% 71.42%,
        #22935d 71.42% 85.71%,
        #14683f 85.71% 100%) !important;
}