:root {
  color-scheme: light;
  --ink: #202326;
  --muted: #68717b;
  --line: #d7dde2;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --green: #1d7f5f;
  --red: #aa4141;
  --amber: #a96f16;
  --teal-soft: #dff3ed;
  --rose-soft: #f7e4e1;
  --gold-soft: #f6ecd6;
  --blue-soft: #e7eef6;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}
a { color: inherit; }
.layout {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}
.masthead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 18px;
  border-bottom: 1px solid var(--line);
}
.masthead h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 66px);
  line-height: 0.95;
  letter-spacing: 0;
}
.masthead--detail h1 { font-size: clamp(32px, 5vw, 54px); }
.eyebrow, .stamp, .metric__label, .metric__note, .state, .pill, .back {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}
.stamp { text-align: right; white-space: nowrap; }
.metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.metric {
  min-height: 108px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
}
.metric__value {
  margin-top: 10px;
  font-size: 30px;
  font-weight: 760;
}
.notice {
  margin: 14px 0 18px;
  padding: 14px 16px;
  border: 1px solid #e1cfa7;
  background: var(--gold-soft);
  border-radius: 8px;
}
.bot-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.bot-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  transition: transform .14s ease, border-color .14s ease;
}
.bot-card:hover { transform: translateY(-2px); border-color: #9aa6ad; }
.bot-card--ok { background: linear-gradient(180deg, #ffffff 0%, var(--teal-soft) 100%); }
.bot-card--warn { background: linear-gradient(180deg, #ffffff 0%, var(--gold-soft) 100%); }
.bot-card--muted { background: linear-gradient(180deg, #ffffff 0%, #edf0f2 100%); }
.bot-card__top { display: flex; justify-content: space-between; gap: 12px; }
.bot-card h2 {
  margin: 18px 0 8px;
  font-size: 26px;
  line-height: 1;
  overflow-wrap: anywhere;
}
.bot-card p { min-height: 44px; color: #3c444b; }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
}
.state { padding-top: 4px; }
.bot-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 10px;
  font-size: 14px;
}
.bot-grid span { color: var(--muted); }
.bot-grid strong { text-align: right; font-weight: 720; overflow-wrap: anywhere; }
.bot-grid--wide strong { text-align: left; }
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0;
}
.panel {
  min-width: 0;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.panel h2 { margin: 0 0 12px; font-size: 20px; }
.status {
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  white-space: nowrap;
}
.status--ok { color: var(--green); background: var(--teal-soft); border-color: #a9d5c6; }
.status--warn { color: var(--amber); background: var(--gold-soft); border-color: #dfc38f; }
.status--muted { color: var(--muted); background: #edf0f2; }
.back {
  display: inline-block;
  margin-bottom: 14px;
  text-decoration: none;
}
.mono-path {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  color: #35404a;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th, td {
  padding: 9px 7px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
th { color: var(--muted); font-weight: 650; }
.empty { color: var(--muted); margin: 0; }
.timeline {
  margin: 0;
  padding-left: 18px;
}
.timeline li { margin: 8px 0; overflow-wrap: anywhere; word-break: break-word; }
.timeline span { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
@media (max-width: 940px) {
  .metrics, .bot-list, .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .layout { width: min(100vw - 20px, 1180px); padding-top: 14px; }
  .masthead { display: block; }
  .stamp { text-align: left; margin-top: 12px; white-space: normal; }
  .metrics, .bot-list, .split { grid-template-columns: 1fr; }
  .metric { min-height: 92px; }
  .bot-card { min-height: 280px; }
  .bot-grid, .bot-grid--wide { grid-template-columns: 1fr; }
  .bot-grid strong { text-align: left; min-width: 0; }
  table { display: block; overflow-x: auto; white-space: normal; }
}