        /* ── pvi-master-leadership ── */
        .leadership-section {
            background-color: var(--white);
            overflow-x: auto;
            overflow-y: auto;
            min-height: 120px;
            padding: 15px;
            position: relative;
            left: 50%;
            transform: translateX(-50%);
            width: 100vw;
            max-width: 100vw;
        }

        .leadership-title {
            color: var(--dark-grey);
            text-align: center;
            font-size: 2rem;
            font-weight: bold;
            margin-bottom: 10px;
            background-color: var(--white);
        }

        .leadership-divider {
            border-bottom: 2px solid var(--dull-blue);
            margin-bottom: 20px;
        }

        .leadership-info {
            color: var(--dark-grey);
            padding: 4px 0;
            margin: 0 auto 10px auto;
            font-size: 16px;
            line-height: 2;
            text-align: left;
            display: inline-block;
        }

        /* ── Row layouts ── */
        .data-row { display: grid; gap: 2px; margin-bottom: 2px; min-height: 40px; }
        .data-row-17col-even { grid-template-columns: repeat(17, minmax(90px, 1fr)); }
        .data-row-17col { grid-template-columns: minmax(180px, 2fr) minmax(180px, 2fr) minmax(180px, 2fr) repeat(14, minmax(90px, 1fr)); }

        /* ── Cell types ── */
        .data-col {
            padding: 10px 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            border: 1px solid var(--border-mid);
        }

        .data-col-dark      { background-color: var(--mid-grey);   color: var(--light-grey); font-weight: bold; font-size: 14px; overflow-wrap: break-word; }
        .data-col-light     { background-color: var(--light-grey);  color: var(--text-dark);  font-weight: bold; font-size: 14px; overflow-wrap: break-word; }
        .data-col-dark-val  { background-color: var(--mid-grey);   color: var(--light-grey); }
        .data-col-light-val { background-color: var(--light-grey);  color: var(--mid-grey); }

        /* Perl-driven color cells */
        .data-col-scored { color: var(--white); font-weight: bold; }

        .data-col a {
            display: block;
            color: inherit;
            text-decoration: none;
            font-weight: inherit;
            width: 100%;
            text-align: center;
        }
        .data-col a:hover { text-decoration: underline; }

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

        /* .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; }

        @media (max-width: 1024px) {
            .data-col { font-size: 14px; padding: 8px 6px; }
            .data-col-dark, .data-col-light { font-size: 13px; }
            .leadership-title { font-size: 1.6rem; }
        }
        @media (max-width: 768px) {
            .data-col { font-size: 12px; padding: 6px 4px; }
            .data-col-dark, .data-col-light { font-size: 12px; }
            .leadership-title { font-size: 1.3rem; }
        }
