/* Parity layer: intentionally minimal. The production page CSS owns every major layout. */
.pd-parity-details{margin-top:18px;background:#fff;border:1px solid #d7e0e8;border-radius:12px;padding:16px;color:#233b50}
.pd-parity-details.hidden{display:none}
.pd-parity-details h2{font:800 23px 'Barlow Condensed',sans-serif;margin:0 0 10px}
.pd-parity-details .pd-parity-sub{font:13px 'Barlow',sans-serif;color:#60758a;margin-bottom:12px}
.pd-parity-details .pd-parity-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin:10px 0 18px}
.pd-parity-details .pd-parity-grid article{background:#f2f7fb;border:1px solid #d7e0e8;border-radius:9px;padding:12px}
.pd-parity-details .pd-parity-grid label{display:block;text-transform:uppercase;letter-spacing:.04em;font-size:11px;color:#54748e}
.pd-parity-details .pd-parity-grid strong{font:800 26px 'Barlow Condensed',sans-serif}
.pd-parity-details table{width:100%;border-collapse:collapse;font:13px 'Barlow',sans-serif}
.pd-parity-details th,.pd-parity-details td{padding:9px;text-align:left;border-bottom:1px solid #e0e8ee}
.pd-parity-details .pd-parity-scroll{max-height:380px;overflow:auto}
.pd-parity-error{color:#a42c22;background:#fff0ed;border-left:3px solid #c53f2d;padding:12px;margin:12px 0}
.pd-parity-hint{color:#60758a;font-size:12px}
.pd-parity-details button{cursor:pointer}
@media(max-width:700px){.pd-source-switch{flex-direction:column;align-items:stretch!important}.pd-source-switch>div:last-child{justify-content:flex-start}}

/* V16.52 - VendorActions historic detail and source selector; PD Beta only */
.pd-hist-panel{margin:0 0 16px;padding:16px;border:1px solid #cbdce9;border-radius:11px;background:#fff;color:#15324c;font-family:'Barlow',sans-serif;box-shadow:0 1px 3px rgba(19,55,85,.05)}
.pd-hist-panel *{box-sizing:border-box}
.pd-hist-head{display:flex;align-items:start;justify-content:space-between;gap:18px;flex-wrap:wrap}
.pd-hist-head h2{font:800 22px 'Barlow Condensed',sans-serif;margin:2px 0 4px}
.pd-hist-head p{font-size:12px;color:#536d83;margin:0}
.pd-hist-eyebrow{font:700 10px 'Barlow Condensed',sans-serif;letter-spacing:.075em;color:#007bc4}
.pd-hist-quick{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pd-hist-quick label{font-size:11px;font-weight:700;color:#516c82}
.pd-hist-quick input{padding:8px 10px;font:600 13px 'Barlow',sans-serif;border:1px solid #cbd7e3;border-radius:8px;color:#123553;max-width:175px}
.pd-hist-current{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#eff6fa;padding:10px 12px;margin:14px 0;border-radius:8px;font-size:12px}
.pd-hist-current strong{font-size:14px}
.pd-hist-tag{font-size:10px;letter-spacing:.04em;font-weight:800;background:#e0ecfb;border:1px solid #b5d1ea;padding:4px 7px;border-radius:12px}
.pd-hist-source-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pd-hist-source-cards article{border:1px solid #dce6ef;border-radius:8px;padding:12px;background:#fcfdff}
.pd-hist-source-cards article>strong{display:block;font-size:15px;margin:4px 0}
.pd-hist-source-cards article>p{font-size:12px;color:#63778b;min-height:30px;margin:4px 0 10px}
.pd-hist-link{display:inline-flex;padding:3px 5px;color:#07578f;font:700 12px 'Barlow',sans-serif;text-decoration:underline;text-underline-offset:2px;margin-right:8px}
.pd-hist-link:hover{color:#002e4c}
.pd-hist-last{border-top:1px solid #e1e9ef;margin-top:14px;padding-top:12px}
.pd-hist-last-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.pd-hist-last h3{margin:2px 0 8px;font:800 19px 'Barlow Condensed',sans-serif}
.pd-hist-last>p{margin:8px 0;color:#597187;font-size:12px}
.pd-hist-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:8px 0}
.pd-hist-kpis div{padding:10px;border:1px solid #d7e2eb;border-radius:8px;background:#f4f8fb}
.pd-hist-kpis span{display:block;text-transform:uppercase;font-size:10px;font-weight:700;letter-spacing:.04em;color:#56738c}
.pd-hist-kpis strong{display:block;font:800 25px 'Barlow Condensed',sans-serif;color:#102d48;margin-top:2px}
.pd-hist-jump{display:flex;gap:4px;flex-wrap:wrap}
.pd-hist-fine{font-size:11px;color:#657d90;margin:9px 0 0}
.pd-hist-index{border-top:1px solid #e1e9ef;margin-top:12px;padding-top:10px}
.pd-hist-index summary{font-weight:700;color:#0c598e;cursor:pointer;font-size:13px}
.pd-hist-table-wrap{overflow-x:auto;max-height:380px;overflow-y:auto;margin-top:9px}
.pd-hist-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}
.pd-hist-table th{background:#edf4fa;font-size:11px;color:#3f667f;position:sticky;top:0}
.pd-hist-table td,.pd-hist-table th{border-bottom:1px solid #e3eaf0;padding:7px}
@media(max-width:760px){.pd-hist-source-cards{grid-template-columns:1fr}.pd-hist-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.pd-hist-head h2{font-size:19px}}

/* V16.53: compact navigation, no historical overlay. */
.pd-parity-manual{display:none!important}
body.pd-snapshot-selected .pd-parity-manual{display:inline-flex!important}
.pd-metric-card{cursor:pointer;transition:box-shadow .15s ease,border-color .15s ease}
.pd-metric-card:hover,.pd-metric-card:focus-visible{box-shadow:0 2px 8px rgba(6,64,112,.16);border-color:#7eaac9;outline-offset:2px}
