.benchmarks { --bm-ink: #1a273b; --bm-muted: #69768b; --bm-line: #e2e8f1; --bm-blue: #225bd7; --bm-pale: #f3f7ff; max-width: 1160px; margin: 0 auto; color: var(--bm-ink); }
.bm-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 0 0 28px; }
.bm-eyebrow { display: block; margin: 0 0 10px; color: #647898; font-size: 10px; line-height: 1.5; font-weight: 750; letter-spacing: 1.8px; }
.bm-heading h1 { font-size: clamp(32px, 3.8vw, 46px); font-weight: 650; line-height: 1.1; letter-spacing: -.055em; }
.bm-heading > div > p:last-child { margin-top: 12px; color: var(--bm-muted); font-size: 14px; line-height: 1.7; }
.bm-validation-note { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: -7px 0 25px; color: #78869c; font-size: 11px; line-height: 1.6; }
.bm-validation-note > span { padding: 3px 7px; border: 1px solid #dce5f4; border-radius: 5px; color: #6682ac; font-size: 9px; font-weight: 650; }
.bm-button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 46px; padding: 12px 19px; border: 1px solid var(--bm-blue); border-radius: 11px; background: var(--bm-blue); color: #fff; font-size: 13px; font-weight: 650; line-height: 1.5; white-space: nowrap; }
.bm-button:hover { background: #174bb8; }
.bm-button-secondary { background: #f4f7fe; color: #2257bc; border-color: #dce5f5; }
.bm-button-secondary:hover { background: #e9f0ff; }
.bm-button-plain { padding-inline: 0; border-color: transparent; background: transparent; color: #4c6383; }
.bm-button-plain:hover { background: transparent; color: var(--bm-blue); }
.bm-button:disabled { opacity: .48; }
.bm-layout { display: grid; grid-template-columns: 255px minmax(0, 1fr); align-items: start; gap: 24px; }
.bm-drill-sidebar { position: sticky; top: 22px; }
.bm-section-label { display: flex; justify-content: space-between; margin: 0 3px 12px; font-size: 10px; font-weight: 750; letter-spacing: 1.5px; color: #7c8b9f; }
.bm-section-label > span { letter-spacing: 0; }
.bm-drill-list { display: grid; gap: 10px; }
.bm-drill-card { display: block; width: 100%; border: 1px solid var(--bm-line); border-radius: 15px; background: #fff; padding: 20px; text-align: left; color: var(--bm-ink); transition: border-color .15s, background .15s; }
.bm-drill-card:hover { border-color: #9bb6e9; }
.bm-drill-card.is-selected { border-color: #aac4f7; background: #f1f6ff; box-shadow: inset 3px 0 0 var(--bm-blue); }
.bm-drill-type { display: block; margin-bottom: 10px; color: #7891b6; font-size: 9px; font-weight: 750; letter-spacing: 1.3px; }
.bm-drill-card > strong { display: block; font-size: 16px; line-height: 1.4; font-weight: 650; }
.bm-drill-target { display: block; margin-top: 9px; color: #315f9e; font-size: 12px; }
.bm-drill-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 22px; color: #7b8a9f; font-size: 10px; }
.bm-detail { display: grid; gap: 18px; min-width: 0; }
.bm-surface { border: 1px solid var(--bm-line); border-radius: 19px; background: #fff; padding: 27px; }
.bm-brief-top, .bm-section-heading, .bm-result-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.bm-brief-top { margin-bottom: 19px; }
.bm-brief-top .bm-eyebrow, .bm-result-heading .bm-eyebrow { margin-bottom: 0; }
.bm-brief h2 { font-size: 26px; line-height: 1.22; letter-spacing: -.045em; font-weight: 650; }
.bm-instructions { margin-top: 14px; color: #56667e; font-size: 14px; line-height: 1.75; white-space: pre-line; }
.bm-badge { display: inline-flex; width: fit-content; align-items: center; padding: 5px 9px; border-radius: 7px; background: #f1f4f8; color: #6a788b; font-size: 10px; font-weight: 650; white-space: nowrap; }
.bm-badge-target { background: #edf3ff; color: #285fbd; }
.bm-badge-measured { background: #eaf6ef; color: #2e7853; }
.bm-badge-pending { background: #eef3ff; color: #476bb2; }
.bm-badge-attention { background: #fff3e6; color: #966326; }
.bm-timing-definition { display: flex; align-items: center; gap: 15px; margin-top: 22px; padding: 16px 18px; border-radius: 12px; background: #f6f8fc; }
.bm-timing-definition > span { font-size: 29px; color: #7d9bc7; }
.bm-timing-definition strong { font-size: 12px; font-weight: 650; }
.bm-timing-definition p { margin-top: 5px; font-size: 11px; color: #7a889d; }
.bm-capture-details { margin: 15px 0 0; padding: 0; border: 0; }
.bm-capture-details summary { padding-block: 10px; font-size: 12px; color: #4b678e; cursor: pointer; }
.bm-capture-details p { margin-top: 9px; color: #63738a; font-size: 12px; line-height: 1.7; white-space: pre-line; }
.bm-section-heading { margin-bottom: 20px; }
.bm-section-heading .bm-eyebrow { margin-bottom: 7px; }
.bm-section-heading h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.035em; font-weight: 650; }
.bm-personal-result { padding: 25px 27px; border: 1px solid #b9cef4; border-radius: 19px; background: linear-gradient(120deg, #edf4ff, #fafcff); }
.bm-personal-metrics, .bm-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bm-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bm-personal-metrics { margin-top: 24px; }
.bm-personal-metrics > div, .bm-metrics > div { display: flex; flex-direction: column; gap: 7px; }
.bm-personal-metrics strong, .bm-metrics strong { color: #214f96; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; font-weight: 650; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.bm-personal-metrics strong > small, .bm-metrics strong > small { color: #8ca0bd; font-size: 15px; font-weight: 550; letter-spacing: -.03em; }
.bm-personal-metrics > div > span, .bm-metrics > div > span { color: #7b8ca4; font-size: 10px; line-height: 1.5; }
.bm-result-note { margin-top: 22px; padding-top: 17px; border-top: 1px solid #dce7f8; color: #58739b; font-size: 11px; line-height: 1.7; }
.bm-criterion form { display: flex; align-items: flex-end; gap: 13px; }
.bm-criterion .bm-field { flex: 1; max-width: 270px; }
.bm-field { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 650; }
.bm-field > span > small { margin-left: 5px; font-weight: 400; color: #8794a6; }
.bm-field input, .bm-field textarea, .bm-field select { display: block; width: 100%; min-height: 46px; margin: 0; padding: 12px; border: 1px solid #dce3ed; border-radius: 9px; background: #fff; color: var(--bm-ink); font-size: 14px; font-weight: 450; }
.bm-field textarea { resize: vertical; line-height: 1.65; }
.bm-field input::placeholder, .bm-field textarea::placeholder { color: #9aa5b5; }
.bm-input-unit { position: relative; }
.bm-input-unit input { padding-right: 86px; font-variant-numeric: tabular-nums; }
.bm-input-unit > span { position: absolute; top: 15px; right: 14px; color: #96a1b0; font-size: 11px; font-weight: 450; pointer-events: none; }
.bm-field small, .bm-help { font-size: 11px; font-weight: 400; line-height: 1.65; color: #8290a3; }
.bm-help { margin-top: 11px; }
.bm-metrics { margin-top: 25px; padding-top: 22px; border-top: 1px solid #e9eef5; }
.bm-share-track { height: 5px; margin-top: 24px; border-radius: 9px; background: #edf1f7; overflow: hidden; }
.bm-share-track > span { display: block; height: 100%; background: #4a79d7; border-radius: inherit; }
.bm-ranking { padding-bottom: 19px; }
.bm-count { color: #8d9bae; font-size: 11px; white-space: nowrap; }
.bm-table-scroll { width: calc(100% + 54px); margin-inline: -27px; overflow-x: auto; }
.bm-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.bm-table th, .bm-table td { padding: 14px 13px; text-align: left; border: 0; border-bottom: 1px solid #edf0f5; vertical-align: middle; white-space: nowrap; }
.bm-table th:first-child, .bm-table td:first-child { padding-left: 27px; }
.bm-table th:last-child, .bm-table td:last-child { padding-right: 27px; }
.bm-table thead th { padding-top: 8px; padding-bottom: 12px; color: #909cad; font-size: 9px; letter-spacing: .45px; font-weight: 600; }
.bm-table tbody th { font-weight: 650; }
.bm-table tbody th small { display: block; font-size: 10px; font-weight: 450; color: #92a2b7; }
.bm-table tr.is-self { background: #f2f7ff; }
.bm-rank { display: inline-flex; align-items: center; justify-content: center; min-width: 25px; height: 25px; color: #6f7e95; font-size: 11px; font-variant-numeric: tabular-nums; }
.bm-rank-first { border-radius: 7px; background: #eaf1ff; color: #2a61c4; font-weight: 750; }
.bm-time { font-variant-numeric: tabular-nums; font-weight: 650; color: #2d4b72; }
.bm-time > small { display: block; margin-top: 4px; color: #97a6ba; font-size: 9px; font-weight: 450; }
.bm-you-dot { display: inline-block; width: 5px; height: 5px; margin-left: 5px; margin-bottom: 2px; border-radius: 50%; background: #3e79df; }
.bm-text-button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; background: transparent; color: #567ba9; font-size: 11px; font-weight: 550; padding: 5px 0; }
.bm-text-button:hover { color: #1d5ac2; }
.bm-table-note { margin-top: 16px; color: #91a0b3; font-size: 10px; line-height: 1.7; }
.bm-ranking-empty { padding: 25px 8px 22px; text-align: center; }
.bm-ranking-empty > span { color: #b3c6e3; font-size: 29px; }
.bm-ranking-empty h4 { margin: 8px 0 0; font-size: 14px; font-weight: 650; }
.bm-ranking-empty p { margin-top: 8px; color: #8e9aad; font-size: 12px; line-height: 1.7; }
.bm-file-drop { position: relative; display: flex; align-items: center; flex-direction: column; justify-content: center; min-height: 153px; padding: 19px; border: 1px dashed #b4c7e4; border-radius: 12px; background: #f8faff; cursor: pointer; }
.bm-file-drop:focus-within { outline: 3px solid #83a9f1; outline-offset: 2px; }
.bm-file-drop:has(input:disabled) { cursor: not-allowed; opacity: .6; }
.bm-file-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: inherit; }
.bm-upload-symbol { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 10px; background: #e9f0fe; border-radius: 8px; color: #6086c5; font-size: 23px; }
.bm-file-drop > strong { font-size: 13px; font-weight: 650; }
.bm-file-help { margin-top: 7px; color: #94a2b7; font-size: 10px; text-align: center; }
.bm-file-name { color: #4b70a7; font-size: 11px; margin-top: 8px; overflow-wrap: anywhere; }
.bm-file-name:empty { margin: 0; }
.bm-consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 17px; color: #8190a6; font-size: 11px; line-height: 1.65; cursor: pointer; }
.bm-consent input { flex-shrink: 0; width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--bm-blue); }
.bm-upload-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; }
.bm-upload-actions > p { max-width: 29ch; font-size: 10px; line-height: 1.7; color: #8e9bae; }
.bm-form-status { font-size: 12px; color: #5c79a1; margin-top: 13px; line-height: 1.7; }
.bm-form-status:empty { margin: 0; }
.bm-form-status.is-error { color: #a3463f; }
.bm-upload-progress { width: 100%; height: 6px; margin-top: 12px; accent-color: var(--bm-blue); }
.bm-processing { display: flex; align-items: center; gap: 17px; padding: 20px; background: #f7faff; border-radius: 12px; }
.bm-processing strong { font-size: 13px; font-weight: 600; }
.bm-processing p { margin-top: 6px; font-size: 11px; line-height: 1.7; color: #8898af; }
.bm-notice { border: 1px solid #dce6f7; border-radius: 12px; padding: 17px; margin-bottom: 20px; background: #f6f9ff; color: #466287; }
.bm-notice > strong { font-size: 13px; font-weight: 650; }
.bm-notice p { margin-top: 7px; font-size: 12px; line-height: 1.7; }
.bm-notice .bm-button { margin-top: 13px; }
.bm-notice-warm { background: #fffaf4; border-color: #f1e1c9; color: #93754c; }
.bm-notice-error { background: #fff8f7; border-color: #efd7d3; color: #99574b; }
.bm-evidence { margin: 17px 0 0; border: 0; padding: 0; }
.bm-evidence summary { cursor: pointer; padding-block: 10px; color: #57749c; font-size: 12px; }
.bm-evidence video { display: block; width: 100%; max-height: 390px; margin-top: 10px; border-radius: 11px; background: #131a25; }
.bm-evidence p { margin-top: 9px; color: #8a99ad; font-size: 11px; line-height: 1.65; white-space: normal; }
.bm-evidence-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.bm-evidence-tools > span { color: #acb8c9; font-size: 12px; }
.bm-evidence-row > td { padding-top: 0; background: #fafcff; }
.bm-evidence-row .bm-evidence { margin-top: 0; }
.bm-evidence-row[hidden] { display: none; }
.bm-awaiting { padding-block: 5px; }
.bm-awaiting details { border: 0; padding: 0; margin: 0; }
.bm-awaiting summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-block: 18px; cursor: pointer; }
.bm-awaiting summary strong { font-size: 13px; font-weight: 600; }
.bm-awaiting summary > span { font-size: 11px; color: #8a98ad; }
.bm-awaiting .bm-help { margin: -3px 0 15px; }
.bm-awaiting ul { padding: 0; margin: 0; list-style: none; }
.bm-awaiting li { display: flex; align-items: center; justify-content: space-between; gap: 17px; padding-block: 16px; border-top: 1px solid #edf1f7; }
.bm-awaiting li strong { font-size: 12px; font-weight: 600; }
.bm-awaiting li p { margin-top: 6px; color: #919daf; font-size: 11px; line-height: 1.6; }
.bm-create { max-width: 760px; margin: 0 auto; }
.bm-create-back { max-width: 760px; margin: -15px auto 12px; }
.bm-create .bm-section-heading { margin-bottom: 28px; }
.bm-create h2 { font-size: 26px; letter-spacing: -.04em; }
.bm-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; }
.bm-span-two { grid-column: 1 / -1; }
.bm-end-definition { padding: 0 6px; }
.bm-end-definition > span { display: block; font-size: 12px; font-weight: 650; }
.bm-end-definition strong { display: block; padding-top: 19px; font-size: 13px; font-weight: 600; color: #577aa8; }
.bm-end-definition p { color: #8c9aaf; margin-top: 8px; font-size: 11px; line-height: 1.7; }
.bm-player-picker { margin: 27px 0 0; padding: 0; border: 0; }
.bm-player-picker legend { padding: 0; margin-bottom: 13px; font-size: 12px; font-weight: 650; }
.bm-player-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.bm-player-options label { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px; border: 1px solid #e3e9f2; border-radius: 10px; color: #526781; font-size: 12px; cursor: pointer; }
.bm-player-options label:has(input:checked) { border-color: #a6c3f2; background: #f3f7ff; }
.bm-player-options input { width: 15px; height: 15px; margin: 0; accent-color: var(--bm-blue); }
.bm-player-avatar { display: inline-grid; flex-shrink: 0; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #eaf0fa; color: #6684b0; font-size: 11px; font-weight: 700; }
.bm-create-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 28px; padding-top: 23px; border-top: 1px solid #e6ecf4; }
.bm-create-footer p { color: #91a0b3; font-size: 11px; line-height: 1.7; max-width: 36ch; }
.bm-empty { max-width: 470px; margin: 0 auto; padding: 40px 10px; text-align: center; }
.bm-empty-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 16px; background: #eef4ff; color: #7697ca; font-size: 28px; }
.bm-empty h2 { font-size: 24px; font-weight: 650; letter-spacing: -.04em; }
.bm-empty p { color: #8392a7; margin-top: 13px; font-size: 13px; line-height: 1.8; }
.bm-empty .bm-button { margin-top: 25px; }
.bm-loading { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 190px; color: #8294ad; font-size: 13px; }
.bm-spinner { display: inline-block; width: 21px; height: 21px; flex-shrink: 0; border: 2px solid #dce7f8; border-top-color: #658fd3; border-radius: 50%; animation: bm-spin .9s linear infinite; }
.bm-muted { color: #a0abbb; font-size: 11px; }
.bm-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@keyframes bm-spin { to { transform: rotate(360deg); } }
@media(max-width: 1100px) {
  .bm-layout { grid-template-columns: 214px minmax(0, 1fr); gap: 18px; }
  .bm-drill-card { padding: 18px 16px; }
  .bm-surface { padding: 23px; }
  .bm-table-scroll { width: calc(100% + 46px); margin-inline: -23px; }
  .bm-table th:first-child, .bm-table td:first-child { padding-left: 23px; }
  .bm-table th:last-child, .bm-table td:last-child { padding-right: 23px; }
  .bm-table td, .bm-table th { padding-inline: 10px; }
  .bm-personal-result { padding: 23px; }
  .bm-personal-metrics, .bm-metrics { gap: 12px; }
}
@media(max-width: 800px) {
  .bm-heading { align-items: flex-start; margin-bottom: 23px; }
  .bm-heading h1 { font-size: 33px; }
  .bm-heading > div > p:last-child { max-width: 40ch; font-size: 13px; }
  .bm-heading > .bm-button { font-size: 11px; min-height: 42px; padding: 10px 12px; gap: 10px; }
  .bm-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .bm-drill-sidebar { position: static; }
  .bm-drill-list { display: flex; overflow-x: auto; gap: 10px; padding: 2px 2px 7px; scroll-snap-type: x mandatory; }
  .bm-drill-card { min-width: 220px; max-width: 260px; flex: 1 0 220px; scroll-snap-align: start; }
  .bm-drill-list > .bm-drill-card:only-child { max-width: none; }
  .bm-drill-card > strong { font-size: 14px; }
  .bm-drill-meta { margin-top: 16px; }
  .bm-drill-type { font-size: 8px; }
  .bm-brief h2 { font-size: 24px; }
  .bm-section-heading h3 { font-size: 18px; }
  .bm-form-grid { gap: 18px; }
  .bm-field input, .bm-field textarea, .bm-field select { font-size: 16px; }
}
@media(max-width: 480px) {
  .bm-heading { flex-wrap: wrap; gap: 16px; }
  .bm-heading > .bm-button { align-self: flex-start; }
  .bm-surface, .bm-personal-result { padding: 21px 18px; border-radius: 15px; }
  .bm-table-scroll { width: calc(100% + 36px); margin-inline: -18px; }
  .bm-table th:first-child, .bm-table td:first-child { padding-left: 18px; }
  .bm-table th:last-child, .bm-table td:last-child { padding-right: 18px; }
  .bm-table th, .bm-table td { font-size: 11px; padding-inline: 8px; }
  .bm-table .bm-badge { font-size: 8px; padding-inline: 7px; }
  .bm-table thead th { font-size: 8px; }
  .bm-table .bm-rank { width: 20px; }
  .bm-personal-metrics, .bm-metrics { gap: 11px; }
  .bm-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .bm-personal-metrics strong, .bm-metrics strong { font-size: 23px; }
  .bm-personal-metrics strong > small, .bm-metrics strong > small { font-size: 12px; }
  .bm-personal-metrics > div > span, .bm-metrics > div > span { font-size: 9px; }
  .bm-brief-top, .bm-result-heading { align-items: flex-start; }
  .bm-result-heading .bm-eyebrow { font-size: 9px; }
  .bm-timing-definition { padding: 14px; }
  .bm-timing-definition > span { display: none; }
  .bm-timing-definition p { font-size: 10px; }
  .bm-criterion form { flex-direction: column; align-items: stretch; }
  .bm-criterion .bm-field { max-width: none; }
  .bm-criterion form .bm-button { align-self: flex-start; }
  .bm-upload-actions { flex-direction: column-reverse; align-items: stretch; gap: 11px; }
  .bm-upload-actions > p { max-width: none; text-align: center; }
  .bm-form-grid { grid-template-columns: minmax(0, 1fr); }
  .bm-end-definition { padding: 15px; background: #f7faff; border-radius: 10px; }
  .bm-end-definition strong { padding-top: 9px; }
  .bm-player-options { grid-template-columns: minmax(0, 1fr); }
  .bm-create-footer { flex-direction: column; align-items: stretch; gap: 17px; }
  .bm-create-footer .bm-button { order: -1; }
  .bm-create-footer p { max-width: none; text-align: center; }
  .bm-awaiting li { align-items: flex-start; }
  .bm-empty { padding: 30px 0; }
}
@media(prefers-reduced-motion: reduce) { .bm-spinner { animation: none; } .bm-drill-card { transition: none; } }
/* Reaction time and the OL first-step observable (web/benchmark-reaction.js). */
.bm-metric-picker { margin: 0; padding: 0; border: 0; }
.bm-metric-picker legend { margin-bottom: 10px; font-size: 12px; font-weight: 650; }
.bm-metric-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bm-metric-option { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 1px solid #dce3ed; border-radius: 12px; background: #fff; cursor: pointer; }
.bm-metric-option:has(input:checked) { border-color: #9fbcf2; background: #f2f7ff; box-shadow: inset 3px 0 0 var(--bm-blue); }
.bm-metric-option input { flex-shrink: 0; width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--bm-blue); }
.bm-metric-option strong { display: block; font-size: 13px; font-weight: 650; }
.bm-metric-option small { display: block; margin-top: 4px; color: #7b8a9f; font-size: 11px; line-height: 1.5; }
.bm-metric-option .bm-metric-unavailable { color: #966326; }
.bm-metric-fields[hidden] { display: none; }
.bm-proposed-note { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; padding: 13px 15px; border-radius: 11px; background: #fff8ee; color: #7b5a2a; font-size: 12px; line-height: 1.6; }
.bm-observable-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; margin: 18px 0 0; }
.bm-observable-facts div { min-width: 0; }
.bm-observable-facts dt { color: #7b8a9f; font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.bm-observable-facts dd { margin: 4px 0 0; color: #43536a; font-size: 12px; line-height: 1.6; }
.bm-observable-note { margin: 12px 0 0; }
.bm-outcome-reason { border-top: 0; padding-top: 0; margin-top: 0; font-size: 13px; color: #43536a; }
.bm-checks { display: grid; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 12px; color: #56667e; }
.bm-checks li { display: flex; gap: 8px; align-items: baseline; line-height: 1.5; }
.bm-checks li > span[aria-hidden] { flex: 0 0 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; background: #eef3fb; color: #46679a; }
.bm-checks li.is-warn > span[aria-hidden] { background: #fff1de; color: #966326; }
.bm-checks li.is-fail > span[aria-hidden] { background: #f6f1f1; color: #8a3a3f; }
.bm-checks strong { font-weight: 650; color: #31415a; }
.bm-frames { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.bm-frames figure { margin: 0; }
.bm-frames img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 9px; background: #131a25; }
.bm-frames figcaption { margin-top: 6px; color: #56667e; font-size: 11px; line-height: 1.4; }
.bm-frames figcaption small { display: block; color: #8c9aaf; font-size: 10px; }
.bm-audio { margin: 14px 0 0; }
.bm-audio svg { display: block; width: 100%; height: 54px; border-radius: 8px; background: #f6f8fc; }
.bm-audio-line { fill: none; stroke: #8fa7cd; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.bm-audio-cue { stroke: var(--bm-blue); stroke-width: 2; vector-effect: non-scaling-stroke; }
.bm-audio-move { stroke: #1a273b; stroke-width: 2; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.bm-audio figcaption { margin-top: 5px; color: #8c9aaf; font-size: 10px; }
.bm-key-cue, .bm-key-move { display: inline-block; width: 12px; height: 0; margin: 0 2px 3px; border-top: 2px solid var(--bm-blue); vertical-align: middle; }
.bm-key-move { border-top: 2px dashed #1a273b; }
.bm-cue-form { margin-top: 18px; padding: 16px; border: 1px solid #e2e8f1; border-radius: 12px; background: #fbfcff; }
.bm-cue-form h4 { font-size: 14px; font-weight: 650; }
.bm-cue-form > p { margin-top: 6px; color: #63738a; font-size: 12px; line-height: 1.6; }
.bm-cue-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 12px 0; }
.bm-cue-row .bm-field { flex: 1 1 160px; }
.bm-cue-form .bm-field + .bm-upload-actions { margin-top: 12px; }
.bm-progress .bm-section-heading { align-items: flex-start; flex-wrap: wrap; }
.bm-progress .bm-help { margin-top: 6px; max-width: 56ch; }
.bm-progress-player { min-width: 190px; }
.bm-progress-chart { position: relative; min-height: 220px; }
/* A percentage width keeps the drawn chart from widening its column; it is redrawn at the new width. */
.bm-progress-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.bm-grid { stroke: #edf0f5; stroke-width: 1; }
.bm-axis { fill: #8290a3; font-size: 11px; font-variant-numeric: tabular-nums; }
.bm-target { stroke: #686b73; stroke-width: 1; }
.bm-target-label { fill: #56667e; font-size: 11px; font-weight: 600; }
.bm-interval { stroke: var(--bm-blue); stroke-width: 2; stroke-linecap: round; opacity: .55; }
.bm-dot { fill: var(--bm-blue); stroke: #fff; stroke-width: 2; }
.bm-dot.is-hollow { fill: #fff; stroke: var(--bm-blue); stroke-width: 2; }
.bm-cannot { fill: #8c9aaf; font-size: 15px; font-weight: 600; }
.bm-hit { fill: transparent; cursor: default; }
.bm-hit.is-active, .bm-hit:focus-visible { fill: #225bd70d; outline: none; }
.bm-tooltip { position: absolute; z-index: 2; display: grid; gap: 2px; width: 190px; padding: 9px 11px; border: 1px solid #dce3ed; border-radius: 10px; background: #fff; box-shadow: 0 8px 24px #1a273b1f; font-size: 11px; color: #56667e; pointer-events: none; }
.bm-tooltip[hidden] { display: none; }
.bm-tooltip strong { color: #1a273b; font-size: 14px; font-weight: 650; }
.bm-progress-table { margin-top: 10px; }
.bm-progress-table summary { cursor: pointer; padding-block: 10px; color: #4b678e; font-size: 12px; }
.bm-outcomes td:nth-child(4) { white-space: normal; min-width: 220px; max-width: 360px; line-height: 1.5; }
.bm-table td small { display: block; color: #92a2b7; font-size: 10px; }
@media(max-width: 800px) {
  .bm-metric-options { grid-template-columns: minmax(0, 1fr); }
  .bm-observable-facts { grid-template-columns: minmax(0, 1fr); }
}
@media(max-width: 480px) {
  .bm-frames { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bm-progress-player { min-width: 0; width: 100%; }
}
/* Sections shrink to the column; wide tables scroll inside their own scroller. */
.bm-detail { grid-template-columns: minmax(0, 1fr); }
.bm-progress-table td:last-child { white-space: normal; min-width: 180px; }
.bm-related { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: -12px 0 22px; font-size: 14px; }
.bm-related a { color: var(--bm-blue); text-decoration: underline; text-underline-offset: 3px; min-height: 32px; display: inline-flex; align-items: center; }
