.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}}
.customer-form .customer-form-section{min-width:0}.customer-form .customer-form-section+.customer-form-section{border-top:1px solid var(--line);margin-top:24px;padding-top:19px}.customer-form .customer-form-section-heading{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:18px;display:flex}.customer-form .customer-form-section-heading h3{margin:0}.customer-form .customer-form-section-heading span{color:var(--muted);font-size:10px}.customer-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-form .customer-form-notes{margin-top:24px}.customer-form .field-error,.customer-form .postal-code-lookup,.customer-form .customer-duplicates{overflow-wrap:anywhere}.customer-form footer{flex-wrap:wrap}.customer-form footer button,.customer-form .customer-duplicates button{white-space:normal;max-width:100%}@media (max-width:760px){.customer-form .form-grid{grid-template-columns:minmax(0,1fr)}.customer-form footer>button{width:100%}}
