:root {
  --bg: #f7f8f9; --fg: #16202a; --muted: #5a6875; --rule: #dfe4e8; --accent: #0b6a80;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1418; --fg: #e3e9ed; --muted: #94a3ae; --rule: #273139; --accent: #5cc3d8; color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
.page {
  max-width: 980px; margin: 0 auto; padding-block: 20px 64px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
nav { display: flex; gap: 12px; align-items: baseline; font-size: 14px; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.brand { font: 600 15px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--fg); text-decoration: none; }
header { padding-block: 36px 24px; }
.eyebrow { font: 500 12px ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin: 0 0 8px; }
h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.1; margin: 0 0 12px; text-wrap: balance; overflow-wrap: anywhere; }
.lede { color: var(--muted); max-width: 62ch; margin: 0; font-size: 17px; }
agentlog-activity { --al-fg: var(--fg); --al-muted: var(--muted); --al-rule: var(--rule); --al-accent: var(--accent); }
.notes { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); max-width: 70ch; }
.notes h2 { font-size: 18px; margin: 0 0 8px; }
.notes ul { padding-left: 20px; color: var(--muted); }
.notes li { margin: 6px 0; }
code { font: 0.9em ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
a { color: var(--accent); }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
th { font: 500 12px ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tag { font-size: 11px; color: var(--muted); border: 1px solid var(--rule); border-radius: 3px; padding: 1px 5px; margin-left: 6px; }
