html{width:100%;-webkit-text-size-adjust:100%}img,svg{max-width:100%}main,section,form,.panel{min-width:0}input,textarea,select{max-width:100%}button,a,input,textarea{touch-action:manipulation}.table-scroll{max-width:100%;overscroll-behavior-x:contain}dialog{max-height:calc(100dvh - 32px);overflow:auto}dialog input,dialog textarea{box-sizing:border-box}body:has(dialog[open]){overflow:hidden}
@media(max-width:800px){header{gap:16px}header nav{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;gap:6px;max-width:100%;padding:2px 0 7px;scrollbar-width:thin}header nav button{flex:none;white-space:nowrap;min-height:44px}main{width:100%;padding:26px 16px 45px}input:not([type=radio]):not([type=checkbox]),textarea,select{font-size:16px!important}button{min-height:44px}.brand-lockup{gap:10px}.page-heading{margin-bottom:24px}.page-heading h1{font-size:29px}.page-heading p{font-size:13px}.auth-layout{min-height:auto;gap:30px}.auth-layout .auth-box{order:-1;padding:24px 20px}.auth-layout .intro h1{font-size:30px}.auth-layout .intro{padding:0 4px}.auth-layout .intro>.eyebrow{font-size:16px}.auth-box h2{font-size:20px}.auth-box .primary{min-height:48px}.segmented{gap:30px}.segmented button{min-height:44px}.consent{align-items:flex-start}.consent input{flex:none;width:18px;height:18px}.consent button{min-height:32px}.type-options{grid-template-columns:1fr;gap:8px}.type-options label{align-items:center;padding:13px;min-height:55px;font-size:14px;gap:10px}.type-options input{margin:0;width:18px;height:18px;flex:none}.type-options small{font-size:11px;margin-top:2px}.search-layout{gap:20px}.submit-row button{width:100%;justify-content:center;min-height:48px}.submit-row small{line-height:1.7}.account-recharge{margin:18px 0}.account-recharge #topup-form>button{min-height:48px}.account-summary .amount{font-size:36px}.account-record-tabs{gap:22px}.account-record-tabs button{min-height:44px}.heading-row{align-items:center}.heading-row h1{font-size:30px}.notice{padding:15px;font-size:13px}.toolbar{flex-wrap:wrap;align-items:center}.toolbar input{flex:1 1 180px;width:100%;max-width:none!important;margin:0}.toolbar button{flex:none}.stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important}.stats article{min-width:0!important;padding:17px}.stats strong{font-size:24px!important;overflow-wrap:anywhere}.actions{gap:8px!important}.actions button{padding:9px 12px!important;min-height:44px!important;font-size:13px!important}#login{margin:20px auto!important;padding:24px 20px}#login .primary{width:100%}#workspace #heading{margin-bottom:0}dialog{width:calc(100% - 24px)!important;max-width:calc(100% - 24px);padding:24px 18px;margin:auto;max-height:calc(100dvh - 24px)}.dialog-close{min-width:44px;min-height:44px;margin:-12px -8px 0 0}dialog h2{padding-right:32px;font-size:20px}dialog pre{font-size:12px;line-height:1.8}dialog form>button.primary{width:100%;min-height:48px}.contact-qr{width:min(250px,100%);min-height:210px}#toast{width:calc(100% - 32px);max-width:440px;bottom:max(16px,env(safe-area-inset-bottom));padding:14px 16px;font-size:13px}footer{gap:12px;padding:20px 16px}footer>div{display:flex;gap:8px}footer button{min-height:40px}}
@media(max-width:600px){.mobile-record-table{display:block;width:100%;table-layout:auto}.mobile-record-table thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.mobile-record-table tbody{display:block}.mobile-record-table tr{display:block;padding:13px 15px;border-bottom:1px solid var(--line)}.mobile-record-table tr:last-child{border-bottom:0}.mobile-record-table td{display:grid;grid-template-columns:100px minmax(0,1fr);gap:10px;padding:8px 0!important;border:0!important;white-space:normal!important;overflow-wrap:anywhere;font-size:13px;line-height:1.6}.mobile-record-table td:before{content:attr(data-label);font-size:12px;color:var(--muted);font-weight:500}.mobile-record-table td button{justify-self:start;min-height:44px}.mobile-record-table td>small{grid-column:2}.account-records{padding:18px 14px}.account-records .mobile-record-table tr{padding:13px 0}.records-panel{overflow:hidden}#results .detail-grid{padding:0 16px 20px}#results summary{padding:16px}.promo-metrics strong{font-size:29px}}
@media(max-width:360px){header{padding:16px}.brand-lockup .brand-word{font-size:20px}.brand-lockup .brand-eac{font-size:20px}.brand-symbol{width:35px;height:35px}header nav button{font-size:12px;padding:8px}.panel{padding:18px}.mobile-record-table td{grid-template-columns:85px minmax(0,1fr);gap:8px}.stats{grid-template-columns:1fr 1fr}.intro>.eyebrow{font-size:14px!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
