/* Reflow uses CSS viewport pixels, including browser zoom, not device names. */
body.fa-adaptive main,body.fa-adaptive section,body.fa-adaptive article,body.fa-adaptive fieldset{min-width:0}
body.fa-adaptive fieldset{max-width:100%;box-sizing:border-box}
body.fa-adaptive .fa-responsive-table{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
body.fa-adaptive .fa-responsive-table:focus-visible{outline:3px solid #32a9dd;outline-offset:2px}
body.fa-adaptive dialog{box-sizing:border-box;max-width:calc(100vw - 24px)!important;max-height:calc(100vh - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow:auto}
body.fa-adaptive dialog .fa-modal-fixed-header h2{min-width:0;overflow-wrap:anywhere}
body.fa-adaptive .biz-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))}
body.fa-adaptive .directory-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))}
@media(max-width:1024px){
 body.fa-management .sidebar{transform:translateX(-100%);transition:transform .2s;width:min(280px,calc(100vw - 28px))}
 body.fa-management .sidebar.open{transform:translateX(0);top:67px;max-height:calc(100dvh - 67px);overflow-y:auto}
 body.fa-management .main-wrapper{margin-left:0;min-width:0}
 body.fa-management .mobile-toggle{display:block;border:0;border-radius:8px;background:var(--primary-light);padding:7px 12px;color:var(--primary);font-size:20px;min-width:44px;min-height:44px}
 body.fa-management .topbar{flex-wrap:wrap;gap:10px;padding:12px 16px}
 body.fa-management .quick-actions{order:3;width:100%;overflow-x:auto;flex-wrap:nowrap}
 body.fa-management #search-form{min-width:0;max-width:260px;flex:1}
}
@media(max-width:650px){
 body.fa-adaptive input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=submit]),body.fa-adaptive select,body.fa-adaptive textarea{font-size:16px!important;min-height:44px;max-width:100%;box-sizing:border-box}
 body.fa-adaptive textarea{min-height:96px}
 body.fa-adaptive form button,body.fa-adaptive dialog button,body.fa-adaptive .web-toolbar button,body.fa-adaptive .fa-entry-actions button,body.fa-adaptive .fa-inbox-pages button,body.fa-adaptive .form-button{min-height:44px;white-space:normal}
 body.fa-adaptive .fa-inbox-pages{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
 body.fa-adaptive .form-grid,body.fa-adaptive .web-grid{grid-template-columns:minmax(0,1fr)}
 body.fa-adaptive dialog{padding:14px}
 body.fa-adaptive dialog .fa-modal-fixed-header{align-items:flex-start}
 body.fa-adaptive .page-footer{flex-wrap:wrap;overflow-wrap:anywhere}
 body.fa-adaptive header.topnav .mobilemenu,body.fa-adaptive header.topnav .navlinks a{min-height:44px;box-sizing:border-box}
 body.fa-adaptive header.topnav .navlinks a{display:flex;align-items:center;justify-content:center;white-space:normal;text-align:center}
}
@media(prefers-reduced-motion:reduce){body.fa-management .sidebar{transition:none}}
