/* Help uses site.css for the brand, palette, typography and shared components. */
.section-help { color-scheme: dark; font-size: 1rem; overflow-wrap: anywhere; }
.section-help a { text-underline-offset: .2em; }
.section-help :is(a, button, input):focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.section-help img { display: block; }
.section-help :is(ul, ol) { padding-left: 0; padding-inline-start: 1.375rem; }
.section-help .page-title { font-size: 2.125rem; overflow-wrap: anywhere; }
.section-help h2 { font-size: 1.625rem; }
.section-help h3 { font-size: 1.1875rem; }
.section-help .lead { font-size: 1.125rem; color: var(--muted); }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -10rem; z-index: 10; background: var(--surface); padding: 1rem; }
.skip-link:focus { top: 1rem; }
.section-help .site-header { height: auto; min-height: var(--header-h); padding-block: .375rem; }
.section-help .logo { font-size: 1.125rem; }
.section-help .logo img { width: 28px; height: 28px; flex-shrink: 0; }
.section-help .site-nav { flex-wrap: wrap; overflow: visible; margin: 0; }
.section-help .site-nav a { white-space: normal; display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; }
.section-help .crumbs { font-size: .875rem; }
.eyebrow { margin-bottom: .75rem; color: var(--muted); font-size: .8125rem; }
.article-header { margin-block-end: 2rem; }
.article-section { margin-block: 3rem; }
.article-image { margin: 0 0 1.5rem; }
.article-image img { width: 100%; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.contents { padding: 1rem; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.contents h2 { font-size: 1.1875rem; }
.contents ol { margin-bottom: 0; }
.section-help .help-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); padding: 0; }
.help-cards li { min-width: 0; }
.help-cards a { padding: 0; gap: 0; overflow: hidden; }
.help-cards img { width: 100%; border-bottom: 1px solid var(--border); }
.help-cards h3 { margin: .875rem 1rem .5rem; font-size: 1.0625rem; }
.help-cards p { margin: 0 1rem 1rem; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.sources { margin-block: 3rem; padding-block: 1.5rem; border-top: 1px solid var(--border); }
.sources h2 { font-size: 1.1875rem; }
.sources li { font-size: .9375rem; }
.device-test { border: 1px solid var(--border); border-inline-start: 3px solid var(--accent); border-radius: 12px; background: var(--surface); padding: 1.25rem; margin-block: 1.5rem 2rem; }
.device-test h2 { font-size: 1.375rem; }
.test-controls { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: 1rem; }
.device-test .btn { font: inherit; font-weight: 700; border: 1px solid transparent; cursor: pointer; min-height: 44px; }
.device-test .btn.secondary { color: var(--text); background: var(--surface-2); border-color: var(--border); }
.device-test button:disabled { opacity: .5; cursor: default; }
.device-test [role=status], .device-settings { color: var(--muted); font-size: .9375rem; }
.device-test video { width: 100%; max-height: 480px; object-fit: contain; background: var(--bg); border-radius: 10px; }
.device-test video.is-mirrored { transform: scaleX(-1); }
.device-settings { margin-block: 1rem 0; }
.meter-label { display: flex; flex-direction: column; gap: .75rem; }
.meter-label meter { width: 100%; height: 2rem; accent-color: var(--accent); }
.device-test [hidden] { display: none; }
.mirror-control { display: flex; align-items: center; gap: .625rem; min-height: 44px; margin-block: .625rem 1rem; font-size: .9375rem; }
.mirror-control input { width: 1.25rem; height: 1.25rem; accent-color: var(--accent); flex-shrink: 0; }
.section-help .site-footer { font-size: .875rem; }
.section-help .site-footer section { max-width: 828px; margin: auto; }
.section-help .site-footer h2 { font-size: 1.1875rem; }
.section-help .footer-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.section-help[dir=rtl] .article-section { line-height: 1.8; }
@media (max-width: 700px) {
  .section-help .site-header { gap: .375rem .75rem; }
  .section-help .site-nav { width: 100%; }
  .section-help .site-nav a { padding-inline: .625rem; }
  .section-help .page-title { font-size: 1.75rem; }
  .section-help h2 { font-size: 1.375rem; }
}
@media (max-width: 420px) {
  .device-test, .contents { padding: 1rem; }
}
