/* StreamSuites Public status center — production adaptation of the approved proof of concept. */
@import url("/css/public-fonts.css");

:root {
  color-scheme: dark;
  --font-display: "Tektur", "Arial Narrow", "Segoe UI", sans-serif;
  --font-body: "Blinker", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;

  --bg-0: #020509;
  --bg-1: #050a10;
  --bg-2: #08111a;
  --panel: rgba(8, 15, 23, 0.82);
  --panel-strong: rgba(9, 17, 26, 0.96);
  --panel-soft: rgba(12, 22, 33, 0.58);
  --line: rgba(151, 183, 219, 0.11);
  --line-strong: rgba(169, 204, 240, 0.2);
  --text: #f5f8fb;
  --text-2: #c7d0da;
  --muted: #8493a3;
  --muted-2: #607080;

  --blue: #58b7ff;
  --blue-bright: #8fd3ff;
  --violet: #9e7cff;
  --green: #62dea2;
  --amber: #f2b84b;
  --orange: #ef8c57;
  --red: #ff6464;
  --maintenance: #78b9ff;
  --unknown: #8a96a3;

  --chart-grid: rgba(126, 168, 210, .105);
  --chart-grid-vertical: rgba(126, 168, 210, .055);
  --chart-axis: #718399;
  --chart-frame: rgba(132, 174, 218, .16);
  --chart-surface: rgba(3, 9, 15, .94);
  --chart-tooltip: rgba(6, 13, 21, .97);
  --chart-crosshair: rgba(171, 211, 247, .42);
  --chart-glow: rgba(105, 196, 255, .22);
  --status-chart-gap: #8091a5;
  --chart-state-operational: var(--green);
  --chart-state-degraded: var(--amber);
  --chart-state-partial: var(--orange);
  --chart-state-major: var(--red);
  --chart-state-maintenance: var(--maintenance);
  --chart-state-unknown: var(--unknown);

  --state-color: var(--unknown);
  --shell: min(1240px, calc(100vw - 44px));
  --header-height: 66px;
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 13px;
  --ease: cubic-bezier(0.22, 0.72, 0.2, 1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--bg-0);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 2%, rgba(55, 133, 220, 0.08), transparent 30%),
    radial-gradient(circle at 84% 8%, rgba(126, 80, 255, 0.07), transparent 28%),
    linear-gradient(180deg, #03070b 0%, #020509 42%, #04080d 100%);
  font-family: var(--font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

a {
  color: inherit;
}

::selection {
  color: #fff;
  background: rgba(88, 183, 255, 0.32);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: #0d1822;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.page-ambient,
.page-ambient > * {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.page-ambient {
  z-index: -1;
  overflow: hidden;
}

.page-ambient__grid {
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(97, 158, 221, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(97, 158, 221, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.7) 34%, transparent 76%);
}

.page-ambient__orb {
  width: 48vw;
  height: 48vw;
  margin: auto;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.12;
  animation: ambientDrift 18s ease-in-out infinite alternate;
}

.page-ambient__orb--blue {
  top: -40%;
  right: 46%;
  background: #147ef2;
}

.page-ambient__orb--violet {
  top: -28%;
  left: 54%;
  background: #6832e7;
  animation-delay: -7s;
}

.page-ambient__noise {
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

@keyframes ambientDrift {
  from { transform: translate3d(-3%, -1%, 0) scale(0.94); }
  to { transform: translate3d(4%, 3%, 0) scale(1.08); }
}

.status-page[data-status-state="degraded"] {
  --hero-status-color: #f2b84b;
  --hero-status-soft: #ffd77a;
}

.status-page[data-status-state="partial"] {
  --hero-status-color: #ef8c57;
  --hero-status-soft: #ffd166;
}

.status-page[data-status-state="major"],
.status-page[data-status-state="critical"] {
  --hero-status-color: #ff6464;
  --hero-status-soft: #ff9a76;
}

.status-page[data-status-state="maintenance"] {
  --hero-status-color: #a78bfa;
  --hero-status-soft: #78b9ff;
}

.status-page[data-status-state="unknown"] {
  --hero-status-color: #8a96a3;
  --hero-status-soft: #c0cad4;
}

.status-page[data-status-state]:not([data-status-state="operational"]) .page-ambient__orb--blue {
  background: var(--hero-status-color);
  opacity: .16;
}

.status-page[data-status-state]:not([data-status-state="operational"]) .page-ambient__orb--violet {
  background: var(--hero-status-soft);
  opacity: .1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 7, 11, 0.72);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.site-header::after {
  position: absolute;
  right: 12%;
  bottom: -1px;
  width: 28%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(88, 183, 255, 0.42), transparent);
  content: "";
}

.site-header__inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  color: #fff;
  text-decoration: none;
}

.brand__fallback-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(174, 206, 240, 0.22);
  border-radius: 10px;
  color: #b9ddff;
  background:
    linear-gradient(145deg, rgba(96, 183, 255, 0.18), rgba(29, 52, 76, 0.18)),
    #07111a;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.09),
    0 10px 28px rgba(0,0,0,.28),
    0 0 18px rgba(58, 151, 255, 0.08);
  font: 650 20px/1 var(--font-display);
}

.brand__fallback-mark::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.16) 48%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 500ms var(--ease);
  content: "";
}

.brand:hover .brand__fallback-mark::before {
  transform: translateX(120%);
}

.brand__fallback-wordmark {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.brand__tm {
  margin-left: 2px;
  font-size: 8px;
  vertical-align: top;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav a {
  position: relative;
  padding: 8px 0;
  color: #aeb9c6;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(88, 183, 255, .55);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 200ms var(--ease);
  content: "";
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.is-current {
  color: #fff;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a.is-current::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
}

.nav-toggle span {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: #d8e1ea;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  overflow: hidden;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  background: rgba(11, 19, 28, 0.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms var(--ease), border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.button::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 15%, rgba(255,255,255,.1) 48%, transparent 68%);
  transform: translateX(-120%);
  transition: transform 600ms var(--ease);
  content: "";
}

.button:hover::before {
  transform: translateX(120%);
}

.button:hover,
.button:focus-visible {
  border-color: rgba(137, 199, 255, .42);
  outline: none;
  transform: translateY(-1px);
}

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

.button--primary {
  border-color: rgba(88, 183, 255, .5);
  color: #02101c;
  background: linear-gradient(135deg, #85d1ff, #4aa8f6);
  box-shadow: 0 10px 28px rgba(43, 143, 232, .18), inset 0 1px 0 rgba(255,255,255,.52);
}

.site-header .header-actions .button--primary {
  color: #02101c;
}

.button--primary:hover,
.button--primary:focus-visible {
  border-color: #b8e5ff;
  box-shadow: 0 14px 38px rgba(43, 143, 232, .28), inset 0 1px 0 rgba(255,255,255,.65);
}

.button--quiet {
  background: rgba(255,255,255,.025);
}

.button--small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 12px;
}

.button__icon {
  font-size: 18px;
  line-height: 1;
}

.status-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr);
  gap: clamp(46px, 6vw, 88px);
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  padding: clamp(70px, 9vw, 126px) 0 clamp(72px, 9vw, 126px);
  isolation: isolate;
}

.status-hero::before {
  position: absolute;
  top: 50%;
  left: 51%;
  width: min(880px, 70vw);
  height: min(880px, 70vw);
  z-index: -2;
  border: 1px solid rgba(95, 168, 236, .065);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(74, 142, 207, .014),
    0 0 0 160px rgba(93, 91, 214, .009),
    0 0 190px rgba(54, 111, 218, .09);
  transform: translate(-50%, -50%);
  content: "";
  pointer-events: none;
}

.status-hero::after {
  position: absolute;
  right: calc(50% - 50vw);
  bottom: 0;
  left: calc(50% - 50vw);
  z-index: -3;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(2,5,9,.58) 72%, var(--bg-0));
  content: "";
  pointer-events: none;
}

.status-hero__atmosphere {
  position: absolute;
  top: 0;
  right: calc(50% - 50vw);
  bottom: 0;
  left: calc(50% - 50vw);
  z-index: -4;
  overflow: hidden;
  background:
    radial-gradient(ellipse 54% 62% at 76% 45%, rgba(42,111,226,.12), transparent 68%),
    radial-gradient(ellipse 40% 48% at 27% 38%, rgba(40,105,179,.065), transparent 72%),
    linear-gradient(118deg, rgba(41,108,194,.025), transparent 45%, rgba(94,66,190,.035));
  mask-image: linear-gradient(180deg, rgba(0,0,0,.98), #000 78%, transparent 100%);
  pointer-events: none;
}

.status-hero__atmosphere::before {
  position: absolute;
  inset: 5% 0 0 37%;
  opacity: .2;
  background-image:
    linear-gradient(rgba(111,165,223,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111,165,223,.055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 58% 43%, #000 0, transparent 70%);
  transform: perspective(520px) rotateX(63deg) translateY(18%);
  transform-origin: center bottom;
  content: "";
}

.status-hero__atmosphere::after {
  position: absolute;
  top: 10%;
  right: 2%;
  width: min(660px, 50vw);
  aspect-ratio: 1;
  border: 1px solid rgba(116,171,231,.035);
  border-radius: 50%;
  box-shadow: inset 0 0 90px rgba(69,112,203,.02), 0 0 0 58px rgba(97,97,203,.015);
  content: "";
}

.status-hero__atmosphere > span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #83caff;
  box-shadow: 0 0 12px rgba(104,190,255,.5);
  opacity: .26;
}

.status-hero__atmosphere > span:nth-child(1) { top: 19%; left: 9%; }
.status-hero__atmosphere > span:nth-child(2) { top: 31%; left: 46%; }
.status-hero__atmosphere > span:nth-child(3) { top: 72%; left: 17%; }
.status-hero__atmosphere > span:nth-child(4) { top: 16%; right: 16%; background: #9b82ff; }
.status-hero__atmosphere > span:nth-child(5) { right: 7%; bottom: 22%; background: #6de2c1; }

.status-hero[data-state]:not([data-state="operational"])::before {
  border-color: color-mix(in srgb, var(--hero-status-color) 13%, transparent);
  box-shadow:
    0 0 0 80px color-mix(in srgb, var(--hero-status-color) 2.5%, transparent),
    0 0 0 160px color-mix(in srgb, var(--hero-status-soft) 1.5%, transparent),
    0 0 190px color-mix(in srgb, var(--hero-status-color) 17%, transparent);
}

.status-hero[data-state]:not([data-state="operational"]) .status-hero__atmosphere {
  background:
    radial-gradient(ellipse 54% 62% at 76% 45%, color-mix(in srgb, var(--hero-status-color) 18%, transparent), transparent 68%),
    radial-gradient(ellipse 40% 48% at 27% 38%, color-mix(in srgb, var(--hero-status-soft) 9%, transparent), transparent 72%),
    linear-gradient(118deg, color-mix(in srgb, var(--hero-status-color) 4%, transparent), transparent 45%, color-mix(in srgb, var(--hero-status-soft) 5%, transparent));
}

.status-hero[data-state]:not([data-state="operational"]) .status-hero__atmosphere::before {
  background-image:
    linear-gradient(color-mix(in srgb, var(--hero-status-color) 9%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--hero-status-color) 9%, transparent) 1px, transparent 1px);
}

.status-hero[data-state]:not([data-state="operational"]) .status-hero__atmosphere::after {
  border-color: color-mix(in srgb, var(--hero-status-color) 8%, transparent);
  box-shadow:
    inset 0 0 90px color-mix(in srgb, var(--hero-status-color) 4%, transparent),
    0 0 0 58px color-mix(in srgb, var(--hero-status-soft) 2.5%, transparent);
}

.status-hero[data-state]:not([data-state="operational"]) .status-hero__atmosphere > span {
  background: var(--hero-status-color);
  box-shadow: 0 0 12px color-mix(in srgb, var(--hero-status-color) 62%, transparent);
}

.status-hero[data-state]:not([data-state="operational"]) .status-hero__atmosphere > span:nth-child(even) {
  background: var(--hero-status-soft);
}

.kicker,
.section-kicker,
.standalone-kicker {
  margin: 0 0 17px;
  color: var(--blue-bright);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.kicker__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(88,183,255,.09), 0 0 16px rgba(88,183,255,.55);
}

.status-hero h1 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(54px, 6vw, 88px);
  font-stretch: 88%;
  font-weight: 650;
  line-height: .94;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.status-hero__feature-line {
  display: inline-block;
  color: #aebfd2;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .status-hero__feature-line {
    color: transparent;
    background: linear-gradient(96deg, #8098b2 0%, #69cfff 24%, #d5e8f7 45%, #8e9dff 70%, #766fca 84%, #8098b2 100%);
    background-size: 220% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 18px rgba(82,159,231,.1));
    animation: statusHeroFeatureGradient 11s ease-in-out infinite alternate;
  }

  .status-hero[data-state]:not([data-state="operational"]) .status-hero__feature-line {
    background-image: linear-gradient(96deg,
      color-mix(in srgb, var(--hero-status-color) 72%, #758393) 0%,
      var(--hero-status-color) 24%,
      color-mix(in srgb, var(--hero-status-soft) 78%, #fff) 47%,
      var(--hero-status-soft) 70%,
      color-mix(in srgb, var(--hero-status-color) 80%, #696f7b) 100%);
    background-size: 220% 100%;
    filter: drop-shadow(0 0 18px color-mix(in srgb, var(--hero-status-color) 20%, transparent));
  }
}

@keyframes statusHeroFeatureGradient {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.status-hero__lede {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--text-2);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.68;
}

.status-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.status-source-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.source-chip {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: #b9c6d4;
  background: rgba(12, 21, 31, .68);
}

.source-chip > span,
.system-pulse__live > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--unknown);
  box-shadow: 0 0 10px currentColor;
}

.source-chip[data-state="live"] {
  color: #83e9af;
  border-color: rgba(98,222,162,.28);
}

.source-chip[data-state="live"] > span {
  background: var(--green);
}

.source-chip[data-state="demo"] {
  color: #ffd182;
  border-color: rgba(242,184,75,.3);
}

.source-chip[data-state="demo"] > span {
  background: var(--amber);
}

.system-pulse {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: clamp(20px, 2.8vw, 32px);
  border: 1px solid rgba(156,195,231,.19);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 46%, rgba(66,158,236,.13), transparent 27%),
    radial-gradient(circle at 91% 5%, rgba(128,76,255,.08), transparent 32%),
    radial-gradient(circle at 7% 91%, rgba(56,196,174,.035), transparent 30%),
    linear-gradient(145deg, rgba(10, 19, 29, .97), rgba(3, 9, 15, .985));
  box-shadow:
    0 46px 110px rgba(0,0,0,.42),
    0 0 70px rgba(58,111,203,.055),
    inset 0 1px 0 rgba(255,255,255,.055),
    inset 0 0 58px rgba(0,0,0,.22);
  backdrop-filter: blur(12px);
  isolation: isolate;
}

.system-pulse::before {
  position: absolute;
  top: 0;
  left: 20%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--state-color), transparent);
  box-shadow: 0 0 22px var(--state-color);
  opacity: .62;
  content: "";
}

.system-pulse::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .24;
  background-image:
    linear-gradient(rgba(110, 174, 235, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 174, 235, .06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 50% 50%, black 0, transparent 72%);
  content: "";
}

.status-hero[data-state]:not([data-state="operational"]) .system-pulse {
  border-color: color-mix(in srgb, var(--hero-status-color) 34%, rgba(156,195,231,.12));
  background:
    radial-gradient(circle at 50% 46%, color-mix(in srgb, var(--hero-status-color) 19%, transparent), transparent 29%),
    radial-gradient(circle at 91% 5%, color-mix(in srgb, var(--hero-status-soft) 11%, transparent), transparent 32%),
    radial-gradient(circle at 7% 91%, color-mix(in srgb, var(--hero-status-color) 7%, transparent), transparent 30%),
    linear-gradient(145deg, rgba(10, 17, 24, .97), rgba(3, 8, 13, .985));
  box-shadow:
    0 46px 110px rgba(0,0,0,.42),
    0 0 74px color-mix(in srgb, var(--hero-status-color) 12%, transparent),
    inset 0 1px 0 rgba(255,255,255,.055),
    inset 0 0 64px color-mix(in srgb, var(--hero-status-color) 6%, transparent);
}

.status-hero[data-state]:not([data-state="operational"]) .system-pulse::after {
  background-image:
    linear-gradient(color-mix(in srgb, var(--hero-status-color) 8%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--hero-status-color) 8%, transparent) 1px, transparent 1px);
}

.system-pulse__topline,
.system-pulse__footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-family: var(--font-mono);
}

.system-pulse__eyebrow {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.system-pulse__live {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid rgba(98,222,162,.22);
  border-radius: 999px;
  color: #86eab2;
  background: rgba(98,222,162,.06);
  font-size: 8px;
  letter-spacing: .12em;
}

.system-pulse__live > span {
  background: var(--green);
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  50% { box-shadow: 0 0 0 5px rgba(98,222,162,.08), 0 0 17px rgba(98,222,162,.7); }
}

.system-pulse__core {
  position: relative;
  display: grid;
  width: 218px;
  height: 218px;
  margin: 22px auto -4px;
  place-items: center;
  align-content: center;
  text-align: center;
}

.system-pulse__rings,
.system-pulse__rings span {
  position: absolute;
  inset: 0;
  border: 1px solid color-mix(in srgb, var(--state-color) 24%, transparent);
  border-radius: 50%;
}

.system-pulse__rings span:nth-child(1) {
  inset: 22px;
  border-color: color-mix(in srgb, var(--state-color) 34%, transparent);
  animation: ringBreath 5.8s ease-in-out infinite;
}

.system-pulse__rings span:nth-child(2) {
  inset: 48px;
  border-color: color-mix(in srgb, var(--state-color) 48%, transparent);
  animation: ringBreath 5.8s ease-in-out 1.1s infinite;
}

.system-pulse__rings span:nth-child(3) {
  inset: 73px;
  border-color: color-mix(in srgb, var(--state-color) 72%, transparent);
  box-shadow: 0 0 40px color-mix(in srgb, var(--state-color) 15%, transparent);
}

@keyframes ringBreath {
  0%,100% { transform: scale(.97); opacity: .44; }
  50% { transform: scale(1.03); opacity: .88; }
}

.system-pulse__state-icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--state-color) 54%, transparent);
  border-radius: 16px;
  color: var(--state-color);
  background: color-mix(in srgb, var(--state-color) 9%, rgba(6,13,19,.86));
  box-shadow: 0 0 28px color-mix(in srgb, var(--state-color) 16%, transparent), inset 0 1px 0 rgba(255,255,255,.08);
}

.system-pulse__state-mark {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  font: 600 21px/1 var(--font-display);
}

.system-pulse__state-mark[data-state="operational"] {
  background: currentColor;
  -webkit-mask: url("/assets/icons/ui/tick.svg") center / contain no-repeat;
  mask: url("/assets/icons/ui/tick.svg") center / contain no-repeat;
}

.system-pulse__core strong {
  position: relative;
  z-index: 2;
  max-width: 190px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.025em;
}

.system-pulse__core p {
  position: relative;
  z-index: 2;
  max-width: 190px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.system-map {
  position: relative;
  height: 250px;
  margin-top: -82px;
  isolation: isolate;
}

.system-map::before,
.system-map::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  border: 1px solid rgba(94,163,224,.055);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.system-map::before { width: 118px; height: 118px; }
.system-map::after { width: 172px; height: 172px; border-style: dashed; opacity: .5; }

.status-hero[data-state]:not([data-state="operational"]) .system-map::before,
.status-hero[data-state]:not([data-state="operational"]) .system-map::after {
  border-color: color-mix(in srgb, var(--hero-status-color) 12%, transparent);
}

.system-map__routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.system-map__route {
  fill: none;
  stroke: color-mix(in srgb, var(--route-color) 17%, rgba(123,171,216,.12));
  stroke-width: 1.15;
  stroke-dasharray: 2 7;
  vector-effect: non-scaling-stroke;
}

.system-map__route::selection { background: transparent; }

.system-map__route--products,
.system-map__signal--products,
.system-map__packet--products { --route-color: #6f9dff; }
.system-map__route--core,
.system-map__signal--core,
.system-map__packet--core { --route-color: #51d4e8; }
.system-map__route--web,
.system-map__signal--web,
.system-map__packet--web { --route-color: #987cff; }
.system-map__route--dependencies,
.system-map__signal--dependencies,
.system-map__packet--dependencies { --route-color: #f1bc62; }

.status-hero[data-state]:not([data-state="operational"]) .system-map__route,
.status-hero[data-state]:not([data-state="operational"]) .system-map__signal,
.status-hero[data-state]:not([data-state="operational"]) .system-map__packet {
  --route-color: var(--hero-status-color);
}

.system-map__signal {
  fill: none;
  stroke: var(--route-color);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-dasharray: .16 .84;
  stroke-dashoffset: 1;
  opacity: 0;
  filter: drop-shadow(0 0 4px var(--route-color));
  vector-effect: non-scaling-stroke;
  animation: systemRouteTrace 16s linear infinite;
}

.system-map__signal--products { animation-delay: 0s; }
.system-map__signal--core { animation-delay: 4s; }
.system-map__signal--web { animation-delay: 8s; }
.system-map__signal--dependencies { animation-delay: 12s; }

.system-map__packet {
  fill: var(--route-color);
  opacity: 0;
  filter: drop-shadow(0 0 5px var(--route-color));
}

@keyframes systemRouteTrace {
  0% { opacity: 0; stroke-dashoffset: 1; }
  2% { opacity: .16; }
  8% { opacity: .92; }
  21% { opacity: .2; stroke-dashoffset: 0; }
  25%, 100% { opacity: 0; stroke-dashoffset: 0; }
}

.system-map__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(133, 199, 255, .38);
  border-radius: 14px;
  color: #9dd8ff;
  background:
    radial-gradient(circle at 45% 34%, rgba(116,207,255,.14), transparent 48%),
    linear-gradient(145deg, #0a1a27, #040b12);
  box-shadow: 0 0 28px rgba(72,165,243,.19), inset 0 1px 0 rgba(255,255,255,.09), inset 0 0 18px rgba(41,139,218,.08);
  transform: translate(-50%, -50%);
  animation: systemHubEnergy 4s ease-in-out infinite;
}

.system-map__hub img {
  width: 25px;
  height: 23px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(82%) sepia(25%) saturate(1285%) hue-rotate(173deg) brightness(104%);
}

.status-hero[data-state]:not([data-state="operational"]) .system-map__hub {
  border-color: color-mix(in srgb, var(--hero-status-color) 54%, transparent);
  color: var(--hero-status-color);
  background:
    radial-gradient(circle at 45% 34%, color-mix(in srgb, var(--hero-status-color) 20%, transparent), transparent 48%),
    linear-gradient(145deg, color-mix(in srgb, var(--hero-status-color) 10%, #081018), #040a0f);
  animation-name: systemHubAlertEnergy;
}

.status-hero[data-state]:not([data-state="operational"]) .system-map__hub img {
  opacity: 0;
}

.status-hero[data-state]:not([data-state="operational"]) .system-map__hub::before {
  position: absolute;
  width: 25px;
  height: 23px;
  background: currentColor;
  -webkit-mask: url("/assets/icons/streamsuites-0.svg") center / contain no-repeat;
  mask: url("/assets/icons/streamsuites-0.svg") center / contain no-repeat;
  content: "";
}

@keyframes systemHubEnergy {
  0%, 100% { box-shadow: 0 0 25px rgba(72,165,243,.13), inset 0 1px 0 rgba(255,255,255,.09), inset 0 0 16px rgba(41,139,218,.07); }
  50% { box-shadow: 0 0 34px rgba(72,165,243,.24), inset 0 1px 0 rgba(255,255,255,.1), inset 0 0 22px rgba(41,139,218,.12); }
}

@keyframes systemHubAlertEnergy {
  0%, 100% {
    box-shadow: 0 0 25px color-mix(in srgb, var(--hero-status-color) 18%, transparent), inset 0 1px 0 rgba(255,255,255,.09), inset 0 0 16px color-mix(in srgb, var(--hero-status-color) 9%, transparent);
  }
  50% {
    box-shadow: 0 0 36px color-mix(in srgb, var(--hero-status-color) 30%, transparent), inset 0 1px 0 rgba(255,255,255,.1), inset 0 0 22px color-mix(in srgb, var(--hero-status-color) 15%, transparent);
  }
}

.system-map__node {
  position: absolute;
  display: grid;
  min-width: 142px;
  gap: 4px;
  padding: 12px 14px 12px 34px;
  border: 1px solid rgba(151,183,219,.12);
  border-radius: 12px;
  background:
    radial-gradient(circle at 0 50%, color-mix(in srgb, var(--node-color) 7%, transparent), transparent 52%),
    rgba(5, 12, 19, .92);
  box-shadow: 0 15px 36px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.035);
  animation: systemNodeResponse 16s ease-in-out infinite;
}

.system-map__node::before {
  position: absolute;
  top: 0;
  left: 20%;
  width: 60%;
  height: 1px;
  background: var(--node-color);
  box-shadow: 0 0 13px var(--node-color);
  opacity: .58;
  content: "";
}

.system-map__node strong {
  font-size: 12px;
  letter-spacing: -.01em;
}

.system-map__node small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
}

.system-map__node-dot {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--node-color);
  box-shadow: 0 0 12px var(--node-color);
  transform: translateY(-50%);
}

.system-map__node--products { --node-color: #6f9dff; top: 12px; left: 12px; animation-delay: 0s; }
.system-map__node--core { --node-color: #51d4e8; top: 12px; right: 12px; animation-delay: 4s; }
.system-map__node--web { --node-color: #987cff; bottom: 12px; left: 12px; animation-delay: 8s; }
.system-map__node--dependencies { --node-color: #f1bc62; right: 12px; bottom: 12px; animation-delay: 12s; }

.status-hero[data-state]:not([data-state="operational"]) .system-map__node {
  --node-color: var(--hero-status-color);
  border-color: color-mix(in srgb, var(--hero-status-color) 25%, transparent);
}

@keyframes systemNodeResponse {
  0%, 18%, 100% { border-color: rgba(151,183,219,.12); box-shadow: 0 15px 36px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.035); }
  20% { border-color: color-mix(in srgb, var(--node-color) 34%, rgba(151,183,219,.14)); box-shadow: 0 15px 36px rgba(0,0,0,.22), 0 0 22px color-mix(in srgb, var(--node-color) 11%, transparent), inset 0 1px 0 rgba(255,255,255,.045); }
  25% { border-color: rgba(151,183,219,.12); box-shadow: 0 15px 36px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.035); }
}

.system-pulse__footer {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .03em;
}

.system-pulse__footer strong {
  color: #fff;
  font-weight: 500;
}

main > section:not(.status-hero) {
  position: relative;
}

.metrics-section,
.system-availability,
.components-section {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.metrics-section {
  padding: clamp(76px, 7vw, 104px) 0;
}

.components-section,
.operations-section,
.history-section,
.transparency-section {
  padding: clamp(76px, 8vw, 116px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: clamp(38px, 6vw, 84px);
  align-items: start;
  margin-bottom: clamp(34px, 4vw, 48px);
}

.section-heading--compact {
  margin-bottom: clamp(28px, 3vw, 36px);
}

.section-heading h2,
.transparency-card h2 {
  max-width: 800px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 58px);
  font-stretch: 90%;
  font-weight: 620;
  line-height: 1;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.section-heading > p {
  max-width: 540px;
  margin: 29px 0 0;
  padding-left: 22px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.status-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(110deg, rgba(88,183,255,.035), transparent 34%, rgba(158,124,255,.025)),
    rgba(7, 13, 20, .88);
  box-shadow: 0 28px 72px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.025);
}

.status-metric {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 154px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(25px, 2.8vw, 36px);
  transition: background-color 180ms ease;
}

.status-metric:hover {
  background: rgba(255,255,255,.018);
}

.status-metric + .status-metric {
  border-left: 1px solid var(--line);
}

.status-metric__value,
.status-metric__label {
  display: block;
}

.status-metric__value {
  min-height: 50px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.052em;
  overflow-wrap: anywhere;
}

.status-metric--overall .status-metric__value {
  padding-left: 19px;
  color: var(--state-color);
  font-size: clamp(23px, 2.4vw, 34px);
  line-height: 1.14;
}

.status-metric__label {
  margin-top: 9px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status-metric__icon {
  position: absolute;
  top: 60px;
  left: clamp(25px, 2.8vw, 36px);
  font-size: 10px;
  line-height: 1;
  color: var(--state-color);
  text-shadow: 0 0 18px var(--state-color);
}

.diagnostic-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: stretch;
  margin-top: 14px;
}

.diagnostic-overview article,
.diagnostic-source {
  min-width: 0;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(7, 13, 20, .82);
}

.diagnostic-overview article {
  display: grid;
  gap: 5px;
}

.diagnostic-overview span,
.diagnostic-overview small {
  color: var(--muted);
  font: 9px/1.5 var(--font-mono);
  letter-spacing: .04em;
}

.diagnostic-overview strong {
  color: var(--text);
  font: 600 17px/1.25 var(--font-display);
}

.diagnostic-overview__history {
  width: fit-content;
  min-height: 30px;
  margin-top: 5px;
  appearance: none;
  padding: 0 10px;
  border: 1px solid rgba(88,183,255,.24);
  border-radius: 8px;
  color: #9fd5ff;
  background: rgba(88,183,255,.055);
  font: 8px/1.2 var(--font-mono);
  letter-spacing: .045em;
  text-transform: uppercase;
  cursor: pointer;
}

.diagnostic-overview__history:hover,
.diagnostic-overview__history:focus-visible { border-color: rgba(88,183,255,.56); color: #fff; outline: none; }
.diagnostic-overview__history:disabled { border-color: var(--line); color: var(--muted); background: transparent; cursor: default; opacity: .68; }

.diagnostic-source {
  display: flex;
  align-items: center;
  color: var(--steel);
}

.diagnostic-source[data-state="live"] { color: var(--green); }
.diagnostic-source[data-state="stale"] { color: var(--amber); }

.system-availability {
  padding: 0 0 clamp(82px, 9vw, 128px);
}

.system-availability__frame {
  position: relative;
  overflow: visible;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(144, 190, 228, .2);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 10% 0%, rgba(68, 170, 238, .1), transparent 30%),
    radial-gradient(circle at 96% 10%, rgba(143, 105, 248, .1), transparent 34%),
    linear-gradient(145deg, rgba(8, 17, 26, .96), rgba(3, 9, 15, .98));
  box-shadow: 0 38px 96px rgba(0,0,0,.27), inset 0 1px 0 rgba(255,255,255,.03);
}

.system-availability__frame::before {
  position: absolute;
  top: 0;
  left: 8%;
  width: 46%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--violet), transparent);
  box-shadow: 0 0 24px rgba(88,183,255,.34);
  content: "";
}

.system-availability__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: start;
}

.system-availability__header h2 {
  margin: 7px 0 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 620;
  line-height: 1;
  letter-spacing: -.05em;
}

.system-availability__lede {
  max-width: 680px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.system-availability__actions {
  display: grid;
  justify-items: end;
  gap: 11px;
}

.system-availability__source,
.system-availability__contract {
  color: #8fcff6;
  font: 8px/1.4 var(--font-mono);
  letter-spacing: .075em;
  text-transform: uppercase;
}

.system-availability__content {
  margin-top: 28px;
}

.system-availability__awaiting {
  display: flex;
  min-height: 310px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px;
  border: 1px dashed rgba(144, 183, 217, .2);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(3, 9, 15, .62);
  text-align: left;
}

.system-availability__awaiting strong,
.system-availability__awaiting p {
  display: block;
}

.system-availability__awaiting strong {
  color: var(--text-2);
  font-size: 14px;
}

.system-availability__awaiting p {
  max-width: 560px;
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.58;
}

.system-availability__metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(4, 10, 16, .75);
}

.system-availability__metric {
  display: grid;
  min-width: 0;
  min-height: 106px;
  align-content: center;
  gap: 8px;
  padding: 18px;
}

.system-availability__metric + .system-availability__metric {
  border-left: 1px solid var(--line);
}

.system-availability__metric span {
  color: var(--muted);
  font: 8px/1.35 var(--font-mono);
  letter-spacing: .065em;
  text-transform: uppercase;
}

.system-availability__metric strong {
  min-width: 0;
  color: #f3f8fc;
  font: 600 clamp(18px, 2vw, 27px)/1.06 var(--font-display);
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.system-availability__metric[data-kind="state"] strong {
  color: var(--overall-state-color, var(--unknown));
}

.system-availability__metric[data-kind="coverage"][data-low-coverage="true"] {
  background: linear-gradient(135deg, rgba(242,184,75,.09), transparent);
}

.system-availability__metric[data-kind="coverage"][data-low-coverage="true"] strong {
  color: var(--amber);
}

.system-availability__duration-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin: 13px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--muted);
  background: rgba(4, 10, 16, .54);
  font: 8px/1.5 var(--font-mono);
}

.system-availability__duration-rail strong {
  color: var(--text-2);
  font-weight: 500;
}

.overall-availability-graph {
  --chart-line-start: #4ddaf0;
  --chart-line-mid: #62bfff;
  --chart-line-end: #aa86ff;
  margin-top: 14px;
  padding: clamp(18px, 2.4vw, 27px);
  border-color: rgba(125, 182, 225, .19);
}

.overall-availability-graph .component-graph__heading span {
  color: #8dcaee;
}

.overall-availability-graph .component-graph__summary {
  max-width: 920px;
}

.overall-availability-graph .component-graph__axis-label--y {
  font-size: 8px;
}

.overall-availability-graph .component-graph__area {
  opacity: .92;
}

.overall-availability-graph .component-graph__line {
  stroke-linecap: butt;
  stroke-linejoin: round;
}

.overall-availability-graph .component-graph__state-bar {
  stroke: rgba(255,255,255,.065);
}

.overall-availability-graph__context {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  margin-top: 11px;
  color: var(--muted);
  font: 8px/1.5 var(--font-mono);
}

.overall-availability-graph__context strong {
  color: #a9cbe1;
  font-weight: 500;
}

.component-controls {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto;
  gap: 22px;
  align-items: end;
  margin-bottom: 34px;
  padding: 17px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background:
    linear-gradient(105deg, rgba(88,183,255,.035), transparent 42%),
    rgba(7, 13, 20, .84);
  box-shadow: 0 20px 52px rgba(0,0,0,.17), inset 0 1px 0 rgba(255,255,255,.025);
}

.component-search {
  display: grid;
  min-width: 0;
  gap: 9px;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.component-search__field {
  position: relative;
  display: block;
  min-width: 0;
}

.component-search input {
  width: 100%;
  min-height: 50px;
  appearance: none;
  -webkit-appearance: none;
  padding: 0 54px 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  color: var(--text);
  caret-color: var(--blue-bright);
  background: #07101a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 8px 24px rgba(0,0,0,.12);
  font: 14px var(--font-body);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.component-search input::placeholder {
  color: #667687;
  opacity: 1;
}

.component-search input::-webkit-search-cancel-button {
  opacity: .72;
  filter: invert(1) grayscale(1);
}

.component-search input:hover {
  border-color: rgba(169,204,240,.3);
  background: #09131e;
}

.component-search input:focus-visible {
  border-color: rgba(88,183,255,.68);
  background: #0a1420;
  box-shadow: 0 0 0 3px rgba(88,183,255,.13), inset 0 1px 0 rgba(255,255,255,.035);
}

.component-search kbd {
  position: absolute;
  top: 50%;
  right: 14px;
  min-width: 24px;
  padding: 3px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  color: var(--muted);
  background: rgba(255,255,255,.035);
  font: 10px var(--font-mono);
  text-align: center;
  transform: translateY(-50%);
  pointer-events: none;
}

.status-filters {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #07101a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}

.status-filters button {
  min-height: 48px;
  appearance: none;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.status-filters button:hover,
.status-filters button.is-active {
  border-color: rgba(88,183,255,.25);
  color: #fff;
  background: rgba(88,183,255,.085);
}

.status-filters button:focus-visible {
  border-color: rgba(88,183,255,.68);
  color: #fff;
  background: rgba(88,183,255,.1);
  box-shadow: 0 0 0 2px rgba(88,183,255,.15);
  outline: none;
}

.component-load-state {
  min-height: 190px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--text-2);
  background: var(--panel);
}

.component-load-state strong {
  color: #fff;
}

.component-load-state p {
  margin: 6px 0 0;
  color: var(--muted);
}

.loader {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 2px solid rgba(255,255,255,.08);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 850ms linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.component-groups {
  display: grid;
  gap: 46px;
}

.component-group {
  --group-accent: var(--blue-bright);
  position: relative;
  min-width: 0;
}

.component-group__heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
  padding: 0 0 16px 17px;
  border-bottom: 1px solid color-mix(in srgb, var(--group-accent) 9%, var(--line));
}

.component-group__heading::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 2px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(var(--group-accent), color-mix(in srgb, var(--group-accent) 22%, transparent));
  box-shadow: 0 0 12px color-mix(in srgb, var(--group-accent) 18%, transparent);
  content: "";
}

.component-group__copy {
  min-width: 0;
}

.component-group__eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--group-accent) !important;
}

.component-group__heading h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.4vw, 31px);
  font-weight: 600;
  letter-spacing: -.035em;
}

.component-group__heading span,
.component-group__heading p {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.component-group__heading p {
  max-width: 680px;
  margin: 7px 0 0;
  color: var(--text-2);
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: .035em;
  text-transform: none;
}

.component-group__counts {
  display: flex;
  max-width: 410px;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.component-group__counts span {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.024);
  white-space: nowrap;
}

.component-group__counts span[data-kind="monitored"] { border-color: rgba(88,183,255,.22); color: #9fd5ff; }
.component-group__counts span[data-kind="deferred"] { color: #aab5c0; }
.component-group__counts span[data-kind="vendor"] { border-color: rgba(158,124,255,.24); color: #c5b4ff; }
.component-group__counts span[data-kind="attention"] { color: var(--amber); }

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

.component-card {
  --component-color: var(--unknown);
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 248px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto minmax(36px, 1fr) auto;
  gap: 14px;
  align-content: start;
  overflow: hidden;
  padding: 21px 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(8, 15, 23, .78);
  box-shadow: 0 16px 48px rgba(0,0,0,.13), inset 0 1px 0 rgba(255,255,255,.025);
  isolation: isolate;
  transition: transform 260ms var(--ease), border-color 180ms ease, background-color 180ms ease, box-shadow 260ms ease;
}

.component-card[id] { scroll-margin-top: 96px; }

.component-card.is-deep-linked {
  border-color: color-mix(in srgb, var(--component-color) 68%, #cbe7f7);
  animation: componentDeepLink 1100ms var(--ease) both;
}

@keyframes componentDeepLink {
  0%, 100% { box-shadow: 0 18px 50px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.035); }
  42% { box-shadow: 0 22px 62px rgba(0,0,0,.42), 0 0 34px color-mix(in srgb, var(--component-color) 22%, transparent), inset 0 1px 0 rgba(255,255,255,.065); }
}

.component-card::before {
  position: absolute;
  top: 0;
  left: 13%;
  width: 38%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(145,174,204,.42), transparent);
  box-shadow: 0 0 12px rgba(105,145,184,.12);
  opacity: .32;
  content: "";
}

.component-card:hover {
  border-color: rgba(151,183,219,.25);
  box-shadow: 0 24px 64px rgba(0,0,0,.2), 0 0 28px rgba(84,127,168,.045);
  transform: translateY(-3px);
}


.component-card.is-expanded {
  grid-column: 1 / -1;
  grid-template-rows: auto auto auto auto auto;
  border-color: rgba(151,183,219,.28);
  background: rgba(8, 15, 23, .94);
  box-shadow: 0 24px 68px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.035), inset 0 0 34px rgba(76,118,157,.025);
  transform: none;
}

.component-card:not([data-state="operational"]) {
  border-color: color-mix(in srgb, var(--component-color) 46%, rgba(151,183,219,.08));
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--component-color) 15%, transparent), transparent 48%),
    linear-gradient(145deg, color-mix(in srgb, var(--component-color) 8%, rgba(8, 15, 23, .9)), rgba(7, 13, 20, .9));
  box-shadow:
    0 18px 52px rgba(0,0,0,.18),
    0 0 34px color-mix(in srgb, var(--component-color) 9%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--component-color) 20%, rgba(255,255,255,.03));
}

.component-card:not([data-state="operational"])::before {
  background: linear-gradient(90deg, transparent, var(--component-color), transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--component-color) 55%, transparent);
  opacity: .72;
}

.component-card:not([data-state="operational"]):hover {
  border-color: color-mix(in srgb, var(--component-color) 62%, rgba(151,183,219,.1));
  box-shadow:
    0 25px 66px rgba(0,0,0,.24),
    0 0 44px color-mix(in srgb, var(--component-color) 13%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--component-color) 24%, rgba(255,255,255,.035));
}

.component-card.is-expanded:not([data-state="operational"]) {
  border-color: color-mix(in srgb, var(--component-color) 58%, rgba(151,183,219,.08));
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--component-color) 16%, transparent), transparent 48%),
    linear-gradient(145deg, color-mix(in srgb, var(--component-color) 9%, rgba(8, 15, 23, .96)), rgba(7, 13, 20, .96));
  box-shadow:
    0 25px 70px rgba(0,0,0,.24),
    0 0 46px color-mix(in srgb, var(--component-color) 12%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--component-color) 22%, rgba(255,255,255,.035));
}

.component-card__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.component-card__identity {
  display: flex;
  min-width: 0;
  gap: 14px;
  align-items: center;
}

.component-card__identity > div { min-width: 0; }

.component-card__icon {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--component-color) 30%, transparent);
  border-radius: 12px;
  color: var(--component-color);
  background: color-mix(in srgb, var(--component-color) 7%, rgba(5,11,17,.88));
  box-shadow: 0 0 20px color-mix(in srgb, var(--component-color) 7%, transparent);
}

.component-card:not([data-state="operational"]) .component-card__icon {
  border-color: color-mix(in srgb, var(--component-color) 58%, transparent);
  background: color-mix(in srgb, var(--component-color) 13%, rgba(5,11,17,.88));
  box-shadow: 0 0 25px color-mix(in srgb, var(--component-color) 17%, transparent);
}

.component-card:not([data-state="operational"]) .component-card__icon::before {
  position: absolute;
  width: 23px;
  height: 23px;
  background: var(--component-color);
  -webkit-mask: var(--component-icon) center / contain no-repeat;
  mask: var(--component-icon) center / contain no-repeat;
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--component-color) 45%, transparent));
  content: "";
}

.component-card:not([data-state="operational"]) .component-card__icon img {
  opacity: 0;
}

.component-card__icon img {
  width: 23px;
  height: 23px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(82%) sepia(16%) saturate(928%) hue-rotate(178deg) brightness(104%);
}

.component-card__icon[data-fallback="true"] {
  border-style: dashed;
  opacity: .82;
}

.component-card h4 {
  margin: 0;
  color: #eef4f9;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.component-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.component-card__identity p {
  max-width: 52ch;
  margin-top: 5px;
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}

.component-card__chips,
.component-card__facts {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  gap: 7px;
}

.component-chip,
.component-card__facts span {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  background: rgba(255,255,255,.025);
  font: 8px/1.2 var(--font-mono);
  letter-spacing: .045em;
  text-transform: uppercase;
}

.component-chip[data-kind="implemented"],
.component-chip[data-kind="watchdog"] { border-color: rgba(88,183,255,.23); color: #9fd5ff; }
.component-chip[data-kind="official"] { border-color: rgba(95,226,176,.22); color: #9cefcf; }
.component-chip[data-kind="deferred"],
.component-chip[data-kind="manual_deferred"] { color: #aab5c0; }
.component-chip[data-kind="vendor_managed"],
.component-chip[data-kind="atlassian_third_party"] { border-color: rgba(158,124,255,.25); color: #c5b4ff; }
.component-card__facts .component-card__latency { margin-left: auto; color: var(--component-color); }

.component-discrepancy {
  padding: 10px 12px;
  border: 1px solid rgba(242,184,75,.26);
  border-radius: 9px;
  color: #f6cd76 !important;
  background: rgba(242,184,75,.06);
  animation: detail-reveal 220ms var(--ease) both;
}

.component-card__footer {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 13px;
  border-top: 1px solid rgba(255,255,255,.05);
}

.component-card__toggle {
  width: fit-content;
  min-height: 36px;
  appearance: none;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--text-2);
  background: rgba(255,255,255,.025);
  font: 9px/1 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease, transform 180ms var(--ease);
}

.component-card__toggle:hover,
.component-card__toggle:focus-visible {
  border-color: rgba(88,183,255,.55);
  color: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(88,183,255,.1);
  transform: translateY(-1px);
}

.component-card__details {
  display: grid;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  animation: detail-reveal 220ms var(--ease) both;
}

.component-detail-rail__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.component-detail-rail__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.system-availability__content.is-overall-ready .system-availability__metric {
  animation: overall-metric-settle 360ms var(--ease) both;
}

.system-availability__content.is-overall-ready .system-availability__metric:nth-child(2) { animation-delay: 35ms; }
.system-availability__content.is-overall-ready .system-availability__metric:nth-child(3) { animation-delay: 70ms; }
.system-availability__content.is-overall-ready .system-availability__metric:nth-child(4) { animation-delay: 105ms; }
.system-availability__content.is-overall-ready .system-availability__metric:nth-child(5) { animation-delay: 140ms; }

@keyframes overall-metric-settle {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.component-detail-rail__source {
  display: grid;
  min-width: 0;
  gap: 5px;
  padding: 15px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--component-color) 7%, transparent), rgba(0,0,0,.13));
}

.component-detail-rail__source span,
.component-detail-rail__source small {
  color: var(--muted);
  font: 8px/1.4 var(--font-mono);
  letter-spacing: .055em;
  text-transform: uppercase;
}

.component-detail-rail__source strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.component-detail-rail__source small {
  color: var(--text-2);
  letter-spacing: .025em;
  text-transform: none;
}

.component-card__details[hidden] { display: none; }

@keyframes detail-reveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.component-detail {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0,0,0,.12);
}

.component-detail dt {
  color: var(--muted);
  font: 8px/1.2 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.component-detail dd {
  margin: 7px 0 0;
  color: var(--text);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.component-incident {
  padding: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  color: var(--text-2) !important;
  background: rgba(255,255,255,.018);
  line-height: 1.65 !important;
  text-transform: none !important;
}

.component-intentional-state {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 19px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background:
    radial-gradient(circle at 96% 4%, color-mix(in srgb, var(--component-color) 9%, transparent), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,.025), rgba(0,0,0,.14));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 18px 44px rgba(0,0,0,.14);
}

.component-intentional-state[data-kind="provider"] { --intentional-color: #d8ad65; }
.component-intentional-state[data-kind="deferred"] { --intentional-color: #8fa1b4; }

.component-intentional-state__signal {
  width: 11px;
  height: 11px;
  margin-top: 5px;
  border: 2px solid color-mix(in srgb, var(--intentional-color) 72%, #fff);
  border-radius: 50%;
  background: color-mix(in srgb, var(--intentional-color) 20%, transparent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--intentional-color) 7%, transparent), 0 0 18px color-mix(in srgb, var(--intentional-color) 18%, transparent);
}

.component-intentional-state__copy {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.component-intentional-state__copy span,
.component-intentional-state__copy small {
  color: var(--intentional-color);
  font: 8px/1.45 var(--font-mono);
  letter-spacing: .075em;
  text-transform: uppercase;
}

.component-intentional-state__copy strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.component-intentional-state__copy p {
  margin: 0;
  color: var(--text-2);
  font: 11px/1.62 var(--font-body);
  letter-spacing: 0;
  text-transform: none;
}

.component-intentional-state__copy small {
  color: var(--muted);
  letter-spacing: .025em;
  text-transform: none;
}

.component-graph {
  --chart-line-start: #6e9fff;
  --chart-line-mid: #72d6ff;
  --chart-line-end: #a18bff;
  min-width: 0;
  min-height: 438px;
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--chart-frame);
  border-radius: 15px;
  background:
    linear-gradient(var(--chart-grid-vertical) 1px, transparent 1px),
    linear-gradient(90deg, var(--chart-grid-vertical) 1px, transparent 1px),
    radial-gradient(circle at 96% 2%, rgba(88,183,255,.075), transparent 31%),
    linear-gradient(148deg, rgba(255,255,255,.025), transparent 37%),
    var(--chart-surface);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
  box-shadow: 0 28px 70px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.05), inset 0 0 44px rgba(0,0,0,.18);
  isolation: isolate;
}

.component-graph[data-chart-type="state"] { min-height: 408px; }

.component-graph::before {
  position: absolute;
  z-index: -1;
  top: -80px;
  right: -90px;
  width: 260px;
  height: 220px;
  border-radius: 50%;
  background: rgba(88,183,255,.055);
  filter: blur(42px);
  content: "";
}

.component-graph::after {
  position: absolute;
  top: 0;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(88,183,255,.32), transparent);
  content: "";
}

.component-graph > * { position: relative; z-index: 1; }

.component-graph__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.component-graph__heading {
  display: grid;
  gap: 5px;
}

.component-graph__heading span {
  color: var(--blue-bright);
  font: 8px/1.3 var(--font-mono);
  letter-spacing: .105em;
  text-transform: uppercase;
}

.component-graph__heading h5 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -.025em;
}

.component-graph__toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  margin-top: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(151,183,219,.08);
}

.component-graph__controls {
  display: flex;
  align-items: center;
  align-self: start;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(151,183,219,.1);
  border-radius: 10px;
  background: rgba(0,0,0,.2);
}

.component-graph__controls button {
  min-width: 50px;
  min-height: 31px;
  appearance: none;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  font: 9px var(--font-mono);
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.component-graph__controls button.is-active {
  border-color: rgba(88,183,255,.34);
  color: #fff;
  background: rgba(88,183,255,.1);
  box-shadow: inset 0 -1px 0 rgba(88,183,255,.55), 0 0 16px rgba(88,183,255,.065);
}

.component-graph__controls button:hover:not(:disabled) { color: var(--text); background: rgba(255,255,255,.035); }
.component-graph__controls button:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 2px; }
.component-graph__controls button:disabled { opacity: .35; cursor: not-allowed; }

.component-graph__current {
  display: grid;
  min-width: 205px;
  justify-items: end;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(113,169,220,.2);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(88,183,255,.055), rgba(0,0,0,.18));
}
.component-graph__current span { color: var(--muted); font: 8px var(--font-mono); letter-spacing: .065em; text-transform: uppercase; }
.component-graph__current strong { color: var(--text); font: 600 18px var(--font-mono); letter-spacing: -.025em; }
.component-graph__current small { color: var(--muted); font: 8px/1.35 var(--font-mono); text-align: right; }

.component-graph__metrics {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.component-graph__metric {
  display: grid;
  min-width: 104px;
  align-content: center;
  gap: 3px;
  padding: 7px 9px;
  border-left: 1px solid rgba(151,183,219,.1);
}

.component-graph__metric span { color: var(--muted); font: 7px/1.25 var(--font-mono); letter-spacing: .055em; text-transform: uppercase; }
.component-graph__metric strong { color: var(--text-2); font: 500 10px/1.35 var(--font-mono); overflow-wrap: anywhere; }
.component-graph__summary { margin: 11px 0 0 !important; color: var(--text-2) !important; font-size: 8px !important; line-height: 1.55 !important; letter-spacing: .02em !important; text-transform: none !important; }
.component-graph__sparse { margin-top: 10px !important; padding: 8px 11px; border-left: 2px solid var(--amber); color: #f0cf8a !important; background: linear-gradient(90deg, rgba(242,184,75,.055), transparent); line-height: 1.55 !important; text-transform: none !important; }

.component-graph__plot {
  position: relative;
  min-width: 0;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid rgba(132,174,218,.095);
  border-radius: 10px;
  background:
    radial-gradient(circle at 84% 0%, rgba(88,183,255,.035), transparent 34%),
    linear-gradient(180deg, rgba(9,18,28,.62), rgba(3,8,13,.2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.018), inset 0 -22px 38px rgba(0,0,0,.08);
}

.component-graph__svg { display: block; width: 100%; min-width: 0; overflow: visible; }
.component-graph__x-axis {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 2.4% 7px 7.6%;
  color: var(--chart-axis);
  font: 8px/1.3 var(--font-mono);
  letter-spacing: .025em;
  white-space: nowrap;
}
.component-graph__gridline { stroke: var(--chart-grid); stroke-width: 1; vector-effect: non-scaling-stroke; }
.component-graph__gridline--vertical { stroke: var(--chart-grid-vertical); stroke-dasharray: 2 7; }
.component-graph__axis-label { fill: var(--chart-axis); font: 9px var(--font-mono); letter-spacing: .025em; }
.component-graph__axis-label--state { fill: color-mix(in srgb, var(--blue) 58%, var(--chart-axis)); font-size: 8px; letter-spacing: .08em; }
.component-graph__axis-label--availability { fill: color-mix(in srgb, var(--chart-axis) 82%, transparent); font-size: 7px; letter-spacing: .08em; }
.component-graph__state-track { fill: rgba(111,143,177,.045); stroke: rgba(132,174,218,.095); stroke-width: 1; vector-effect: non-scaling-stroke; }
.component-graph__availability-track { fill: rgba(111,143,177,.028); stroke: rgba(132,174,218,.085); stroke-width: 1; vector-effect: non-scaling-stroke; }

.component-graph__stop--start { stop-color: var(--chart-line-start); }
.component-graph__stop--mid { stop-color: var(--chart-line-mid); }
.component-graph__stop--end { stop-color: var(--chart-line-end); }
.component-graph__stop--fill-top { stop-color: var(--chart-line-mid); stop-opacity: .34; }
.component-graph__stop--fill-low { stop-color: var(--chart-line-mid); stop-opacity: .18; }
.component-graph__stop--fill-tail { stop-color: var(--chart-line-end); stop-opacity: .11; }
.component-graph__stop--fill-bottom { stop-color: var(--chart-line-end); stop-opacity: .015; }

.component-graph__state-bar {
  opacity: .78;
  stroke: rgba(225,241,255,.08);
  stroke-width: .45;
  transform-box: fill-box;
  transform-origin: center bottom;
  vector-effect: non-scaling-stroke;
}
.component-graph__state-bar--missing { opacity: .72; stroke: rgba(181,198,218,.12); }
.component-graph__rail-stop--top { stop-opacity: .98; }
.component-graph__rail-stop--mid { stop-opacity: .84; }
.component-graph__rail-stop--bottom { stop-opacity: .58; }
.component-graph__rail-stop[data-state="operational"] { stop-color: var(--chart-state-operational); }
.component-graph__rail-stop[data-state="degraded"] { stop-color: var(--chart-state-degraded); }
.component-graph__rail-stop[data-state="partial"] { stop-color: var(--chart-state-partial); }
.component-graph__rail-stop[data-state="major"] { stop-color: var(--chart-state-major); }
.component-graph__rail-stop[data-state="maintenance"] { stop-color: var(--chart-state-maintenance); }
.component-graph__rail-stop[data-state="unknown"] { stop-color: var(--chart-state-unknown); }
.component-graph__rail-stop[data-state="missing"] { stop-color: color-mix(in srgb, var(--status-chart-gap) 82%, #d4deea); }
.component-graph__rail-stop--bottom[data-state="missing"] { stop-opacity: .3; }

.component-graph__area {
  opacity: 1;
  transform-box: fill-box;
  transform-origin: center bottom;
}

.component-graph__line {
  fill: none;
  stroke-width: 2.05;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 2.5px var(--chart-glow));
  vector-effect: non-scaling-stroke;
}

.component-graph__line-reveal {
  transform-box: fill-box;
  transform-origin: left center;
}

.component-graph__point {
  fill: var(--chart-surface);
  stroke: var(--chart-line-mid);
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.component-graph__point:not(.is-current) { opacity: .5; }
.component-graph__point.is-current { fill: var(--chart-line-mid); stroke: #ecf8ff; stroke-width: 1.45; filter: drop-shadow(0 0 4px var(--chart-glow)); }
.component-graph__point--state[data-state="operational"] { fill: var(--chart-state-operational); }
.component-graph__point--state[data-state="degraded"] { fill: var(--chart-state-degraded); }
.component-graph__point--state[data-state="partial"] { fill: var(--chart-state-partial); }
.component-graph__point--state[data-state="major"] { fill: var(--chart-state-major); }
.component-graph__point--state[data-state="maintenance"] { fill: var(--chart-state-maintenance); }
.component-graph__point--state[data-state="unknown"] { fill: var(--chart-state-unknown); }
.component-graph__point:focus { outline: none; stroke: #fff; stroke-width: 2.6; }
.component-graph__tip { fill: none; stroke: var(--chart-line-mid); stroke-width: .8; opacity: .2; vector-effect: non-scaling-stroke; }

.component-graph__gap-band {
  fill: color-mix(in srgb, var(--status-chart-gap) 7%, transparent);
  stroke: none;
}

.component-graph__gap-band[data-gap-kind="leading"] { fill: transparent; stroke: rgba(126,145,166,.16); stroke-width: .55; stroke-dasharray: 3 5; }
.component-graph__gap-band--offline { fill: rgba(128,145,165,.11); stroke: rgba(150,166,184,.18); stroke-width: .6; opacity: 1; }
.component-graph__gap-label { fill: rgba(145,162,181,.78); font: 7px/1 var(--font-mono); letter-spacing: .055em; text-transform: uppercase; }
.component-graph__gap-label[data-gap-kind="leading"] { fill: rgba(126,145,166,.64); }
.component-graph__gap-label--offline { fill: rgba(190,201,212,.84); font-weight: 700; letter-spacing: .09em; }

.component-graph__offline-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(151,167,184,.18);
  border-radius: 9px;
  color: var(--muted);
  background: rgba(128,145,165,.055);
  font: 9px/1.5 var(--font-mono);
}

.component-graph__offline-notice strong { color: #c4d0db; text-transform: uppercase; letter-spacing: .06em; }

.component-graph__gap-bridge {
  fill: none;
  stroke: color-mix(in srgb, var(--status-chart-gap) 68%, transparent);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-dasharray: 4 6;
  opacity: .72;
  vector-effect: non-scaling-stroke;
}

.component-graph__crosshair,
.component-graph__hover-point { opacity: 0; pointer-events: none; transition: opacity 100ms ease; }
.component-graph__crosshair { stroke: var(--chart-crosshair); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.component-graph__hover-point { fill: var(--chart-line-mid); stroke: #fff; stroke-width: 1.5; filter: drop-shadow(0 0 5px var(--chart-glow)); vector-effect: non-scaling-stroke; }
.component-graph__crosshair.is-visible,
.component-graph__hover-point.is-visible { opacity: 1; }
.component-graph__hover-point[data-state="operational"] { fill: var(--chart-state-operational); }
.component-graph__hover-point[data-state="degraded"] { fill: var(--chart-state-degraded); }
.component-graph__hover-point[data-state="partial"] { fill: var(--chart-state-partial); }
.component-graph__hover-point[data-state="major"] { fill: var(--chart-state-major); }
.component-graph__hover-point[data-state="maintenance"] { fill: var(--chart-state-maintenance); }
.component-graph__hover-point[data-state="unknown"] { fill: var(--chart-state-unknown); }

.component-graph__tooltip {
  position: absolute;
  z-index: 4;
  display: grid;
  width: max-content;
  max-width: min(220px, calc(100% - 16px));
  gap: 4px;
  padding: 9px 10px;
  border: 1px solid rgba(88,183,255,.22);
  border-radius: 9px;
  background: var(--chart-tooltip);
  box-shadow: 0 14px 34px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.045);
  pointer-events: none;
}

.component-graph__tooltip[hidden] { display: none; }
.component-graph__tooltip span { color: var(--muted); font: 8px/1.35 var(--font-mono); }
.component-graph__tooltip strong { color: var(--text); font: 600 13px/1.3 var(--font-mono); }
.component-graph__tooltip small { color: var(--text-2); font: 9px/1.45 var(--font-body); }

.component-graph__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 9px; color: var(--muted) !important; font: 8px/1.5 var(--font-mono); text-transform: none !important; }
.component-graph__legend span::before { display: inline-block; width: 12px; height: 2px; margin: 0 6px 2px 0; border-radius: 999px; background: linear-gradient(90deg, var(--chart-line-start), var(--chart-line-end)); content: ""; }
.component-graph__legend-state::before { height: 6px !important; background: linear-gradient(90deg, var(--green), var(--amber), var(--orange), var(--red), var(--maintenance)) !important; }
.component-graph__legend-unobserved::before { height: 6px !important; border: 1px solid rgba(128,145,165,.18); background: rgba(128,145,165,.075) !important; }
.component-graph__legend-missing::before { height: 5px !important; border: 1px solid rgba(154,172,193,.14); background: linear-gradient(180deg, rgba(154,172,193,.62), rgba(100,116,135,.28)) !important; }
.component-graph__legend-gap::before { height: 0 !important; border: 0 !important; border-top: 1px dashed var(--status-chart-gap) !important; background: transparent !important; }
.component-graph__empty { display: grid; min-height: 160px; place-content: center; gap: 7px; margin-top: 14px; padding: 18px; border: 1px dashed var(--line-strong); border-radius: 10px; color: var(--muted); background: rgba(255,255,255,.015); text-align: center; }
.component-graph__empty strong { color: var(--text-2); font-size: 13px; }
.component-graph__empty p { margin: 0; color: var(--muted) !important; line-height: 1.55 !important; text-transform: none !important; }

.component-graph:is(.is-chart-primed, .is-chart-entering):not(.is-chart-visible) .component-graph__plot { opacity: 0; transform: translateY(4px); }
.component-graph:is(.is-chart-primed, .is-chart-entering):not(.is-chart-visible) .component-graph__area { opacity: 0; transform: scaleY(0); }
.component-graph:is(.is-chart-primed, .is-chart-entering):not(.is-chart-visible) .component-graph__line-reveal { transform: translateX(-100%); }
.component-graph:is(.is-chart-primed, .is-chart-entering):not(.is-chart-visible) .component-graph__state-bar { opacity: 0; transform: scaleY(.14); }
.component-graph:is(.is-chart-primed, .is-chart-entering):not(.is-chart-visible) .component-graph__gap-bridge,
.component-graph:is(.is-chart-primed, .is-chart-entering):not(.is-chart-visible) .component-graph__gap-band,
.component-graph:is(.is-chart-primed, .is-chart-entering):not(.is-chart-visible) .component-graph__gap-label { opacity: 0; }
.component-graph:is(.is-chart-primed, .is-chart-entering):not(.is-chart-visible) .component-graph__point.is-current,
.component-graph:is(.is-chart-primed, .is-chart-entering):not(.is-chart-visible) .component-graph__tip,
.component-graph:is(.is-chart-primed, .is-chart-entering):not(.is-chart-visible) .component-graph__legend { opacity: 0; }
.component-graph.is-chart-entering .component-graph__plot { transition: opacity 224ms ease, transform 224ms var(--ease); }
.component-graph.is-chart-entering .component-graph__area { transition: opacity 300ms var(--ease) 1880ms, transform 300ms var(--ease) 1880ms; }
.component-graph.is-chart-entering .component-graph__line-reveal { transition: transform 1640ms cubic-bezier(.22,.76,.2,1) 200ms; }
.component-graph.is-chart-entering .component-graph__state-bar { transition: opacity 576ms ease, transform 704ms cubic-bezier(.2,.78,.18,1); transition-delay: calc(136ms + var(--rail-reveal-delay, 0ms)); }
.component-graph.is-chart-entering .component-graph__gap-bridge,
.component-graph.is-chart-entering .component-graph__gap-band,
.component-graph.is-chart-entering .component-graph__gap-label { transition: opacity 344ms ease 1376ms; }
.component-graph.is-chart-entering .component-graph__gap-band--offline,
.component-graph.is-chart-entering .component-graph__gap-label--offline { transition-delay: 220ms; transition-duration: 260ms; }
.component-graph.is-chart-entering .component-graph__point.is-current { transition: opacity 220ms ease 1840ms; }
.component-graph.is-chart-entering .component-graph__legend { transition: opacity 224ms ease 1568ms; }
.component-graph.is-chart-entering.is-chart-visible .component-graph__tip { animation: chart-tip-settle 288ms ease-out 1840ms both; }

@keyframes chart-tip-settle {
  0% { opacity: 0; transform: scale(.55); transform-origin: center; }
  55% { opacity: .42; }
  100% { opacity: .24; transform: scale(1); transform-origin: center; }
}

.component-graph.is-range-leaving > * { opacity: 0; transform: translateY(2px); transition: opacity 130ms ease, transform 130ms ease; }
.component-graph.is-range-entering:not(.is-range-visible) > * { opacity: 0; transform: translateY(3px); }
.component-graph.is-range-entering > * { transition: opacity 230ms var(--ease), transform 230ms var(--ease); }

.component-state {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--component-color) 30%, transparent);
  border-radius: 999px;
  color: var(--component-color);
  background: color-mix(in srgb, var(--component-color) 7%, transparent);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.component-state::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  content: "";
}

.component-empty {
  padding: 34px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  color: var(--muted);
  text-align: center;
}

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

.operations-panel {
  --operation-accent: var(--amber);
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(159,194,229,.16);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--operation-accent) 5%, transparent), transparent 35%),
    linear-gradient(145deg, rgba(9,17,26,.91), rgba(5,11,17,.88));
  box-shadow: 0 24px 72px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.025);
}

.operations-panel[data-operation-panel="maintenance"] { --operation-accent: var(--maintenance); }
.operations-panel[data-operation-panel="incident"][data-empty="true"] { --operation-accent: var(--green); }

.operations-panel::before {
  position: absolute;
  top: 0;
  left: 14%;
  width: 34%;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--operation-accent) 68%, transparent), transparent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--operation-accent) 16%, transparent);
  content: "";
}

.operations-panel__header,
.operations-panel__header > div {
  display: flex;
  align-items: center;
}

.operations-panel__header {
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.operations-panel__header > div {
  min-width: 0;
  gap: 13px;
}

.operations-panel__header p {
  margin: 0 0 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.operations-panel__header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.025em;
}

.panel-icon {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--operation-accent) 30%, transparent);
  border-radius: 12px;
  color: var(--operation-accent);
  background: color-mix(in srgb, var(--operation-accent) 7%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--operation-accent) 7%, transparent), inset 0 1px 0 rgba(255,255,255,.03);
  font: 600 16px/1 var(--font-mono);
}

.panel-icon--maintenance {
  border-color: rgba(120,185,255,.3);
  color: var(--maintenance);
  background: rgba(120,185,255,.07);
}

.operations-panel[data-operation-panel="incident"][data-empty="true"] .panel-icon--incident {
  font-size: 0;
}

.operations-panel[data-operation-panel="incident"][data-empty="true"] .panel-icon--incident::before {
  position: absolute;
  inset: 0;
  width: 19px;
  height: 19px;
  margin: auto;
  background: currentColor;
  -webkit-mask: url("/assets/icons/ui/tick.svg") center / contain no-repeat;
  mask: url("/assets/icons/ui/tick.svg") center / contain no-repeat;
  transform: translate(.6px, -1.2px);
  content: "";
}

.count-chip {
  display: grid;
  min-width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(242,184,75,.3);
  border-radius: 999px;
  color: var(--amber);
  background: rgba(242,184,75,.07);
  font: 500 10px/1 var(--font-mono);
}

.count-chip--blue {
  border-color: rgba(120,185,255,.3);
  color: var(--maintenance);
  background: rgba(120,185,255,.07);
}

.operations-panel[data-operation-panel="incident"][data-empty="true"] .count-chip {
  border-color: rgba(98,222,162,.28);
  color: var(--green);
  background: rgba(98,222,162,.065);
}

.operations-list {
  display: grid;
  gap: 0;
  min-height: 170px;
}

.operation-empty {
  display: grid;
  min-height: 170px;
  place-items: center;
  color: var(--muted);
  border-radius: 13px;
  background: radial-gradient(circle at 50% 48%, rgba(98,222,162,.035), transparent 58%);
  text-align: center;
}

.operation-empty__mark {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 13px;
  place-items: center;
  border: 1px solid rgba(98,222,162,.2);
  border-radius: 15px;
  color: var(--green);
  background: rgba(98,222,162,.05);
  box-shadow: 0 0 28px rgba(98,222,162,.1), inset 0 1px 0 rgba(255,255,255,.035);
}

.operation-empty__mark::before {
  width: 23px;
  height: 23px;
  background: currentColor;
  -webkit-mask: url("/assets/icons/ui/tick.svg") center / contain no-repeat;
  mask: url("/assets/icons/ui/tick.svg") center / contain no-repeat;
  content: "";
}

.operation-empty strong {
  display: block;
  color: #dbe5ee;
  font-size: 13px;
}

.operation-empty p {
  max-width: 340px;
  margin: 7px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.operation-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.operation-item:last-child {
  border-bottom: 0;
}

.operation-item__top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.operation-item h4 {
  margin: 0;
  font-size: 14px;
}

.operation-item__meta,
.operation-item__body,
.operation-item__time {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.operation-item__meta {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.operation-item__body {
  margin: 10px 0 0;
}

.operation-item__time {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 9px;
}

.history-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  gap: 28px;
  align-items: start;
}

.history-timeline {
  position: relative;
  min-width: 0;
  min-height: 340px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(151,183,219,.14);
  border-radius: 21px;
  background:
    radial-gradient(circle at 0 0, rgba(88,183,255,.075), transparent 35%),
    linear-gradient(152deg, rgba(8,17,26,.92), rgba(3,9,15,.97));
  box-shadow: 0 28px 72px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.035);
  isolation: isolate;
}

.history-timeline::before {
  position: absolute;
  top: 0;
  right: 9%;
  left: 9%;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(88,183,255,.8), rgba(158,124,255,.58), transparent);
  box-shadow: 0 0 19px rgba(88,183,255,.24);
  content: "";
}

.history-timeline::after {
  position: absolute;
  top: -90px;
  right: -100px;
  width: 280px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(158,124,255,.085), transparent 66%);
  content: "";
  pointer-events: none;
}

.history-timeline__header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding: 13px 15px 15px;
  border-bottom: 1px solid rgba(151,183,219,.1);
}

.history-timeline__header > div span,
.history-timeline__header > div strong { display: block; }
.history-timeline__header > div span { color: #6f8599; font: 650 7px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.history-timeline__header > div strong { margin-top: 6px; color: #eaf2f8; font: 600 17px/1.15 var(--font-display); letter-spacing: -.02em; }
.history-timeline__count { flex: 0 0 auto; padding: 7px 9px; border: 1px solid rgba(126,177,218,.17); border-radius: 999px; color: #8fa8bc; background: rgba(2,8,13,.62); font: 600 7px/1 var(--font-mono); letter-spacing: .04em; }

.history-timeline__events {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.history-item {
  --history-rail-x: 32px;
  --history-marker-y: 32px;
  --history-connector-tail: -44px;
  position: relative;
  min-width: 0;
  min-height: 142px;
  overflow: visible;
  padding: 20px 20px 19px 68px;
  border: 1px solid color-mix(in srgb, var(--history-color, var(--green)) 15%, rgba(151,183,219,.09));
  border-radius: 15px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--history-color, var(--green)) 4%, transparent), transparent 30%),
    rgba(3,9,15,.64);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
  isolation: isolate;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 220ms ease;
}

.history-timeline.reveal .history-item {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms ease calc(var(--history-index, 0) * 70ms + 120ms), transform 520ms var(--ease) calc(var(--history-index, 0) * 70ms + 120ms), border-color 180ms ease, background 180ms ease, box-shadow 220ms ease;
}
.history-timeline.reveal.is-visible .history-item { opacity: 1; transform: none; }
.history-item:hover { border-color: color-mix(in srgb, var(--history-color, var(--green)) 36%, rgba(151,183,219,.13)); background: linear-gradient(90deg, color-mix(in srgb, var(--history-color, var(--green)) 7%, transparent), transparent 36%), rgba(4,11,18,.8); box-shadow: 0 16px 36px rgba(0,0,0,.19), inset 0 1px 0 rgba(255,255,255,.04); }

.history-item::before {
  position: absolute;
  top: calc(var(--history-marker-y) - 7px);
  left: calc(var(--history-rail-x) - 7px);
  z-index: 2;
  width: 10px;
  height: 10px;
  border: 2px solid #071019;
  border-radius: 50%;
  background: var(--history-color, var(--green));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--history-color, var(--green)) 14%, transparent), 0 0 16px color-mix(in srgb, var(--history-color, var(--green)) 42%, transparent);
  content: "";
  transition: box-shadow 180ms ease, transform 180ms var(--ease);
}
.history-item:hover::before { box-shadow: 0 0 0 4px color-mix(in srgb, var(--history-color, var(--green)) 18%, transparent), 0 0 22px color-mix(in srgb, var(--history-color, var(--green)) 56%, transparent); transform: scale(1.08); }

.history-item::after {
  position: absolute;
  top: var(--history-marker-y);
  bottom: var(--history-connector-tail);
  left: calc(var(--history-rail-x) - .5px);
  z-index: 1;
  width: 1px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--history-color, var(--green)) 54%, #8ba0b3), rgba(91,118,142,.24));
  box-shadow: 0 0 10px color-mix(in srgb, var(--history-color, var(--green)) 16%, transparent);
  content: "";
}
.history-item:last-child::after { display: none; }
.history-item > * { position: relative; z-index: 2; }

.history-item__date {
  display: block;
  margin-bottom: 9px;
  color: #7f95a8;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.history-item h3 {
  margin: 0;
  color: #f1f6fa;
  font: 600 18px/1.23 var(--font-display);
  letter-spacing: -.018em;
}

.history-item p {
  max-width: 640px;
  margin: 9px 0 0;
  color: #8498aa;
  font-size: 13px;
  line-height: 1.6;
}

.history-item__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 11px;
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--history-color, var(--green)) 25%, transparent);
  border-radius: 999px;
  color: var(--history-color, var(--green));
  background: color-mix(in srgb, var(--history-color, var(--green)) 6%, transparent);
  font: 500 8px/1 var(--font-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.history-item__chip::before { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; content: ""; }

.history-aside {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  overflow: hidden;
  padding: 31px;
  border: 1px solid rgba(151,183,219,.18);
  border-radius: 21px;
  background:
    radial-gradient(circle at 100% 0%, rgba(158,124,255,.14), transparent 38%),
    radial-gradient(circle at 0 100%, rgba(88,183,255,.07), transparent 34%),
    linear-gradient(148deg, rgba(10,19,29,.98), rgba(4,10,16,.99));
  box-shadow: 0 30px 78px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.045);
  isolation: isolate;
}

.history-aside::before { position: absolute; top: 0; right: 12%; left: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--blue), var(--violet), transparent); box-shadow: 0 0 18px rgba(88,183,255,.28); content: ""; }
.history-aside::after { position: absolute; right: -90px; bottom: -120px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(88,183,255,.08), transparent 67%); content: ""; pointer-events: none; }
.history-aside > * { position: relative; z-index: 1; }

.history-aside__signal {
  display: block;
  width: 58px;
  height: 3px;
  margin-bottom: 24px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  box-shadow: 0 0 18px rgba(88,183,255,.42);
}

.history-aside h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.04em;
}

.history-aside p:not(.section-kicker) {
  margin: 16px 0 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.67;
}

.history-aside__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0 0 22px; overflow: hidden; border: 1px solid rgba(151,183,219,.11); border-radius: 12px; background: rgba(2,8,13,.48); }
.history-aside__facts > div { min-width: 0; padding: 12px; }
.history-aside__facts > div + div { border-left: 1px solid rgba(151,183,219,.09); }
.history-aside__facts dt { color: #677e92; font: 650 7px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.history-aside__facts dd { margin: 7px 0 0; color: #d9e5ee; font: 550 10px/1.35 var(--font-mono); }
.history-aside .button { border-color: rgba(151,183,219,.22); background: rgba(8,18,27,.78); box-shadow: 0 13px 30px rgba(0,0,0,.17); }
.history-aside .button:hover { border-color: rgba(127,190,237,.42); background: rgba(11,24,35,.92); }

.transparency-section {
  padding-bottom: clamp(90px, 10vw, 150px);
}

.transparency-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  gap: clamp(38px, 7vw, 110px);
  overflow: hidden;
  padding: clamp(34px, 5vw, 68px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 0 100%, rgba(88,183,255,.09), transparent 32%),
    radial-gradient(circle at 100% 0, rgba(158,124,255,.09), transparent 34%),
    linear-gradient(145deg, rgba(10, 18, 27, .96), rgba(5, 11, 17, .98));
  box-shadow: 0 40px 100px rgba(0,0,0,.24);
}

.transparency-card::before {
  position: absolute;
  top: 0;
  left: 20%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--violet), transparent);
  box-shadow: 0 0 26px rgba(88,183,255,.35);
  content: "";
}

.transparency-card__copy > p:not(.section-kicker) {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.transparency-card__facts {
  display: grid;
  gap: 0;
  margin: 0;
}

.transparency-card__facts > div {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.transparency-card__facts > div:first-child {
  border-top: 1px solid var(--line);
}

.transparency-card dt {
  color: var(--muted);
  font-size: 12px;
}

.transparency-card dd {
  margin: 0;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  text-align: right;
  overflow-wrap: anywhere;
}

.transparency-card code {
  color: #9dd8ff;
  font: inherit;
}

.site-footer {
  position: relative;
  padding-top: 58px;
  border-top: 1px solid var(--line);
  background: rgba(2, 5, 8, .84);
}

.site-footer::before {
  position: absolute;
  top: -1px;
  left: 10%;
  width: 34%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(88,183,255,.55), transparent);
  content: "";
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
  gap: clamp(50px, 8vw, 120px);
  padding-bottom: 52px;
}

.brand--footer .brand__fallback-mark {
  width: 42px;
  height: 42px;
}

.site-footer__brand p {
  max-width: 350px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.site-footer__links > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer__links strong {
  margin-bottom: 4px;
  color: #dfe7ee;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-footer__links a,
.site-footer__bottom a,
.site-footer__bottom span {
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible,
.site-footer__bottom a:hover,
.site-footer__bottom a:focus-visible {
  color: #fff;
  outline: none;
}

.site-footer__bottom {
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
}

.site-footer__bottom > *:nth-child(2) {
  justify-self: center;
}

.site-footer__bottom > *:last-child {
  justify-self: end;
}

.reveal {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(18px);
  transition: opacity 620ms var(--ease), transform 720ms var(--ease), filter 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

[data-overall-state="operational"] { --state-color: var(--green); }
[data-overall-state="degraded"] { --state-color: var(--amber); }
[data-overall-state="partial"] { --state-color: var(--orange); }
[data-overall-state="major"],
[data-overall-state="critical"] { --state-color: var(--red); }
[data-overall-state="maintenance"] { --state-color: var(--maintenance); }
[data-overall-state="unknown"] { --state-color: var(--unknown); }

@media (max-width: 1080px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    display: none;
  }

  .status-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 96px;
  }

  .status-hero__copy {
    max-width: 850px;
  }

  .system-pulse {
    width: min(760px, 100%);
    margin-inline: auto;
  }

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

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

  .system-availability__metric:nth-child(4) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .system-availability__metric:nth-child(5) {
    border-top: 1px solid var(--line);
  }

  .status-metric:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .status-metric:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .history-layout,
  .transparency-card,
  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .history-aside {
    position: relative;
    top: auto;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 28px, 1240px);
    --header-height: 66px;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }

  .header-actions .button--quiet {
    display: none;
  }

  .nav-toggle {
    display: block;
    order: 2;
  }

  .header-actions {
    order: 3;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    left: 14px;
    display: grid;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: rgba(5, 11, 17, .98);
    box-shadow: 0 30px 70px rgba(0,0,0,.45);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms var(--ease);
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 12px 14px;
    border-radius: 9px;
  }

  .primary-nav a::after {
    content: none;
  }

  .primary-nav a:hover,
  .primary-nav a:focus-visible {
    background: rgba(255,255,255,.045);
  }

  .section-heading,
  .component-controls {
    grid-template-columns: 1fr;
  }

  .system-availability__header {
    grid-template-columns: 1fr;
  }

  .system-availability__actions {
    justify-items: start;
  }

  .section-heading {
    gap: 22px;
  }

  .section-heading > p {
    max-width: 680px;
    margin-top: 0;
    padding-left: 17px;
  }

  .component-controls {
    gap: 14px;
    padding: 14px;
  }

  .status-filters {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .status-filters button {
    padding-inline: 10px;
  }

  .component-grid,
  .operations-grid {
    grid-template-columns: 1fr;
  }

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

  .diagnostic-source {
    grid-column: 1 / -1;
  }

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

  .component-group__heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .component-group__counts {
    max-width: none;
    justify-content: flex-start;
  }

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

  .site-footer__bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 16px 0;
    text-align: center;
  }

  .site-footer__bottom > *:last-child {
    justify-self: center;
  }
}

@media (max-width: 600px) {
  :root {
    --shell: calc(100% - 22px);
  }

  .brand__fallback-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .brand__fallback-wordmark {
    font-size: 18px;
  }

  .header-actions .button {
    min-height: 36px;
    padding: 0 11px;
    font-size: 11px;
  }

  .status-hero {
    gap: 42px;
    padding: 68px 0 76px;
  }

  .status-hero h1 {
    font-size: clamp(43px, 14vw, 64px);
  }

  .status-hero__lede {
    font-size: 15px;
  }

  .status-hero__actions .button {
    width: 100%;
  }

  .status-source-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .system-pulse {
    padding: 18px 14px;
    border-radius: 19px;
  }

  .system-pulse__core {
    width: 190px;
    height: 190px;
  }

  .system-map {
    height: 310px;
    margin-top: 8px;
  }

  .system-map__routes {
    display: block;
    opacity: .78;
  }

  .system-map__hub {
    top: 50%;
  }

  .system-map__node {
    min-width: calc(50% - 10px);
    padding: 10px 10px 10px 28px;
  }

  .system-map__node--products { top: 12px; left: 0; }
  .system-map__node--core { top: 12px; right: 0; }
  .system-map__node--web { bottom: 12px; left: 0; }
  .system-map__node--dependencies { right: 0; bottom: 12px; }

  .system-pulse__footer {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .status-metrics {
    grid-template-columns: 1fr;
  }

  .system-availability__frame {
    padding: 22px 14px;
    border-radius: 19px;
  }

  .system-availability__metrics {
    grid-template-columns: 1fr;
  }

  .system-availability__metric {
    min-height: 88px;
  }

  .system-availability__metric + .system-availability__metric,
  .system-availability__metric:nth-child(4),
  .system-availability__metric:nth-child(5) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .overall-availability-graph {
    padding: 14px;
  }

  .status-metric {
    min-height: 124px;
  }

  .status-metric + .status-metric,
  .status-metric:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .component-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .component-card__top,
  .diagnostic-overview,
  .component-detail-rail__header,
  .component-details-grid,
  .component-detail-rail__summary {
    grid-template-columns: 1fr;
  }

  .component-card { min-height: 0; }
  .component-card__footer { display: grid; grid-template-columns: auto minmax(0, 1fr); }
  .component-card__toggle { width: 100%; }
  .component-card.is-expanded { padding-right: 14px; padding-left: 14px; }
  .component-graph { min-height: 0; padding: 14px; }
  .component-graph__header,
  .component-graph__toolbar { grid-template-columns: 1fr; }
  .component-graph__current { width: 100%; min-width: 0; justify-items: start; }
  .component-graph__current small { text-align: left; }
  .component-graph__controls { width: 100%; }
  .component-graph__controls button { min-width: 0; flex: 1; }
  .component-graph__metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }
  .component-graph__metric { min-width: 0; border-left: 0; border-bottom: 1px solid rgba(151,183,219,.08); }
  .component-graph__axis-label--y { display: none; }
  .component-graph__axis-label--availability { font-size: 6.5px; }
  .component-graph__x-axis { padding-right: 3%; padding-left: 8%; }
  .component-graph__x-axis span:not(:first-child):not(:last-child) { display: none; }
  .component-graph__line { stroke-width: 1.9; }
  .component-graph__legend { display: grid; }
  .component-intentional-state { padding: 16px; }
  .component-card__footer .report-menu__trigger { height: 100%; }

  .diagnostic-source { grid-column: auto; }

  .component-card__facts .component-card__latency { margin-left: 0; }

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

  .status-filters button:last-child {
    grid-column: 1 / -1;
  }

  .component-state {
    width: fit-content;
  }

  .section-heading h2,
  .transparency-card h2 {
    font-size: clamp(32px, 10vw, 48px);
  }

  .transparency-card {
    padding: 28px 22px;
  }

  .history-layout { gap: 18px; }
  .history-timeline { padding: 12px; border-radius: 17px; }
  .history-timeline__header { align-items: flex-start; flex-direction: column; gap: 11px; padding: 12px 10px 14px; }
  .history-timeline__count { width: fit-content; }
  .history-item { --history-rail-x: 24px; min-height: 0; padding: 18px 14px 18px 52px; border-radius: 13px; }
  .history-item h3 { font-size: 16px; }
  .history-item p { font-size: 12px; }
  .history-aside { padding: 24px 20px; border-radius: 17px; }
  .history-aside__facts { grid-template-columns: 1fr; }
  .history-aside__facts > div + div { border-top: 1px solid rgba(151,183,219,.09); border-left: 0; }

  .transparency-card__facts > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .transparency-card dd {
    text-align: left;
  }

  .site-footer__links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .component-card.is-deep-linked { animation: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }
  .component-graph__area { opacity: 1 !important; transform: none !important; }
  .component-graph__line-reveal { transform: none !important; }
  .component-graph__point,
  .component-graph__tip,
  .component-graph__legend,
  .component-graph__plot { opacity: 1 !important; transform: none !important; }
  .component-graph__state-bar { opacity: .78 !important; transform: none !important; }
  .component-graph__state-bar--missing { opacity: .72 !important; }
  .component-graph__tip { animation: none !important; }
  .component-graph__gap-bridge { opacity: .72 !important; }
  .component-graph__gap-band { opacity: 1 !important; }
  .component-graph__gap-band--offline,
  .component-graph__gap-label--offline { opacity: 1 !important; transition: none !important; }
  .system-availability__metric { animation: none !important; }
  .status-hero__feature-line,
  .system-pulse__rings span,
  .system-map__hub,
  .system-map__node,
  .system-map__signal { animation: none !important; }
  .status-hero__feature-line { background-position: 48% 50%; }
  .system-map__signal,
  .system-map__packet { display: none !important; }
}

@media (hover: none), (pointer: coarse) {
  .component-graph__tooltip,
  .component-graph__crosshair,
  .component-graph__hover-point { display: none !important; }
}

@media (forced-colors: active) {
  .button,
  .component-card,
  .system-pulse,
  .operations-panel,
  .transparency-card,
  .history-aside {
    border: 1px solid CanvasText;
  }
}


.status-page .brand__mark {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  object-fit: contain;
}

.status-page .brand__wordmark {
  display: block;
  width: auto;
  height: 25px;
  max-width: min(190px, 42vw);
  object-fit: contain;
}

.status-page .brand--footer .brand__mark { width: 36px; height: 36px; flex-basis: 36px; }
.status-page .brand--footer .brand__wordmark { height: 23px; }
.status-page .source-chip[data-state="unavailable"] span,
.status-page .system-pulse__live[data-state="unavailable"] span { background: var(--unknown); box-shadow: 0 0 12px color-mix(in srgb, var(--unknown) 42%, transparent); }
