@media (max-width:900px),(pointer:coarse){
 html,body{touch-action:pan-x pan-y;-webkit-text-size-adjust:100%;text-size-adjust:100%}
 :is(input,select,textarea):not(#rotationZoomViewport *){font-size:max(16px,1em)!important}
 button,a{touch-action:pan-x pan-y}
}
@media(max-width:700px){
 body{overflow-wrap:break-word}.app{width:100%;min-width:0}
 .app>header{padding:18px 16px}.app>header h1{font-size:23px;margin-top:14px}
 .app>header .headrow{align-items:flex-start;flex-wrap:wrap}.app>header .role{max-width:100%;overflow-wrap:anywhere}
 .app>main{padding:16px 12px calc(94px + env(safe-area-inset-bottom))}
 .screen:not(#rotation) .card{padding:16px 14px;border-radius:16px}
 .screen:not(#rotation) :is(.top,.itemtop){flex-wrap:wrap;align-items:flex-start}
 .screen:not(#rotation) .row{grid-template-columns:repeat(2,minmax(0,1fr))}
 .screen:not(#rotation) .field{min-width:0}.screen:not(#rotation) .field :is(input,select,textarea){max-width:100%;min-width:0}
 .screen:not(#rotation) :is(.tabs,.actions,.att-toolbar){gap:8px;flex-wrap:wrap}
 .screen:not(#rotation) button{min-height:44px}
 .modalBack{padding:10px!important}.modal{max-width:100%!important;max-height:calc(100dvh - 28px);overflow:auto;overscroll-behavior:contain}
 nav{padding-bottom:env(safe-area-inset-bottom)}nav button{min-height:52px}
 .screen:not(#rotation) .catrow{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .screen:not(#rotation) .catrow>:first-child{grid-column:1/-1}
}
@media(max-width:380px){.screen:not(#rotation) .row{grid-template-columns:minmax(0,1fr)}}
