.line-chart{display:block;width:100%;height:auto;min-height:240px;margin-top:10px;overflow:visible}.line-chart text{font-size:12px;fill:#617b90}.line-chart circle{cursor:pointer}.line-chart circle:hover,.line-chart circle:focus{stroke:#183b52;stroke-width:3;outline:none}.line-legend{display:flex;flex-wrap:wrap;gap:18px;font-size:13px;color:#48657c;margin:10px 0 14px}.line-legend span{display:flex;gap:7px;align-items:center}.line-legend i{width:21px;height:3px;display:inline-block}.line-legend strong{font-size:14px;color:#223e55}.sort-button{font-size:12px;padding:0;background:transparent;border:0;border-radius:2px;text-align:left;font-weight:600;white-space:nowrap}.sort-button:hover{color:#067b75;background:transparent}th[aria-sort=ascending],th[aria-sort=descending]{background:#e5f3f1}.kpi[title]{cursor:help}@media(max-width:580px){.line-chart{min-height:190px}.line-legend{gap:10px}}
.streak-kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:0}.streak-kpis strong{font-size:24px}.streak-section{margin:25px 0}.streak-section>.source-note{margin-bottom:22px}@media(max-width:700px){.streak-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}

.kpi-link{text-align:left;color:inherit;cursor:pointer;width:100%;font:inherit}.kpi-link:hover{border-color:#087f78;background:#f1faf8}.kpi-link:focus-visible{outline:3px solid #087f78;outline-offset:3px}.kpi-hint{display:block;color:#087f78;font-size:12px;margin-top:10px}.quick-dates{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}.quick-dates button{font-size:13px}.week-navigation{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:18px}.week-navigation strong{font-size:14px}.week-navigation button{min-height:44px}@media(max-width:580px){.week-navigation strong{order:-1;width:100%}.quick-dates button{min-height:44px}}
.attention-panel,.period-comparison{margin-bottom:20px}.attention-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:14px;margin:14px 0 20px}.insight-tile{display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:#fff9ef;border:1px solid #efdcb6;border-left:4px solid #d49328;padding:18px;gap:8px;color:#19364d}.insight-tile strong{font-size:30px}.insight-tile small{font-size:12px;color:#61788e}.insight-tile.positive{background:#eff9f6;border-color:#b9ddd4;border-left-color:#168c78}.insight-tile.danger{background:#fff3f3;border-color:#edcccc;border-left-color:#bb4149}.insight-tile:hover{box-shadow:0 4px 12px #173a6417}.insight-tile:focus-visible{outline:3px solid #087f78;outline-offset:3px}.data-context{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:12px;color:#607a90;margin-bottom:18px}.data-context strong{color:#264459}.data-context small{display:block}.period-comparison h3{font-size:14px;margin:8px 0}.period-comparison strong{display:block;font-size:28px;color:#126e76}.period-comparison span{font-size:13px;color:#61788e}.period-comparison .two-col{margin-bottom:8px}.compact-note{padding:8px 16px;margin:12px 0}.empty-small{padding:18px;color:#61788e}.flow-table td{font-variant-numeric:tabular-nums}.bar-label{white-space:normal;overflow-wrap:anywhere}.bar-row{min-height:32px}.badge.open{background:#fff0d9;color:#805411}@media(max-width:580px){.attention-grid{grid-template-columns:1fr 1fr}.insight-tile{padding:12px}.data-context{flex-direction:column}.period-comparison .two-col{grid-template-columns:1fr}}
.safety-highlights-panel{margin-bottom:20px;background:linear-gradient(145deg,#fff 0%,#f2faf7 100%);border-color:#c6e1da}.safety-highlights-panel .eyebrow{margin:0 0 5px;color:#147867}.safety-highlight-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:14px}.safety-highlight-tile{min-width:0;background:linear-gradient(155deg,#fff,#edf8f4);border-color:#b8dbd2;border-left-color:#168c78}.safety-highlight-tile>span:first-child{font-weight:700;font-size:16px;line-height:1.3}.safety-highlight-tile strong{font-size:13px;line-height:1;padding:6px 9px;border-radius:999px;color:#0d6658;background:#d9f0e9;letter-spacing:.02em}.safety-highlight-tile small{flex:1;font-size:13px;line-height:1.45}.safety-highlights-panel>.source-note{margin-bottom:0}@media(max-width:1000px){.safety-highlight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:360px){.safety-highlight-grid{grid-template-columns:1fr}}

.score-overview{margin-bottom:20px}.score-pulse{border:1px solid #dce5ee;border-top:4px solid var(--area-color);padding:18px;text-align:left;display:flex;flex-direction:column;gap:8px}.score-pulse>strong{font-size:36px;color:var(--area-color)}.score-pulse small{display:block;color:#607a90;font-size:12px}.score-pulse>div{border-top:1px solid #e7edf2;padding-top:8px;font-size:13px}.score-trends{display:grid;gap:20px;margin-bottom:20px}.records a{color:#087f78;overflow-wrap:anywhere}.records h2{font-size:18px}.score-pulse:focus-visible{outline:3px solid #087f78}

.health-gauge{width:100%;max-width:340px;align-self:center}.health-gauge svg{display:block;width:100%;overflow:visible}.health-gauge svg text{font-size:11px;fill:#62778d}.health-gauge svg .gauge-value{font-size:33px;font-weight:750;fill:#173a64}.health-gauge svg .gauge-outof{font-size:14px;font-weight:500}.gauge-band{display:block;text-align:center;font-size:12px;font-weight:650;color:#435f77;margin:0 0 10px}.score-pulse{background:linear-gradient(160deg,#fff,#f4f8fc);border-radius:12px;box-shadow:0 5px 20px #173a6409;transition:box-shadow .2s,border-color .2s}.score-pulse:hover{box-shadow:0 8px 24px #173a641a;border-color:var(--area-color)}.score-pulse>span:first-child{font-size:17px;font-weight:650}@media(max-width:580px){.score-overview .attention-grid{grid-template-columns:1fr}.health-gauge{max-width:280px}}

.inspection-story{margin-bottom:20px;background:linear-gradient(120deg,#fff,#f6fafc)}.inspection-story .two-col{margin-bottom:0}.inspection-story h3{font-size:15px;margin-top:0}.inspection-story p{font-size:14px;line-height:1.65}.story-positive,.story-improve{padding:16px 18px;border-radius:8px;background:#eef8f4;border-left:3px solid #178f89}.story-improve{background:#fff8eb;border-left-color:#d3992d}.inspection-story .source-note{font-size:12px;margin-bottom:0}.refresh-only{max-width:900px}.refresh-sources{padding:12px 18px;background:#f5f8fb;border-radius:8px;margin-top:20px}.refresh-sources h3{font-size:14px}.refresh-sources p{font-size:13px;overflow-wrap:anywhere}

.comparison-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:14px 0}.comparison-metrics>div{padding:8px 14px;border-left:3px solid #d2e5e9}.comparison-metrics>div:nth-child(2){border-color:#d6c7ec}.comparison-metrics>div:nth-child(3){border-color:#edcd8d}.comparison-metrics>div:nth-child(4){border-color:#aecdec}@media(max-width:1100px){.comparison-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.comparison-metrics{grid-template-columns:1fr;gap:8px}}

.deterrent-detail{color:#795716;background:#fff3d9;border-radius:4px;padding:2px 5px;font-size:13px}

/* Compact shared filters: wrap controls across the available width. */
.filter-panel{padding:10px 14px;margin-bottom:12px}
.filter-top{margin-bottom:6px;font-size:13px}
.filter-panel .filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px}
.filter-panel .filters>label{flex:1 1 115px;min-width:110px;max-width:240px;font-size:11px}
.filter-panel .filters input,.filter-panel .filters select{padding:6px 8px;margin-top:2px;font-size:13px;min-height:34px;height:34px}
.filter-panel .quick-dates{display:contents}
.filter-panel .quick-dates button{font-size:12px;min-height:34px;padding:6px 10px;white-space:nowrap}
.filter-panel #advanced>summary{margin:6px 0 0;font-size:12px}
.filter-panel #advanced[open]>summary{margin-bottom:8px}
.filter-panel .chips:empty{display:none}
.filter-panel .chip{margin-top:6px;padding:3px 8px}
@media(max-width:700px){
 .filter-panel .filters>label{flex:1 1 calc(50% - 8px);min-width:0;max-width:none}
 .filter-panel .filters input,.filter-panel .filters select{font-size:16px;min-height:44px;height:44px}
 .filter-panel .quick-dates button{min-height:44px;flex:1 1 auto}
 .filter-top button,.filter-panel #advanced>summary{min-height:44px;display:flex;align-items:center}
}

@media(max-width:360px){.filter-panel .filters>.date-filter{flex-basis:100%}}

footer.data-context{margin:28px 0 0;padding:14px 0 4px;border-top:1px solid #dce5eb;font-size:11px;gap:12px;line-height:1.5}footer.data-context strong{font-weight:500;color:inherit}
/* Grounded Overview summary: retain the dashboard's existing panel language. */
.overview-safety-summary{border-left:4px solid #168577}
.overview-safety-summary .section-head{align-items:flex-start}
.overview-summary-actions{display:flex;align-items:flex-end;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.overview-summary-actions label{display:grid;gap:4px;color:#60768a;font-size:11px;font-weight:700}
.overview-summary-actions select{min-width:150px;padding:7px 28px 7px 9px;border:1px solid #cbd9e3;border-radius:7px;background:#fff;color:#24465d;font-size:13px}
.overview-summary-actions button{padding:7px 10px;font-size:12px;white-space:nowrap}
.overview-summary-mode{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border-radius:999px;background:#e4f5f1;color:#076b63;font-size:12px;font-weight:700;white-space:nowrap}
.overview-summary-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:22px}
.overview-summary-grid>div{min-width:0;padding:16px 18px;border:1px solid #dce4ec;border-radius:8px;background:#f9fbfc}
.overview-summary-grid h3{margin:0 0 10px;font-size:16px;color:#25485d}
.overview-summary-grid ul{margin:0;padding-left:21px}
.overview-summary-grid li{margin:0 0 9px;overflow-wrap:anywhere}
.overview-summary-grid li:last-child{margin-bottom:0}
@media(max-width:760px){.overview-summary-grid{grid-template-columns:1fr;gap:12px}.overview-safety-summary .section-head{gap:8px;align-items:stretch}.overview-summary-actions{justify-content:flex-start}.overview-summary-actions label{flex:1 1 160px}.overview-summary-actions select{width:100%;min-width:0}.overview-summary-mode{white-space:normal}}

/* Regulatory clean-sheet outcome summary */
.wsbc-outcome-panel{display:flex;flex-direction:column}
.wsbc-outcome-visual{display:grid;grid-template-columns:minmax(170px,220px) minmax(0,1fr);align-items:center;gap:clamp(18px,3vw,36px);min-height:230px;padding:10px 4px}
.wsbc-outcome-donut{position:relative;width:min(100%,210px);aspect-ratio:1;margin:auto}
.wsbc-outcome-donut svg{display:block;width:100%;height:100%;overflow:visible;transform:rotate(-90deg)}
.wsbc-outcome-track,.wsbc-outcome-segment{fill:none;stroke-width:17}
.wsbc-outcome-track{stroke:#e7edf1}
.wsbc-outcome-segment{stroke-linecap:butt;transition:stroke-dasharray .25s ease}
.wsbc-outcome-clean{stroke:#178f89;background:#178f89}
.wsbc-outcome-orders{stroke:#bb4149;background:#bb4149}
.wsbc-outcome-pending{stroke:#8795a6;background:#8795a6}
.wsbc-outcome-total{position:absolute;inset:27%;display:grid;place-content:center;text-align:center;line-height:1.05;pointer-events:none}
.wsbc-outcome-total strong{font-size:clamp(1.65rem,3vw,2.35rem);color:var(--ink)}
.wsbc-outcome-total span{margin-top:4px;color:var(--muted);font-size:.78rem;font-weight:700}
.wsbc-outcome-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.wsbc-outcome-list li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #e7edf1}
.wsbc-outcome-list li:last-child{border-bottom:0}
.wsbc-outcome-key{display:flex;align-items:center;gap:9px;min-width:0;font-weight:700;color:var(--ink)}
.wsbc-outcome-swatch{flex:0 0 auto;width:11px;height:11px;border-radius:3px}
.wsbc-outcome-value{display:flex;align-items:baseline;gap:7px;white-space:nowrap}
.wsbc-outcome-value strong{font-size:1.08rem;color:var(--ink)}
.wsbc-outcome-value small{color:var(--muted);font-weight:700}
@media(max-width:620px){.wsbc-outcome-visual{grid-template-columns:1fr;min-height:0}.wsbc-outcome-donut{width:min(62vw,190px)}.wsbc-outcome-list{width:100%}}
.wsbc-pattern-section{margin:0 0 20px;padding:19px;border:1px solid #d5e0e7;border-radius:10px;background:linear-gradient(145deg,#fbfcfd,#f2f6f8)}
.wsbc-pattern-section>.section-head{margin-bottom:13px}.wsbc-pattern-kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:0}
.wsbc-pattern-card:before{width:5px}.wsbc-pattern-danger{border-color:#e4b9bd;background:#fff8f8}.wsbc-pattern-danger:before{background:#b93642}.wsbc-pattern-danger.kpi-link:hover{border-color:#b93642;background:#fff1f2}.wsbc-pattern-danger .kpi-hint{color:#9f2f39}
.wsbc-pattern-warning{border-color:#ead4a8;background:#fffbf2}.wsbc-pattern-warning:before{background:#c58a22}.wsbc-pattern-warning.kpi-link:hover{border-color:#c58a22;background:#fff6df}.wsbc-pattern-warning .kpi-hint{color:#8a5d10}.kpi-zero-note{display:block;margin-top:9px;color:#718397;font-size:12px}
.wsbc-pattern-filter{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding:10px 12px;border:1px solid #ddb8bc;border-radius:7px;background:#fff4f5;color:#6e3036;font-size:13px}.wsbc-pattern-filter span{flex:1}.wsbc-pattern-filter button{padding:5px 9px;border-color:#c7848a;color:#842e36}
.wsbc-risk-panel{margin-bottom:20px}.wsbc-risk-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wsbc-risk-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 14px;border:1px solid #e4c1c4;border-left:4px solid #b93642;border-radius:8px;background:#fffafa}.wsbc-risk-list p{margin:4px 0 0;color:#657b8c;font-size:12px}.wsbc-risk-list strong{text-transform:capitalize}.wsbc-risk-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.wsbc-risk-links .button{padding:6px 9px;font-size:12px;white-space:nowrap}
@media(max-width:980px){.wsbc-pattern-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.wsbc-risk-list{grid-template-columns:1fr}}
@media(max-width:560px){.wsbc-pattern-section{padding:14px}.wsbc-pattern-kpis{grid-template-columns:1fr}.wsbc-pattern-filter{align-items:flex-start;flex-wrap:wrap}.wsbc-pattern-filter span{flex-basis:100%}.wsbc-risk-list article{grid-template-columns:1fr}.wsbc-risk-links{justify-content:flex-start}}

/* Published scorecard detail recall */
.score-pulse-area{font-size:17px;font-weight:700;color:var(--ink)}
.score-detail-button,.score-history-link,.score-table-detail{border:1px solid #b9c9d5;border-radius:7px;background:#fff;color:#174766;font-weight:750;cursor:pointer}
.score-detail-button{align-self:center;min-height:32px;margin:-4px 0 2px;padding:5px 18px;font-size:12px}
.score-history-link{align-self:flex-start;margin-top:auto;padding:7px 10px;font-size:12px}
.score-table-detail{margin-left:9px;padding:4px 8px;font-size:11px}
.score-detail-button:hover,.score-history-link:hover,.score-table-detail:hover{border-color:var(--area-color,#168577);background:#eff8f7;color:#0a6e68}
.score-detail-button:focus-visible,.score-history-link:focus-visible,.score-table-detail:focus-visible{outline:3px solid #86cbc5;outline-offset:2px}
.score-detail-dialog{width:min(1120px,calc(100vw - 34px));max-height:calc(100vh - 34px);padding:0;border:0;border-radius:14px;box-shadow:0 24px 80px #082f49aa;color:var(--ink)}
.score-detail-dialog::backdrop{background:#0a263dcc;backdrop-filter:blur(2px)}
.score-detail-dialog-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;border-bottom:1px solid #d8e3ea;background:#fff}
.score-detail-dialog-head h2,.score-detail-dialog-head p{margin:0}
.score-detail-dialog-head button{width:40px;height:40px;border:1px solid #c5d3dc;border-radius:50%;background:#fff;font-size:18px;cursor:pointer}
.score-detail-dialog [data-score-detail-body]{padding:22px}
.score-detail-card{border:1px solid #d8e3ea;border-top:5px solid var(--area-color,#168577);border-radius:10px;background:#fff;overflow:hidden}
.score-detail-card>header{display:flex;align-items:baseline;justify-content:space-between;gap:18px;padding:14px 17px;background:#f5f8fa}
.score-detail-card>header h2,.score-detail-card>header h3,.score-detail-card>header h4,.score-detail-card>header p{margin:0}
.score-detail-card>header p{color:#526b7b;font-size:12px;font-weight:650}
.score-detail-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.score-detail-sections>section{min-width:0;padding:17px;border-left:1px solid #e2e9ee}
.score-detail-sections>section:first-child{border-left:0}
.score-detail-sections h3,.score-detail-sections h4,.score-detail-sections h5{margin:0 0 10px;color:#173f55;font-size:15px}
.score-detail-sections ul{margin:0;padding-left:20px}
.score-detail-sections li{margin:0 0 9px;line-height:1.45;overflow-wrap:anywhere}
.score-detail-sections li:last-child{margin-bottom:0}
.score-detail-empty{margin:0;color:var(--muted);font-style:italic}
.scorecard-narrative-week{margin:20px 0 26px}
.scorecard-narrative-week>h3{margin:0 0 12px;padding-bottom:7px;border-bottom:2px solid #d6e4ea;color:#173f55}
.scorecard-narrative-week .score-detail-card{margin-bottom:14px}
@media(max-width:760px){.score-detail-sections{grid-template-columns:1fr}.score-detail-sections>section{border-left:0;border-top:1px solid #e2e9ee}.score-detail-sections>section:first-child{border-top:0}.score-detail-card>header{align-items:flex-start;flex-direction:column;gap:4px}.score-table-detail{display:block;margin:6px 0 0}}
