@font-face {
  font-family: Geist;
  src: url("/fonts/geist.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #f6f5f1;
  --surface: #fff;
  --ink: #202622;
  --muted: #60675f;
  --rule: #dedfd7;
  --green: #27704d;
  --amber: #925417;
  --red: #b4382d;
  --unknown: #6b716b;
  --orange: #c34d2b;
  --sans: Geist, Arial, sans-serif;
  --radius: 6px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.55 var(--sans);
  font-variant-numeric: tabular-nums;
}
::selection {
  background: #f4cfb6;
  color: var(--ink);
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button {
  font: inherit;
  cursor: pointer;
  color: inherit;
}
button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
header,
main,
footer {
  width: min(1264px, calc(100% - 80px));
  margin: auto;
}
header {
  height: 100px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  text-decoration: none;
  font-size: 34px;
  letter-spacing: -0.04em;
  font-weight: 650;
  display: flex;
  align-items: baseline;
  gap: 15px;
}
.brand span {
  font-size: 14px;
  font-weight: 450;
  letter-spacing: 0;
  color: var(--muted);
}
.location {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}
#refresh {
  border: 1px solid #b6bdb3;
  background: transparent;
  padding: 10px 16px;
  border-radius: var(--radius);
  min-height: 44px;
  font-size: 13px;
}
#refresh:hover {
  background: #e9ece5;
}
#refresh:disabled {
  cursor: wait;
  opacity: 0.65;
}
#refresh span {
  margin-left: 8px;
  font-size: 18px;
}
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding: 58px 0 48px;
}
h1 {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 20px;
  text-wrap: balance;
}
.intro > div > p {
  color: var(--muted);
  margin: 0;
  font-size: 16px;
}
.summary {
  position: relative;
  padding-left: 28px;
}
.summary > .dot {
  position: absolute;
  top: 10px;
  left: 0;
}
.summary h2 {
  font-weight: 550;
  font-size: 23px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.summary p {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
}
.summary .stamp {
  font-size: 12px;
  margin-top: 15px;
}
.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
  background: var(--unknown);
}
.dot.ok {
  background: var(--green);
}
.dot.degraded {
  background: var(--amber);
}
.dot.down {
  background: var(--red);
}
.dot.unknown {
  background: var(--unknown);
}
.workspace {
  display: grid;
  grid-template-columns: 305px minmax(0, 1fr);
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}
.services {
  padding: 26px 20px;
  border-right: 1px solid var(--rule);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.section-head h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}
.section-head > span {
  font-size: 11px;
  color: var(--muted);
}
.service-group {
  margin: 25px 10px 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
}
.service {
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 4px;
  background: none;
  padding: 12px 10px;
  margin: 2px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 12px;
  align-items: center;
}
.service:hover {
  background: #f3f4ef;
}
.service[aria-pressed="true"] {
  background: #eaf0e8;
}
.service-name {
  font-size: 14px;
  font-weight: 550;
}
.service-state {
  font-size: 11px;
  color: var(--muted);
  grid-column: 1;
}
.service .dot {
  grid-column: 2;
  grid-row: 1/3;
}
.small {
  font-size: 12px;
  color: var(--muted);
  margin: 24px 10px 0;
}
.detail {
  padding: 30px 32px;
  min-width: 0;
}
.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.detail-head h2 {
  font-weight: 550;
  font-size: 24px;
  letter-spacing: -0.025em;
  margin: 0;
}
.detail-head p {
  font-size: 13px;
  color: var(--muted);
  margin: 5px 0 0;
}
.period {
  white-space: nowrap;
  border: 1px solid var(--rule);
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 4px;
}
.chart-key {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
  margin-top: 29px;
}
.chart-key > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend-line {
  width: 20px;
  height: 2px;
  background: var(--orange);
}
.legend-unknown {
  width: 12px;
  height: 8px;
  background: #e5e7e1;
  border: 1px dashed #8c9489;
}
.chart {
  margin: 14px 0 8px;
  min-height: 220px;
}
.chart svg {
  display: block;
  width: 100%;
  height: 220px;
  overflow: visible;
}
.chart text {
  font: 11px var(--sans);
  fill: var(--muted);
}
.gridline {
  stroke: #e8eae3;
  stroke-width: 1;
}
.chart-line {
  stroke: var(--orange);
  stroke-width: 2;
  fill: none;
}
.chart-point {
  fill: var(--orange);
}
.chart-unknown {
  fill: #e5e7e1;
}
.metrics {
  display: flex;
  gap: 45px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.metrics > div {
  display: flex;
  flex-direction: column;
}
.metrics strong {
  font-size: 25px;
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.metrics span {
  font-size: 11px;
  color: var(--muted);
}
.coverage {
  font-size: 12px;
  color: var(--muted);
  margin: 13px 0 0;
  max-width: 72ch;
}
.service-note {
  font-size: 13px;
  background: var(--paper);
  padding: 15px 18px;
  margin-top: 18px;
  border-radius: 4px;
}
.service-note p {
  margin: 0 0 8px;
}
.service-note a {
  font-size: 12px;
}
.history-head {
  margin: 35px 0 8px;
}
.incident {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
}
.incident > .dot {
  margin-top: 6px;
}
.incident h3 {
  font-size: 13px;
  font-weight: 550;
  margin: 0 0 3px;
}
.incident p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.empty {
  padding: 25px 0;
  font-size: 13px;
  color: var(--muted);
}
.sources {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr 1fr;
  gap: 35px;
  padding: 45px 0 55px;
}
.sources > h2 {
  font-weight: 550;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 14ch;
}
.sources h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 10px;
}
.sources p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 12px;
  max-width: 45ch;
}
.sources a {
  display: block;
  font-size: 12px;
  margin: 8px 0;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--rule);
  padding: 22px 0 32px;
  font-size: 11px;
  color: var(--muted);
}
.notice {
  border: 1px solid #c99047;
  background: #fff7e9;
  padding: 14px 18px;
  font-size: 13px;
  border-radius: var(--radius);
  color: #72450e;
  margin: 0 0 24px;
}
.notice[hidden],
.service-note[hidden] {
  display: none;
}
@media (max-width: 950px) {
  header,
  main,
  footer {
    width: calc(100% - 40px);
  }
  .intro {
    gap: 35px;
  }
  .workspace {
    grid-template-columns: 250px minmax(0, 1fr);
  }
  .detail {
    padding: 25px 22px;
  }
  .sources {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .location {
    display: none;
  }
  .brand {
    margin-right: auto;
  }
  .metrics {
    gap: 24px;
  }
}
@media (max-width: 640px) {
  header,
  main,
  footer {
    width: calc(100% - 32px);
  }
  header {
    height: 78px;
    gap: 12px;
  }
  .brand {
    font-size: 28px;
    gap: 8px;
  }
  .brand span {
    font-size: 11px;
  }
  #refresh {
    padding: 9px 11px;
    font-size: 11px;
  }
  #refresh span {
    display: none;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px 0;
  }
  .intro h1 {
    font-size: 36px;
  }
  .intro > div > p {
    font-size: 14px;
  }
  .summary h2 {
    font-size: 20px;
  }
  .summary p {
    font-size: 13px;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .services {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding: 21px 16px;
  }
  .service {
    padding: 11px;
    min-height: 55px;
  }
  .service-group {
    margin-top: 16px;
  }
  #service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 8px;
  }
  .service-group {
    grid-column: 1/-1;
  }
  .small {
    margin: 14px 10px 0;
  }
  .detail {
    padding: 24px 18px;
  }
  .detail-head h2 {
    font-size: 22px;
  }
  .detail-head p {
    font-size: 12px;
  }
  .period {
    font-size: 11px;
  }
  .chart-key {
    gap: 15px;
  }
  .metrics {
    justify-content: space-between;
    gap: 8px;
  }
  .metrics strong {
    font-size: 23px;
  }
  .metrics span {
    font-size: 11px;
  }
  .sources {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 34px 0;
  }
  .sources > h2 {
    max-width: 22ch;
    font-size: 25px;
  }
  .sources p {
    max-width: 65ch;
    font-size: 13px;
  }
  footer {
    flex-wrap: wrap;
    gap: 10px;
  }
  footer > span:nth-child(2) {
    order: 3;
    width: 100%;
  }
}
