:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #18212f;
  background: #eef2f4;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #eef2f4; }
a { color: inherit; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  border-bottom: 1px solid #d4dde2;
  background: #fff;
  padding: 0 max(20px, calc((100% - 1120px) / 2));
}

.brand-link { font-weight: 800; text-decoration: none; }
nav { display: flex; gap: 20px; }
nav a { color: #52616b; font-size: 14px; text-decoration: none; }
main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 72px; }
.intro { max-width: 740px; }
.eyebrow { margin: 0 0 8px; color: #087f5b; font-size: 12px; font-weight: 800; }
h1 { margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: 1.08; letter-spacing: 0; }
.intro > p:last-child { margin: 18px 0 0; color: #52616b; font-size: 18px; line-height: 1.7; }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 36px 0;
  border-block: 1px solid #cbd6dc;
}
.metrics div { padding: 22px 0; }
.metrics div + div { border-left: 1px solid #cbd6dc; padding-left: 28px; }
.metrics strong { display: block; font-size: 28px; }
.metrics span { color: #667780; font-size: 13px; }

.workspace { border-top: 3px solid #18212f; background: #fff; padding: 24px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
h2 { margin: 0; font-size: 24px; }
.status { color: #087f5b; font-size: 14px; font-weight: 800; }
.status.error, .error { color: #b42318; }
.filters { display: flex; gap: 8px; overflow-x: auto; margin: 22px 0; padding-bottom: 4px; }
.filters button { flex: none; border: 1px solid #cbd6dc; border-radius: 4px; background: #fff; padding: 7px 11px; cursor: pointer; }
.filters button.active { border-color: #18212f; background: #18212f; color: #fff; }
.event-list { display: grid; }
.event { border-top: 1px solid #dce3e7; padding: 22px 0; }
.event-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.type { color: #087f5b; font-size: 12px; font-weight: 800; }
time { color: #73818a; font-size: 13px; }
.event h3 { margin: 9px 0; font-size: 19px; }
.event p { margin: 0; color: #45545d; line-height: 1.65; white-space: pre-wrap; }
.event-footer { margin-top: 13px; color: #73818a; font-size: 13px; }
.event-footer a { color: #075fba; }
.message { margin: 0; padding: 48px 0; color: #667780; text-align: center; }

@media (max-width: 640px) {
  main { width: min(100% - 24px, 560px); padding-top: 30px; }
  .topbar { padding-inline: 16px; }
  .metrics { grid-template-columns: 1fr; }
  .metrics div + div { border-top: 1px solid #cbd6dc; border-left: 0; padding-left: 0; }
  .workspace { padding: 18px; }
  .section-head { align-items: flex-start; }
}
