/* Phone layout fixes, scoped to the existing application. */
@media (max-width:639px){
 nav[style*='sticky']{padding-top:12px}
 nav[style*='sticky']>div{padding-left:16px;padding-right:16px}
 nav[style*='sticky'] [class~='@container/logo']{flex:0 0 40px}
 nav[style*='sticky'] button{white-space:nowrap;min-height:44px;flex-shrink:0}
 nav[style*='sticky'] button svg{flex-shrink:0}
 .max-w-7xl>.flex-none.flex.items-center.gap-2{flex-wrap:wrap;gap:10px}
 .max-w-7xl>.flex-none.flex.items-center.gap-2>div{max-width:100%;flex-wrap:wrap;min-width:0}
 .max-w-7xl>.flex-none.flex.items-center.gap-2 button{min-height:44px;min-width:40px}
 input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important}
 .max-w-7xl>.flex.justify-between.items-center{flex-wrap:wrap;gap:12px}
 .max-w-7xl>.flex.justify-between.items-center>div{max-width:100%;flex-wrap:wrap}
 .max-w-7xl>.flex.justify-between.items-center button{white-space:nowrap;min-height:44px;flex-shrink:0}
 .max-w-7xl>.flex-none.flex{flex-wrap:wrap!important;min-width:0;gap:10px}
 .max-w-7xl>.flex-none.flex>div{flex-wrap:wrap!important;min-width:0;max-width:100%}
 .max-w-7xl>.flex-none.flex>div.shrink-0{flex-shrink:1!important}
 .max-w-7xl button{min-height:40px}
 [role=dialog]{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}
 pre{max-width:100%;overflow:auto}
 .overflow-x-auto{max-width:100%;overscroll-behavior-x:contain}
 .flex>input:not([type=checkbox]):not([type=radio]){min-width:0!important;max-width:100%;flex-shrink:1}
 .flex:has(>input:not([type=checkbox]):not([type=radio])){min-width:0}
 .flex.border-b:has(>button){flex-wrap:wrap}
 .flex.border-b>button{padding-left:12px;padding-right:12px;flex:1 0 110px;min-height:44px}
 .space-y-3>.flex.items-center.gap-3{flex-wrap:wrap;min-width:0}
 .space-y-3>.flex.items-center.gap-3>.relative{max-width:100%}
}
