/* Keep all header actions reachable on 320–360px phones. */
@media(max-width:360px){
 .site-header{grid-template-columns:minmax(0,1fr) auto;}
 .site-header .brand img{width:96px!important;max-width:100%;}
 .site-header .header-tools{gap:3px;}
 .site-header .header-tools .app-link{padding-inline:8px;}
 .site-header nav{gap:18px;min-width:0;max-width:100%;}
}
/* Prevent iOS from zooming the viewport when a form receives focus. */
@media(max-width:800px){
 input:not([type=radio]):not([type=checkbox]):not([type=range]),textarea,select{font-size:16px;}
}
/* Landscape phones and short windows must retain access to the last menu item. */
@media(max-height:600px){
 .site-header .services-menu{max-height:calc(100vh - 112px);max-height:calc(100dvh - 112px);overflow-y:auto;overscroll-behavior:contain;}
}
