.mobile-bottom-nav{display:none}.mobile-history-date,.mobile-history-other,.mobile-history-quick{display:contents}.hold-summary>span+span:before{content:' ｜ '}
@media(max-width:950px){
 html{scroll-padding-bottom:calc(150px + env(safe-area-inset-bottom,0px))}body{padding:0}.app{min-height:100dvh;height:auto;grid-template-rows:auto 1fr}.workspace{min-width:0}
 .sidebar{display:block!important;padding:calc(8px + env(safe-area-inset-top,0px)) 16px 8px!important;height:auto;min-height:0}.sidebar .nav-group,.sidebar .sidebar-footer,.sidebar .nav-label{display:none!important}.sidebar .brand{display:flex!important;gap:10px!important;align-items:center;margin:0!important;padding:0!important;min-width:0!important}.sidebar .brand>.brand-logo{display:block!important;width:76px!important;height:auto;margin:0!important}.sidebar .brand>strong{font-size:15px!important;line-height:22px;max-width:none!important;margin:0!important}
 .mobile-bottom-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:15;background:#fff;border-top:1px solid #dce3eb;padding:6px 8px env(safe-area-inset-bottom,0px);box-shadow:0 -2px 10px #172b4308}.mobile-bottom-nav button{min-width:0;min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:transparent;color:#65758a;font-family:inherit;font-size:12px;font-weight:500;line-height:18px;border-radius:8px;padding:4px 0}.mobile-bottom-nav .nav-symbol{display:flex;width:22px;height:22px;flex:0 0 22px;margin:0}.mobile-bottom-nav svg{width:22px;height:22px}.mobile-bottom-nav [aria-current=page]{background:#eaf2ff;color:#245f9f;font-weight:600}.mobile-bottom-nav button:disabled{opacity:.4}.mobile-bottom-nav button:focus-visible{outline:2px solid #5085bb}
 .main{padding:16px 14px calc(160px + env(safe-area-inset-bottom,0px))!important}.topbar{height:auto;min-height:58px;padding:10px 14px;gap:8px;flex-wrap:wrap}.topbar h1{font-size:19px}.mobile-cart{bottom:calc(78px + env(safe-area-inset-bottom,0px))!important}.toast{bottom:calc(150px + env(safe-area-inset-bottom,0px))}dialog{max-height:calc(100dvh - 40px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
 body[data-mobile-page=holds] .mobile-hold-heading h2{display:none}.mobile-hold-heading:empty{display:none}.mobile-hold-heading{margin:0 0 12px;min-height:0}.mobile-hold-panel>.search-wrap{width:100%;margin:0 0 12px}.mobile-hold-panel .hold-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;margin:0 0 10px}.mobile-hold-panel .hold-controls label{display:flex;flex-direction:column;gap:6px;min-width:0;font-family:inherit;font-size:13px;font-weight:500;line-height:20px;color:#667085}.mobile-hold-panel .hold-controls .secondary{grid-column:1/-1;font-size:12px;line-height:18px}.mobile-hold-panel .hold-controls input,.mobile-hold-panel .hold-controls select{box-sizing:border-box;min-width:0;width:100%;height:42px;margin:0;border:1px solid #d7e0e8;border-radius:8px;font-family:inherit;font-size:16px;padding:8px 10px;color:#203249;background-color:white}.mobile-hold-panel .hold-controls select{appearance:none;padding-right:26px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='m3 4 3 3 3-3' fill='none' stroke='%23728094'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center}
 .mobile-hold-panel .inventory-chips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:12px 0}.mobile-hold-panel .filter-chip{padding:0 3px;font-size:12px;min-width:0;height:36px}.hold-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:10px 0;font-size:12px;line-height:20px;text-align:center}.hold-summary>span{background:#f5f7fa;padding:6px 3px;border-radius:6px;overflow-wrap:anywhere}.hold-summary>span+span:before{content:none}#hold-list .empty{padding:24px 10px;min-height:0}.hold-card{min-width:0}.hold-card-actions{flex-wrap:wrap}
 .recon-history{padding:14px;margin-top:18px;min-width:0}.recon-history h3{font-size:18px;margin:0 0 14px}.mobile-history-filters{display:flex;flex-direction:column;align-items:stretch;gap:12px}.mobile-history-date{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:#f7f9fc;border:1px solid #e3e8ee;border-radius:8px;padding:12px}.mobile-history-date>label:first-child{grid-column:1/-1}.mobile-history-date:has(input[type=date]){grid-template-columns:1fr}.mobile-history-other{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.mobile-history-filters label{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0;font-family:inherit;font-size:13px;line-height:20px}.mobile-history-filters input,.mobile-history-filters select{box-sizing:border-box;width:100%!important;min-width:0;height:42px;border-radius:8px;font-family:inherit;font-size:16px;padding:8px 10px;margin:0;background-color:white}.mobile-history-filters select{padding-right:26px}.mobile-history-actions{display:flex;align-items:stretch;flex-direction:column;gap:12px}.mobile-history-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.mobile-history-quick button{min-height:38px;padding:6px;font-size:13px;border:1px solid #dce3eb}.mobile-history-export{align-self:flex-end;max-width:100%;min-height:40px}.recon-history .table-scroll{max-height:none;overflow:visible}
 .mobile-history-table,.mobile-history-table tbody{display:block;width:100%;white-space:normal;min-width:0}.mobile-history-table thead{display:none}.mobile-history-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:1px solid #e0e6ee;border-radius:9px;padding:14px;margin:12px 0;background:white}.mobile-history-table td{display:block;border:0;padding:0;min-width:0;overflow-wrap:anywhere;font-size:14px}.mobile-history-table td:before{content:attr(data-label);display:block;color:#7a8797;font-size:12px;margin-bottom:4px}.mobile-history-table td:first-child{font-size:16px;font-weight:600}.mobile-history-table td:nth-child(5){font-weight:600}.mobile-history-table td:last-child{grid-column:1/-1;border-top:1px solid #eef1f5;padding-top:10px;text-align:right}.mobile-history-table td:last-child:before{display:none}.mobile-history-table td:last-child button{background:#edf4fc;color:#245f9f;border:1px solid #d1e0f0;border-radius:7px;min-height:40px;padding:8px 14px}.mobile-history-empty td{grid-column:1/-1!important;text-align:center!important;padding:16px 0!important;border:0!important;color:#718096}.mobile-history-empty td:before{display:none}.recon-pager{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 0}.recon-pager>span{grid-column:1/-1;text-align:center;color:#667085;font-size:13px}.recon-pager button{min-height:40px;padding:8px}
}
@media(max-width:360px){.mobile-hold-panel .hold-controls,.mobile-history-other{grid-template-columns:1fr}.mobile-history-date{grid-template-columns:1fr}.mobile-bottom-nav button{font-size:11px}.hold-summary{font-size:11px}}
@media print{.mobile-bottom-nav{display:none!important}}
@media(max-width:950px){.mobile-bottom-nav .nav-symbol{color:inherit}.mobile-history-empty td{font-size:14px!important;font-weight:400!important}}

@media(max-width:950px){
 .employee-list-panel{overflow:visible;padding:0;background:transparent;border:0;box-shadow:none}
 .employee-mobile-table,.employee-mobile-table tbody{display:block;min-width:0;width:100%;white-space:normal}
 .employee-mobile-table thead{display:none}
 .employee-mobile-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;margin-bottom:12px;background:white;border:1px solid var(--line);border-radius:9px}
 .employee-mobile-table td{display:block;min-width:0;padding:0;border:0;white-space:normal;overflow-wrap:anywhere;font-size:14px}
 .employee-mobile-table td:before{content:attr(data-label);display:block;font-size:12px;color:var(--muted);margin-bottom:4px;font-weight:400}
 .employee-mobile-table td:first-child{font-size:17px;font-weight:600}
 .employee-mobile-table td:last-child{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px;align-items:center;border-top:1px solid var(--line);padding-top:10px}
 .employee-mobile-table td:last-child:before{display:none}
 .employee-mobile-table td:last-child button{min-height:42px;margin:0;white-space:normal}
 .employee-mobile-table .action{padding:8px 12px;border-radius:7px;background:#edf4fc}
 body[data-mobile-page=nzip] .app{min-height:100dvh;box-sizing:border-box;padding-bottom:calc(69px + env(safe-area-inset-bottom,0px))}
 body[data-mobile-page=nzip] .workspace{display:flex;flex-direction:column;min-height:0}
 body[data-mobile-page=nzip] .main{flex:1;display:flex;flex-direction:column;padding-bottom:12px!important}
 body[data-mobile-page=nzip] .nzip-audit-footer{margin-top:auto;padding-top:20px}
}
/* Animate only a composited overlay; no per-frame layout or paint filters. */
 .camera-scan-frame>svg{filter:none}
 .camera-scan-line{height:100%;background:none;box-shadow:none}
 .camera-scan-line:after{inset:0 0 auto;height:2px;background:linear-gradient(90deg,transparent,#75bdff 18%,#acd9ff 50%,#75bdff 82%,transparent)}
 .is-scanning .camera-scan-line{will-change:transform}
 @media(prefers-reduced-motion:reduce){.is-scanning .camera-scan-line{animation:none;transform:translateY(45%);will-change:auto}}

/* Phone layout: compact controls and independent inventory cards. */
.inventory-mobile-view{display:none}
.inventory-mobile-view[hidden]{display:none!important}
textarea#cart-note::placeholder{font-size:13px}
@media(max-width:950px){
 .report-scope{margin:8px 0 14px}
 .order-editor .search-wrap{display:flex;gap:6px;padding:0 8px;min-width:0;width:100%}
 .order-editor .search-wrap .search-icon{display:flex!important;flex:0 0 18px;width:18px;height:18px;align-items:center}
 .order-editor .search-wrap .search-icon svg{width:18px;height:18px}
 .order-editor .search-wrap input#product-search{padding:0!important;min-width:0;width:0;font-size:16px!important}
 .order-editor #product-search::placeholder{font-size:13px!important;letter-spacing:-.2px}
 .order-editor .search-wrap .camera-scan-button{flex:0 0 40px;width:40px;min-width:40px;min-height:44px;padding:8px}
 .order-editor .cart-identity{min-height:0;padding-bottom:6px}
 .mobile-hold-panel{padding:10px}
 .mobile-hold-heading{margin-bottom:6px}
 .mobile-hold-panel>.search-wrap{margin-bottom:8px}
 #hold-search::placeholder{font-size:13px!important}
 .mobile-hold-panel .hold-controls{gap:6px 10px;margin-bottom:6px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .mobile-hold-panel .hold-controls label{gap:4px;line-height:18px;font-size:13px;margin:0;padding:0;min-height:0}
 .mobile-hold-panel .hold-controls input,.mobile-hold-panel .hold-controls select{height:40px;min-height:40px;font-size:14px!important;font-weight:500;padding-top:6px;padding-bottom:6px}
 .mobile-hold-panel .hold-controls .secondary{font-size:12px;line-height:17px;margin:0}
 .mobile-hold-panel .hold-timeout-unit{font-size:12px;font-weight:400}
 body[data-mobile-page=holds] .mobile-hold-panel .inventory-chips{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:6px 0}
 .mobile-hold-panel .filter-chip{height:40px;min-height:40px;padding:0 2px;font-size:12px}
 .mobile-hold-panel .hold-summary{padding:4px 0 6px;margin:0;gap:4px;font-size:12px;line-height:18px}
 .mobile-hold-panel .hold-summary>span{padding:4px 2px}
 .mobile-hold-panel .held-card{padding:10px;margin:0 0 8px;gap:8px}
 .mobile-hold-panel .hold-title{gap:5px;margin:0 0 4px;line-height:20px}
 .mobile-hold-panel .hold-title>strong{font-size:15px}
 .mobile-hold-panel .hold-state,.mobile-hold-panel .prep-badge{padding:2px 5px;font-size:11px;line-height:16px}
 .mobile-hold-panel .hold-status-tools{gap:4px}
 .mobile-hold-panel .hold-info-plus{min-width:40px;min-height:40px}
 .mobile-hold-panel .hold-core{font-size:14px;gap:5px;margin:0 0 4px;line-height:20px}
 .mobile-hold-panel .hold-core strong{font-size:15px}
 .mobile-hold-panel .hold-audit{font-size:11px;line-height:17px;gap:2px;margin:0}
 .mobile-hold-panel .hold-audit time{font-size:11px}
 .mobile-hold-panel .hold-note{font-size:12px;line-height:18px;margin:4px 0}
 .mobile-hold-panel .hold-row-actions{gap:6px!important;margin:6px 0 0}
 .mobile-hold-panel .hold-row-actions>button{min-height:40px;height:auto;padding:8px 3px!important;font-size:13px;line-height:20px}
 .employee-mobile-table tr{gap:6px 12px;padding:10px 12px;margin-bottom:8px}
 .employee-mobile-table td{font-size:14px;line-height:19px}
 .employee-mobile-table td:before{font-size:11px;line-height:15px;margin-bottom:2px}
 .employee-mobile-table td:first-child{font-size:14px;font-weight:600}
 .employee-mobile-table td:nth-child(7){grid-column:1/-1;display:flex;gap:8px;font-size:13px;align-items:baseline}
 .employee-mobile-table td:nth-child(7):before{margin:0;flex:none}
 .employee-mobile-table td:last-child{gap:8px;padding-top:6px}
 .employee-mobile-table td:last-child button{min-height:40px;padding:6px 10px;font-size:13px}
 body[data-mobile-page=inventory] .inventory-search-row{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;width:100%;min-width:0}
 body[data-mobile-page=inventory] .inventory-search-row>.search-wrap{display:flex;gap:6px;width:100%;min-width:0;padding:0 8px}
 body[data-mobile-page=inventory] .inventory-search-row>.neutral{justify-self:end;min-height:40px;padding:6px 10px;font-size:13px}
 #inventory-search{min-width:0;width:0;flex:1;padding-left:0;padding-right:0;font-size:16px!important}
 #inventory-search::placeholder{font-size:13px!important}
 .inventory-search-row .search-icon{flex:0 0 18px;width:18px;height:18px}
 .inventory-search-row .search-icon svg{width:18px;height:18px}
 .inventory-search-row .camera-scan-button{flex:0 0 40px;min-width:40px;width:40px;min-height:44px;padding:8px}
 .inventory-mobile-view{display:block;min-width:0}
 .inventory-table[hidden]{display:none!important}
 .inventory-mobile-tools{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:8px 0}
 .inventory-mobile-tools label{font-size:12px;display:flex;align-items:center;gap:6px;flex:1;min-width:0}
 .inventory-mobile-tools select{min-width:0;max-width:100%;min-height:40px;flex:1;border:1px solid var(--line);border-radius:6px;padding:6px;font-size:14px!important;background:white}
 .inventory-mobile-tools button{min-height:40px;padding:6px 10px;font-size:13px}
 .inventory-mobile-totals{font-size:12px;line-height:20px;margin:6px 0 10px;color:#52647b;display:flex;flex-wrap:wrap;gap:2px 12px}
 .inventory-product-card{min-width:0;border:1px solid var(--line);border-radius:9px;background:white;padding:10px;margin:0 0 10px;overflow-wrap:anywhere}
 .inventory-product-card.sku-match{border-color:#d7ad50;background:#fffbef}
 .inventory-card-head{display:flex;align-items:center;gap:10px;min-width:0;margin-bottom:8px}
 .inventory-card-head>.photo-button{flex:none;padding:0;min-width:44px;min-height:44px}
 .inventory-card-head .stock-photo{width:48px;height:52px;object-fit:cover;border-radius:6px}
 .inventory-card-head h3{font-size:15px;line-height:22px;margin:0;min-width:0;font-weight:600;white-space:normal}
 .inventory-card-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px;margin:0;font-size:13px;line-height:20px}
 .inventory-card-fields>div{min-width:0;display:flex;flex-wrap:wrap;gap:0 6px;align-items:baseline}
 .inventory-card-fields dt{color:#728094;font-size:12px;flex:none}
 .inventory-card-fields dd{margin:0;min-width:0;white-space:normal}
 .inventory-card-stock{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:13px;line-height:20px}
 .inventory-card-stock .stock-warning{font-size:11px;padding:2px 6px;background:#fff1df;color:#98531b;border-radius:4px}
 .inventory-card-stock .reserved-badge{min-height:40px;white-space:normal}
 .inventory-card-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:8px;padding-top:8px;border-top:1px solid var(--line)}
 .inventory-card-actions button{margin:0!important;width:100%;min-width:0;min-height:40px;padding:7px 3px!important;font-size:13px;white-space:normal;border-radius:6px}
 .inventory-card-actions details{grid-column:1/-1;min-width:0}
 .inventory-card-actions summary{display:flex;align-items:center;justify-content:center;min-height:40px;background:#f5f7fa;color:#52647b;border-radius:6px;cursor:pointer;font-size:13px;list-style:none}
 .inventory-card-actions details>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:6px}
 body[data-mobile-page=inventory] .inventory-pager{gap:6px;padding:6px 0;min-width:0;font-size:12px}
 body[data-mobile-page=inventory] .inventory-pager button{min-height:40px;font-size:13px;padding:6px 10px}
 body[data-mobile-page=inventory] .inventory-actions{flex-wrap:wrap;gap:6px;min-width:0}
 body[data-mobile-page=inventory] .inventory-actions>button,body[data-mobile-page=inventory] .inventory-actions summary{font-size:13px;min-height:40px;padding:8px}
 .inventory-detail-scroll{overflow:visible;min-width:0}
 .inventory-detail-cards,.inventory-detail-cards tbody{display:block;min-width:0;width:100%;white-space:normal}
 .inventory-detail-cards thead{display:none}
 .inventory-detail-cards tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;border:1px solid var(--line);border-radius:8px;margin-bottom:10px;padding:10px}
 .inventory-detail-cards td{display:block;border:0;padding:0;min-width:0;font-size:13px;white-space:normal;overflow-wrap:anywhere}
 .inventory-detail-cards td:before{content:attr(data-label);display:block;color:var(--muted);font-size:11px;margin-bottom:2px}
 .inventory-detail-cards td:first-child,.inventory-detail-cards td:nth-child(8){grid-column:1/-1}
}
@media(max-width:374px){.order-editor .search-wrap{gap:4px;padding:0 4px}.order-editor #product-search::placeholder{font-size:12px!important;letter-spacing:-.4px}}

/* Consistent compact text inside customer and order-note fields. */
.order-editor .cart-identity #cart-customer,.order-editor .cart-identity #cart-note{font-family:inherit;font-size:13px!important;font-weight:400;line-height:20px!important;letter-spacing:0}
.order-editor .cart-identity #cart-customer::placeholder,.order-editor .cart-identity #cart-note::placeholder{font-family:inherit;font-size:13px!important;font-weight:400;line-height:20px!important;letter-spacing:0;color:#728094;opacity:1}
/* Shared compact hold-info button on desktop and mobile. */
.mobile-hold-panel .hold-title .hold-info-plus{position:relative;isolation:isolate;flex:0 0 40px;width:40px;height:40px;min-width:40px;min-height:40px;margin-left:-5px;border:0;border-radius:6px;background:transparent;font-size:16px;font-weight:400;line-height:1;box-shadow:none;color:#667b91}
.mobile-hold-panel .hold-title .hold-info-plus:before{content:'';position:absolute;z-index:-1;width:24px;height:24px;box-sizing:border-box;border:1px solid #dce4ed;border-radius:6px;background:#f6f8fb}
.mobile-hold-panel .hold-title .hold-info-plus:hover{background:transparent}
.mobile-hold-panel .hold-title .hold-info-plus:hover:before{background:#eaf1f8;border-color:#c8d8e8}
/* Mobile refinement: one-row filters and lighter auxiliary controls. */
@media(max-width:950px){
 .mobile-hold-panel .hold-status-tools{gap:2px}
 body[data-mobile-page=inventory] .inventory-search-row{gap:0;margin-bottom:6px}
 body[data-mobile-page=inventory] .inventory-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.1fr);gap:4px;margin:6px 0;min-width:0}
 body[data-mobile-page=inventory] .inventory-chips>button{display:flex;align-items:center;justify-content:center;gap:2px;width:100%;min-width:0;min-height:40px;height:40px;padding:0 3px;font-size:12px;line-height:18px;white-space:nowrap}
 body[data-mobile-page=inventory] .inventory-chips>.inventory-more-toggle{border:1px solid #dce3eb;border-radius:7px;background:#f5f7fa;color:#52647b}
 .inventory-product-card{padding:8px;margin-bottom:8px}
 .inventory-card-head{gap:8px;margin-bottom:4px}
 .inventory-card-head .stock-photo{width:44px;height:44px}
 .inventory-card-head .photo-empty{width:44px;height:44px;min-height:44px;font-size:10px}
 .inventory-card-fields{gap:2px 10px;line-height:19px}
 .inventory-card-fields>.inventory-stock-field{align-items:baseline}
 .inventory-card-fields>.inventory-stock-field dd,.inventory-card-fields>.inventory-stock-field .inventory-available{font-size:17px;font-weight:650;line-height:22px}
 .inventory-card-stock{gap:4px;margin-top:2px;min-height:28px}
 .inventory-card-stock .stock-warning,.inventory-card-stock .inventory-occupancy-label{display:inline-flex;align-items:center;box-sizing:border-box;height:24px;padding:2px 6px;font-size:11px;line-height:18px;font-weight:400;border-radius:5px;border:0;white-space:nowrap;background:#fff1df;color:#98531b}
 .inventory-card-stock .inventory-occupancy-label{background:#f5f0e8;color:#7c6c50}
 .inventory-card-stock button.reserved-badge{display:inline-flex;align-items:center;justify-content:center;min-height:40px;height:40px;padding:0;margin:0;background:transparent;border:0;border-radius:5px}
 .inventory-card-actions{gap:4px;margin-top:3px;padding-top:5px}
 .inventory-card-actions>button,.inventory-card-actions summary{min-height:40px;padding-top:6px!important;padding-bottom:6px!important}
 .inventory-card-actions details>div{margin-top:4px;gap:4px}
 body[data-mobile-page=orders] .sales-orders-heading{gap:8px;min-height:40px;margin-bottom:10px;flex-wrap:nowrap}
 body[data-mobile-page=orders] .sales-orders-heading h2{font-size:18px;line-height:24px;white-space:nowrap;margin:0}
 body[data-mobile-page=orders] .sales-orders-heading h2 .count{font-size:11px;margin-left:4px;padding:2px 4px}
 body[data-mobile-page=orders] .sales-orders-heading .heading-actions{gap:6px;flex-wrap:nowrap;margin-left:auto}
 body[data-mobile-page=orders] .sales-orders-heading button.primary{flex:0 1 auto;width:auto;min-width:0;height:40px;min-height:40px;padding:6px 9px;font-size:12px;line-height:18px;font-weight:500;background:#fff1e8;color:#ad511f;border:1px solid #efd5c4;white-space:nowrap}
 body[data-mobile-page=orders] #main>.panel{padding:10px}
 body[data-mobile-page=orders] .toolbar{margin-bottom:8px;gap:6px}
 body[data-mobile-page=orders] .toolbar .search-wrap{min-width:0;padding:0 8px;gap:6px}
 body[data-mobile-page=orders] #order-search::placeholder{font-size:12px}
 body[data-mobile-page=orders] #order-rows td{padding:8px 6px}
 body[data-mobile-page=orders] .table-scroll th{font-size:11px;padding:8px 4px}
 body[data-mobile-page=orders] table:has(#order-rows .empty){table-layout:fixed;min-width:0;white-space:normal}
 body[data-mobile-page=orders] table:has(#order-rows .empty) th{overflow-wrap:anywhere}
 body[data-mobile-page=orders] #order-rows .empty{min-height:0;padding:16px 4px;font-size:12px;line-height:19px}
 body[data-mobile-page=orders] #order-rows .empty-icon{font-size:22px;margin-bottom:4px}
 body[data-mobile-page=orders] #order-rows .empty .action{min-height:40px;margin-top:8px!important}
}

/* Compact desktop numeric field, with the unit immediately outside its border. */
@media(min-width:951px){
 .hold-controls .hold-timeout-input{display:inline-flex;width:max-content;height:36px;box-sizing:border-box;gap:5px;padding:0;border:0;border-radius:0;background:transparent;align-items:center}
 .hold-controls .hold-timeout-input input[aria-label]{flex:0 0 42px;min-width:0;width:42px;height:36px;padding:6px 2px;border:1px solid #d7e0e8;border-radius:6px;background:#fff;outline:none;appearance:textfield;-moz-appearance:textfield}
 .hold-controls .hold-timeout-input input[aria-label]::-webkit-inner-spin-button,.hold-controls .hold-timeout-input input[aria-label]::-webkit-outer-spin-button{appearance:none;-webkit-appearance:none;margin:0}
 .hold-controls .hold-timeout-input input[aria-label]:focus{border-color:#5384b7;outline:2px solid #5384b733;outline-offset:1px}
 .hold-controls .hold-timeout-input .hold-timeout-unit{position:static;transform:none;flex:none;font-size:12px;line-height:20px}
}
/* Preserve the full inventory search hint on narrow screens. */
.inventory-search-row .search-wrap>.inventory-search-hint{display:none}
@media(max-width:950px){
 body[data-mobile-page=inventory] .inventory-search-row>.search-wrap{display:grid;grid-template-columns:18px minmax(0,1fr) 40px;gap:6px;padding:0 6px;align-items:center;height:auto;min-height:44px}
 .inventory-search-row .search-wrap>.search-icon{grid-column:1;grid-row:1;width:18px;height:18px;min-width:0}
 .inventory-search-row .search-wrap>.search-icon svg{width:18px;height:18px}
 .inventory-search-row .search-wrap>.camera-scan-button{grid-column:3;grid-row:1;min-height:44px}
 .inventory-search-row .search-wrap>input#inventory-search{grid-column:2;grid-row:1;min-width:0;width:100%;height:100%;min-height:44px;padding:0;align-self:stretch}
 .inventory-search-row input#inventory-search::placeholder{color:transparent;opacity:0}
 .inventory-search-row .search-wrap:has(>input#inventory-search:placeholder-shown)>.inventory-search-hint{display:block}
 .inventory-search-row .search-wrap>.inventory-search-hint{grid-column:2;grid-row:1;position:static;inset:auto;transform:none;min-width:0;width:auto;height:auto;padding:6px 0;margin:0;pointer-events:none;color:#728094;font-family:inherit;font-size:13px;font-weight:400;line-height:18px;letter-spacing:0;white-space:normal;overflow-wrap:anywhere;word-break:normal}
 .inventory-search-hint>span{display:inline-block;white-space:nowrap}
}

/* Match customer and note typography in the hold-info editor on every screen. */
#dialog #hold-info-name,#dialog #hold-info-note{font-family:inherit;font-size:14px!important;font-weight:400;line-height:22px!important;letter-spacing:0;padding:10px}
#dialog #hold-info-name{height:44px;box-sizing:border-box}
#dialog #hold-info-name::placeholder,#dialog #hold-info-note::placeholder{font-family:inherit;font-size:14px!important;font-weight:400;line-height:22px!important;letter-spacing:0;opacity:1}

/* Top-aligned multiline notes, using the existing four-line autosizing. */
.order-editor .cart-identity textarea#cart-note{display:block;align-content:start;vertical-align:top;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;padding:10px;line-height:20px!important;resize:none}
.order-editor .cart-identity textarea#cart-note::placeholder{line-height:20px!important;text-align:left}
@media(min-width:951px){
 .mobile-hold-panel .hold-controls,.mobile-hold-panel .inventory-chips{font-family:inherit}
 .mobile-hold-panel .hold-controls>label{font-family:inherit;font-size:13px;font-weight:500;line-height:20px;color:#596575}
 .mobile-hold-panel .hold-controls input,.mobile-hold-panel .hold-controls select{font-family:inherit;font-size:14px!important;font-weight:400;line-height:20px;color:#203249}
 .mobile-hold-panel .hold-controls .hold-timeout-unit{font-family:inherit;font-size:12px;font-weight:400;line-height:20px;color:#728094}
 .mobile-hold-panel .hold-controls>.secondary{font-family:inherit;font-size:12px;font-weight:400;line-height:20px;color:#728094}
 .mobile-hold-panel .inventory-chips>.filter-chip{font-family:inherit;font-size:13px;font-weight:400;line-height:20px}
 .mobile-hold-panel .hold-organized{align-items:stretch}
 .mobile-hold-panel .hold-row-actions{align-self:flex-end;justify-content:flex-end;margin-left:auto;margin-top:0}
}
@media(max-width:950px){
 .mobile-hold-panel .held-card{padding:8px;gap:4px;margin-bottom:6px}
 .mobile-hold-panel .hold-row-actions{column-gap:3px!important;row-gap:0!important;margin:2px 0 0}
 .mobile-hold-panel .hold-row-actions>button{height:38px;min-height:38px;padding:4px 2px!important;font-family:inherit;font-size:12px;line-height:18px;font-weight:500}
 .mobile-hold-panel .hold-row-actions>.hold-cancel{justify-self:end;width:auto;min-width:84px!important;min-height:38px;height:38px;padding:4px 6px!important;background:transparent;color:#b45149;font-size:12px;font-weight:400;border:0;box-shadow:none}
 .inventory-card-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin-top:2px;padding-top:3px}
 .inventory-card-actions button{box-sizing:border-box;height:38px;min-height:38px;padding:4px 2px!important;font-family:inherit;font-size:12px;line-height:18px;font-weight:500;white-space:nowrap}
 .inventory-card-actions .inventory-more-trigger{display:flex;align-items:center;justify-content:center;grid-column:4;grid-row:1;gap:3px;background:#f5f7fa;color:#52647b}
 .inventory-card-actions .inventory-more-trigger:after{content:'';width:4px;height:4px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:translateY(-1px) rotate(45deg);flex:none}
 .inventory-card-actions .inventory-more-trigger[aria-expanded=true]:after{transform:translateY(1px) rotate(225deg)}
 .inventory-card-actions .inventory-extra-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-column:1/-1;gap:3px;margin-top:0}
 .inventory-card-actions .inventory-extra-actions[hidden]{display:none}
 .inventory-card-stock .inventory-occupancy-label{background:#edf4ff;color:#2767b4}
 .inventory-card-stock .stock-warning{background:#fff1df;color:#98531b}
 .recon-history.panel{padding:10px}
 .recon-history h3{margin-bottom:8px}
 .recon-history .mobile-history-filters{gap:8px}
 .recon-history .mobile-history-other{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .recon-history .mobile-history-other label{font-size:12px;line-height:18px;gap:4px}
 .recon-history .mobile-history-other select{height:38px;font-size:12px;padding:6px 18px 6px 5px}
 dialog[data-sheet="audit-simple"]{height:fit-content;min-height:0;width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
 dialog[data-sheet="audit-simple"] .modal-head{padding:6px 12px;min-height:52px;gap:8px}
 dialog[data-sheet="audit-simple"] #dialog-title{font-size:17px;line-height:24px;margin:0}
 dialog[data-sheet="audit-simple"] .modal-head .close{display:grid;place-items:center;position:relative;isolation:isolate;flex:0 0 40px;width:40px;height:40px;min-height:40px;padding:0;margin-right:-6px;font-size:18px;line-height:1;border:0;border-radius:50%;background:transparent;color:#7a899b}
 dialog[data-sheet="audit-simple"] .modal-head .close:before{content:'';position:absolute;z-index:-1;width:24px;height:24px;border-radius:50%;background:#f6f8fa}
 dialog[data-sheet="audit-simple"] #dialog-body{padding:10px 12px;min-height:0;flex:0 1 auto;overscroll-behavior:contain}
 dialog[data-sheet="audit-simple"] .audit-simple-filters{grid-template-columns:minmax(0,1fr);gap:4px;margin:0 0 4px;font-size:12px;line-height:18px}
 dialog[data-sheet="audit-simple"] #audit-search{height:36px!important;min-height:36px!important;font-size:13px!important;padding:6px 8px}
 dialog[data-sheet="audit-simple"] .audit-simple-filters>label{display:grid;grid-template-columns:auto minmax(0,1fr) auto minmax(0,1fr);gap:4px;align-items:center;margin:0}
 dialog[data-sheet="audit-simple"] .audit-simple-filters input[type=date]{width:100%;min-width:0;height:36px!important;min-height:36px!important;padding:5px 3px;font-family:inherit;font-size:12px!important;font-weight:400;line-height:20px}
 dialog[data-sheet="audit-simple"] .audit-simple-filters input[type=date]::-webkit-calendar-picker-indicator{width:13px;height:13px;padding:0;margin-left:2px;opacity:.6}
 dialog[data-sheet="audit-simple"] #audit-more{margin:0;padding:0}
 dialog[data-sheet="audit-simple"] #audit-more>summary{padding:1px 0;min-height:24px;line-height:22px;font-size:12px}
 dialog[data-sheet="audit-simple"] #audit-more>div{padding-top:4px;gap:5px}
 dialog[data-sheet="audit-simple"] #audit-more label{font-size:12px;gap:4px}
 dialog[data-sheet="audit-simple"] #audit-more select{font-size:12px!important}
 dialog[data-sheet="audit-simple"] .table-scroll{min-height:0;margin:0}
 dialog[data-sheet="audit-simple"] .audit-simple-table th{padding:5px 4px;font-size:12px;line-height:18px;height:auto}
 dialog[data-sheet="audit-simple"] .audit-simple-table td{padding:6px 4px;font-size:12px;line-height:18px}
 dialog[data-sheet="audit-simple"] #audit-empty{min-height:0;margin:4px 0;padding:10px 4px;font-size:13px;line-height:20px;text-align:center}
 dialog[data-sheet="audit-simple"] #dialog-footer,dialog[data-sheet="audit-simple"] #dialog-error:empty{display:none}
}
@media(max-width:374px){
 dialog[data-sheet="audit-simple"] .audit-simple-filters input[type=date]{font-size:11px!important;padding-left:2px;padding-right:2px}
}
