:root {
  --bg: #fafafa;
  --fg: #222;
  --muted: #666;
  --accent: #2563eb;
  --border: #e5e7eb;
  --header-bg: #f3f4f6;
  --row-alt: #fafbfc;
  --good: #16a34a;
  --warn: #ca8a04;
  --bad: #dc2626;
}
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
       margin: 0 auto; max-width: 1100px; padding: 2rem 1rem;
       background: var(--bg); color: var(--fg); }
h1, h2, h3 { line-height: 1.2; }
h1 { margin: 0 0 0.25rem 0; font-size: 1.75rem; }
.subtitle { color: var(--muted); margin: 0 0 2rem 0; }
.summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
           gap: 1rem; margin: 1rem 0 2rem; }
.summary-item { background: white; border: 1px solid var(--border); border-radius: 6px;
                padding: 0.75rem 1rem; }
.summary-item .label { color: var(--muted); font-size: 0.85rem; }
.summary-item .value { font-size: 1.25rem; font-weight: 600; margin-top: 0.25rem; }
table { width: 100%; border-collapse: collapse; background: white;
        border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
th, td { padding: 0.5rem 0.75rem; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--header-bg); font-weight: 600; cursor: pointer; user-select: none; }
th.numeric, td.numeric { text-align: right; font-variant-numeric: tabular-nums; }
tr:nth-child(even) { background: var(--row-alt); }
tr:hover { background: #eff6ff; }
.phase { display: inline-block; padding: 0.1rem 0.5rem; border-radius: 3px;
         font-size: 0.8rem; font-weight: 600; }
.phase-production { background: #dcfce7; color: #166534; }
.phase-trial      { background: #fef3c7; color: #92400e; }
.phase-screening  { background: #dbeafe; color: #1e40af; }
.phase-candidate  { background: #f3f4f6; color: #4b5563; }
.muted { color: var(--muted); font-size: 0.85rem; }
.factors { font-family: ui-monospace, SFMono-Regular, monospace; font-size: 0.85rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.notice { background: #fef3c7; border: 1px solid #fcd34d; border-radius: 6px;
          padding: 0.75rem 1rem; margin: 1rem 0; }
details.code-summary { background: #fafbfc; border: 1px solid var(--border);
                       border-radius: 6px; padding: 0.5rem 0.75rem; margin: 0.4rem 0; }
details.code-summary > summary { cursor: pointer; user-select: none;
                                 font-family: ui-monospace, monospace; font-size: 0.9rem; }
details.code-summary > summary::marker { color: var(--muted); }
.code-files { font-family: ui-monospace, SFMono-Regular, monospace; font-size: 0.85rem;
              margin: 0.5rem 0; }
.code-files .file { margin: 0.25rem 0 0.25rem 1rem; }
.code-files .file-name { font-weight: 600; }
.code-files .symbols { color: var(--muted); margin-left: 1.5rem; word-spacing: 0.5em; }
.code-files .test { color: #166534; }
