/* status.html and tr/status.html: the page's own content under the shared chrome (blog.css), scoped
 * to .doc. On the dark page --body is light text; blog.css's --body is the paper's dark text. */
.doc a {
  color: var(--glow);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.doc {
  --body: #c9cbd6;
  --line: rgba(255, 255, 255, 0.1);
  --ok: #4ade80;
  --warn: #fbbf24;
  --bad: #f87171;
  --none: #6b6e80;
  max-width: 760px;
  margin: 0 auto;
  padding: 160px 24px 96px;
}
.doc h1 {
  margin: 0 0 12px;
  font-size: 46px;
  font-weight: 500;
  letter-spacing: -1.6px;
  line-height: 1.05;
}
.doc h1 span {
  display: block;
  color: var(--dim);
}
.doc .lead {
  margin: 0 0 40px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
}
.doc h2 {
  margin: 0 0 16px;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.4px;
}
.doc p {
  color: var(--body);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 12px;
}
.doc .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
  background: var(--none);
}
.doc .operational .dot {
  background: var(--ok);
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.6);
}
.doc .degraded .dot {
  background: var(--warn);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.55);
}
.doc .outage .dot {
  background: var(--bad);
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.55);
}
.doc .banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}
.doc .banner.operational {
  border-color: rgba(74, 222, 128, 0.35);
}
.doc .banner.degraded {
  border-color: rgba(251, 191, 36, 0.4);
}
.doc .banner.outage {
  border-color: rgba(248, 113, 113, 0.45);
}
.doc .banner b {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.3px;
}
.doc .banner small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--dim);
  line-height: 1.5;
}
.doc .updated {
  margin: 12px 0 48px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.4px;
}
.doc .components {
  margin: 0 0 56px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.doc .component {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.doc .comp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.doc .name {
  font-size: 17px;
  font-weight: 500;
}
.doc .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  color: var(--body);
  white-space: nowrap;
}
.doc .pill .dot {
  width: 7px;
  height: 7px;
  box-shadow: none;
}
.doc .bars {
  display: flex;
  gap: 2px;
  height: 30px;
}
.doc .bars i {
  flex: 1;
  min-width: 0;
  border-radius: 2px;
  background: var(--none);
  opacity: 0.35;
}
.doc .bars i.ok {
  background: var(--ok);
  opacity: 0.85;
}
.doc .bars i.warn {
  background: var(--warn);
  opacity: 0.95;
}
.doc .bars i.bad {
  background: var(--bad);
  opacity: 1;
}
.doc .bars i:hover {
  opacity: 1;
}
.doc .scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--dim);
}
.doc .scale .short {
  display: none;
}
.doc .incidents {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.doc .incident {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.doc .incident h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 500;
}
.doc .incident .meta {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--glow);
  letter-spacing: 0.3px;
}
.doc .incident p {
  white-space: pre-line;
}
.doc .empty {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
[hidden] {
  display: none !important;
}
@media (max-width: 640px) {
  .doc h1 {
    font-size: 36px;
  }
  .doc {
    padding-top: 116px;
  }
  .doc .bars i:nth-child(-n + 60) {
    display: none;
  }
  .doc .bars {
    gap: 3px;
  }
  .doc .scale .long {
    display: none;
  }
  .doc .scale .short {
    display: inline;
  }
}
