@media screen and (max-width:991px) {
 body #aboutNav.gx-site-header .navbar-toggler { height:44px; }
 body #aboutNav.gx-site-header .navbar-collapse { max-height:calc(100svh - 76px - env(safe-area-inset-bottom,0px)); overflow-y:auto; overscroll-behavior:contain; padding-bottom:8px; }
 body #aboutNav.gx-site-header .nav-link,body #aboutNav.gx-site-header .dropdown-item { min-height:44px; display:flex; align-items:center; }
}
/* Layout-only mobile corrections. Preserve themes, forms and native table semantics. */
@media screen and (max-width:767px), screen and (max-width:991px) and (max-height:500px) {
 body.gx-admin-panel .ax-form :is(.form-actions,.entry-footer,.product-entry-footer,.event-entry-footer) { display:flex; flex-direction:column; align-items:stretch; gap:12px; }
 body.gx-admin-panel .ax-form :is(.form-actions,.entry-footer,.product-entry-footer,.event-entry-footer)>* { flex:0 0 auto; min-width:0; max-width:100%; width:100%; }
 body.gx-admin-panel .ax-form :is(.form-actions,.entry-footer,.product-entry-footer,.event-entry-footer)>:is(a,button) { display:flex; align-items:center; justify-content:center; min-height:46px; height:auto; padding:12px 16px!important; line-height:1.45; text-align:center; white-space:normal; }
 body.gx-admin-panel .ax-form :is(.accordion-header,.accordion-trigger,.finance-trigger) { display:flex; align-items:center; gap:12px; padding:16px!important; min-height:64px; }
 body.gx-admin-panel .ax-form .entry-accordion .accordion-item { border-radius:18px!important; }
 body.gx-admin-panel .ax-form :is(.accordion-title,.finance-title) { min-width:0; flex:1; gap:12px; }
 body.gx-admin-panel .ax-form :is(.accordion-title,.finance-title)>div { min-width:0; flex:1; }
 body.gx-admin-panel .ax-form :is(.accordion-header,.accordion-trigger,.finance-trigger)>:is(i,svg,.accordion-icon) { flex:0 0 20px; width:20px; margin-left:0; }
 body.gx-admin-panel .ax-form .accordion-number { flex:0 0 32px; width:32px; height:32px; font-size:13px; border-radius:9px; }
 body.gx-admin-panel .ax-form .accordion-title h3 { font-size:16px; line-height:1.4; }
 body.gx-admin-panel .ax-form .accordion-title p { font-size:12px!important; line-height:1.6; margin:5px 0 0; overflow-wrap:anywhere; }
 body.gx-admin-panel .ax-form :is(.upload-content,.product-image-content,.entry-card-header>div,.product-entry-card-header>div) { width:100%; min-width:0; }
 body.gx-admin-panel .ax-form :is(.document-status-box,.profile-upload-panel,.product-image-panel) { max-width:100%; min-width:0; }
 body.gx-admin-panel :is(.ax-header-actions,.md-hero-actions,.ad-header-actions,.ax-directory-filters,.order-filter-form,.ax-period-filter) { min-width:0; max-width:100%; flex-wrap:wrap; }
 body.gx-admin-panel :is(.ax-directory-filters,.order-filter-form,.ax-period-filter)>:is(label,.order-filter-field,div) { min-width:0; max-width:100%; }
 body.gx-admin-panel :is(.ax-header-actions,.md-hero-actions,.ad-header-actions) :is(a,button) { white-space:normal!important; min-height:44px; text-align:center; }
 :is(.gx-public,.gx-home,.gx-dashboard,.gx-portal,.gic-reg,.gic-admin-mode,.ie-shell) :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=submit]):not(.ie-code),select,textarea) { font-size:16px!important; max-width:100%; min-width:0; }
 :is(.gx-public,.gx-home,.gx-dashboard,.gx-portal,.ie-shell) :is(input[type=text],input[type=email],input[type=password],input[type=search],input[type=tel],select) { min-height:44px; }
 :is(.gx-public,.gx-home,.gx-dashboard,.gx-portal) :is(h1,h2,h3,h4,p,dd) { overflow-wrap:anywhere; }
 :is(.gx-public,.gx-home,.gx-dashboard,.gx-portal) :is(.gx-actions,.gx-section-title,.gx-dash-panel-head,.gx-portal-panel-head,.gc-footer>.gc-wrap,.gp-footer>.gp-wrap) { min-width:0; max-width:100%; flex-wrap:wrap; }
 .gx-dash-account-row .gx-account-nav { width:100%; min-width:0; }
 .gx-dashboard :is(.gx-dash-order-tools,.gx-order-summary,.gx-dash-cart-footer,.gx-dash-help) { min-width:0; max-width:100%; }
 .gx-dashboard .gx-dash-search { min-width:0; max-width:100%; }
 .gx-dashboard :is(.gx-dash-search input,.gx-order-summary>div,.gx-dash-cart-item-info) { min-width:0; }
 .gx-dashboard :is(.gx-dash-button,.gx-dash-show-more),.gx-portal .gx-portal-button { min-height:44px; white-space:normal; text-align:center; }
 body .gx-table-tools { min-width:0; max-width:100%; }
 body .gx-table-tools :is(.gx-table-search,.gx-table-facet) { min-width:0; max-width:100%; }
 body .gx-table-tools :is(input,select) { min-width:0; width:100%; }
 body .gx-table-pages :is(button,select),body .gic-table-pager :is(button,select) { min-height:44px; }
 body .gx-table-pages { min-width:0; max-width:100%; flex-wrap:wrap; }
 body .gx-table-scroll { max-width:100%; overscroll-behavior-x:contain; -webkit-overflow-scrolling:touch; }
 body .scroll-top-btn { width:44px; height:44px; padding:0; margin:16px!important; right:env(safe-area-inset-right,0px)!important; bottom:env(safe-area-inset-bottom,0px)!important; }
}
@media screen and (max-width:480px) {
 body.gx-admin-panel .md-filters { grid-template-columns:minmax(0,1fr)!important; }
}
