/* Installation controls remain outside the replaceable workspace root. */
.auth-page [data-merchant-guide]{margin:8px 0 16px}
#merchant-app-tools[hidden]{display:none}
#merchant-app-tools{padding:8px max(16px,env(safe-area-inset-right)) 8px max(16px,env(safe-area-inset-left));background:#edf3e5;border-bottom:1px solid #dce5d9}
.merchant-app-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;max-width:1500px;margin:auto}
.merchant-app-row p{flex:1 1 260px;margin:0;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
#merchant-install-help{max-width:540px;width:calc(100% - 32px);max-height:85dvh;overflow:auto;padding:24px;box-sizing:border-box;border:1px solid #dce5d9;border-radius:18px;color:#163e35}
#merchant-install-help p{font-size:16px;line-height:1.7;overflow-wrap:anywhere}
@media(display-mode:standalone){body{padding-top:env(safe-area-inset-top)}.mobile-navigation{padding-bottom:max(8px,env(safe-area-inset-bottom))}.app-main{padding-bottom:calc(88px + env(safe-area-inset-bottom))}}
@media(max-width:1024px){input,select,textarea,.field input,.field select,.field textarea{font-size:16px}.topbar{height:auto;min-height:64px;flex-wrap:wrap;gap:10px;padding-top:12px;padding-bottom:12px}.topbar-right{flex-wrap:wrap}.content{min-width:0}.page-heading{gap:12px;flex-wrap:wrap}}
@media(max-width:700px){input,select,textarea,.field input,.field select,.field textarea{font-size:16px}.btn,.mobile-navigation button,.nav-item{min-height:44px}.form-actions{flex-wrap:wrap}.form-actions .btn{white-space:normal}.auth-page{box-sizing:border-box;width:auto;max-width:calc(100% - 32px)}dialog{max-height:85dvh;overscroll-behavior:contain}.modal-heading{gap:12px}}
