/* Shared support layer. Loaded first on every page so each page's own CSS can still override it.
   Target: current and previous two versions of Chrome, Edge, Firefox, Safari (iOS 14+ / macOS), Samsung Internet. */

/* phones: stop iOS from resizing text in landscape, remove the grey tap flash, no double-tap delay */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;-webkit-tap-highlight-color:rgba(122,42,140,.15)}
a,button,select,summary,label,input[type=checkbox],input[type=radio]{touch-action:manipulation}

/* keyboard users see where they are; mouse users do not get extra rings */
:focus-visible{outline:2px solid #7a2a8c;outline-offset:2px}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:0}

/* iOS zooms the page when a field under 16px gets focus, so fields are 16px on phones */
@media(max-width:767px){
  input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{font-size:16px!important}
}

/* people who ask their device for less motion get none */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* older browsers without aspect-ratio keep a sensible map height (260/960 of the width) */
@supports not (aspect-ratio:1/1){
  .map{height:27vw;max-height:290px;min-height:110px}
  .cmap{height:27vw;max-height:290px;min-height:190px}
}

/* Brand mark before the name (images/logo.svg), same in every header and in the sign-in popup */
.logo{display:inline-flex;align-items:center;gap:8px}
.logo .mark{width:32px;height:32px;flex:none;display:block}
.au-logo{display:inline-flex;align-items:center;gap:8px}
.au-logo .mark{width:28px;height:28px;flex:none;display:block}
@media(max-width:767px){.logo .mark{width:26px;height:26px}}
