/* MASTERLAW V29 · final responsive guardrails for public commerce/auth flows */
html,body{max-width:100%;overflow-x:hidden}img,svg,video,canvas{max-width:100%;height:auto}.brand img,.mark img,.brand-logo{object-fit:contain!important}.topin,.wrap,.panel,.card,.paycard,.section,.sectionhead,.formgrid,.cards,.actions{min-width:0}.sectionhead>*,.itemline>*,.totalrow>*,.field,.copy{min-width:0}.sectionhead h1,.sectionhead h2,.panel h1,.panel h2,.card h1,.card h2,.itemline b,.notice,.status,p,span,label{overflow-wrap:anywhere}.actions{display:flex;flex-wrap:wrap;gap:10px}.actions .btn,.actions button,.actions a{max-width:100%}.cards{align-items:stretch}.cards>.card{min-width:0}.formgrid{gap:12px}.field input,.field textarea,.field select{max-width:100%}.top nav{min-width:0}.top .brand{min-width:0}.top .brand strong{white-space:nowrap}.footer{display:flex;flex-wrap:wrap;gap:8px 16px}.timeline{overflow-x:auto;scrollbar-width:thin}.timeline .step{min-width:82px}
@media(max-width:760px){.topin{padding-left:14px!important;padding-right:14px!important}.top nav{display:none!important}.wrap{padding-left:14px!important;padding-right:14px!important}.sectionhead{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.sectionhead h2{font-size:clamp(24px,8vw,32px)!important;line-height:1.05!important}.cards,.formgrid,.compact-grid{grid-template-columns:1fr!important}.actions{display:grid!important;grid-template-columns:1fr!important}.actions .btn,.actions button,.actions a{width:100%!important;justify-content:center!important}.paycard,.panel,.card{border-radius:18px!important}.itemline,.totalrow{gap:10px}.timeline{display:flex!important;padding-bottom:8px}.timeline .step{flex:0 0 92px}.footer{font-size:10px!important;line-height:1.4}.brand small{display:none!important}}
