/* JA Sim v1.6.3 - minimal styles */
.ja-sim{font-family:system-ui,-apple-system,Segoe UI,Roboto;line-height:1.5}
.ja-sim .wrap{max-width:960px;margin:auto}
.ja-sim .card{border:1px solid #e5e7eb;border-radius:12px;padding:16px;margin:12px 0;background:#fff}
.ja-sim .hidden{display:none}
.ja-sim .row{display:flex;gap:16px;flex-wrap:wrap}
.ja-sim .col{flex:1 1 300px}
.ja-sim h1,h2,h3{margin:.2em 0}
.ja-sim .pill{display:inline-block;padding:.25rem .5rem;background:#f3f4f6;border-radius:999px}
.ja-sim .btn{display:inline-block;border:1px solid #111;border-radius:10px;padding:.5rem .8rem;background:#111;color:#fff;cursor:pointer}
.ja-sim .btn.ghost{background:#fff;color:#111}
.ja-sim .btn.alt{background:#2563eb;border-color:#2563eb}
.ja-sim .case-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:8px}
.ja-sim label.case{display:block;border:1px solid #e5e7eb;border-radius:10px;padding:10px;background:#fafafa;cursor:pointer}
.ja-sim label.choice{display:block;padding:8px 10px;border:1px dashed #e5e7eb;border-radius:8px;margin:6px 0;background:#fcfcfc}
.ja-sim .badge-warn{font-size:.75rem;margin-left:.25rem;background:#fef3c7;border:1px solid #f59e0b;border-radius:6px;padding:.1rem .35rem}
.ja-sim details{background:#f8fafc;border-radius:8px;padding:8px 10px}
.ja-sim footer{opacity:.7;margin-top:12px}
.ja-sim progress{width:100%;height:14px}
.ja-sim .small{font-size:.9rem;color:#374151}