:root {
  --ink: #202124;
  --muted: #6f747e;
  --line: #e1e4e8;
  --paper: #ffffff;
  --wash: #f4f7fa;
  --brand: #0549ff;
  --brand-dark: #0637bd;
  --brand-soft: #eaf0ff;
  --ok: #42985b;
  --ok-soft: #edf8f0;
  --warn: #b76813;
  --warn-soft: #fff2df;
  --bad: #b34754;
  --bad-soft: #fbeaec;
  --unknown: #68707d;
  --unknown-soft: #edf0f4;
  --shadow: 0 3px 12px rgba(31, 39, 51, 0.08);
  font-family: proxima-nova, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--wash);
  font-synthesis: none;
}

.history-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.range-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid #dfe3e8;
  border-radius: 999px;
  background: #f7f8fa;
}

.range-switch button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  background: transparent;
  color: #68707d;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.range-switch button.is-active {
  background: #fff;
  color: #1f2937;
  box-shadow: 0 1px 4px rgb(15 23 42 / 10%);
}

.history > span.missing {
  background: repeating-linear-gradient(
    135deg,
    #d7dce3,
    #d7dce3 2px,
    #eef0f3 2px,
    #eef0f3 4px
  );
}

.latency-trend {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #edf0f3;
}

.latency-trend > div:first-child {
  display: flex;
  justify-content: space-between;
  color: #68707d;
  font-size: 12px;
}

.latency-trend strong {
  color: #283240;
}

.latency-bars {
  height: 34px;
  margin-top: 9px;
  display: flex;
  align-items: end;
  gap: 2px;
}

.latency-bars span {
  flex: 1;
  min-width: 2px;
  max-width: 14px;
  border-radius: 2px 2px 0 0;
  background: #4169e1;
  opacity: .72;
}

.archive-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.secondary-button,
.copy-field button,
.feed-link {
  border: 1px solid #ccd2da;
  border-radius: 10px;
  background: #fff;
  color: #283240;
  padding: 10px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
}

.secondary-button:hover,
.copy-field button:hover,
.feed-link:hover {
  border-color: #4169e1;
  color: #3155c6;
}

.maintenance-countdown {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff5d6;
  color: #765c00;
  font-weight: 650;
}

.subscribe-dialog {
  width: min(560px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgb(15 23 42 / 28%);
}

.subscribe-dialog::backdrop {
  background: rgb(15 23 42 / 48%);
  backdrop-filter: blur(3px);
}

.subscribe-dialog-card {
  padding: 28px;
}

.subscribe-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.subscribe-dialog h2 {
  margin: 3px 0 0;
  font-size: 23px;
}

.subscribe-dialog label {
  display: block;
  margin: 22px 0 7px;
  color: #4c5665;
  font-size: 12px;
  font-weight: 700;
}

.dialog-close {
  border: 0;
  background: transparent;
  color: #68707d;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.copy-field {
  display: flex;
  gap: 8px;
}

.copy-field input {
  min-width: 0;
  flex: 1;
  border: 1px solid #ccd2da;
  border-radius: 10px;
  padding: 10px 12px;
  background: #f7f8fa;
  color: #283240;
  font: inherit;
  font-size: 13px;
}

.feed-link {
  display: inline-block;
  margin-top: 14px;
}

@media (max-width: 640px) {
  .history-controls {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .copy-field {
    flex-direction: column;
  }
}

.ops-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0;
}

.ops-actions #ops-action-result,
.form-actions span {
  color: #596474;
  font-size: 13px;
}

.queue-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 20px;
}

.queue-summary > div {
  display: grid;
  gap: 4px;
}

.queue-summary strong {
  font-size: 20px;
  color: #202a38;
}

.queue-summary span:not(.badge) {
  color: #68707d;
  font-size: 12px;
}

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

.ops-form label,
.ops-form fieldset {
  display: grid;
  gap: 7px;
  color: #4c5665;
  font-size: 12px;
  font-weight: 700;
}

.ops-form input,
.ops-form select,
.ops-form textarea,
.incident-update-form input,
.incident-update-form select {
  width: 100%;
  border: 1px solid #ccd2da;
  border-radius: 9px;
  padding: 10px 11px;
  background: #fff;
  color: #202a38;
  font: inherit;
  font-size: 13px;
  box-sizing: border-box;
}

.ops-form fieldset {
  margin: 0;
  border: 1px solid #e1e5ea;
  border-radius: 10px;
  padding: 14px;
}

.ops-form-wide {
  grid-column: 1 / -1;
}

.component-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 14px;
}

.component-checks label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
}

.component-checks input {
  width: auto;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ops-incident-card + .ops-incident-card {
  margin-top: 12px;
}

.ops-incident-card .incident-head p {
  margin: 4px 0 0;
  color: #68707d;
  font-size: 12px;
}

.incident-update-form {
  display: grid;
  grid-template-columns: 160px minmax(240px, 1fr) auto;
  gap: 8px;
  margin-top: 14px;
}

@media (max-width: 760px) {
  .queue-summary,
  .ops-form,
  .component-checks,
  .incident-update-form {
    grid-template-columns: 1fr;
  }

  .ops-form-wide {
    grid-column: auto;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 10% 0%, rgba(5, 73, 255, 0.075), transparent 34rem),
    var(--wash);
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.ops-page .site-header,
.ops-page main,
.ops-page footer { width: min(1440px, calc(100% - 40px)); }

.ops-summary { min-height: 150px; }
.ops-grid { display: grid; gap: 20px; }

.ops-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 8px 28px rgba(17, 55, 44, 0.035);
}

.ops-panel > h3 { margin: 0; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.table-scroll { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); background: var(--wash); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
td small { display: block; max-width: 390px; margin-top: 5px; color: var(--muted); overflow-wrap: anywhere; }
.ops-error { max-width: 360px; overflow-wrap: anywhere; }
.muted { color: var(--muted); }

.ops-service { display: block; }
.ops-service summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; }
.ops-service summary::-webkit-details-marker { display: none; }
.ops-service p { margin: 12px 0 0; }

.detail-list { display: grid; gap: 6px; margin: 12px 0 0; }
.detail-list div { display: grid; grid-template-columns: minmax(90px, 0.35fr) 1fr; gap: 10px; }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; overflow-wrap: anywhere; }

footer a { color: inherit; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand strong { color: var(--brand); }

.brand-mark {
  display: grid;
  width: 46px;
  height: 38px;
  place-items: center;
  padding: 9px 8px;
  border-radius: 6px;
  color: white;
  background: var(--brand);
}

.brand-mark svg { display: block; width: 100%; height: 100%; fill: currentColor; }

.status-page .site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  width: 100%;
  min-height: 86px;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(28, 33, 44, 0.08);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 30px rgba(25, 31, 43, 0.055);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.status-page .site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(5, 73, 255, 0.18), transparent);
  pointer-events: none;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  min-height: 85px;
  margin-inline: auto;
  gap: 28px;
}

.status-page .brand {
  gap: 0;
  color: var(--ink);
  white-space: nowrap;
}

.status-page .brand-mark {
  width: 46px;
  height: 29px;
  padding: 0;
  border-radius: 0;
  color: var(--brand);
  background: transparent;
  filter: drop-shadow(0 5px 9px rgba(5, 73, 255, 0.16));
}

.brand-name {
  margin-left: 15px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.brand-separator {
  width: 1px;
  height: 28px;
  margin-inline: 18px;
  background: linear-gradient(transparent, #cfd2d9 18%, #cfd2d9 82%, transparent);
}

.brand-product {
  color: #767985;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0.075em;
}

.site-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: #62636a;
}

.developer-docs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: #60636d;
  font-size: 15px;
  font-weight: 700;
  transition: color 160ms ease, background-color 160ms ease;
}

.developer-docs:hover { color: var(--ink); background: rgba(20, 25, 35, 0.045); }

.developer-docs svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.subscribe-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 4px 17px 4px 6px;
  border: 1px solid rgba(5, 73, 255, 0.24);
  border-radius: 999px;
  color: white;
  background: var(--brand);
  box-shadow: 0 8px 22px rgba(5, 73, 255, 0.21);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.subscribe-button:hover {
  color: white;
  background: #0642df;
  box-shadow: 0 10px 26px rgba(5, 73, 255, 0.28);
  transform: translateY(-1px);
}

.subscribe-button:focus-visible {
  outline: 3px solid rgba(5, 73, 255, 0.24);
  outline-offset: 2px;
}

.subscribe-button svg {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.refresh-note,
.legend,
footer {
  color: var(--muted);
  font-size: 13px;
}

main { padding: 34px 0 72px; }
.status-page main { padding-top: 42px; }

.overall-card {
  position: relative;
  min-height: 248px;
  padding: 38px 42px 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  color: white;
  background: var(--brand);
  box-shadow: var(--shadow);
  transition: background-color 180ms ease;
}

.overall-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: 48%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, black 45%);
  pointer-events: none;
}

.overall-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 112px;
}

.overall-copy { max-width: 760px; }

.overall-card.is-operational { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); }
.overall-card.is-degraded { background: #9c580e; }
.overall-card.is-outage { background: #96333a; }
.overall-card.is-unknown,
.overall-card.is-loading { background: #3c4257; }

.overall-card h1 {
  margin: 4px 0 8px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 750;
}

.overall-card p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.overall-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.overall-updated::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #85d099;
  box-shadow: 0 0 0 4px rgba(133, 208, 153, 0.13);
}

.overall-icon {
  display: grid;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  place-items: center;
  margin-left: 32px;
  border: 0;
  border-radius: 50%;
  color: var(--brand);
  background: white;
  box-shadow: 0 8px 24px rgba(0, 25, 92, 0.18);
  font-size: 32px;
  font-weight: 800;
}

.overall-card.is-degraded .overall-icon { color: var(--warn); }
.overall-card.is-outage .overall-icon { color: var(--bad); }
.overall-card.is-unknown .overall-icon,
.overall-card.is-loading .overall-icon { color: var(--unknown); }

.status-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 30px -42px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.status-facts div {
  padding: 20px 42px 22px;
}

.status-facts div + div { border-left: 1px solid rgba(255, 255, 255, 0.17); }
.status-facts dt { font-size: 17px; font-weight: 800; }
.status-facts dd { margin: 3px 0 0; color: rgba(255, 255, 255, 0.68); font-size: 12px; }

.eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section { margin-top: 54px; }
.is-hidden { display: none; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 5px 0 0;
  font-size: 24px;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.section-heading .eyebrow { color: var(--brand); }

.section-description {
  max-width: 660px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.legend {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
}

.groups,
.cells { display: grid; gap: 20px; }

.group,
.incident,
.cell,
.service-panel,
.region-card,
.error-box {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 2px 5px rgba(31, 39, 51, 0.045);
}

.service-panel { overflow: hidden; }

.service-panel > .skeleton {
  border: 0;
  border-radius: 9px;
}

.service-row { padding: 23px 25px 22px; }
.service-row + .service-row { border-top: 1px solid var(--line); }

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

.service-heading h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.015em;
}

.service-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.service-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 30px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 12px;
}

.service-metrics span {
  display: flex;
  gap: 7px;
}

.service-metrics strong { color: var(--ink); font-weight: 700; }
.service-error { margin: 13px 0 0; color: var(--bad); font-size: 13px; }
.empty-state { margin: 0; padding: 24px; color: var(--muted); }

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

.region-card {
  --region-accent: var(--unknown);
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-top: 3px solid var(--region-accent);
}

.region-card.is-operational { --region-accent: var(--ok); }
.region-card.is-degraded { --region-accent: var(--warn); }
.region-card.is-outage { --region-accent: var(--bad); }

.region-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.region-identity {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.region-code {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.region-role {
  margin: 1px 0 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.region-card h3 { margin: 0; font-size: 23px; letter-spacing: -0.025em; }
.region-location { margin: 3px 0 0; color: var(--muted); font-size: 13px; }

.region-metrics {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 1fr;
  gap: 1px;
  margin: 26px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--line);
}

.region-metrics div { min-width: 0; padding: 13px 14px; background: var(--wash); }
.region-metrics dt { color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; }
.region-metrics dd { margin: 5px 0 0; overflow-wrap: anywhere; font-size: 12px; font-weight: 700; }

.group-title {
  margin: 0;
  padding: 20px 24px 15px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 750;
}

.component { padding: 21px 24px; }
.component + .component { border-top: 1px solid var(--line); }

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

.component h3,
.cell h3,
.incident h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.015em;
}

.component p,
.cell p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.component-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px 16px;
  min-width: 240px;
  color: var(--muted);
  font-size: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.badge.is-operational { color: var(--ok); background: var(--ok-soft); }
.badge.is-degraded { color: var(--warn); background: var(--warn-soft); }
.badge.is-outage { color: var(--bad); background: var(--bad-soft); }
.badge.is-unknown { color: var(--unknown); background: var(--unknown-soft); }

.history {
  display: grid;
  grid-template-columns: repeat(90, minmax(2px, 1fr));
  gap: 2px;
  height: 26px;
  margin-top: 8px;
}

.history-block { margin-top: 18px; }

.history-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
}

.history-label strong { color: var(--ink); font-size: 12px; }

.history span {
  min-width: 2px;
  border-radius: 2px;
  background: var(--unknown-soft);
}

.history .good { background: #85d099; }
.history .mixed { background: #e3a44f; }
.history .bad { background: #d45a62; }

.incident { padding: 24px; }
.incident + .incident { margin-top: 14px; }

.incident-head,
.cell-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.incident-update {
  margin-top: 17px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.incident-update p { margin: 6px 0 0; line-height: 1.55; }
.incident-update time { color: var(--muted); font-size: 12px; }

.cell { padding: 22px 24px; }
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-top: 17px;
}

.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--wash);
  font-size: 13px;
}

.service-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--unknown);
}

.service-dot.is-operational { background: var(--ok); }
.service-dot.is-degraded { background: var(--warn); }
.service-dot.is-outage { background: var(--bad); }

.error-box { padding: 18px 20px; color: var(--bad); }

.monitoring-overview {
  display: grid;
  grid-template-columns: 0.78fr 1.6fr;
  gap: 42px;
  margin-top: 62px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white;
  box-shadow: var(--shadow);
}

.monitoring-intro h2 { margin: 6px 0 10px; font-size: 24px; letter-spacing: -0.03em; }
.monitoring-intro p:last-child { margin: 0; color: rgba(255, 255, 255, 0.67); font-size: 13px; line-height: 1.6; }

.monitoring-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.14);
}

.monitoring-signals article { padding: 18px; background: rgba(3, 36, 128, 0.82); }
.monitoring-signals h3 { margin: 18px 0 7px; font-size: 14px; }
.monitoring-signals p { margin: 0; color: rgba(255, 255, 255, 0.62); font-size: 12px; line-height: 1.55; }
.signal-number { color: #b0c7ff; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; }

.skeleton {
  height: 150px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(90deg, #fff 20%, #f0f4f2 45%, #fff 70%);
  background-size: 240% 100%;
  animation: shimmer 1.4s infinite linear;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
}

@keyframes shimmer { to { background-position: -240% 0; } }

@media (max-width: 720px) {
  .site-header,
  main,
  footer { width: min(100% - 24px, 1040px); }
  main { padding-top: 16px; }
  .status-page .site-header {
    min-height: 74px;
    margin: 0;
    padding: 0;
  }
  .site-header-inner {
    width: calc(100% - 24px);
    min-height: 73px;
    gap: 12px;
  }
  .status-page .brand-mark { width: 38px; height: 24px; }
  .brand-name { margin-left: 10px; font-size: 18px; }
  .brand-separator { height: 24px; margin-inline: 10px; }
  .brand-product { font-size: 13px; letter-spacing: 0.06em; }
  .developer-docs { display: none; }
  .subscribe-button { min-height: 42px; padding: 3px 13px 3px 5px; font-size: 13px; }
  .subscribe-button svg { width: 28px; height: 28px; padding: 5px; }
  .status-page main { padding-top: 28px; }
  .refresh-note { display: none; }
  .overall-card { min-height: 0; padding: 28px 24px 0; border-radius: 10px; }
  .overall-content { min-height: 116px; }
  .overall-icon { width: 52px; height: 52px; margin-left: 16px; font-size: 23px; }
  .status-facts { grid-template-columns: 1fr 1fr; margin: 24px -24px 0; }
  .status-facts div { padding: 17px 24px 19px; }
  .status-facts div + div { border-left: 1px solid rgba(255, 255, 255, 0.17); }
  .status-facts div:last-child { display: none; }
  .section { margin-top: 42px; }
  .legend { display: none; }
  .region-grid { grid-template-columns: 1fr; }
  .region-card { padding: 23px 20px; }
  .region-card-head { display: block; }
  .region-card-head > .badge { margin: 16px 0 0 63px; }
  .region-metrics { grid-template-columns: 1fr 1fr; }
  .region-metrics div:last-child { grid-column: 1 / -1; }
  .service-heading { display: block; }
  .service-heading > .badge { margin-top: 13px; }
  .service-metrics { display: grid; gap: 7px; }
  .component-main { display: block; }
  .component-meta { justify-content: flex-start; min-width: 0; margin-top: 14px; }
  .history { grid-template-columns: repeat(45, minmax(3px, 1fr)); }
  .history span:nth-child(-n+45) { display: none; }
  .monitoring-overview { grid-template-columns: 1fr; gap: 25px; margin-top: 48px; padding: 26px 22px; }
  .monitoring-signals { grid-template-columns: 1fr; }
  .monitoring-signals article { padding: 18px 20px; }
  .monitoring-signals h3 { margin-top: 9px; }
  footer { gap: 18px; flex-direction: column; }
}

@media (max-width: 350px) {
  .site-header-inner { gap: 8px; }
  .subscribe-button {
    width: 42px;
    min-width: 42px;
    padding: 3px;
    gap: 0;
  }
  .subscribe-button > span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
