.jpq-bank{border:1px solid #e5e7eb;border-radius:12px;padding:16px;margin:16px 0;background:#fff}
.jpq-bank h2,.jpq-bank h3,.jpq-bank h4{margin-top:0}
.jpq-stats{display:flex;gap:12px;align-items:center;margin:8px 0 16px;font-weight:600}
.jpq-pill{display:inline-block;padding:4px 10px;border-radius:9999px;background:#f3f4f6}
.jpq-item{border:1px solid #eef2f7;border-radius:10px;padding:12px;margin:12px 0}
.jpq-title{font-weight:600;margin-bottom:8px}
.jpq-choices{display:grid;gap:8px;margin:8px 0}
.jpq-btn{border:1px solid #cbd5e1;border-radius:8px;padding:10px;cursor:pointer;background:#fff;text-align:left}
.jpq-btn:hover{background:#f8fafc}
.jpq-btn[data-selected="true"]{outline:2px solid #60a5fa}
.jpq-result{margin-top:8px;font-weight:700}
.jpq-result.ok{color:#15803d}
.jpq-result.ng{color:#b91c1c}
.jpq-explain{margin-top:6px;padding:8px;background:#f9fafb;border-left:4px solid #cbd5e1;border-radius:6px}
.jpq-prev{font-size:12px;color:#6b7280;margin-left:6px}
.jpq-badges{display:flex;gap:8px;margin-top:6px}

/* リセットボタン */
.jpq-reset{
  display:inline-block;
  margin-left:.75rem;
  padding:.35rem .8rem;
  font-size:.9rem;
  border:1px solid #d1d5db;
  border-radius:.5rem;
  background:#fff;
  cursor:pointer;
}
.jpq-reset:hover{ background:#f3f4f6; }

/* 不正解だけ / 全て表示ボタン */
.jpq-filter-wrong,
.jpq-filter-all{
  display:inline-block;
  margin-left:.75rem;
  padding:.35rem .8rem;
  font-size:.9rem;
  border:1px solid #d1d5db;
  border-radius:.5rem;
  background:#fff;
  cursor:pointer;
}
.jpq-filter-wrong:hover,
.jpq-filter-all:hover{
  background:#f3f4f6;
}
