/* Kiosk 43" portrait, 1080 x 1920 CSS px. Shared baseline for every kiosk-facing page.
   Loaded right after the viewport meta, so :root:root + !important are used to win over page CSS. */
@media screen and (orientation: portrait) and (min-width: 761px) {
    :root:root, :root:root body { min-height: 100dvh; max-width: 100vw; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
    :root:root body { font-size: max(1em, 20px); -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
    :root:root input, :root:root textarea, :root:root [contenteditable] { user-select: text; -webkit-user-select: text; }

    :root:root img, :root:root video, :root:root canvas, :root:root svg { max-width: 100%; }
    :root:root table { max-width: 100%; }

    :root:root button, :root:root [type=button], :root:root [type=submit], :root:root a[role=button], :root:root .btn { min-height: 56px; min-width: 56px; touch-action: manipulation; }
    :root:root input:not([type=checkbox]):not([type=radio]):not([type=hidden]), :root:root select, :root:root textarea { min-height: 56px; font-size: 22px; }
    :root:root input[type=checkbox], :root:root input[type=radio] { width: 28px; height: 28px; }
    :root:root label { font-size: 20px; }
    :root:root small, :root:root .small { font-size: max(1em, 18px); }
    :root:root p, :root:root li, :root:root td, :root:root th { font-size: max(1em, 20px); }

    :root:root dialog, :root:root .modal-dialog { max-width: min(96vw, 1000px); max-height: 94dvh; }
    :root:root dialog { overflow: auto; }
}
