/* ============================================================================
   jp-scribe-benchmarks.css — accuracy benchmarks modal (clinician-facing)
   ============================================================================ */
.jpb-modal {
  position: fixed; inset: 0; z-index: 10070; display: flex; align-items: flex-start; justify-content: center;
  padding: 5vh 18px; overflow-y: auto;
  background: rgba(4,10,26,.70); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .2s ease;
}
.jpb-modal.on { opacity: 1; }
.jpb-card-outer {
  width: 100%; max-width: 660px; margin: auto; border-radius: 22px; padding: 24px 26px 22px;
  background: radial-gradient(130% 70% at 50% -8%, rgba(0,201,192,.12), transparent 58%), linear-gradient(180deg, #0C1F44, #0A1730);
  border: 1px solid rgba(0,201,192,.26); box-shadow: 0 40px 100px rgba(0,0,0,.55);
  transform: translateY(10px) scale(.985); transition: transform .2s ease; color: #fff;
}
.jpb-modal.on .jpb-card-outer { transform: none; }

.jpb-head { display: flex; align-items: center; margin-bottom: 14px; }
.jpb-brand { display: inline-flex; align-items: center; gap: 8px; opacity: .92; }
.jpb-brand svg { width: 22px; height: 22px; }
.jpb-brand span { font-size: 13px; font-weight: 800; color: rgba(255,255,255,.82); }
.jpb-x { margin-left: auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; cursor: pointer;
  color: rgba(255,255,255,.7); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); }
.jpb-x svg { width: 17px; height: 17px; }
.jpb-x:hover { background: rgba(255,255,255,.13); color: #fff; }

.jpb-title { margin: 0 0 8px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.jpb-lede { margin: 0 0 18px; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.74); max-width: 580px; }
.jpb-lede b { color: rgba(255,255,255,.92); }

.jpb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.jpb-card { border-radius: 15px; padding: 15px 14px 13px; text-align: left;
  background: linear-gradient(160deg, rgba(0,201,192,.10), rgba(255,255,255,.02)); border: 1px solid rgba(0,201,192,.22); }
.jpb-card.indigo { background: linear-gradient(160deg, rgba(124,92,247,.14), rgba(255,255,255,.02)); border-color: rgba(124,92,247,.26); }
.jpb-card-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 9px;
  color: #5EEAE2; background: rgba(0,201,192,.14); border: 1px solid rgba(0,201,192,.3); }
.jpb-card.indigo .jpb-card-ic { color: #C4B5FD; background: rgba(124,92,247,.16); border-color: rgba(124,92,247,.32); }
.jpb-card-ic svg { width: 17px; height: 17px; }
.jpb-big { font-size: 26px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.jpb-unit { font-size: 11px; font-weight: 800; letter-spacing: .02em; color: rgba(255,255,255,.66); margin-top: 5px; text-transform: uppercase; }
.jpb-sub { font-size: 11.5px; line-height: 1.5; color: rgba(255,255,255,.7); margin-top: 8px; }
.jpb-src { font-size: 9.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-top: 9px; }

.jpb-rows { display: flex; flex-direction: column; gap: 11px; margin-bottom: 16px; }
.jpb-row { display: flex; gap: 13px; padding: 14px 15px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
.jpb-row.hero { background: linear-gradient(135deg, rgba(0,201,192,.12), rgba(10,45,110,.16)); border-color: rgba(0,201,192,.30); }
.jpb-row-ic { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; }
.jpb-row-ic.teal { color: #5EEAE2; background: rgba(0,201,192,.14); border: 1px solid rgba(0,201,192,.3); }
.jpb-row-ic.shield { color: #5EEAE2; background: rgba(0,201,192,.18); border: 1px solid rgba(0,201,192,.4); }
.jpb-row-ic svg { width: 19px; height: 19px; }
.jpb-row-tx { font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.82); }
.jpb-row-tx b { display: block; color: #fff; font-size: 13.5px; margin-bottom: 3px; font-weight: 800; }
.jpb-row-tx i { color: #7FE7E1; font-style: normal; font-weight: 700; }

.jpb-method { border-radius: 14px; padding: 14px 16px; background: rgba(255,255,255,.03); border: 1px dashed rgba(255,255,255,.16); margin-bottom: 16px; }
.jpb-method-h { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 7px; }
.jpb-method-h svg { width: 15px; height: 15px; color: #7FE7E1; }
.jpb-method p { margin: 0; font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.7); }
.jpb-method b { color: rgba(255,255,255,.9); }

.jpb-srcs { font-size: 11px; color: rgba(255,255,255,.5); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.jpb-srcs span { font-weight: 800; letter-spacing: .03em; text-transform: uppercase; font-size: 10px; }
.jpb-srcs a { color: #5EEAE2; text-decoration: none; font-weight: 700; border-bottom: 1px solid rgba(0,201,192,.3); }
.jpb-srcs a:hover { border-bottom-color: #5EEAE2; }

@media (max-width: 640px) {
  .jpb-cards { grid-template-columns: 1fr; }
  .jpb-title { font-size: 20px; }
  .jpb-card-outer { padding: 20px 18px; }
}
