/* V13.30 mobile layout: presentation-only; Stripe/auth/API untouched */
html,body{max-width:100%;overflow-x:clip}img,video,svg{max-width:100%;height:auto}button,input,select,textarea{max-width:100%}
@media(max-width:900px){
 .top,.unified-top{height:auto;min-height:70px;padding:12px 16px;display:flex;flex-wrap:wrap;gap:10px 14px}
 .top .brand{flex:1 1 auto;min-width:0}.top .nav{order:3;flex:1 0 100%;display:flex;overflow-x:auto;white-space:nowrap;gap:18px;padding:8px 0 4px;scrollbar-width:thin}
 .top .nav-right{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
 .top .nav-right .btn{display:none}
 .wrap{padding-left:18px;padding-right:18px}
 .hero,.hero-v3{grid-template-columns:minmax(0,1fr)!important;gap:24px;min-height:0;padding-top:32px;padding-bottom:35px}
 .hero-copy,.dashboard,.dash-panel,.dash-shell,.radar-workspace{min-width:0;max-width:100%}
 .dash-shell{padding:22px 16px 48px}
 .dash-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .radar-sidebar{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:12px 16px!important}
 .radar-side-nav{display:flex!important;flex-direction:row!important;overflow-x:auto;gap:8px;padding:8px 0;scrollbar-width:thin}
 .radar-side-link{flex:0 0 auto;white-space:nowrap}
 .radar-workspace{margin-left:0!important;width:100%!important;max-width:100%!important}
 .radar-side-plan{display:none}
 .dash-intro{align-items:flex-start}
 .dash-tabs{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}
 .dash-tabs button{white-space:nowrap;flex-shrink:0}
 table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
@media(max-width:560px){
 .top .brand{font-size:16px}.brand-icon{font-size:22px}.top .nav-right{width:100%;justify-content:space-between}
 .top .nav-right select{min-width:72px}.top .nav-right button{min-height:42px}
 .hero h1{font-size:clamp(30px,9vw,46px);line-height:1.13}
 .hero-actions{display:flex;flex-wrap:wrap;gap:10px}.hero-actions a{max-width:100%;white-space:normal}
 .dash-stats{grid-template-columns:minmax(0,1fr)}
 .dash-stat,.dash-panel{padding:15px}.dash-intro h1{font-size:clamp(26px,8vw,38px)}
 .radar-side-logo,.radar-side-sub{display:none}
 .radar-side-link{padding:10px 12px!important;min-height:44px}
 .dash-toolbar{align-items:stretch}.dash-toolbar>*{max-width:100%}
 .membership-grid,.pricing-grid,.cards,.stat-row{grid-template-columns:minmax(0,1fr)!important}
}
