* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: #222;
  font-family: system-ui, sans-serif;
}

main {
  width: min(100% - 32px, 560px);
  margin: 64px auto;
}

h1 {
  margin: 0 0 24px;
  font-size: 1.6rem;
}

#services {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.service-name {
  font-weight: 600;
}

.service-status {
  margin-left: auto;
  color: #555;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.indicator.operational {
  background-color: #218739;
}

.indicator.degraded,
.indicator.partial_outage {
  background-color: #d98b00;
}

.indicator.major_outage {
  background-color: #c62828;
}

.indicator.unknown {
  background-color: #888;
}

.service-status.operational {
  color: #218739;
}

.service-status.degraded,
.service-status.partial_outage {
  color: #a76800;
}

.service-status.major_outage {
  color: #c62828;
}

.service-status.unknown {
  color: #777;
}

.updated {
  margin-top: 20px;
  color: #555;
}
