/* ============================================================
   Heiwit — Tabella stime/estimate (#heiwitTable)
   Usata da calcolatore, widget e factsheet.
   Stile moderno e compatto. Nota: il factsheet definisce un
   proprio <style> inline (versione "print") che resta prioritario.
   ============================================================ */

#heiwitTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #e7e9ee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
    font-size: 14px;
    color: #2c2f3a;
}

#heiwitTable thead th {
    background: #1a1a2e;
    color: #fff;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: 12px 14px;
    text-align: center;
    white-space: nowrap;
}

#heiwitTable tbody td {
    padding: 11px 14px;
    border-top: 1px solid #eef0f4;
    text-align: center;
}

#heiwitTable tbody tr:nth-child(even) { background: #fafbfc; }
#heiwitTable tbody tr:hover { background: #fff5ec; }
#heiwitTable tbody td strong { color: #1a1a2e; }

.text-center { text-align: center; }

/* Grafico widget/calcolatore (Chart.js) — cornice coerente */
#heiwitChart {
    background: #fff;
    border: 1px solid #e7e9ee;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .05);
    max-height: 440px;
    margin-bottom: 16px;
}
