/* P12 uses the approved MatBet visual system. */
.page-safety .breadcrumbs { padding-block: 18px 2px; color: var(--muted); font-size: calc(14px * var(--text-scale, 1)); line-height: 1.6; }
.page-safety .breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.page-safety .breadcrumbs li + li::before { content: "→"; margin-inline-end: 8px; color: var(--muted); }
.page-safety .breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.page-safety .breadcrumbs a:hover, .page-safety .breadcrumbs a:focus-visible { color: var(--yellow); }
.page-safety .article-section .table-wrap { overflow-x: auto; }
.page-safety .article-section:not(#author-details) .data-table { min-width: 760px; }
.page-safety .article-section, .page-safety .facts { scroll-margin-top: 84px; }
.page-safety .author-identity h2 { font: 800 calc(19px * var(--text-scale, 1))/normal Inter,sans-serif; color: var(--text); margin-bottom: 4px; }
@media (max-width: 600px) { .page-safety .author-identity h2 { font-size: calc(21px * var(--text-scale, 1)); font-weight: 900; } }
.page-safety .steps .step-copy { flex: 1; min-width: 0; }

.page-safety #author-details .author-table { min-width: 0; width: 100%; table-layout: fixed; }
.page-safety #author-details .table-wrap { overflow-x: visible; }
.page-safety #author-details .author-table th, .page-safety #author-details .author-table td { overflow-wrap: anywhere; }
.page-safety .hero-character { width: 540px; height: 565px; right: -65px; }
@media (min-width: 981px) and (max-width: 1395px) {
  .page-safety .hero { height: 760px; }
  .page-safety .hero-copy { width: 53%; }
  .page-safety .hero-character { width: 440px; height: 465px; right: -135px; }
}
@media (min-width: 601px) and (max-width: 980px) {
  .page-safety .hero { height: 900px; }
  .page-safety .hero-character { width: 450px; height: 472px; right: auto; }
}
@media (max-width: 600px) {
  .page-safety .hero { height: 880px; }
  .page-safety .hero-character { width: 372px; height: 390px; right: auto; }
}
.page-safety .rating-row .rating-track > span { width: var(--safety-score-width) !important; }

.a11y-reflow .page-safety .hero { display: flex; flex-direction: column; height: auto; min-height: 0; padding-bottom: 24px; }
.a11y-reflow .page-safety .hero-copy { order: 1; position: relative; inset: auto; width: 100%; max-width: 100%; z-index: 2; }
.a11y-reflow .page-safety .hero-character { order: 2; position: relative; inset: auto; transform: none; width: min(100%, 450px); height: auto; aspect-ratio: 1; margin-top: 24px; align-self: center; object-fit: contain; z-index: 1; }
