:root {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #e9eeed;
  background: #0c1415;
  font-synthesis: none;
  --muted: #8b9b9a;
  --line: #2a3838;
  --accent: #d4fa74;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 1320px;
  margin: auto;
  padding: 28px 44px;
}
header {
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}
.brand {
  font-size: 27px;
  font-weight: 850;
  letter-spacing: 3px;
  color: #fff;
  text-decoration: none;
}
.signal {
  color: var(--accent);
  font-size: 23px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  font-weight: 650;
}
header .pill {
  margin-left: auto;
}
.pill {
  font:
    10px ui-monospace,
    monospace;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 12px;
  letter-spacing: 1px;
  white-space: nowrap;
}
[hidden] {
  display: none !important;
}
.login-panel {
  max-width: 360px;
  margin: 80px auto;
}
.login-panel h1 {
  font-size: 24px;
}
#login {
  display: grid;
  gap: 16px;
}
#login input {
  min-width: 0;
  width: 100%;
}
#login button {
  background: var(--accent);
  color: #182019;
}
#login-error {
  color: #ffa884;
  min-height: 1.5em;
  font-size: 13px;
}
#workspace {
  margin-top: 24px;
}
#message:empty {
  display: none;
}
#logout {
  font-size: 12px;
}
input {
  background: #132021;
  border: 1px solid var(--line);
  color: #fff;
  padding: 12px;
  border-radius: 5px;
  min-width: 270px;
}
button {
  cursor: pointer;
  font: inherit;
  color: inherit;
  border: 1px solid var(--line);
  background: #1a2828;
  border-radius: 5px;
  padding: 10px 16px;
}
button:hover {
  border-color: var(--accent);
}
button:disabled {
  opacity: 0.4;
  cursor: wait;
}
#message {
  color: var(--muted);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}
.metrics article {
  padding: 24px;
  background: #111d1e;
}
.metrics p {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin: 0 0 14px;
}
.metrics strong {
  display: block;
  font-size: 32px;
  font-weight: 500;
}
.metrics em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  margin-left: 8px;
}
.metrics small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 12px;
}
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.panel {
  background: #111c1d;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 25px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 12px;
}
h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}
.fault {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 18px;
  background: #152223;
  padding: 18px;
  margin: 12px 0;
}
.fault > span:last-child {
  margin-left: auto;
  color: var(--muted);
}
.icon {
  font-size: 25px;
  color: #faad8a;
}
b {
  font-size: 13px;
  font-weight: 600;
}
small {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 6px;
  line-height: 1.5;
}
.load {
  margin: 22px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.load-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.load-buttons button {
  flex: 1;
  padding: 12px 8px;
}
.load-buttons button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #182019;
}
.load-buttons button[aria-pressed="true"] small {
  color: #35482b;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.actions button {
  font-size: 11px;
}
.hint {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
}
h3 {
  font-size: 23px;
  font-weight: 500;
  margin: 30px 0 12px;
}
dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 11px;
  margin: 30px 0;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
  font-family: ui-monospace, monospace;
}
.investigate {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
blockquote {
  margin: 12px 0 18px;
  font-size: 17px;
}
.investigate a {
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 12px;
}
.investigate a:hover,
.investigate a:focus-visible {
  border-color: var(--accent);
  text-decoration: underline;
}
.recovery-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#follow-status {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
#investigate-prompt {
  margin-top: 24px;
}
#delivery {
  font-size: 12px;
  color: #ffa884;
}
.timeline-panel {
  margin-top: 24px;
}
ol {
  padding: 0;
  list-style: none;
  max-height: 240px;
  overflow: auto;
}
li {
  display: flex;
  gap: 24px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
li time {
  color: var(--muted);
  font:
    11px ui-monospace,
    monospace;
  min-width: 90px;
}
.good {
  color: var(--accent);
}
.bad {
  color: #ffa884;
}
footer {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
  margin-top: 32px;
  gap: 20px;
}
@media (max-width: 800px) {
  main {
    padding: 20px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .columns {
    grid-template-columns: 1fr;
  }
  header .eyebrow {
    display: none;
  }
  .section-title > .eyebrow {
    display: none;
  }
  footer {
    flex-direction: column;
  }
}
