/* Mobile customer area and management. Public catalogue layout is unchanged. */
.private-product-close{display:none}
@media(max-width:1000px){
 .account_root__bSYWA .workspace-grid{grid-template-columns:minmax(0,1fr);gap:20px}
 .account_root__bSYWA .account-sidebar{padding:12px;min-width:0}
 .account_root__bSYWA .account-sidebar nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;overflow:visible}
 .account_root__bSYWA .account-sidebar nav a,.account_root__bSYWA .account-sidebar nav button{min-width:0;white-space:normal;line-height:1.4;padding:12px;font-size:14px;min-height:48px;overflow-wrap:anywhere}
 .account_root__bSYWA .sidebar-help{display:none}
 .account_root__bSYWA .logout-button{margin-top:12px;min-height:44px}
 .account_root__bSYWA .account-sidebar .sidebar-caption{display:block;margin:2px 10px 10px}
 .account_root__bSYWA .workspace-heading{align-items:flex-start;flex-wrap:wrap}
 .account_root__bSYWA .private-workspace{margin-inline:auto}
 .account_root__bSYWA .session-badge>span{min-width:0;overflow-wrap:anywhere}
 .account_root__bSYWA .account-content,.account_root__bSYWA .account-panel,.management_manager__R87eB{max-width:100%;min-width:0}
 .account_root__bSYWA .account-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 :is(.account_root__bSYWA,.section.admin,.management_overlay__iigec){overflow-wrap:anywhere}
 :is(.account_root__bSYWA,.section.admin,.management_overlay__iigec) :is(fieldset,form,label,section,article,details){min-width:0;max-width:100%;box-sizing:border-box}
 :is(.account_root__bSYWA,.section.admin,.management_overlay__iigec) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),select,textarea){font-size:16px;min-height:48px;min-width:0;max-width:100%;box-sizing:border-box}
 :is(.account_root__bSYWA,.section.admin,.management_overlay__iigec) input[type=file]{max-width:100%;min-width:0;font-size:14px}
 :is(.account_root__bSYWA,.section.admin,.management_overlay__iigec) :is(button:not([role=checkbox]):not([role=radio]),a.primary,a.secondary){min-height:44px;max-width:100%;white-space:normal;line-height:1.4;touch-action:manipulation}
 :is(.account_root__bSYWA,.section.admin,.management_overlay__iigec) :is(button,a) svg{flex-shrink:0}
 :is(.account_root__bSYWA,.section.admin,.management_overlay__iigec) :is(.form-grid,.management_form__FYh7d,.freight-fields){grid-template-columns:minmax(0,1fr);gap:16px}
 :is(.account_root__bSYWA,.section.admin,.management_overlay__iigec) :is(.form-grid,.management_form__FYh7d)>*{grid-column:auto!important;min-width:0}
 .account_root__bSYWA .private-header{height:auto;min-height:76px;padding:16px;gap:16px;flex-wrap:wrap}
 .account_root__bSYWA .private-header img{width:158px;max-width:100%;height:auto}
 .account_root__bSYWA .back-store{font-size:13px;min-height:44px}
 .account_root__bSYWA .private-workspace{padding:24px 14px 40px}
 .account_root__bSYWA .workspace-heading h1{font-size:29px;line-height:1.15;letter-spacing:-.7px}
 .account_root__bSYWA .workspace-heading{margin-bottom:18px;gap:16px}
 .account_root__bSYWA .session-badge{width:100%;max-width:100%;box-sizing:border-box}
 .account_root__bSYWA .session-badge small{font-size:12px;line-height:1.5}
 .account_root__bSYWA .account-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}
 .account_root__bSYWA .account-sidebar nav a,.account_root__bSYWA .account-sidebar nav button{font-size:13px;gap:8px;align-items:center}
 .account_root__bSYWA .account-panel{padding:20px 16px}
 .account_root__bSYWA .account-content{gap:16px}
 .account_root__bSYWA .welcome-card{padding:24px 20px;min-width:0;gap:14px}
 .account_root__bSYWA .welcome-card>div{min-width:0}
 .account_root__bSYWA .welcome-card h2{font-size:26px;line-height:1.2}
 .account_root__bSYWA .welcome-symbol{display:none}
 .account_root__bSYWA .account-shortcuts{grid-template-columns:minmax(0,1fr);gap:12px}
 .account_root__bSYWA .account-shortcuts button{display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:14px;row-gap:5px;padding:18px;align-items:start;min-height:92px}
 .account_root__bSYWA .account-shortcuts button>svg:first-child{grid-column:1;grid-row:1/3;width:24px;height:24px}
 .account_root__bSYWA .account-shortcuts strong{grid-column:2;font-size:16px;line-height:1.35;margin:0}
 .account_root__bSYWA .account-shortcuts span{grid-column:2;font-size:13px;line-height:1.5}
 .account_root__bSYWA .account-shortcuts svg:last-child{display:none}
 .account_root__bSYWA .overview-detail{grid-template-columns:minmax(0,1fr);gap:24px}
 .account_root__bSYWA .overview-detail>div+div{border-left:0;border-top:1px solid #e3eaf3;padding:24px 0 0}
 .account_root__bSYWA .account-panel .form-grid{grid-template-columns:minmax(0,1fr)}
 .account_root__bSYWA .field{margin-bottom:16px;font-size:14px}
 .account_root__bSYWA .field input{margin-top:0}
 .account_root__bSYWA .panel-actions,.account_root__bSYWA .form-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-top:22px}
 .account_root__bSYWA .primary,.account_root__bSYWA .secondary{font-size:14px;padding:12px 16px;white-space:normal}
 .account_root__bSYWA .profile-logo-editor{flex-direction:column;align-items:flex-start;padding:16px}
 .account_root__bSYWA .profile-logo-editor>div{min-width:0;max-width:100%}
 .account_root__bSYWA .profile-upload-button{max-width:100%;min-height:44px;box-sizing:border-box}
 .account_root__bSYWA .private-footer{padding:24px 16px;font-size:12px}
 .account_root__bSYWA .private-footer>div{flex-wrap:wrap;justify-content:center;gap:8px 16px}
 .account_root__bSYWA .private-footer a{min-height:44px}
 .account_root__bSYWA .private-access{display:flex;flex-direction:column;gap:16px;padding:0 14px;margin:20px auto 32px}
 .account_root__bSYWA .access-card{order:0;border:1px solid #e2e8f0;border-radius:14px;padding:24px 20px;box-shadow:none;min-width:0}
 .account_root__bSYWA .access-story{order:1;border-radius:14px;padding:28px 22px}
 .account_root__bSYWA .access-story h1{font-size:32px;line-height:1.15;letter-spacing:-.8px;margin:16px 0}
 .account_root__bSYWA .access-card h2{font-size:27px;line-height:1.2}
 .account_root__bSYWA .story-features{gap:18px;margin:22px 0}
 .account_root__bSYWA .access-tabs button{font-size:14px;min-width:0}
 .account_root__bSYWA .password-wrap button{width:44px;height:44px;top:2px;right:2px}
 .account_root__bSYWA .password-wrap input{padding-right:52px}
 .account_root__bSYWA .verify-panel{padding:24px 18px}
 .account_root__bSYWA .checkline{font-size:14px;line-height:1.55;min-width:0}
 .account_root__bSYWA .checkline input{width:18px;height:18px;min-height:18px;flex-shrink:0}
 /* Orders, invoices, favourites and replenishment notices. */
 .account_root__bSYWA :is(.customer-orders-toolbar,.customer-order-shipping,.favorites-toolbar){flex-direction:column;align-items:stretch;gap:12px}
 .account_root__bSYWA .customer-order-fold>.customer-order-summary{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px}
 .account_root__bSYWA .customer-order-summary>*{min-width:0}
 .account_root__bSYWA .customer-order-reference>strong{font-size:15px;overflow-wrap:anywhere}
 .account_root__bSYWA .customer-order-total{font-size:18px;margin-left:0}
 .account_root__bSYWA .customer-order-stage{white-space:normal;max-width:100%;font-size:12px;line-height:1.5}
 .account_root__bSYWA .customer-order-toggle{font-size:12px;white-space:normal;text-align:right}
 .account_root__bSYWA :is(.customer-order-expanded,.customer-order-detail-body){padding:16px}
 .account_root__bSYWA .customer-order-line{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}
 .account_root__bSYWA .customer-order-fixed-documents{padding:0 16px 16px}
 .account_root__bSYWA .order-documents-compact{grid-template-columns:minmax(0,1fr)}
 .account_root__bSYWA .order-document-card{grid-template-columns:minmax(0,1fr);gap:8px}
 .account_root__bSYWA .order-document-card .secondary{width:100%;justify-self:stretch}
 .account_root__bSYWA .orders_tracking__xfikx{margin:16px 0;padding:16px}
 .account_root__bSYWA .orders_trackingHeader__l_0cY{flex-wrap:wrap;align-items:center}
 .account_root__bSYWA .orders_trackingHeader__l_0cY button{flex-shrink:0;font-size:14px;white-space:nowrap;padding:8px}
 .management_dialog__ZssdY .private-product-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;position:sticky;top:-20px;background:#fff;z-index:3;padding:16px 0 12px;border-bottom:1px solid #e0e7ef;margin-bottom:16px}
 .management_dialog__ZssdY .private-product-heading h3{min-width:0;margin:0;font-size:20px;line-height:1.35}
 .management_dialog__ZssdY .private-product-close{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:8px 12px;min-height:44px;font-size:14px;border:1px solid #cbd8e5;border-radius:8px;color:#173350;background:#fff}
 .account_root__bSYWA .customer-order-actions{flex-direction:column;align-items:stretch;padding:0 16px 16px}
 .account_root__bSYWA :is(.customer-order-actions,.order-repeat-tools)>*{max-width:100%;min-width:0}
 .account_root__bSYWA .favorites-grid{grid-template-columns:minmax(0,1fr)}
 .account_root__bSYWA .favorites-toolbar>*{min-width:0;max-width:100%}
 .account_root__bSYWA .restock-panel li{align-items:flex-start;flex-direction:column;gap:12px}
 /* Management navigation: all sections reachable without horizontal page scrolling. */
 .account_root__bSYWA .management_tabs__svZOF,.section.admin .admin-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible;width:100%;height:auto!important;white-space:normal;padding:8px!important;box-sizing:border-box}
 .account_root__bSYWA .management_tabs__svZOF button,.section.admin .admin-tabs [data-slot=tabs-trigger]{white-space:normal;min-width:0;height:auto;min-height:48px;font-size:13px;padding:10px;text-align:left;justify-content:flex-start;line-height:1.4}
 .management_heading__ZWUZC{gap:12px;padding:12px 0;align-items:flex-start}
 .management_heading__ZWUZC h2{font-size:25px!important;line-height:1.2}
 .management_badge__WfNfh{white-space:normal;max-width:100%}
 .management_stats__sb7qL,.section.admin .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .management_stats__sb7qL>div,.section.admin .stats>div{padding:16px;min-width:0}
 .management_stats__sb7qL strong,.section.admin .stats strong{font-size:26px;overflow-wrap:anywhere}
 .management_cards__mHX89{grid-template-columns:minmax(0,1fr)}
 .management_cards__mHX89 button{padding:18px;font-size:15px}
 .management_filters__uKNGb,.section.admin .admin-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px}
 .management_filters__uKNGb label{flex:0 1 auto;width:100%;min-width:0}
 .management_filters__uKNGb :is(input,select),.catalog-manager .admin-actions :is(input,select){width:100%;min-width:0}
 .management_actions__iw_yj,.cms-buttons,.catalog-manager .admin-actions>div{display:flex;flex-wrap:wrap;gap:10px}
 .management_actions__iw_yj>button,.cms-buttons>button{flex:1 1 160px;font-size:14px}
 .account_root__bSYWA .management_form__FYh7d,.management_dialog__ZssdY .management_form__FYh7d{grid-template-columns:minmax(0,1fr);gap:16px}
 .account_root__bSYWA .management_manager__R87eB label{font-size:14px}
 .management_overlay__iigec{padding:10px;padding-bottom:max(10px,env(safe-area-inset-bottom));align-items:flex-start;overscroll-behavior:contain}
 .management_dialog__ZssdY{padding:20px 16px;min-width:0;max-width:100%;margin:0;max-height:calc(100dvh - 20px);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box}
 .management_dialog__ZssdY :is(button,input,select,textarea){font-size:16px;max-width:100%;min-width:0}
 .management_review__mHGAD{padding:16px}
 .management-operations-fold[open]{padding:0 14px 20px}
 .management-operations-fold>summary{padding:16px;font-size:16px;line-height:1.5}
 .management-operations-fold[open]>summary{margin:0 -14px 16px;padding:16px}
 .account_root__bSYWA .cms-layout,.section.admin .cms-layout{grid-template-columns:minmax(0,1fr)}
 .account_root__bSYWA .cms-sidebar,.section.admin .cms-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;overflow:visible;padding:10px}
 .account_root__bSYWA .cms-sidebar button,.section.admin .cms-sidebar button{white-space:normal;width:100%;min-width:0;font-size:14px;padding:12px;min-height:44px}
 .cms-panel{padding:18px 14px}.cms-toolbar{padding:18px 14px;gap:16px}.cms-buttons{width:100%}
 .account_root__bSYWA .cms-menu-row,.section.admin .cms-menu-row{grid-template-columns:minmax(0,1fr) 48px 48px;gap:10px;padding:14px 0;border-bottom:1px solid #dce4ed}
 .account_root__bSYWA .cms-menu-row>input,.section.admin .cms-menu-row>input{grid-column:1/-1!important;grid-row:auto}
 .account_root__bSYWA .cms-menu-row>.checkline,.section.admin .cms-menu-row>.checkline{grid-column:1;grid-row:1;margin:0}
 .account_root__bSYWA .cms-menu-row>.secondary,.section.admin .cms-menu-row>.secondary{grid-row:1;grid-column:2;padding:10px}
 .account_root__bSYWA .cms-menu-row>.secondary:last-child,.section.admin .cms-menu-row>.secondary:last-child{grid-column:3}
 .cms-staff select{margin:12px 0;width:100%}
 .section.admin{padding:24px 14px;min-width:0}.section.admin .admin-actions .primary,.section.admin .admin-actions .secondary{font-size:14px;min-height:44px}
 /* Simple data tables become labelled rows. Complex tables retain their own scroll container. */
 table[data-mobile-cards]{display:block;width:100%;max-width:100%;border-collapse:separate}
 table[data-mobile-cards]>thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 table[data-mobile-cards]>tbody{display:grid;gap:16px;width:100%}
 table[data-mobile-cards]>tbody>tr{display:block;border:1px solid #d7e1eb;border-radius:12px;padding:6px 14px;background:#fff;min-width:0;width:100%;box-sizing:border-box}
 table[data-mobile-cards]>tbody>tr>td{display:grid;grid-template-columns:minmax(88px,.85fr) minmax(0,1.4fr);gap:6px 12px;padding:12px 0!important;min-width:0!important;max-width:none;width:auto;white-space:normal!important;text-align:left;overflow-wrap:anywhere;border-bottom:1px solid #edf1f5;align-items:start;font-size:14px}
 table[data-mobile-cards]>tbody>tr>td::before{content:attr(data-mobile-label);grid-column:1;grid-row:1;font-weight:600;color:#506a81;font-size:12px;line-height:1.5;padding-top:3px}
 table[data-mobile-cards]>tbody>tr>td>*{grid-column:2;min-width:0;max-width:100%;white-space:normal}
 table[data-mobile-cards]>tbody>tr>td:last-child{border-bottom:0}
 table[data-mobile-cards]>tbody>tr>td[colspan]{display:block}
 table[data-mobile-cards]>tbody>tr>td[colspan]::before{display:none}
 table[data-mobile-cards]>tbody>tr>td input:not([type=checkbox]):not([type=radio]){width:100%!important;min-width:0!important;font-size:16px}
 table[data-mobile-cards]>tbody>tr>td button{white-space:normal!important;font-size:14px;min-height:44px;padding:10px 12px}
 .management_table__xAgjS:has(table[data-mobile-cards]){overflow:visible;max-height:none}
}
@media(max-width:360px){
 .account_root__bSYWA .private-header{gap:8px}.account_root__bSYWA .private-header img{width:140px}
 .account_root__bSYWA .account-sidebar nav{grid-template-columns:minmax(0,1fr)}
 .account_root__bSYWA .management_tabs__svZOF,.section.admin .admin-tabs{grid-template-columns:minmax(0,1fr)}
 .management_stats__sb7qL,.section.admin .stats{grid-template-columns:minmax(0,1fr)}
 table[data-mobile-cards]>tbody>tr>td{grid-template-columns:minmax(0,1fr)}
 table[data-mobile-cards]>tbody>tr>td::before{grid-column:1;grid-row:auto}
 table[data-mobile-cards]>tbody>tr>td>*{grid-column:1}
}
