@font-face {
  font-family: "Soehne";
  src: url("/fonts/soehne-buch.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Soehne";
  src: url("/fonts/soehne-kraftig.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #fff;
  --ink: #1a1a1a;
  --muted: #333;
  --line: #e6e6e6;
  --blue: #1e4be9;
  --blue-bright: #315eff;
  --green: #059669;
  --green-bar: #059669;
  --amber: #8a5a00;
  --amber-bar: #e09a12;
  --red: #c42332;
  --red-bar: #e24b4b;
  --blue-bar: #315eff;
  --gray: #5c6570;
  --gray-bar: #e3e3e3;
  --wash-green: #ecfdf5;
  --wash-amber: #fbf3df;
  --wash-red: #fdecee;
  --wash-blue: #eef2ff;
  color-scheme: light;
}
* { box-sizing: border-box; }
::selection { background: #d9e2ff; color: #010b6c; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 "Soehne", "Avenir Next", "Segoe UI", sans-serif;
}
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-bright); }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: var(--ink); padding: 8px 12px; }
.skip:focus { left: 8px; top: 8px; z-index: 2; }
header, main, footer { width: min(840px, calc(100% - 40px)); margin: 0 auto; }
header { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0 18px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; color: inherit; text-decoration: none; }
.brand img { display: block; width: 148px; height: 30px; }
nav { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 400; }
nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }
nav a:hover { color: var(--ink); }
h1 { font-size: clamp(36px, 5vw, 48px); line-height: 1.05; font-weight: 500; letter-spacing: -0.03em; margin: 0; }
h2 { font-size: 22px; line-height: 1.2; margin: 36px 0 0; font-weight: 500; letter-spacing: -0.02em; }
h3 { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.25; }
.banner { margin: 28px 0 8px; padding: 0; background: transparent; border: 0; }
.banner h1 { max-width: 16ch; }
.hero-mark { width: 56px; height: 56px; display: block; margin: 0 0 16px; }
.updated { color: var(--muted); margin: 8px 0 0; font-size: 15px; }
.board { margin-top: 28px; border: 1px solid var(--line); border-radius: 12px; overflow: visible; }
.board, .group, .group-body, .component, .bars { min-width: 0; }
.group { border-top: 1px solid var(--line); }
.group:first-child { border-top: 0; }
.group summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 500; line-height: 1.3; }
.group summary > span:first-child { flex: 1; min-width: 0; }
.group summary::-webkit-details-marker { display: none; }
.group summary::marker { content: ""; }
.group:not([open]) summary { background: #f5f5f7; }
.group-body { padding: 0 16px 4px; }
.pill { display: inline-flex; flex: none; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 8px 3px 10px; font-size: 13px; font-weight: 500; line-height: 1.2; background: var(--gray-bar); color: var(--gray); }
.pill.operational { color: var(--ink); background: #f2f3f5; padding: 4px 10px 4px 5px; gap: 7px; }
.pill.degraded { color: var(--amber); background: var(--wash-amber); }
.pill.downtime { color: var(--red); background: var(--wash-red); }
.pill.maintenance { color: var(--blue); background: var(--wash-blue); }
.pill .badge { width: 18px; height: 18px; flex: none; color: var(--green); }
.pill .badge circle { fill: currentColor; }
.pill.operational .chevron { color: #8a8f98; }
.chevron { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -3px; }
.group[open] .chevron { transform: rotate(-135deg); margin-top: 2px; }
.component { padding: 10px 0 8px; border-top: 1px solid var(--line); }
.group-body .component:first-child { border-top: 0; }
.component-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.name-line { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.mark { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--green); }
.mark circle { fill: currentColor; }
.explain, .axis, .muted, footer, .legend { color: var(--muted); }
.explain, .error { margin: 1px 0 0; font-size: 13px; line-height: 1.3; }
.error { color: var(--red); }
.state { margin: 1px 0 0; font-size: 13px; font-weight: 500; line-height: 1.3; letter-spacing: 0.01em; }
.state.operational { color: var(--green); }
.state.degraded { color: var(--amber); }
.state.downtime { color: var(--red); }
.state.maintenance { color: var(--blue); }
.state.not_monitored { color: var(--gray); }
.uptime { margin: 0; text-align: right; font-size: 13px; line-height: 1.3; font-variant-numeric: tabular-nums; white-space: nowrap; }
.uptime.operational { color: var(--green); }
.uptime.degraded { color: var(--amber); }
.uptime.downtime { color: var(--red); }
.uptime.maintenance { color: var(--blue); }
.bars { display: grid; grid-template-columns: repeat(90, minmax(0, 1fr)); gap: 1px; height: 28px; margin-top: 6px; }
.bars .day { display: block; position: relative; min-width: 0; height: 28px; border-radius: 0; background: var(--gray-bar); text-decoration: none; }
.bars .day:first-child { border-radius: 3px 0 0 3px; }
.bars .day:last-child { border-radius: 0 3px 3px 0; }
.bars .operational { background: var(--green-bar); }
.bars .degraded { background: var(--amber-bar); }
.bars .downtime { background: var(--red-bar); }
.bars .maintenance { background: var(--blue-bar); }
.bars a.day { cursor: pointer; }
.tip {
  display: none;
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  width: max-content;
  max-width: 220px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #1a1a1a;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  white-space: normal;
}
.tip::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.bars .day:first-child .tip { left: 0; transform: none; }
.bars .day:last-child .tip { left: auto; right: 0; transform: none; }
.bars .day:hover .tip, .bars .day:focus-visible .tip { display: block; }
.tip-date { display: block; color: #c8c8c8; }
.tip-title { display: block; margin-top: 2px; }
.axis { display: flex; justify-content: space-between; font-size: 12px; line-height: 1.2; margin-top: 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; margin: 12px 0 0; }
.swatch { width: 10px; height: 10px; display: inline-block; margin-right: 6px; vertical-align: -1px; border-radius: 2px; }
.swatch.operational { background: var(--green-bar); }
.swatch.degraded { background: var(--amber-bar); }
.swatch.downtime { background: var(--red-bar); }
.swatch.maintenance { background: var(--blue-bar); }
.incident { border-top: 1px solid var(--line); padding: 16px 0; }
.incident h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.incident h3 a { color: inherit; text-decoration: none; }
.incident h3 a:hover { color: var(--blue); }
.prose { white-space: pre-wrap; }
form { display: grid; gap: 14px; margin: 16px 0 28px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
input, textarea, select, button { font: inherit; color: var(--ink); }
input, textarea, select {
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 400;
}
textarea { min-height: 140px; resize: vertical; }
button, .button {
  width: fit-content;
  background: #1a1a1a;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
button:hover, .button:hover { background: var(--blue); color: #fff; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.checks label { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.honeypot { position: absolute; left: -9999px; }
.notice, .warn { padding: 12px 14px; background: var(--wash-blue); border-radius: 8px; color: #010b6c; }
.warn { background: var(--wash-amber); color: #5c3b00; }
footer { padding: 36px 0 56px; font-size: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 28px; }
footer a { color: var(--muted); }
body.report-page header, body.report-page main, body.report-page footer { width: min(1040px, calc(100% - 48px)); }
.report-layout { display: grid; grid-template-columns: minmax(220px, 0.82fr) minmax(300px, 1.18fr); gap: 28px 56px; align-items: start; margin-top: 36px; }
.report-layout h1 { grid-column: 1 / -1; margin: 0; }
.report-copy h2 { margin: 0 0 8px; font-size: 18px; }
.report-copy p { margin: 0 0 32px; max-width: 38ch; color: var(--muted); }
.report-card { border: 1px solid var(--line); border-radius: 14px; padding: 8px 18px 6px; background: #fafafa; }
.report-card form { margin: 8px 0 12px; }
.report-card input::placeholder, .report-card textarea::placeholder { color: #8a8f98; }
.report-card button { justify-self: center; margin-top: 6px; background: var(--blue-bright); }
.report-card button:hover { background: var(--blue); }
.req { color: var(--muted); font-weight: 500; }
@media (max-width: 800px) {
  .report-layout { grid-template-columns: 1fr; gap: 8px; }
  .report-copy p:last-child { margin-bottom: 8px; }
}
@media (max-width: 640px) {
  header, main, footer { width: min(840px, calc(100% - 32px)); }
  .component-head, header { flex-direction: column; align-items: flex-start; }
  .uptime { text-align: left; }
  h1 { font-size: 34px; }
  .axis span:nth-child(2), .axis span:nth-child(3) { display: none; }
  .group summary { flex-wrap: wrap; row-gap: 8px; }
  .group summary > span:first-child { flex: 1 1 100%; }
  .pill { margin-left: auto; }
}
