:root {
    --bg: #ffffff; --fg: #1a1a1a; --muted: #5f6b7a; --border: #e2e6ea;
    --accent: #0b5fff; --waste: #b3261e; --review: #b06d00; --high: #1a7f37;
    --protected: #6e5aa6; --unknown: #5f6b7a; --normal: #3a4750;
  }
  body { font-family: -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
         color: var(--fg); background: var(--bg); max-width: 960px; margin: 2rem auto; padding: 0 1.5rem; line-height: 1.5; }
  h1 { font-size: 1.6rem; margin-bottom: 0.2rem; }
  h2 { font-size: 1.15rem; margin-top: 2.2rem; border-bottom: 1px solid var(--border); padding-bottom: 0.3rem; }
  .subtitle { color: var(--muted); margin-top: 0; }
  .summary-box { background: #f6f8fa; border: 1px solid var(--border); border-radius: 8px; padding: 1rem 1.2rem; margin: 1rem 0 1.5rem; }
  .summary-box p { margin: 0.3rem 0; }
  table { width: 100%; border-collapse: collapse; margin: 0.8rem 0 1.4rem; font-size: 0.92rem; }
  th, td { text-align: left; padding: 0.4rem 0.6rem; border-bottom: 1px solid var(--border); }
  th { color: var(--muted); font-weight: 600; }
  tr:hover { background: #fafbfc; }
  .badge { display: inline-block; padding: 0.1rem 0.5rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; color: #fff; }
  .badge-POSSIBLE_WASTE { background: var(--waste); }
  .badge-REVIEW { background: var(--review); }
  .badge-HIGH_VALUE { background: var(--high); }
  .badge-PROTECTED { background: var(--protected); }
  .badge-UNKNOWN { background: var(--unknown); }
  .badge-NORMAL { background: var(--normal); }
  .candidate-card { border: 1px solid var(--border); border-radius: 8px; padding: 0.9rem 1.1rem; margin-bottom: 0.9rem; }
  .candidate-card h3 { margin: 0 0 0.3rem; font-size: 1rem; }
  .candidate-meta { color: var(--muted); font-size: 0.88rem; margin: 0.3rem 0; }
  .candidate-explanation { margin: 0.5rem 0; }
  .candidate-recommendation { font-weight: 600; }
  .risk-box, .methodology-box { background: #fff8ec; border: 1px solid #f1d9a0; border-radius: 8px; padding: 1rem 1.2rem; font-size: 0.92rem; }
  .methodology-box { background: #f6f8fa; border-color: var(--border); }
  .reduced-confidence-notice { background: #fff3f0; border: 1px solid #f0b8a8; border-radius: 6px; padding: 0.6rem 0.9rem; }
  .footer-note { color: var(--muted); font-size: 0.82rem; margin-top: 2.5rem; }
  code { background: #f0f2f5; padding: 0.1rem 0.3rem; border-radius: 4px; }

.sample-bar{position:sticky;top:0;z-index:5;background:#0b0e13;color:#eef2f7;font:14px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;padding:12px 16px;}
.sample-bar .in{max-width:960px;margin:0 auto;display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;justify-content:space-between}
.sample-bar a{color:#3ecf8e;font-weight:600}
.sample-bar .tag{display:inline-block;border:1px solid #2c3747;border-radius:999px;padding:2px 10px;margin-right:8px;font-size:12px;color:#9aa7b8}
.sample-foot{max-width:960px;margin:40px auto;padding:0 16px 40px;font-size:13px;color:#6b7280}
.sample-bar{border-radius:10px;margin-bottom:28px}.sample-bar p{margin:0}
@media (max-width:760px){body{padding-left:16px;padding-right:16px}table{display:block;overflow-x:auto;max-width:100%}pre,code{white-space:pre-wrap;overflow-wrap:anywhere}}
