:root {
  --bg: #ffffff;
  --fg: #2b2b2c;
  --muted: #6e6e70;
  --line: #e7e7e8;
  --red: #ef0114;
  --green: #1f8a5b;
  --amber: #a15c00;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}
a { color: var(--fg); }
.top, main, .foot { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.top { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; font-size: 18px; text-decoration: none; letter-spacing: -0.01em; }
.langs { display: flex; gap: 4px; }
.langs button { border: 0; background: none; padding: 6px 8px; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer; }
.langs button[aria-current="true"] { color: var(--fg); font-weight: 700; }
h1 { font-size: 28px; line-height: 1.2; margin: 32px 0 20px; letter-spacing: -0.02em; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; margin: 36px 0 12px; }
.state { border: 1px solid var(--line); border-left: 4px solid var(--muted); padding: 16px 20px; }
.state[data-overall="ok"] { border-left-color: var(--green); }
.state[data-overall="degraded"] { border-left-color: var(--amber); }
.state[data-overall="down"] { border-left-color: var(--red); }
.state-label { margin: 0; font-size: 20px; font-weight: 700; }
.state-time { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.components, .incidents { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.components li, .incidents li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.badge { font-size: 13px; font-weight: 600; white-space: nowrap; }
.badge[data-s="ok"] { color: var(--green); }
.badge[data-s="degraded"] { color: var(--amber); }
.badge[data-s="down"] { color: var(--red); }
.badge[data-s="unknown"] { color: var(--muted); }
.incidents li { flex-direction: column; gap: 2px; }
.incidents .when { font-size: 13px; color: var(--muted); }
.incidents .empty { color: var(--muted); }
.hint { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
form label { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
form label span { display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; font-weight: 400; color: var(--fg); background: #fff;
  border: 1px solid #cfcfd1; border-radius: 0; padding: 10px 12px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--fg); outline-offset: -1px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
button[type="submit"] { background: var(--fg); color: #fff; border: 0; padding: 12px 22px; font: inherit; font-weight: 600; cursor: pointer; }
button[type="submit"]:hover { background: var(--red); }
button[type="submit"][disabled] { opacity: 0.5; cursor: wait; }
.form-msg { margin: 14px 0 0; font-size: 14px; }
.form-msg[data-kind="ok"] { border-left: 3px solid var(--green); padding-left: 10px; }
.form-msg[data-kind="err"] { border-left: 3px solid var(--red); padding-left: 10px; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 48px; padding-top: 16px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot a { color: var(--muted); }
