@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family:
    Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --wave-primary: #00263b;
  --wave-primary-dark: #001b2a;
  --wave-blue: #00498d;
  --wave-accent: #06e3a6;
  --wave-accent-soft: #dffbf3;
  --wave-cyan: #39ade9;
  --wave-lagoon: #edfefa;
  --theme-color-white: 255, 255, 255;
  --theme-color-primary: 0, 38, 59;
  --theme-color-secondary: 6, 227, 166;
  --theme-color-text: 23, 32, 42;
  --theme-color-text-light: 6, 227, 166;
  --bg: #f7fbfa;
  --surface: #ffffff;
  --surface-soft: #f6fbfa;
  --ink: #17202a;
  --muted: #6f767e;
  --line: #dce8e6;
  --green: #0f8a5f;
  --green-soft: #e4f6ee;
  --amber: #b66a00;
  --amber-soft: #fff2d9;
  --red: #b62020;
  --red-soft: #fde8e5;
  --unknown: #6f767e;
  --unknown-soft: #edf0f2;
  --shadow: 0 18px 44px rgba(0, 73, 141, 0.08);
  background: var(--bg);
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  min-height: 100%;
  margin: 0;
  background: #effaf8;
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  padding-bottom: 42px;
  overflow-x: hidden;
  background:
    linear-gradient(145deg, rgba(6, 227, 166, 0.11) 0, rgba(246, 255, 252, 0) 34vw),
    linear-gradient(180deg, #effaf8 0, #f6fffc 430px, #ffffff 100%);
}

body::before {
  position: fixed;
  z-index: 0;
  top: 118px;
  right: max(-270px, calc((100vw - 1540px) / 2 - 300px));
  width: min(900px, 58vw);
  height: min(900px, 58vw);
  pointer-events: none;
  background: url("/images/wave-logo.svg") center / contain no-repeat;
  content: "";
  opacity: 0.055;
}

body::after {
  content: none;
}

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

main.container-xl {
  position: relative;
  z-index: 1;
  width: min(1560px, calc(100% - clamp(28px, 5vw, 88px)));
  max-width: 1560px;
  margin: 0 auto;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  min-height: 78px;
  margin-top: 0;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0 0 22px 22px;
  background:
    linear-gradient(140deg, rgba(6, 227, 166, 0.2), transparent 38%),
    linear-gradient(135deg, #00263b 0%, #05334c 48%, #06486d 100%);
  box-shadow: 0 22px 46px rgba(0, 38, 59, 0.18);
}

.topbar--clean {
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  padding: 0;
}

.brand-logo {
  display: block;
  width: 118px;
  height: 48px;
  flex: 0 0 118px;
  padding: 0;
  border: 0;
  background-image: url("/images/waveGreen.svg");
  background-position: 0 50%;
  background-repeat: no-repeat;
  background-size: contain;
}

.brand > span:last-child {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  line-height: 1;
}

.brand strong {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(6, 227, 166, 0.36);
  border-radius: 999px;
  background: rgba(6, 227, 166, 0.12);
  color: var(--wave-accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.wave-push-toggle {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  padding: 0;
  border: 1px solid #d9e2e7;
  border-radius: 999px;
  background: #ffffff;
  color: var(--wave-primary);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease,
    opacity 0.16s ease;
}

.wave-push-toggle[hidden] {
  display: none;
}

.wave-push-toggle:focus-visible {
  border-color: rgba(0, 73, 141, 0.28);
  background: #f1f8ff;
  color: var(--wave-blue);
}

.wave-push-toggle:focus:not(:focus-visible) {
  outline: none;
}

.wave-push-toggle:focus-visible {
  outline: 3px solid rgba(6, 227, 166, 0.32);
  outline-offset: 2px;
}

.wave-push-toggle:disabled {
  cursor: default;
  opacity: 0.58;
}

.wave-push-toggle--active {
  border-color: rgba(6, 227, 166, 0.46);
  background: var(--wave-primary);
  color: var(--wave-accent);
}

.wave-push-toggle--partial {
  border-color: rgba(0, 73, 141, 0.26);
  background: #e7f4ff;
  color: var(--wave-primary);
}

.wave-push-toggle__icon {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

@media (hover: hover) and (pointer: fine) {
  .wave-push-toggle:hover {
    border-color: rgba(0, 73, 141, 0.28);
    background: #f1f8ff;
    color: var(--wave-blue);
  }

  .wave-push-toggle--active:hover {
    border-color: rgba(6, 227, 166, 0.5);
    background: var(--wave-primary);
    color: var(--wave-accent);
  }

  .wave-push-toggle--partial:hover {
    border-color: rgba(0, 73, 141, 0.3);
    background: #e7f4ff;
    color: var(--wave-primary);
  }
}

@media (hover: none), (pointer: coarse) {
  .wave-push-toggle {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .wave-push-toggle:active {
    border-color: rgba(0, 73, 141, 0.26);
    background: #edf7ff;
    color: var(--wave-primary);
  }

  .wave-push-toggle--active:active {
    border-color: rgba(6, 227, 166, 0.5);
    background: var(--wave-primary);
    color: var(--wave-accent);
  }
}

#footer.wave-status-footer {
  position: fixed;
  right: 0;
  bottom: 0 !important;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 42px;
  min-height: 42px;
  margin: 0;
  padding: 0 14px;
  line-height: 42px;
  background-color: rgba(255, 255, 255, 0.062745098);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

#footer .wave-status-footer__language {
  display: inline-flex;
  height: 42px;
  align-items: center;
  padding: 0;
  color: rgb(var(--theme-color-text));
  font-size: 14px;
  pointer-events: auto;
}

#footer #selectLanguage {
  display: inline-block;
}

#footer #selectLanguage.wave-language-form {
  margin-bottom: 0;
}

#footer #selectLanguage .wave-language-dropdown {
  display: inline-block;
}

#footer #selectLanguage .wave-language-toggle {
  position: relative;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 6px;
  padding: 0 22px 0 0;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgb(var(--theme-color-text)) !important;
  text-align: left;
}

#footer #selectLanguage .wave-language-toggle:hover,
#footer #selectLanguage .wave-language-toggle:focus,
#footer #selectLanguage .wave-language-toggle:active,
#footer #selectLanguage .wave-language-toggle.show {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgb(var(--theme-color-text-light)) !important;
}

#footer #selectLanguage .wave-language-toggle:hover::after,
#footer #selectLanguage .wave-language-toggle:focus::after,
#footer #selectLanguage .wave-language-toggle:active::after,
#footer #selectLanguage .wave-language-toggle.show::after {
  color: rgb(var(--theme-color-text)) !important;
}

#footer #selectLanguage .wave-language-toggle::after {
  position: absolute;
  top: 11px;
  right: 4px;
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

#footer #selectLanguage .wave-language-menu {
  top: auto !important;
  right: auto !important;
  bottom: 100% !important;
  left: 0 !important;
  min-width: 230px;
  margin-top: 0;
  margin-bottom: 10px;
  padding: 10px;
  border: none;
  border-radius: 15px;
  background: rgb(var(--theme-color-white));
  box-shadow: 0 0 32px 0 rgba(var(--theme-color-primary), 0.2);
  transform: none !important;
}

#footer #selectLanguage .wave-language-option {
  height: 40px;
  margin-top: 2px;
  padding: 8px 10px;
  border-radius: 10px;
  color: rgb(var(--theme-color-primary));
  line-height: 24px;
}

#footer #selectLanguage .wave-language-option:hover,
#footer #selectLanguage .wave-language-option:focus,
#footer #selectLanguage .wave-language-option:active,
#footer #selectLanguage .wave-language-option.active {
  border-radius: 20px !important;
  background: rgba(var(--theme-color-secondary), 0.12);
  color: rgb(var(--theme-color-primary));
}

#footer #selectLanguage .login-language-item {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  white-space: nowrap;
}

#footer #selectLanguage .login-language-item .Wave-Icons-Size-M {
  flex: 0 0 auto;
}

.Wave-Icons-Size-M {
  display: inline-block;
  width: 20px !important;
  min-width: 20px;
  height: 20px !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.Icons-fr,
.Icons-Fr,
.Icons-fr-FR {
  background-image: url("/images/flags/fr.svg");
}

.Icons-en,
.Icons-En,
.Icons-en-GB {
  background-image: url("/images/flags/uk.svg");
}

.Icons-en-US {
  background-image: url("/images/flags/32-united-states.svg");
}

.Icons-it,
.Icons-it-IT {
  background-image: url("/images/flags/it.svg");
}

.Icons-es,
.Icons-es-ES {
  background-image: url("/images/flags/spain.svg");
}

.Icons-pt,
.Icons-pt-PT {
  background-image: url("/images/flags/portugal.svg");
}

.Icons-nl,
.Icons-nl-NL {
  background-image: url("/images/flags/netherlands.svg");
}

.Icons-de,
.Icons-de-DE {
  background-image: url("/images/flags/germany.svg");
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  gap: clamp(30px, 5vw, 82px);
  align-items: stretch;
  padding: clamp(48px, 6vw, 88px) 0 clamp(34px, 4vw, 54px);
  border-bottom: 1px solid rgba(0, 73, 141, 0.14);
}

.home-hero__main {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.home-hero h1 {
  max-width: 980px;
  margin: 18px 0 12px;
  color: var(--wave-primary-dark);
  font-size: clamp(2.2rem, 3.4vw, 4.05rem);
  line-height: 1.08;
}

.home-hero p {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.home-hero__meta {
  display: grid;
  align-content: center;
  gap: 10px;
}

.home-hero__meta span {
  display: grid;
  gap: 5px;
  min-height: 68px;
  align-content: center;
  padding: 16px 18px;
  border-left: 3px solid var(--wave-accent);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 38px rgba(0, 73, 141, 0.06);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.home-hero__meta strong {
  color: var(--wave-primary-dark);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.home-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid rgba(0, 73, 141, 0.12);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 14px 34px rgba(0, 73, 141, 0.06);
}

.home-metrics article {
  min-height: 118px;
  padding: 18px 20px;
  background: var(--surface);
}

.home-metrics span,
.home-metrics small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.home-metrics strong {
  display: block;
  margin: 12px 0 7px;
  color: var(--wave-primary-dark);
  font-size: 1.8rem;
  line-height: 1;
}

.incident-banner {
  display: grid;
  gap: 1px;
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid rgba(182, 106, 0, 0.26);
  border-left: 4px solid #c87900;
  border-radius: 8px;
  background: rgba(182, 106, 0, 0.22);
  box-shadow: 0 18px 42px rgba(182, 106, 0, 0.08);
}

.incident-banner__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: #fff8ea;
}

.incident-banner__header span {
  color: var(--amber);
  font-size: 0.86rem;
  font-weight: 850;
}

.incident-banner__header a {
  color: var(--wave-primary);
  font-size: 0.78rem;
  font-weight: 850;
}

.incident-banner__items {
  display: grid;
  gap: 1px;
}

.incident-banner article {
  padding: 17px 18px;
  background: rgba(255, 255, 255, 0.94);
}

.incident-banner h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}

.incident-banner p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.incident-banner small {
  display: block;
  margin-top: 9px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 750;
}

.status-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: stretch;
  padding: 42px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--wave-accent);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.status-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.status-copy h1 {
  max-width: 760px;
  margin: 18px 0 14px;
  color: var(--wave-primary-dark);
  font-size: 2.45rem;
  line-height: 1.06;
}

.status-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.status-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.status-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.85rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.status-badge__dot {
  width: 7px;
  min-width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.status-badge--operational {
  border-color: rgba(15, 138, 95, 0.25);
  background: var(--green-soft);
  color: var(--green);
}

.status-badge--degraded {
  border-color: rgba(182, 106, 0, 0.24);
  background: var(--amber-soft);
  color: var(--amber);
}

.status-badge--maintenance {
  border-color: rgba(0, 73, 141, 0.22);
  background: #e7f4ff;
  color: var(--wave-primary);
}

.status-badge--outage {
  border-color: rgba(182, 32, 32, 0.24);
  background: var(--red-soft);
  color: var(--red);
}

.status-badge--unknown {
  border-color: rgba(111, 118, 126, 0.24);
  background: var(--unknown-soft);
  color: var(--unknown);
}

.signal-panel {
  display: flex;
  min-height: 252px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(3, 227, 166, 0.14), transparent 42%),
    var(--wave-primary);
  color: #f7fbff;
}

.signal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(247, 251, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-header strong {
  color: var(--wave-accent);
  font-size: 1.35rem;
}

.signal-summary {
  display: grid;
  gap: 10px;
}

.signal-summary span {
  display: grid;
  gap: 4px;
  min-height: 54px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 251, 255, 0.78);
  font-size: 0.82rem;
}

.signal-summary strong {
  color: #ffffff;
  font-size: 1.25rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0;
}

.metrics-grid--service {
  grid-template-columns: repeat(5, minmax(150px, 1fr));
}

.metric-card {
  min-height: 128px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.metric-card span,
.metric-card small {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.metric-card strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--wave-primary-dark);
  font-size: 2rem;
  line-height: 1;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 22px;
  align-items: start;
}

.section-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 36px rgba(0, 73, 141, 0.045);
}

.section-block--wide {
  overflow: hidden;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.section-heading--light {
  padding: 18px 20px;
}

.section-heading span {
  display: inline-flex;
  align-items: center;
  color: var(--wave-primary-dark);
  font-size: 1rem;
  font-weight: 850;
}

.section-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: right;
}

.empty-state {
  padding: 24px 22px;
  color: var(--muted);
}

.empty-state strong {
  display: block;
  margin-bottom: 6px;
  color: var(--wave-primary-dark);
}

.empty-state p {
  margin: 0;
  line-height: 1.55;
}

.empty-state--compact {
  padding: 18px 20px;
}

.empty-state--quiet {
  padding: 22px 20px;
}

.empty-state--quiet strong {
  margin: 0;
}

.service-list {
  display: grid;
}

.service-row {
  display: grid;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.service-row:last-child {
  border-bottom: 0;
}

.service-list--compact {
  background: var(--surface);
}

.system-status-panel {
  border-color: #d9e2e7;
  background: #ffffff;
}

.system-status-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid #edf1f4;
}

.system-status-heading h2 {
  margin: 0;
  color: #0f1720;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.3;
}

.system-status-heading span,
.system-status-heading p {
  margin: 0;
  color: #8a94a3;
  font-size: 0.88rem;
  line-height: 1.4;
}

.system-status-heading div {
  display: flex;
  align-items: baseline;
  gap: 18px;
  min-width: 0;
}

.system-status-heading .system-status-actions {
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: max-content;
}

.system-status-heading .system-status-actions p {
  text-align: right;
}

.history-period-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.history-period-button {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border: 1px solid #d9e2e7;
  border-radius: 999px;
  background: #ffffff;
  color: var(--wave-primary);
  font-size: 0;
  font-weight: 850;
  line-height: 1;
}

.history-period-icon {
  display: block;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.history-period-button--next .history-period-icon {
  transform: rotate(180deg);
}

button.history-period-button {
  padding: 0;
  cursor: pointer;
}

.history-period-button:hover {
  border-color: rgba(0, 73, 141, 0.22);
  background: var(--surface-soft);
  color: var(--wave-blue);
}

.history-period-button--disabled {
  opacity: 0.34;
  pointer-events: none;
}

button.history-period-button:disabled {
  cursor: default;
}

.history-period-label {
  white-space: nowrap;
}

.system-status-list {
  display: grid;
}

.system-status-row {
  display: grid;
  gap: 8px;
  padding: 15px 18px;
  border-bottom: 1px solid #edf1f4;
}

.system-status-row:last-child {
  border-bottom: 0;
}

.system-status-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.system-status-row-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: max-content;
}

.system-status-service {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.system-status-service:hover strong {
  color: var(--wave-primary);
}

.system-status-icon {
  display: inline-flex;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.system-status-icon--operational {
  background: #25c78f;
}

.system-status-icon--degraded {
  background: #f6b51e;
}

.system-status-icon--maintenance {
  background: var(--wave-blue);
}

.system-status-icon--outage {
  background: #ef6b5a;
}

.system-status-icon--unknown {
  background: #9aa5b1;
}

.system-status-copy {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.system-status-title {
  display: inline-flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.system-status-title-main {
  display: inline-flex;
  min-width: 0;
  align-items: baseline;
  gap: 12px;
}

.system-status-copy strong {
  color: #0f1720;
  font-size: 0.95rem;
  font-weight: 780;
  line-height: 1.3;
  white-space: nowrap;
}

.system-status-subtitle {
  color: #8a94a3;
  font-size: 0.78rem;
  line-height: 1.25;
  white-space: nowrap;
}

.system-status-copy small {
  color: #8a94a3;
  font-size: 0.82rem;
  line-height: 1.3;
  white-space: nowrap;
}

.system-status-uptime {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  min-width: max-content;
  color: #8a94a3;
  font-size: 0.86rem;
  line-height: 1.3;
}

.system-status-uptime strong {
  color: #697386;
  font-size: 0.88rem;
  font-weight: 650;
}

.system-status-bars {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  align-items: stretch;
  justify-content: stretch;
  gap: 4px;
  width: 100%;
  max-width: 420px;
  height: 18px;
  min-height: 18px;
  overflow: visible;
}

.system-status-bar {
  position: relative;
  display: block;
  width: 100%;
  height: 18px;
  min-width: 0;
  min-height: 18px;
  border-radius: 2px;
  box-shadow: none;
}

button.system-status-bar {
  padding: 0;
  border: 0;
  appearance: none;
  cursor: pointer;
}

button.system-status-bar:hover,
button.system-status-bar:focus-visible {
  outline: 2px solid rgba(0, 73, 141, 0.28);
  outline-offset: 2px;
}

.system-status-bar.history-bar--unknown {
  background: #e5ecef;
}

.system-status-bar.system-status-bar--future {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(130, 146, 156, 0.22) 0,
      rgba(130, 146, 156, 0.22) 2px,
      rgba(255, 255, 255, 0.6) 2px,
      rgba(255, 255, 255, 0.6) 6px
    ),
    #f4f7f8;
  box-shadow: inset 0 0 0 1px rgba(130, 146, 156, 0.16);
}

button.system-status-bar--future {
  cursor: default;
}

.system-status-bar--month-start::before {
  position: absolute;
  top: -5px;
  left: -2px;
  width: 2px;
  height: 28px;
  border-radius: 999px;
  background: rgba(15, 23, 32, 0.34);
  content: "";
}

.system-status-bar--now::after {
  position: absolute;
  top: -7px;
  left: var(--history-now-position, 50%);
  z-index: 2;
  width: 2px;
  height: 32px;
  border-radius: 999px;
  background: #00498d;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.88);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.service-row--compact {
  grid-template-columns: minmax(260px, 1fr) minmax(150px, auto) minmax(210px, 0.36fr);
  gap: clamp(18px, 2.6vw, 42px);
  align-items: center;
  min-height: 92px;
  padding: 20px 24px;
  border-left: 3px solid transparent;
}

.service-row--operational {
  border-left-color: rgba(6, 227, 166, 0.72);
}

.service-row--degraded {
  border-left-color: rgba(200, 121, 0, 0.72);
}

.service-row--maintenance {
  border-left-color: rgba(0, 73, 141, 0.72);
}

.service-row--outage {
  border-left-color: rgba(182, 32, 32, 0.72);
}

.service-row--compact:hover {
  background: rgba(237, 254, 250, 0.66);
}

.service-summary-link {
  display: block;
  align-items: flex-start;
  min-width: 0;
}

.service-summary-main {
  min-width: 0;
}

.service-summary-main h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}

.service-summary-main p {
  max-width: 780px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.service-summary-link:hover h3 {
  color: var(--wave-primary);
}

.service-summary-state {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.service-summary-state small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.service-row-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
  align-items: center;
}

.service-row-facts span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.service-row-facts strong {
  color: var(--wave-primary-dark);
  font-size: 0.96rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.service-row-facts small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.2;
}

.service-main {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.service-title-link {
  color: inherit;
}

.service-title-link:hover {
  color: var(--wave-primary);
}

.service-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
  min-width: max-content;
}

.service-detail-link,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--wave-primary);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-detail-link:hover,
.back-link:hover {
  border-color: rgba(0, 73, 141, 0.28);
  background: #f1f8ff;
}

.service-hero .back-link {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
}

.service-hero .back-link:hover {
  border-color: rgba(6, 227, 166, 0.42);
  background: rgba(6, 227, 166, 0.16);
  color: #ffffff;
}

.service-hero .status-meta span {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.74);
}

.service-main h3,
.timeline-title h3,
.maintenance-item h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}

.service-main p,
.timeline-item p,
.maintenance-item p,
.quiet-text {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.service-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.service-details span {
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.77rem;
}

.service-details strong {
  color: var(--wave-primary-dark);
  font-size: 0.95rem;
}

.history-bars {
  display: grid;
  grid-template-columns: repeat(14, minmax(10px, 1fr));
  gap: 4px;
  height: 36px;
}

.history-bar {
  min-width: 10px;
  border-radius: 5px;
}

.history-bar--unknown {
  background: #eaf0f2;
}

.history-bar--operational {
  background: var(--wave-accent);
}

.history-bar--degraded {
  background: #c87900;
}

.history-bar--maintenance {
  background: var(--wave-blue);
}

.history-bar--outage {
  background: var(--red);
}

.service-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
  margin-top: clamp(28px, 3.4vw, 50px);
  padding: clamp(34px, 4vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 22px;
  background:
    linear-gradient(140deg, rgba(6, 227, 166, 0.22), transparent 42%),
    linear-gradient(135deg, #00263b 0%, #033b5b 54%, #066192 100%);
  box-shadow: 0 24px 56px rgba(0, 38, 59, 0.22);
  color: #ffffff;
}

.service-hero::after {
  position: absolute;
  right: -160px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  background: url("/images/waveGreen.svg") center / contain no-repeat;
  content: "";
  opacity: 0.075;
}

.service-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.service-hero-copy .back-link {
  margin-bottom: 18px;
}

.service-hero h1 {
  max-width: 920px;
  margin: 18px 0 12px;
  color: #ffffff;
  font-size: clamp(2.2rem, 3.1vw, 3.65rem);
  line-height: 1.08;
}

.service-hero p {
  max-width: 860px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.02rem;
  line-height: 1.62;
}

.service-identity {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: stretch;
  gap: 10px;
}

.service-identity div {
  display: grid;
  align-content: center;
  gap: 7px;
  min-height: 94px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.service-identity span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 750;
}

.service-identity strong {
  color: #ffffff;
  font-size: 1.18rem;
  overflow-wrap: anywhere;
}

.content-layout--service {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
}

.service-history-panel {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 22px;
}

.service-history-section .system-status-heading {
  padding: 18px 20px 16px;
}

.service-history-bars {
  max-width: none;
  height: 34px;
  min-height: 34px;
}

.service-history-bars .system-status-bar {
  height: 34px;
  min-height: 34px;
}

.service-history-bars .system-status-bar--month-start::before {
  top: -6px;
  height: 46px;
}

.service-history-bars .system-status-bar--now::after {
  top: -8px;
  height: 50px;
}

.service-history-section[aria-busy="true"] .system-status-bar {
  opacity: 0.72;
}

.service-history-section[aria-busy="true"] button.system-status-bar {
  pointer-events: none;
}

.service-history-empty[hidden] {
  display: none;
}

.history-bars--large {
  height: 58px;
  gap: 6px;
}

.history-bars--large .history-bar {
  border-radius: 6px;
}

.history-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--muted);
  font-size: 0.8rem;
}

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

.history-legend .history-bar {
  display: inline-block;
  width: 26px;
  height: 10px;
  min-width: 26px;
}

.observation-list {
  display: grid;
}

.observation-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: start;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.observation-row:last-child {
  border-bottom: 0;
}

.observation-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.observation-main strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
}

.observation-main p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.observation-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.observation-meta span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.service-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.home-journal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.timeline--compact .timeline-item,
.service-context-grid .maintenance-item {
  padding: 17px 20px;
}

.home-journal-grid .timeline-item,
.home-journal-grid .maintenance-item {
  padding: 17px 20px;
}

.maintenance-list--compact .maintenance-item > span {
  width: 34px;
  height: 34px;
}

.side-column {
  display: grid;
  gap: 18px;
}

.region-list {
  display: grid;
}

.region-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.region-row:last-child {
  border-bottom: 0;
}

.region-row div {
  display: grid;
  gap: 4px;
}

.region-row small {
  color: var(--muted);
}

.sla-ring {
  display: grid;
  place-items: center;
  width: 156px;
  height: 156px;
  margin: 24px auto 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #ffffff 0 56%, transparent 57%),
    conic-gradient(var(--wave-accent) 0 0%, var(--line) 0% 100%);
}

.sla-ring span {
  color: var(--wave-primary);
  font-size: 1.55rem;
  font-weight: 850;
}

.quiet-text {
  padding: 0 22px 22px;
  text-align: center;
}

.timeline-section,
.maintenance-section {
  margin-top: 18px;
}

.timeline,
.maintenance-list {
  display: grid;
}

.timeline-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.timeline-item:last-child,
.maintenance-item:last-child {
  border-bottom: 0;
}

.timeline-marker {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--wave-accent);
  box-shadow: 0 0 0 5px rgba(3, 227, 166, 0.16);
}

.timeline-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.timeline-title span {
  min-width: max-content;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 750;
}

.timeline-item small,
.maintenance-item small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.maintenance-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.maintenance-item > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--wave-accent-soft);
  color: var(--wave-primary);
  font-weight: 850;
}

main > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 92px;
  color: var(--muted);
  font-size: 0.88rem;
}

main > footer a {
  color: var(--wave-primary);
  font-weight: 800;
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-content: center;
  text-align: center;
}

.error-page h1 {
  margin: 0 0 10px;
}

  .error-page p {
  margin: 0;
  color: var(--muted);
}

.admin-topbar {
  justify-content: space-between;
}

.admin-menu {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  margin-top: 18px;
  padding: 6px;
  overflow-x: auto;
  border: 1px solid rgba(0, 73, 141, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 32px rgba(0, 73, 141, 0.05);
}

.admin-menu__link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  white-space: nowrap;
}

.admin-menu__link:hover {
  border-color: rgba(0, 73, 141, 0.16);
  background: var(--surface-soft);
  color: var(--wave-primary);
}

.admin-menu__link--active {
  border-color: rgba(6, 227, 166, 0.34);
  background: var(--wave-primary);
  color: #ffffff;
}

.admin-menu__link--active:hover {
  border-color: rgba(6, 227, 166, 0.34);
  background: var(--wave-primary);
  color: #ffffff;
}

.admin-logout button,
.admin-row-actions button,
.admin-row-actions a,
.admin-secondary-button,
.admin-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(0, 73, 141, 0.16);
  border-radius: 8px;
  background: #ffffff;
  color: var(--wave-primary);
  font-size: 0.8rem;
  font-weight: 850;
}

.admin-logout {
  margin: 0;
}

.admin-logout button {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.admin-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 180px);
  padding: clamp(44px, 8vw, 96px) 0;
}

.admin-login__copy h1,
.admin-hero h1 {
  max-width: 820px;
  margin: 10px 0 12px;
  color: var(--wave-primary-dark);
  font-size: clamp(2.1rem, 3vw, 3.5rem);
  line-height: 1.08;
}

.admin-login__copy p,
.admin-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.admin-eyebrow {
  color: var(--wave-accent);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-hero {
  padding: clamp(36px, 5vw, 64px) 0 24px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.48fr) minmax(0, 0.52fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 46px;
}

.admin-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(0, 73, 141, 0.06);
}

.admin-card--compact {
  margin-top: 48px;
}

.admin-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-card-heading h2 {
  margin: 0;
  color: var(--wave-primary-dark);
  font-size: 1.1rem;
}

.admin-card-heading a,
.admin-card-heading span {
  color: var(--wave-primary);
  font-size: 0.8rem;
  font-weight: 850;
}

.admin-form {
  display: grid;
  gap: 15px;
}

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

.admin-field label,
.admin-check {
  color: var(--wave-primary-dark);
  font-size: 0.82rem;
  font-weight: 850;
}

.admin-field .form-control,
.admin-field .form-select {
  min-height: 42px;
  border-color: var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.9rem;
}

.admin-field textarea.form-control {
  min-height: 132px;
  resize: vertical;
}

.admin-grid {
  display: grid;
  gap: 14px;
}

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

.admin-check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.admin-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--wave-accent);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-primary-button {
  min-height: 40px;
  border-color: rgba(6, 227, 166, 0.34);
  background: var(--wave-primary);
  color: #ffffff;
}

.admin-secondary-button {
  min-height: 40px;
}

.admin-validation {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 750;
}

.admin-flash {
  margin-bottom: 16px;
  padding: 13px 15px;
  border: 1px solid rgba(15, 138, 95, 0.22);
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 850;
}

.admin-filter-form {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.admin-filter-statuses {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.admin-filter-statuses legend {
  margin: 0;
  color: var(--wave-primary-dark);
  font-size: 0.82rem;
  font-weight: 850;
}

.admin-filter-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-check--pill {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
}

.admin-check--pill input {
  width: 16px;
  height: 16px;
}

.admin-incident-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.admin-incident-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 17px;
  border-left: 3px solid var(--amber);
  background: #ffffff;
}

.admin-incident-row--resolved {
  border-left-color: var(--green);
}

.admin-incident-row--scheduled {
  border-left-color: var(--wave-blue);
}

.admin-incident-row--operational {
  border-left-color: var(--green);
}

.admin-incident-row--degraded {
  border-left-color: var(--amber);
}

.admin-incident-row--maintenance {
  border-left-color: var(--wave-blue);
}

.admin-incident-row--outage {
  border-left-color: var(--red);
}

.admin-incident-row--unknown {
  border-left-color: var(--unknown);
}

.admin-row-title {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-row-title h3 {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
}

.admin-row-title span {
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 850;
}

.admin-incident-row--resolved .admin-row-title span {
  color: var(--green);
}

.admin-incident-row--operational .admin-row-title span {
  color: var(--green);
}

.admin-incident-row--degraded .admin-row-title span {
  color: var(--amber);
}

.admin-incident-row--maintenance .admin-row-title span {
  color: var(--wave-blue);
}

.admin-incident-row--outage .admin-row-title span {
  color: var(--red);
}

.admin-incident-row--unknown .admin-row-title span {
  color: var(--unknown);
}

.admin-incident-row p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.admin-incident-row small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.76rem;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-row-actions form {
  margin: 0;
}

@media (max-width: 1200px) {
  .service-row--compact {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .metrics-grid--service {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 16px 14px;
  }

  .status-band,
  .home-hero,
  .service-hero,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .home-hero {
    gap: 18px;
    padding-top: 28px;
  }

  .home-hero__main {
    min-height: auto;
  }

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

  .home-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .status-copy h1,
  .home-hero h1 {
    font-size: 2.1rem;
  }

  .service-context-grid,
  .home-journal-grid,
  .admin-login,
  .admin-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body::before {
    top: 138px;
    right: -250px;
    width: 440px;
    height: 440px;
    opacity: 0.032;
  }

  main.container-xl {
    width: calc(100% - 52px);
  }

  .topbar {
    gap: 12px;
    border-radius: 0 0 18px 18px;
  }

  .admin-menu {
    display: flex;
    width: 100%;
  }

  .brand {
    width: 100%;
    justify-content: space-between;
  }

  .brand-logo {
    width: 104px;
    height: 42px;
    flex-basis: 104px;
  }

  .status-band {
    padding: 24px;
  }

  .service-hero {
    padding: 28px 22px;
  }

  .service-row--compact {
    padding: 18px 20px;
  }

  .system-status-heading,
  .system-status-row-header,
  .system-status-copy {
    align-items: flex-start;
    flex-direction: column;
  }

  .system-status-heading div,
  .system-status-service {
    align-items: flex-start;
  }

  .system-status-heading .system-status-actions,
  .system-status-row-actions {
    align-items: center;
    justify-content: flex-start;
  }

  .system-status-heading div {
    flex-direction: column;
    gap: 4px;
  }

  .system-status-heading .system-status-actions {
    flex-direction: row;
    gap: 10px;
  }

  .system-status-copy {
    gap: 3px;
  }

  .system-status-title-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .system-status-uptime {
    justify-content: flex-start;
  }

  .system-status-bars {
    gap: 2px;
    min-width: 0;
  }

  .service-history-panel {
    overflow: hidden;
    padding: 18px 20px;
  }

  .service-row-facts {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-row-facts span {
    padding-top: 10px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .home-hero {
    padding: 22px 0 24px;
  }

  .status-copy h1,
  .home-hero h1 {
    font-size: 1.75rem;
  }

  .home-metrics,
  .metrics-grid,
  .service-details {
    grid-template-columns: 1fr;
  }

  .metrics-grid--service,
  .observation-row {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .service-main,
  .service-summary-link,
  .timeline-title,
  .incident-banner__header,
  main > footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading p {
    text-align: left;
  }

  .service-actions,
  .service-summary-state,
  .observation-meta,
  .admin-row-actions {
    align-items: flex-start;
    justify-content: flex-start;
    justify-items: start;
    min-width: 0;
  }

  .admin-grid--two,
  .admin-incident-row {
    grid-template-columns: 1fr;
  }
}
