/* Keep custody/services controls and the black/silver/red theme intact. */
.sim-brookhaven .topbar{gap:24px;min-height:112px}
.sim-brookhaven .topbar>.brand{flex:0 0 auto}
.sim-brookhaven .topbar>.actions{flex:1;min-width:0;width:auto;border-top:0;padding-top:0;gap:12px}
.sim-brookhaven .topbar>.actions .home-link{color:inherit}
.sim-brookhaven .panel-header{gap:16px;flex-wrap:wrap}
.sim-brookhaven .panel-header h2{margin-bottom:0}
.sim-brookhaven .layout>*{min-width:0}
.sim-brookhaven .table-wrap table{min-width:560px}
.sim-brookhaven .footer-actions{gap:24px}
.sim-brookhaven .footer-actions p:last-child{margin-bottom:0}
.sim-brookhaven .program-grid{gap:16px}
.sim-brookhaven .option{line-height:1.5}
.sim-brookhaven :is(.stepper output,.metric strong){font-variant-numeric:tabular-nums}
.sim-brookhaven .reflection textarea{font-size:16px;line-height:1.6;resize:vertical}
.sim-brookhaven select:focus-visible,.sim-brookhaven textarea:focus-visible{outline:3px solid var(--red);outline-offset:3px}
@media(max-width:1100px){
  .sim-brookhaven .topbar>.actions{flex-basis:100%;border-top:1px solid var(--line);padding-top:16px;justify-content:flex-start}
}
@media(max-width:700px){
  .sim-brookhaven .topbar .actions button{min-height:44px;padding:12px 16px;font-size:15px}
  .sim-brookhaven .topbar>.actions{gap:12px}
  .sim-brookhaven .allocation{grid-template-columns:minmax(0,1fr);gap:16px}
  .sim-brookhaven .stepper{flex-wrap:wrap;gap:8px}
  .sim-brookhaven .program-grid{grid-template-columns:minmax(0,1fr)}
  .sim-brookhaven .footer-actions{align-items:stretch}
  .sim-brookhaven .footer-actions>button{width:100%}
  .sim-brookhaven .modal .actions button{flex:1 1 180px}
}

/* Shift Command: gameplay first, institutional context second. */
.sim-brookhaven{--bh-stable:#66d6a3;--bh-watch:#f1c75b;--bh-critical:#ff8791}
.sim-brookhaven .layout{align-items:start}
.sim-brookhaven .bh-incident-layout{grid-template-columns:minmax(0,1.85fr) minmax(300px,1fr);gap:24px}
.sim-brookhaven .stack{gap:24px}
.sim-brookhaven .panel{padding:24px;border-radius:12px}
.sim-brookhaven .panel h2{font-size:1.2rem;line-height:1.35}
.sim-brookhaven .panel h3{margin:20px 0 8px}
.sim-brookhaven .panel>p:last-child{margin-bottom:0}
.sim-brookhaven .bh-incident-title{font-size:clamp(1.5rem,2.3vw,2.1rem);line-height:1.18;margin:8px 0 20px;letter-spacing:-.02em}
.sim-brookhaven .bh-situation{font-size:1.05rem;line-height:1.65;margin:0 0 24px}
.sim-brookhaven .event>.eyebrow{margin-bottom:12px;line-height:1.6}
.sim-brookhaven .option{padding:16px 18px;border-radius:8px;margin-top:12px;min-height:88px}
.sim-brookhaven .option.selected{border-color:#f28795;background:#8e26323b}
.sim-brookhaven .option p{margin:6px 0 0;line-height:1.5}
.sim-brookhaven .footer-actions{flex-wrap:wrap;gap:16px;margin-top:24px;padding-top:20px}
.sim-brookhaven button{min-height:44px}
.sim-brookhaven .bh-dashboard{gap:12px;margin-bottom:28px}
.sim-brookhaven .bh-kpi{display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:12px;--kpi-color:var(--bh-watch);border-top:2px solid var(--kpi-color)}
.sim-brookhaven .bh-kpi--stable{--kpi-color:var(--bh-stable)}
.sim-brookhaven .bh-kpi--critical{--kpi-color:var(--bh-critical)}
.sim-brookhaven .bh-kpi-label{min-height:2.7em;font-size:.8rem;line-height:1.35;color:#d3dae3}
.sim-brookhaven .bh-kpi-reading{display:flex;align-items:baseline;justify-content:space-between;gap:6px;flex-wrap:wrap;margin-top:auto}
.sim-brookhaven .bh-kpi strong{font-size:2rem;line-height:1;margin:0;font-variant-numeric:tabular-nums}
.sim-brookhaven .bh-kpi-status{font-size:.72rem;font-weight:700;color:var(--kpi-color)}
.sim-brookhaven .bh-kpi .meter{height:6px;margin-top:2px;background:#ffffff15}
.sim-brookhaven .bh-kpi .meter i{background:var(--kpi-color)}
.sim-brookhaven .bh-facility-photo{padding:0;margin:0;overflow:hidden}
.sim-brookhaven .bh-facility-photo img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;object-position:center 52%}
.sim-brookhaven .bh-facility-photo figcaption{padding:12px 16px;font-size:.75rem;color:#c5ced9;border-top:1px solid var(--line)}
.sim-brookhaven .bh-research p{line-height:1.6;margin:14px 0}
.sim-brookhaven .bh-research a{color:#c9dfff;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.sim-brookhaven .badge{display:inline-flex;align-items:center;border-radius:5px;font-size:.7rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:4px 8px}
.sim-brookhaven .bh-issues .panel-header{margin-bottom:12px}
.sim-brookhaven .bh-issue{display:grid;grid-template-columns:54px minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:14px 0;border-top:1px solid var(--line);font-size:.85rem}
.sim-brookhaven .bh-issue-unit{color:#c6ced9;font-size:.75rem}
.sim-brookhaven .bh-issue--urgent .badge{color:var(--bh-critical);border-color:#ff879166;background:#ff879110}
.sim-brookhaven .bh-issue--caution .badge{color:var(--bh-watch);border-color:#f1c75b66;background:#f1c75b10}
.sim-brookhaven .bh-issue-status{color:#c6ced9;font-size:.75rem}
.sim-brookhaven .bh-issues>p{margin:12px 0 0}
.sim-brookhaven .bh-context-note{border-top:1px solid var(--line);padding-top:14px;margin-top:14px}
.sim-brookhaven .mini-row{flex-wrap:wrap}
.sim-brookhaven .mini-row strong{white-space:normal;overflow-wrap:anywhere}
.sim-brookhaven .bh-heading .eyebrow{margin-bottom:10px}
@media(max-width:1100px){.sim-brookhaven .bh-incident-layout{grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr)}.sim-brookhaven .bh-incident-layout>aside{grid-template-columns:minmax(0,1fr)}}
@media(max-width:850px){.sim-brookhaven .bh-incident-layout{grid-template-columns:minmax(0,1fr)}.sim-brookhaven .bh-incident-layout>aside{grid-template-columns:minmax(0,1fr)}.sim-brookhaven .bh-facility-photo img{max-height:300px}.sim-brookhaven .bh-dashboard{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.sim-brookhaven .panel{padding:18px}.sim-brookhaven .stack,.sim-brookhaven .bh-incident-layout{gap:18px}.sim-brookhaven .bh-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}.sim-brookhaven .bh-kpi{padding:14px}.sim-brookhaven .bh-issue{grid-template-columns:54px minmax(0,1fr);gap:8px 12px}.sim-brookhaven .bh-issue .badge{justify-self:start}.sim-brookhaven .bh-facility-photo{padding:0}.sim-brookhaven .brand{min-width:0}.sim-brookhaven .brand small{letter-spacing:.04em}.sim-brookhaven .bh-result{gap:16px}}

.sim-brookhaven .event .bh-incident-title{font-size:clamp(1.5rem,2.3vw,2.1rem);line-height:1.18;margin:8px 0 20px;letter-spacing:-.02em}

/* Clear, recorded consequences for the balanced decision model. */
.sim-brookhaven .bh-last-action{margin:0 0 24px;border-left:3px solid #bac8d5;padding:20px 24px}
.sim-brookhaven .bh-last-action h2{font-size:1.1rem;margin:0 0 14px}
.sim-brookhaven .bh-last-action .eyebrow{margin-bottom:8px}
.sim-brookhaven .bh-last-action>p:last-child{margin-bottom:0}
.sim-brookhaven .bh-impact-list{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.sim-brookhaven .bh-impact{padding:5px 9px;border:1px solid var(--line);border-radius:6px;font-size:.8rem}
.sim-brookhaven .bh-impact.gain{color:#9ee7c2;background:#287c4e19}
.sim-brookhaven .bh-impact.loss{color:#ffb2b9;background:#a12e3e19}
.sim-brookhaven .bh-unit .bh-unit-needs{margin:8px 0 0;font-size:.8rem;line-height:1.6;color:#d9e1eb}
.sim-brookhaven .bh-unit .bh-unit-needs strong{font-size:inherit;color:#d9e1eb;letter-spacing:0}
.sim-brookhaven .bh-issue-followup{grid-column:2/-1;font-size:.78rem;line-height:1.55;color:#bbc6d4}
.sim-brookhaven .event .notice h3{margin:0 0 8px;font-size:.9rem}
.sim-brookhaven .event .notice p{margin:0;line-height:1.6;color:#d3dbe5}
@media(max-width:560px){.sim-brookhaven .bh-last-action{padding:18px}.sim-brookhaven .bh-issue-followup{grid-column:1/-1}}
