body.status-page {
  --healthy: #ffd76a;
  --slow: #b8862b;
  --down: #e5484d;
  --unknown: #2a2a2a;
  --line: #2d2b26;
  --muted: #aaa69c;
  background: #000;
  color: #e8e5dc;
  font:
    14px/1.45 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
}
.status-page [data-state='0'] {
  --signal: var(--unknown);
}
.status-page [data-state='1'] {
  --signal: var(--healthy);
}
.status-page [data-state='2'] {
  --signal: var(--slow);
}
.status-page [data-state='3'] {
  --signal: var(--down);
}
.status-page main {
  display: block;
  place-items: normal;
  width: min(1020px, 100%);
  margin: 0 auto;
  padding: 48px clamp(16px, 4vw, 48px) 36px;
}
.status-page button {
  font: inherit;
  background: none;
  color: inherit;
  border: 0;
  cursor: pointer;
}
.status-page :is(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--healthy);
  outline-offset: 2px;
}
.status-page [hidden] {
  display: none !important;
}
.status-page a {
  color: inherit;
}
.mast,
.stats-tabs,
.legend,
.ranges,
.section-head,
.panel-head,
.status-page footer {
  display: flex;
  align-items: center;
}
.mast {
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}
.mast a,
.stats-tabs a,
.status-page footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  border: none;
}
.mast a {
  min-width: 44px;
}
.mast span {
  color: #888;
}
.mast strong,
.mast .brand {
  color: #e8e5dc;
  font-weight: 600;
}
.brand {
  gap: 9px;
}
.stats-tabs {
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: clamp(10px, 2vw, 24px);
  overflow-x: auto;
  scrollbar-width: thin;
  border-bottom: 1px solid var(--line);
  margin: 4px 0 0;
}
.stats-tabs a {
  color: var(--muted);
  font-size: 12px;
  min-width: 44px;
  justify-content: center;
  flex: none;
}
.stats-tabs [aria-current],
.stats-tabs [data-stat='status'] {
  color: var(--healthy);
  box-shadow: inset 0 -2px var(--healthy);
}
.beacon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  min-height: 172px;
  padding: 24px 0 22px;
  gap: 10px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  margin: 0;
  color: #d6d3c9;
}
.status-page .dot::after {
  content: none;
}
.dot {
  display: inline-block;
  background: var(--signal);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}
[data-state='1'] .dot {
  box-shadow: 0 0 9px #ffd76a65;
}
.beacon h1 {
  color: #f3f0e8;
  font-weight: 500;
  letter-spacing: -0.065em;
  font-size: clamp(1.95rem, 5.1vw, 3.8rem);
  line-height: 1.15;
  margin: 10px 0;
}
.muted,
.panel-head p,
.section-head span,
.footnote,
.legend,
.chart-detail,
.stat-copy,
.status-page footer {
  color: var(--muted);
}
#checked,
.panel-head p,
.footnote {
  font-size: 12px;
  margin: 0;
}
.lantern {
  width: clamp(76px, 14vw, 132px);
  flex: none;
  color: var(--signal);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 16px;
  border-block: 1px solid var(--line);
  padding: 16px 0;
}
.metrics div + div {
  border-left: 1px solid var(--line);
  padding-left: clamp(10px, 3vw, 28px);
}
.metrics dt,
.section-head span {
  font-size: 11px;
  color: var(--muted);
}
.metrics dd {
  font-size: clamp(16px, 2.5vw, 28px);
  letter-spacing: -0.045em;
  margin: 3px 0 0;
}
.load-state {
  min-height: 20px;
  position: relative;
  color: #d5c7a6;
  font-size: 12px;
}
.load-state:has(#retry:not([hidden])) {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
#retry {
  color: var(--healthy);
  min-height: 44px;
  text-decoration: underline;
}
.track {
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  overflow: hidden;
  height: 2px;
  background: #24231f;
}
.track i {
  display: block;
  width: 35%;
  height: 100%;
  background: var(--healthy);
  animation: sweep 1.3s ease-in-out infinite alternate;
}
@keyframes sweep {
  to {
    transform: translateX(185%);
  }
}
.panel {
  background: #090908;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(14px, 2.6vw, 26px);
}
.panel-head,
.section-head {
  justify-content: space-between;
  gap: 12px;
}
.status-page h2 {
  font-size: clamp(17px, 2.5vw, 22px);
  font-weight: 500;
  letter-spacing: -0.045em;
  margin: 0;
}
.panel-head p {
  margin: 4px 0 0;
}
.ranges {
  gap: 2px;
  border: 1px solid #39362c;
  border-radius: 6px;
  padding: 2px;
}
.ranges button {
  min-height: 44px;
  min-width: 44px;
  color: #b9b6aa;
  font-size: 12px;
  border-radius: 3px;
}
.ranges [aria-pressed='true'] {
  color: var(--healthy);
  background: #292416;
}
.chart {
  height: 216px;
  position: relative;
  margin-top: 14px;
}
.plot {
  display: block;
  width: 100%;
  height: 180px;
  touch-action: pan-y;
  cursor: crosshair;
}
.chart-detail {
  margin: 5px 0 0;
  font-size: 11px;
  min-height: 31px;
  line-height: 1.35;
}
.plot text {
  font:
    10px ui-monospace,
    monospace;
  fill: #a4a198;
}
.plot .empty-label {
  font-size: 13px;
}
.legend {
  margin: 0;
  padding: 12px 0 0;
  gap: 10px 20px;
  border-top: 1px solid var(--line);
  list-style: none;
  flex-wrap: wrap;
  font-size: 11px;
}
.legend li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.legend [data-state='0'] .dot {
  outline: 1px solid #73716c;
}
.systems,
.incidents {
  margin-top: 36px;
}
.section-head {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.days-count {
  font-weight: 400;
}
.days-count::before {
  content: '90';
}
.service {
  border-bottom: 1px solid var(--line);
}
.row {
  display: grid;
  grid-template-columns: minmax(150px, 1.3fr) minmax(160px, 3fr) 70px 78px;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  position: relative;
}
.row-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  min-height: 44px;
  padding: 0;
  font-size: 13px !important;
}
.row-toggle::before {
  content: '›';
  color: var(--muted);
  font-size: 16px;
  transition: transform 0.16s;
}
.row-toggle[aria-expanded='true']::before {
  transform: rotate(90deg);
}
.day-strip {
  display: block;
  width: 100%;
  height: 44px;
  touch-action: pan-y;
  cursor: crosshair;
}
.percent {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}
.spark {
  width: 100%;
  height: 24px;
}
.day-detail {
  position: absolute;
  left: 24%;
  bottom: 100%;
  z-index: 2;
  background: #191916;
  border: 1px solid #484439;
  color: #e6e2d8;
  padding: 7px 10px;
  border-radius: 4px;
  font-size: 11px;
  pointer-events: none;
  max-width: 75%;
}
.service .chart {
  margin: 0 0 12px;
  padding: 6px 0;
  background: #090908;
}
.footnote {
  margin-top: 12px;
  font-size: 11px;
}
#incidents {
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 64px;
}
#incidents li {
  font-size: 12px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.status-page footer {
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-top: 36px;
  font-size: 12px;
}
.status-page footer button {
  padding: 0;
  min-height: 44px;
}
.status-page .lang-switcher {
  margin: 0;
  min-height: 44px;
  justify-content: flex-start;
  gap: 3px;
}
.status-page .lang-switcher a {
  min-width: 44px;
  justify-content: center;
  color: #aaa69c;
}
.status-page .corner-nav :is(button, a) {
  min-width: 44px;
  min-height: 44px;
}
@media (max-width: 650px) {
  .status-page main {
    padding-top: 52px;
  }
  .stats-tabs {
    gap: 8px;
  }
  .row {
    grid-template-columns: minmax(0, 1fr) auto 46px;
    gap: 0 10px;
    min-height: 75px;
  }
  .day-strip {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .row-toggle {
    grid-column: 1;
    grid-row: 1;
  }
  .percent {
    grid-column: 2;
    grid-row: 1;
  }
  .spark {
    grid-column: 3;
    grid-row: 1;
  }
  .days-count::before {
    content: '30';
  }
  .day-detail {
    left: 0;
    max-width: 100%;
  }
  .beacon {
    min-height: 156px;
  }
  .beacon h1 {
    min-height: 2.3em;
    max-width: 14ch;
  }
  .lantern {
    width: 68px;
  }
  .panel-head {
    flex-wrap: wrap;
  }
  .panel-head p {
    font-size: 11px;
  }
  .chart {
    height: 202px;
  }
  .plot {
    height: 160px;
  }
  .legend {
    gap: 8px 12px;
  }
  .systems,
  .incidents {
    margin-top: 24px;
  }
  .metrics dt {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .status-page *,
  .status-page *::before {
    animation: none !important;
    transition: none !important;
  }
}

.column-guide {
  display: grid;
  grid-template-columns: minmax(150px, 1.3fr) minmax(160px, 3fr) 70px 78px;
  gap: 14px;
  padding: 12px 0 3px;
  color: var(--muted);
  font-size: 10px;
}
.column-guide span:nth-child(n + 3) {
  text-align: right;
}
@media (max-width: 650px) {
  .column-guide {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }
  .column-guide span:nth-child(2) {
    display: none;
  }
}

#checks:empty {
  height: 660px;
  background: repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 55px);
}
@media (max-width: 650px) {
  #checks:empty {
    height: 1068px;
    background-size: 100% 89px;
  }
}
