/* Final shared responsive layer. Narrow layouts flow naturally; desktop workbenches stay dense. */
html{ -webkit-text-size-adjust:100%;text-size-adjust:100% }
img,video,canvas{max-width:100%}iframe{max-width:100%}
.responsive-table{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
@media screen and (max-width:1023px){
 body{min-width:0!important}body>*{min-width:0}main,.main,.work,.content,.hp-main{min-width:0;max-width:100%}
 input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important;max-width:100%;min-width:0}
 button,[role=button],summary,.button,.btn{touch-action:manipulation;min-height:44px}
 dialog{box-sizing:border-box;width:min(94vw,760px);max-width:94vw;max-height:90dvh;overflow:auto}
 dialog input,dialog select,dialog textarea{max-width:100%}
 .table-wrap,.table,.responsive-table{max-width:100%;overflow-x:auto}
 .grid>*,.row>*,.spread>*,.form-grid>*,.hp-columns>*,.po-workbench>*,.record-layout>*{min-width:0}
 .premium-header .nav-bar{display:none!important}
 .premium-header .header-main,.premium-header.is-compact .header-main{width:100%;min-width:0;grid-template-columns:44px minmax(0,1fr) 44px 44px;gap:0 4px}
 .premium-header .header-main>*{min-width:0}.premium-header .search-wrap{width:100%;max-width:100%}
 .premium-header .search-form input{font-size:16px!important;width:100%;text-overflow:ellipsis}
 .premium-header .logo-crop{max-width:100%;overflow:visible}.premium-header .logo-crop img{max-width:100%;object-fit:contain}
 .premium-header .premium-logo{min-width:0;max-width:100%}
 .premium-header .header-actions{gap:0}.premium-header .header-actions>button{flex:none}
 .premium-mobile-nav{max-width:100vw;width:min(92vw,420px);padding-bottom:calc(28px + env(safe-area-inset-bottom))}
 .premium-header .suggestions{max-width:100%;width:100%;inset-inline:0}.premium-header .suggest-price{white-space:normal}
 .premium-header .suggest-option{min-width:0}.premium-header .suggest-option .info{min-width:0;overflow-wrap:anywhere}
 .bear-home-2026 .wrap{padding-inline:20px;min-width:0;max-width:100%}
 .bear-home-2026 .home-wide-heading{gap:18px;flex-wrap:wrap;align-items:start}
 .bear-home-2026 .home-wide-heading>*{max-width:100%;min-width:0}
 /* All native workspaces use the existing navigation drawer on a phone/tablet. */
 body.bear-workspace #sales-module-nav,body.bear-workspace .bear-nav{width:min(85vw,290px)!important;transform:translateX(-105%);z-index:90}
 body.bear-workspace.bear-nav-open .bear-nav{transform:none}
 body.bear-workspace.bear-nav-open .bear-nav-backdrop{display:block;position:fixed;inset:0;background:#0009;z-index:89}
 body.bear-workspace #top,body.bear-workspace #order-toolbar{margin-left:0!important;width:100%}
 body.bear-workspace main,body.bear-workspace .main,body.bear-workspace .work,body.bear-workspace.order-editor main,body.bear-workspace.order-split main{margin-left:0!important;width:100%!important;min-width:0;max-width:none}
 body.bear-workspace .bear-menu{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
 body.bear-workspace #top{padding:8px 12px;height:auto;min-height:60px;flex-wrap:wrap;gap:8px}
 body.bear-workspace #top>nav{gap:12px;flex-wrap:wrap;font-size:12px}
 body.bear-workspace #top .bear-header-actions{margin-left:auto}
 body.bear-workspace #top .bear-header-search,.owner-chip{display:none}
 /* Customer portal: comfortable controls instead of shrinking desktop text. */
 .hp-layout{width:100%;min-width:0;max-width:none;padding-inline:16px}
 .hp-main,.hp-dashboard-mode .hp-main{height:auto;overflow:visible}
 .hp-heading{align-items:start;flex-wrap:wrap}.hp-heading>*{min-width:0;max-width:100%}
 .hp-header,.hp-dashboard-mode .hp-header{height:auto;min-height:64px;flex-wrap:wrap;padding:10px 12px;gap:10px}
 .hp-header .hp-header-actions{flex:1;min-width:0}.hp-header .hp-account-select{width:auto;max-width:100%;font-size:14px!important}
 .hp-header .hp-mobile-menu{width:44px;height:44px;min-height:44px;display:inline-grid;place-items:center}
 .hp-search{min-width:0;max-width:100%;width:100%}
 .hp-sidebar nav button{min-height:44px;font-size:14px}
 .hp-shop-hero{padding-block:20px}.hp-title{font-size:30px}.hp-subtitle{font-size:14px}
 .hp-shop-filters{padding:16px;gap:12px}.hp-shop-filters label{font-size:13px}
 .hp-shop-filters input,.hp-shop-filters select{height:46px}
 .hp-product h3{font-size:15px;line-height:1.4}.hp-price{font-size:24px}.hp-sku,.hp-stock{font-size:12px;line-height:1.5}
 .hp-add input,.hp-add button,.hp-add .primary{font-size:14px;min-height:44px}.hp-add{gap:8px;grid-template-columns:60px minmax(0,1fr)}
 .hp-add button:last-child{grid-column:1/-1}.hp-photo{max-width:100%;object-fit:contain}
 .hp-dash-robotics{min-height:190px;background-size:cover;background-position:35% center}
 .hp-command-helper{grid-template-columns:minmax(0,1fr)!important;gap:12px}.hp-command-helper form{min-width:0;max-width:100%}
 .hp-dashboard-mode #hp-dashboard-root,.hp-dashboard-mode #hp-dash-data{height:auto;overflow:visible}
 .hp-dashboard-mode .hp-command-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .hp-dashboard-mode .hp-command-actions a{min-height:80px;white-space:normal;font-size:13px}
 .hp-dash-lower,.hp-dash-charts{grid-template-columns:1fr}.hp-dashboard-mode .hp-command-bottom{grid-template-columns:1fr}
 .hp-preview{font-size:12px;line-height:1.5;flex-wrap:wrap}.hp-preview a{font-size:12px}
 .command-fold .command-stat p,.command-stat p{font-size:12px;line-height:1.5}
 .command-fold .command-stat-label{font-size:12px}.command-fold .command-alert strong{font-size:14px}.command-fold .command-alert small{font-size:12px}
 .command-topbar form input{font-size:16px!important}.command-heading-filters{flex-wrap:wrap}
 .po-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .bear-record-layout,.record-layout,.record-columns{grid-template-columns:minmax(0,1fr)}
 .kodi-global-launch{bottom:calc(82px + env(safe-area-inset-bottom));right:12px;max-width:calc(100vw - 24px)}
}
@media screen and (max-width:767px){
 .premium-utility{display:none}.premium-header{top:0}
 .bear-home-2026 .bear-hero-carousel{display:block;height:auto;min-height:0;max-height:none}
 .bear-home-2026 .bear-hero-stage{display:grid;container-type:normal;height:auto;min-height:0}
 .bear-home-2026 .bear-hero-slide{display:grid;grid-template-rows:auto 1fr;align-items:start;min-height:0;overflow:visible}
 .bear-home-2026 .bear-hero-photo-wrap{position:relative;inset:auto;width:100%;height:auto;aspect-ratio:8/5;overflow:hidden}
 .bear-home-2026 .bear-hero-photo{position:static;display:block;width:100%;height:100%;object-fit:contain;object-position:center;max-width:100%}
 .bear-home-2026 .bear-hero-shade{display:none}
 .bear-home-2026 .bear-hero-content{width:100%;max-width:none;position:relative;padding:22px 20px 24px;margin:0;background:#041b23;align-self:stretch}
 .bear-home-2026 .bear-hero-content .eyebrow{font-size:10px;line-height:1.5;letter-spacing:.06em;margin:0 0 10px;overflow-wrap:anywhere}
 .bear-home-2026 .bear-hero-content :is(h1,h2){max-width:100%;font-size:clamp(26px,7.3vw,38px);line-height:1.08;margin:0 0 14px;letter-spacing:-.035em}
 .bear-home-2026 .bear-hero-content p{font-size:15px;line-height:1.55;max-width:100%;margin:0 0 20px}
 .bear-home-2026 .bear-hero-content .row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:100%;width:100%}
 .bear-home-2026 .bear-hero-content .row a{width:100%;padding:12px 8px;min-height:48px;font-size:13px;gap:8px;white-space:normal;text-align:center}
 .bear-home-2026 .bear-hero-benefits{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px 20px!important;gap:14px}
 .bear-hero-benefits span{font-size:11px;line-height:1.45}.bear-hero-benefits svg{width:20px;height:20px}
 .bear-home-2026 h2{font-size:30px;line-height:1.12}.bear-home-2026 .home-wide-heading h2{font-size:30px}
 .bear-home-2026 .home-category-caption h3{font-size:18px}.bear-home-2026 .home-product-info h3{font-size:14px;line-height:1.45;min-height:62px}
 .bear-home-2026 .home-product-buy .home-add,.bear-home-2026 .home-product-buy .home-ask,.product-grid .product-buy-now{min-height:44px;font-size:13px!important}
 .bear-home-2026 .home-quantity{min-height:44px}.bear-home-2026 .home-quantity input{max-width:none;font-size:16px}
 .bear-home-2026 .home-quantity button{min-width:40px;width:40px;min-height:44px}
 .bear-home-2026 .home-product-price{font-size:23px}.bear-home-2026 .home-product-sku,.bear-home-2026 .home-product-stock{font-size:11px!important}
 .bear-home-2026 .home-editorial-hero,.banner-hero{height:auto;max-height:none;min-height:0}
 .catalog-layout,.detail,.detail-grid,.invoice-workspace,.cart-layout,.checkout-grid,.po-workbench{grid-template-columns:minmax(0,1fr)}
 .detail-image,.detail-image>img{max-width:100%;min-width:0}.detail-image>img{height:auto;max-height:360px;object-fit:contain}
 .detail-info h1,.page-head h1{font-size:30px;overflow-wrap:anywhere}.detail-info .price{font-size:28px}
 .robotics-feature-art img,.robotics-landing>img{height:auto;aspect-ratio:16/10;object-fit:cover}
 .industry-hero,.category-hero{min-height:0;height:auto;padding:28px 20px;background-position:center}
 .home-final-cta,.home-automation-intro{padding-inline:20px}
 body.order-editor .order-head>.order-primary-fields:first-child,body.order-editor .order-primary-fields,body.order-editor .order-head>.order-addresses{grid-template-columns:minmax(0,1fr)}
 .order-editor .tax-controls{grid-template-columns:1fr}.order-editor .address-card{min-height:175px}
 #order-toolbar button{font-size:11px;min-width:48px}#order-toolbar svg{width:20px;height:20px}
 .hp-products{grid-template-columns:minmax(0,1fr)!important}.hp-product{grid-template-columns:100px minmax(0,1fr);padding:16px;gap:12px}
 .hp-product h3{font-size:16px}.hp-photo{width:100px;height:125px}.hp-sku{font-size:11px}.hp-stock{font-size:12px}
 .hp-add input{width:60px}.hp-add button{font-size:14px}.hp-add{grid-column:1/-1}
 .hp-header [data-spoken-customer]{font-size:12px;padding:8px}.hp-header .hp-top-brand{width:116px}.hp-header .hp-account-select{max-width:140px}
 .hp-header .hp-header-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px}
 .hp-dashboard-mode .hp-command-actions{grid-template-columns:1fr}.hp-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hp-metric{min-height:112px;padding:14px}.hp-metric small{font-size:12px}.hp-metric span:not(.hp-metric-icon){font-size:11px}
 .hp-dash-chart{min-height:240px}.hp-dash-heading h2{font-size:17px}.hp-welcome{background-size:cover;min-height:0;padding:24px 16px;background-position:65% center}
 .hp-welcome-copy .hp-title{font-size:28px}.hp-welcome-copy .hp-subtitle{font-size:14px}
 .hp-dash-robotics>div{width:100%;max-width:100%}.hp-dashboard-source{font-size:11px;white-space:normal}
 #bear-inbox .inbox-row{padding:12px}.inbox-sender{font-size:14px}.inbox-snippet{font-size:13px}
 .mobile-record-table{display:block;width:100%!important;min-width:0!important;table-layout:auto!important}
 .mobile-record-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .mobile-record-table tbody{display:block;width:100%}
 .mobile-record-table tr{display:block;width:auto;max-width:100%;border:1px solid #35465b;border-radius:10px;margin:12px 0;overflow:hidden}
 .mobile-record-table td{display:flex!important;justify-content:space-between;align-items:center;gap:12px;min-width:0!important;max-width:100%!important;width:auto!important;height:auto!important;min-height:48px;padding:10px 12px!important;font-size:14px!important;white-space:normal!important;overflow-wrap:anywhere}
 .mobile-record-table td:before{content:attr(data-mobile-label);flex:0 0 38%;font-size:12px;color:#a9bdd0;white-space:normal}
 .mobile-record-table td:first-child{display:block!important;font-size:16px!important}.mobile-record-table td:first-child:before,.mobile-record-table td[colspan]:before{display:none}
 .mobile-record-table td input:not([type=checkbox]){width:120px;min-width:0!important;max-width:50%;height:44px;font-size:16px!important}
 .mobile-record-table .line-product strong,.mobile-record-table .fulfill-product strong{font-size:15px;line-height:1.5}
 .mobile-record-table .line-product small,.mobile-record-table .fulfill-product small{font-size:12px}.mobile-record-table button{min-height:44px}
}
@media screen and (max-width:359px){
 .bear-home-2026 .bear-hero-content .row{grid-template-columns:1fr}.premium-header .logo-crop,.premium-header .logo-crop img{width:112px!important}
 .hp-product{grid-template-columns:80px minmax(0,1fr);padding:12px}.hp-photo{width:80px;height:110px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.bear-nav,.bear-hero-slide{transition:none!important}}
@media screen and (max-width:1023px){
 .hp-shop-mode .hp-shop-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .hp-shop-mode .hp-shop-filters label{font-size:13px}.hp-shop-mode .hp-shop-filters input,.hp-shop-mode .hp-shop-filters select,.hp-shop-mode .hp-shop-filters>button{height:46px;min-height:44px;font-size:14px}
 .hp-shop-mode .hp-shop-filters .hp-filter-search{grid-column:1/-1}.hp-shop-mode .hp-filter-footer{font-size:12px;flex-wrap:wrap}
 .hp-shop-mode .hp-product h3{font-size:16px;line-height:1.4}.hp-shop-mode .hp-product .hp-sku,.hp-shop-mode .hp-product .hp-stock{font-size:12px}
 .hp-shop-mode .hp-product .hp-add button{font-size:14px;min-height:44px}.hp-shop-mode .hp-product .hp-price{font-size:24px}
 .record-hero,.record-detail-grid,.finance-columns{grid-template-columns:minmax(0,1fr)}
 .workspace{min-width:0;max-width:100%;padding:20px 14px}.workspace .search-line{flex-wrap:wrap}
 .workspace .search-box{min-width:0;max-width:100%;flex-basis:100%}.workspace .search-box input{min-width:0}
 .mobile-record-table .fulfill-product{align-items:start}.order-editor .mobile-record-table .line-product strong{font-size:15px}
}
@media screen and (max-width:600px){.hp-shop-mode .hp-shop-filters{grid-template-columns:minmax(0,1fr)}}
/* Laptop widths retain desktop navigation; phones keep their drawer. */
@media screen and (min-width:1024px){
 .premium-header .premium-logo .logo-crop img{object-fit:contain}
 /* Fill the existing masthead with the white logo artwork, trimming only its built-in whitespace. */
 .premium-header .premium-logo .logo-crop img[src$="bear-logo-2026.webp"]{object-fit:cover;object-position:center}
 .premium-header .mobile-menu-btn{display:none}
 .premium-header .nav-bar{display:block}
}
@media screen and (min-width:1024px) and (max-width:1279px){
 .premium-header .nav-row{display:flex;height:auto;min-height:54px;justify-content:center}
 .premium-header .nav-links{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px;height:auto;width:100%;padding-block:4px}
 .premium-header .premium-nav-trigger{font-size:12px;min-height:44px}
 .premium-header .header-main{gap:16px}
 .premium-header .compact-commerce-actions{gap:8px}
}
@media screen and (max-width:1023px){
 .premium-header .header-actions>button,.premium-header .account-trigger{color:#1c2d33!important;background:transparent!important}
 .premium-header .account-trigger svg,.premium-header .header-actions svg{color:#1c2d33!important}
}
@media screen and (max-width:1023px){
 .hp-sidebar{overflow-y:auto;overscroll-behavior:contain}
 body.bear-workspace{font-size:14px}
}
@media screen and (max-width:1023px){
 body[data-mobile-shell].mobile-nav-open [data-mobile-drawer]{transform:none!important}
 body[data-mobile-shell] .bear-menu{display:none!important}
}

/* Compact desktop shopping dropdowns. Category pages provide deeper browsing. */
@media screen and (min-width:1024px){
 .premium-header #shop-mega.premium-mega,.premium-header:not(.is-compact) #shop-mega.premium-mega,.premium-header.is-compact #shop-mega.premium-mega{left:50%;right:auto;top:calc(100% + 8px);width:min(1040px,calc(100vw - 48px));transform:translateX(-50%);max-height:var(--dropdown-space,calc(100dvh - 180px));background:#fff;border:1px solid #dce4e7;border-top:2px solid #f87828;border-radius:16px;box-shadow:0 18px 48px #09232d29;animation:bear-dropdown-in .14s ease-out;overflow:auto}
 .premium-header #shop-mega .menu-design-v2{padding:18px 22px 14px;max-width:none}
 .premium-header #shop-mega .menu-v2-heading{margin-bottom:12px;gap:12px}
 .premium-header #shop-mega .menu-v2-heading>div{display:flex;align-items:center;gap:16px}
 .premium-header #shop-mega .menu-v2-heading h2{font-size:19px;line-height:1.3;letter-spacing:-.025em;margin:0}
 .premium-header #shop-mega .menu-v2-heading h2>span,.premium-header #shop-mega .menu-v2-heading .menu-eyebrow,.premium-header #shop-mega .menu-v2-heading p{display:none}
 .premium-header #shop-mega .menu-v2-heading>button{width:32px;height:32px;min-height:32px;padding:7px;border-radius:8px}
 .premium-header #shop-mega .menu-department-layout{display:block}
 .premium-header #shop-mega .menu-feature-panel{display:none}
 .premium-header #shop-mega .menu-category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 14px}
 .premium-header #shop-mega .menu-category-card{background:transparent;border:1px solid transparent;border-radius:9px;box-shadow:none;min-width:0}
 .premium-header #shop-mega .menu-category-card:hover{border-color:#e2e9ed;background:#f4f7f8;transform:none;box-shadow:none}
 .premium-header #shop-mega .menu-category-main,.premium-header #shop-mega .menu-category-roomy .menu-category-main{grid-template-columns:44px minmax(0,1fr) 14px;gap:10px;padding:8px;min-height:64px}
 .premium-header #shop-mega .menu-category-image,.premium-header #shop-mega .menu-category-roomy .menu-category-image{width:44px;height:44px;border:0;border-radius:7px;background:#fff}
 .premium-header #shop-mega .menu-category-label strong{font-size:13px;line-height:1.35;font-weight:650;letter-spacing:0;color:#172e38}
 .premium-header #shop-mega .menu-category-label small,.premium-header #shop-mega .menu-card-children{display:none}
 .premium-header #shop-mega .menu-card-arrow svg{width:14px;height:14px;color:#607783}
 .premium-header #shop-mega .menu-v2-footer{margin-top:12px;padding-top:12px;gap:14px;font-size:12px;border-color:#e6ecee}
 .premium-header #shop-mega .menu-useful-links{gap:20px}
 .premium-header #shop-mega .menu-useful-links a{font-size:12px;color:#a94714;min-height:32px;display:inline-flex;align-items:center}
 .premium-header #shop-mega .menu-concierge-link{font-size:12px}
 .premium-header #shop-mega .menu-industry-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 14px}
 .premium-header #shop-mega .menu-industry-card{grid-template-columns:44px minmax(0,1fr);gap:10px;align-items:center;min-height:64px;padding:8px;border:1px solid transparent;border-radius:9px;background:transparent}
 .premium-header #shop-mega .menu-industry-card:hover{transform:none;background:#f4f7f8;border-color:#e2e9ed;box-shadow:none}
 .premium-header #shop-mega .menu-industry-visual{width:44px;height:44px;min-height:44px;border-radius:7px}
 .premium-header #shop-mega .menu-industry-visual>img{filter:none}
 .premium-header #shop-mega .menu-industry-badge,.premium-header #shop-mega .menu-industry-copy>p,.premium-header #shop-mega .menu-industry-copy>span{display:none}
 .premium-header #shop-mega .menu-industry-copy{padding:0}
 .premium-header #shop-mega .menu-industry-copy>strong{font-size:13px;line-height:1.35;font-weight:650;letter-spacing:0;color:#172e38}
 .header-menu-shade{background:#09232d12;backdrop-filter:none}
 .premium-header .premium-nav-trigger[aria-expanded=true]{background:#fff3e9;color:#a94714;border-radius:7px 7px 0 0}
}
@keyframes bear-dropdown-in{from{opacity:0;translate:0 -4px}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:reduce){.premium-header #shop-mega.premium-mega{animation:none!important}}
