/* Operating tables inherit the original B14-4 surface and navigation. */
.p3-reports{min-width:0;max-width:100%;font-variant-numeric:tabular-nums}
.p3-report-filters,.p3-report-incident-filters{display:flex;gap:9px;align-items:end;flex-wrap:wrap;margin:12px 0}
.p3-reports label{display:grid;gap:5px;color:var(--ui-muted);font-size:12px}
.p3-reports .button{min-height:35px;line-height:1.35}
.p3-reports .button:hover:not(:disabled){background:var(--ui-selected);border-color:var(--ui-accent)}
.p3-reports .button:active:not(:disabled){background:var(--ui-panel)}
.p3-reports .button:disabled{cursor:not-allowed}
.p3-reports input{color-scheme:light;caret-color:var(--ui-accent)}
.p3-reports select{max-width:100%;min-height:35px;color-scheme:light}
.p3-report-versions select{width:100%;min-width:190px}
.p3-report-pdf{display:block;width:100%;height:auto;border:1px solid var(--ui-line);margin:12px 0;background:var(--ui-panel)}
.p3-report-pdf-preview{max-width:850px;margin:16px auto}
.p3-report-pdf-preview .p3-report-actions{align-items:center;justify-content:center}
.p3-report-facts{display:flex;flex-wrap:wrap;gap:8px 24px;margin:12px 0}
.p3-report-facts>div{display:grid;gap:5px;min-width:125px;padding:6px 0}
.p3-report-facts dt{font-size:12px;color:var(--ui-muted)}
.p3-report-facts dd{font-size:18px;color:var(--ui-text);margin:0;font-weight:600}
.p3-report-table{min-width:640px;line-height:1.45}
.p3-report-table caption{text-align:left;color:var(--ui-text);font-size:13px;font-weight:600;padding:9px 0}
.p3-report-table td,.p3-report-table th{vertical-align:top;overflow-wrap:anywhere}
.p3-report-table th{white-space:nowrap}
.p3-report-table td small,.p3-report-source small{display:block;max-width:260px;color:var(--ui-muted);font-size:11px;line-height:1.6;margin-top:5px;overflow-wrap:anywhere}
.p3-report-table td strong{font-size:14px}
.p3-report-table .p3-report-source{min-width:170px}
.p3-report-source{display:grid;gap:5px;max-width:280px;font-size:12px}
.p3-report-source .button{justify-self:start;font-size:12px}
.p3-report-source>span{color:var(--ui-warning)}
.p3-report-scroll{margin:8px 0 14px;scrollbar-color:var(--ui-border-strong) var(--ui-subtle)}
.p3-report-wide .p3-report-table{min-width:1450px}
.p3-report-resource .p3-report-table{min-width:970px}
.p3-report-actions{display:flex;flex-wrap:wrap;gap:6px;min-width:175px}
.p3-report-details{border-bottom:1px solid var(--ui-line);padding:16px 0;font-size:13px}
.p3-report-details>summary{cursor:pointer;line-height:1.5}
.p3-report-details ul{padding-left:22px;max-width:75ch;line-height:1.6}
.p3-report-snapshot{padding:20px 0 8px;border-top:2px solid var(--ui-line);margin-top:20px}
.p3-report-metric{display:flex;gap:9px;flex-wrap:wrap;align-items:baseline}
.p3-report-metric small{color:var(--ui-muted)}
.p3-report-dates{overflow-wrap:anywhere;max-width:75ch}
.p3-report-empty{padding:12px 0;color:var(--ui-muted)}
.p3-report-limit{font-size:12px;color:var(--ui-warning);line-height:1.6;border-top:1px solid var(--ui-line);padding:12px 0}
.p3-reports .notice,.p3-reports .b144-notice{margin:10px 0;overflow-wrap:anywhere}
.p3-reports .b144-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
@media(max-width:700px){
  .p3-report-filters,.p3-report-incident-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .p3-report-filters label,.p3-report-incident-filters label{min-width:0}
  .p3-report-filters input,.p3-report-filters select,.p3-report-incident-filters input,.p3-report-incident-filters select,.p3-report-versions select{width:100%;height:44px;font-size:16px}
  .p3-report-pdf-preview .p3-report-actions{display:flex}
  .p3-reports .button{min-height:44px}
  .p3-report-filters>.button,.p3-report-incident-filters>.button{grid-column:1/-1;width:100%}
  .p3-report-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}
  .p3-report-facts>div{min-width:0}
  .p3-report-actions{min-width:150px;display:grid}
  .p3-report-table{min-width:610px}
  .p3-report-snapshot>.b144-toolbar .button{width:100%}
}
