:root {
  --navy: #1D2951;
  --navy-soft: #2a3563;
  --blue: #0080FE;
  --blue-hover: #0064c8;
  --magenta: #BA1E68;
  --bg: #fafbfc;
  --card: #ffffff;
  --border: #e5e7eb;
  --text: #0f172a;
  --muted: #64748b;
  --pass: #16a34a;
  --fail: #dc2626;
  --warn: #f59e0b;
  --stub: #94a3b8;
  --unknown: #cbd5e1;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.5rem;
}
h1 { font-size: 1.75rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1rem; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); text-decoration: underline; }

header.topbar {
  background: var(--navy);
  color: white;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
header.topbar h1 {
  color: white;
  font-size: 1.1rem;
  margin: 0;
  letter-spacing: 0.5px;
}
header.topbar nav { display: flex; gap: 1rem; margin-left: auto; }
header.topbar nav a { color: rgba(255,255,255,0.85); font-weight: 400; }
header.topbar nav a:hover { color: white; text-decoration: none; }

main { max-width: 1200px; margin: 1.5rem auto; padding: 0 1.5rem; }

.section-title {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 1.5rem 0 0.5rem;
  font-weight: 700;
}

.trunk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
  position: relative;
}

.card h3 { margin-bottom: 0.5rem; }
.card .schedule { font-size: 0.75rem; color: var(--muted); }

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0.5rem;
  vertical-align: middle;
}
.status-pass { background: var(--pass); }
.status-fail { background: var(--fail); }
.status-stub { background: var(--stub); }
.status-unknown { background: var(--unknown); }
.status-skip { background: var(--warn); }

.badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.badge-pass { background: #dcfce7; color: #166534; }
.badge-fail { background: #fee2e2; color: #991b1b; }
.badge-stub { background: #f1f5f9; color: #475569; }
.badge-sev1 { background: #fee2e2; color: #991b1b; }
.badge-sev2 { background: #fef3c7; color: #92400e; }
.badge-sev3 { background: #dcfce7; color: #166534; }
.badge-sev4 { background: #f1f5f9; color: #475569; }
.badge-tier-critical { background: var(--blue); color: white; }
.badge-tier-full { background: var(--navy-soft); color: white; }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
th, td {
  padding: 0.6rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
th { background: #f8fafc; font-weight: 700; color: var(--navy); }
tr:last-child td { border-bottom: none; }

.empty-state {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: 6px;
}

pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.5;
}

footer {
  margin-top: 3rem;
  padding: 1rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.75rem;
}
