/* The data renderer derives data-ptp-sign from the actual numeric difference.
   Keep the market's own label/value; never substitute it for a PTP figure.
   :has also responds when cached figures are refreshed in the DOM. */
.ptp-row.ptp-nightly-market-only {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr !important;
}
.ptp-row.ptp-nightly-market-only > div:has([data-ptp-stat="ptp_adr"]) {
    display: none !important;
}
.ptp-measure:has([data-ptp-stat="adr_difference"][data-ptp-sign="negative"]) .ptp-value-box--ptp,
.ptp-measure:has([data-ptp-stat="adr_difference"][data-ptp-sign="negative"]) .ptp-uplift-pill,
.ptp-measure:has([data-ptp-stat="adr_difference"][data-ptp-sign="negative"]) .ptp-difference {
    display: none !important;
}
.ptp-measure:has([data-ptp-stat="adr_difference"][data-ptp-sign="negative"]) .ptp-side-by-side {
    grid-template-columns: minmax(0, 1fr) !important;
}
.ptp-proof-card:has([data-ptp-stat="adr_uplift_pct"][data-ptp-sign="negative"]) {
    display: none !important;
}
@media (min-width: 1025px) {
    .ptp-proof-strip:has([data-ptp-stat="adr_uplift_pct"][data-ptp-sign="negative"]) {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
