/* Functional layout fixes only; each page retains its original palette. */
[hidden] { display: none !important; }
html { scroll-padding-top: 7rem; }
[id] { scroll-margin-top: 7rem; }
#mobile-menu { max-height: calc(100dvh - 5rem); overflow-y: auto; overscroll-behavior: contain; }
#app-modal > div, #disclaimer-modal > div { max-height: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain; }
#videoModal > div { max-height: calc(100dvh - 2rem); overflow-y: auto; }
#toast { max-width: calc(100vw - 3rem); }
button:disabled { cursor: wait; opacity: .65; }
:is(a, button, input, select, textarea, [role="button"]):focus-visible { outline: 2px solid #BF5A36; outline-offset: 3px; }
[data-form-status] { margin-top: 1rem; font-size: .8125rem; line-height: 1.6; overflow-wrap: anywhere; }
.form-honeypot { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 639px) {
  #app-modal > div { padding-top: 3rem; }
  .tab-content .flex > div:not(.shrink-0) { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
