/*** Shared styles for all METERology report pages.
     Extracted from baseload-report.css, gateway-report.css and
     heat-meters-report.css — the per-report files were identical except
     for the class prefix.

     Card container uses .chart-bg from style.css.
     Heading uses .chart-heading from style.css.
     Date controls use .ctrl-holder / .datepicker from style.css.
     Button uses .dt-button from util.css.                           ***/


/*** Intro / description block above the controls ***/

.report-intro {
    margin: 0 0 1rem 0;
    color: #444;
    line-height: 1.45;
}

    .report-intro ul {
        margin: 0.35rem 0 0 0;
        padding-left: 1.25rem;
    }

    .report-intro li {
        margin: 0.15rem 0;
    }


/*** Optional note line below the intro ***/

.report-note {
    margin: 0.75rem 0 0 0;
    font-size: 0.85rem;
    font-style: italic;
    color: #6b6b6b;
}


/*** Centre the Generate button row underneath the date pickers ***/

.report-btn-row {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
}


/*** Off-screen container used by Chart.js to render charts before they're
     rasterised into the PDF. Absolute positioning (not display:none)
     because Chart.js cannot size a canvas inside a hidden parent. ***/

.report-offscreen {
    position: absolute;
    left: -10000px;
    top: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}


/*** Error slot — only shown when generation fails ***/

.report-error {
    margin-top: 1rem;
    text-align: center;
    color: #CB4C4E;
    font-weight: 500;
    display: none;
}
