/* /benchmark/ — comparative AI scribe benchmark. Builds on styles.css tokens and blog.css. */
.bm { max-width: 1080px; margin: 0 auto; padding-top: 56px; padding-bottom: 80px; }
.bm__head { max-width: 900px; }
.bm__lead { font-size: 1.15rem; line-height: 1.65; margin: 0 0 32px; }
.bm__sec { margin: 56px 0 0; }
.bm__sec h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.01em; margin: 0 0 12px; }
.bm__sec h3 { font-size: 1.05rem; margin: 28px 0 6px; }
.bm__sec p { max-width: 760px; line-height: 1.7; }
.bm__sec a { color: var(--ink); text-decoration-color: var(--lime); text-underline-offset: 3px; }

.bm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 8px; }
.bm-stat { background: var(--sage); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.bm-stat__n { font-family: 'Fraunces', Georgia, serif; font-size: 2.4rem; font-weight: 600; line-height: 1.05; color: var(--ink); }
.bm-stat__k { font-weight: 600; line-height: 1.35; }
.bm-stat__c { color: var(--muted); font-size: .92rem; line-height: 1.45; }

.bm-table-wrap { overflow-x: auto; margin: 16px 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.bm-table, .bm-grid { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.bm-table th, .bm-table td, .bm-grid th, .bm-grid td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.bm-table thead th, .bm-grid thead th { font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: none; line-height: 1.3; background: var(--cream); }
.bm-table tbody th { font-weight: 600; white-space: nowrap; }
.bm-table tbody th a, .bm-grid tbody th a { color: var(--ink); text-decoration: none; }
.bm-table tbody th a:hover, .bm-grid tbody th a:hover { text-decoration: underline; text-decoration-color: var(--lime); }
.bm-n { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); }
.bm-table tr.is-hanah { background: var(--mint); }
.bm-table tr.is-median { background: var(--cream); color: var(--muted); }
.bm-table tr.is-median th { font-weight: 500; }
.bm-table tr:last-child th, .bm-table tr:last-child td, .bm-grid tr:last-child th, .bm-grid tr:last-child td { border-bottom: 0; }
.bm-table td { white-space: nowrap; }
.bm-bar { display: inline-block; vertical-align: middle; width: 72px; height: 8px; border-radius: 4px; background: rgba(46, 25, 13, 0.1); margin-right: 10px; overflow: hidden; }
.bm-bar i { display: block; height: 100%; background: rgba(46, 25, 13, 0.35); border-radius: 4px; }
.is-hanah .bm-bar i { background: var(--lime); }
.bm-foot { font-size: .88rem; color: var(--muted); margin: 6px 0; }

.bm-grid td { text-align: center; font-weight: 600; min-width: 84px; }
.bm-grid td span { display: block; font-size: .74rem; font-weight: 500; color: var(--muted); }
.bm-grid td.has-major span { color: #a33a12; }
.bm-grid td.is-hanah { background: var(--mint); }
.bm-grid td.is-none { color: var(--muted); font-weight: 400; font-size: .82rem; }
.bm-grid tbody th { font-weight: 500; min-width: 210px; }

.bm-ev { margin: 16px 0 0; }
.bm-ev__pick { display: inline-flex; flex-direction: column; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.bm-ev__pick select { font: inherit; font-size: 1rem; font-weight: 500; color: var(--ink); padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; min-width: min(420px, 100%); }
.bm-ev__body { margin: 16px 0 0; }
.bm-ev__loading { color: var(--muted); }
.bm-ev__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 14px; }
.bm-ev__meta audio { width: min(420px, 100%); }
.bm-tag { font-size: .74rem; padding: 3px 9px; border-radius: 999px; background: var(--sage); box-shadow: inset 0 0 0 1px var(--line); }
.bm-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; border-bottom: 1px solid var(--line); }
.bm-tab { font: inherit; font-size: .92rem; font-weight: 600; padding: 9px 14px; border: 0; border-radius: 10px 10px 0 0; background: transparent; color: var(--muted); cursor: pointer; }
.bm-tab[aria-selected="true"] { background: var(--sage); color: var(--ink); box-shadow: inset 0 -2px 0 var(--lime); }
.bm-panel { background: var(--sage); border-radius: 0 0 var(--radius) var(--radius); padding: 18px 20px 22px; }
.bm-panel h4 { font-size: .95rem; margin: 18px 0 8px; }
.bm-panel h4:first-child { margin-top: 0; }
.bm-txt { white-space: pre-wrap; font-family: inherit; font-size: .9rem; line-height: 1.55; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; max-height: 360px; overflow: auto; margin: 0; }
.bm-ev details { margin: 10px 0 0; }
.bm-ev summary { cursor: pointer; font-weight: 600; font-size: .92rem; }
.bm-items { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.bm-items li { display: grid; grid-template-columns: 70px 1fr; gap: 10px; font-size: .9rem; line-height: 1.45; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.bm-items small { display: block; color: var(--muted); }
.bm-v { align-self: start; text-align: center; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 0; border-radius: 6px; }
.bm-v--yes { background: #dcefd9; color: #1f5a1a; }
.bm-v--partial { background: #f6e6c5; color: #7a5410; }
.bm-v--no, .bm-v--major { background: #f6d5c8; color: #8a2c0c; }
.bm-v--minor { background: #ece4dc; color: var(--ink-2); }
.bm-none { color: var(--muted); font-style: italic; }

@media (max-width: 760px) {
  .bm { padding-top: 32px; }
  .bm-stats { grid-template-columns: 1fr; }
  .bm-stat__n { font-size: 2rem; }
  .bm-items li { grid-template-columns: 1fr; }
  .bm-v { justify-self: start; padding: 3px 8px; }
}
