:root {
  font-family: system-ui, sans-serif;
  color: #17241e;
  background: #f5f8f6;
  font-synthesis: none;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

.shell {
  width: min(48rem, calc(100% - 2rem));
  margin-inline: auto;
}

.masthead {
  padding-block: 1.5rem;
  border-bottom: 1px solid #d7e2db;
}

.masthead img {
  display: block;
}

main {
  padding-block: clamp(2rem, 6vw, 4rem);
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

h3 {
  font-size: 1.0625rem;
}

.panel {
  background: #fff;
  border: 1px solid #d7e2db;
  border-radius: 1rem;
}

.overview,
.notice {
  padding: clamp(1rem, 4vw, 1.5rem);
}

.overall {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.overall::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: currentColor;
}

.checked,
.incident-time {
  margin-top: 0.5rem;
  color: #526359;
  font-size: 0.875rem;
}

.components > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.875rem clamp(1rem, 4vw, 1.5rem);
  border-top: 1px solid #e3ebe5;
}

.components dd {
  font-size: 0.875rem;
  font-weight: 650;
}

[data-state="healthy"] {
  color: #006b36;
}

[data-state="degraded"] {
  color: #855200;
}

[data-state="unavailable"] {
  color: #a12b2b;
}

[data-state="unknown"] {
  color: #526359;
}

.incidents {
  margin-top: 2rem;
}

.notice + .notice {
  border-top: 1px solid #e3ebe5;
}

.notice h3,
.incident-message {
  overflow-wrap: anywhere;
}

.incident-message {
  margin-top: 0.5rem;
  white-space: pre-wrap;
}
