:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #263047;
  background: #f6f7f9;
  font-synthesis: none;
  --green: #289949;
  --green-bar: #38c86b;
  --muted: #647083;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
:focus-visible {
  outline: 3px solid #667cff;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
header {
  background: #131b2e;
  color: #fff;
}
.header-inner,
main,
footer {
  max-width: 1016px;
  padding-left: 28px;
  padding-right: 28px;
  margin: auto;
}
.header-inner {
  padding-top: 34px;
  padding-bottom: 66px;
}
.brand-row,
.title-row,
.section-heading,
.service-heading,
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.brand {
  display: inline-flex;
}
.brand svg {
  display: block;
  height: 40px;
  width: auto;
}
.website-link {
  color: #d1d6e0;
  font-size: 13px;
}
.title-row {
  margin-top: 31px;
}
h1 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -0.55px;
  font-weight: 600;
}
h1 > span {
  color: #38c86b;
}
#updated {
  font-size: 11px;
  line-height: 1.7;
  color: #b3becf;
  margin: 0;
  text-align: right;
}
main {
  margin-top: -31px;
  padding-bottom: 26px;
}
.summary {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 27px 30px;
  border-radius: 7px;
  margin-bottom: 37px;
  background: #e9edf3;
  min-height: 108px;
  border: 1px solid #dae0e9;
}
.summary.operational {
  background: #e1f6e8;
  border-color: #bbe5c9;
  color: #187137;
}
.summary.degraded {
  background: #fff3d9;
  border-color: #f2d38d;
  color: #855611;
}
.summary.down {
  background: #fce6e7;
  border-color: #edbfc2;
  color: #a73040;
}
.summary-icon {
  width: 37px;
  height: 37px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: grid;
  place-items: center;
  font-size: 23px;
  line-height: 1;
  font-weight: 600;
}
.summary h2 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.4px;
  font-weight: 600;
}
.summary p {
  font-size: 12px;
  line-height: 1.6;
  margin: 7px 0 0;
}
.monitor-count {
  margin-left: auto;
  font-size: 12px;
  white-space: nowrap;
}
.section-heading {
  margin-bottom: 17px;
}
h2 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.15px;
  margin: 0;
}
.section-heading h2 span {
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
  margin-left: 7px;
}
.section-heading > span {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}
#services {
  display: grid;
  gap: 12px;
}
.service {
  padding: 23px 25px 17px;
  background: #fff;
  border: 1px solid #e1e5eb;
  border-radius: 6px;
}
.service-heading {
  margin-bottom: 19px;
}
h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}
.state {
  font-size: 12px;
  white-space: nowrap;
}
.state::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 1px;
}
.state.operational {
  color: #21833c;
}
.state.degraded {
  color: #a46b10;
}
.state.down {
  color: #bd3544;
}
.state.unknown {
  color: #687587;
}
.history {
  display: flex;
  gap: 5px;
}
.bar {
  display: block;
  flex: 1;
  height: 30px;
  min-width: 0;
  border-radius: 2px;
  position: relative;
}
.bar.operational,
.legend i.operational {
  background: var(--green-bar);
}
.bar.degraded,
.legend i.degraded {
  background: #e9a735;
}
.bar.unknown,
.legend i.unknown {
  background: #dce2eb;
}
.bar::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 11px;
  line-height: 1.7;
  color: #fff;
  background: #263047;
  z-index: 2;
  pointer-events: none;
  display: none;
}
.bar:hover::after,
.bar:focus::after {
  display: block;
}
.bar:first-child::after,
.bar:nth-child(2)::after,
.bar:nth-child(3)::after {
  left: 0;
  transform: none;
}
.bar:last-child::after,
.bar:nth-last-child(2)::after,
.bar:nth-last-child(3)::after {
  left: auto;
  right: 0;
  transform: none;
}
.history-axis {
  display: flex;
  justify-content: space-between;
  color: #738095;
  font-size: 10px;
  margin-top: 9px;
}
.service-stats {
  display: flex;
  justify-content: flex-end;
  gap: 21px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}
.service-stats strong {
  color: #43536b;
  font-weight: 500;
  margin-left: 4px;
}
.legend {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 10px;
}
.legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 1px;
}
.uptime-section {
  margin-top: 36px;
}
.overall-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.uptime-card {
  text-align: center;
  padding: 23px 16px;
  background: #fff;
  border: 1px solid #e1e5eb;
  border-radius: 6px;
}
.uptime-card strong {
  display: block;
  color: #263047;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.uptime-card span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.help-text {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin: 12px 0;
}
.empty {
  padding: 27px 24px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.about {
  margin-top: 30px;
  border-top: 1px solid #dfe4ec;
  padding-top: 22px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}
.about summary {
  cursor: pointer;
  font-size: 12px;
  color: #3f4e64;
}
.about p {
  max-width: 850px;
  margin-top: 12px;
}
footer {
  padding-top: 20px;
  padding-bottom: 30px;
  font-size: 11px;
  color: var(--muted);
}
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  background: #fff;
  padding: 12px;
  z-index: 3;
}
@media (max-width: 640px) {
  .header-inner,
  main,
  footer {
    padding-left: 18px;
    padding-right: 18px;
  }
  .header-inner {
    padding-top: 25px;
    padding-bottom: 57px;
  }
  .brand svg {
    height: 34px;
  }
  .website-link {
    font-size: 11px;
  }
  .title-row {
    display: block;
    margin-top: 25px;
  }
  h1 {
    font-size: 23px;
  }
  #updated {
    text-align: left;
    margin-top: 10px;
    font-size: 10px;
  }
  .summary {
    padding: 22px 18px;
    gap: 13px;
    margin-bottom: 28px;
  }
  .summary h2 {
    font-size: 19px;
  }
  .summary p {
    font-size: 11px;
  }
  .summary-icon {
    width: 31px;
    height: 31px;
    font-size: 20px;
  }
  .monitor-count {
    display: none;
  }
  .section-heading {
    gap: 12px;
    align-items: baseline;
  }
  h2 {
    font-size: 16px;
  }
  .section-heading h2 span {
    font-size: 11px;
    margin-left: 4px;
  }
  .section-heading > span {
    font-size: 10px;
  }
  .service {
    padding: 20px 16px 16px;
  }
  .service-heading {
    margin-bottom: 18px;
  }
  .state {
    font-size: 10px;
  }
  .history {
    gap: 3px;
  }
  .bar {
    height: 28px;
  }
  .bar::after {
    width: 165px;
    font-size: 10px;
  }
  .bar:nth-child(-n + 8)::after {
    left: 0;
    transform: none;
  }
  .bar:nth-last-child(-n + 8)::after {
    left: auto;
    right: 0;
    transform: none;
  }
  .service-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .service-stats > span {
    text-align: center;
  }
  .service-stats strong {
    display: block;
    margin-left: 0;
  }
  .legend {
    gap: 12px;
    justify-content: flex-start;
    font-size: 9px;
  }
  .overall-stats {
    gap: 8px;
  }
  .uptime-card {
    padding: 20px 5px;
  }
  .uptime-card strong {
    font-size: clamp(16px, 5vw, 20px);
  }
  .uptime-card span {
    font-size: 10px;
  }
  .help-text {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .bar {
    transition: filter 120ms;
  }
  .bar:hover {
    filter: brightness(0.9);
  }
}
