/* Compact SenaHub commercial controls; desktop density and touch targets are separate. */
.header-campaigns1425[hidden],[data-campaign-products128][hidden]{display:none!important}
#customerDialog .dialog-head{padding:16px 20px 12px}
#customerDialog .dialog-head h2{font-size:21px}
#customerDialog .dialog-body{padding:12px 20px;gap:10px}
#customerDialog #sellerStep{padding:12px!important;gap:8px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;margin-bottom:8px}
#customerDialog #sellerStep[hidden]{display:none}
#customerDialog .customer-seller-button{width:auto;padding:9px 14px;min-height:40px;margin:0}
#customerDialog .seller-picker-field,#customerDialog .field{margin:0;min-width:0}
#customerDialog #customerSellerHint{display:none}
#customerDialog .customer-picker-create1425{display:flex!important;align-items:center;justify-content:space-between;padding:0 0 8px!important;margin:0!important;gap:8px;background:none!important;border:0!important;min-height:0!important}
#customerDialog .customer-picker-create1425 small{display:none}
#customerDialog .customer-picker-create1425 b{font-size:13px;font-weight:600}
#customerDialog .customer-create-icon1427{width:40px!important;max-width:40px;height:40px;padding:9px!important;min-height:40px;flex:0 0 auto}
#customerDialog .customer-picker-filters{display:grid!important;gap:8px;grid-template-columns:minmax(0,1fr) 130px;margin:0 0 10px;align-items:end}
#customerDialog .customer-picker-filters[hidden]{display:none!important}
#customerDialog .customer-option .customer-commercial1427{font-size:11px;line-height:1.3;white-space:normal;color:var(--muted);margin-top:3px}
#customerDialog #customerSearchWrap{position:relative;display:block;min-width:0;height:42px}
#customerDialog #customerSearchWrap>.icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);margin:0}
#customerDialog #customerSearch{height:42px;min-height:42px;width:100%;padding-left:36px}
#customerDialog #customerResults{display:flex!important;flex-direction:column;gap:4px}
#customerDialog #customerResults .customer-option{height:auto!important;max-height:none!important;flex:0 0 auto;grid-template-rows:auto!important;padding:10px 12px!important;min-height:64px;overflow:visible}
#customerDialog #customerResults .customer-option>span:first-child{height:auto!important;min-height:0;display:block;overflow:visible}
#customerDialog .customer-picker-filters .field>span{font-size:10px;line-height:1.2}
#customerDialog .dialog-actions{padding:12px 20px;gap:8px}
#customerDialog .dialog-actions .button{padding:9px 12px;min-height:40px;font-size:13px}
.recent-purchase-title1427{font-size:16px;margin:0 0 10px}
.recent-purchase1427{background:#fff;border:1px solid #e7e3da;border-radius:18px;padding:14px;margin:10px 0}
.recent-purchase-head1427{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:#6f695d;margin-bottom:12px}
.recent-order-link1427{font:inherit;font-weight:700;color:#8a6518;background:#f1f3f5;border:1px solid #ecd69f;padding:6px 10px;border-radius:10px;cursor:pointer}
.recent-purchase-product1427{display:flex;align-items:center;gap:10px}
.recent-purchase-product1427 input{appearance:auto;width:20px;height:20px;accent-color:#b88a25;flex:0 0 auto}
.recent-purchase-product1427 b{font-size:15px;line-height:1.4}.recent-purchase-product1427 small{display:block;color:#756f64;margin-top:3px}
.recent-purchase-values1427{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px;margin:16px 0 0}
.recent-purchase-values1427 dt{color:#756f64;font-size:12px;margin:0 0 3px}.recent-purchase-values1427 dd{margin:0;font-size:14px;font-weight:650;overflow-wrap:anywhere}
.recent-purchase-previous1427>summary{padding:12px;font-weight:650;cursor:pointer}
.mobile-secondary1427{display:none}
@media(min-width:901px){
 .product-grid[data-view="list"] .product-name{font-size:14px!important;line-height:1.3!important;font-weight:750!important;-webkit-line-clamp:2;letter-spacing:-.015em}
 .product-grid[data-view="list"] .product-code{font-size:11px;line-height:1.3}
}
@media(max-width:900px){
 body.order-typing1427 .mobile-secondary1427{display:contents}
 body.order-typing1427 .app-header .header-icon:not(.header-campaigns1425):not(.sidebar-toggle),body.order-typing1427 .app-header .user-menu,body.order-typing1427 .app-header .user-button{display:none!important}
 body.order-typing1427 #app{--nav-width:0px}
 body.order-typing1427 #app .page-shell{margin-left:0!important;width:100%;max-width:100%;padding-left:10px!important;padding-right:10px!important}
 body.order-typing1427 #app #appSidebar:not(.is-open){display:none!important}
 body.order-typing1427 #app #appSidebar.is-open{display:block!important;left:8px;top:8px;bottom:8px;width:min(280px,calc(100vw - 28px));z-index:240;transform:none!important;visibility:visible!important}
 body.order-typing1427 #app #sidebarScrim:not([hidden]){display:block!important;inset:0!important;z-index:230}
 body.order-typing1427 #app .app-header{left:8px!important;right:8px!important;top:8px!important;min-height:60px;border-radius:16px}
 body.order-typing1427 #app .app-header .app-header-inner{display:flex;align-items:center;gap:12px;min-height:60px;padding:7px 10px}
 body.order-typing1427 #app .app-header .sidebar-toggle{display:inline-flex!important;width:40px;min-width:40px;height:40px;padding:0;align-items:center;justify-content:center}
 body.order-typing1427 #app .mobile-nav{left:8px!important;right:8px!important;width:auto!important}
 body.order-typing1427 #catalogDisplayControls{display:none!important}
 body.order-typing1427 #catalogOptionsMenu{position:absolute!important;inset:calc(100% + 8px) 0 auto auto!important;width:min(360px,calc(100vw - 36px))!important;max-width:calc(100vw - 36px)!important;max-height:min(430px,calc(100dvh - 280px));overflow:auto;overscroll-behavior:contain;z-index:150}
 body.order-typing1427 #catalogOptionsMenu #catalogDisplayControls{display:flex!important;flex-wrap:wrap;gap:8px;padding:8px;width:100%;min-width:0}
 body.order-typing1427 #catalogOptionsMenu #catalogDisplayControls .catalog-context{display:none}
 body.order-typing1427 #catalogOptionsMenu .header-campaigns1425{width:auto;height:44px;min-height:44px;justify-content:flex-start;padding:10px 12px;background:transparent;border:0;box-shadow:none}
 body.order-typing1427 #catalogOptionsMenu .header-campaigns1425::after{content:'Campanhas disponíveis';font-size:14px;margin-left:8px}
 body.order-typing1427 .catalog-controls{padding:10px!important;border-radius:18px!important;min-height:0;gap:8px!important}
 body.order-typing1427 .catalog-controls:has(#catalogOptionsMenu:not([hidden])){position:relative!important;inset:auto!important;z-index:170!important;isolation:isolate}
 body.order-typing1427 .catalog-filter-row{gap:6px!important;display:flex!important;flex-wrap:nowrap!important;min-width:0}
 body.order-typing1427 .catalog-filter-picker{flex:1 1 0;min-width:0}
 body.order-typing1427 .catalog-filter-trigger{min-height:38px;padding:8px 10px;min-width:0}
 body.order-typing1427 .catalog-filter-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body.order-typing1427 #catalogOptionsTrigger{min-height:38px;padding:8px 10px;font-size:13px}
 body.order-typing1427 .catalog-filter-row>[data-action="current-customer-history"]{display:none!important}
 body.order-typing1427 .mobile-nav{padding:8px!important;gap:8px!important;bottom:max(8px,env(safe-area-inset-bottom))!important}
 body.order-typing1427 .mobile-nav button{min-height:54px!important}
 body.order-typing1427 .catalog-main,body.order-typing1427 .catalog-layout,body.order-typing1427 .product-grid{min-width:0;max-width:100%}
 body.order-typing1427 .catalog-main{padding-bottom:94px}
 #customerDialog{max-width:calc(100vw - 16px)}
 #customerDialog .dialog-body,#customerDialog .dialog-head,#customerDialog .dialog-actions{padding:12px}
 #customerDialog #sellerStep{grid-template-columns:minmax(0,1fr);padding:10px}
 #customerDialog .customer-seller-button{justify-self:end;min-height:42px}
 #customerDialog .customer-picker-filters{grid-template-columns:minmax(0,1fr) 105px}
 #customerDialog .customer-option{padding:10px;min-width:0}
 #customerDialog .customer-option>span{min-width:0;overflow-wrap:anywhere}
 .recent-purchase-values1427{grid-template-columns:repeat(2,minmax(0,1fr))}
 .recent-purchase1427{padding:12px}
}
.invoice-key1427{overflow-wrap:anywhere;word-break:break-word;font-variant-numeric:tabular-nums;max-width:100%}
.invoice-installments1427{display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr))}
@media(prefers-reduced-motion:reduce){.recent-purchase1427{scroll-behavior:auto}}
