/* Shared by mobile browser, Android WebView and iOS Home Screen. Desktop stays intact. */
#mobileScan,.mobile-part-stats,.mobile-location{display:none}
html[data-device=mobile] body.interface-active{background:#f3f5f4;color:#203d31}
html[data-device=mobile] .interface-active main{padding-top:14px;padding-bottom:calc(104px + env(safe-area-inset-bottom));max-width:720px}
html[data-device=mobile] .interface-active :is(.card,.rack,.store-card){border-radius:16px;border-color:#dce4df;box-shadow:0 3px 14px #193f2e06}
html[data-device=mobile] .interface-active h1{font-size:30px;letter-spacing:-.7px;line-height:1.15}
html[data-device=mobile] .interface-active #subtitle{font-size:14px;line-height:1.45}
html[data-device=mobile] .interface-active #globalSearch{border:0;background:transparent;padding:0;margin:16px 0;box-shadow:none}
html[data-device=mobile] .interface-active #globalSearch>label{font-size:15px;margin-bottom:8px}
html[data-device=mobile] .interface-active #globalSearch>small{font-size:12px;line-height:1.45}
html[data-device=mobile] .interface-active #searchForm{border:1px solid #cedcd5;background:white;border-radius:13px}
html[data-device=mobile] .interface-active #searchForm #search{min-height:52px;font-size:16px}
html[data-device=mobile] .interface-active #searchSubmit{background:#e6f3ee;color:#226d5c;min-width:52px;padding:12px}
html[data-device=mobile] .interface-active #mobileScan{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;height:52px;margin-top:12px;background:#278577;border:0;color:white;border-radius:13px;font-size:14px}
#mobileScan svg{height:24px;width:24px;stroke:currentColor;fill:none;stroke-width:1.8}
html[data-device=mobile] .interface-active .interface-filter-buttons{gap:7px;scrollbar-width:thin}
html[data-device=mobile] .interface-active .interface-filter-buttons button{border-radius:24px;height:42px;min-height:42px}
html[data-device=mobile] .interface-active .interface-filter-buttons button[aria-pressed=true]{background:#278577;border-color:#278577;color:white}
html[data-device=mobile] .interface-active #partsCard{border:0;background:transparent;padding:0;box-shadow:none}
html[data-device=mobile] .interface-active #rows tr[data-mobile-card]{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:4px;margin:12px 0;padding:14px;background:white;border:1px solid #dce4df;border-radius:16px;box-shadow:0 3px 12px #1b3f2d05}
html[data-device=mobile] .interface-active #rows tr[data-mobile-card]>td{padding:0;background:transparent;border:0;min-width:0}
html[data-device=mobile] .interface-active #rows tr[data-mobile-card]>td:nth-child(2),html[data-device=mobile] .interface-active #rows tr[data-mobile-card]>td:nth-child(3){display:none}
html[data-device=mobile] .interface-active #rows tr[data-mobile-card] [data-details]{width:100%;min-height:76px;display:grid;grid-template-columns:76px minmax(0,1fr);column-gap:12px;align-content:center;padding:0!important;white-space:normal}
html[data-device=mobile] .interface-active #rows [data-details] .part-picture{grid-column:1;grid-row:1/8;width:76px;height:76px;align-self:center;border-radius:12px;background:#f7f9f8}
html[data-device=mobile] .interface-active #rows [data-details] .part-picture :is(svg,img){width:100%;height:100%;object-fit:contain}
html[data-device=mobile] .interface-active #rows [data-details]>:not(.part-picture){grid-column:2;min-width:0}
html[data-device=mobile] .interface-active #rows [data-details]>strong{font-size:16px;line-height:1.35;overflow-wrap:anywhere}
html[data-device=mobile] .interface-active #rows [data-details]>small:last-child{display:none}
html[data-device=mobile] .interface-active #rows :is([data-edit],[data-move]),html[data-device=mobile] .interface-active #rows tr[data-mobile-card]>td>br{display:none}
html[data-device=mobile] .interface-active #rows tr[data-mobile-card]>td:nth-child(4){padding:4px 0;font-size:12px}
html[data-device=mobile] .interface-active #rows tr[data-mobile-card]>td:nth-child(4)>.badge{background:transparent;border:0;padding:0;color:#52685e;white-space:normal;font-size:12px}
html[data-device=mobile] .interface-active #rows .interface-availability{padding:4px 0;min-width:0}
html[data-device=mobile] .interface-active #rows .interface-availability>strong{font-size:26px}
html[data-device=mobile] .interface-active #rows .interface-availability>p,html[data-device=mobile] .interface-active #rows tr[data-mobile-card]>td:nth-child(5)>small{display:none}
html[data-device=mobile] .interface-active #rows tr[data-mobile-card]>td:last-child>.actions:first-child{display:none}
html[data-device=mobile] .interface-active #rows tr[data-mobile-card]>td:last-child>.actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px!important}
html[data-device=mobile] .interface-active #rows [data-bulk]{height:46px;font-size:14px!important;border-radius:10px;background:#f1f8f5;color:#226d5c;border-color:#c9ded4}
html[data-device=mobile] .interface-active #rows [data-bulk][data-direction='-1']{background:#278577;border-color:#278577;color:white}
html[data-device=mobile] .interface-active #rows [data-low-stock]{min-height:36px;font-size:12px}
html[data-device=mobile] .interface-active .store-card{padding:18px;min-height:110px}
html[data-device=mobile] .interface-active .interface-bottom{gap:4px;padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:#fff;box-shadow:0 -5px 20px #203d3109}
html[data-device=mobile] .interface-active .interface-bottom button{height:56px;font-size:11px;min-width:0;max-width:100%;white-space:nowrap}
html[data-device=mobile] .interface-active .interface-bottom [data-mobile-route=scan]{background:#278577;color:#fff}
html[data-device=mobile] .interface-active .interface-bottom [aria-current=page]{background:#e4f3ed;color:#216b59}
html[data-device=mobile] .interface-active dialog{box-sizing:border-box;border:1px solid #dce4df;border-radius:20px;padding:18px;max-width:calc(100vw - 20px);max-height:calc(100dvh - 24px);box-shadow:0 18px 60px #102b3433;overscroll-behavior:contain}
html[data-device=mobile] .interface-active dialog::backdrop{background:#132d2a77}
html[data-device=mobile] .interface-active dialog :is(input,select,textarea){font-size:16px;border-radius:10px;min-height:48px}
html[data-device=mobile] .interface-active dialog h2{font-size:23px;line-height:1.25;letter-spacing:-.3px;overflow-wrap:anywhere}
html[data-device=mobile] .interface-active dialog.mobile-part-dialog{width:600px;padding:16px}
html[data-device=mobile] .mobile-part-dialog #detailContent>.interface-availability{display:none}
html[data-device=mobile] .mobile-part-dialog #detailPhoto{max-height:240px!important;background:#fafcfb;border:1px solid #e3eae6}
html[data-device=mobile] .mobile-part-dialog #detailGenericGraphic{height:200px;display:grid;place-items:center;background:#fafcfb;border:1px solid #e3eae6;border-radius:14px}
html[data-device=mobile] .mobile-part-dialog #detailGenericGraphic>.industrial-icon{width:180px;height:180px}
html[data-device=mobile] .mobile-part-dialog #detailPhotoStatus{font-size:12px}
html[data-device=mobile] .mobile-part-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}
html[data-device=mobile] .mobile-part-stats>div{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 4px;min-height:88px;border:1px solid #dce4df;background:#fff;border-radius:12px;text-align:center}
html[data-device=mobile] .mobile-part-stats small{font-size:11px;line-height:1.25;overflow-wrap:anywhere}
html[data-device=mobile] .mobile-part-stats strong{font-size:26px;line-height:1.4;font-variant-numeric:tabular-nums}
html[data-device=mobile] .mobile-part-stats span{font-size:12px;color:#52685e}
html[data-device=mobile] .mobile-location{display:grid;gap:6px;padding:14px;background:#edf6f1;border-radius:12px;margin-bottom:14px;overflow-wrap:anywhere}
html[data-device=mobile] .mobile-location small{font-size:12px;color:#52685e}
html[data-device=mobile] .interface-active .interface-part-actions{position:sticky;bottom:-16px;padding:12px 0 calc(12px + env(safe-area-inset-bottom));background:white;box-shadow:0 -6px 12px #fff;gap:8px}
html[data-device=mobile] .interface-active .interface-part-actions button{height:50px!important;border-radius:11px}
html[data-device=mobile] .interface-active .workspace-detail-tabs{flex-wrap:nowrap;overflow-x:auto;padding:0 0 8px}
html[data-device=mobile] .interface-active dialog.mobile-quantity-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:600px;max-width:100%;max-height:calc(100dvh - env(safe-area-inset-top) - 16px);border-radius:24px 24px 0 0;padding:22px 18px calc(18px + env(safe-area-inset-bottom))}
html[data-device=mobile] .mobile-quantity-sheet::before{content:'';display:block;width:42px;height:4px;background:#c8d3ce;border-radius:4px;margin:-10px auto 18px}
html[data-device=mobile] .mobile-stepper{display:grid;grid-template-columns:56px minmax(0,1fr) 56px;gap:8px;margin-top:8px}
html[data-device=mobile] .mobile-stepper button{height:56px;min-width:0;font-size:28px;border:0;border-radius:12px;background:#e7f4ee;color:#227d6e}
html[data-device=mobile] .mobile-stepper #quantityAmount{height:56px;margin:0;text-align:center;font-size:28px;font-weight:700;appearance:textfield}
html[data-device=mobile] .mobile-stepper input::-webkit-inner-spin-button{appearance:none}
html[data-device=mobile] .mobile-after{display:flex;justify-content:space-between;gap:12px;padding:12px;background:#f3f7f5;border-radius:10px;font-size:13px}
html[data-device=mobile] .mobile-after strong{white-space:nowrap}
html[data-device=mobile] .mobile-quantity-sheet .foot{display:flex;flex-direction:column-reverse;gap:10px;padding-top:12px}
html[data-device=mobile] .mobile-quantity-sheet .foot button{width:100%;height:50px;border-radius:11px}
html[data-device=mobile] .mobile-quantity-sheet #quantityError:empty,html[data-device=mobile] .mobile-quantity-sheet #quantityValue:empty{display:none}
html[data-device=mobile] .interface-active button:focus-visible{outline:3px solid #dc8c35;outline-offset:3px}
html[data-device=mobile] .interface-active button:disabled{opacity:.5}
@media(prefers-reduced-motion:no-preference){
 html[data-device=mobile] .interface-active button{transition:transform 100ms ease,background-color 140ms ease,border-color 140ms ease}
 html[data-device=mobile] .interface-active button:not(:disabled):active{transform:scale(.97)}
 html[data-device=mobile] .interface-active .interface-bottom [aria-current=page] svg{animation:mobile-nav-in 180ms ease-out}
 html[data-device=mobile] .interface-active .save-feedback[data-state=success]{animation:mobile-feedback-in 180ms ease-out}
 @keyframes mobile-nav-in{from{transform:translateY(3px)}to{transform:translateY(0)}}
 @keyframes mobile-feedback-in{from{opacity:.5;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
}
@media(max-width:360px){html[data-device=mobile] .interface-active main{padding-left:10px;padding-right:10px}html[data-device=mobile] .interface-active #rows tr[data-mobile-card]{padding:11px}html[data-device=mobile] .mobile-part-stats{gap:5px}}
html[data-device=mobile] .interface-active dialog{max-height:calc(var(--sp-mobile-height,100dvh) - 24px)}
html[data-device=mobile] .interface-active dialog.mobile-quantity-sheet{bottom:var(--sp-keyboard-inset,0px);max-height:calc(var(--sp-mobile-height,100dvh) - env(safe-area-inset-top) - 16px)}
