:root { color-scheme: light; --ink:#17202a; --muted:#667085; --line:#d8dee8; --soft-line:#edf0f4; --paper:#fff; --wash:#f5f7fb; --accent:#5b43d6; --success:#137a4f; --success-bg:#e8f7ef; --danger:#b42318; --danger-bg:#fff0ee; --chip:#eef1f5; --chip-ink:#475467; --field:#fff; --field-line:#c8d0dc; font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --ink:#f3f4f6; --muted:#aeb7c4; --line:#354052; --soft-line:#2a3341; --paper:#171d27; --wash:#0d1118; --accent:#a99bff; --success:#5fd39c; --success-bg:#12291f; --danger:#ff8a7a; --danger-bg:#331614; --chip:#2a3341; --chip-ink:#d0d5dd; --field:#171d27; --field-line:#465165; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--wash); }
header { color: #fff; background: linear-gradient(135deg,#17142d 0%,#372785 58%,#177e89 130%); padding: 54px max(24px,calc((100vw - 1120px)/2)) 42px; }
.eyebrow { margin: 0 0 12px; color: #b9f3ea; font-size: 13px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 0; max-width: 780px; font-size: clamp(36px,6vw,66px); line-height: 1.02; letter-spacing: -.04em; }
.intro { max-width: 730px; margin: 18px 0 0; color: #e5e2ff; font-size: 18px; line-height: 1.55; }
.summary { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.summary span:not(:empty) { padding: 8px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.09); font-size: 13px; }
main { max-width: 1120px; margin: 0 auto; padding: 28px 24px 72px; }
.filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: 0 12px 34px rgba(30,41,59,.06); }
label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
select { min-width: 220px; padding: 10px 34px 10px 12px; border: 1px solid var(--field-line); border-radius: 9px; color: var(--ink); background: var(--field); font: inherit; }
.day { margin-top: 34px; }
.day h2 { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 13px; font-size: 24px; }
.day h2 span { color: var(--muted); font-size: 13px; font-weight: 500; }
.runs { display: grid; grid-template-columns: repeat(auto-fit,minmax(310px,1fr)); gap: 15px; }
.run-card { display: flex; min-height: 245px; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); box-shadow: 0 9px 26px rgba(30,41,59,.05); }
.card-top, .card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.workflow { color: var(--accent); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.source { margin-left: 8px; color: var(--muted); font-weight: 700; }
.status { padding: 5px 9px; border-radius: 999px; background: var(--chip); color: var(--chip-ink); font-size: 12px; font-weight: 800; white-space: nowrap; }
.status.success { color: var(--success); background: var(--success-bg); }
.status.failure { color: var(--danger); background: var(--danger-bg); }
h3 { margin: 21px 0 10px; font-size: 20px; line-height: 1.3; overflow-wrap: anywhere; }
.version { margin: 0 0 8px; font-weight: 750; }
.profiles, .counts { margin: 0 0 8px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.card-bottom { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--soft-line); color: var(--muted); font-size: 13px; }
a { color: var(--accent); }
.report-link { font-weight: 800; text-decoration: none; white-space: nowrap; }
.empty, .error { padding: 60px 0; color: var(--muted); text-align: center; }
.error { color: var(--danger); }
footer { max-width: 1120px; margin: 0 auto; padding: 0 24px 36px; color: var(--muted); font-size: 12px; }
@media (max-width: 620px) {
  header { padding: 38px 16px 32px; }
  main { padding-inline: 16px; }
  footer { padding-inline: 16px; }
  .filters, label, select { width: 100%; min-width: 0; }
  .runs { grid-template-columns: 1fr; }
  .card-bottom { align-items: flex-end; }
}
