:root {
  --ink: #171b22;
  --paper: #f5f3ea;
  --accent: #f2ff66;
  --line: rgba(23, 27, 34, .17);
  --muted: #62665d;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.5 ui-sans-serif, system-ui, sans-serif; }
a { color: inherit; }
.topbar { display: flex; align-items: center; justify-content: space-between; max-width: 1160px; margin: auto; padding: 24px; }
.brand { font: 850 18px/1 ui-monospace, monospace; letter-spacing: -.04em; text-decoration: none; }
.home, #refresh { border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; background: transparent; font: 750 12px/1 ui-sans-serif, system-ui, sans-serif; text-decoration: none; cursor: pointer; }
main { max-width: 1160px; margin: auto; padding: 58px 24px 90px; }
.intro { max-width: 840px; }
.eyebrow { margin: 0 0 12px; color: #687037; font: 800 10px/1 ui-monospace, monospace; letter-spacing: .18em; }
h1 { margin: 0; font-size: clamp(54px, 8vw, 108px); line-height: .88; letter-spacing: -.07em; }
.lede { max-width: 560px; margin: 27px 0 0; color: var(--muted); font-size: 18px; }
.tracker, .operator { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: end; margin: 72px 0 16px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.42); }
.operator { margin: 0 0 72px; background: var(--ink); color: white; }
.operator .eyebrow, .operator p { color: #c7c9be; }
h2 { margin: 0; font-size: 25px; letter-spacing: -.03em; }
.tracker form, .operator form { display: grid; grid-template-columns: 1fr auto; gap: 9px; }
.tracker label, .operator label { grid-column: 1 / -1; font-size: 12px; font-weight: 750; }
.tracker input, .operator input { min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 12px 13px; background: white; color: var(--ink); font: 14px/1 ui-monospace, monospace; }
.tracker button, .operator button { border: 0; border-radius: 10px; padding: 12px 16px; background: var(--ink); color: white; font-weight: 800; cursor: pointer; }
.operator button { background: var(--accent); color: var(--ink); }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.message { min-height: 23px; color: var(--muted); }
.message[data-state=error] { color: #9d2c28; }
.report-list { display: grid; gap: 16px; }
.report-card { padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 18px 45px rgba(23,27,34,.05); }
.report-header { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.report-id { margin: 0 0 5px; color: var(--muted); font: 700 10px/1 ui-monospace, monospace; letter-spacing: .08em; }
.report-title { margin: 0; font-size: 21px; letter-spacing: -.02em; }
.status { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; background: #eee; font-size: 11px; font-weight: 850; }
.status--verified { background: #d9ffb1; }
.status--failed, .status--needs_clarification { background: #ffd6cf; }
.status--fixing, .status--pull_request, .status--deployed { background: var(--accent); }
.status--skipped { background: #e3e2dc; }
.report-meta { display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; margin: 20px 0; padding: 15px 0; border-block: 1px solid var(--line); }
.report-meta dt { color: var(--muted); }
.report-meta dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.report-links { display: flex; flex-wrap: wrap; gap: 8px; }
.report-link { border-bottom: 1px solid currentColor; font-weight: 750; text-decoration: none; }
.resolution { border-left: 3px solid #85a200; padding-left: 12px; }
.skip-report { margin-top: 18px; border: 1px solid #9d2c28; border-radius: 9px; padding: 9px 12px; background: transparent; color: #9d2c28; font-weight: 800; cursor: pointer; }
.skip-report:disabled { cursor: wait; opacity: .55; }
.skip-controls { display: flex; gap: 8px; margin-top: 18px; }
.skip-reason { min-width: 0; flex: 1 1 auto; border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; }
.timeline { display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; }
.timeline li { position: relative; padding-left: 18px; }
.timeline .timeline-omitted { color: var(--muted); font-style: italic; }
.timeline li::before { position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); content: ""; }
.timeline-line { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
.timeline time { color: var(--muted); font-size: 11px; }
.timeline p { margin: 3px 0 0; color: var(--muted); }

@media (max-width: 700px) {
  main { padding-top: 32px; }
  .tracker, .operator { grid-template-columns: 1fr; gap: 22px; margin: 48px 0 16px; padding: 20px; }
  .operator { margin-top: 0; margin-bottom: 48px; }
  .report-header, .timeline-line { align-items: flex-start; flex-direction: column; gap: 8px; }
  .tracker form, .operator form { grid-template-columns: 1fr; }
  .tracker label, .operator label { grid-column: auto; }
}
