* { box-sizing: border-box; }
body { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; margin: 0; line-height: 1.5; color: #1a1a1a; background: #fafafa; }
header nav { padding: 0.75rem 1.25rem; background: #ffffff; border-bottom: 1px solid #e6e6e6; }
.logo { text-decoration: none; font-weight: 700; color: #111; letter-spacing: 0.02em; }
.disclaimer-banner { background: #fff3cd; color: #6b4c00; padding: 0.6rem 1.25rem; border-bottom: 1px solid #f0d97f; font-size: 0.9rem; }
main { max-width: 960px; margin: 0 auto; padding: 1.5rem 1.25rem; }
footer { padding: 1rem 1.25rem; color: #666; font-size: 0.8rem; border-top: 1px solid #eee; text-align: center; }
h1 { margin: 0 0 1rem; font-size: 1.5rem; }
h2 { margin: 1.25rem 0 0.5rem; font-size: 1.1rem; }
.strategy-list { list-style: none; padding: 0; margin: 0; }
.strategy-row { padding: 1rem; background: #fff; border: 1px solid #e6e6e6; margin-bottom: 0.75rem; border-radius: 6px; }
.strategy-link { text-decoration: none; color: #0046b8; }
.strategy-id { font-size: 1.05rem; font-weight: 600; }
.mandate-description { color: #555; margin: 0.4rem 0 0.6rem; }
.strategy-meta, .provenance dl { display: grid; grid-template-columns: max-content 1fr; column-gap: 0.75rem; row-gap: 0.25rem; margin: 0.5rem 0 0; }
.strategy-meta dt, .provenance dt { color: #666; }
.strategy-meta dd, .provenance dd { margin: 0; }
.env-pill { display: inline-block; padding: 0.1rem 0.55rem; border-radius: 999px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; }
.env-pill[data-environment="backtest"] { background: #d1ecf1; color: #0c5460; }
.env-pill[data-environment="paper"] { background: #fff3cd; color: #856404; }
.env-pill[data-environment="published_calculation"] { background: #d4edda; color: #155724; }
.stale-badge, .stale-banner { background: #f8d7da; color: #721c24; padding: 0.5rem 0.75rem; border-radius: 4px; font-weight: 600; margin: 0.5rem 0; display: inline-block; }
.stale-banner { display: block; }
.provenance { background: #fff; border: 1px solid #e6e6e6; border-radius: 6px; padding: 1rem; margin-bottom: 1.25rem; }
.disclaimer-block { font-size: 0.9rem; color: #555; margin: 0.75rem 0 0; padding-top: 0.6rem; border-top: 1px dashed #e0e0e0; }
.charts { background: #fff; border: 1px solid #e6e6e6; border-radius: 6px; padding: 1rem; margin-bottom: 1.25rem; }
.chart-wrapper { position: relative; height: 280px; margin-bottom: 1rem; }
.chart-wrapper canvas { width: 100% !important; height: 100% !important; }
.metrics { background: #fff; border: 1px solid #e6e6e6; border-radius: 6px; padding: 1rem; }
.metrics table { border-collapse: collapse; width: 100%; }
.metrics th, .metrics td { padding: 0.4rem 0.6rem; border-bottom: 1px solid #eee; text-align: left; font-weight: 400; }
.metrics th { color: #555; width: 40%; }
.not-found { padding: 2rem; text-align: center; }
