header .max-w-7xl{min-width:0}header h1{overflow-wrap:anywhere}html,body{max-width:100%}
@media(max-width:420px){header h1{font-size:14px!important}header button{padding-left:10px!important;padding-right:10px!important}}
.phase-network{position:fixed;bottom:85px;left:10px;right:10px;z-index:999;background:#991b1b;color:white;padding:12px;border-radius:10px}
.phase-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin:16px 0}
.phase-metrics>div{background:#141414;border:1px solid #444;border-radius:12px;padding:14px}.phase-metrics span{display:block;font-size:12px;color:#ddd}.phase-metrics strong{display:block;color:white;font-size:22px}
:focus-visible{outline:3px solid #ef4444;outline-offset:3px}
@media(max-width:640px){input,select,textarea{font-size:16px!important}#courierView button,#courierView a{min-height:44px}button{touch-action:manipulation}.phase-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

#authModal form input{min-height:44px}#authModal>div>div{max-height:calc(100dvh - 24px);overflow-y:auto}
#registerSubmit:disabled{opacity:.65;cursor:wait}
