/* Delivery-only accessibility and viewport fixes; original slide artwork is preserved. */
html,
body {
  min-height: 100%;
}
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #0d7a44;
  outline-offset: 4px;
}
#training-fullscreen {
  white-space: nowrap;
  font: inherit;
  padding: 8px 12px;
}
@media (max-width: 600px) {
  .topbar {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 16px;
  }
  .topbar .brand {
    min-width: 0;
  }
  .topbar .controls {
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
  }
  body:has(.scene) .brand {
    display: block;
  }
  body:has(.scene) .scene {
    flex-direction: column;
    justify-content: center;
    padding: 148px 24px 88px;
    gap: 20px;
  }
  body:has(.scene) .scene-content {
    width: 100%;
    max-width: none;
    flex: 0 0 auto;
    text-align: center;
  }
  body:has(.scene) .scene-media {
    width: 100%;
    flex: 0 1 auto;
    height: auto;
    max-height: 40dvh;
  }
  body:has(.scene) .scene-image {
    max-height: 38dvh;
  }
  body:has(.scene) .title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    max-width: none;
  }
  body:has(.scene) .visible-text {
    font-size: 1.125rem;
    max-width: none;
  }
  body:has(.scene) .nav {
    top: auto;
    bottom: 20px;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
