html, body { max-width: 100%; }
body { overflow-x: clip; }
img, video, iframe { max-width: 100%; }
button, a, input, select, textarea { touch-action: manipulation; }
.container, .container-fluid, main, section { min-width: 0; }
.table-responsive { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }

@media (max-width: 767.98px) {
    body { font-size: .975rem; }
    .btn { min-height: 3rem; }
    .card-body { padding: 1.25rem; }
    .modal-dialog { margin: .75rem; }
    .modal-content { border-radius: 1.125rem; }
}

@media (max-width: 575.98px) {
    .container { --bs-gutter-x: 1.5rem; }
    .btn-responsive { width: 100%; }
}

@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; } }
