:root {
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #192e42;
  background: #f2f6fa;
  color-scheme: light dark;
  --surface: #fff;
  --border: #dbe5ee;
  --muted: #566f85;
  --ink: #192e42;
  --accent: #086593;
  --good: #167652;
  --goodbg: #edf8f2;
  --warn: #986014;
  --warnbg: #fff7e9;
  --bad: #a53c3b;
  --badbg: #fff2f0;
  --neutral: #61748a;
  --neutralbg: #f2f5f8;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
.wrap {
  width: min(100% - 40px, 850px);
  margin-inline: auto;
}
.header {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 750;
  text-decoration: none;
}
.brand svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sun {
  stroke: #e49d20;
}
.water {
  stroke: #1686b1;
}
.back {
  font-size: 0.9rem;
  font-weight: 650;
}
main {
  padding-top: 64px;
  padding-bottom: 64px;
}
.intro {
  margin-bottom: 32px;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 9px;
}
.intro h1 {
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
  margin: 0 0 12px;
}
.intro > p:last-child {
  color: var(--muted);
  margin: 0;
}
.overview {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px;
  background: var(--neutralbg);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.overview[data-state='operational'] {
  background: var(--goodbg);
}
.overview[data-state='degraded'] {
  background: var(--warnbg);
}
.overview[data-state='unavailable'] {
  background: var(--badbg);
}
.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--neutral);
  margin-top: 8px;
  flex: none;
}
.overview[data-state='operational'] .status-dot {
  background: var(--good);
}
.overview[data-state='degraded'] .status-dot {
  background: var(--warn);
}
.overview[data-state='unavailable'] .status-dot {
  background: var(--bad);
}
.overview h2 {
  font-size: 1.1rem;
  margin: 0 0 3px;
}
.overview p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}
.section-title {
  margin: 42px 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.section-title h2 {
  font-size: 1.1rem;
  margin: 0;
}
.section-title span {
  font-size: 0.85rem;
  color: var(--muted);
}
.card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
}
.row + .row {
  border-top: 1px solid var(--border);
}
.row h3 {
  font-size: 1rem;
  margin: 0 0 3px;
}
.row p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}
.value {
  font-size: 0.9rem;
  white-space: nowrap;
  text-align: right;
  color: var(--muted);
}
.value[data-tone='good'] {
  color: var(--good);
}
.value[data-tone='warn'] {
  color: var(--warn);
}
.value[data-tone='bad'] {
  color: var(--bad);
}
.note {
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.9rem;
}
.note h2 {
  font-size: 1rem;
  color: var(--ink);
  margin: 0 0 6px;
}
.note p {
  margin: 6px 0;
}
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}
button {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
  font: inherit;
  font-weight: 650;
  padding: 9px 14px;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #1686b1;
  outline-offset: 3px;
}
.footer {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  padding-bottom: 32px;
  color: var(--muted);
  font-size: 0.86rem;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 560px) {
  main {
    padding-top: 42px;
  }
  .row {
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
  }
  .value {
    white-space: normal;
    min-width: 85px;
  }
  .section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
  .overview {
    padding: 20px;
  }
  .footer {
    flex-direction: column;
    gap: 7px;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    color: #e4eef5;
    background: #0d1726;
    --surface: #152337;
    --border: #283b50;
    --muted: #acc0d1;
    --ink: #e4eef5;
    --accent: #87cbea;
    --good: #76d3a6;
    --goodbg: #152c29;
    --warn: #e8bd75;
    --warnbg: #332a20;
    --bad: #f0a09c;
    --badbg: #352427;
    --neutral: #adbfcd;
    --neutralbg: #1b2939;
  }
}
