/* Article-scoped, user-triggered light effects. No flashing, sound or autoplay. */
.outage-article .outage-word { white-space: nowrap; }
.outage-lab {
  margin: 2rem 0 3rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #2e5268;
  border-radius: 24px;
  color: #eaf4fc;
  background: radial-gradient(circle at 95% 0, #154553, transparent 55%), #0c1e30;
  box-shadow: 0 22px 64px #06132226;
}
.outage-lab__eyebrow { color: #79dfe5; font-size: .7rem; letter-spacing: .14em; font-weight: 600; }
.outage-lab .outage-lab__head h2 { margin: .7rem 0 .6rem; color: #f3f8ff; font-size: clamp(1.35rem, 3vw, 1.85rem); line-height: 1.45; }
.outage-lab .outage-lab__head p { margin: 0; color: #bed0df; font-size: .87rem; }
.outage-lab__controls { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.25rem 0 1rem; }
.outage-lab__controls[hidden] { display: none; }
.outage-lab__controls button { cursor: pointer; padding: .7rem 1.15rem; border: 1px solid #537085; border-radius: 999px; color: #d4e5f1; background: #132e43; font: inherit; font-size: .9rem; transition: background-color .2s, color .2s; }
.outage-lab__controls button[aria-pressed="true"] { color: #08252d; background: #7be2df; border-color: #7be2df; font-weight: 600; }
.outage-lab__controls button:focus-visible { outline: 3px solid #ffe29e; outline-offset: 4px; }
.outage-lab .outage-lab__summary { min-height: 4.6em; margin: 0 0 1rem; padding: .8rem 1rem; border-left: 3px solid #7be2df; border-radius: 0 12px 12px 0; color: #d5f8f5; background: #143344; font-size: .9rem; line-height: 1.65; }
.outage-lab__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.lab-card { display: flex; flex-direction: column; min-width: 0; padding: 1rem .8rem; border: 1px solid #38536b; border-radius: 17px; background: #102638; transition: background-color .25s, border-color .25s, box-shadow .25s; }
.outage-lab .lab-card__number { margin: 0; color: #abc5d6; font-size: .65rem; letter-spacing: .05em; }
.outage-lab .lab-card h3 { margin: .55rem 0 0; min-height: 4.5em; color: #f2f7fb; font-size: 1rem; line-height: 1.5; }
.lab-card__scene { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .6rem 0; }
.lab-card__sun { color: #ffd983; font-size: 2.2rem; }
.lab-card__wire { flex: 1; height: 3px; border-radius: 3px; background: #40566a; transition: background-color .25s; }
.lab-card__bulb { flex: 0 0 46px; width: 46px; height: 56px; fill: #253e50; stroke: #718a9d; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: fill .25s, stroke .25s, filter .25s; }
.is-powered .lab-card__bulb { fill: #ffe5a0; stroke: #ffd879; filter: drop-shadow(0 0 9px #ffd87966); }
.is-powered .lab-card__wire { background: #e5cf8b; }
.lab-card.is-islanded { border-color: #79e7d4; background: #0e3a3e; box-shadow: inset 0 0 0 1px #79e7d433; }
.lab-card.is-islanded .lab-card__wire { background: #79e7d4; }
.outage-lab .lab-card__status { margin: .4rem 0 .65rem; min-height: 3em; color: #a9c5d4; font-size: .87rem; font-weight: 600; line-height: 1.5; }
.outage-lab .is-powered .lab-card__status { color: #ffe5a0; }
.outage-lab .is-islanded .lab-card__status { color: #a1f8e3; }
.outage-lab .lab-card > p:not([class]) { margin: 0 0 1rem; color: #b9cbd9; font-size: .8rem; line-height: 1.7; }
.lab-card__load { margin-top: auto; padding: .5rem .6rem; border-radius: 9px; color: #adbfce; background: #081a29; font-size: .75rem; line-height: 1.6; }
.is-powered .lab-card__load { color: #f3e4b6; background: #253b3a; }
.outage-lab .outage-lab__note { margin: 1rem 0 0; color: #aac0d0; font-size: .75rem; line-height: 1.85; }
@media (max-width: 640px) {
  .outage-lab__cards { grid-template-columns: minmax(0, 1fr); }
  .lab-card { display: grid; grid-template-columns: minmax(0, 1fr) 80px; gap: .4rem .7rem; }
  .outage-lab .lab-card h3 { min-height: 0; grid-column: 1; margin: 0; }
  .lab-card__scene { grid-column: 2; grid-row: 1 / 4; align-self: center; gap: .2rem; }
  .lab-card__sun { font-size: 1.45rem; }
  .lab-card__bulb { flex-basis: 35px; width: 35px; height: 44px; }
  .outage-lab .lab-card__status { grid-column: 1; min-height: 0; margin: 0; }
  .outage-lab .lab-card > p:not([class]), .lab-card__load { grid-column: 1 / -1; }
  .outage-lab .lab-card > p:not([class]) { margin-bottom: .1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .outage-lab *, .outage-lab *::before, .outage-lab *::after { transition: none !important; animation: none !important; }
}
