/* Shared responsive and touch refinements; keep wide layouts intact. */
img,svg{max-width:100%}input,select,textarea{min-width:0}a,button,input,select,textarea,summary{touch-action:manipulation}p,li,td,th,summary{overflow-wrap:anywhere}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #47a693;outline-offset:3px}
@media(max-width:900px){.header nav{gap:16px}.header{gap:16px}.hero{gap:28px}main>*,.hero>*,.content-grid>*,.feature-grid>*,.pricing-grid>*{min-width:0}}
@media(max-width:760px){
 html{scroll-padding-top:16px}body{-webkit-text-size-adjust:100%}.wrap{width:calc(100% - 32px)}
 .header{height:auto;flex-wrap:wrap;padding:12px 0;gap:12px}.header .logo{width:180px;height:61px}.header .logo img{width:180px}.header>.button{min-height:44px;padding:10px 12px;gap:6px}.header nav{order:3;width:100%;display:flex;gap:4px;overflow-x:auto;padding:4px 0;scrollbar-width:thin}.header nav a{display:flex;align-items:center;min-height:44px;padding:8px 12px;white-space:nowrap;flex-shrink:0}.header>a:not(.logo):not(.button){min-height:44px;display:flex;align-items:center;font-size:13px}
 .button,button,summary{min-height:44px}.button{white-space:normal;text-align:center}.hero{padding-top:32px;gap:32px}.hero h1{font-size:clamp(36px,9vw,46px);letter-spacing:-1.8px}.actions{flex-wrap:wrap;gap:12px}.actions>a{min-height:44px}.actions .text-link{display:flex;align-items:center}.lead{font-size:16px}.eyebrow{line-height:1.8;flex-wrap:wrap}.preview-body{padding:16px}.preview-top{padding:14px}.preview-title{gap:10px}.stats strong{font-size:23px}.txn{gap:7px}.txn>div{min-width:0}.txn strong{white-space:nowrap}.net strong{font-size:26px}.promise-inner{gap:12px 20px}.section{padding-top:42px;padding-bottom:42px}.section-heading{margin-bottom:25px}.faq{gap:24px}.questions summary{padding:10px 0;line-height:1.5}.questions details{padding:8px 0}.pricing-section{padding-top:0}.price-card .button{min-width:0;width:100%}.price-card{padding:24px}.cta{width:calc(100% - 32px);padding:35px 20px;margin-bottom:35px}.cta h2{font-size:34px}footer>div,footer nav{gap:8px 16px}footer a{display:inline-flex;align-items:center;min-height:44px}.content-footer .support-links{gap:0 16px}.breadcrumbs{font-size:12px;line-height:1.7}.page-intro{padding:28px 0}.page-intro h1{font-size:clamp(34px,9vw,46px);letter-spacing:-1.5px}.page-intro .lead{font-size:17px}.status-note{padding:16px;margin-bottom:24px}.content-grid{gap:14px}.content-card{padding:22px}.content-card h3{font-size:23px}.copy-section{padding:24px 0}.copy-section h2{line-height:1.25}.copy-section p,.copy-section li{font-size:16px}.copy-section ol{padding-left:24px}.content-cta{padding:24px;margin:30px 0}.content-cta h2{font-size:28px}.table-scroll{max-width:100%;overflow-x:auto}.table-scroll table{min-width:480px}.table-scroll th,.table-scroll td{padding:12px}.support-form input,.support-form select,.support-form textarea,input,select,textarea{font-size:16px;min-height:44px}.support-form .button{width:100%}.account-shell{width:calc(100% - 32px);margin:32px auto 50px}.account-shell h1{font-size:36px}.auth-tabs{gap:16px;flex-wrap:wrap}.auth-tabs button{min-height:44px}.account-shell label{font-size:14px}
}
@media(max-width:700px){
 body:has(#sandbox) main{padding:20px 16px}body:has(#sandbox) header{flex-wrap:wrap;gap:10px}body:has(#sandbox) header>span{display:block;font-size:13px}body:has(#sandbox) header>span a{display:inline-flex;min-height:44px;align-items:center}.brand{width:min(280px,100%);height:auto;aspect-ratio:320/108}.brand img{width:100%;max-width:100%}nav[aria-label="Workspace"]{flex-wrap:nowrap;overflow-x:auto;padding:4px 0 10px;gap:6px;scrollbar-width:thin}nav[aria-label="Workspace"] button{white-space:nowrap;flex-shrink:0;min-height:44px}body:has(#sandbox) h1{font-size:36px;letter-spacing:-1.5px;line-height:1.15;margin-top:22px}body:has(#sandbox) h2{font-size:23px}body:has(#sandbox) article,body:has(#sandbox) section:not(.metrics){padding:16px}body:has(#sandbox) section{margin:18px 0}.transaction-form,.statement{grid-template-columns:minmax(0,1fr)}.transaction-form>*{min-width:0}.transaction-form input,.transaction-form select,.statement input,.statement select{width:100%}.transaction-form label{font-size:14px}.transaction-form>button{width:100%}#business-name{min-width:0;width:100%;margin-top:6px}#sandbox>label{display:block}.sandbox-head{gap:12px}.sandbox-head button{width:100%}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics article:last-child{grid-column:1/-1}.metrics strong{font-size:27px}.account-filter{display:grid;grid-template-columns:1fr;gap:6px}.account-filter select{width:100%}#financial-list{grid-template-columns:minmax(0,1fr)}.row{grid-template-columns:minmax(0,1fr) auto;gap:12px}.row>div:first-child{overflow-wrap:anywhere;min-width:0}.row>b{white-space:nowrap}.row>select,.row>.row-actions{grid-column:1/-1;width:100%}.row-actions button{flex:1;min-height:44px;font-size:14px}.check-label{min-height:44px}.check-label input,.clear-row input{min-width:22px;min-height:22px;width:22px;height:22px}.split-line{grid-template-columns:minmax(0,1fr)}.clear-row{align-items:flex-start;min-height:48px}.clear-row span{min-width:0;overflow-wrap:anywhere}.report-actions{flex-wrap:wrap}.report-actions button{flex:1;min-height:44px}.report-line,.report-total{gap:14px;align-items:flex-start}.report-line>*:first-child{min-width:0;overflow-wrap:anywhere}.report-line>*:last-child,.report-total>*:last-child{white-space:nowrap}.report-table-wrap{max-width:100%;overflow:auto}.report-table-wrap table{min-width:560px}#reopen-panel{padding:16px}#reopen-reason{width:100%}#reconciliation-history pre,#activity-list pre{max-width:100%}
}
@media(max-width:359px){.header .logo{width:155px;height:53px}.header .logo img{width:155px}.header>.button{font-size:11px;padding:8px}.hero h1{font-size:34px}.stats{gap:8px}.stats>div{padding:10px}.stats strong{font-size:21px}.metrics{grid-template-columns:1fr}.metrics article:last-child{grid-column:auto}.actions{align-items:stretch;flex-direction:column}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
