.stock-warehouse-label{display:flex;align-items:center;gap:10px;font-size:13px;margin-top:8px}.stock-warehouse-label select{min-width:220px;width:auto;margin:0;padding:8px 30px 8px 10px}.order-warehouse-bar{display:flex;gap:10px;align-items:end;padding:10px 0 14px}.order-warehouse-bar label{display:grid;gap:4px;font-size:12px;color:var(--muted,#727985)}.order-warehouse-bar select{width:230px}.stocktake-editor{padding:20px!important}.stocktake-heading,.stocktake-heading>div,.stocktake-meta,.stocktake-tools,.stocktake-footer{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.stocktake-heading{justify-content:space-between;margin-bottom:20px}.stocktake-heading h1{font-size:22px!important;margin:0!important}.stocktake-state{font-size:12px;padding:5px 10px;border-radius:20px;background:#edf0f4;color:#525e6f;white-space:nowrap}.stocktake-state.posted{background:#e8f5ed;color:#217649}.stocktake-state.cancelled{background:#fceeee;color:#9e3b3b}.stocktake-meta{padding:14px;background:var(--surface-subtle,#f5f6f8);border-radius:10px;align-items:end}.stocktake-meta label,.stocktake-note,.stocktake-filters label{display:grid;gap:6px;font-size:13px}.stocktake-meta select{min-width:240px}.stocktake-meta .muted{font-size:12px;align-self:center}.stocktake-help{font-size:13px;color:var(--muted,#727985);line-height:1.5;margin:14px 0}.stocktake-note{max-width:650px;margin-bottom:18px}.stocktake-tools{justify-content:space-between;margin:14px 0}.stocktake-tools strong{font-size:13px}.stocktake-table{border-collapse:collapse;width:100%;min-width:650px;font-size:13px}.stocktake-table th{background:var(--surface-subtle,#f5f6f8);color:var(--muted,#727985);font-weight:500}.stocktake-table td,.stocktake-table th{padding:10px;border-bottom:1px solid var(--border,#e2e5eb);text-align:left}.stocktake-table .qty{text-align:right;white-space:nowrap}.stocktake-table input{width:110px;text-align:right;padding:8px;font-size:13px;margin:0}.stocktake-table input[aria-invalid=true]{border-color:#c83232}.stocktake-table td:nth-child(3){min-width:190px}.stocktake-table td.stocktake-variance{color:#b64c00;font-weight:600;background:#fff4e8}.stocktake-empty{text-align:center!important;padding:40px!important;line-height:1.8;color:var(--muted,#727985)}.stocktake-footer{padding-top:18px;margin-top:14px;border-top:1px solid var(--border,#e2e5eb)}.stocktake-footer>div{flex:1;min-width:230px;font-size:12px;color:var(--muted,#727985)}.stocktake-footer .error{margin:4px 0;max-width:650px}.stocktake-filters{padding:0 0 16px;max-width:280px}.stocktake-editor button{font-size:13px;padding:9px 12px;min-height:36px}.stocktake-editor [hidden]{display:none!important}[data-theme=dark] .stocktake-meta,[data-theme=dark] .stocktake-table th{background:#292c31}[data-theme=dark] .stocktake-variance{background:#433529!important;color:#ffb56c!important}@media(max-width:700px){.stocktake-editor{padding:12px!important}.stocktake-heading h1{font-size:18px!important}.stocktake-meta{display:grid;grid-template-columns:1fr}.stocktake-meta select{width:100%;min-width:0}.stocktake-footer>div{flex-basis:100%}.order-warehouse-bar{flex-wrap:wrap}.stock-warehouse-label{flex-wrap:wrap}}

/* Compact work-order stock actions */
#order-form #panel-part .order-line-tools{display:flex!important;justify-content:flex-start!important;align-items:center;flex-wrap:wrap;gap:8px}#order-form #panel-part .order-line-tools>span{flex:0 0 100%;margin:0}#order-form #panel-part .order-line-tools>button{flex:0 0 auto;margin:0!important;padding:7px 12px;min-height:34px}#order-form #panel-part .order-warehouse-bar{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.order-issue-summary{display:inline-flex;align-items:center;border-radius:7px;padding:7px 10px;font-size:12px;font-weight:600;background:#f0f2f5;color:#646b76}.order-issue-summary[data-state=full]{background:#e8f5ed;color:#237048}.order-issue-summary[data-state=partial]{background:#fff1dc;color:#956010}.order-issue-summary[data-state=none]{background:#fff0e8;color:#ae4e1a}

.inline-catalog-menu[popover]{box-sizing:border-box;border:1px solid #d9d9e3;background:var(--surface,#fff);border-radius:10px;box-shadow:0 12px 36px #20203030;overflow:auto;overscroll-behavior:contain;padding:0}
.inline-catalog-menu[popover] .inline-choice{padding:11px 14px;font-size:14px;min-height:56px}
.inline-catalog-menu[popover] .inline-choice small{font-size:12px;line-height:1.4}

.receipt-parts-picker{max-height:94vh!important;overflow:auto}
.receipt-parts-picker .receipt-choice-list{max-height:44vh;min-height:min(360px,40vh);align-content:start}
.receipt-parts-picker .receipt-choice-list button{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:16px;align-items:center}
.receipt-card-info{display:flex;flex-direction:column;gap:5px;min-width:0}
.receipt-card-products{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;min-width:0;font-size:12px;line-height:1.4}
.receipt-card-products>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.receipt-card-products small{font-size:11px}
.receipt-parts-picker .report-scroll{max-height:23vh}
@media(max-width:650px){.receipt-parts-picker .receipt-choice-list button{grid-template-columns:1fr;gap:8px}.receipt-card-products{grid-template-columns:1fr}}
