/* Shared phone, tablet and desktop safeguards, including iPhone Safari. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;max-width:100%;overflow-x:hidden}
body{max-width:100%;overflow-x:hidden}
img,svg,video,canvas{max-width:100%}
main,section,article,aside,header,nav,form,fieldset,div{min-width:0}
button,input,select,textarea{max-width:100%;touch-action:manipulation}
a,button,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}
@supports(padding:max(0px)){body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.mobile-bottom-nav,.profile-mobile-nav,.factories-mobile-nav,.factory-mobile-nav,.favorites-mobile-nav,.partner-mobile-nav,.tracking-mobile-nav,.cart-mobile-nav{padding-bottom:env(safe-area-inset-bottom)}}
@media(max-width:760px){input,select,textarea{font-size:16px!important}.shell,.cart-shell,.tracking-shell,.profile-main,.favorites-main{max-width:100%}.nihol-header-actions>a{min-width:34px;min-height:34px}.unified-theme-toggle{bottom:calc(70px + env(safe-area-inset-bottom))}.profile-hero-card button{width:40px!important;min-width:40px;height:40px;padding:0!important;overflow:hidden;font-size:0!important}.profile-hero-card button::after{content:"✎";font-size:17px}.admin-header .back-link{display:grid;width:40px;min-width:40px;height:40px;padding:0!important;place-items:center;overflow:hidden;font-size:0!important}.admin-header .back-link::after{content:"↗";font-size:18px}}
@media(min-width:761px) and (max-width:1100px){.nihol-header-actions>a{min-width:40px;min-height:40px}}
@media(hover:none){a:hover,button:hover{transform:none!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
