/* GlobalWholesale Hub V10: readable scale + responsive dashboard/sidebar repair. */
:root{--gwh-v10-sidebar-wide:300px;--gwh-v10-sidebar-collapsed:78px;--gwh-v10-gutter:clamp(16px,2vw,34px);}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;}body.gwh-theme{font-size:16px;line-height:1.5;}body.gwh-theme,body.gwh-theme *{min-width:0;} .gwh-theme img,.gwh-theme video,.gwh-theme iframe{max-width:100%;}.gwh-theme .container-xxl{width:100%;padding-left:clamp(14px,2vw,28px);padding-right:clamp(14px,2vw,28px);}
/* Shared readable controls, cards and tables (removes the previous zoomed-out feel). */
.gwh-theme .btn{min-height:42px;padding:.62rem 1rem;font-size:.9rem;line-height:1.2;}.gwh-theme .btn-sm{min-height:34px;padding:.38rem .62rem;font-size:.78rem;}.gwh-theme .form-grid{gap:1rem;}.gwh-theme .form-card,.gwh-theme .panel,.gwh-theme .detail-panel,.gwh-theme .summary-card{border-radius:14px;}.gwh-theme .form-card,.gwh-theme .detail-panel,.gwh-theme .summary-card{padding:clamp(16px,1.8vw,24px);}.gwh-theme .panel-head{padding:1rem 1.2rem;}.gwh-theme .form-card h2,.gwh-theme .form-card h3,.gwh-theme .panel-head h3{font-size:1rem;line-height:1.35;}.gwh-theme label,.gwh-theme .form-card label,.gwh-theme .auth-card label{font-size:.9rem;line-height:1.35;}.gwh-theme input:not([type=checkbox]):not([type=radio]):not([type=file]),.gwh-theme select,.gwh-theme textarea{font-size:.92rem;}.gwh-theme .form-hint,.gwh-theme label .form-hint,.gwh-theme label small.form-hint{font-size:.8rem;}.gwh-theme .page-heading{gap:1rem;padding-bottom:1rem;}.gwh-theme .page-heading h1,.gwh-theme .page-heading h2{font-size:clamp(1.2rem,1.5vw,1.55rem);line-height:1.25;}.gwh-theme .page-heading p{font-size:.9rem;line-height:1.5;}.gwh-theme .table-responsive{width:100%;overflow:auto hidden;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;}.gwh-theme .app-table{font-size:.88rem;min-width:720px;}.gwh-theme .app-table thead th{font-size:.72rem;letter-spacing:.045em;}.gwh-theme .app-table td,.gwh-theme .app-table th{padding:.78rem .85rem;}.gwh-theme .app-table td small,.gwh-theme .compact-list small{font-size:.75rem;}.gwh-theme .status{font-size:.72rem;padding:.28rem .55rem;}.gwh-theme .metric-grid,.gwh-theme .admin-metrics{gap:1rem;}.gwh-theme .metric-card,.gwh-theme .admin-metric{min-height:128px;padding:1rem 1.1rem;border-radius:14px;}.gwh-theme .metric-card span,.gwh-theme .admin-metric span{font-size:.82rem;}.gwh-theme .metric-card strong,.gwh-theme .admin-metric strong{font-size:1.7rem;line-height:1.2;}.gwh-theme .metric-card small,.gwh-theme .admin-metric small{font-size:.76rem;}.gwh-theme .empty-state{padding:2.2rem 1.2rem;}.gwh-theme .empty-state h3{font-size:1.05rem;}
/* Storefront scale and grids. */
.gwh-theme .brand{font-size:1.45rem;}.gwh-theme .brand small{font-size:.5rem;}.gwh-theme .header-search{height:44px;max-width:720px;}.gwh-theme .header-search input,.gwh-theme .header-search select{font-size:.86rem;}.gwh-theme .header-search button{font-size:.82rem;padding:0 1.15rem;}.gwh-theme .header-actions>a{font-size:.8rem;}.gwh-theme .mainnav{min-height:48px;height:auto;}.gwh-theme .nav-links a,.gwh-theme .nav-categories{font-size:.82rem;}.gwh-theme .hero{min-height:clamp(360px,37vw,500px);}.gwh-theme .hero-grid{min-height:inherit;}.gwh-theme .hero-copy{padding:clamp(34px,4vw,60px) 0;}.gwh-theme .hero h1{font-size:clamp(2rem,3.2vw,3.15rem);line-height:1.08;}.gwh-theme .hero p{font-size:1rem;line-height:1.6;max-width:43rem;}.gwh-theme .hero-kicker,.gwh-theme .eyebrow{font-size:.72rem;}.gwh-theme .hero-trust b{font-size:.78rem;}.gwh-theme .hero-trust small{font-size:.68rem;}.gwh-theme .section{padding:clamp(26px,3.6vw,52px) 0;}.gwh-theme .section-head h2,.gwh-theme .page-title h1{font-size:clamp(1.25rem,1.7vw,1.7rem);}.gwh-theme .section-head>a{font-size:.84rem;}.gwh-theme .category-card{min-height:116px;padding:.8rem .45rem;}.gwh-theme .category-card strong{font-size:.78rem;}.gwh-theme .category-card small{font-size:.7rem;}.gwh-theme .product-image{height:clamp(150px,14vw,210px);}.gwh-theme .product-body{padding:.9rem;}.gwh-theme .product-body h3{font-size:.95rem;line-height:1.35;min-height:2.55em;}.gwh-theme .product-supplier{font-size:.8rem;}.gwh-theme .product-meta,.gwh-theme .product-price small{font-size:.72rem;}.gwh-theme .product-price strong{font-size:1.06rem;}.gwh-theme .catalog-hero{padding:clamp(32px,4vw,56px) 0;}.gwh-theme .catalog-hero h1{font-size:clamp(1.8rem,3vw,2.6rem);}.gwh-theme .catalog-hero p{font-size:1rem;}.gwh-theme .auth-section{padding:clamp(32px,5vw,70px) 16px;}.gwh-theme .auth-card{padding:clamp(20px,3vw,34px);}.gwh-theme .auth-card h1{font-size:1.55rem;}.gwh-theme .auth-card>p{font-size:.9rem;}
/* Fixed sidebar with a dedicated, scrollable navigation rail. No page overlay is used. */
.premium-dashboard-shell{min-height:100dvh;background:#f4f8fc;}.dash-sidebar{width:var(--gwh-v10-sidebar-wide)!important;height:100dvh;min-height:0;overflow:hidden;padding:16px 12px 14px!important;z-index:1150!important;display:flex!important;flex-direction:column;box-shadow:2px 0 14px rgba(5,26,49,.09)!important;transition:width .22s ease,transform .22s ease!important;will-change:width,transform;}.dash-brand{display:flex!important;align-items:center;min-height:62px;margin:0 4px 10px!important;padding:10px 42px 10px 12px!important;font-size:1.05rem!important;overflow:hidden;flex:0 0 auto;}.dash-brand small{position:static!important;display:block;margin-top:3px;font-size:.65rem!important;white-space:nowrap;}.dash-brand-logo{max-width:100%!important;max-height:44px!important;object-fit:contain;}.dash-role-chip{flex:0 0 auto;margin:0 6px 10px!important;padding:9px 11px!important;font-size:.78rem!important;white-space:nowrap;overflow:hidden;}.dash-sidebar nav{display:flex!important;flex:1 1 auto;flex-direction:column;gap:4px!important;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:5px 5px 14px!important;margin:0 -5px;scrollbar-gutter:stable;}.dash-sidebar nav::-webkit-scrollbar{width:7px;}.dash-sidebar nav::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:99px;background-clip:padding-box;background-color:rgba(198,217,235,.48);}.dash-sidebar nav a{flex:0 0 auto;min-height:46px!important;margin:0!important;padding:10px 12px!important;font-size:.88rem!important;line-height:1.2;}.dash-sidebar nav a i{font-size:1rem!important;flex:0 0 20px;width:20px!important;}.sidebar-help{flex:0 0 auto;margin:10px 5px!important;padding:11px!important;font-size:.82rem;}.sidebar-help b,.sidebar-help small{font-size:.8rem!important;}.sidebar-logout{display:flex!important;align-items:center;flex:0 0 auto;min-height:44px;margin:5px!important;padding:10px 12px!important;font-size:.86rem!important;}.sidebar-logout span{white-space:nowrap;}.dash-sidebar .mt-auto{flex:0 0 auto!important;}.dash-main{min-width:0;margin-left:var(--gwh-v10-sidebar-wide)!important;min-height:100dvh;background:#f4f8fc;transition:margin-left .22s ease;}.dash-topbar{position:sticky;top:0;z-index:1040;min-height:78px!important;height:auto!important;padding:12px var(--gwh-v10-gutter)!important;gap:14px;background:rgba(255,255,255,.97)!important;box-shadow:0 1px 0 rgba(17,44,72,.08);}.dash-topbar h1{font-size:clamp(1rem,1.4vw,1.25rem)!important;line-height:1.25;}.dash-topbar .eyebrow{font-size:.68rem!important;}.sidebar-toggle{display:inline-grid!important;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid #dbe5ef!important;border-radius:10px!important;background:#fff!important;color:#143553!important;font-size:1.25rem!important;transition:background .16s ease,border-color .16s ease,transform .16s ease;}.sidebar-toggle:hover{border-color:var(--brand)!important;background:#fff8f0!important;transform:translateY(-1px);}.dash-actions{display:flex;align-items:center;gap:.65rem!important;min-width:0;}.topbar-icon{width:38px;height:38px;flex:0 0 38px;}.dash-user{min-width:0;}.dash-user strong{font-size:.86rem!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.dash-user small{font-size:.74rem!important;}.dash-content{width:100%;max-width:1900px;padding:var(--gwh-v10-gutter)!important;}.dash-alert{margin:16px var(--gwh-v10-gutter) 0!important;font-size:.9rem;}
/* Desktop fold: icon rail + larger content area. */
.premium-dashboard-shell.sidebar-collapsed .dash-sidebar{width:var(--gwh-v10-sidebar-collapsed)!important;padding-left:9px!important;padding-right:9px!important;}.premium-dashboard-shell.sidebar-collapsed .dash-main{margin-left:var(--gwh-v10-sidebar-collapsed)!important;}.premium-dashboard-shell.sidebar-collapsed .dash-brand{justify-content:center;padding:10px!important;margin:0 0 10px!important;}.premium-dashboard-shell.sidebar-collapsed .dash-brand>span,.premium-dashboard-shell.sidebar-collapsed .dash-brand>b,.premium-dashboard-shell.sidebar-collapsed .dash-brand small,.premium-dashboard-shell.sidebar-collapsed .dash-role-chip span,.premium-dashboard-shell.sidebar-collapsed .dash-sidebar nav a span,.premium-dashboard-shell.sidebar-collapsed .sidebar-help,.premium-dashboard-shell.sidebar-collapsed .sidebar-logout span{display:none!important;}.premium-dashboard-shell.sidebar-collapsed .dash-brand-logo{max-width:44px!important;}.premium-dashboard-shell.sidebar-collapsed .dash-role-chip{justify-content:center;margin-left:0!important;margin-right:0!important;padding:10px!important;}.premium-dashboard-shell.sidebar-collapsed .dash-sidebar nav{padding-left:0!important;padding-right:0!important;}.premium-dashboard-shell.sidebar-collapsed .dash-sidebar nav a{justify-content:center;padding:10px!important;}.premium-dashboard-shell.sidebar-collapsed .dash-sidebar nav a i{margin:0!important;}.premium-dashboard-shell.sidebar-collapsed .sidebar-logout{justify-content:center;margin-left:0!important;margin-right:0!important;padding:10px!important;}
@media(max-width:1199.98px){:root{--gwh-v10-sidebar-wide:276px;}.gwh-theme .category-grid{grid-template-columns:repeat(4,minmax(0,1fr));}.gwh-theme .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.gwh-theme .supplier-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.gwh-theme .admin-metrics{grid-template-columns:repeat(4,minmax(0,1fr));}.gwh-theme .hero-art{display:none;}.gwh-theme .hero-grid{grid-template-columns:1fr;}}
@media(max-width:991.98px){.dash-sidebar{width:min(86vw,340px)!important;transform:translateX(-105%)!important;box-shadow:none!important;}.dash-sidebar.open{transform:translateX(0)!important;box-shadow:none!important;}.dash-main,.premium-dashboard-shell.sidebar-collapsed .dash-main{margin-left:0!important;}.premium-dashboard-shell.sidebar-collapsed .dash-sidebar{width:min(86vw,340px)!important;padding:16px 12px 14px!important;}.premium-dashboard-shell.sidebar-collapsed .dash-brand{justify-content:flex-start;padding:10px 42px 10px 12px!important;margin:0 4px 10px!important;}.premium-dashboard-shell.sidebar-collapsed .dash-brand>span,.premium-dashboard-shell.sidebar-collapsed .dash-brand>b,.premium-dashboard-shell.sidebar-collapsed .dash-brand small,.premium-dashboard-shell.sidebar-collapsed .dash-role-chip span,.premium-dashboard-shell.sidebar-collapsed .dash-sidebar nav a span,.premium-dashboard-shell.sidebar-collapsed .sidebar-help,.premium-dashboard-shell.sidebar-collapsed .sidebar-logout span{display:initial!important;}.premium-dashboard-shell.sidebar-collapsed .dash-brand-logo{max-width:100%!important;}.premium-dashboard-shell.sidebar-collapsed .dash-role-chip{justify-content:flex-start;margin:0 6px 10px!important;padding:9px 11px!important;}.premium-dashboard-shell.sidebar-collapsed .dash-sidebar nav{padding-left:5px!important;padding-right:5px!important;}.premium-dashboard-shell.sidebar-collapsed .dash-sidebar nav a{justify-content:flex-start;padding:10px 12px!important;}.premium-dashboard-shell.sidebar-collapsed .sidebar-logout{justify-content:flex-start;margin:5px!important;padding:10px 12px!important;}.gwh-theme .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.gwh-theme .form-grid .span-2{grid-column:span 2;}.gwh-theme .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.gwh-theme .dashboard-form{max-width:none;}.gwh-theme .two-col{grid-template-columns:1fr;}.gwh-theme .header-main-row{grid-template-columns:1fr auto;}.gwh-theme .header-search{grid-column:1/-1;}}
@media(max-width:767.98px){body.gwh-theme{font-size:15px;}.dash-topbar{min-height:64px!important;padding:10px 12px!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) auto;gap:9px;}.dash-topbar .eyebrow{display:none!important;}.dash-topbar h1{font-size:1rem!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.dash-actions .topbar-icon{display:none!important;}.dash-user .avatar{width:36px;height:36px;}.dash-content{padding:16px 12px 30px!important;}.dash-alert{margin:12px 12px 0!important;}.sidebar-toggle{width:40px;height:40px;flex-basis:40px;}.gwh-theme .metric-card,.gwh-theme .admin-metric{min-height:112px;padding:.85rem;}.gwh-theme .metric-card strong,.gwh-theme .admin-metric strong{font-size:1.36rem;}.gwh-theme .form-card,.gwh-theme .detail-panel,.gwh-theme .summary-card{padding:15px;}.gwh-theme .panel-head{padding:.9rem 1rem;}.gwh-theme .form-grid{grid-template-columns:1fr;}.gwh-theme .form-grid .span-2{grid-column:auto;}.gwh-theme .app-table{min-width:640px;font-size:.84rem;}.gwh-theme .app-table td,.gwh-theme .app-table th{padding:.68rem .72rem;}.gwh-theme .brand{font-size:1.15rem;}.gwh-theme .header-search{height:42px;}.gwh-theme .header-search input{font-size:.82rem;}.gwh-theme .header-search button{min-width:78px;font-size:.75rem;}.gwh-theme .mainnav,.gwh-theme .nav-shell{min-height:46px;}.gwh-theme .nav-links{top:46px;max-height:calc(100dvh - 112px);padding:8px 14px;}.gwh-theme .nav-links a{min-height:42px;font-size:.84rem;}.gwh-theme .hero{min-height:auto;}.gwh-theme .hero-copy{padding:30px 0;}.gwh-theme .hero h1{font-size:clamp(1.72rem,8vw,2.25rem);}.gwh-theme .hero p{font-size:.92rem;}.gwh-theme .hero-trust{grid-template-columns:1fr;}.gwh-theme .hero-actions{width:100%;}.gwh-theme .hero-actions .btn{flex:1;}.gwh-theme .hero-filter,.gwh-theme .catalog-filter{grid-template-columns:1fr!important;padding:12px;}.gwh-theme .hero-filter .btn,.gwh-theme .catalog-filter label:first-child{grid-column:auto!important;}.gwh-theme .category-grid,.gwh-theme .product-grid,.gwh-theme .supplier-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}.gwh-theme .product-image{height:clamp(118px,34vw,170px);}.gwh-theme .product-body{padding:.75rem;}.gwh-theme .product-body h3{font-size:.82rem;}.gwh-theme .section{padding:26px 0;}.gwh-theme .section-head{align-items:flex-start;}.gwh-theme .section-head h2,.gwh-theme .page-title h1{font-size:1.15rem;}}
@media(max-width:420px){.dash-sidebar{width:min(90vw,320px)!important;}.gwh-theme .metric-grid,.gwh-theme .admin-metrics{grid-template-columns:1fr;}.gwh-theme .category-grid,.gwh-theme .product-grid,.gwh-theme .supplier-grid{grid-template-columns:1fr;}.gwh-theme .hero-actions{flex-direction:column;}.gwh-theme .hero-actions .btn{width:100%;}.gwh-theme .header-search button{min-width:58px;font-size:0;}.gwh-theme .header-search button i{font-size:1rem;}}
@media(prefers-reduced-motion:reduce){.dash-sidebar,.dash-main,.sidebar-toggle{transition:none!important;}}
