/* v1.1.64: independent 12/24-hour range and bucket-size controls. */
.sid-dynamic-theme .sid-chart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:10px 0 -12px}
.sid-dynamic-theme .sid-chart-period-controls{display:flex;gap:4px}
.sid-dynamic-theme .sid-chart-period-controls button{font-size:12px;padding:5px 10px;border:1px solid #dfe8e2;border-radius:7px;background:#fff;color:#53645a;cursor:pointer}
.sid-dynamic-theme .sid-chart-period-controls button[aria-pressed="true"]{background:#e9f5ed;border-color:#b9dfc5;color:#146d3e;font-weight:700}
.sid-dynamic-theme .sid-chart-toolbar .sid-chart-controls{margin:0}
@media(max-width:640px){.sid-dynamic-theme .sid-chart-period-controls button{padding:5px 8px}}
/* v1.1.61: connected report activity flow; SVG replaces visible bars after JS initialization. */
.sid-dynamic-theme .chart-bars:has(.sid-flow-svg){gap:0!important;padding:0!important;isolation:isolate}
.sid-dynamic-theme .sid-flow-svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1;overflow:visible}
.sid-dynamic-theme .chart-bars .sid-flow-hit{flex:1;min-width:0;border:0!important;border-radius:0!important;box-shadow:none!important;opacity:0;position:relative;z-index:2}
.sid-dynamic-theme .chart-times:has(span:nth-child(5)){margin-left:46px;gap:5px}
.sid-dynamic-theme .chart-times:has(span:nth-child(5)) span{font-size:11px;white-space:nowrap}
@media(max-width:640px){.sid-dynamic-theme .chart-times:has(span:nth-child(5)){margin-left:29px}.sid-dynamic-theme .chart-times:has(span:nth-child(5)) span{font-size:10px}}

/* v1.1.56: give the Community Insights footnote breathing room before the next divider. */
.sid-dynamic-theme .sid-category-footnote + .sid-peak-note{margin-top:24px!important}
/* v1.1.47: peak sits directly beneath the chart title. */
.sid-dynamic-theme .activity-chart-head{display:flex!important;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.sid-dynamic-theme .activity-chart-head>span:last-child{margin-left:auto;text-align:right}
.sid-dynamic-theme .sid-chart-title-group{display:flex;flex-direction:column;gap:5px;align-items:flex-start}
.sid-dynamic-theme .sid-chart-title-group .sid-chart-peak-label{font-size:12px;font-weight:500;line-height:1.3;margin:0}
.sid-dynamic-theme .sid-chart-controls{align-items:center;flex-wrap:wrap}
@media(max-width:640px){.sid-dynamic-theme .activity-chart-head{align-items:flex-start}.sid-dynamic-theme .activity-chart-head>span:last-child{font-size:12px}}
/* v1.1.67: use one horizontal centerline for every hero element. */
.sid-dynamic-theme .service-hero{text-align:center}
.sid-dynamic-theme .service-hero .service-brand-visual{display:flex;justify-content:center;align-items:center;width:100%;margin-left:auto;margin-right:auto}
.sid-dynamic-theme .service-hero #service-heading{display:block;width:100%;max-width:100%;margin-left:auto;margin-right:auto;text-align:center;box-sizing:border-box}
.sid-dynamic-theme .service-hero .service-lead,.sid-dynamic-theme .service-hero .timestamp{text-align:center}
/* v1.1.44: compact data-driven hero, two or three lines on desktop. */
.sid-dynamic-theme .service-hero .service-lead{max-width:760px;margin-left:auto;margin-right:auto;line-height:1.5;text-wrap:pretty}
/* v1.1.40: quiet count labels aligned with a shared, rounded chart scale. */
.sid-dynamic-theme .sid-chart-yaxis{position:absolute;inset:0 auto 0 0;width:46px;pointer-events:none;z-index:2;color:#98a6a0;font-size:10px;font-variant-numeric:tabular-nums}
.sid-dynamic-theme .sid-chart-yaxis span{position:absolute;left:0;transform:translateY(-50%);background:rgba(255,255,255,.88);padding:1px 4px 1px 0;border-radius:2px}
.sid-dynamic-theme .sid-chart-yaxis span:first-child{transform:translateY(0)}
.sid-dynamic-theme .chart-grid{left:46px!important}
.sid-dynamic-theme .chart-bars{margin-left:46px}
@media(max-width:640px){.sid-dynamic-theme .sid-chart-yaxis{width:29px;font-size:9px}.sid-dynamic-theme .chart-grid{left:29px!important}.sid-dynamic-theme .chart-bars{margin-left:29px}}
/* Fine-grained chart: narrow bars remain readable at 5-minute resolution. */
.sid-dynamic-theme .chart-bars{gap:1px;padding:0 2px}
.sid-dynamic-theme .chart-bar{border-radius:2px 2px 0 0}
.sid-dynamic-theme .sid-chart-controls{display:flex;justify-content:flex-end;gap:4px;margin:10px 0 -12px}
.sid-dynamic-theme .sid-chart-controls button{font-size:12px;padding:5px 10px;border:1px solid #dfe8e2;border-radius:7px;background:#fff;color:#53645a;cursor:pointer}
.sid-dynamic-theme .sid-chart-controls button[aria-pressed="true"]{background:#e9f5ed;border-color:#b9dfc5;color:#146d3e;font-weight:700}
@media(max-width:640px){.sid-dynamic-theme .chart-bars{gap:0.5px}.sid-dynamic-theme .sid-chart-controls button{padding:5px 8px}}
/* Status accents: only the service page, never global brand/navigation. */
.sid-dynamic-theme{--sid-accent:#23bb65;--sid-soft:#f3faf6;--sid-edge:#dcebe1;--sid-ink:#23bb65}
.sid-dynamic-theme.sid-theme-elevated{--sid-accent:#ff8540;--sid-soft:#fff7f0;--sid-edge:#f4dfd1;--sid-ink:#ff8540}
.sid-dynamic-theme.sid-theme-widespread{--sid-accent:#f63145;--sid-soft:#fff5f5;--sid-edge:#f4d6da;--sid-ink:#f63145}
.sid-dynamic-theme .service-hero .sid-status{transition:background .2s,color .2s}
.sid-dynamic-theme.sid-theme-elevated .service-lead,.sid-dynamic-theme.sid-theme-widespread .service-lead{color:#4f5e58}
/* Keep cards neutral; only the small status label reflects the current level. */
.sid-dynamic-theme .report-panel{border-color:#e0e8e5!important}
.sid-dynamic-theme .report-number strong{color:#17221e!important}
@media(max-width:440px){.sid-dynamic-theme .sid-snapshot::before,.sid-dynamic-theme .sid-snapshot::after{display:none}}
.sid-dynamic-theme .sid-incident-detail{border-left-color:var(--sid-accent)!important}
.sid-dynamic-theme .sid-chart-peak-label{color:#68746d!important}
.sid-dynamic-theme .sid-chart-key{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:12px 0 0;color:#65746c;font-size:12px}
.sid-dynamic-theme .sid-chart-key span{display:inline-flex;align-items:center;gap:6px}
.sid-dynamic-theme .sid-chart-key i{display:inline-block;width:9px;height:9px;border-radius:3px}
@media(max-width:640px){.sid-dynamic-theme .sid-chart-key{gap:10px;font-size:11px}}

/* One concise summary beneath the live chart; keep longer problem names readable. */
.sid-dynamic-theme .sid-activity-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.sid-dynamic-theme .sid-activity-metrics>div{min-width:0}
.sid-dynamic-theme .sid-activity-problem{font-size:clamp(1rem,1.8vw,1.45rem);line-height:1.3;overflow-wrap:anywhere}
@media(max-width:640px){.sid-dynamic-theme .sid-activity-metrics{grid-template-columns:1fr;gap:9px}}
/* Incident history: neutral cards with severity conveyed by a restrained accent. */
.sid-dynamic-theme .sid-incident-history{margin:24px 0;padding:22px 24px;border:1px solid #e0e8e5;border-radius:18px;background:#fff}
.sid-dynamic-theme .sid-incident-history>h2{margin:6px 0 8px;font-size:1.3rem}
.sid-dynamic-theme .sid-incident-history>p{color:#65746c;font-size:.92rem;margin:0 0 16px}
.sid-dynamic-theme .sid-history-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.sid-dynamic-theme .sid-history-list>li{list-style:none;margin:0;padding:16px 18px;border:1px solid #e6ece8;border-left:3px solid #ff8540;border-radius:12px;background:#fbfcfb;min-width:0}
.sid-dynamic-theme .sid-history-list>li.sid-history-item--widespread{border-left-color:#f63145}
.sid-dynamic-theme .sid-history-list>li.sid-history-item--elevated{border-left-color:#ff8540}
.sid-dynamic-theme .sid-history-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:9px}
.sid-dynamic-theme .sid-history-level{font-size:.78rem;font-weight:700;color:#d95d1b;background:#fff2e8;padding:5px 9px;border-radius:999px}
.sid-dynamic-theme .sid-history-item--widespread .sid-history-level{color:#ad2935;background:#fff0f1}
.sid-dynamic-theme .sid-history-period{font-size:.83rem;color:#627269}
.sid-dynamic-theme .sid-history-evidence{display:flex;flex-wrap:wrap;gap:7px 15px;color:#4c5b52;font-size:.85rem;line-height:1.5}
.sid-dynamic-theme .sid-history-evidence>span:first-child{font-weight:600;color:#26372e}
.sid-dynamic-theme .sid-timeline{margin-top:12px;padding-top:10px;border-top:1px solid #e9efeb}
.sid-dynamic-theme .sid-timeline small{display:block;margin-top:6px;color:#738078;font-size:.76rem}
@media(max-width:640px){.sid-dynamic-theme .sid-incident-history{padding:17px 15px}.sid-dynamic-theme .sid-history-list>li{padding:13px 12px}.sid-dynamic-theme .sid-history-head{align-items:flex-start}}

/* v1.1.30 — status is communicated by the badge, not tinted containers. */
.sid-dynamic-theme .service-hero{
  position:relative;box-sizing:border-box;background:transparent!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  padding:38px 16px 42px;margin-bottom:18px;
}
.sid-dynamic-theme .service-hero::before,.sid-dynamic-theme .service-hero::after{content:none!important;display:none!important}
.sid-dynamic-theme .service-hero .sid-status{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  border:1px solid transparent!important;border-radius:999px;
  padding:13px 25px;font-size:clamp(16px,1.4vw,20px);font-weight:750;
  transition:background-color .2s ease,color .2s ease;
}
.sid-dynamic-theme.sid-theme-widespread .service-hero .sid-status{
  background:var(--sid-accent)!important;color:#fff!important;
  box-shadow:0 5px 15px rgba(199,47,64,.13)!important;
}
.sid-dynamic-theme.sid-theme-elevated .service-hero .sid-status{
  background:var(--sid-accent)!important;color:#fff!important;
  box-shadow:0 5px 15px rgba(232,107,37,.14)!important;
}
.sid-dynamic-theme.sid-theme-usual .service-hero .sid-status{
  background:var(--sid-accent)!important;color:#fff!important;
  box-shadow:0 5px 15px rgba(22,131,76,.09)!important;
}
.sid-dynamic-theme .service-hero .sid-status .status-dot{
  background:currentColor!important;width:10px;height:10px;opacity:.95;
  box-shadow:none!important;flex-shrink:0;
}
.sid-dynamic-theme .report-panel{
  border-color:#e0e8e5!important;box-shadow:0 12px 38px rgba(21,45,31,.045)!important;
}
.sid-dynamic-theme.sid-theme-elevated .report-panel,
.sid-dynamic-theme.sid-theme-widespread .report-panel{
  border-color:#e0e8e5!important;box-shadow:0 12px 38px rgba(21,45,31,.045)!important;
}
/* Only the current-hour metric receives a small status-colored marker. */
.sid-dynamic-theme.sid-theme-elevated .sid-activity-metrics>div:first-child,
.sid-dynamic-theme.sid-theme-widespread .sid-activity-metrics>div:first-child{
  position:relative;background:#f7f9f7!important;border-color:#e0e8e5!important;
}
.sid-dynamic-theme.sid-theme-elevated .sid-activity-metrics>div:first-child::before,
.sid-dynamic-theme.sid-theme-widespread .sid-activity-metrics>div:first-child::before{
  content:"";position:absolute;right:14px;top:15px;width:9px;height:9px;
  background:var(--sid-accent);border-radius:50%;
}
.sid-dynamic-theme.sid-theme-elevated .sid-activity-metrics>div:first-child strong,
.sid-dynamic-theme.sid-theme-widespread .sid-activity-metrics>div:first-child strong{
  color:#17221e!important;
}
@media(max-width:640px){
  .sid-dynamic-theme .service-hero{padding:28px 8px 34px;margin-bottom:12px}
  .sid-dynamic-theme .service-hero .sid-status{padding:12px 18px}
}
/* v1.1.37: match the footer brand pulse to the live service status. */
body:has(.sid-dynamic-theme.sid-theme-usual) footer .pulse{color:#23bb65!important}
body:has(.sid-dynamic-theme.sid-theme-elevated) footer .pulse{color:#ff8540!important}
body:has(.sid-dynamic-theme.sid-theme-widespread) footer .pulse{color:#f63145!important}
@media(prefers-reduced-motion:reduce){
  .sid-dynamic-theme .service-hero .sid-status{transition:none}
}

/* v1.1.35: dynamic status theme — accents only, never content backgrounds. */
.sid-dynamic-theme .section-kicker{
  color:var(--sid-ink)!important;
  transition:color .25s ease;
}
.sid-dynamic-theme .service-report-button{
  background:var(--sid-accent)!important;
  color:#fff!important;
  border-color:transparent!important;
  box-shadow:0 6px 18px rgba(0,0,0,.09)!important;
  transition:background-color .25s ease,box-shadow .25s ease,transform .2s ease;
}
.sid-dynamic-theme .service-report-button:hover{
  filter:brightness(.94);
  transform:translateY(-1px);
}
.sid-dynamic-theme .service-report-button:focus-visible{
  outline:3px solid var(--sid-accent);
  outline-offset:3px;
}
/* v1.1.36: sticky CTA is a sibling of <main>, not a descendant. */
body:has(.sid-dynamic-theme) .service-report-action .service-report-button{
  background:#23bb65!important;color:#fff!important;border-color:transparent!important;
  transition:background-color .25s ease,box-shadow .25s ease,transform .2s ease;
}
body:has(.sid-dynamic-theme.sid-theme-elevated) .service-report-action .service-report-button{background:#ff8540!important}
body:has(.sid-dynamic-theme.sid-theme-widespread) .service-report-action .service-report-button{background:#f63145!important}
body:has(.sid-dynamic-theme) .service-report-action .service-report-button:hover{filter:brightness(.94)}
body:has(.sid-dynamic-theme) .service-report-action .service-report-button:focus-visible{
  outline:3px solid currentColor;outline-offset:3px;
}
/* Brighter, less brown section labels while keeping primary headings neutral. */
.sid-dynamic-theme .section-kicker{font-weight:800;letter-spacing:.16em}
/* Header is outside <main>; :has() follows live-updated main status classes. */
body:has(.sid-dynamic-theme) .site-header .pulse{
  transition:color .25s ease;
}
body:has(.sid-dynamic-theme.sid-theme-usual) .site-header .pulse{color:#23bb65!important}
body:has(.sid-dynamic-theme.sid-theme-elevated) .site-header .pulse{color:#ff8540!important}
body:has(.sid-dynamic-theme.sid-theme-widespread) .site-header .pulse{color:#f63145!important}
@media(prefers-reduced-motion:reduce){
  .sid-dynamic-theme .section-kicker,
  .sid-dynamic-theme .service-report-button,
  body:has(.sid-dynamic-theme) .site-header .pulse{transition:none!important}
}
/* v1.1.43: report dialog sits outside <main>; match its primary action to live status. */
body:has(.sid-dynamic-theme) #report-dialog .report-form-actions button[type="submit"]{
  background:#23bb65!important;
  border-color:#23bb65!important;
  color:#fff!important;
  transition:background-color .2s ease,border-color .2s ease,filter .2s ease;
}
body:has(.sid-dynamic-theme.sid-theme-elevated) #report-dialog .report-form-actions button[type="submit"]{
  background:#ff8540!important;border-color:#ff8540!important;
}
body:has(.sid-dynamic-theme.sid-theme-widespread) #report-dialog .report-form-actions button[type="submit"]{
  background:#f63145!important;border-color:#f63145!important;
}
body:has(.sid-dynamic-theme) #report-dialog .report-form-actions button[type="submit"]:hover{filter:brightness(.94)}
body:has(.sid-dynamic-theme) #report-dialog .report-form-actions button[type="submit"]:focus-visible{
  outline:3px solid currentColor;outline-offset:3px;
}
@media(prefers-reduced-motion:reduce){
 body:has(.sid-dynamic-theme) #report-dialog .report-form-actions button[type="submit"]{transition:none!important}
}

/* v1.1.70: consolidate static service-page presentation; keep dynamic dimensions inline. */
.sid-dynamic-theme .sid-official-site-link{color:#344b59;font-weight:500;text-decoration:none;text-underline-offset:3px;transition:color .15s ease}
.sid-dynamic-theme .sid-official-site-link:hover,.sid-dynamic-theme .sid-official-site-link:focus-visible{color:#126a45;text-decoration:underline}
.sid-dynamic-theme .sid-official-site-link:focus-visible{outline:2px solid #23bb65;outline-offset:3px;border-radius:2px}
.sid-dynamic-theme .sid-intensity-low{background:#f9b9c0}
.sid-dynamic-theme .sid-intensity-increased{background:#f86b79}
.sid-dynamic-theme .sid-intensity-high{background:#f63145}
.sid-dynamic-theme .sid-category-highlight{margin:12px 0 16px;padding:14px 16px;background:#f4faf6;border:1px solid #e2eee6;border-radius:12px;line-height:1.6}
.sid-dynamic-theme .sid-category-footnote{font-size:.86rem;color:#64748b;margin:12px 0 0}
.sid-dynamic-theme .sid-insights-analysis{margin-top:18px;padding-top:14px;border-top:1px solid #e7eee9}
.sid-dynamic-theme .sid-insights-analysis-text{margin:0;color:#52645b;line-height:1.6}
.sid-dynamic-theme .sid-status-questions,.sid-dynamic-theme .sid-explore-services{margin:24px 0;padding:22px 26px;border:1px solid #e0e8e5;border-radius:18px;background:#fff}

/* v1.1.91: insufficient evidence uses the default green operational presentation. */
