.image-picker{gap:10px;min-width:0;display:grid}.image-picker-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.image-picker-actions button{align-items:center;gap:7px;display:flex}.image-paste-target{border:1px dashed var(--border,#a5adbb);cursor:text;border-radius:8px;align-items:center;gap:7px;padding:10px 12px;font-size:.85rem;display:flex}.image-paste-target:focus{outline:2px solid var(--primary,#316bdc);outline-offset:2px}.image-link-row{align-items:center;gap:8px;min-width:0;display:flex}.image-link-row input{flex:1;min-width:0}.image-link-row button{white-space:nowrap}.photo-field{align-items:flex-start;gap:20px;min-width:0;display:flex}.photo-field-preview{border:1px solid var(--border,#d6dce5);background:var(--surface,#fff);border-radius:10px;flex:0 0 136px;justify-content:center;align-items:center;width:136px;height:136px;display:flex;overflow:hidden}.photo-field-preview img{object-fit:contain;width:100%;height:100%}.photo-field-preview span{color:var(--muted,#64748b);justify-items:center;gap:8px;font-size:.85rem;display:grid}.photo-field-controls{flex:1;gap:12px;min-width:0;display:grid}.photo-field-controls>button{justify-self:start}.product-gallery{gap:16px;display:grid}.product-gallery-list{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:12px;display:grid}.product-gallery-card{border:1px solid var(--border,#d6dce5);border-radius:10px;min-width:0;padding:9px;position:relative}.product-gallery-card.is-primary{border-color:var(--primary,#316bdc)}.product-gallery-card img{object-fit:contain;border-radius:5px;width:100%;height:140px;display:block}.product-gallery-order{justify-content:space-between;align-items:center;gap:6px;margin-top:9px;display:flex}.product-gallery-order button{min-width:32px;padding:6px}.product-gallery-primary{justify-content:center;align-items:center;gap:5px;width:100%;margin-top:8px;font-size:.8rem;display:flex}.product-gallery-badge{color:var(--primary,#316bdc);font-size:.78rem;font-weight:600}@media (max-width:600px){.photo-field{flex-direction:column}.photo-field-controls{width:100%}.image-link-row{flex-wrap:wrap}.image-link-row input{width:calc(100% - 28px)}.image-link-row button{width:100%}.image-paste-target{width:100%;min-height:44px}.product-gallery-list{grid-template-columns:repeat(2,minmax(0,1fr))}.product-gallery-order button{min-width:40px;min-height:40px}.image-picker-actions button{min-height:44px}}.product-gallery-card>.image-open{height:140px;padding:0;display:block}.product-gallery-card>.image-open img{object-fit:contain;width:100%;height:100%}.product-gallery-order{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.product-gallery-order .product-gallery-badge{text-align:center;grid-area:1/1/auto/-1}.product-gallery-order button{justify-content:center;align-items:center;width:100%;min-width:0;display:flex}
.postal-code-lookup{flex-wrap:wrap;align-items:flex-start;gap:8px 10px;margin-top:5px;display:flex}.postal-code-lookup button{flex-shrink:0;min-height:32px;padding:6px 10px;font-size:12px}.postal-code-lookup small{color:var(--muted);flex:150px;font-size:11px;line-height:1.5}.postal-code-lookup small.field-error{color:var(--danger)}
.record-conflict{border:1px solid var(--warning-border);background:var(--warning-soft);color:var(--ink);border-radius:8px;margin:16px 0;padding:16px}.record-conflict>p{margin:8px 0 12px}.record-conflict-actions{flex-wrap:wrap;gap:8px;display:flex}.record-conflict-actions button{white-space:normal;text-align:left;min-width:0;max-width:100%}.record-conflict-table{max-width:100%;margin-top:14px;overflow-x:auto}.record-conflict-table table{border-collapse:collapse;width:100%;min-width:540px}.record-conflict-table th,.record-conflict-table td{text-align:left;vertical-align:top;white-space:pre-wrap;overflow-wrap:anywhere;border-bottom:1px solid var(--line);padding:9px 12px}.record-conflict-table td{min-width:160px;max-width:320px}.record-conflict-table th:first-child{min-width:120px}@media (max-width:600px){.record-conflict-table table{min-width:0}.record-conflict-table tr{grid-template-columns:minmax(0,1fr) minmax(0,1fr);display:grid}.record-conflict-table thead th:first-child{display:none}.record-conflict-table tbody th{grid-column:1/-1}.record-conflict-table th,.record-conflict-table td{min-width:0;max-width:none}}
.barcode-input,.barcode-search-row{align-items:center;gap:8px;min-width:0;display:flex}.barcode-search-row>span:empty{display:none}.barcode-input>input,.barcode-search-row>.search,.barcode-search-row>.entry-product-picker,.barcode-search-row>.label-search{flex:1;width:auto;min-width:0}.barcode-search-row{flex-wrap:wrap;flex:1}.barcode-open{white-space:nowrap;flex-shrink:0;min-height:40px}.barcode-overlay{z-index:1200;position:relative}.barcode-overlay>.overlay{z-index:1200}.barcode-overlay .modal{overscroll-behavior:contain;width:min(620px,100%);min-width:0;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto}.barcode-intro,.barcode-hint,.barcode-status{margin:12px 0;font-size:14px;line-height:1.5}.barcode-actions{flex-wrap:wrap;gap:10px;margin:16px 0;display:flex}.barcode-actions button{justify-content:center;min-height:44px}.barcode-hint{color:var(--muted)}.barcode-preview{background:#111;border-radius:8px;position:relative;overflow:hidden}.barcode-preview[hidden],.barcode-preview video[hidden]{display:none}.barcode-preview video,.barcode-preview img{object-fit:contain;width:100%;max-height:260px;display:block}.barcode-camera-starting{color:#fff;background:#111b;place-items:center;min-height:90px;display:grid;position:absolute;inset:0}.barcode-results h3{margin:16px 0 4px;font-size:16px}.barcode-results>p{color:var(--muted);margin-bottom:12px;font-size:12px}.barcode-result{text-align:left;white-space:normal;flex-direction:column;align-items:stretch;gap:5px;width:100%;min-height:78px;margin:8px 0;padding:12px 14px;display:flex}.barcode-result>span{color:var(--muted);font-size:12px}.barcode-result code{color:var(--text);overflow-wrap:anywhere;font-size:17px;font-weight:600}.barcode-result small{color:var(--blue);font-size:12px}.barcode-result:disabled small{color:var(--muted)}.barcode-privacy{color:var(--muted);border-top:1px solid var(--line);margin-top:18px;padding-top:12px;font-size:11px;line-height:1.5}@media (max-width:600px){.barcode-open{min-height:44px;padding:9px}.barcode-input>.barcode-open span{display:none}.barcode-overlay>.overlay{padding:max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom))}.barcode-overlay .modal{padding:18px}.barcode-overlay .modal header{background:var(--surface);z-index:2;padding-top:8px;position:sticky;top:-18px}.barcode-overlay .modal header button{min-width:44px;min-height:44px}.barcode-actions button{flex:150px}.barcode-preview video,.barcode-preview img{max-height:190px}}
.phone-attributes{border:0;grid-column:1/-1;min-width:0;margin:20px 0;padding:0}.phone-attributes legend{color:var(--ink);padding:0;font-size:13px;font-weight:600}.phone-attributes-hint{color:var(--muted);margin:6px 0 16px;font-size:12px;line-height:1.5}.phone-attributes-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;display:grid}.phone-attribute-toggle-main{align-items:center;gap:10px;min-height:44px;display:flex}button.phone-attribute-switch{border:0;border-radius:6px;flex:0 0 44px;justify-content:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:1px;transition:none}button.phone-attribute-switch,button.phone-attribute-switch:hover,button.phone-attribute-switch:focus,button.phone-attribute-switch:active{box-shadow:none;background:0 0;border-color:#0000}.phone-attribute-switch>span{border:1px solid var(--muted);background:var(--surface-soft);border-radius:20px;flex:0 0 42px;width:42px;height:26px;display:block;position:relative}.phone-attribute-switch>span:before{content:"";background:var(--muted);border-radius:50%;width:18px;height:18px;position:absolute;top:3px;left:3px}.phone-attribute-switch[aria-checked=true]>span{border-color:var(--blue);background:var(--blue)}.phone-attribute-switch[aria-checked=true]>span:before{background:#fff;transform:translate(16px)}.phone-attribute-switch:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.phone-attribute-toggle-label{flex:1;min-width:0}.phone-attribute-toggle-label strong,.phone-attribute-toggle-label small{display:block}.phone-attribute-toggle-label strong{font-size:13px}.phone-attribute-toggle-label small{color:var(--muted);margin-top:3px;font-size:11px;line-height:1.4}.phone-attribute-clear{min-height:36px;color:var(--blue);background:0 0;border:0;padding:6px;font-size:11px}.catalog-complementary{border-top:1px solid var(--line);margin:24px 0;padding-top:18px}.catalog-complementary h3{margin:0 0 16px;font-size:14px}.quick-sale-product .phone-attributes{margin:20px 0}@media (max-width:600px){.phone-attributes-grid{gap:16px 12px}.phone-attribute-toggle{grid-column:1/-1}}
.classification-field{min-width:0}.classification-field>small{color:var(--muted);margin-top:6px;font-size:12px;display:block}.classification-field>.field-error{color:var(--danger)}.classification-actions{flex-wrap:wrap;align-items:center;gap:6px 14px;margin-top:7px;font-size:12px;display:flex}.classification-actions a{color:var(--primary)}.classification-actions button{min-height:24px;color:var(--secondary);background:0 0;border:0;padding:0;font-size:12px}.classification-actions button:hover{text-decoration:underline}.classification-actions .sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}
.product-taxonomy-name{overflow-wrap:anywhere;align-items:center;gap:12px;min-width:170px;display:flex}.product-taxonomy-thumbnail{border:1px solid var(--line);background:var(--surface-soft);width:42px;height:42px;color:var(--muted);border-radius:5px;flex:0 0 42px;justify-content:center;align-items:center;display:inline-flex;overflow:hidden}.product-taxonomy-thumbnail img,.product-taxonomy-preview img{object-fit:contain;background:var(--surface);width:100%;height:100%;display:block}.product-taxonomy-description{white-space:pre-wrap;overflow-wrap:anywhere;min-width:150px;max-width:40rem;line-height:1.5;display:block}.product-taxonomy-status{white-space:nowrap;border-radius:4px;padding:4px 7px;font-size:10px;display:inline-block}.product-taxonomy-status.active{color:var(--success);background:var(--success-soft)}.product-taxonomy-status.inactive{color:var(--secondary);background:var(--hover)}.product-taxonomy-saved{color:var(--success);margin:12px 0;font-size:12px}.product-taxonomy-help{color:var(--muted);margin:12px 0;font-size:12px;line-height:1.5}.product-taxonomy-form>.field{margin-bottom:18px}.product-taxonomy-form textarea{resize:vertical;min-height:94px}.product-taxonomy-photo{border-bottom:1px solid var(--line);align-items:center;gap:20px;margin-bottom:16px;padding:16px 0 22px;display:flex}.product-taxonomy-preview{border:1px solid var(--line);border-radius:6px;flex-shrink:0;width:108px;height:108px;overflow:hidden}.product-taxonomy-preview>span{height:100%;color:var(--muted);background:var(--surface-soft);flex-direction:column;justify-content:center;align-items:center;gap:8px;font-size:11px;display:flex}.product-taxonomy-photo-controls{flex:1;min-width:0}.product-taxonomy-photo-controls input[type=file]{padding:6px;font-size:12px}.product-taxonomy-photo-controls input[type=file]::file-selector-button{border:1px solid var(--line);color:var(--ink);background:var(--surface-soft);cursor:pointer;border-radius:4px;margin-right:10px;padding:6px 10px}.product-taxonomy-photo-controls>button{min-height:30px;margin-top:5px;font-size:11px}.product-taxonomy-active{cursor:pointer;align-items:center;gap:9px;font-size:12px;display:inline-flex}@media (max-width:600px){.product-taxonomy .toolbar>.search{min-width:100%}.product-taxonomy .toolbar>select{width:100%;max-width:none}.product-taxonomy-photo{flex-direction:column;align-items:flex-start;gap:12px}.product-taxonomy-photo-controls{width:100%}}
.identifier-input-control{width:100%;min-width:0}.identifier-input-control input{font-variant-numeric:tabular-nums;letter-spacing:.025em;min-width:0}.identifier-input-hint{color:var(--muted);margin-top:5px;font-size:12px;line-height:1.5;display:block}.unit-identity{text-align:left;gap:4px;min-width:0;font-size:13px;line-height:1.5;display:grid}.unit-identity span{overflow-wrap:anywhere;white-space:normal;display:block}.unit-identity b{color:var(--muted);margin-right:5px;font-weight:400}.unit-identity code{color:inherit;font-variant-numeric:tabular-nums;letter-spacing:.025em;font-family:inherit}.unit-picker-trigger{white-space:normal;text-align:left;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:46px;padding:10px 12px;display:flex}.unit-picker-trigger>span:last-child{color:var(--blue);flex-shrink:0;font-size:12px}.unit-picker-results{gap:8px;max-height:min(50dvh,430px);margin:14px 0;display:grid;overflow-y:auto}.unit-picker-results>button{text-align:left;white-space:normal;justify-content:space-between;gap:16px;width:100%;padding:14px;display:flex}.unit-picker-results>button[aria-pressed=true]{border-color:var(--blue);background:var(--info-soft)}.unit-picker-results>button>span:last-child{color:var(--blue);font-size:13px}.unit-picker-results button:disabled>span:last-child{color:var(--muted)}.unit-picker-results>button:disabled{opacity:.7}.unit-search{gap:8px;margin-block:12px;display:flex}.unit-search input{flex:1;min-width:0}.unit-match-note{color:var(--muted);margin-top:5px;font-size:12px;display:block}.product-identifier-matches{gap:10px;margin-top:8px;display:grid}.entry-product-results [role=option] .unit-identity{margin-top:8px;font-size:13px}.entry-product-results [role=option] .unit-identity small{font-size:12px}.entry-product-results [role=option] .unit-identity b{font-size:inherit;display:inline}.entry-product-results [role=option] .unit-match-note{font-size:12px}.entry-product-results [role=option]:disabled{opacity:.7}@media (max-width:760px){.unit-identity{font-size:15px}.identifier-input-hint{font-size:13px}.unit-picker-trigger{min-height:54px}.unit-search input{min-height:52px;font-size:16px}}
.product-spreadsheet-dialog{width:min(900px,100vw - 48px);min-width:0;max-width:100%}.product-spreadsheet-section,.product-spreadsheet-preview{border-bottom:1px solid var(--line);margin-bottom:18px;padding:0 0 18px}.product-spreadsheet-section h3,.product-spreadsheet-preview h3{margin:0 0 6px;font-size:14px}.product-spreadsheet-section p,.product-spreadsheet-note{color:var(--muted);margin:0 0 14px;font-size:12px;line-height:1.55}.product-spreadsheet-download{align-items:flex-end;gap:10px;display:flex}.product-spreadsheet-download .field{flex:1;margin:0}.product-spreadsheet-section input[type=file]{max-width:100%}.product-spreadsheet-totals{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0;display:grid}.product-spreadsheet-totals span{background:var(--surface-soft);border:1px solid var(--line);border-radius:5px;padding:10px;font-size:11px}.product-spreadsheet-totals strong{font-size:18px;display:block}.product-spreadsheet-totals .has-errors{color:var(--danger);background:var(--danger-soft)}.product-spreadsheet-rows{gap:10px;display:grid}.product-spreadsheet-row{border:1px solid var(--line);border-radius:6px;min-width:0;padding:12px}.product-spreadsheet-row.is-error{border-color:var(--danger)}.product-spreadsheet-row header{justify-content:space-between;gap:12px;font-size:12px;display:flex}.product-spreadsheet-row header span{color:var(--muted)}.product-spreadsheet-row header strong{overflow-wrap:anywhere;min-width:0}.product-spreadsheet-line{color:var(--muted);margin-top:4px;font-weight:400;display:block}.product-spreadsheet-row dl{margin:10px 0 0}.product-spreadsheet-row dl>div{border-top:1px solid var(--line);grid-template-columns:minmax(110px,.6fr) minmax(0,2fr);gap:12px;padding:8px 0;font-size:12px;display:grid}.product-spreadsheet-row dt{font-weight:600}.product-spreadsheet-row dd{overflow-wrap:anywhere;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;margin:0;display:grid}.product-spreadsheet-row dd b{color:var(--muted)}.product-spreadsheet-row-error,.product-spreadsheet-blocked{background:var(--danger-soft);color:var(--danger);overflow-wrap:anywhere;border-radius:5px;margin:10px 0 0;padding:10px;font-size:12px}.product-spreadsheet-pagination,.product-spreadsheet-dialog>footer{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;margin-top:14px;display:flex}.product-spreadsheet-dialog>footer{justify-content:space-between}@media (max-width:650px){.product-spreadsheet-dialog{width:100%}.product-spreadsheet-download{flex-direction:column;align-items:stretch}.product-spreadsheet-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.product-spreadsheet-row dl>div{grid-template-columns:1fr;gap:5px}.product-spreadsheet-dialog>footer{flex-direction:column-reverse;align-items:stretch}}
.product-bulk-dialog{font-size:13px}.product-bulk-dialog .product-bulk-note{color:var(--muted);margin:0 0 16px;line-height:1.6}.product-bulk-selection{border:1px solid var(--line);border-radius:6px;margin:0 0 20px}.product-bulk-selection summary{cursor:pointer;padding:12px 14px;font-weight:600}.product-bulk-selection ul{max-height:230px;margin:0;padding:0 14px 12px;list-style:none;overflow:auto}.product-bulk-selection li{border-top:1px solid var(--line);justify-content:space-between;align-items:baseline;gap:12px;padding:8px 0;display:flex}.product-bulk-selection li strong{overflow-wrap:anywhere;font-weight:500}.product-bulk-selection li span{color:var(--muted);flex-shrink:0;font-size:11px}.product-bulk-selection li.has-error{color:var(--danger);background:var(--danger-soft)}.product-bulk-selection li .field-error{margin-top:5px;display:block}.product-bulk-group{border:1px solid var(--line);border-radius:6px;margin:12px 0}.product-bulk-group summary{cursor:pointer;padding:14px;font-weight:600}.product-bulk-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0 14px 16px;display:grid}.product-bulk-field{flex-direction:column;gap:7px;min-width:0;display:flex}.product-bulk-field>small{color:var(--muted);font-size:11px;line-height:1.4}.product-bulk-field>.field-error{color:var(--danger)}.product-bulk-field input:disabled,.product-bulk-field select:disabled,.product-bulk-field textarea:disabled{background:var(--surface-soft)}.product-bulk-toggle{cursor:pointer;align-items:center;gap:8px;font-size:12px;display:flex}.product-bulk-toggle input[type=checkbox],.product-bulk-confirm input[type=checkbox],.product-merge-options input[type=radio],.product-select-checkbox{width:17px;height:17px;min-height:17px;accent-color:var(--blue);flex-shrink:0;padding:0}.product-bulk-field.is-enabled .product-bulk-toggle{color:var(--blue);font-weight:600}.product-bulk-review{border:1px solid var(--line);border-radius:6px;margin:14px 0 20px}.product-bulk-review>div{border-bottom:1px solid var(--line);grid-template-columns:40% 1fr;gap:16px;padding:12px 14px;display:grid}.product-bulk-review>div:last-child{border-bottom:0}.product-bulk-review dd{overflow-wrap:anywhere;white-space:pre-wrap;margin:0}.product-bulk-review dt{color:var(--muted)}.product-bulk-warning{background:var(--warning-soft);border:1px solid var(--warning-border);border-radius:6px;padding:14px;line-height:1.6}.product-bulk-confirm{cursor:pointer;align-items:flex-start;gap:10px;margin:22px 0;line-height:1.6;display:flex}.product-bulk-confirm input{margin-top:3px}.product-bulk-dialog footer{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:20px;padding-top:20px;display:flex}.product-bulk-dialog .danger{color:var(--on-accent);background:var(--danger-solid);border-color:var(--danger)}.product-merge-options{border:0;margin:0 0 18px;padding:0}.product-merge-options legend{margin-bottom:12px;font-weight:600}.product-merge-options>label{border:1px solid var(--line);cursor:pointer;border-radius:6px;align-items:center;gap:12px;margin-bottom:8px;padding:14px;display:flex}.product-merge-options>label:has(input:checked){border-color:var(--focus-border);background:var(--info-soft)}.product-merge-options>label>span:first-of-type{overflow-wrap:anywhere;flex:1;min-width:0}.product-merge-options strong{font-size:13px;font-weight:600;display:block}.product-merge-options small{color:var(--muted);margin-top:5px;display:block}.product-merge-counts{flex-wrap:wrap;gap:16px;margin:16px 0;display:flex}.product-merge-counts dt{color:var(--muted);font-size:11px}.product-merge-counts dd{margin:5px 0 0;font-weight:600}@media (max-width:650px){.product-bulk-fields{grid-template-columns:1fr}.product-bulk-review>div{grid-template-columns:1fr;gap:5px}.product-merge-options>label{flex-wrap:wrap}.product-merge-options>label>span:first-of-type{min-width:70%}.product-bulk-selection li{flex-direction:column;gap:4px}}
.column-preferences-hint{color:var(--muted);margin:0 0 14px;font-size:12px;line-height:1.5}.column-preferences-list{margin:0;padding:0;list-style:none}.column-preferences-list li{border-bottom:1px solid var(--line);align-items:center;gap:5px;padding:9px 0;display:flex}.column-preferences-list label{flex:1;align-items:center;gap:9px;min-width:0;font-size:12px;display:flex}.column-preferences-list label small{color:var(--muted);font-size:10px}.column-preferences-list input{flex-shrink:0;width:16px;height:16px;padding:0}
.product-thumbnail{vertical-align:middle;border:1px solid var(--line);background:var(--surface-soft);width:48px;min-width:48px;height:48px;color:var(--muted);border-radius:6px;flex:0 0 48px;justify-content:center;align-items:center;display:inline-flex;overflow:hidden}.product-thumbnail img{object-fit:contain;width:48px;height:48px;display:block}.product-images-toggle{white-space:nowrap;justify-content:center;align-items:center;gap:6px;display:inline-flex}.product-with-thumbnail{align-items:center;gap:10px;min-width:0;display:flex}.product-with-thumbnail>:last-child{min-width:0}@media print{.product-thumbnail,.product-images-toggle{display:none!important}}
.products-page .toolbar .search{flex:1}.product-filters{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:8px;display:grid}.product-filter-note{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin:8px 0 16px;display:flex}.product-filter-note button{min-height:30px;font-size:11px}.product-name-link{color:var(--blue);overflow-wrap:anywhere;min-width:150px;max-width:380px;text-decoration:none;display:inline-block}.product-name-link:hover{text-decoration:underline}.product-row-actions{align-items:center;gap:10px;display:flex}.product-status{white-space:nowrap;border-radius:4px;padding:4px 7px;font-size:10px;display:inline-block}.product-status.ACTIVE{color:var(--success);background:var(--success-soft)}.product-status.INACTIVE{color:var(--secondary);background:var(--hover)}.product-status.DELETED{color:var(--danger);background:var(--danger-soft)}.product-status.MERGED{color:var(--blue);background:var(--info-soft)}.product-selection-tools{align-items:center;gap:14px;margin:16px 0;display:flex}.product-selection-tools small{color:var(--muted);font-size:11px}.product-bulk-toolbar{border:1px solid var(--control-border);background:var(--surface-soft);border-radius:6px;margin-bottom:14px;padding:14px 16px}.product-bulk-toolbar-heading{justify-content:space-between;align-items:center;gap:12px;font-size:13px;display:flex}.product-bulk-toolbar-heading button{min-height:28px;font-size:11px}.product-bulk-toolbar-actions{flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0;display:flex}.product-selected-names{font-size:12px}.product-selected-names summary{cursor:pointer;color:var(--blue)}.product-selected-names ul{max-height:220px;margin:10px 0 0;padding:0;list-style:none;overflow:auto}.product-selected-names li{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:7px 0;display:flex}.product-selected-names li button{min-height:28px;font-size:10px}.product-selected-names li span{overflow-wrap:anywhere}@media (max-width:650px){.product-selection-tools{flex-direction:column;align-items:flex-start;gap:8px}.product-bulk-toolbar{padding:12px}}.product-pagination{color:var(--muted);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;padding:14px 0;font-size:12px;display:flex}.product-pagination>small{margin-right:auto}.product-back{color:var(--blue);align-items:center;gap:7px;margin-bottom:20px;font-size:12px;text-decoration:none;display:inline-flex}.product-detail .page-title h1{overflow-wrap:anywhere}.product-detail-tabs{overflow-x:auto}.product-detail-tabs button{white-space:nowrap;flex-shrink:0}.product-detail-form{background:var(--surface);border:1px solid var(--line);border-radius:7px;margin-top:20px;padding:24px}.product-detail-form fieldset{border:0;min-width:0;margin:0;padding:0}.product-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-detail-form .form-grid{margin-bottom:22px}.product-detail-form textarea{resize:vertical}.product-detail-form fieldset:disabled input:not([type=file]),.product-detail-form fieldset:disabled select,.product-detail-form fieldset:disabled textarea{opacity:1;color:var(--secondary);background:var(--surface-soft)}.product-detail-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;margin-top:24px;padding-top:20px;display:flex}.product-detail-footer small{color:var(--muted)}.product-section-note{color:var(--muted);margin:0 0 22px;font-size:12px;line-height:1.6}.product-saved{color:var(--success);margin:12px 0;font-size:12px}.product-notice{background:var(--warning-soft);border:1px solid var(--warning-border);border-radius:6px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding:14px 16px;font-size:12px;display:flex}.product-photo{align-items:center;gap:20px;padding:22px 0 0;display:flex}.product-photo-preview{border:1px solid var(--line);border-radius:6px;flex-shrink:0;width:120px;height:120px;overflow:hidden}.product-photo-preview img{object-fit:contain;width:100%;height:100%;display:block}.product-photo-preview>span{height:100%;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:8px;font-size:11px;display:flex}.product-photo-controls{flex:1;min-width:0}.product-photo-controls input[type=file]{padding:6px;font-size:12px}.product-photo-controls button{margin-top:8px}.product-fiscal-group{border:1px solid var(--line);border-radius:5px;margin:12px 0}.product-fiscal-group summary{cursor:pointer;padding:15px;font-size:13px;font-weight:600}.product-fiscal-group .form-grid{margin:0;padding:6px 15px 15px}.product-detail-form .product-fiscal-group+.field{margin-top:22px}.product-cost-summary{grid-template-columns:repeat(3,1fr);gap:18px;margin:0 0 24px;display:grid}.product-cost-summary>div{border:1px solid var(--line);border-radius:5px;padding:16px}.product-cost-summary dt{color:var(--muted);font-size:12px}.product-cost-summary dd{margin:8px 0 0;font-size:21px;font-weight:600}.product-cost-summary small{color:var(--muted);font-size:11px}.product-history .table-wrap{border:1px solid var(--line)}@media (max-width:1100px){.product-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.product-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:650px){.product-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.product-detail-grid,.product-cost-summary{grid-template-columns:1fr}.product-detail-form{padding:16px}.product-photo{flex-direction:column;align-items:flex-start}.product-photo-controls{width:100%}.product-detail-footer{flex-direction:column;align-items:stretch}.product-notice{flex-direction:column;align-items:flex-start}.product-detail-tabs{gap:20px}}
.movement-unit-codes{overflow-wrap:anywhere;gap:4px;display:grid}.movement-unit-codes code{font-variant-numeric:tabular-nums;font-family:inherit}button.movement-identifiers-open{color:var(--blue);white-space:normal;text-align:left;box-shadow:none;background:0 0;border:0;padding:8px 0}button.movement-identifiers-open:hover{text-decoration:underline}body:has(.movement-identifiers-dialog){overflow:hidden}.movement-identifiers-dialog>.overlay{z-index:200;overscroll-behavior:contain}.movement-identifiers-dialog .modal{width:760px}.movement-identifiers-context{overflow-wrap:anywhere;gap:5px;margin-bottom:18px;display:grid}.movement-identifiers-context span,.movement-identifiers-count{color:var(--muted);font-size:13px}.movement-identifiers-dialog .search{width:100%;min-width:0;max-width:none}.movement-identifiers-count{margin:14px 0 8px}.movement-identifiers-list{margin:0;padding:0;list-style:none}.movement-identifiers-list>li{border-top:1px solid var(--line);grid-template-columns:32px minmax(0,1fr);align-items:center;gap:16px;padding:12px 0;display:grid}.movement-identifier-number{color:var(--muted);text-align:center;font-size:13px}.movement-identifiers-list dl{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px 20px;margin:0;display:grid}.movement-identifiers-list dl>div{align-items:baseline;gap:8px;min-width:0;display:flex}.movement-identifiers-list dt{color:var(--muted);flex-shrink:0;font-size:12px}.movement-identifiers-list dd{color:var(--ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;margin:0;font-size:15px}.movement-identifiers-empty{color:var(--muted);padding:24px 0}.movement-identifiers-dialog .modal .movement-identifiers-pagination{justify-content:space-between;align-items:center;margin-top:8px}.movement-identifiers-pagination>span{color:var(--muted);font-size:13px}.movement-identifiers-pagination nav{justify-content:space-between;align-items:center;gap:12px;display:flex}.movement-identifiers-pagination nav>span{white-space:nowrap;font-size:13px}.movement-identifiers-pagination button{min-height:40px}@media (max-width:700px){.movement-identifiers-list>li{gap:10px}.movement-identifiers-list dd{font-size:16px}.movement-identifiers-pagination nav{width:100%}}
.product-labels-page{max-width:1500px;margin:0 auto}.entry-label-source{overflow-wrap:anywhere;gap:14px;display:grid}.entry-label-source p{margin:0;line-height:1.6}.entry-label-source ul{margin:0;padding-left:18px}.entry-label-source li+li{margin-top:8px}.entry-label-source select{width:100%;min-height:44px}.entry-label-source>.button{justify-self:start}.niimbot-panel{border:1px solid var(--line);border-radius:8px;margin-bottom:20px;padding:18px}.niimbot-heading{align-items:flex-start;gap:12px;display:flex}.niimbot-heading>div{flex:1;min-width:0}.niimbot-heading h3{margin:0 0 6px;font-size:16px}.niimbot-heading p{color:var(--muted);margin:0;line-height:1.5}.niimbot-status{color:var(--muted);white-space:nowrap;font-size:12px}.niimbot-status.connected{color:var(--blue)}.niimbot-controls{flex-wrap:wrap;align-items:center;gap:18px;margin-top:16px;display:flex}.niimbot-controls>.field{width:240px;max-width:100%}.niimbot-controls .actions{flex-wrap:wrap;gap:8px}.niimbot-progress{margin-bottom:0;font-weight:600;line-height:1.6}.label-formats label:has(input:disabled){opacity:.5;cursor:not-allowed}@media (max-width:680px){.niimbot-panel{padding:14px}.niimbot-heading{flex-wrap:wrap}.niimbot-status{flex-basis:100%}.niimbot-controls,.niimbot-controls .actions,.niimbot-controls>.field{width:100%}.niimbot-controls .actions{grid-template-columns:1fr;display:grid}.niimbot-controls button,.niimbot-controls select{min-height:46px;font-size:16px}}.label-builder{border:0;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px;min-width:0;margin:0;padding:0;display:grid}.label-panel{border:1px solid var(--line);background:var(--surface);border-radius:8px;min-width:0;padding:22px}.label-panel-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.label-panel-heading h2{margin:0;font-size:16px}.label-panel-heading>span,.label-hint,.label-print-help{color:var(--muted);font-size:12px;line-height:1.6}.label-panel-heading p{color:var(--muted);margin:6px 0 0}.label-search{border:1px solid var(--line);color:var(--muted);border-radius:6px;align-items:center;gap:8px;padding:0 10px;display:flex}.label-search:focus-within{outline:2px solid var(--blue);outline-offset:2px}.label-search input{background:0 0;border:0;min-width:0;padding-left:0}.label-search input:focus{box-shadow:none;outline:none}.label-search-tools{flex-wrap:wrap;justify-content:space-between;gap:10px;margin:13px 0;display:flex}.label-search-options{flex-wrap:wrap;align-items:center;gap:8px 14px;display:flex}.label-product-thumbnail{flex:0 0 48px}.label-check{cursor:pointer;align-items:center;gap:8px;font-size:12px;display:flex}.product-labels-page input[type=checkbox],.product-labels-page input[type=radio]{width:16px;height:16px;accent-color:var(--blue);flex:0 0 16px;margin:0;padding:0}.label-search-tools small{color:var(--muted)}.label-catalog{scrollbar-gutter:stable;border-block:1px solid var(--line);max-height:335px;overflow-y:auto}.label-catalog-row{border-bottom:1px solid var(--line);cursor:pointer;align-items:center;gap:12px;padding:13px 4px;display:flex}.label-catalog-row:last-child{border:0}.label-catalog-row:hover{background:var(--surface-soft)}.label-catalog-row:has(input:checked){background:var(--surface-soft)}.label-catalog-row>span:not(.product-thumbnail){flex:1;min-width:0}.label-catalog-row strong,.label-selected-row strong{overflow-wrap:anywhere;font-size:13px;display:block}.label-catalog-row small,.label-selected-row small{color:var(--muted);overflow-wrap:anywhere;margin-top:5px;display:block}.label-catalog-row b{white-space:nowrap;font-size:12px}.label-device-options{border-left:2px solid var(--line);margin:0 4px 10px 26px;padding-left:12px}.label-device-options>small{color:var(--muted);font-size:11px}.label-device-row{padding-block:9px}.label-selected-row .field{max-width:100%}.label-catalog-footer,.label-catalog-footer>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.label-catalog-footer{padding-top:12px}.label-formats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px;display:grid}.label-formats label{border:1px solid var(--line);cursor:pointer;border-radius:6px;padding:12px}.label-formats label.active{border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue);background:var(--surface-soft)}.label-formats strong{margin-top:10px;font-size:13px;display:block}.label-formats small{color:var(--muted);margin-top:6px;font-size:11px;display:block}.label-fields{border:0;border-top:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 12px;margin:20px 0 0;padding:15px 0 0;display:grid}.label-fields legend{padding:0 8px 0 0;font-size:12px;font-weight:600}.label-selection{grid-column:1/-1}.label-selected-list{max-height:420px;overflow-y:auto}.label-selected-row{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) 95px 36px;align-items:center;gap:18px;padding:12px 0;display:grid}.label-selected-row .field{margin:0}.label-selected-row .field>span{font-size:11px}.label-selected-row input[aria-invalid=true]{border-color:#d44747}.label-selected-row .field-error,.label-selection-footer .field-error{color:#d44747}.label-selection-footer{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding-top:18px;display:flex}.label-selection-footer small{color:var(--muted);margin-top:5px;display:block}.label-empty{color:var(--muted);text-align:center;padding:24px 10px;line-height:1.6}.label-empty svg{margin:0 auto}.label-preview{margin-top:20px}.label-preview .actions{flex-wrap:wrap}.label-preview .actions button{align-items:center;gap:8px;display:inline-flex}.label-preview-stage{background:var(--surface-soft);border-radius:6px;justify-content:center;padding:28px;display:flex}.label-paper{color:#000;background:#fff;position:relative;overflow:hidden;box-shadow:0 2px 12px #0002}.label-artwork{object-fit:fill;max-width:none;margin:0;padding:0;display:block;position:absolute}.label-cut-line{outline-offset:-.1mm;outline:.2mm solid #aaa}.label-preview-pagination{justify-content:center;align-items:center;gap:14px;margin-top:18px;font-size:12px;display:flex}#product-label-print-root{display:none}@media (max-width:1100px){.label-builder{grid-template-columns:minmax(0,1fr)}}@media (max-width:600px){.label-panel{padding:16px}.label-formats label{padding:9px}.label-formats small{line-height:1.5}.label-selected-row{grid-template-columns:minmax(0,1fr) 70px 30px;gap:10px}.label-catalog-row{flex-wrap:wrap}.label-catalog-row>span:not(.product-thumbnail){flex-basis:calc(100% - 40px)}.label-catalog-row:has(>.product-thumbnail)>span:not(.product-thumbnail){flex-basis:calc(100% - 88px)}.label-catalog-row b{margin-left:28px}.label-preview-stage{padding:12px}.label-preview-pagination{flex-wrap:wrap;gap:8px}.label-selection-footer>button{width:100%}}@media print{body:has(#product-label-print-root){background:#fff!important;margin:0!important;padding:0!important}body:has(#product-label-print-root)>:not(#product-label-print-root){display:none!important}#product-label-print-root,#product-label-print-root *{visibility:visible!important}#product-label-print-root{margin:0!important;padding:0!important;display:block!important}#product-label-print-root .label-paper-print{break-inside:avoid;break-after:page;border:0;margin:0;padding:0;box-shadow:none!important}#product-label-print-root .label-paper-print:last-child{break-after:auto}}
.quick-sale-product-overlay{z-index:260}.quick-sale-product{width:690px}.quick-sale-product fieldset{border:0;min-width:0;margin:0;padding:0}.quick-sale-product-notice{color:var(--secondary);margin:-8px 0 22px;font-size:12px;line-height:1.65}.quick-sale-product-hint{color:var(--secondary);margin:14px 0 0;font-size:12px;line-height:1.6}.quick-sale-product-total{border-left:2px solid var(--line);flex-direction:column;justify-content:center;gap:7px;padding-left:14px;display:flex}.quick-sale-product-total span{color:var(--muted);font-size:11px}.quick-sale-product-total strong{font-size:17px;font-weight:600}.quick-sale-product-units{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.quick-sale-product-units h3{margin:0 0 7px;font-size:13px}.quick-sale-product-units>p{color:var(--muted);margin:0 0 16px;font-size:12px;line-height:1.5}.quick-sale-product-unit+.quick-sale-product-unit{border-top:1px solid var(--line);margin-top:18px;padding-top:18px}.quick-sale-product-unit>strong{margin-bottom:12px;font-size:12px;font-weight:600;display:block}.quick-sale-product-details{border-top:1px solid var(--line);margin-top:22px}.quick-sale-product-details summary{cursor:pointer;color:var(--blue);padding:17px 0;font-size:12px}.quick-sale-product-confirmed{border-left:3px solid var(--success);color:var(--success);background:var(--surface-soft);margin:18px 0 0;padding:9px 12px;line-height:1.6}@media (max-width:600px){.quick-sale-product .form-grid{grid-template-columns:1fr}.quick-sale-product footer{flex-wrap:wrap}.quick-sale-product footer .primary{flex:1}}
.entry-items-table-wrap{border:1px solid var(--line);border-radius:6px;width:100%;min-width:0;margin:22px 0 14px;overflow-x:auto}.entry-items-image-control{border-bottom:1px solid var(--line);justify-content:flex-end;padding:6px 10px;display:flex}.entry-items-image-control button{min-height:36px}.entry-items-table{table-layout:fixed;min-width:825px;font-size:12px}.entry-items-table th{color:var(--muted);background:var(--surface-soft);padding:12px 10px;font-size:10px}.entry-items-table th:first-child{text-align:center;width:40px}.entry-items-table th:nth-child(2){width:auto}.entry-items-table th:nth-child(3){width:105px}.entry-items-table th:nth-child(4){width:38px}.entry-items-table th:nth-child(5){width:71px}.entry-items-table th:nth-child(6){width:124px}.entry-items-table th:nth-child(7){text-align:right;width:105px}.entry-items-table th:nth-child(8){text-align:right;width:75px}.entry-items-table td{vertical-align:top;border-bottom:1px solid var(--line);padding:14px 10px}.entry-items-table .entry-number,.entry-items-table .entry-unit{color:var(--muted);padding-top:25px;font-size:11px}.entry-items-table .entry-number{text-align:center}.entry-items-table .entry-sku{overflow-wrap:anywhere;padding-top:24px;font-size:11px}.entry-sku small{color:var(--muted);margin-top:7px;line-height:1.5;display:block}.entry-edited-product{color:var(--muted);margin-top:8px;line-height:1.5;display:block}.entry-import-source-line{color:var(--muted);grid-column:1/-1}.entry-items-table .entry-total{text-align:right;white-space:nowrap;color:var(--ink);padding-top:24px;font-size:12px}.entry-items-table .entry-actions{white-space:nowrap;text-align:right;padding-top:18px;padding-left:0;padding-right:7px}.entry-items-table .entry-actions .icon{padding:6px;display:inline-flex}.entry-quantity input,.entry-cost input{text-align:right;font-variant-numeric:tabular-nums;width:100%;min-width:0;min-height:37px;padding:8px 6px;font-size:12px}.entry-items-table tfoot td{border-top:1px solid var(--line);background:var(--surface-soft);color:var(--muted);border-bottom:0;padding:14px 12px;font-size:11px}.entry-items-table tfoot td:last-child{color:var(--ink);text-align:right;font-size:13px;font-weight:600}.entry-product-picker{border:1px solid var(--line);color:var(--muted);background:var(--surface);border-radius:5px;align-items:center;gap:7px;min-height:37px;padding:0 8px;display:flex}.entry-product-picker:focus-within{border-color:var(--info-border);box-shadow:0 0 0 3px var(--focus-ring)}.entry-product-picker>svg{flex-shrink:0}.entry-product-picker input{width:100%;min-width:0;box-shadow:none;background:0 0;border:0;padding:8px 0;font-size:12px}.entry-product-picker input:focus{box-shadow:none}.entry-product-picker:has([aria-invalid=true]){border-color:var(--danger-border)}.entry-product-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:2px 10px;margin-top:6px;font-size:10px;display:flex}.entry-selected-thumbnail{margin-right:2px}.entry-linked,.entry-new{overflow-wrap:anywhere;align-items:center;gap:4px;line-height:1.55;display:inline-flex}.entry-linked{color:var(--success)}.entry-new{color:var(--blue)}.entry-product-meta .entry-identifiers-button{min-height:22px;color:var(--blue);background:0 0;border:0;padding:0;font-size:10px}.entry-pending-create{color:var(--blue);background:0 0;border:0;align-items:center;gap:4px;padding:6px 0 0;font-size:11px;display:inline-flex}.entry-dialog .entry-field-error{color:var(--danger);line-height:1.4}.entry-dialog input[aria-invalid=true],.entry-items-table input[aria-invalid=true]{border-color:var(--danger);background:var(--danger-soft)}.entry-product-results{z-index:240;border:1px solid var(--line);background:var(--surface);box-shadow:0 12px 32px var(--shadow);border-radius:6px;animation:.12s ease-out entry-reveal;position:fixed;overflow:auto}.entry-product-results [role=option]{border:0;border-bottom:1px solid var(--line);text-align:left;white-space:normal;border-radius:0;justify-content:space-between;align-items:flex-start;gap:12px;width:100%;padding:12px 13px;font-weight:400;display:flex}.entry-product-results [role=option] .entry-option-text{flex:1;min-width:0}.entry-option-thumbnail{flex:0 0 48px}.entry-product-results [role=option] strong{color:var(--ink);overflow-wrap:anywhere;font-size:12px;font-weight:550;display:block}.entry-product-results [role=option] .entry-option-variant{color:var(--blue);margin-top:4px;font-size:11px;display:block}.entry-product-results [role=option] small{color:var(--muted);overflow-wrap:anywhere;margin-top:5px;font-size:10px;display:block}.entry-product-results [role=option][aria-selected=true]{background:var(--info-soft)}.entry-option-control{color:var(--muted);flex-shrink:0;padding-top:2px;font-size:10px}.entry-product-results .entry-product-create{border:0;border-top:1px solid var(--line);background:var(--surface-soft);width:100%;color:var(--blue);border-radius:0;justify-content:flex-start;padding:12px 13px;font-size:12px;position:sticky;bottom:0}.entry-product-create:hover,.entry-product-results .entry-product-create[data-active=true]{background:var(--info-soft)}.entry-search-status{color:var(--muted);margin:0;padding:16px 13px;font-size:12px;line-height:1.6}.entry-search-status button{margin-top:8px;display:flex}.entry-source{overflow-wrap:anywhere;flex-direction:column;gap:3px;margin-bottom:10px;line-height:1.5;display:flex}.entry-source strong{color:var(--ink);font-size:12px;font-weight:550}.entry-source>span{color:var(--muted);font-size:11px}.entry-source small{color:var(--muted);margin:1px 0 0;font-size:10px}.entry-import-actions{flex-wrap:wrap;gap:3px 12px;margin-top:7px;display:flex}.entry-import-actions button{min-height:25px;color:var(--blue);white-space:normal;text-align:left;background:0 0;border:0;border-radius:0;justify-content:flex-start;padding:2px 0;font-size:10px}.entry-import-actions button:hover{background:0 0;text-decoration:underline}.entry-items-table .entry-error-row td{padding:0 10px 12px 50px}.entry-inline-error{color:var(--danger);font-size:11px;line-height:1.6}.entry-inline-error>button{margin-left:8px}.entry-empty{text-align:center;height:90px;color:var(--muted)}.entry-dialog-overlay{z-index:250;background:var(--overlay);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);justify-content:center;align-items:center;padding:24px;animation:.14s ease-out entry-reveal;display:flex;position:fixed;inset:0}.entry-dialog{background:var(--surface);width:770px;max-width:100%;max-height:92vh;box-shadow:0 25px 100px var(--shadow);border-radius:8px;padding:25px;animation:.14s ease-out entry-dialog-in;overflow-y:auto}.entry-dialog>header{justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px;display:flex}.entry-dialog h2{margin:0;font-size:18px;font-weight:600}.entry-dialog-hint{color:var(--muted);margin:0 0 20px;font-size:11px;line-height:1.65}.entry-product-form{gap:17px 20px}.entry-product-more{border-top:1px solid var(--line);grid-column:1/-1;padding-top:14px}.entry-product-more>summary{width:fit-content;color:var(--blue);cursor:pointer;font-size:12px}.entry-product-more>summary:focus-visible{outline:2px solid var(--blue);outline-offset:4px}.entry-product-more>.form-grid{margin-top:18px}.entry-dialog footer{border-top:1px solid var(--line);justify-content:flex-end;gap:9px;margin-top:24px;padding-top:18px;display:flex}.entry-detail-product{color:var(--muted);flex-direction:column;gap:7px;font-size:11px;line-height:1.5;display:flex}.entry-detail-product strong{color:var(--ink);font-size:14px;font-weight:550}.entry-detail-values{margin-top:22px}.entry-units-section{border-top:1px solid var(--line);margin-top:24px;padding-top:21px}.entry-units-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:8px;display:flex}.entry-units-heading h3{margin:0;font-size:13px}.entry-units-heading>span{color:var(--muted);font-size:11px}.entry-unit-fields{border-top:1px solid var(--line);gap:12px;margin-top:15px;padding-top:15px;display:flex}.entry-unit-number{width:19px;color:var(--muted);flex-shrink:0;padding-top:29px;font-size:11px}.entry-unit-inputs{flex:1;grid-template-columns:1fr 1fr 1fr;gap:12px;min-width:0;display:grid}.entry-unit-inputs.serial{grid-template-columns:1fr}.entry-unit-inputs.with-battery{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-unit-inputs input{font-variant-numeric:tabular-nums;width:100%}.entry-unit-existing{color:var(--muted);grid-column:1/-1;justify-content:space-between;align-items:center;gap:10px;font-size:11px;display:flex}.entry-unit-existing button{font-size:10px}.entry-units-pagination{color:var(--muted);justify-content:flex-end;align-items:center;gap:12px;margin-top:20px;font-size:11px;display:flex}@keyframes entry-reveal{0%{opacity:0}to{opacity:1}}@keyframes entry-dialog-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media (max-width:760px){.entry-items-table{min-width:790px}.entry-items-table th:nth-child(3){width:88px}.entry-items-table th:nth-child(6){width:113px}.entry-items-table th:nth-child(7){width:95px}.entry-dialog-overlay{padding:10px}.entry-dialog{max-height:96vh;padding:20px 16px}.entry-unit-inputs,.entry-unit-inputs.with-battery{grid-template-columns:1fr;gap:12px}.entry-unit-fields{gap:9px}.entry-unit-number{padding-top:28px}.entry-dialog .form-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.entry-product-results,.entry-dialog-overlay,.entry-dialog{animation:none}}.entry-import-metadata{min-width:0;margin:16px 0}.entry-import-metadata summary{cursor:pointer;padding:10px 0;font-weight:600}.entry-import-metadata dl{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px;display:grid}.entry-import-metadata dt{font-weight:600}.entry-import-metadata dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 0}.entry-matches{border:1px solid var(--border);border-left:3px solid var(--primary,#3474db);background:var(--surface);border-radius:8px;margin:16px 0;padding:16px;font-size:13px}.entry-matches p,.entry-received-codes p{color:var(--muted);margin:6px 0 12px}.entry-match{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:12px;padding:12px 0;display:flex}.entry-match>div{flex:220px;min-width:0}.entry-match strong,.entry-match small,.entry-match-codes{overflow-wrap:anywhere;display:block}.entry-match small{color:var(--muted);margin-top:4px}.entry-match-codes{margin-top:8px}.entry-match button{white-space:normal;justify-content:center;align-items:center;gap:8px;min-height:44px;display:inline-flex}.entry-received-codes{overflow-wrap:anywhere;margin:12px 0;font-size:13px}.entry-received-codes summary{cursor:pointer;color:var(--primary,#3474db);padding:8px 0}.entry-received-codes .barcode-input{flex-wrap:wrap}.entry-received-codes .barcode-input input{flex:1;min-width:100px}.entry-received-codes small{color:var(--muted);margin-top:8px;display:block}.entry-match-error{margin:12px 0;font-size:13px}@media (max-width:760px){.entry-match button{width:100%}}
.supplier-picker{min-width:0;position:relative}.supplier-picker>.field{margin-bottom:0}.supplier-picker-input{align-items:center;display:flex;position:relative}.supplier-picker-input>svg{color:var(--muted);pointer-events:none;position:absolute;left:11px}.supplier-picker-input>input{width:100%;padding-left:35px;padding-right:36px}.supplier-picker-input>button{position:absolute;right:3px}.supplier-picker>small{color:var(--muted);margin-top:5px;font-size:11px;line-height:1.5;display:block}.supplier-picker>small.field-error{color:var(--danger)}.supplier-picker-create{margin-top:8px;font-size:12px}.supplier-picker-popover{z-index:35;background:var(--surface);border:1px solid var(--line);box-shadow:0 8px 20px var(--shadow);border-radius:5px;position:absolute;top:62px;left:0;right:0}.supplier-picker-results{max-height:260px;overflow-y:auto}.supplier-picker-results [role=option]{border:0;border-bottom:1px solid var(--line);text-align:left;border-radius:0;flex-direction:column;align-items:flex-start;width:100%;padding:10px 12px;display:flex}.supplier-picker-results [role=option][aria-selected=true]{background:var(--info-soft)}.supplier-picker-results small{color:var(--muted);font-size:11px}.supplier-picker-results p{margin:12px;font-size:12px}.supplier-picker-footer{border-top:1px solid var(--line);padding:10px 12px}.supplier-picker-footer .supplier-picker-create{margin-top:0}
.entry-pricing{container:entry-pricing/inline-size}.entry-pricing>p{color:var(--muted);margin:8px 0;font-size:13px;line-height:1.6}.entry-pricing-settings{grid-template-columns:minmax(180px,1fr) minmax(140px,200px) auto;align-items:end;gap:16px;margin:24px 0;display:grid}.entry-pricing-settings .field{margin:0}.entry-pricing-settings button{min-height:40px}.entry-pricing-selection{flex-wrap:wrap;align-items:center;gap:16px;margin:18px 0;display:flex}.entry-pricing-selection>span{color:var(--muted);font-size:12px}.entry-pricing-check{align-items:center;gap:8px;font-size:13px;display:flex}.entry-pricing input[type=checkbox]{flex-shrink:0;width:18px;height:18px;min-height:18px}.entry-pricing-head,.entry-pricing-row{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr) minmax(0,.7fr) minmax(0,1fr);gap:20px;display:grid}.entry-pricing-head{color:var(--muted);border-bottom:1px solid var(--line);padding:12px 0;font-size:12px}.entry-pricing-row{border-bottom:1px solid var(--line);align-items:start;padding:22px 0}.entry-pricing-row>*{min-width:0}.entry-pricing-product{gap:12px;display:flex}.entry-pricing-product>input{margin-top:4px}.entry-pricing-product>div{overflow-wrap:anywhere;min-width:0}.entry-pricing-product strong{color:var(--ink);font-size:14px;font-weight:500}.entry-pricing-product small{color:var(--muted);margin-top:4px;font-size:12px;display:block}.entry-pricing-row .field{margin:0}.entry-pricing-row .field>span{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.entry-pricing-row input:not([type=checkbox]){font-variant-numeric:tabular-nums;width:100%;min-width:0;min-height:42px}.entry-pricing-row input[readonly]{background:var(--surface-soft);color:var(--secondary)}.entry-pricing-row .field-error{color:var(--danger)}.entry-pricing-keyboard{margin-top:18px!important}.entry-repricing-form>fieldset{border:0;min-width:0;margin:0;padding:0}.entry-repricing-form .entry-pricing{padding-top:4px}@container entry-pricing (max-width:680px){.entry-pricing-settings{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.entry-pricing-settings .field:first-child{grid-column:1/-1}.entry-pricing-settings button{white-space:normal}.entry-pricing-head{display:none}.entry-pricing-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.entry-pricing-product,.entry-pricing-row>.field:nth-child(2){grid-column:1/-1}.entry-pricing-row .field>span{clip-path:none;width:auto;height:auto;position:static;overflow:visible}.entry-pricing-row input:not([type=checkbox]){min-height:44px;font-size:16px}}
.entry-document{background:var(--surface);border:1px solid var(--border);border-radius:8px}.entry-document fieldset{border:0;min-width:0;margin:0;padding:0}.entry-document-section{border-bottom:1px solid var(--border);padding:24px}.entry-document-section h2{margin:0 0 20px;font-size:16px;font-weight:600}.entry-document-section .form-grid{margin:0}.entry-document-products{padding-top:0}.entry-document-tab{border-bottom:2px solid var(--accent);padding:19px 0 14px;display:inline-block}.entry-add-item{color:var(--accent);background:0 0;border:0;margin-top:15px;padding:5px 0}.entry-document-bottom{grid-template-columns:minmax(240px,1fr) minmax(270px,.8fr);gap:60px;display:grid}.entry-document-bottom .field+.field{margin-top:18px}.entry-document-totals{align-self:start;margin:0;padding-top:4px}.entry-document-totals>div{justify-content:space-between;align-items:baseline;gap:20px;padding:13px 0;display:flex}.entry-document-totals dt{color:var(--muted)}.entry-document-totals dd{font-variant-numeric:tabular-nums;white-space:nowrap;margin:0}.entry-document-totals .entry-document-total{border-top:1px solid var(--border);margin-top:8px;font-size:18px;font-weight:600}.entry-document-total dt{color:inherit}.entry-document-actions{justify-content:flex-end;align-items:center;gap:10px;padding:18px 24px;display:flex}.entry-document>.error{margin:20px 24px 0}.entry-back{color:var(--muted);background:0 0;border:0;margin-bottom:18px;padding:0}.entry-document-modal .modal{width:min(1160px,100vw - 40px);max-width:1160px}.entry-document-modal .entry-document{border:0;border-radius:0}.entry-document-modal .entry-document-section,.entry-document-modal .entry-document-actions{padding-left:0;padding-right:0}.entry-import-notice{margin-bottom:20px}.entry-import-notice p{margin:4px 0}.entry-import-file{color:var(--muted);overflow-wrap:anywhere;margin-top:-8px;margin-bottom:20px;font-size:13px}@media (max-width:760px){.entry-document-section{padding:18px 14px}.entry-document-products{padding-top:0}.entry-document-bottom{grid-template-columns:1fr;gap:24px}.entry-document-actions{flex-wrap:wrap;padding:14px}.entry-document-modal .modal{width:calc(100vw - 20px)}}
.stock-control{border-top:1px solid var(--border);gap:16px;margin-top:18px;padding-top:20px;display:grid}.stock-control-heading{justify-content:space-between;align-items:start;gap:16px;display:flex}.stock-control-heading h3,.stock-control-heading p,.stock-control-new-units h4{margin:0 0 6px}.stock-control-heading p,.stock-control-help{color:var(--secondary);font-size:13px}.stock-control-heading>span{white-space:nowrap}.stock-control-operations{gap:8px;display:flex}.stock-control-operations button{flex:1;justify-content:center}.stock-control-operations button[aria-pressed=true]{background:var(--info-soft);border-color:var(--focus-border);color:var(--blue)}.stock-control-units,.stock-control-device{border:1px solid var(--line);border-radius:8px;min-width:0;padding:12px}.stock-control-unit{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:10px 0;display:flex}.stock-control-unit:last-child{border-bottom:0}.stock-control-unit input{flex:none;width:17px;height:17px}.stock-control-unit>span{overflow-wrap:anywhere;flex:1}.stock-control-unit small{color:var(--secondary);display:block}.stock-control-device-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.stock-control-device-fields .field{margin:0}.stock-control-new-units{gap:12px;display:grid}.stock-control-remove{margin-top:10px;font-size:12px}.stock-control-preview{background:var(--surface-soft);border-radius:8px;justify-content:space-between;gap:12px;padding:12px;display:flex}.stock-control-preview span{color:var(--secondary);font-size:12px}.stock-control-preview strong{color:var(--ink);margin-top:4px;font-size:18px;display:block}.stock-control-actions{justify-content:end;gap:8px;display:flex}.stock-control [aria-invalid=true]{border-color:var(--danger);outline-color:var(--danger)}@media (max-width:640px){.stock-control-heading{flex-direction:column}.stock-control-device-fields{grid-template-columns:1fr}.stock-control-preview{gap:8px}}
.entry-details-modal .modal{width:min(1120px,100vw - 40px);max-width:1120px}.entry-details-modal[data-locked] .modal>header>button{opacity:.45;cursor:wait}.entry-detail-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:24px;padding:6px 0 22px;display:flex}.entry-detail-eyebrow{color:var(--muted);font-size:12px}.entry-detail-heading h3{overflow-wrap:anywhere;margin:5px 0 8px;font-size:21px}.entry-detail-heading p{color:var(--muted);margin:0}.entry-detail-heading>button{flex-shrink:0}.entry-detail-heading .row-actions{flex-wrap:wrap;justify-content:flex-end}.entry-store-move-form select{width:100%;min-height:44px}.entry-store-move-form fieldset{border:0;min-width:0;margin:0;padding:0}.entry-store-move-form footer{flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:24px;display:flex}.entry-detail-facts{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:24px 0;display:grid}.entry-detail-facts dt{color:var(--muted);margin-bottom:6px;font-size:12px}.entry-detail-facts dd{overflow-wrap:anywhere;margin:0}.entry-detail-products h3,.entry-detail-bottom h3,.entry-edit-history h3,.entry-edit-products h3{margin:0 0 14px;font-size:15px}.entry-detail-identifiers{min-width:135px;display:block}.entry-detail-identifiers small{font-variant-numeric:tabular-nums;white-space:nowrap;display:block}.entry-detail-cost-hint{color:var(--muted);margin:12px 0 0;font-size:12px;display:block}.entry-detail-bottom{grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);gap:45px;padding:24px 0;display:grid}.entry-detail-notes{white-space:pre-wrap;overflow-wrap:anywhere}.entry-edit-history{border-top:1px solid var(--border);padding:22px 0 8px}.entry-edit-history>ol{margin:0;padding:0;list-style:none}.entry-edit-history>ol>li{border-bottom:1px solid var(--border);padding:14px 0}.entry-edit-history-header{justify-content:space-between;gap:20px;font-size:13px;display:flex}.entry-edit-history-header time{color:var(--muted);white-space:nowrap}.entry-edit-history ul{color:var(--muted);margin:10px 0 0;padding-left:18px;font-size:13px}.entry-edit-history ul li{overflow-wrap:anywhere;white-space:pre-wrap;padding:4px 0}.entry-edit-history ul strong{color:var(--text);font-weight:500}.entry-edit-form fieldset{border:0;min-width:0;margin:0;padding:0}.entry-edit-context{color:var(--muted);margin:0 0 24px}.entry-edit-form>fieldset>.form-grid{margin:0 0 24px}.entry-edit-products{border-top:1px solid var(--border);padding-top:22px}.entry-edit-products>p{color:var(--muted);margin:-4px 0 16px;font-size:13px}.entry-edit-table-scroll{overflow-x:auto}.entry-edit-table{border-collapse:collapse;width:100%;min-width:770px}.entry-edit-table th{text-align:left;color:var(--muted);background:var(--surface-soft);font-size:12px}.entry-edit-table td,.entry-edit-table th{border:1px solid var(--border);vertical-align:top;padding:12px 10px}.entry-edit-table th:nth-child(2){width:115px}.entry-edit-table th:nth-child(3){width:190px}.entry-edit-table input{width:100%;min-width:0}.entry-edit-table td>small{margin-top:5px;font-size:12px;display:block}.entry-edit-table td:first-child{min-width:240px}.entry-edit-table .entry-edit-restriction{color:var(--muted);max-width:400px;line-height:1.4}.entry-edit-table input:disabled{background:var(--surface-soft);color:var(--muted)}.entry-edit-line-total{white-space:nowrap;font-variant-numeric:tabular-nums}.entry-edit-row-error td{border-bottom-color:var(--danger)}.entry-edit-form [aria-invalid=true]{border-color:var(--danger);background:var(--danger-soft)}.entry-edit-audit-note{color:var(--muted);margin:0 0 20px;font-size:12px}.entry-edit-form footer{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}@media (max-width:760px){.entry-details-modal .modal{width:calc(100vw - 20px);padding:18px}.entry-detail-heading{align-items:flex-start;gap:12px}.entry-detail-heading h3{font-size:17px}.entry-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 15px}.entry-detail-bottom{grid-template-columns:1fr;gap:20px;padding:20px 0}.entry-edit-history-header{flex-direction:column;gap:5px}}.entry-group-identifiers summary{cursor:pointer;color:var(--blue);white-space:normal;padding:8px 0}.entry-group-identifiers>div{gap:10px;min-width:170px;max-height:280px;display:grid;overflow-y:auto}.entry-group-identifiers>div>div{border-top:1px solid var(--border);overflow-wrap:anywhere;padding-block:8px}.entry-group-identifiers b{color:var(--muted);font-size:12px;font-weight:500}
.site-catalog,.site-integrations{min-width:0}.site-catalog-heading{justify-content:space-between;align-items:start;gap:18px;margin:20px 0;display:flex}.site-catalog-heading h2,.site-catalog-heading p,.site-catalog-row h3,.site-integration-row h3{margin:0 0 8px}.site-catalog-heading p,.site-catalog-product p,.site-catalog-numbers span{color:var(--secondary)}.site-catalog-info{border:1px solid var(--line);background:var(--info-soft);border-radius:8px;gap:12px;margin-bottom:18px;padding:16px;display:flex}.site-catalog-info svg{flex-shrink:0}.site-catalog-info p{margin:6px 0}.site-integration-list,.site-catalog-list{border:1px solid var(--line);border-radius:8px;overflow:hidden}.site-integration-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;padding:20px;display:grid}.site-integration-row:last-child,.site-catalog-row:last-child{border-bottom:0}.site-integration-url,.site-catalog-reference,.site-catalog-instructions code{overflow-wrap:anywhere}.site-catalog-instructions{padding:18px 0}.site-catalog-instructions summary{cursor:pointer;font-weight:600}.site-catalog-instructions li{padding:5px 0}.site-catalog-form{gap:20px;min-width:0;display:grid}.site-catalog-form footer{margin-top:0}.site-catalog-form textarea{resize:vertical;width:100%}.catalog-secret{overflow-wrap:anywhere;font-family:monospace;font-size:14px}.site-catalog-filters{grid-template-columns:minmax(240px,2fr) repeat(4,minmax(120px,1fr));gap:12px;margin:20px 0;display:grid}.site-catalog-toolbar{flex-wrap:wrap;align-items:center;gap:16px;padding:10px 0 18px;display:flex}.site-catalog-toolbar label{align-items:center;gap:8px;display:flex}.site-catalog-toolbar>.actions{flex-wrap:wrap;margin-left:auto}.site-catalog-row{border-bottom:1px solid var(--line);grid-template-columns:20px 80px minmax(180px,1fr) minmax(130px,auto) 180px;align-items:start;gap:18px;padding:20px;display:grid}.site-catalog-thumbnail{width:80px;height:80px;color:var(--secondary);background:var(--surface);border:1px solid var(--line);border-radius:6px;justify-content:center;align-items:center;padding:0;display:flex;overflow:hidden}.site-catalog-thumbnail img{object-fit:contain;width:100%;height:100%}.site-catalog-product{min-width:0}.site-catalog-product h3{overflow-wrap:anywhere;font-size:15px}.site-catalog-product p{margin:0 0 8px;line-height:1.8}.site-catalog-product small{overflow-wrap:anywhere;color:var(--secondary);margin-bottom:5px;display:block}.site-catalog-state{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.site-catalog-numbers{text-align:right;gap:6px;display:grid}.site-catalog-numbers strong{font-size:17px}.site-catalog-actions{justify-items:start;gap:7px;display:grid}.site-catalog-actions button{text-align:left;padding:6px 10px}.site-catalog-pagination{justify-content:space-between;align-items:center;gap:12px;margin:18px 0;display:flex}.site-catalog-empty{border:1px solid var(--line);text-align:center;color:var(--secondary);border-radius:8px;padding:35px 20px}.site-catalog-inherited{border:1px dashed var(--line);border-radius:8px;padding:14px}.site-catalog-inherited .product-gallery-list{grid-template-columns:repeat(auto-fit,minmax(80px,130px))}.site-catalog-preview{gap:14px;display:grid}.site-catalog-preview>h2,.site-catalog-preview>p{margin:0}.site-catalog-preview>strong{font-size:24px}.site-catalog-description{white-space:pre-wrap;overflow-wrap:anywhere}@media (max-width:1150px){.site-catalog-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.site-catalog-filters>:first-child{grid-column:span 2}.site-catalog-row{grid-template-columns:20px 70px minmax(140px,1fr) 160px;gap:12px}.site-catalog-thumbnail{width:70px;height:70px}.site-catalog-actions{flex-wrap:wrap;grid-column:3/-1;align-items:center;display:flex}}@media (max-width:680px){.site-catalog-heading{flex-direction:column}.site-catalog-heading>button{justify-content:center;width:100%}.site-catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.site-catalog-filters>:first-child{grid-column:1/-1}.site-catalog-filters input,.site-catalog-filters select,.site-catalog-form input,.site-catalog-form select,.site-catalog-form textarea{min-height:44px;font-size:16px}.site-catalog-toolbar{gap:12px}.site-catalog-toolbar>.actions{width:100%;margin-left:0}.site-catalog-toolbar button{flex:1;justify-content:center;min-height:44px}.site-catalog-row{grid-template-columns:22px 60px minmax(0,1fr);gap:12px;padding:16px 12px}.site-catalog-thumbnail{width:60px;height:60px}.site-catalog-numbers{text-align:left;grid-column:2/-1}.site-catalog-actions{grid-column:2/-1;gap:8px}.site-catalog-actions button{min-height:44px}.site-catalog-toolbar input[type=checkbox],.site-catalog-row>input{min-width:20px;min-height:20px}.site-integration-row{grid-template-columns:1fr auto;gap:12px;padding:16px}.site-integration-row>.actions{flex-wrap:wrap;grid-column:1/-1}.site-integration-row button{min-height:44px}}
.transfer-preparation{min-width:0}.transfer-preparation fieldset{border:0;min-width:0;margin:0;padding:0}.transfer-route{border-bottom:1px solid var(--border);grid-template-columns:1fr 1fr;gap:20px;padding-bottom:20px;display:grid}.transfer-route>div{align-content:start;gap:6px;display:grid}.transfer-route small,.transfer-heading p,.transfer-heading>span,.transfer-item-description small,.transfer-item-quantity small,.transfer-preparation footer>small{color:var(--muted);font-size:13px}.transfer-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 12px;display:flex}.transfer-heading h3,.transfer-heading p{margin:0}.transfer-heading p{margin-top:6px}.transfer-search{gap:8px;display:flex}.transfer-search .search{flex:1;min-width:0;max-width:none}.transfer-search input{min-height:48px}.transfer-results{gap:6px;margin-top:12px;display:grid}.transfer-results>button{text-align:left;white-space:normal;gap:12px;width:100%;padding:12px;display:flex}.transfer-result-description{overflow-wrap:anywhere;flex:1;gap:5px;min-width:0;display:grid}.transfer-result-description>small{color:var(--muted)}.transfer-result-action{color:var(--blue);align-self:center;font-size:13px}.transfer-results>button:disabled .transfer-result-action{color:var(--muted)}.transfer-feedback{color:var(--muted);margin:8px 0;font-size:13px}.transfer-feedback:empty{display:none}.transfer-empty{border:1px dashed var(--border);color:var(--muted);border-radius:8px;align-items:center;gap:12px;padding:24px 16px;display:flex}.transfer-empty p{margin:0}.transfer-items{gap:10px;margin:0;padding:0;list-style:none;display:grid}.transfer-items>li{border:1px solid var(--border);border-radius:8px;grid-template-columns:minmax(0,1fr) 160px 36px;align-items:start;gap:14px;padding:14px;display:grid}.transfer-item-description{align-items:start;gap:10px;min-width:0;display:flex}.transfer-item-description>div{overflow-wrap:anywhere;flex:1;gap:6px;min-width:0;display:grid}.transfer-item-description .unit-picker-trigger{margin-top:4px}.transfer-item-quantity .field{margin:0}.transfer-unit-count{flex-wrap:wrap;align-items:center;gap:4px;font-size:14px;display:flex}.transfer-unit-count small{flex-basis:100%}.transfer-preparation footer{flex-wrap:wrap;align-items:center}.transfer-preparation footer>small{flex:1;min-width:180px}@media (max-width:760px){.transfer-route{grid-template-columns:1fr;gap:14px}.transfer-preparation input,.transfer-preparation select{min-height:48px;font-size:16px}.transfer-items>li{grid-template-columns:minmax(0,1fr) 40px;gap:12px;padding:12px}.transfer-item-description{grid-column:1}.transfer-item-quantity{grid-area:2/1}.transfer-item-quantity input{max-width:150px}.transfer-items>li>button{grid-area:1/2;min-height:44px}.transfer-results>button{flex-wrap:wrap;min-height:54px}.transfer-result-action{text-align:right;width:100%}.transfer-preparation footer>small{flex-basis:100%}.transfer-preparation footer>.primary{flex:1;min-height:48px}}
.transfer-receipt fieldset{border:0;min-width:0;margin:0;padding:0}.receipt-scan{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:16px}.receipt-scan h3{align-items:center;gap:8px;margin:0 0 8px;display:flex}.receipt-scan p{color:var(--muted);margin:0 0 12px;font-size:14px;line-height:1.5}.receipt-scan>label{margin-bottom:6px;font-size:13px;font-weight:600;display:block}.receipt-scan-input{gap:8px;display:flex}.receipt-scan-input>input{font-variant-numeric:tabular-nums;flex:1;min-width:0;min-height:48px}.receipt-scan-error,.receipt-scan-success{overflow-wrap:anywhere;margin-top:10px;font-size:14px;line-height:1.5}.receipt-scan-error{color:var(--danger)}.receipt-scan-success{color:var(--muted)}.receipt-progress{flex-wrap:wrap;justify-content:space-between;gap:10px;margin-block:20px;display:flex}.receipt-progress>span{color:var(--muted);font-size:13px}.receipt-progress progress{width:100%;height:8px;accent-color:var(--blue)}.receipt-items{gap:10px;margin:0;padding:0;list-style:none;display:grid}.receipt-items>li{border:1px solid var(--line);border-radius:8px;grid-template-columns:minmax(0,1fr) 150px;gap:16px;padding:14px;display:grid}.receipt-items>li[data-complete=true]{border-color:var(--blue)}.receipt-items>li[data-last=true]{background:var(--info-soft)}.receipt-item-description{overflow-wrap:anywhere;align-content:start;gap:6px;min-width:0;display:grid}.receipt-item-description small,.receipt-items .field small,.transfer-receipt footer>small{color:var(--muted);font-size:13px}.receipt-complete{color:var(--blue);align-items:center;gap:5px;font-size:13px;display:flex}.receipt-items .field{min-width:0;margin:0}.receipt-items .field .field-error{color:var(--danger)}.transfer-receipt footer{flex-wrap:wrap;align-items:center}.transfer-receipt footer>small{flex:1;min-width:180px}@media (max-width:760px){.receipt-scan{padding:12px}.receipt-scan-input{flex-wrap:wrap}.receipt-scan-input>input{flex-basis:100%;min-height:52px;font-size:16px}.receipt-scan-input>button{flex:1;min-height:46px}.receipt-items>li{grid-template-columns:minmax(0,1fr);gap:12px}.receipt-items input{max-width:150px;min-height:48px;font-size:16px}.transfer-receipt footer>small{flex-basis:100%}.transfer-receipt footer>.primary{flex:1;min-height:48px}}
.stock-list-filters{grid-template-columns:minmax(220px,1fr) 155px 155px minmax(175px,225px);align-items:end;gap:12px;margin:16px 0;display:grid}.stock-list-filters .field{min-width:0;margin:0}.stock-list-filters input,.stock-list-filters select{min-width:0}.stock-list-search{align-self:end}.stock-list-search .search{min-width:160px}@media (max-width:1000px){.stock-list-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-list-search{grid-column:1/-1}}@media (max-width:480px){.stock-list-filters>.field:last-child{grid-column:1/-1}}
.order-editor{--sale-gap:24px}.order-editor .page-title{margin-bottom:24px}.order-editor .page-title p{max-width:680px;font-size:14px;line-height:1.6}.order-editor .sale-flow-steps{border-bottom:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 0 30px;display:grid}.order-editor .sale-flow-steps>button{color:var(--muted);text-align:left;white-space:normal;background:0 0;border:0;border-bottom:3px solid #0000;border-radius:0;flex-direction:row;justify-content:flex-start;align-items:center;gap:12px;padding:16px 12px;display:flex}.order-editor .sale-flow-steps>button>span,.sale-section-title>span{background:var(--surface-soft);width:32px;height:32px;color:var(--secondary);border-radius:50%;flex-shrink:0;place-items:center;font-size:15px;font-weight:600;display:grid}.sale-flow-steps strong,.sale-flow-steps small{display:block}.order-editor .sale-flow-steps strong{font-size:15px;font-weight:600}.order-editor .sale-flow-steps small{margin-top:4px;font-size:12px;font-weight:400}.order-editor .sale-flow-steps>[aria-current=step]{border-bottom-color:var(--blue);color:var(--ink)}.order-editor .sale-flow-steps>[aria-current=step]>span{background:var(--blue);color:var(--on-accent)}.sale-section-title{border-radius:4px;align-items:flex-start;gap:14px;margin-bottom:24px;scroll-margin-top:90px;display:flex}.sale-section-title:focus{outline:none}.sale-section-title:focus-visible{outline:2px solid var(--blue);outline-offset:6px}.sale-section-title>span{background:var(--info-soft);color:var(--blue);margin-top:2px}.order-editor .sale-section-title h2{letter-spacing:-.3px;margin:0 0 6px;font-size:21px}.order-editor .sale-section-title p{color:var(--muted);margin:0;font-size:14px;line-height:1.5}.order-editor>.form-section{padding-block:30px}.order-editor>[data-sale-step="0"]{border-top:0;padding-top:0}.sale-context{color:var(--muted);flex-wrap:wrap;gap:8px 20px;margin:-8px 0 12px;font-size:12px;display:flex}.order-editor .order-reference-details{margin-bottom:24px}.order-editor .order-reference-details>summary{cursor:pointer;color:var(--blue);padding:8px 0;font-size:13px;display:list-item}.order-editor .order-reference{margin:14px 0 0}.order-editor .field>span,.order-editor .customer-label{font-size:13px}.order-editor .form-grid>div{min-width:0}.order-editor input:not([type=checkbox]):not([type=radio]):not([type=file]),.order-editor select{min-height:44px;font-size:14px}.order-editor .sale-customer-hint{color:var(--muted);margin:10px 0 0;font-size:12px;line-height:1.6}.sale-section-next{justify-content:flex-end;margin-top:24px;display:flex}.order-editor .sale-section-next>button{min-height:44px;padding-inline:18px;font-size:14px}.order-editor .order-items .section-heading{align-items:flex-start}.order-editor .order-items .section-heading .sale-section-title{margin-bottom:0}.sale-image-controls{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.order-editor .barcode-search-row{gap:12px;margin-bottom:10px;display:flex}.order-editor .barcode-search-row .search{background:var(--surface);border-radius:7px;flex:1;min-width:0;padding:6px 14px}.order-editor .barcode-search-row .search input{width:100%;min-height:44px;font-size:16px}.order-editor .barcode-search-row .barcode-open{min-height:56px;font-size:14px}.sale-product-tools{flex-wrap:wrap;gap:8px 20px;margin-bottom:22px;display:flex}.sale-product-tools>button{color:var(--blue);white-space:normal;text-align:left;background:0 0;border:0;padding:6px 0;font-size:13px}.order-editor .search-results{max-height:360px;margin-top:0}.order-editor .search-results button{gap:16px;padding:16px;font-size:14px}.order-editor .search-results .sale-result-thumbnail{flex:0 0 48px}.order-editor .search-results .sale-result-details{flex:120px;min-width:0}.order-editor .search-results button{flex-wrap:wrap}.order-editor .search-results button>b{margin-left:auto}.sale-item-product{align-items:flex-start;gap:10px;min-width:0;display:flex}.sale-item-thumbnail{flex:0 0 48px}.sale-item-product-details{overflow-wrap:anywhere;flex:1;min-width:0}.sale-item-product-details>strong{margin-bottom:6px;display:block}.order-editor .search-results small{font-size:12px;line-height:1.5}.sale-empty-products{text-align:center;min-height:148px;color:var(--muted);background:var(--surface-soft);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:24px;display:flex}.sale-empty-products>strong{color:var(--ink);font-size:16px}.order-editor .sale-empty-products p{margin:0;font-size:13px;line-height:1.5}.sale-items-total{color:var(--muted);justify-content:space-between;gap:12px;margin-top:16px;font-size:13px;display:flex}.sale-items-total strong{color:var(--ink);font-size:19px}.sale-payment-title{border-top:1px solid var(--line);margin-bottom:20px;padding-top:30px}.order-editor .sale-option>summary{color:var(--blue);cursor:pointer;min-height:48px;padding:16px 0;font-size:14px;font-weight:600;display:list-item}.order-editor .sale-option[open]>summary{margin-bottom:10px}.order-editor .sale-option>.delivery-section{border-top:0;padding-top:0}.order-editor .sale-payment-section{border-top:0;padding-top:8px}.sale-payment-overview{background:var(--surface-soft);border-radius:8px;flex-wrap:wrap;justify-content:space-between;gap:20px;margin-bottom:24px;padding:20px 24px;display:flex}.sale-payment-overview span{color:var(--muted);margin-bottom:6px;font-size:13px;display:block}.sale-payment-overview strong{color:var(--ink);letter-spacing:-.4px;font-variant-numeric:tabular-nums;font-size:23px}.sale-payment-overview>div:last-child{text-align:right}.sale-payment-overview>div:last-child strong{color:var(--blue);font-size:20px}.sale-current-payments .payment-grid{border-bottom:1px solid var(--line);margin-bottom:12px;padding:18px 0}.sale-payment-choices h3{margin:22px 0 14px;font-size:16px}.sale-payment-buttons{flex-wrap:wrap;gap:10px;display:flex}.sale-payment-buttons>button{white-space:normal;flex-direction:column;flex:1 0 100px;justify-content:center;gap:8px;min-height:74px;padding:12px;font-size:14px;display:flex}.sale-payment-buttons>button:hover{border-color:var(--blue);background:var(--info-soft);color:var(--blue)}.sale-method-options{gap:8px;display:grid}.sale-method-options button{text-align:left;white-space:normal;flex-direction:column;align-items:flex-start;gap:5px;min-height:66px;padding:16px;display:flex}.sale-method-options small{color:var(--muted);font-size:13px}.order-editor .sale-payment-hint{color:var(--muted);margin:14px 0 0;font-size:12px;line-height:1.6}.order-editor .order-payment-block{margin-top:20px;padding-top:0}.order-editor [data-payment-option]{scroll-margin-top:88px}.order-editor .sale-option.form-section{padding-block:0}.sale-final-summary h2{margin-top:12px;font-size:20px}.order-editor .sale-final-summary .totals{max-width:none}.sale-next-hint{border-top:1px solid var(--line);padding-top:12px}.order-editor .sale-next-hint>p{color:var(--secondary);font-size:13px;line-height:1.6}.sale-next-hint>button{color:var(--blue);background:0 0;border-color:#0000;padding-inline:0;font-size:13px}.order-editor .sale-ready{color:var(--success);align-items:flex-start;gap:8px;margin:18px 0;font-size:13px;line-height:1.6;display:flex}.sale-ready svg{flex-shrink:0;margin-top:2px}.order-editor .sticky-actions button,.order-editor .sticky-actions .button{min-height:44px;font-size:14px}.order-editor .sticky-actions .primary{padding-inline:24px}.sale-footer-total{font-variant-numeric:tabular-nums;gap:4px;margin-right:12px;display:grid}.sale-footer-total small{color:var(--muted);font-size:11px}.sale-footer-total strong{font-size:20px}@media (max-width:1000px){.sale-current-payments .payment-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 36px}.sale-current-payments .payment-grid>.field:last-of-type{grid-column:1/3}.sale-current-payments .payment-grid>.icon{grid-area:1/3}.sale-current-payments .payment-with-installments>.field:nth-child(3){grid-column:1/3}}@media (max-width:760px){.order-editor .sale-flow-steps{margin-bottom:24px}.order-editor .sale-flow-steps>button{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:12px 4px}.order-editor .sale-flow-steps strong{font-size:14px}.order-editor .sale-flow-steps small{display:none}.order-editor .sale-section-title h2{font-size:21px}.order-editor .sale-section-title p{font-size:15px}.order-editor .sale-section-title{gap:12px;scroll-margin-top:80px}.order-editor .sale-context{gap:6px 12px;font-size:13px}.order-editor .order-reference-details>summary{font-size:14px}.order-editor .field>span,.order-editor .customer-label{font-size:15px}.order-editor input:not([type=checkbox]):not([type=radio]):not([type=file]),.order-editor select{min-height:52px;font-size:16px}.order-editor .sale-customer-hint{font-size:14px}.order-editor .sale-section-next{display:none}.order-editor .barcode-search-row{grid-template-columns:minmax(0,1fr);display:grid}.order-editor .barcode-search-row .search,.order-editor .barcode-search-row>.barcode-open{grid-column:1}.order-editor .barcode-search-row .search input{font-size:16px}.order-editor .sale-product-tools{gap:2px;display:grid}.order-editor .order-items .section-heading{flex-wrap:wrap}.sale-image-controls{justify-content:flex-start;width:100%}.sale-item-product-details>strong{font-size:16px;line-height:1.5}.order-editor .sale-product-tools>button{justify-content:flex-start;min-height:44px;padding:8px 0;font-size:14px}.sale-empty-products{padding:24px 18px}.order-editor .sale-empty-products p{font-size:14px}.order-editor .sale-payment-title{border-top:0;padding-top:0}.order-editor .sale-option>summary{min-height:54px;font-size:16px}.order-editor .sale-payment-overview{gap:18px;padding:18px}.sale-payment-overview>div:last-child{text-align:left}.sale-payment-overview span{font-size:14px}.sale-payment-overview strong{font-size:25px}.sale-payment-buttons{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.order-editor .sale-payment-buttons>button{min-height:82px;font-size:16px}.order-editor .sale-payment-hint{font-size:14px}.sale-current-payments .payment-grid{grid-template-columns:minmax(0,1fr) 44px;gap:14px;display:grid}.sale-current-payments .payment-grid>.field,.sale-current-payments .payment-grid>.field:last-of-type,.sale-current-payments .payment-with-installments>.field:nth-child(3){grid-column:1/-1}.sale-current-payments .payment-grid>.field:first-child{grid-column:1}.sale-current-payments .payment-grid>.icon{grid-area:1/2}.order-editor .summary-layout{grid-template-columns:minmax(0,1fr)}.order-editor .sale-next-hint>p,.order-editor .sale-ready{font-size:14px}.order-editor .sticky-actions{background:0 0;margin-top:0;position:static}.order-editor .sale-footer-total{display:none}}@media (prefers-reduced-motion:no-preference){.sale-payment-buttons>button{transition:background-color .15s,border-color .15s}.order-editor .sale-option[open]>:not(summary){animation:.14s ease-out sale-option-reveal}@keyframes sale-option-reveal{0%{opacity:.5;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}}
.delivery-section h2{align-items:center;gap:8px;display:flex}.delivery-section,.delivery-pricing{margin-block:20px}.delivery-overview{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:24px;display:grid}.delivery-overview p{overflow-wrap:anywhere}.delivery-actions{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}.delivery-history{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.delivery-history summary{cursor:pointer}.delivery-history li{margin-block:14px}.delivery-history small{color:var(--muted);margin-top:4px;display:block}.badge.WAITING{background:var(--warning-soft);color:var(--warning)}.badge.DISPATCHED{background:var(--info-soft);color:var(--action)}.badge.DELIVERED{background:var(--success-soft);color:var(--success)}@media (max-width:760px){.delivery-overview{grid-template-columns:minmax(0,1fr)}}@media (max-width:520px){.delivery-actions>button{width:100%}}
.email-settings-modal .modal,.order-email-modal .modal{width:min(860px,100%)}.draft-email-actions{flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 16px;display:flex}.draft-email-actions button{align-items:center;gap:7px;display:inline-flex}.email-settings-form fieldset,.order-email-form fieldset{border:0;min-width:0;margin:0;padding:0}.email-enabled,.email-image-option{align-items:flex-start;gap:11px;display:flex}.email-enabled{background:var(--surface-soft);border:1px solid var(--line);border-radius:7px;padding:15px}.email-enabled input,.email-image-option input,.email-clear-key input{flex:0 0 16px;width:16px;height:16px}.email-enabled span,.email-image-option span{gap:4px;display:grid}.email-enabled small,.email-image-option small,.email-delivery-summary small{color:var(--muted);font-size:11px;line-height:1.45}.email-form-section,.email-history{border-top:1px solid var(--line);margin-top:23px;padding-top:21px}.email-section-heading{align-items:flex-start;gap:10px;margin-bottom:16px;display:flex}.email-section-heading>svg{color:var(--primary);flex:none;margin-top:1px}.email-section-heading h3{margin:0;font-size:14px}.email-section-heading p{color:var(--muted);margin:4px 0 0;font-size:11px}.email-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;display:grid}.email-form-grid .field{margin:0}.email-field-full{grid-column:1/-1}.email-key-status{color:var(--success);align-items:center;gap:8px;margin-bottom:14px;font-size:12px;font-weight:650;display:flex}.email-clear-key{align-items:center;gap:8px;margin:9px 0 0;font-size:12px;display:flex}.email-provider-guide{border-left:3px solid var(--primary);margin-top:20px;padding:2px 0 2px 16px}.email-provider-guide strong{font-size:12px}.email-provider-guide ol{color:var(--muted);margin:7px 0 8px;padding-left:17px;font-size:11px;line-height:1.55}.email-provider-guide a{font-size:12px}.email-saved{color:var(--success);align-items:center;gap:7px;margin:17px 0 0;font-size:12px;display:flex}.email-delivery-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.email-delivery-summary>div{align-items:flex-start;gap:9px;display:flex}.email-delivery-summary svg{color:var(--primary);flex:none}.email-delivery-summary span{gap:3px;min-width:0;display:grid}.email-delivery-summary small{overflow-wrap:anywhere}.email-image-option{border-top:1px solid var(--line);margin-top:17px;padding-top:16px}.email-image-option>svg{color:var(--muted);flex:none}.email-uncertain{grid-template-columns:auto 1fr auto;align-items:flex-start;gap:10px;margin-top:18px;display:grid}.email-uncertain p{margin:3px 0 0}.email-uncertain button{align-items:center;gap:6px;display:flex}.email-unknown-ack{border:1px solid var(--warning-border);border-radius:6px;align-items:flex-start;gap:10px;margin-top:12px;padding:12px;display:flex}.email-unknown-ack input{flex:0 0 16px;width:16px;height:16px;margin-top:1px}.email-unknown-ack span{gap:4px;display:grid}.email-unknown-ack small{color:var(--muted);font-size:11px;line-height:1.45}.email-network-pending{grid-template-columns:auto 1fr;align-items:flex-start;gap:10px;margin-top:18px;display:grid}.email-network-pending p{margin:4px 0 0}.email-network-actions{flex-wrap:wrap;grid-column:2;gap:8px;display:flex}.email-network-actions button{align-items:center;gap:6px;display:inline-flex}.email-history ol{gap:0;margin:0;padding:0;list-style:none;display:grid}.email-history li{border-top:1px solid var(--line);grid-template-columns:auto 1fr;gap:10px;padding:14px 0;display:grid}.email-history li:first-child{border-top:0;padding-top:0}.email-history li>svg{color:var(--muted);margin-top:2px}.email-history-sent>svg{color:var(--success)!important}.email-history-failed>svg,.email-history-unknown>svg{color:var(--danger)!important}.email-history-main{min-width:0}.email-history-main>div:first-child{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.email-history-main time,.email-history-main small{color:var(--muted);font-size:11px}.email-history-main>span,.email-history-main>small{overflow-wrap:anywhere;display:block}.email-history-main p{color:var(--muted);margin:6px 0;font-size:11px}.email-history-error{background:var(--danger-soft);color:var(--danger);margin-top:8px;padding:8px 10px;font-size:11px}.store-list-actions{flex-wrap:wrap;gap:7px;display:flex}.store-list-actions button{align-items:center;gap:6px;display:inline-flex}@media (max-width:600px){.email-form-grid,.email-delivery-summary{grid-template-columns:1fr}.email-uncertain{grid-template-columns:auto 1fr}.email-uncertain button{grid-column:1/-1;justify-self:start}.email-network-actions{grid-column:1/-1}.email-settings-modal .modal,.order-email-modal .modal{padding:18px}}
.customer-admin-actions,.customer-selection{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.customer-selection{border-block:1px solid var(--line);margin:16px 0;padding:12px 0}.customer-select-page{align-items:center;gap:9px;margin:14px 0;display:flex}.customer-admin-form{gap:18px;display:grid}.customer-bulk-dialog .modal{width:1050px}.customer-import-dialog .modal{width:820px}.customer-common-fields{grid-template-columns:1fr 2fr auto;align-items:end;gap:12px;margin-bottom:20px;display:grid}.customer-bulk-row,.customer-review-row,.customer-bulk-review>section{border-bottom:1px solid var(--line);padding:20px 0}.customer-bulk-heading,.customer-review-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.customer-bulk-fields{grid-template-columns:2fr 1.4fr 2fr 1.3fr .6fr;gap:12px;display:grid}.customer-bulk-fields input{width:100%;min-width:0}.customer-bulk-review p{overflow-wrap:anywhere}.customer-review-heading>div{min-width:0}.customer-review-heading strong{overflow-wrap:anywhere}.customer-review-heading small{color:var(--muted);margin-top:6px;display:block}.customer-review-heading .field{min-width:240px}.customer-review-row.has-errors{border-left:3px solid var(--danger);padding-left:14px}.customer-review-row p{overflow-wrap:anywhere}.customer-review-picker{border:0;min-width:0;margin:0;padding:0}.customer-import-summary{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:18px;padding-block:14px;display:flex}.customer-import-success{color:var(--success);font-weight:600}.customer-import-suggestions>button{white-space:normal;text-align:left;justify-content:space-between;gap:12px;width:100%;margin:8px 0;display:flex}.customer-column-mapping{margin-top:20px}.customer-column-mapping>summary{cursor:pointer;padding:12px 0;font-weight:600}.customer-import-dialog .modal>.field{margin-top:22px}.historical-customer-actions{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}@media (max-width:760px){.customer-admin-actions{grid-template-columns:1fr 1fr;width:100%;display:grid}.customer-admin-actions>.primary{grid-area:1/1/auto/-1}.customer-selection{grid-template-columns:minmax(0,1fr);display:grid}.customer-selection button{width:100%}.customer-common-fields,.customer-bulk-fields{grid-template-columns:minmax(0,1fr)}.customer-review-heading{flex-direction:column;align-items:stretch}.customer-review-heading .field{min-width:0}.customer-bulk-heading{align-items:start}.customer-bulk-heading strong{overflow-wrap:anywhere;min-width:0}.customer-bulk-heading>button{flex-shrink:0}.customer-review-row{padding-block:22px}.customer-import-summary{gap:8px 14px}.customer-import-suggestions>button{flex-direction:column;align-items:start}.customer-import-dialog footer,.customer-bulk-dialog footer{flex-wrap:wrap}.historical-customer-actions>button,.historical-customer-actions>a{width:100%}}
.receivable-receive-dialog.with-products .modal{width:1120px}.receivable-controls{border:0;min-width:0;margin:0;padding:0}.receivable-modes{border:0;flex-wrap:wrap;gap:10px;margin:22px 0;padding:0;display:flex}.receivable-modes legend{margin-bottom:9px;font-size:12px;font-weight:600}.receivable-modes label{border:1px solid var(--line);cursor:pointer;border-radius:5px;align-items:center;gap:8px;padding:12px;display:flex}.receivable-modes label.selected{border-color:var(--primary);background:var(--info-soft)}.receivable-modes input[type=radio]{width:16px;height:16px;min-height:0;margin:0}.receivable-trade-summary{border-block:1px solid var(--line);grid-template-columns:repeat(4,1fr);gap:18px;margin:18px 0;padding:17px 0;display:grid}.receivable-trade-summary div{flex-direction:column;gap:7px;display:flex}.receivable-trade-summary span,.receivable-confirm-hint{color:var(--secondary);font-size:12px}.receivable-trade-summary strong{font-size:17px}@media (max-width:700px){.receivable-trade-summary{grid-template-columns:repeat(2,1fr)}.receivable-modes{flex-direction:column}.receivable-receive-dialog .section-heading{flex-direction:column;align-items:flex-start;gap:12px}.receivable-receive-dialog footer{flex-wrap:wrap}}
.inventory-report-controls fieldset{border:0;min-width:0;margin:0 0 22px;padding:0}.inventory-report-filters{grid-template-columns:2fr 1fr 1fr 1fr;gap:16px;margin-bottom:18px;display:grid}.inventory-report-filters .field{min-width:0}.inventory-report-actions{justify-content:flex-end}.inventory-report-actions>span{margin-right:auto}.inventory-report-print header{margin:22px 0}.inventory-report-print header p{color:var(--muted);margin-top:8px;line-height:1.6}.inventory-report-total{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:24px;margin-bottom:14px;padding:18px 0;display:flex}.inventory-report-print>.muted{font-size:12px;line-height:1.6}@media (max-width:800px){.inventory-report-filters{grid-template-columns:1fr 1fr}.inventory-report-filters>:first-child{grid-column:1/-1}}@media (max-width:480px){.inventory-report-filters{grid-template-columns:1fr}.inventory-report-actions{flex-wrap:wrap}.inventory-report-actions>span{width:100%}}@media print{.inventory-report-controls,.inventory-report-actions{display:none!important}body:has(.inventory-report-print) .sidebar{display:none!important}body:has(.inventory-report-print) .topbar{display:none!important}body:has(.inventory-report-print) .app-foot{display:none!important}body:has(.inventory-report-print) .page-title{display:none!important}.inventory-report-print,.inventory-report-print *{visibility:visible!important}.inventory-report-print{color:#000;width:100%;font-size:10pt;position:absolute;top:0;left:0}.inventory-report-print .table-wrap{border:0;overflow:visible}.inventory-report-print table{width:100%;min-width:0}.inventory-report-print th,.inventory-report-print td{white-space:normal;padding:8px 5px}.inventory-report-print tr{break-inside:avoid}.inventory-report-print a{color:#000;text-decoration:none}}
.payment-settings .payment-settings-toolbar{margin-bottom:12px}.payment-settings-hint{color:var(--muted);margin:0 0 21px;font-size:11px;line-height:1.6}.payment-settings-retry{margin-bottom:16px}.payment-scope-summary{gap:4px;max-width:260px;display:grid}.payment-scope-summary small{color:var(--muted);overflow-wrap:anywhere;line-height:1.6}.payment-scope-fields{min-width:0}.payment-scope-fields>.field{max-width:360px;margin-bottom:10px}.payment-scope-hint{color:var(--muted);margin:8px 0;font-size:12px;line-height:1.6}.payment-store-choices{border:1px solid var(--line);border-radius:6px;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 12px;margin:12px 0;padding:6px 10px;display:grid}.payment-store-choices .payment-store-choice{align-items:center;min-width:0;min-height:44px;margin:0;padding:6px 2px;line-height:1.5}.payment-store-choice input{flex-shrink:0}.payment-store-choice span{overflow-wrap:anywhere}.payment-store-choice small{color:var(--danger);margin-top:2px;display:block}.payment-store-unavailable{grid-column:1/-1}.payment-store-load-error{color:var(--danger);font-size:12px;line-height:1.6}.payment-store-load-error button{min-height:44px}.payment-terminal-summary{gap:8px;max-width:650px;font-size:11px;line-height:1.7;display:grid}.payment-terminal-summary>div{gap:2px;display:grid}.payment-terminal-summary b{color:var(--ink);font-weight:550}.payment-terminal-summary .payment-terminal-inactive{color:var(--muted)}.payment-terminal-form fieldset,.payment-method-form fieldset{border:0;min-width:0;margin:0;padding:0}.payment-brands-heading{border-top:1px solid var(--line);margin-top:24px;padding-top:21px}.payment-brands-heading h3{margin:0 0 7px}.payment-brands-heading p{color:var(--muted);margin:0 0 16px;font-size:11px;line-height:1.6}.payment-brands{gap:12px;display:grid}.payment-brand{border:1px solid var(--line);border-radius:6px;overflow:hidden}.payment-brand-heading{background:var(--surface-soft);align-items:center;padding-right:9px;display:flex}.payment-brand-heading .payment-brand-toggle{text-align:left;white-space:normal;background:0 0;border:0;border-radius:0;flex:1;justify-content:flex-start;gap:11px;min-width:0;padding:13px 16px}.payment-brand-toggle>svg{color:var(--muted);flex-shrink:0}.payment-brand-toggle>span{overflow-wrap:anywhere;flex:1;font-size:12px}.payment-brand-toggle small{margin-top:4px;font-size:10px;font-weight:400}.payment-brand-chevron-open{transform:rotate(180deg)}.payment-brand-body{border-top:1px solid var(--line);padding:18px 16px}.payment-credit-heading{justify-content:space-between;align-items:baseline;gap:12px;margin:24px 0 13px;display:flex}.payment-credit-heading h4{color:var(--ink);margin:0;font-size:12px;font-weight:550}.payment-credit-heading span{color:var(--muted);font-size:10px}.payment-credit-rates{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 16px;display:grid}.payment-credit-rates .field{margin-bottom:0}.payment-credit-rates input{font-variant-numeric:tabular-nums}.payment-rate-actions{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.payment-rate-actions button{min-height:32px;font-size:11px}.payment-brand-active{margin-top:20px}.payment-add-brand{margin-top:14px}.payment-terminal-form footer{background:var(--surface);z-index:1;padding-bottom:8px;position:sticky;bottom:-25px}@media (max-width:760px){.payment-store-choices{grid-template-columns:minmax(0,1fr)}.payment-scope-fields>.field{max-width:none}.payment-scope-fields select{min-height:44px}.payment-scope-hint,.payment-store-choice,.payment-store-load-error{font-size:14px}.payment-settings-toolbar>button{width:100%}.payment-brand-body{padding:16px 12px}.payment-brand-heading .payment-brand-toggle{padding-left:12px}.payment-credit-rates{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}.payment-credit-rates .field>span{line-height:1.5}.payment-terminal-form footer{bottom:-20px}}
.store-form-modal .modal{width:min(920px,100%)}.store-form-intro{color:var(--muted);margin:0 0 20px;font-size:12px;line-height:1.6}.store-form fieldset{border:0;min-width:0;margin:0;padding:0}.store-form-section{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.store-form-section:first-child{margin-top:0}.store-form-section h3{margin:0 0 16px;font-size:14px}.store-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.store-form .field{margin-bottom:0}.store-field-full{grid-column:1/-1}.store-active{align-self:end;align-items:center;gap:9px;min-height:40px;font-size:12px;display:flex}.store-active input{flex:0 0 16px;width:16px;height:16px}.store-logo{align-items:center;gap:20px;display:flex}.store-logo-preview{border:1px solid var(--line);background:var(--surface);border-radius:6px;flex-shrink:0;width:110px;height:110px;overflow:hidden}.store-logo-preview img{object-fit:contain;width:100%;height:100%;display:block}.store-logo-preview>span{height:100%;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:8px;font-size:11px;display:flex}.store-logo-controls{flex:1;min-width:0}.store-logo-controls input[type=file]{padding:6px;font-size:12px}.store-logo-controls>button{margin-top:8px;font-size:12px}.store-list-name{align-items:center;gap:10px;display:flex}.store-list-name img{object-fit:contain;border:1px solid var(--line);background:var(--surface);border-radius:4px;flex-shrink:0;width:38px;height:38px}.store-list-name strong{min-width:130px}.store-list-contact{min-width:130px;display:block}.store-list-contact small{overflow-wrap:anywhere}.store-profile-saved{color:var(--success);margin:12px 0;font-size:12px}@media (max-width:600px){.store-form-grid{grid-template-columns:1fr}.store-logo{flex-direction:column;align-items:flex-start}.store-logo-controls{width:100%}.store-form-modal .modal{padding:18px}.store-form footer{flex-wrap:wrap}}
.expenses-page,.expense-dialog{min-width:0}.expense-filters{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px;margin:16px 0 4px;display:grid}.expense-search .search{min-width:0;max-width:none}.expense-search>small,.expense-hint,.expense-paid-option>p{color:var(--muted);font-size:12px;line-height:1.6;display:block}.expense-search>small{margin-top:6px}.expense-summary{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);grid-template-columns:repeat(2,minmax(0,1fr));margin:22px 0 10px;display:grid}.expense-summary>div{min-width:0;padding:20px}.expense-summary>div+div{border-left:1px solid var(--line)}.expense-summary dt,.expense-detail-facts dt{color:var(--muted);margin-bottom:9px;font-size:12px}.expense-summary dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:0;font-size:clamp(16px,1.8vw,24px);font-weight:600}.expense-overdue-total dd{color:var(--danger)}.expense-table-wrap{margin-top:20px}.expense-row{cursor:pointer}.expense-row:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}.expense-row>td:first-child{white-space:normal;overflow-wrap:anywhere;min-width:180px;max-width:320px}.expense-row td strong,.expense-row td small{display:block}.expense-row td small{color:var(--muted);margin-top:5px}.expense-status{background:var(--surface-soft);color:var(--secondary);white-space:nowrap;border-radius:4px;align-items:center;padding:4px 7px;font-size:11px;line-height:1.35;display:inline-flex}.expense-status.PAID{background:var(--success-soft);color:var(--success)}.expense-status.PARTIAL{background:var(--info-soft);color:var(--blue)}.expense-status.OVERDUE{background:var(--danger-soft);color:var(--danger)}.expense-dialog .modal{width:620px}.expense-dialog[data-locked] .modal>header>button{opacity:.45;cursor:wait}.expense-controls{border:0;min-width:0;margin:0;padding:0}.expense-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.expense-form-grid .field{margin-bottom:0}.expense-form-grid input,.expense-form-grid select,.expense-form-grid textarea{min-width:0;max-width:100%}.expense-span-all{grid-column:1/-1}.expense-paid-option{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.expense-heading-actions,.expense-recurrence-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.expense-heading-actions button[aria-pressed=true]{border-color:var(--blue);color:var(--blue)}.expense-search{max-width:620px;margin:22px 0 16px}.expense-search .field{margin-bottom:0}.expense-disclosure>summary{cursor:pointer;width:fit-content;max-width:100%;color:var(--secondary);overflow-wrap:anywhere;padding:8px 0;font-size:13px;font-weight:550}.expense-disclosure>summary:hover{color:var(--ink)}.expense-disclosure>summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:2px}.expense-disclosure[open]>summary{margin-bottom:12px}.expense-editor-details{border-top:1px solid var(--line);margin-top:20px;padding-top:10px}.expense-editor-details>.field{margin-top:18px;margin-bottom:0}.expense-repeat-option{margin-top:20px}.expense-repeat-fields{margin-top:14px}.expense-repeat-fields>.field{max-width:250px;margin-bottom:0}.expense-filter-details{margin-top:8px}.expense-detail-more{border-top:1px solid var(--line);margin-top:20px;padding-top:12px}.expense-recurrence-summary{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.expense-recurrence-summary>p{color:var(--secondary);flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px;font-size:13px;line-height:1.6;display:flex}.expense-recurrence-summary>p svg{flex-shrink:0}.expense-recurrence-list{margin:24px 0 0;padding:0;list-style:none}.expense-recurrence-list>li{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding:20px 0;display:flex}.expense-recurrence-content{overflow-wrap:anywhere;gap:6px;min-width:0;display:grid}.expense-recurrence-content strong{font-size:14px}.expense-recurrence-content span{font-size:13px}.expense-recurrence-content small{color:var(--muted);line-height:1.6}.expense-recurrence-list .expense-recurrence-actions{flex-shrink:0}.expense-sr-only{clip-path:inset(50%);width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.expense-checkbox{cursor:pointer;align-items:center;gap:9px;font-weight:550;display:flex}.expense-checkbox input[type=checkbox]{flex-shrink:0;width:17px;height:17px;min-height:0;margin:0}.expense-form-context{overflow-wrap:anywhere;margin:0 0 18px;line-height:1.6}.expense-conflict,.expense-correction-note{background:var(--surface-soft);border-radius:var(--radius);color:var(--secondary);overflow-wrap:anywhere;margin:18px 0;padding:14px 16px;line-height:1.65}.expense-conflict p,.expense-correction-note p{margin:0 0 10px}.expense-correction-note p:last-child{margin-bottom:0}.expense-detail-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:20px;display:flex}.expense-detail-heading small{color:var(--muted)}.expense-detail-heading h3{overflow-wrap:anywhere;margin:7px 0 0;font-size:21px;line-height:1.4}.expense-detail-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:24px 0;display:grid}.expense-detail-facts dd{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin:0}.expense-detail-actions{flex-wrap:wrap;align-items:center;gap:10px;margin:24px 0;display:flex}.expense-detail-actions .expense-hint{width:100%;margin:0}.expense-danger{color:var(--danger)}.expense-payments,.expense-history{border-top:1px solid var(--line);margin-top:24px;padding-top:22px}.expense-payments h3,.expense-history h3,.expense-detail-notes h3{margin:0 0 14px;font-size:15px}.expense-payments ul,.expense-history ol{margin:0;padding:0;list-style:none}.expense-payments li,.expense-history li{border-bottom:1px solid var(--line);padding:16px 0}.expense-payments li:last-child,.expense-history li:last-child{border-bottom:0}.expense-payment-top,.expense-history-heading{flex-wrap:wrap;align-items:baseline;gap:10px 20px;display:flex}.expense-payment-top strong{font-size:16px}.expense-payment-top>span,.expense-history-heading time{color:var(--secondary);font-size:12px}.expense-history-heading{justify-content:space-between}.expense-notes{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.expense-reversal{border-left:2px solid var(--line);color:var(--secondary);padding-left:12px;font-size:12px;line-height:1.6}.expense-reverse-button{margin-top:5px;font-size:12px}.expense-changes{margin:12px 0 0;font-size:12px}.expense-changes>div{grid-template-columns:130px minmax(0,1fr);gap:15px;margin:8px 0;display:grid}.expense-changes dt{color:var(--secondary)}.expense-changes dd{overflow-wrap:anywhere;white-space:pre-wrap;margin:0}@media (max-width:1050px){.expense-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:700px){.expense-heading-actions{width:100%}.expense-heading-actions button{flex:1}.expense-recurrence-list>li{flex-direction:column;align-items:flex-start;gap:12px}.expense-recurrence-list .expense-recurrence-actions{width:100%}.expense-recurrence-actions button{white-space:normal}.expense-tabs{flex-wrap:wrap;gap:12px;overflow:visible}.expense-tabs button{min-height:36px;padding-bottom:8px}.expense-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.expense-summary>div{padding:16px}.expense-summary>div:nth-child(3){border-left:0}.expense-summary>div:nth-child(n+3){border-top:1px solid var(--line)}.expense-table-wrap{border:0;overflow:visible}.expense-table,.expense-table tbody{width:100%;display:block}.expense-table-wrap.table-wrap>.expense-table{min-width:0}.expense-table thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.expense-table tr.expense-row{border:1px solid var(--line);border-radius:var(--radius);grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:12px;padding:14px;display:grid}.expense-table .expense-row td{white-space:normal;overflow-wrap:anywhere;border:0;padding:0}.expense-table .expense-row>td:first-child{grid-column:1/-1;min-width:0;max-width:none}.expense-row td:not(:first-child):before{content:attr(data-label);color:var(--muted);margin-bottom:6px;font-size:11px;display:block}.expense-table .empty{white-space:normal;padding:28px 12px;display:block}.expense-dialog .overlay{padding:12px}.expense-dialog .modal{max-height:94dvh;padding:20px 16px}.expense-form-grid,.expense-filters{grid-template-columns:minmax(0,1fr)}.expense-row-action:empty{display:none}.expense-detail-heading{flex-direction:column}.expense-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}.expense-dialog footer{flex-wrap:wrap}.expense-dialog footer button{flex:180px}.expenses-page .pagination{flex-wrap:wrap;gap:10px}.expenses-page .pagination>span:first-child{flex-basis:100%}.expense-changes>div{grid-template-columns:minmax(0,1fr);gap:4px}}@media (max-width:400px){.expense-filters{grid-template-columns:minmax(0,1fr)}}
