        /* ── Reset ── */

        /* ── Getting rid of this
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: Arial, sans-serif; background: var(--mid-grey); }
        ── */

        /* ── Report section ── */
        .report-section {
            background-color: var(--mid-grey);
            overflow-y: auto;
            min-height: 120px;
            padding: 15px;
            position: relative;
            left: 50%;
            transform: translateX(-50%);
            width: 90vw;
            max-width: 90vw;
        }

        .report-section-100 {
            background-color: var(--mid-grey);
            overflow-y: auto;
            overflow-x: auto;
            min-height: 120px;
            padding: 15px;
            position: relative;
            left: 50%;
            transform: translateX(-50%);
            width: 100vw;
            max-width: 100vw;
        }

        /* ── Headers ── */
        .portrait-header {
            background-color: var(--dark-grey);
            color: var(--light-grey);
            padding: 15px;
            text-align: center;
            font-weight: bold;
            font-size: 18px;
            margin-bottom: 10px;
            border-radius: 6px;
        }

        .category-header {
            background-color: var(--dull-blue);
            color: var(--white);
            padding: 12px 15px;
            border-radius: 6px;
            margin-top: 8px;
            margin-bottom: 2px;
            font-weight: bold;
            font-size: 16px;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            gap: 6px;
        }

        /* ── Row layouts ── */
        .data-row { display: grid; gap: 2px; margin-bottom: 2px; min-height: 40px; }
        .data-row-4col   { grid-template-columns: 1fr 1fr 1fr 1fr; }
        .data-row-12col  { grid-template-columns: 13.3% 13.3% 13.4% repeat(9, 1fr); }

        /* 42-column grid — each col ~2.38% */
        .data-row-42col-even { grid-template-columns: repeat(42, minmax(80px, 1fr)); }
        .data-row-42col      { grid-template-columns: minmax(80px, 1fr) minmax(160px, 2fr) repeat(40, minmax(80px, 1fr)); }

        /* ── Cell types ── */
        .data-col { padding: 10px; display: flex; align-items: center; border-radius: 4px; font-size: 15px; }
        .data-col-grey  { background-color: var(--light-grey); color: var(--dark-grey); font-weight: 500; }
        .data-col-green { background-color: var(--green); color: var(--white); font-weight: 500; }

        /* ── Save button ── */
        /* .save-section / .save-btn now live in pvi-master-frame.css §7.
           Padding is kept: this report sits in a horizontally scrolling
           container where padding and margin are not interchangeable.
           For the old full-width button, add .save-btn-wide in the HTML. */
        .save-section { padding: 20px; }

        .data-table {
            min-width: 900px;
            width: 100%;
        }

        @media (max-width: 1024px) {
            .data-col { font-size: 13px; padding: 8px 6px; }
            .portrait-header { font-size: 16px; padding: 12px; }
            .category-header { font-size: 14px; padding: 10px 12px; }
        }

        @media (max-width: 768px) {
            .data-col { font-size: 11px; padding: 6px 4px; }
            .portrait-header { font-size: 14px; padding: 10px; }
            .category-header { font-size: 12px; padding: 8px 10px; }
        }

        @media (max-width: 480px) {
            .data-col { font-size: 10px; padding: 5px 3px; }
        }
