:root {
  color-scheme: dark;
  --bg: #050712;
  --bg-deep: #02040c;
  --surface: #090d1c;
  --surface-raised: #0c1122;
  --surface-soft: #10152a;
  --surface-hover: #11182e;
  --border: #252c42;
  --border-soft: rgba(139, 151, 185, 0.18);
  --text: #f5f4ff;
  --text-soft: #a1abc3;
  --text-muted: #76819b;
  --purple: #805dff;
  --purple-strong: #6f49ff;
  --purple-soft: #b49eff;
  --cyan: #31d7f3;
  --green: #32e69a;
  --green-soft: #0b8f5f;
  --amber: #f4b64b;
  --orange: #ff7b45;
  --red: #ff5f68;
  --blue: #56b9ff;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  --container: 1120px;
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 7% 4%, rgba(114, 71, 255, 0.12), transparent 30rem),
    radial-gradient(circle at 93% 6%, rgba(20, 196, 231, 0.09), transparent 28rem),
    linear-gradient(180deg, #060817 0%, #050712 46%, #03050d 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.013) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.013) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 55%);
}

button,
input,
select {
  font: inherit;
}

button,
a,
summary,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

svg {
  display: block;
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 12px;
  transform: translateY(-150%);
  border: 1px solid var(--purple-soft);
  border-radius: 9px;
  background: #10162b;
  padding: 10px 14px;
  color: white;
  font-weight: 750;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.top-accent {
  position: fixed;
  z-index: 110;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), #765cff 47%, var(--cyan));
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(138, 151, 190, 0.14);
  background: rgba(5, 7, 18, 0.88);
  backdrop-filter: blur(18px) saturate(145%);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  gap: 26px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand {
  gap: 12px;
  justify-self: start;
}

.brand-mark-wrap {
  display: grid;
  width: 46px;
  height: 54px;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark {
  width: 44px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(36, 213, 244, .18));
}

.brand-copy {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 16px;
  letter-spacing: -0.025em;
}

.brand-copy strong {
  font-weight: 780;
}

.brand-copy span {
  color: var(--text-soft);
  font-weight: 650;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.header-nav a {
  position: relative;
  border-radius: 11px;
  padding: 10px 13px;
  color: #9ba5be;
  font-size: 14px;
  font-weight: 720;
  transition: color 180ms ease, background 180ms ease;
}

.header-nav a:hover {
  background: rgba(128, 93, 255, 0.09);
  color: white;
}

.header-nav a[aria-current="page"] {
  background: rgba(128, 93, 255, 0.12);
  color: white;
}

.header-nav a[aria-current="page"]::after {
  position: absolute;
  right: 12px;
  bottom: 4px;
  left: 12px;
  height: 1px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--purple), var(--cyan));
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 760;
  letter-spacing: -0.015em;
  transition: transform 160ms var(--ease), border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0) scale(0.985);
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.button-primary {
  border-color: rgba(196, 179, 255, 0.45);
  background: linear-gradient(135deg, #8b6cff, #6842f2);
  box-shadow: 0 12px 30px rgba(106, 72, 245, 0.24), inset 0 1px rgba(255,255,255,.18);
  color: white;
}

.button-primary:hover {
  border-color: rgba(218, 208, 255, 0.75);
  background: linear-gradient(135deg, #987cff, #7652fa);
  box-shadow: 0 16px 36px rgba(106, 72, 245, 0.34), 0 0 26px rgba(128, 93, 255, .14);
}

.button-secondary {
  border-color: var(--border);
  background: rgba(12, 17, 34, 0.78);
  color: #e8e9f4;
}

.button-secondary:hover {
  border-color: rgba(106, 216, 243, 0.45);
  background: #11182b;
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
}

.header-subscribe {
  justify-self: end;
}

.header-subscribe svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
}

.mobile-menu-button,
.mobile-navigation {
  display: none;
}

.hero,
.history-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(139, 151, 185, 0.14);
  background:
    radial-gradient(circle at 28% 30%, rgba(115, 67, 255, 0.16), transparent 34rem),
    radial-gradient(circle at 82% 34%, rgba(24, 206, 236, 0.10), transparent 32rem),
    linear-gradient(180deg, rgba(9, 12, 27, 0.8), rgba(4, 7, 17, 0.25));
}

.hero::after,
.history-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.018), transparent);
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-block: 84px 62px;
}

.history-hero .container {
  position: relative;
  z-index: 1;
  padding-block: 82px 72px;
}

.hero-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--purple-soft);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.055em;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(54px, 7vw, 82px);
  line-height: .98;
  font-weight: 850;
}

.history-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(52px, 6vw, 76px);
}

.hero-intro {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.7;
}

.last-checked {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: rgba(8, 12, 25, .66);
  padding: 9px 13px;
  color: #b7c0d3;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(50, 230, 154, .09), 0 0 14px rgba(50, 230, 154, .5);
}

.overall-banner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid rgba(62, 230, 160, .34);
  border-radius: var(--radius-lg);
  background: linear-gradient(115deg, rgba(14, 61, 48, .7), rgba(8, 21, 31, .86));
  padding: 26px 28px;
  box-shadow: 0 18px 50px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.02);
}

.overall-banner::after {
  position: absolute;
  top: -90px;
  right: 8%;
  width: 240px;
  height: 240px;
  border: 26px solid rgba(255,255,255,.025);
  border-radius: 50%;
  content: "";
}

.overall-banner.state-degraded,
.overall-banner.state-monitoring {
  border-color: rgba(244, 182, 75, .38);
  background: linear-gradient(115deg, rgba(76, 53, 13, .64), rgba(10, 18, 29, .88));
}

.overall-banner.state-partial_disruption {
  border-color: rgba(255, 123, 69, .44);
  background: linear-gradient(115deg, rgba(82, 40, 17, .66), rgba(12, 17, 27, .9));
}

.overall-banner.state-major_disruption,
.overall-banner.state-emergency_maintenance {
  border-color: rgba(255, 95, 104, .5);
  background: linear-gradient(115deg, rgba(82, 26, 35, .7), rgba(13, 15, 25, .9));
}

.overall-banner.state-scheduled_maintenance {
  border-color: rgba(86, 185, 255, .46);
  background: linear-gradient(115deg, rgba(17, 51, 82, .68), rgba(9, 17, 28, .9));
}

.overall-icon,
.confirmation-icon {
  display: grid;
  place-items: center;
  border-radius: 15px;
}

.overall-icon {
  width: 58px;
  height: 58px;
  border: 1px solid currentColor;
  color: var(--green);
  background: rgba(50, 230, 154, .07);
}

.overall-icon svg {
  width: 29px;
  height: 29px;
  stroke-width: 1.65;
}

.state-degraded .overall-icon,
.state-monitoring .overall-icon { color: var(--amber); background: rgba(244,182,75,.08); }
.state-partial_disruption .overall-icon { color: var(--orange); background: rgba(255,123,69,.08); }
.state-major_disruption .overall-icon,
.state-emergency_maintenance .overall-icon { color: var(--red); background: rgba(255,95,104,.08); }
.state-scheduled_maintenance .overall-icon { color: var(--blue); background: rgba(86,185,255,.08); }

.overall-copy {
  min-width: 0;
}

.overall-copy > strong {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(23px, 3vw, 28px);
  letter-spacing: -0.035em;
}

.overall-copy > p {
  max-width: 760px;
  margin-bottom: 0;
  color: #b7c0d3;
}

.overall-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.overall-details div {
  display: grid;
  gap: 3px;
}

.overall-details span {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.overall-details strong {
  color: #dce1ee;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.overall-actions {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.overall-state-badge,
.phase-badge,
.impact-badge,
.event-type,
.service-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.overall-state-badge {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--green);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.state-degraded .overall-state-badge,
.state-monitoring .overall-state-badge { color: var(--amber); }
.state-partial_disruption .overall-state-badge { color: var(--orange); }
.state-major_disruption .overall-state-badge,
.state-emergency_maintenance .overall-state-badge { color: var(--red); }
.state-scheduled_maintenance .overall-state-badge { color: var(--blue); }

.fallback-notice,
.preview-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  border: 1px solid rgba(244, 182, 75, .26);
  border-radius: 11px;
  background: rgba(76, 53, 13, .28);
  padding: 10px 13px;
  color: #d9c69b;
  font-size: 12px;
}

.fallback-notice svg {
  width: 17px;
  height: 17px;
  color: var(--amber);
}

.preview-notice {
  border-color: rgba(86, 185, 255, .25);
  background: rgba(24, 62, 93, .28);
  color: #bedcf2;
}

.live-operations-section,
.history-section-current,
.subscribe-cta,
.archive-section {
  padding-block: 76px;
}

.live-operations-section {
  padding-bottom: 62px;
}

.history-section-current {
  border-top: 1px solid rgba(139,151,185,.09);
  padding-top: 68px;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.section-title-row h2 {
  margin-bottom: 7px;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.05;
  font-weight: 830;
}

.section-title-row p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 16px;
}

.text-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  color: var(--purple-soft);
  font-size: 14px;
  font-weight: 760;
  transition: color 160ms ease, transform 160ms ease;
}

.text-link:hover {
  transform: translateX(2px);
  color: white;
}

.no-active-state {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(12,17,34,.9), rgba(7,11,23,.92));
  padding: 25px 28px;
}

.confirmation-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(50,230,154,.32);
  background: rgba(50,230,154,.07);
  color: var(--green);
}

.confirmation-icon svg {
  width: 24px;
  height: 24px;
}

.no-active-state h3 {
  margin-bottom: 3px;
  font-size: 18px;
  letter-spacing: -.025em;
}

.no-active-state p {
  margin-bottom: 4px;
  color: var(--text-soft);
  font-size: 14px;
}

.no-active-state small {
  color: var(--text-muted);
  font-size: 11px;
}

.next-maintenance {
  display: grid;
  gap: 2px;
  min-width: 210px;
  border-left: 1px solid var(--border);
  padding-left: 20px;
}

.next-maintenance span {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.next-maintenance strong {
  font-size: 13px;
}

.next-maintenance time {
  color: var(--text-soft);
  font-size: 12px;
}

.live-event-stack {
  display: grid;
  gap: 22px;
}

.live-event-card {
  overflow: hidden;
  border: 1px solid rgba(255,123,69,.36);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(24,18,27,.96), rgba(7,11,23,.98) 48%);
  box-shadow: var(--shadow);
}

.live-event-card.impact-degraded { border-color: rgba(244,182,75,.36); }
.live-event-card.impact-major_outage,
.live-event-card.impact-critical_outage { border-color: rgba(255,95,104,.42); }
.live-event-card.impact-maintenance { border-color: rgba(86,185,255,.4); }

.live-event-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px 22px;
  border-bottom: 1px solid var(--border-soft);
}

.event-type {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.live-event-header h3 {
  margin-bottom: 12px;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.08;
}

.event-badges,
.record-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.phase-badge,
.impact-badge {
  min-height: 28px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(16,21,42,.82);
  padding: 5px 9px;
  color: #d7dbe8;
  font-size: 11px;
  font-weight: 800;
}

.phase-investigating,
.impact-partial_outage { border-color: rgba(255,123,69,.38); color: #ffb28f; background: rgba(255,123,69,.08); }
.phase-identified,
.phase-fix_in_progress,
.impact-degraded { border-color: rgba(244,182,75,.36); color: #f5ca7b; background: rgba(244,182,75,.08); }
.phase-monitoring,
.phase-resolved { border-color: rgba(50,230,154,.32); color: #6df0b2; background: rgba(50,230,154,.08); }
.impact-major_outage,
.impact-critical_outage { border-color: rgba(255,95,104,.4); color: #ff9fa6; background: rgba(255,95,104,.08); }
.impact-maintenance,
.phase-maintenance,
.phase-scheduled { border-color: rgba(86,185,255,.38); color: #93d0ff; background: rgba(86,185,255,.08); }

.compact-button {
  min-height: 39px;
  padding: 8px 12px;
  font-size: 12px;
}

.event-metadata {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0 30px;
  border-bottom: 1px solid var(--border-soft);
}

.event-metadata > div {
  display: grid;
  gap: 4px;
  padding: 19px 16px 19px 0;
}

.event-metadata > div + div {
  border-left: 1px solid var(--border-soft);
  padding-left: 18px;
}

.event-metadata dt,
.record-facts dt {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.event-metadata dd,
.record-facts dd {
  margin: 0;
  color: #e4e7f1;
  font-size: 13px;
  font-weight: 650;
}

.event-detail-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 18px;
  padding: 24px 30px;
  border-bottom: 1px solid var(--border-soft);
}

.event-detail-grid section,
.record-summary-grid section {
  border: 1px solid var(--border-soft);
  border-radius: 13px;
  background: rgba(5,9,20,.55);
  padding: 18px;
}

.event-detail-grid h4,
.timeline-heading h4,
.record-summary-grid h4 {
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: -.015em;
}

.event-detail-grid p,
.record-summary-grid p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.65;
}

.affected-service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.affected-service-list span {
  border: 1px solid rgba(128,93,255,.26);
  border-radius: 8px;
  background: rgba(128,93,255,.08);
  padding: 6px 8px;
  color: #d7ceff;
  font-size: 11px;
  font-weight: 700;
}

.muted {
  color: var(--text-muted);
  font-size: 13px;
}

.timeline-section {
  padding: 25px 30px 30px;
}

.timeline-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.timeline-heading h4 {
  margin-bottom: 0;
  font-size: 15px;
}

.timeline-heading span,
.timeline-heading a {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}

.timeline-heading a:hover {
  color: var(--purple-soft);
}

.engineer-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-entry {
  display: grid;
  grid-template-columns: 100px 22px minmax(0, 1fr);
  min-height: 96px;
}

.timeline-time {
  padding-top: 2px;
  color: #bac3d6;
  font-size: 12px;
  font-weight: 720;
}

.timeline-rail {
  position: relative;
  display: flex;
  justify-content: center;
}

.timeline-rail::after {
  position: absolute;
  top: 17px;
  bottom: -2px;
  width: 1px;
  content: "";
  background: linear-gradient(var(--border), rgba(37,44,66,.22));
}

.timeline-entry:last-child .timeline-rail::after {
  display: none;
}

.timeline-rail span {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border: 2px solid #0b0f20;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,123,69,.16);
}

.phase-identified .timeline-rail span,
.phase-fix_in_progress .timeline-rail span { background: var(--amber); box-shadow: 0 0 0 3px rgba(244,182,75,.15); }
.phase-monitoring .timeline-rail span,
.phase-resolved .timeline-rail span { background: var(--green); box-shadow: 0 0 0 3px rgba(50,230,154,.15); }
.phase-maintenance .timeline-rail span,
.phase-scheduled .timeline-rail span { background: var(--blue); box-shadow: 0 0 0 3px rgba(86,185,255,.15); }

.timeline-content {
  padding: 0 0 22px 14px;
}

.timeline-content strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}

.timeline-content p {
  max-width: 790px;
  margin-bottom: 6px;
  color: #b5bfd3;
  font-size: 13px;
  line-height: 1.65;
}

.timeline-content small {
  display: block;
  color: var(--text-muted);
  font-size: 11px;
}

.timeline-empty {
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 20px;
  color: var(--text-muted);
  text-align: center;
  font-size: 13px;
}

.service-history-groups {
  display: grid;
  gap: 14px;
}

.service-history-group {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(8,12,25,.84);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease);
}

.service-history-group:hover {
  border-color: rgba(49,215,243,.25);
  box-shadow: 0 16px 38px rgba(0,0,0,.18), 0 0 26px rgba(49,215,243,.04);
}

.service-history-group summary {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto auto;
  align-items: center;
  gap: 15px;
  min-height: 82px;
  padding: 17px 20px;
  cursor: pointer;
  list-style: none;
}

.service-history-group summary::-webkit-details-marker,
.history-record summary::-webkit-details-marker,
.subscription-group summary::-webkit-details-marker {
  display: none;
}

.group-chevron {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text-soft);
  font-size: 18px;
  transition: transform 180ms var(--ease);
}

.service-history-group[open] .group-chevron {
  transform: rotate(180deg);
}

.group-summary-copy {
  display: grid;
  gap: 3px;
}

.group-summary-copy strong {
  font-size: 15px;
  letter-spacing: -.02em;
}

.group-summary-copy small {
  color: var(--text-muted);
  font-size: 12px;
}

.group-count {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}

.service-status {
  gap: 7px;
  border: 1px solid rgba(50,230,154,.26);
  border-radius: 999px;
  background: rgba(50,230,154,.07);
  padding: 6px 9px;
  color: #63ecae;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.service-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
}

.service-status.status-degraded { border-color: rgba(244,182,75,.3); background: rgba(244,182,75,.07); color: #f3c66f; }
.service-status.status-partial_outage { border-color: rgba(255,123,69,.32); background: rgba(255,123,69,.07); color: #ffa178; }
.service-status.status-major_outage { border-color: rgba(255,95,104,.34); background: rgba(255,95,104,.07); color: #ff9198; }
.service-status.status-maintenance { border-color: rgba(86,185,255,.32); background: rgba(86,185,255,.07); color: #8acbfb; }

.group-history-rows {
  border-top: 1px solid var(--border-soft);
}

.service-history-row {
  padding: 23px 24px 20px;
}

.service-history-row + .service-history-row {
  border-top: 1px solid var(--border-soft);
}

.service-history-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  margin-bottom: 17px;
}

.service-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(128,93,255,.32);
  border-radius: 11px;
  background: rgba(128,93,255,.10);
  color: #b7a6ff;
}

.service-icon svg {
  width: 20px;
  height: 20px;
}

.service-history-heading h4 {
  margin-bottom: 2px;
  font-size: 14px;
  letter-spacing: -.02em;
}

.service-history-heading p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 11px;
}

.history-strip-wrap {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #303850 transparent;
}

.history-strip {
  display: grid;
  grid-template-columns: repeat(90, minmax(5px, 1fr));
  min-width: 720px;
  height: 30px;
  gap: 3px;
}

.history-day {
  display: block;
  border-radius: 3px;
  background: var(--green-soft);
  transition: transform 140ms ease, filter 140ms ease;
}

.history-day:hover {
  z-index: 1;
  transform: scaleY(1.18);
  filter: brightness(1.2);
}

.history-day.day-operational { background: #22b977; }
.history-day.day-degraded { background: var(--amber); }
.history-day.day-partial_outage { background: var(--orange); }
.history-day.day-major_outage { background: var(--red); }
.history-day.day-maintenance { background: #61728f; }

.history-axis {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 10px;
}

.history-axis strong {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b5bed0;
  font-weight: 760;
}

.history-axis strong::before,
.history-axis strong::after {
  width: 75px;
  height: 1px;
  content: "";
  background: var(--border);
}

.history-axis span:last-child {
  text-align: right;
}

.history-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px 20px;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
}

.history-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend-swatch {
  width: 8px;
  height: 8px;
  border-radius: 3px;
}

.legend-swatch.operational { background: #22b977; }
.legend-swatch.degraded { background: var(--amber); }
.legend-swatch.partial { background: var(--orange); }
.legend-swatch.major { background: var(--red); }
.legend-swatch.maintenance { background: #61728f; }

.subscribe-cta {
  padding-top: 64px;
  padding-bottom: 82px;
}

.subscribe-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  border: 1px solid rgba(128,93,255,.42);
  border-radius: var(--radius-lg);
  background: linear-gradient(125deg, rgba(31,29,74,.92), rgba(11,27,48,.9));
  padding: 31px 36px;
  box-shadow: 0 25px 65px rgba(0,0,0,.28);
}

.subscribe-glow {
  position: absolute;
  right: 4%;
  bottom: -120px;
  width: 300px;
  height: 250px;
  border-radius: 50%;
  background: rgba(128,93,255,.16);
  filter: blur(60px);
}

.subscribe-icon {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(160,137,255,.38);
  border-radius: 16px;
  background: rgba(128,93,255,.12);
  color: #b8a7ff;
}

.subscribe-icon svg {
  width: 29px;
  height: 29px;
}

.subscribe-copy {
  position: relative;
}

.subscribe-copy .eyebrow {
  margin-bottom: 7px;
  color: #adb5ca;
}

.subscribe-copy h2 {
  margin-bottom: 5px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.05;
}

.subscribe-copy p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--text-soft);
}

.subscribe-action {
  z-index: 2;
  white-space: nowrap;
}

.subscribe-button-glow {
  position: absolute;
  right: 45px;
  width: 170px;
  height: 80px;
  border-radius: 50%;
  background: rgba(128,93,255,.34);
  filter: blur(30px);
  animation: subscribe-pulse 3.8s ease-in-out infinite;
}

@keyframes subscribe-pulse {
  0%, 100% { transform: scale(.85); opacity: .52; }
  50% { transform: scale(1.1); opacity: .8; }
}

.hero-route-link {
  margin-top: 28px;
}

.archive-section {
  min-height: 620px;
}

.history-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(5, minmax(130px, .72fr)) auto;
  align-items: end;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(9,13,28,.86);
  padding: 15px;
}

.history-toolbar label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.history-toolbar label > span:first-child,
.email-field > span,
.subscription-fieldset legend {
  color: #b7c0d3;
  font-size: 10px;
  font-weight: 800;
}

.history-toolbar input,
.history-toolbar select,
.email-field input {
  width: 100%;
  min-height: 43px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #070b18;
  padding: 9px 11px;
  color: #e6e9f2;
  font-size: 12px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.history-toolbar input:focus,
.history-toolbar select:focus,
.email-field input:focus {
  border-color: rgba(49,215,243,.55);
  box-shadow: 0 0 0 3px rgba(49,215,243,.08);
}

.input-with-icon {
  position: relative;
}

.input-with-icon svg {
  position: absolute;
  top: 50%;
  left: 11px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.input-with-icon input {
  padding-left: 36px;
}

.history-reset {
  min-height: 43px;
  padding-inline: 13px;
  font-size: 12px;
}

.history-results-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 15px 2px 12px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}

.history-results {
  display: grid;
  gap: 14px;
}

.history-record {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(9,13,28,.88);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.history-record:hover,
.history-record[open] {
  border-color: rgba(128,93,255,.34);
  box-shadow: 0 16px 42px rgba(0,0,0,.18);
}

.history-record summary {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 17px 28px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
}

.record-main h3 {
  margin-bottom: 5px;
  font-size: 20px;
  letter-spacing: -.035em;
}

.record-main p {
  max-width: 730px;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 13px;
}

.record-status {
  align-content: start;
  justify-content: end;
}

.record-facts {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: .65fr .65fr 2fr;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--border-soft);
  padding-top: 15px;
}

.record-facts > div {
  display: grid;
  gap: 2px;
}

.record-facts > div + div {
  border-left: 1px solid var(--border-soft);
  padding-left: 17px;
}

.record-expand {
  grid-column: 1 / -1;
  color: var(--purple-soft);
  font-size: 11px;
  font-weight: 760;
}

.record-expand b {
  display: inline-block;
  margin-left: 4px;
  transition: transform 180ms ease;
}

.history-record[open] .record-expand b {
  transform: rotate(180deg);
}

.record-expanded {
  border-top: 1px solid var(--border-soft);
  padding: 24px;
}

.record-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.record-direct-link {
  color: var(--purple-soft) !important;
}

.archive-empty {
  display: grid;
  min-height: 265px;
  place-items: center;
  align-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(9,13,28,.8);
  padding: 38px;
  text-align: center;
}

.archive-empty > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid rgba(50,230,154,.3);
  border-radius: 14px;
  background: rgba(50,230,154,.07);
  color: var(--green);
}

.archive-empty:not(.reliable) > span {
  border-color: rgba(244,182,75,.3);
  background: rgba(244,182,75,.07);
  color: var(--amber);
}

.archive-empty h3 {
  margin-bottom: 6px;
  font-size: 18px;
  letter-spacing: -.025em;
}

.archive-empty p {
  margin-bottom: 7px;
  color: var(--text-soft);
}

.archive-empty small {
  max-width: 550px;
  color: var(--text-muted);
}

.archive-empty .button {
  margin-top: 16px;
}

.history-pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 20px;
}

.history-pagination button {
  min-width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #090d1c;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}

.history-pagination button:hover:not(:disabled),
.history-pagination button[aria-current="page"] {
  border-color: rgba(128,93,255,.48);
  background: rgba(128,93,255,.13);
  color: white;
}

.history-pagination button:disabled {
  cursor: default;
  opacity: .42;
}

.site-footer {
  border-top: 1px solid rgba(139,151,185,.16);
  background: rgba(3,5,13,.72);
  padding-block: 30px 24px;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 22px;
}

.footer-brand {
  gap: 11px;
}

.footer-brand img {
  width: 34px;
  height: 43px;
  object-fit: contain;
}

.footer-brand span {
  display: grid;
  gap: 2px;
}

.footer-brand strong {
  font-size: 13px;
}

.footer-brand small {
  color: var(--text-muted);
  font-size: 10px;
}

.footer-main nav {
  display: flex;
  gap: 24px;
}

.footer-main nav a {
  color: #aab3c7;
  font-size: 11px;
  font-weight: 720;
}

.footer-main nav a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border-soft);
  padding-top: 17px;
  color: #69738c;
  font-size: 10px;
}

.subscribe-modal {
  width: min(calc(100% - 30px), 780px);
  max-height: min(90vh, 820px);
  overflow: hidden;
  border: 1px solid rgba(128,93,255,.38);
  border-radius: var(--radius-lg);
  background: #080c1a;
  color: var(--text);
  padding: 0;
  box-shadow: 0 35px 100px rgba(0,0,0,.62);
}

.subscribe-modal::backdrop {
  background: rgba(1,3,9,.78);
  backdrop-filter: blur(7px);
}

.modal-shell {
  display: flex;
  max-height: min(90vh, 820px);
  flex-direction: column;
}

.modal-header,
.modal-footer {
  flex: 0 0 auto;
  border-color: var(--border-soft);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(120deg, rgba(128,93,255,.12), rgba(49,215,243,.04));
  padding: 23px 25px;
}

.modal-header h2 {
  margin-bottom: 4px;
  font-size: 30px;
}

.modal-header p:last-child {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 13px;
}

.modal-close {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(8,12,25,.65);
  color: var(--text-soft);
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.modal-close:hover {
  border-color: rgba(49,215,243,.4);
  color: white;
}

.modal-body {
  overflow-y: auto;
  padding: 23px 25px;
}

.email-field {
  display: grid;
  gap: 7px;
}

.email-field input {
  min-height: 48px;
  font-size: 14px;
}

.form-error {
  margin: 6px 0 0;
  color: #ff9ca4;
  font-size: 11px;
  font-weight: 700;
}

.subscription-fieldset {
  margin: 22px 0 0;
  border: 0;
  padding: 0;
}

.subscription-fieldset legend {
  padding: 0;
  font-size: 13px;
}

.subscription-fieldset > p {
  margin: 2px 0 12px;
  color: var(--text-muted);
  font-size: 11px;
}

.notification-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.select-card,
.service-select {
  position: relative;
  display: flex;
  cursor: pointer;
}

.select-card input,
.service-select input,
.group-select input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.select-card > span {
  display: grid;
  width: 100%;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #070b18;
  padding: 12px;
  transition: border-color 160ms ease, background 160ms ease;
}

.select-card strong {
  font-size: 12px;
}

.select-card small {
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1.45;
}

.select-card input:checked + span {
  border-color: rgba(128,93,255,.52);
  background: rgba(128,93,255,.1);
}

.select-card input:focus-visible + span,
.service-select input:focus-visible + span,
.group-select input:focus-visible + span {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.subscription-service-groups {
  display: grid;
  gap: 8px;
}

.subscription-group {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #070b18;
}

.subscription-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  cursor: pointer;
  list-style: none;
  padding: 12px 13px;
}

.group-select {
  position: relative;
  display: flex;
  cursor: pointer;
}

.group-select span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 760;
}

.group-select span::before {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 5px;
  content: "";
  background: #050817;
  color: white;
  font-size: 11px;
}

.group-select input:checked + span::before {
  border-color: var(--purple);
  content: "✓";
  background: var(--purple-strong);
}

.subscription-group summary small {
  color: var(--text-muted);
  font-size: 10px;
}

.subscription-group > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  border-top: 1px solid var(--border-soft);
  padding: 10px;
}

.service-select > span {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 8px;
  color: var(--text-soft);
  font-size: 11px;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.service-select svg {
  width: 15px;
  height: 15px;
}

.service-select input:checked + span {
  border-color: rgba(128,93,255,.27);
  background: rgba(128,93,255,.08);
  color: white;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  border-top: 1px solid var(--border-soft);
  background: rgba(5,8,17,.88);
  padding: 16px 25px;
}

.toast-viewport {
  position: fixed;
  z-index: 500;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: min(390px, calc(100% - 36px));
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(50,230,154,.38);
  border-radius: 13px;
  background: rgba(8,18,20,.96);
  padding: 13px;
  box-shadow: 0 20px 55px rgba(0,0,0,.5);
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 220ms ease, transform 220ms var(--ease);
  animation: toast-in 230ms var(--ease) both;
}

.toast.is-error {
  border-color: rgba(255,95,104,.42);
  background: rgba(28,10,17,.97);
}

.toast.is-leaving {
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
}

.toast-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: rgba(50,230,154,.09);
  color: var(--green);
}

.toast.is-error .toast-icon {
  background: rgba(255,95,104,.09);
  color: var(--red);
}

.toast-icon svg {
  width: 18px;
  height: 18px;
}

.toast > div {
  display: grid;
  gap: 2px;
}

.toast strong {
  font-size: 12px;
}

.toast > div span {
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.45;
}

.toast button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 20px;
}

.toast button:hover {
  background: rgba(255,255,255,.06);
  color: white;
}

.loading-card {
  min-height: 140px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #090d1c;
}

.loading-card::after {
  display: block;
  width: 40%;
  height: 100%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.04), transparent);
  animation: loading 1.3s linear infinite;
}

@keyframes loading {
  from { transform: translateX(-130%); }
  to { transform: translateX(340%); }
}

@media (max-width: 1100px) {
  .history-toolbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .search-field {
    grid-column: span 2;
  }

  .history-reset {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 76px;
  }

  .header-nav,
  .header-subscribe {
    display: none;
  }

  .mobile-menu-button {
    display: grid;
    width: 42px;
    height: 42px;
    place-content: center;
    gap: 4px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #0a0e1d;
    cursor: pointer;
  }

  .mobile-menu-button span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #d8dce8;
  }

  .mobile-navigation {
    display: grid;
    gap: 5px;
    border-top: 1px solid var(--border-soft);
    background: rgba(5,7,18,.98);
    padding: 12px 24px 18px;
  }

  .mobile-navigation a {
    border-radius: 9px;
    padding: 10px;
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 700;
  }

  .mobile-navigation a[aria-current="page"] {
    background: rgba(128,93,255,.11);
    color: white;
  }

  .hero .container,
  .history-hero .container {
    padding-block: 68px 54px;
  }

  .hero-heading-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .last-checked {
    width: fit-content;
    margin-bottom: 0;
  }

  .overall-banner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .overall-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    justify-items: start;
  }

  .event-metadata {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .event-metadata > div:nth-child(3) {
    border-left: 0;
  }

  .event-metadata > div:nth-child(n+3) {
    border-top: 1px solid var(--border-soft);
  }

  .event-detail-grid {
    grid-template-columns: 1fr;
  }

  .no-active-state {
    grid-template-columns: auto 1fr;
  }

  .next-maintenance,
  .no-active-state > .text-link {
    grid-column: 2;
  }

  .next-maintenance {
    min-width: 0;
    border-left: 0;
    padding: 12px 0 0;
  }

  .subscribe-card {
    grid-template-columns: auto 1fr;
  }

  .subscribe-action,
  .subscribe-button-glow {
    grid-column: 2;
  }

  .subscribe-button-glow {
    right: auto;
    bottom: 16px;
  }

  .footer-main {
    align-items: flex-start;
  }

  .footer-main nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .brand-copy {
    font-size: 14px;
  }

  .brand-mark-wrap {
    width: 41px;
    height: 49px;
  }

  .brand-mark {
    width: 39px;
    height: 47px;
  }

  .hero .container,
  .history-hero .container {
    padding-block: 54px 42px;
  }

  h1 {
    font-size: clamp(46px, 14vw, 62px);
  }

  .hero-intro {
    font-size: 16px;
  }

  .overall-banner {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .overall-actions {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .overall-details {
    grid-template-columns: 1fr;
  }

  .live-operations-section,
  .history-section-current,
  .subscribe-cta,
  .archive-section {
    padding-block: 54px;
  }

  .section-title-row {
    display: grid;
    align-items: start;
    margin-bottom: 21px;
  }

  .section-title-row h2 {
    font-size: 36px;
  }

  .no-active-state {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .next-maintenance,
  .no-active-state > .text-link {
    grid-column: auto;
  }

  .live-event-header {
    display: grid;
    padding: 22px;
  }

  .compact-button {
    width: 100%;
  }

  .event-metadata {
    grid-template-columns: 1fr;
    padding-inline: 22px;
  }

  .event-metadata > div,
  .event-metadata > div + div {
    border-top: 1px solid var(--border-soft);
    border-left: 0;
    padding: 14px 0;
  }

  .event-metadata > div:first-child {
    border-top: 0;
  }

  .event-detail-grid,
  .timeline-section {
    padding-inline: 22px;
  }

  .timeline-entry {
    grid-template-columns: 72px 18px minmax(0,1fr);
  }

  .timeline-time {
    font-size: 10px;
  }

  .service-history-group summary {
    grid-template-columns: auto minmax(0,1fr) auto;
  }

  .group-count {
    display: none;
  }

  .service-history-group summary > .service-status {
    grid-column: 2 / -1;
  }

  .service-history-row {
    padding: 19px 17px;
  }

  .service-history-heading {
    grid-template-columns: auto 1fr;
  }

  .service-history-heading > .service-status {
    grid-column: 2;
  }

  .history-axis strong::before,
  .history-axis strong::after {
    display: none;
  }

  .subscribe-card {
    grid-template-columns: 1fr;
    padding: 26px 23px;
  }

  .subscribe-action,
  .subscribe-button-glow {
    grid-column: 1;
  }

  .subscribe-action {
    width: 100%;
  }

  .subscribe-button-glow {
    right: 10%;
    bottom: 5px;
  }

  .history-toolbar {
    grid-template-columns: 1fr;
  }

  .search-field {
    grid-column: auto;
  }

  .history-record summary {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .record-status {
    justify-content: start;
  }

  .record-facts {
    grid-template-columns: 1fr;
  }

  .record-facts > div,
  .record-facts > div + div {
    border-left: 0;
    padding: 8px 0;
  }

  .record-expanded {
    padding: 20px;
  }

  .record-summary-grid {
    grid-template-columns: 1fr;
  }

  .footer-main,
  .footer-bottom {
    display: grid;
  }

  .footer-main nav {
    justify-content: flex-start;
    gap: 14px 20px;
  }

  .notification-type-grid,
  .subscription-group > div {
    grid-template-columns: 1fr;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
