body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#modal-root{position:absolute;top:0;left:0;width:100%;pointer-events:none;z-index:9999}#modal-root>*{pointer-events:auto}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;margin:0;background-color:#f9fafb;color:#1f2937}.sidebar-item.pulling{background-color:#fef9c3;border-right:4px solid #f59e0b}.sidebar-item.adjusted{background-color:#fef2f2;border-right:4px solid #ef4444}@media print{.sidebar,.logout-button,.order-actions,.header-buttons-container,.adjustment-notice,.pulling-notice{display:none}.main-content{padding:0}.order-details-card{box-shadow:none;border:none}}.header-buttons-container{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.refresh-button{padding:.5rem .75rem;min-height:36px}.order-header-main{flex:1;min-width:0}.login-page-container{display:flex;align-items:center;justify-content:center;min-height:100vh;background-color:#eff6ff}.login-form-wrapper{width:100%;max-width:28rem;padding:2rem;background-color:#fff;border-radius:.5rem;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a}.login-form-wrapper h1{font-size:1.875rem;font-weight:700;text-align:center;margin:0 0 .5rem}.login-form-wrapper p{text-align:center;color:#4b5563;margin-top:.5rem;margin-bottom:1.5rem}.login-form-wrapper form div{margin-bottom:1.5rem}.login-form-wrapper label{display:block;font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.25rem}.login-form-wrapper input{width:100%;padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:.375rem;box-sizing:border-box;font-size:1rem}.login-form-wrapper input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.login-form-wrapper button{width:100%;padding:.75rem 1rem;font-weight:700;color:#fff;background-color:#2563eb;border:none;border-radius:.375rem;cursor:pointer;transition:background-color .2s}.login-form-wrapper button:hover{background-color:#1d4ed8}.login-error{font-size:.875rem;color:#dc2626;margin-top:.5rem}.inventory-container{max-width:3600px;margin:0 auto;padding:2rem;min-height:calc(100vh - 4rem)}@media (max-width: 1024px){.inventory-container{padding:1.5rem}}@media print{.logout-button{display:none}.inventory-container{padding:0}}.modal-backdrop{position:fixed;inset:0;background-color:#00000073;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-dialog{background-color:#fff;border-radius:8px;box-shadow:0 20px 60px #0000002e,0 4px 16px #00000014;width:100%;max-width:420px;margin:16px;overflow:hidden}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 16px;border-bottom:1px solid #f0f0f0}.modal-header__eyebrow{margin:0;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#9ca3af}.modal-header__title{margin:2px 0 0;font-size:17px;font-weight:600;color:#111827}.modal-close-btn{background:none;border:none;padding:4px;border-radius:4px;color:#9ca3af;font-size:20px;line-height:1;display:flex;align-items:center;justify-content:center;transition:opacity .15s}.modal-close-btn:not(:disabled){cursor:pointer}.modal-close-btn:disabled{cursor:not-allowed;opacity:.4}.modal-body{padding:20px}.modal-body__date-row{display:flex;gap:12px;align-items:flex-end}.modal-body__no-filter-text{margin:0;font-size:14px;color:#6b7280}.modal-message{margin-top:12px;display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:4px;font-size:13px}.modal-message--error{background-color:#fef2f2;color:#991b1b;border:1px solid #fecaca}.modal-message--success{background-color:#f0fdf4;color:#166534;border:1px solid #bbf7d0}.modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 20px 16px;border-top:1px solid #f0f0f0}.modal-btn{padding:8px 16px;border-radius:4px;font-weight:500;font-size:14px;transition:all .15s}.modal-btn:not(:disabled){cursor:pointer}.modal-btn:disabled{cursor:not-allowed;opacity:.5}.modal-btn--cancel{border:1px solid #d1d5db;background-color:#fff;color:#374151}.modal-btn--download{padding:8px 20px;border:none;color:#fff;background-color:#3b82f6}.modal-btn--download:disabled{background-color:#d1d5db;opacity:.7}.inventory-header{width:100%;border-bottom:1px solid #e5e7eb;padding-bottom:1.5rem;margin-bottom:1.5rem}.inventory-header h1{font-size:1.875rem;font-weight:600;color:#111827;margin:0;padding-top:.5rem;padding-bottom:1rem;letter-spacing:-.01em}.header-buttons-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;margin-top:1rem}.button-group{display:flex;flex-direction:column;border-radius:8px;border:1px solid #e5e7eb;background:#fff;overflow:hidden;transition:all .2s ease;box-shadow:0 1px 2px #0000000d}.button-group:hover{box-shadow:0 4px 12px #0000000d}.button-group-label.accordion-toggle{font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;padding:1rem 1.25rem!important;border-bottom:1px solid transparent;color:#374151;transition:background-color .15s ease,color .15s ease}.button-group-label.accordion-toggle[aria-expanded=true]{border-bottom-color:inherit}.button-group-content.accordion-content{padding:1.25rem;display:flex;flex-direction:column;gap:.75rem}@keyframes accordionContentFadeIn{0%{opacity:0}to{opacity:1}}.section-sync-operations{background-color:#eff6ff;border-color:#bfdbfe}.section-sync-operations .button-group-label{color:#1e40af}.section-sync-operations .button-group-label:hover{background-color:#dbeafe}.section-sync-operations .button-group-label[aria-expanded=true]{border-bottom-color:#bfdbfe}.section-audit-reports{background-color:#fffbeb;border-color:#fde68a}.section-audit-reports .button-group-label{color:#92400e}.section-audit-reports .button-group-label:hover{background-color:#fef3c7}.section-audit-reports .button-group-label[aria-expanded=true]{border-bottom-color:#fde68a}.section-reports{background-color:#f0fdf4;border-color:#bbf7d0}.section-reports .button-group-label{color:#166534}.section-reports .button-group-label:hover{background-color:#dcfce7}.section-reports .button-group-label[aria-expanded=true]{border-bottom-color:#bbf7d0}.section-navigation{border:none;box-shadow:none;background:transparent}.section-navigation .button-group-content{padding:0;animation:none;background:transparent}@media (max-width: 768px){.header-buttons-grid{grid-template-columns:1fr}.inventory-header h1{font-size:1.5rem}}.staging-line-item{border-bottom:1px solid #e5e7eb;transition:background-color .15s}.staging-line-item:hover{background-color:#f9fafb}.staging-cell{padding:12px;overflow-wrap:break-word;word-break:break-word;vertical-align:top}.staging-cell-center{padding:12px;text-align:center;overflow-wrap:break-word;word-break:break-word;vertical-align:top}.filename-container{display:flex;flex-direction:column;gap:4px}.filename-text{font-family:monospace;font-weight:500;overflow-wrap:break-word;word-break:break-all}.date-text{color:#000}.status-badge{display:inline-flex;align-items:flex-start;gap:6px;padding:4px 10px;border-radius:12px;font-size:.75rem;font-weight:500;line-height:1.4;max-width:100%;white-space:normal;overflow-wrap:break-word}.status-badge.ready{background-color:#d1fae5;color:#065f46}.status-badge.pending{background-color:#fef3c7;color:#92400e}.actions-container{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.action-btn{padding:6px 12px;border-radius:4px;border:none;color:#fff;font-weight:500;font-size:14px;white-space:nowrap;transition:all .2s;cursor:pointer}.btn-schedule{background-color:#ffd941}.btn-schedule:hover{background-color:#ffd11a}.action-btn:disabled{background-color:#d1d5db!important;cursor:not-allowed}.btn-approve{background-color:#10b981}.btn-approve:not(:disabled):hover{background-color:#059669}.btn-delete{background-color:#ef4444}.btn-delete:not(:disabled):hover{background-color:#dc2626}.inventory-notifications-container{position:relative}.notification-bell{position:relative;background:none;border:none;cursor:pointer;padding:8px;color:#333;transition:color .2s}.notification-bell:hover{color:#007bff}.notification-badge{position:absolute;top:4px;right:4px;background:#dc3545;color:#fff;border-radius:10px;padding:2px 6px;font-size:11px;font-weight:700;min-width:18px;text-align:center}.notification-dropdown{position:absolute;top:100%;right:0;margin-top:8px;width:400px;max-height:500px;background:#fff;border:1px solid #ddd;border-radius:8px;box-shadow:0 4px 12px #00000026;z-index:1000;overflow:hidden}.notification-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #eee;background:#f8f9fa}.notification-header h3{margin:0;font-size:16px;font-weight:600;color:#333}.close-btn{background:none;border:none;font-size:24px;color:#666;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;line-height:1}.close-btn:hover{color:#333}.notification-list{max-height:440px;overflow-y:auto}.no-notifications{padding:32px 16px;text-align:center;color:#999;font-size:14px}.notification-item{display:flex;gap:12px;padding:12px 16px;border-bottom:1px solid #f0f0f0;transition:background-color .2s}.notification-item:hover{background-color:#f8f9fa}.notification-item:last-child{border-bottom:none}.notification-status-icon{flex-shrink:0;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px}.notification-item.success .notification-status-icon{background:#d4edda;color:#28a745}.notification-item.failed .notification-status-icon{background:#f8d7da;color:#dc3545}.notification-content{flex:1;min-width:0}.notification-message{font-size:14px;color:#333;margin-bottom:4px;word-wrap:break-word}.notification-time{font-size:12px;color:#999}.notification-list::-webkit-scrollbar{width:6px}.notification-list::-webkit-scrollbar-track{background:#f1f1f1}.notification-list::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}.notification-list::-webkit-scrollbar-thumb:hover{background:#999}.modal-overlay{position:fixed;inset:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-box{background:#fff;border-radius:12px;padding:24px;width:340px;box-shadow:0 8px 32px #0000002e;display:flex;flex-direction:column;gap:16px}.modal-header{display:flex;align-items:center;justify-content:space-between}.modal-header h3{margin:0;font-size:1.1rem;font-weight:600;color:#1a1a2e}.modal-close-btn{background:none;border:none;font-size:1rem;color:#888;cursor:pointer;padding:2px 6px;border-radius:4px;transition:background .15s}.modal-close-btn:hover{background:#f0f0f0;color:#333}.modal-filename{margin:0;font-size:.82rem;color:#555;word-break:break-all}.filename-display{font-weight:600;color:#1a1a2e}.calendar{border:1px solid #e8e8e8;border-radius:8px;overflow:hidden}.calendar-nav{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:#f7f8fa;border-bottom:1px solid #e8e8e8}.cal-month-label{font-size:.9rem;font-weight:600;color:#1a1a2e}.cal-nav-btn{background:none;border:1px solid #ddd;border-radius:6px;width:28px;height:28px;font-size:1.1rem;line-height:1;cursor:pointer;color:#444;display:flex;align-items:center;justify-content:center;transition:background .15s,border-color .15s}.cal-nav-btn:hover{background:#e8eaf0;border-color:#bbb}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);padding:8px;gap:2px}.cal-day-header{text-align:center;font-size:.72rem;font-weight:600;color:#888;padding:4px 0;text-transform:uppercase;letter-spacing:.04em}.cal-day{text-align:center;padding:6px 2px;border-radius:6px;font-size:.83rem;color:#222;cursor:pointer;transition:background .12s,color .12s;min-height:30px;display:flex;align-items:center;justify-content:center}.cal-day:hover:not(.cal-day-past):not(.cal-day-empty){background:#eef0fb}.cal-day-empty{cursor:default}.cal-day-past{color:#ccc;cursor:not-allowed}.cal-day-today{font-weight:700;color:#4a6cf7}.cal-day-selected{background:#4a6cf7!important;color:#fff!important;font-weight:600}.time-picker{display:flex;align-items:center;gap:12px}.time-label{font-size:.85rem;font-weight:600;color:#444;min-width:36px}.time-controls{display:flex;align-items:center;gap:6px}.time-select{appearance:none;-webkit-appearance:none;border:1px solid #ddd;border-radius:6px;padding:6px 24px 6px 10px;font-size:.88rem;color:#1a1a2e;background:#f7f8fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E") no-repeat right 8px center;background-size:8px;cursor:pointer;transition:border-color .15s;min-width:60px}.time-select:focus{outline:none;border-color:#4a6cf7;box-shadow:0 0 0 2px #4a6cf726}.ampm-select{min-width:68px}.time-colon{font-size:1rem;font-weight:700;color:#444;line-height:1}.modal-error{margin:0;font-size:.82rem;color:#d9534f;background:#fff5f5;border:1px solid #f5c6cb;border-radius:6px;padding:8px 10px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}.btn-secondary{padding:8px 18px;border:1px solid #ddd;border-radius:7px;background:#fff;color:#555;font-size:.88rem;font-weight:500;cursor:pointer;transition:background .15s,border-color .15s}.btn-secondary:hover{background:#f5f5f5;border-color:#bbb}.btn-primary{padding:8px 18px;border:none;border-radius:7px;background:#4a6cf7;color:#fff;font-size:.88rem;font-weight:600;cursor:pointer;transition:background .15s,transform .1s}.btn-primary:hover{background:#3a5ce5}.btn-primary:active{transform:scale(.97)}.staging-manager-container{margin-top:2rem}.staging-manager-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.staging-manager-title{margin:0;font-size:1.5rem;font-weight:600}.staging-manager-controls{display:flex;align-items:center;gap:.75rem}.refresh-btn{padding:8px 16px;border-radius:4px;border:1px solid #d1d5db;background-color:#fff;cursor:pointer;font-weight:500;transition:all .2s}.refresh-btn:not(.loading):hover{background-color:#f9fafb}.refresh-btn.loading{background-color:#f3f4f6;cursor:not-allowed}.message-box{padding:12px;border-radius:4px;margin-bottom:1rem;border:1px solid transparent}.message-box.message-success{background-color:#f0fdf4;color:#166534;border-color:#bbf7d0}.message-box.message-error{background-color:#fef2f2;color:#991b1b;border-color:#fecaca}.message-box.message-info{background-color:#eff6ff;color:#1e40af;border-color:#bfdbfe}.loading-text{text-align:center;color:#6b7280;padding:2rem}.empty-state{text-align:center;color:#6b7280;padding:3rem;background-color:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.empty-state-title{margin:0;font-size:1.1rem}.empty-state-subtext{margin:.5rem 0 0;font-size:.9rem;color:#9ca3af}.table-container{overflow-x:auto}.staging-table{width:100%;table-layout:fixed;border-collapse:collapse;border:1px solid #e5e7eb;background-color:#fff}.staging-table th:nth-child(1){width:28%}.staging-table th:nth-child(2){width:20%}.staging-table th:nth-child(3){width:24%}.staging-table th:nth-child(4){width:28%}.staging-table thead tr{background-color:#f9fafb}.staging-table th{padding:12px;text-align:left;border-bottom:2px solid #e5e7eb;font-weight:600}.staging-table th.center-text{text-align:center}.info-banner{margin-top:1rem;padding:12px;background-color:#eff6ff;border:1px solid #bfdbfe;border-radius:4px;font-size:.875rem;color:#1e40af}.info-banner-subtext{display:block;margin-top:4px;font-style:italic}.modal-overlay{position:fixed;inset:0;background-color:#0009;display:flex;justify-content:center;align-items:center;z-index:1000;padding:2rem}.modal-content{background:#fff;border-radius:12px;width:100vw;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:1px solid #e5e7eb;background:#667eea;color:#fff}.modal-title{display:flex;flex-direction:column;gap:.25rem}.modal-title h2{margin:0;font-size:1.5rem;font-weight:600}.modal-set-name{font-size:1rem;opacity:.9;font-weight:500}.modal-game-name{font-size:.875rem;opacity:.8;font-weight:500;color:#ffffffe6;margin-top:.25rem}.modal-close-button{background:#fff3;border:none;color:#fff;font-size:1.5rem;width:36px;height:36px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s;flex-shrink:0}.modal-close-button:hover{background:#ffffff4d}.modal-body{padding:1.5rem 2rem;overflow-y:auto;overflow-x:auto;flex:1}.inventory-detail-table{width:fit-content;table-layout:auto;border-collapse:collapse;font-size:.8rem}.inventory-detail-table th{text-align:left;padding:.2rem .3rem;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inventory-detail-table td{padding:.2rem .3rem;border-bottom:1px solid #f3f4f6;vertical-align:middle;white-space:nowrap}.inventory-detail-table th,.inventory-detail-table td{padding:.2rem .4rem;border-bottom:1px solid #f3f4f6;vertical-align:middle;white-space:nowrap;min-width:max-content}.my-homes-cell{white-space:nowrap}.homes-dropdown{padding:.3rem .5rem;border:1px solid #d1d5db;border-radius:6px;font-size:.8rem;font-weight:500;background-color:#f9fafb;color:#374151;cursor:pointer;min-width:130px;max-width:200px;transition:border-color .15s,box-shadow .15s}.homes-dropdown:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 2px #667eea33}.no-homes{color:#9ca3af}.location-th{text-align:center;background:#f0f4ff}.location-th-placeholder{text-align:center;font-style:italic}.loc-qty-cell{text-align:center;padding:.2rem .3rem!important}.loc-qty-inner{display:flex;align-items:center;justify-content:center;gap:.25rem}.loc-qty-input{width:100%!important;max-width:80px;min-width:60px;text-align:center;padding:.4rem .5rem!important;font-size:.9rem;border:1px solid #d1d5db;border-radius:6px;font-variant-numeric:tabular-nums;transition:border-color .15s,box-shadow .15s}.loc-qty-input:focus{outline:none;box-shadow:0 0 0 2px #667eea33}.loc-qty-dirty{border-color:#f59e0b!important;background:#fffbeb!important;box-shadow:0 0 0 2px #f59e0b26!important}.loc-save-btn{padding:.3rem .55rem!important;font-size:.775rem!important}.btn-dimmed{opacity:.3!important;pointer-events:none}.loc-spinner{display:inline-block;width:16px;height:16px;border:2px solid #e5e7eb;border-top-color:#667eea;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.master-total-th{text-align:center;cursor:help}.master-total-cell{text-align:center;font-size:.95rem;font-weight:700;color:#111827;font-variant-numeric:tabular-nums}.sticky-row{background-color:#fffbeb}.sticky-row:hover{background-color:#fef3c7}.condition-badge,.printing-badge{display:inline-block;padding:.25rem .75rem;border-radius:9999px;font-size:.8rem;font-weight:600;text-transform:uppercase}.condition-nm,.condition-near-mint{background:#dcfce7;color:#166534}.condition-lp,.condition-lightly-played{background:#fef9c3;color:#854d0e}.condition-mp,.condition-moderately-played{background:#ffedd5;color:#9a3412}.condition-hp,.condition-heavily-played{background:#fee2e2;color:#991b1b}.condition-damaged{background:#f3f4f6;color:#6b7280}.printing-foil,.printing-holofoil{background:#fbbf24;color:#fff}.printing-normal{background:#f3f4f6;color:#4b5563}.printing-reverse,.printing-reverse-holofoil{background:#c4b5fd;color:#4c1d95}.quantity-input,.price-input{width:80px;padding:.5rem;border:1px solid #d1d5db;border-radius:6px;font-size:.9rem;text-align:center}.quantity-input:focus,.price-input:focus{outline:none;border-color:#667eea}.requested-quantity{font-weight:500;color:#6b7280}.requested-quantity.has-requests{color:#dc2626;font-weight:600}.price-cell{display:flex;align-items:center;gap:.5rem}.price-input.sticky-price{background-color:#fef3c7;border-color:#f59e0b;color:#92400e}.sticky-badge{font-size:.9rem;cursor:help;animation:pulse 2s infinite}.action-buttons{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:.4rem;width:max-content}.action-button{padding:.25rem .4rem;border:none;border-radius:6px;font-size:.75rem;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap;flex:1 1 0;text-align:center}.action-button:disabled{opacity:.5;cursor:not-allowed}.update-button{background:#3b82f6;color:#fff}.update-button:hover:not(:disabled){background:#2563eb}.churn-button{background:#6366f1;color:#fff}.churn-button:hover:not(:disabled){background:#4f46e5}.sticky-button{background:#f59e0b;color:#fff;transition:all .2s ease}.sticky-button:hover:not(:disabled){background:#d97706;transform:translateY(-1px)}.sticky-button.is-sticky{background:#10b981;box-shadow:inset 0 2px 4px #0000001a}.sticky-button.is-sticky:hover:not(:disabled){background:#059669}.shelf-location-control{display:flex;gap:.4rem;align-items:center;flex-wrap:nowrap;flex-shrink:0}.shelf-select{padding:.4rem .5rem;border:1px solid #374151;border-radius:6px;font-size:.8rem;font-weight:600;background:#1f2937;color:#f9fafb;cursor:pointer;transition:all .2s;appearance:none;-webkit-appearance:none;text-align:center}.shelf-select:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 2px #6366f140}.shelf-select:disabled{opacity:.5;cursor:not-allowed}.shelf-select--letter,.shelf-select--number{width:3rem}.shelf-confirm-button{background:#6366f1;color:#fff;min-width:2.8rem}.shelf-confirm-button:hover:not(:disabled){background:#4f46e5;transform:translateY(-1px)}.shelf-confirm-button.shelf-confirm-button--saved{background:#10b981;color:#fff;cursor:default}.shelf-confirm-button.shelf-confirm-button--saved:hover:not(:disabled){background:#059669;transform:none}@keyframes rowSuccessFlash{0%{background-color:transparent}20%{background-color:#22c55e26}80%{background-color:#22c55e1a}to{background-color:transparent}}tr.row-success{animation:rowSuccessFlash 1.8s ease forwards}@keyframes buttonSuccessPop{0%{transform:scale(1)}40%{transform:scale(1.18)}to{transform:scale(1)}}.action-button.button-success{background-color:#16a34a!important;border-color:#15803d!important;color:#fff!important;animation:buttonSuccessPop .35s ease;transition:background-color .2s,border-color .2s}@media (max-width: 768px){.modal-content{width:100vw;max-height:100vh;border-radius:0}.modal-body{padding:1rem}.loc-qty-inner{display:flex;align-items:center;justify-content:center;gap:.35rem;width:max-content;margin:0 auto}}.requested-col{width:1%;text-align:center!important}.col-shrink{width:1px!important;min-width:0!important;white-space:nowrap!important;text-align:center!important}.modal-close-confirm-panel{background:#fff;border-radius:12px;width:320px;max-width:90vw;padding:1.5rem;box-shadow:0 20px 60px #0000004d;text-align:center}.modal-close-confirm-panel p{margin:0 0 1.25rem;font-size:1rem;font-weight:600;color:#111827}.modal-close-confirm-actions{display:flex;justify-content:center;gap:.75rem}.modal-close-confirm-actions button{padding:.5rem 1.25rem;border:none;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:background .2s}.modal-close-confirm-actions button:first-child{background:#667eea;color:#fff}.modal-close-confirm-actions button:first-child:hover{background:#4f46e5}.modal-close-confirm-actions button:last-child{background:#f3f4f6;color:#374151}.modal-close-confirm-actions button:last-child:hover{background:#e5e7eb}.search-results-container{padding:1.5rem}.results-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #e5e7eb}.results-header h3{margin:0;font-size:1.25rem;color:#111827;font-weight:600}.results-count{color:#6b7280;font-size:.9rem}.grouped-results-grid{display:flex;flex-direction:column;gap:.75rem}.result-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:1rem 1.25rem;cursor:pointer;transition:all .2s ease;box-shadow:0 1px 2px #0000000d;display:flex;align-items:center;justify-content:space-between;gap:1.5rem}.result-card:hover{transform:translate(4px);box-shadow:0 4px 12px #0000001a;border-color:#667eea}.result-card-header{display:flex;flex-direction:column;gap:.25rem;width:280px;flex-shrink:0;flex-grow:0}.product-name{margin:0;font-size:1rem;font-weight:600;color:#111827;line-height:1.3;white-space:nowrap}.set-name{display:inline-block;background:#667eea;color:#fff;padding:.2rem .6rem;border-radius:9999px;font-size:.75rem;font-weight:500;width:fit-content;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.game-name{display:inline-block;background:#10b981;color:#fff;padding:.2rem .6rem;border-radius:9999px;font-size:.7rem;font-weight:500;width:fit-content;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;margin-top:.25rem}.result-card-stats{display:flex;gap:0;flex:1;justify-content:center;align-items:center}.stat{display:flex;flex-direction:column;align-items:center;gap:.2rem;width:80px;flex-shrink:0}.stat-label{font-size:.7rem;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;text-align:center}.stat-value{font-size:1.1rem;font-weight:600;color:#111827;text-align:center}.stat-value.has-requests{color:#dc2626}.stat-value.in-stock{color:#059669}.stat-value.low-stock{color:#dc2626}.result-card-footer{display:flex;align-items:center;flex-shrink:0;width:140px;justify-content:flex-end}.click-hint{font-size:.8rem;color:#667eea;font-weight:500;white-space:nowrap}.no-results{padding:3rem;text-align:center;color:#6b7280;font-size:1.1rem}@media (max-width: 768px){.result-card{flex-direction:column;align-items:flex-start;gap:1rem;padding:1rem}.result-card-header{width:100%;min-width:unset}.product-name{white-space:normal}.result-card-stats{width:100%;justify-content:space-between;gap:.5rem}.stat{width:auto;flex:1;min-width:60px}.result-card-footer{width:100%;justify-content:flex-end}}.inventory-filter{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:1rem;margin-top:1rem}.filter-row{display:flex;gap:1rem;margin-bottom:1rem}.filter-row:last-child{margin-bottom:0}.filter-field{flex:1;min-width:0;display:flex;flex-direction:column;gap:.25rem}.filter-field.full-width{flex:1 1 100%;min-width:100%}.filter-label{font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.25rem;white-space:nowrap}.filter-input{padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;background:#fff;transition:border-color .15s,box-shadow .15s;width:100%;box-sizing:border-box}.filter-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.filter-input:disabled{background:#f3f4f6;cursor:not-allowed}.filter-select{cursor:pointer}.autocomplete-wrapper{position:relative;width:100%}.input-spinner{position:absolute;right:2.5rem;top:50%;transform:translateY(-50%);width:16px;height:16px;border:2px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite}.selected-badge{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);color:#10b981;font-weight:700;font-size:.875rem}.autocomplete-dropdown{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #d1d5db;border-radius:6px;box-shadow:0 4px 6px -1px #0000001a;max-height:250px;overflow-y:auto;z-index:50;margin-top:.25rem;padding:.25rem 0;list-style:none}.autocomplete-option{padding:.5rem .75rem;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:.5rem;transition:background-color .15s}.autocomplete-option:hover{background:#f3f4f6}.option-main{font-weight:500;color:#111827}.option-meta{font-size:.75rem;color:#6b7280;background:#f3f4f6;padding:.125rem .375rem;border-radius:4px}.filter-actions{display:flex;justify-content:flex-end;gap:.75rem;margin-top:.5rem;padding-top:.75rem;border-top:1px solid #e2e8f0}.filter-btn{padding:.5rem 1rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .15s;border:none}.filter-btn:disabled{opacity:.5;cursor:not-allowed}.filter-btn-clear{background:#f3f4f6;color:#374151}.filter-btn-clear:hover:not(:disabled){background:#e5e7eb}@media (max-width: 768px){.filter-row{flex-direction:column}.filter-field{min-width:100%}}.filter-row-toggle{margin-bottom:0}.toggle-pill{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem .875rem .4rem .5rem;border-radius:9999px;border:1.5px solid #d1d5db;background:#fff;color:#6b7280;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;-webkit-user-select:none;user-select:none}.toggle-pill:hover:not(:disabled){border-color:#3b82f6;color:#374151;background:#eff6ff}.toggle-pill:disabled{opacity:.5;cursor:not-allowed}.toggle-pill-active{border-color:#3b82f6;background:#eff6ff;color:#1d4ed8}.toggle-pill-indicator{width:16px;height:16px;border-radius:50%;border:1.5px solid #d1d5db;background:#fff;flex-shrink:0;transition:all .2s ease;position:relative}.toggle-pill-active .toggle-pill-indicator{border-color:#3b82f6;background:#3b82f6}.toggle-pill-active .toggle-pill-indicator:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-55%) rotate(45deg);width:4px;height:7px;border-right:1.5px solid white;border-bottom:1.5px solid white}.toggle-pill-label{line-height:1}.toggle-pill-badge{font-size:.7rem;font-weight:600;background:#3b82f6;color:#fff;padding:.1rem .4rem;border-radius:4px;margin-left:.15rem}.filter-btn-search{background:#3b82f6;color:#fff}.filter-btn-search:hover:not(:disabled){background:#2563eb}.filter-btn-search:disabled{background:#9ca3af;cursor:not-allowed}.transfer-search-filter{display:flex;flex-direction:column;gap:1rem;padding:1rem;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.tsf-row{display:flex;gap:1rem;flex-wrap:wrap}.tsf-row-top{align-items:flex-end}.tsf-actions{justify-content:flex-end;margin-top:.5rem;padding-top:.75rem;border-top:1px solid #e2e8f0}.tsf-field{display:flex;flex-direction:column;flex:1;min-width:200px}.tsf-field.full-width{flex:1 1 100%}.tsf-label{font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.25rem}.tsf-input{width:100%;padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:6px;background:#fff;font-size:.875rem;transition:border-color .15s,box-shadow .15s;box-sizing:border-box}.tsf-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.tsf-input:disabled{background:#f3f4f6;cursor:not-allowed}.tsf-button{padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;border:none;transition:all .15s}.tsf-button:disabled{opacity:.5;cursor:not-allowed}.tsf-button-secondary{background:#f3f4f6;color:#374151}.tsf-button-secondary:hover:not(:disabled){background:#e5e7eb}.tsf-button-primary{background:#3b82f6;color:#fff}.tsf-button-primary:hover:not(:disabled){background:#2563eb}.transfer-table{display:flex;flex-direction:column;gap:1rem}.tt-empty{padding:3rem;text-align:center;color:#6b7280;border:1px dashed #d1d5db;border-radius:8px;background:#fafafa;font-size:1.1rem}.tt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}.tt-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:1rem 1.25rem;display:flex;flex-direction:column;gap:.75rem;cursor:pointer;transition:all .2s ease;box-shadow:0 1px 2px #0000000d}.tt-card:hover{transform:translate(4px);box-shadow:0 4px 12px #0000001a;border-color:#667eea}.tt-card-header{border-bottom:1px solid #f3f4f6;padding-bottom:.5rem}.tt-product-name{font-weight:600;font-size:1rem;color:#111827;line-height:1.3}.tt-card-body{display:flex;flex-direction:column;gap:.4rem}.tt-row{display:flex;justify-content:space-between;font-size:.875rem}.tt-label{color:#6b7280}.tt-value{font-weight:600;color:#111827}.tim-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem}.tim-modal{width:700px;max-width:95%;max-height:90vh;background:#fff;border-radius:12px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px #0000004d}.tim-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:1px solid #e5e7eb;background:#667eea;color:#fff}.tim-product{font-size:1.5rem;font-weight:600;color:#fff;margin-bottom:.25rem}.tim-sub{font-size:1rem;opacity:.9;font-weight:500}.tim-close{background:#fff3;border:none;color:#fff;font-size:1.5rem;width:36px;height:36px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s;flex-shrink:0}.tim-close:hover{background:#ffffff4d}.tim-grid{display:grid;grid-template-columns:1fr 1fr 1fr 1.2fr 1.2fr;gap:.5rem;align-items:center}.tim-shelf select{width:100%;padding:.35rem .5rem;border:1px solid #d1d5db;border-radius:6px;font-size:.85rem}.tim-grid-header{padding:.75rem 1rem;font-size:.9rem;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb}.tim-body{overflow-y:auto;padding:.5rem 1rem;display:flex;flex-direction:column;gap:.5rem}.tim-row{padding:.5rem 0;border-bottom:1px solid #f3f4f6;font-size:.9rem}.tim-empty{padding:2rem;text-align:center;color:#6b7280}.tim-qty{display:flex;align-items:center;gap:.5rem}.tim-qty-btn{width:28px;height:28px;border:1px solid #d1d5db;background:#fff;border-radius:6px;cursor:pointer;transition:border-color .15s,box-shadow .15s}.tim-qty-btn:hover{background:#f9fafb}.tim-qty-btn:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 2px #667eea33}.tim-qty-value{min-width:20px;text-align:center;font-variant-numeric:tabular-nums}.tim-footer{padding:1rem 2rem;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end}.tim-add-button{padding:.5rem 1rem;border-radius:6px;border:none;background:#3b82f6;color:#fff;font-weight:500;cursor:pointer;transition:background-color .15s}.tim-add-button:hover{background:#2563eb}.transfer-bucket{display:flex;flex-direction:column;gap:1rem;border:1px solid #e5e7eb;border-radius:8px;background:#fff;padding:1.25rem;box-shadow:0 1px 2px #0000000d}.tb-header{display:flex;justify-content:space-between;align-items:center}.tb-header h3{margin:0;font-size:1.25rem;font-weight:600;color:#111827}.tb-clear-btn{background:none;border:none;color:#6b7280;font-size:.875rem;cursor:pointer}.tb-clear-btn:hover{text-decoration:underline;color:#374151}.tb-empty{padding:2rem;text-align:center;color:#6b7280;border:1px dashed #d1d5db;border-radius:8px;background:#f9fafb}.tb-list{display:flex;flex-direction:column;gap:.75rem}.tb-item{display:flex;justify-content:space-between;align-items:center;border:1px solid #e5e7eb;border-radius:8px;padding:.75rem 1rem;transition:all .15s ease;background:#fff}.tb-item:hover{border-color:#3b82f6;box-shadow:0 2px 8px #3b82f60d}.tb-info{display:flex;flex-direction:column;gap:.25rem}.tb-product{font-weight:600;font-size:.95rem;color:#111827}.tb-sub{font-size:.8rem;color:#6b7280}.tb-qty{display:flex;align-items:center;gap:.5rem}.tb-qty-btn{width:28px;height:28px;border:1px solid #d1d5db;background:#fff;border-radius:6px;cursor:pointer;transition:border-color .15s,box-shadow .15s}.tb-qty-btn:hover{background:#f9fafb}.tb-qty-btn:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 2px #667eea33}.tb-qty-value{min-width:24px;text-align:center;font-size:.875rem;font-weight:500;font-variant-numeric:tabular-nums}.tb-shelf{font-size:.875rem;color:#6b7280}.tb-transfer-controls{margin-top:1rem;padding-top:1rem;border-top:1px solid #e5e7eb;display:flex;flex-direction:column;gap:1rem}.tb-location-summary{display:flex;flex-direction:column;gap:.5rem}.tb-location-row{display:flex;justify-content:space-between;font-size:.875rem}.tb-location-label{color:#6b7280}.tb-location-value{font-weight:600;color:#111827}.tb-submit-btn{padding:.6rem 1rem;border-radius:6px;font-size:.875rem;font-weight:500;border:none;background:#3b82f6;color:#fff;cursor:pointer;transition:background-color .15s;width:100%}.tb-submit-btn:hover:not(:disabled){background:#2563eb}.tb-submit-btn:disabled{background:#9ca3af;cursor:not-allowed;opacity:.7}.tb-status{padding:.75rem 1rem;border-radius:6px;font-size:.875rem;font-weight:500;display:flex;justify-content:space-between;align-items:center}.tb-status--success{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}.tb-status--error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.tb-status-dismiss{background:none;border:none;color:inherit;font-size:1.25rem;cursor:pointer;opacity:.7}.tb-status-dismiss:hover{opacity:1}.mode-selector{position:relative;display:inline-block}.mode-selector-trigger{display:flex;align-items:center;justify-content:space-between;min-width:150px;padding:.5rem 1rem;background-color:#fff;border:1px solid #d1d5db;border-radius:8px;font-size:.875rem;font-weight:500;color:#374151;cursor:pointer;transition:all .2s ease;box-shadow:0 1px 2px #0000000d}.mode-selector-trigger:hover{background-color:#f9fafb;border-color:#9ca3af}.mode-selector-trigger:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.mode-selector-dropdown{position:absolute;top:calc(100% + .35rem);right:0;min-width:180px;background-color:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 10px 25px -5px #0000001a,0 8px 10px -6px #0000001a;padding:.35rem 0;z-index:50;animation:dropdownFadeIn .15s ease-out forwards;transform-origin:top right}@keyframes dropdownFadeIn{0%{opacity:0;transform:scale(.95) translateY(-4px)}to{opacity:1;transform:scale(1) translateY(0)}}.mode-selector-item{padding:.5rem 1rem;font-size:.875rem;color:#4b5563;cursor:pointer;transition:background-color .15s ease,color .15s ease}.mode-selector-item:hover{background-color:#f3f4f6;color:#111827}.mode-selector-item.active{background-color:#eff6ff;color:#1d4ed8;font-weight:500}.order-details-placeholder{display:flex;align-items:center;justify-content:center;height:100%;font-size:1.25rem;color:#6b7280}.order-details-card{background-color:#fff;border:1px solid #e5e7eb;border-radius:.5rem;box-shadow:0 1px 3px #0000001a;padding:1.5rem}.order-details-header{display:flex;flex-direction:column;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #e5e7eb;width:100%}.order-details-header h2{font-size:2rem;font-weight:600;margin:0 0 .5rem}.order-details-header .date{font-size:1rem;color:#6b7280;margin-top:.75rem}.order-header-main{display:flex;flex-direction:column;width:100%}.order-title-section{margin-bottom:.5rem}.order-title-section h2{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}.confirmation-number{font-size:.75em;opacity:.7;margin-left:.5rem}.badge-group{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:.75rem}.financial-status-badge,.fulfillment-status-badge,.delivery-method-badge{display:inline-block;padding:.25rem .75rem;border-radius:.375rem;font-size:.875rem;font-weight:500;text-transform:capitalize}.financial-status-badge.paid{background-color:#d1fae5;color:#065f46;border:1px solid #6ee7b7}.financial-status-badge.pending,.financial-status-badge.authorized{background-color:#fef3c7;color:#92400e;border:1px solid #f59e0b}.financial-status-badge.refunded{background-color:#dbeafe;color:#1e40af;border:1px solid #93c5fd}.financial-status-badge.voided{background-color:#fee2e2;color:#dc2626;border:1px solid #fca5a5}.fulfillment-status-badge{background-color:#e0e7ff;color:#3730a3}.fulfillment-status-badge.pulling{background-color:#fed7aa;color:#92400e}.fulfillment-status-badge.ready_for_pickup{background-color:#a7f3d0;color:#065f46}.fulfillment-status-badge.partial{background:#f59e0b;color:#fff}.delivery-method-badge{background-color:#f3e8ff;color:#6b21a8}.shipping-type-badge{display:inline-block;padding:4px 12px;border-radius:12px;font-size:.875rem;font-weight:500;background-color:#e0e7ff;color:#4338ca;margin-left:8px;margin-top:4px}.shipping-type-badge.economy{background-color:#dbeafe;color:#1e40af}.shipping-type-badge.standard{background-color:#e0e7ff;color:#4338ca}.adjustment-notice{padding:.75rem 1rem;background-color:#fef2f2;border-left:4px solid #ef4444;border-radius:.375rem;margin-bottom:1rem;color:#991b1b;font-size:.875rem}.pulling-notice{padding:.75rem 1rem;background-color:#fffbeb;border-left:4px solid #f59e0b;border-radius:.375rem;margin-bottom:1rem;color:#92400e;font-size:.875rem;font-weight:500}.customer-info-grid{margin-top:1.5rem;margin-bottom:1.5rem;padding:1rem;background-color:#f9fafb;border-radius:.375rem}.customer-info-grid .customer-name{font-size:1.125rem;font-weight:600;color:#1f2937;margin:0 0 .25rem}.customer-info-grid .customer-contact p{margin:0;color:#4b5563;font-size:.875rem}.customer-info-grid .shipping-address{margin-top:.75rem;padding-top:.75rem;border-top:1px solid #e5e7eb}.customer-info-grid address{font-style:normal;line-height:1.5;color:#374151;font-size:.875rem}@media (max-width: 768px){.order-details-header{padding-bottom:.75rem}}.order-items-list{margin-bottom:1.5rem}.set-group{margin-bottom:1.5rem;border-left:2px solid #dbeafe;padding-left:1rem}.set-group.set-group-foil{background-color:#fdeaff;border-left-color:#6b21a8;padding-top:.5rem;padding-bottom:.5rem;border-radius:.25rem}.set-group-header{font-size:1.125rem;font-weight:600;color:#374151;margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:1px solid #e5e7eb}.condition-badge{display:inline-block;padding:.25rem .75rem;border-radius:.375rem;font-size:.875rem;font-weight:500}.condition-badge.near-mint{background-color:#00ff59}.condition-badge.lightly-played{background-color:#ffea00}.condition-badge.moderately-played{background-color:#f80}.condition-badge.heavily-played{background-color:red}.code-location-group{margin-bottom:1rem}.code-location-header{font-size:.875rem;color:#202022;margin-bottom:.5rem;font-weight:500}.order-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;border-radius:.375rem;background-color:#fff;border:2px solid #252525;margin-bottom:.5rem;transition:all .15s ease}.order-item:hover{border-color:#8a8a8a;box-shadow:0 1px 3px #0000000d}.order-item.high-value{background:#ffed84;border:2px solid #daa520;box-shadow:0 2px 8px #daa5204d}.order-item.adjusted{opacity:.7;background-color:#f9fafb}.order-item.refunded{border-left:3px solid #10b981;background-color:#f3f4f6}.order-item.removed{border-left:3px solid #6b7280;background-color:#f3f4f6}.order-item .quantity{font-weight:600;color:#374151;min-width:2rem}.order-item .product-title{flex:1;color:#111827}.order-item .status-badge{padding:.25rem .75rem;border-radius:.25rem;font-size:.75rem;font-weight:600;background-color:#f3f4f6;color:#6b7280}.status-tag{padding:.25rem .5rem;border-radius:.25rem;font-size:.75rem;font-weight:600;text-transform:uppercase}.refunded-tag{background-color:#d1fae5;color:#065f46}.missing-tag{font-weight:700;color:#b91c1c;background-color:#fee2e2;padding:.25rem .5rem;border-radius:.25rem;font-size:.75rem}.missing-button,.mark-missing-button{padding:.375rem .75rem;background-color:#fee2e2;color:#991b1b;border:1px solid #fca5a5;border-radius:.375rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .15s ease}.missing-button:hover:not(:disabled),.mark-missing-button:hover:not(:disabled){background-color:#fecaca;border-color:#f87171}.missing-button:disabled,.mark-missing-button:disabled{opacity:.5;cursor:not-allowed}.partial-pickup-button{background:#119b0c}.modal-overlay{position:fixed;inset:0;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease-out}.modal-container{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;max-width:480px;width:90%;max-height:90vh;overflow:hidden;animation:slideUp .3s ease-out}.modal-container--large{max-width:600px}.modal-container--scrollable{display:flex;flex-direction:column}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{background:#667eea;padding:1.5rem;border-bottom:1px solid #e5e7eb}.modal-header--highlighted{background:#667eea;color:#fff}.modal-header h2,.modal-header h3{margin:0;font-size:1.25rem;font-weight:600;color:#111827}.modal-header--highlighted h2,.modal-header--highlighted h3{color:#fff}.modal-subtitle{margin:.5rem 0 0;font-size:.875rem;color:#6b7280;line-height:1.5}.modal-header--highlighted .modal-subtitle{color:#ffffffe6}.modal-order-number{display:inline-block;margin-left:.75rem;font-size:.875rem;font-weight:600;color:#000;background-color:#fff;margin-top:1rem;padding:1rem;border-radius:5px}.modal-header--highlighted .modal-order-number{background-color:#fff3;color:#fff}.modal-body{padding:1.5rem}.modal-body--scrollable{overflow-y:auto;max-height:50vh}.modal-footer{padding:1rem 1.5rem;background-color:#f9fafb;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;gap:.75rem}.modal-button{padding:.625rem 1.25rem;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .15s ease;border:none;outline:none}.modal-button:focus{outline:2px solid transparent;outline-offset:2px}.modal-button:disabled{opacity:.6;cursor:not-allowed}.modal-button--secondary{background-color:#fff;color:#374151;border:1px solid #d1d5db}.modal-button--secondary:hover:not(:disabled){background-color:#f9fafb;border-color:#9ca3af}.modal-button--secondary:active:not(:disabled){background-color:#f3f4f6}.modal-button--primary{background-color:#2563eb;color:#fff;border:1px solid #2563eb}.modal-button--primary:hover:not(:disabled){background-color:#1d4ed8;border-color:#1d4ed8}.modal-button--primary:active:not(:disabled){background-color:#1e40af;border-color:#1e40af}.modal-button--primary:focus{box-shadow:0 0 0 3px #2563eb33}.modal-button--success{background-color:#10b981;color:#fff;border:1px solid #10b981}.modal-button--success:hover:not(:disabled){background-color:#059669;border-color:#059669;transform:translateY(-1px);box-shadow:0 4px 12px #10b98166}.modal-button--success:active:not(:disabled){background-color:#047857;border-color:#047857}.pp-status-summary{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:16px;padding:12px;background:#f9fafb;border-radius:8px}.pp-status-row{display:flex;align-items:center;gap:6px;font-size:.85rem;color:#4b5563}.pp-status-dot{width:8px;height:8px;border-radius:50%}.pp-status-dot--fulfilled{background:#10b981}.pp-status-dot--reserved{background:#f59e0b}.pp-status-dot--pending{background:#3b82f6}.pp-select-all{margin-bottom:16px;padding-bottom:12px;border-bottom:2px solid #f3f4f6}.pp-checkbox-label{display:flex;align-items:center;gap:10px;cursor:pointer;font-weight:500;color:#374151}.pp-checkbox-label input[type=checkbox]{width:18px;height:18px;cursor:pointer}.pp-section{margin-bottom:16px}.pp-section-header{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;padding:8px 12px;margin:0 0 8px;border-radius:6px}.pp-section-header--fulfilled{background:#d1fae5;color:#065f46}.pp-section-header--reserved{background:#fef3c7;color:#92400e}.pp-section-header--pending{background:#dbeafe;color:#1e40af}.pp-item{padding:12px;border-radius:8px;border:2px solid #e5e7eb;transition:all .2s ease;margin-bottom:8px}.pp-item--selected{background:#ecfdf5;border-color:#10b981}.pp-item--unselected{background:#f9fafb;border-color:#e5e7eb}.pp-item--fulfilled{background:#f0fdf4;border-color:#a7f3d0;opacity:.8}.pp-item--reserved{background:#fffbeb;border-color:#fcd34d}.pp-item-label{display:flex;align-items:center;gap:12px;cursor:pointer}.pp-item--fulfilled .pp-item-label{cursor:default}.pp-item-label input[type=checkbox]{width:18px;height:18px;flex-shrink:0}.pp-item-label input[type=checkbox]:disabled{opacity:.5;cursor:not-allowed}.pp-item-details{flex:1}.pp-item-title{font-weight:600;color:#111827;margin-bottom:4px;font-size:.95rem}.pp-item--fulfilled .pp-item-title{text-decoration:line-through;color:#6b7280}.pp-item-meta{font-size:.85rem;color:#6b7280}.pp-item-note{font-size:.8rem;color:#d97706;margin-top:4px;font-style:italic}.pp-item-price{font-weight:600;color:#059669;font-size:1rem;min-width:60px;text-align:right}.pp-item--fulfilled .pp-item-price{color:#9ca3af;text-decoration:line-through}.pp-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em;flex-shrink:0}.pp-badge--fulfilled{background:#10b981;color:#fff}.pp-badge--reserved{background:#f59e0b;color:#fff}.pp-summary{margin-top:20px;padding:16px;background:#f3f4f6;border-radius:8px}.pp-summary-row{display:flex;justify-content:space-between;margin-bottom:8px;color:#4b5563;font-size:.9rem}.pp-summary-row--fulfilled{color:#10b981}.pp-summary-row--total{margin-top:12px;padding-top:12px;border-top:2px solid #d1d5db;font-size:1rem;color:#111827;font-weight:600}.pp-summary-row--grand{margin-top:8px;padding-top:8px;border-top:1px dashed #9ca3af;font-size:.95rem;color:#374151}.shipping-inputs{display:flex;flex-direction:column;gap:1rem}.shipping-input-group{display:flex;flex-direction:column;gap:.375rem}.shipping-label{font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.25rem}.shipping-input{width:100%;padding:.625rem .875rem;font-size:.9375rem;border:1px solid #d1d5db;border-radius:.5rem;background:#fff;color:#111827;transition:all .15s ease;box-sizing:border-box}.shipping-input::placeholder{color:#9ca3af}.shipping-input:hover{border-color:#9ca3af}.shipping-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.shipping-input:disabled{background-color:#f3f4f6;color:#6b7280;cursor:not-allowed;opacity:.6}.shipping-tracking-toggle{margin-bottom:1rem;padding:.75rem;background-color:#f0f9ff;border:1px solid #bae6fd;border-radius:.5rem}.shipping-toggle-label{display:flex;align-items:center;gap:.75rem;cursor:pointer;font-size:.9375rem;color:#0c4a6e;font-weight:500}.shipping-toggle-checkbox{width:1.25rem;height:1.25rem;cursor:pointer;accent-color:#0284c7;flex-shrink:0}.shipping-toggle-text{-webkit-user-select:none;user-select:none}.shipping-no-tracking-notice{display:flex;align-items:center;gap:.75rem;padding:1rem;background-color:#fef3c7;border:1px solid #fcd34d;border-radius:.5rem;margin-top:.5rem}.shipping-notice-icon{font-size:1.5rem;flex-shrink:0}.shipping-no-tracking-notice p{margin:0;font-size:.9375rem;color:#92400e;font-weight:500}.shipping-error{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;margin-bottom:1rem;background-color:#fef2f2;border:1px solid #fecaca;border-radius:.5rem;color:#dc2626;font-size:.875rem;font-weight:500;animation:shake .3s ease-in-out}.shipping-error-icon{font-size:1rem;flex-shrink:0}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-4px)}75%{transform:translate(4px)}}@media (max-width: 480px){.shipping-inputs{gap:.875rem}.shipping-input{padding:.75rem;font-size:1rem}.shipping-error{font-size:.8125rem;padding:.625rem .875rem}.shipping-tracking-toggle{padding:.625rem}.shipping-toggle-label{font-size:.875rem}.shipping-no-tracking-notice{padding:.75rem}.shipping-no-tracking-notice p{font-size:.875rem}}.order-actions{margin-top:1rem;display:flex;gap:.75rem;justify-content:stretch;align-items:stretch;flex-wrap:nowrap;width:100%}.order-actions>*{flex:1;min-width:0;display:flex}.order-actions>*>button,.order-actions>button{width:100%;min-height:44px;padding:.5rem .25rem;font-weight:700;border:none;border-radius:.5rem;cursor:pointer;transition:background-color .2s,opacity .2s;font-size:.875rem;white-space:normal;word-wrap:break-word;overflow-wrap:break-word;text-align:center;line-height:1.2;display:flex;flex-direction:column;justify-content:center;align-items:center}.complete-button,.pulling-button,.cancel-button,.mark-as-paid-button,.refund-shipping-button,.preorder-button,.partial-pickup-button,.refund-button,.print-slip-button,.print-sticker-button,.manage-refund-button{flex:1;padding:.5rem .75rem;font-size:.8125rem;font-weight:500;border:none;border-radius:.375rem;cursor:pointer;transition:all .2s ease;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.complete-button:disabled,.pulling-button:disabled,.cancel-button:disabled,.mark-as-paid-button:disabled,.refund-shipping-button:disabled,.preorder-button:disabled,.partial-pickup-button:disabled,.refund-button:disabled,.print-slip-button:disabled,.print-sticker-button:disabled,.manage-refund-button:disabled{opacity:.5;cursor:not-allowed}.complete-button{background-color:#10b981;color:#fff}.complete-button:hover:not(:disabled){background-color:#059669}.complete-button:disabled{background-color:#9ca3af;opacity:.6;transform:none;box-shadow:none}.partial-pickup-button{background-color:#10b981;color:#fff}.partial-pickup-button:hover:not(:disabled){background-color:#059669}.pulling-button{background-color:#f59e0b;color:#fff}.pulling-button:hover:not(:disabled){background-color:#d97706}.pulling-button:disabled{background-color:#9ca3af;opacity:.6;transform:none;box-shadow:none}.pulling-button:not(:disabled){animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.8}}.cancel-button{background-color:#ef4444;color:#fff}.cancel-button:hover:not(:disabled){background-color:#dc2626}.cancel-button:disabled{background-color:#fca5a5;opacity:.6}.mark-as-paid-button{background-color:#3b82f6;color:#fff}.mark-as-paid-button:hover:not(:disabled){background-color:#2563eb}.preorder-button{background-color:#8b5cf6;color:#fff}.preorder-button:hover:not(:disabled){background-color:#7c3aed}.preorder-button.preorder-active{background-color:#6d28d9}.preorder-button.preorder-active:hover:not(:disabled){background-color:#5b21b6}.refund-button{background-color:#f59e0b;color:#fff}.refund-button:hover:not(:disabled){background-color:#d97706}.print-slip-button{background-color:#06b6d4;color:#fff}.print-slip-button:hover:not(:disabled){background-color:#0891b2}.print-sticker-button{background-color:#4f46e5;color:#fff}.print-sticker-button:hover:not(:disabled){background-color:#3730a3}.manage-refund-button{background-color:#f59e0b;color:#fff}.manage-refund-button:hover:not(:disabled){background-color:#d97706}.tracking-inputs{display:flex;gap:.5rem;width:100%}@media (max-width: 1024px){.order-actions{gap:.5rem}.order-actions>*>button,.order-actions>button{font-size:.8rem;padding:.5rem .25rem}}@media (max-width: 768px){.order-actions{gap:.5rem}.order-actions>*>button,.order-actions>button{font-size:.75rem;padding:.5rem .2rem;min-height:40px;line-height:1.15}}@media (max-width: 640px){.order-actions{flex-wrap:wrap;gap:.5rem}.order-actions>*{flex:1 1 calc(50% - .25rem);min-width:120px}}.main-app{display:flex;height:100vh;width:100%}.main-content{flex-grow:1;padding:2rem;overflow-y:auto;background-color:#f9fafb}.sidebar{width:25%;min-width:300px;background-color:#fff;border-right:1px solid #e5e7eb;display:flex;flex-direction:column;overflow-y:auto}.sidebar-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid #e5e7eb;flex-wrap:wrap;gap:.5rem}.sidebar-header h2{font-size:1.5rem;font-weight:700;margin:0;flex:1;min-width:150px}.header-buttons-container{display:flex;gap:.5rem;flex-wrap:wrap}.page-selector{padding:.5rem .75rem;font-size:.95rem;font-weight:500;border:1px solid #d1d5db;border-radius:.375rem;background-color:#fff;color:#374151;cursor:pointer;transition:all .2s ease;min-width:150px}.page-selector:hover{border-color:#9ca3af;background-color:#f9fafb}.page-selector:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.refresh-button{padding:.4rem .8rem;font-weight:700;border:none;border-radius:.5rem;cursor:pointer;transition:background-color .2s;background-color:#16a34a;color:#fff;font-size:.875rem;min-height:36px}.refresh-button:hover:not(:disabled){background-color:#15803d}.refresh-button:disabled{opacity:.6;cursor:not-allowed}.audit-button{width:100%;padding:.75rem;background-color:#3b82f6;color:#fff;border:none;border-radius:.375rem;cursor:pointer;font-weight:600;font-size:.875rem;margin-bottom:.5rem;transition:all .2s ease}.audit-button:hover:not(:disabled){background-color:#2563eb}.audit-button:disabled{background-color:#9ca3af;cursor:not-allowed;opacity:.7}.audit-message{margin-top:1rem;padding:.75rem;border-radius:.375rem;font-size:.875rem}.audit-message.success{background-color:#d1fae5;color:#065f46;border:1px solid #6ee7b7}.audit-message.error{background-color:#fee2e2;color:#991b1b;border:1px solid #fca5a5}.sidebar-audit-section{padding:1rem;border-bottom:1px solid #e5e7eb}.sidebar-item{padding:1rem;border-bottom:1px solid #e5e7eb;cursor:pointer;transition:background-color .2s}.sidebar-item:hover{background-color:#f9fafb}.sidebar-item.active{background-color:#dbeafe;border-right:4px solid #2563eb}.sidebar-item .order-id{font-weight:700;font-size:1.125rem;display:flex;align-items:center;margin-bottom:.25rem}.sidebar-customer-name{font-size:.95rem;color:#4b5563;margin-bottom:.5rem}.order-summary{display:flex;justify-content:space-between;align-items:center;font-size:.875rem;color:#6b7280}.order-items-count{display:flex;align-items:center;gap:.5rem}.order-summary .order-price{font-weight:700;color:#1f2937}.empty-state-message,.loading-state-message{padding:1rem;color:#6b7280;text-align:center;font-size:.875rem}.logout-button{position:fixed;bottom:20px;left:20px;padding:.5rem 1rem;font-weight:700;border:1px solid #d1d5db;border-radius:.5rem;cursor:pointer;transition:background-color .2s,color .2s;background-color:#f3f4f6;color:#374151}.logout-button:hover{background-color:#e5e7eb}@media (max-width: 1024px){.sidebar{width:30%;min-width:280px}.main-content{padding:1.5rem}}@media (max-width: 768px){.main-app{flex-direction:column}.sidebar{width:100%;min-width:unset;border-right:none;border-bottom:1px solid #e5e7eb;max-height:40vh}.main-content{padding:1rem}.sidebar-header{flex-direction:column;align-items:flex-start}.sidebar-header h2{font-size:1.25rem}.header-buttons-container{width:100%;justify-content:space-between}.page-selector{min-width:120px}}@media (max-width: 480px){.sidebar-header h2{font-size:1rem}.page-selector{min-width:100px;font-size:.875rem;padding:.375rem .5rem}.refresh-button{padding:.375rem .625rem;font-size:.75rem;min-height:32px}.logout-button{bottom:15px;left:15px;padding:.375rem .75rem;font-size:.875rem}}@media print{.sidebar,.logout-button,.header-buttons-container{display:none}.main-content{padding:0;background-color:#fff}.main-app{height:auto}}:root{--bg-primary: #ffffff;--bg-secondary: #f8fafc;--bg-hover: #f1f5f9;--border-color: #e2e8f0;--text-primary: #0f172a;--text-secondary: #475569;--text-muted: #94a3b8;--accent-color: #3b82f6;--accent-hover: #4f46e5;--success-color: #10b981;--success-hover: #059669;--error-color: #f43f5e}.dl-scan-modal-overlay{position:fixed;inset:0;background-color:#0f172a66;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.dl-scan-modal{background:var(--bg-primary);border-radius:16px;width:90%;max-width:700px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;border:1px solid var(--border-color);animation:slideUp .3s cubic-bezier(.16,1,.3,1)}@keyframes slideUp{0%{opacity:0;transform:translateY(30px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.dl-scan-modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--border-color);background:var(--bg-primary)}.dl-scan-modal-header h2{margin:0;font-size:1.25rem;font-weight:700;color:var(--text-primary)}.dl-scan-close-btn{background:var(--bg-secondary);border:1px solid var(--border-color);font-size:1.2rem;color:var(--text-secondary);cursor:pointer;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease}.dl-scan-close-btn:hover{background:var(--error-color);color:#fff;border-color:var(--error-color)}.dl-scan-modal-content{padding:24px;overflow-y:auto;max-height:calc(90vh - 80px);background:var(--bg-primary)}.dl-scan-status{padding:14px 18px;border-radius:10px;margin-bottom:20px;font-size:.95rem;font-weight:600}.dl-scan-status.success{background:#ecfdf5;color:var(--success-hover);border:1px solid #a7f3d0}.dl-scan-status.error{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.dl-scan-input-section label{display:block;margin-bottom:10px;font-weight:600;color:var(--text-primary)}.dl-scan-textarea{box-sizing:border-box;width:100%;max-width:100%;padding:14px;border:2px solid var(--border-color);border-radius:10px;background:var(--bg-secondary);color:var(--text-primary);font-family:SF Mono,Courier New,monospace;font-size:.9rem;line-height:1.5;min-height:120px;max-height:300px;resize:vertical;transition:all .2s ease;display:block}.dl-scan-textarea:focus{outline:none;border-color:var(--accent-color);background:#fff;box-shadow:0 0 0 4px #6366f11a}.dl-scan-mode-toggle{display:flex;gap:8px;margin-bottom:24px}.mode-btn{flex:1;padding:12px 16px;border:2px solid var(--border-color);background:var(--bg-secondary);color:var(--text-secondary);font-weight:600;border-radius:10px;cursor:pointer;transition:all .2s ease}.mode-btn:hover{border-color:var(--accent-color);color:var(--accent-color)}.mode-btn.active{background:var(--accent-color);border-color:var(--accent-color);color:#fff}.dl-scan-preview{background:#fdfdff;border-radius:12px;padding:24px;border:2px dashed var(--border-color);margin-top:20px}.dl-scan-preview h3{margin:0 0 20px;font-size:1.1rem;font-weight:700;color:var(--text-primary)}.dl-scan-preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.dl-scan-preview-grid--simplified{grid-template-columns:repeat(2,1fr)}@media (max-width: 600px){.dl-scan-preview-grid--simplified{grid-template-columns:1fr}}.dl-scan-field{display:flex;flex-direction:column;gap:6px}.dl-scan-field label{font-size:.75rem;color:var(--accent-color);text-transform:uppercase;letter-spacing:.5px;font-weight:700}.dl-scan-field span{font-size:1rem;color:var(--text-primary);background:#fff;padding:12px 16px;border:1px solid var(--border-color);border-radius:8px;box-shadow:0 1px 2px #0000000d;word-break:break-word;min-height:44px;display:flex;align-items:center}.dl-scan-manual-form{display:flex;flex-direction:column;gap:16px}.form-row{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}@media (max-width: 600px){.form-row{grid-template-columns:1fr}}.form-group{display:flex;flex-direction:column;gap:6px}.form-group label{font-size:.875rem;font-weight:600;color:var(--text-primary)}.form-group input{padding:12px 14px;border:2px solid var(--border-color);border-radius:8px;background:var(--bg-secondary);color:var(--text-primary);font-size:.95rem;transition:all .2s ease}.form-group input:focus{outline:none;border-color:var(--accent-color);background:#fff;box-shadow:0 0 0 3px #6366f11a}.dl-scan-hint{font-size:.85rem;color:var(--text-muted);margin:8px 0 0;line-height:1.4}.dl-scan-actions{margin-top:24px;display:flex;justify-content:flex-end}.dl-scan-confirm-btn{background:var(--accent-color);color:#fff;border:none;padding:14px 28px;font-size:1rem;font-weight:600;border-radius:10px;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 12px #3b82f64d}.dl-scan-confirm-btn:hover:not(:disabled){background:var(--accent-hover);transform:translateY(-1px);box-shadow:0 6px 16px #3b82f666}.dl-scan-confirm-btn:disabled{background:var(--text-muted);cursor:not-allowed;box-shadow:none}.dl-scan-confirmation{display:flex;flex-direction:column;gap:20px}.dl-scan-confirmation h3{margin:0;font-size:1.2rem;font-weight:700;color:var(--text-primary)}.dl-scan-confirmation>p{margin:0;color:var(--text-secondary);line-height:1.6;font-size:.95rem}.confirmation-summary{background:var(--bg-secondary);border-radius:10px;padding:20px;border:1px solid var(--border-color)}.confirmation-summary h4{margin:0 0 12px;font-size:.9rem;font-weight:700;color:var(--text-primary);text-transform:uppercase;letter-spacing:.5px}.confirmation-summary ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}.confirmation-summary li{font-size:.95rem;color:var(--text-secondary);padding:8px 0;border-bottom:1px solid var(--border-color)}.confirmation-summary li:last-child{border-bottom:none}.dl-scan-confirmation-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:8px}.dl-scan-submit-btn{background:var(--success-color);color:#fff;border:none;padding:12px 24px;font-size:1rem;font-weight:600;border-radius:10px;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 12px #10b9814d}.dl-scan-submit-btn:hover:not(:disabled){background:var(--success-hover);transform:translateY(-1px);box-shadow:0 6px 16px #10b98166}.dl-scan-submit-btn:disabled{opacity:.7;cursor:not-allowed}.dl-scan-back-btn{background:#fff;color:var(--text-secondary);border:2px solid var(--border-color);padding:12px 24px;font-size:1rem;font-weight:600;border-radius:10px;cursor:pointer;transition:all .2s ease}.dl-scan-back-btn:hover:not(:disabled){border-color:var(--text-secondary);color:var(--text-primary)}.dl-scan-back-btn:disabled{opacity:.7;cursor:not-allowed}.dl-scan-new-scan-prompt{text-align:center;padding:2rem;background:#f0fdf4;border:2px solid #22c55e;border-radius:8px;margin-bottom:1rem}.dl-scan-success-icon{font-size:2rem;color:#22c55e;margin-bottom:.5rem}.dl-scan-success-text{font-size:1.1rem;font-weight:600;color:#166534;margin-bottom:1rem}.dl-scan-new-scan-btn{background:#22c55e;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:6px;cursor:pointer;font-size:.95rem;transition:background .2s}.dl-scan-new-scan-btn:hover{background:#16a34a}.dl-scan-modal-subtitle{font-size:.85rem;font-weight:400;color:var(--text-secondary);margin-left:4px}.dl-scan-create-notice{display:flex;align-items:flex-start;gap:8px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;padding:12px 16px;margin-bottom:16px;font-size:.875rem;color:#1e40af;line-height:1.5}.dl-scan-create-notice-icon{flex-shrink:0;font-size:1rem}.dl-scan-dropoff-toggle{display:flex;align-items:center;gap:.75rem;margin:1.5rem 0 1rem;padding:.75rem;background-color:#f9f9f9;border-radius:8px;border:1px solid #e0e0e0}.dl-scan-dropoff-toggle input[type=checkbox]{appearance:none;-webkit-appearance:none;width:44px;height:24px;background-color:#ccc;border-radius:24px;position:relative;cursor:pointer;outline:none;transition:background-color .3s ease;margin:0;flex-shrink:0}.dl-scan-dropoff-toggle input[type=checkbox]:after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;background-color:#fff;border-radius:50%;box-shadow:0 2px 4px #0003;transition:transform .3s ease}.dl-scan-dropoff-toggle input[type=checkbox]:checked{background-color:#4caf50}.dl-scan-dropoff-toggle input[type=checkbox]:checked:after{transform:translate(20px)}.dl-scan-dropoff-toggle input[type=checkbox]:disabled{opacity:.6;cursor:not-allowed}.dl-scan-dropoff-toggle label{cursor:pointer;font-weight:600;color:#333;-webkit-user-select:none;user-select:none;margin:0}.seller-id-view-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.seller-id-view-modal{background:#fff;border-radius:8px;width:90%;max-width:480px;max-height:90vh;overflow:hidden;box-shadow:0 4px 20px #00000026}.seller-id-view-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background-color:#f8f9fa;border-bottom:1px solid #e9ecef}.seller-id-view-header h3{margin:0;font-size:18px;font-weight:600;color:#212529}.close-button{background:none;border:none;font-size:24px;color:#6c757d;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease}.close-button:hover{background-color:#e9ecef;color:#212529}.seller-id-view-content{padding:20px;min-height:200px}.loading{text-align:center;color:#6c757d;padding:40px}.error-message{padding:16px;background-color:#f8d7da;color:#721c24;border-radius:4px;border:1px solid #f5c6cb}.no-data{text-align:center;color:#6c757d;padding:40px}.seller-id-details{display:flex;flex-direction:column;gap:12px}.detail-row{display:flex;justify-content:space-between;align-items:center;padding:12px;background-color:#f8f9fa;border-radius:6px}.detail-label{font-weight:500;color:#495057;font-size:14px}.detail-value{color:#212529;font-size:14px;font-weight:500}.dl-number-row{background-color:#e7f3ff;border:1px solid #b8daff}.dl-number{font-family:Courier New,monospace;font-size:16px;letter-spacing:1px}.encrypted-badge{color:#6c757d;font-style:italic}.decrypt-button{margin-top:16px;width:100%;padding:14px;background-color:#007bff;color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:background-color .2s ease}.decrypt-button:hover{background-color:#0056b3}.decrypt-button:active{transform:translateY(1px)}.records-panel{width:320px;min-width:320px;background:#f5f5f5;border-right:1px solid #ddd;display:flex;flex-direction:column;overflow:hidden}.records-panel-header{padding:1rem;background:#fff;border-bottom:1px solid #ddd}.records-panel-nav{margin-bottom:.75rem}.records-panel-title-row{display:flex;justify-content:space-between;align-items:center}.records-panel-title{margin:0;font-size:1.1rem;font-weight:600;color:#333}.new-record-btn{padding:.4rem .8rem;background:#4a90d9;color:#fff;border:none;border-radius:4px;font-size:.85rem;cursor:pointer;transition:background .2s}.new-record-btn:hover{background:#357abd}.records-search{padding:.5rem 2rem;border-bottom:1px solid #e0e0e0}.search-input{width:100%;padding:.5rem .75rem;border:1px solid #ccc;border-radius:4px;font-size:.9rem}.search-results-count{margin-top:.4rem;font-size:.8rem;color:#888}.records-loading,.records-error,.records-empty{padding:1rem;text-align:center;color:#666;font-size:.9rem}.records-error{color:#d32f2f}.records-list{flex:1;overflow-y:auto;list-style:none;margin:0;padding:0}.record-item{padding:.875rem 1rem;border-bottom:1px solid #e0e0e0;cursor:pointer;transition:background .15s}.record-item:hover{background:#e8e8e8}.record-item--selected{background:#d0e4f5;border-left:3px solid #4a90d9}.record-item--selected:hover{background:#c0d8ed}.record-item-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:.25rem}.record-seller{font-weight:600;color:#333;font-size:.95rem}.record-id{font-size:.8rem;color:#00f;font-family:monospace}.record-item-mid{display:flex;justify-content:space-between;align-items:center;margin-bottom:.25rem}.record-buyer{font-size:.85rem;color:#666}.record-offer{font-weight:600;color:#2e7d32;font-size:.9rem}.record-item-bot{display:flex;justify-content:space-between;align-items:center}.record-date{font-size:.8rem;color:#888}.record-items{font-size:.8rem;color:#666}.record-item-actions{margin-top:12px;padding-top:12px;border-top:1px solid var(--border-color, #e0e0e0)}.dl-scan-btn{width:100%;padding:8px 12px;border:1px dashed var(--border-color, #2d2d44);background:var(--bg-secondary, #16213e);color:var(--text-secondary, #a0a0a0);border-radius:6px;font-size:.8rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:6px}.dl-scan-btn:hover{border-color:var(--accent-color, #4f46e5);color:var(--accent-color, #4f46e5);background:#4f46e51a}.dl-scan-btn--complete{border-style:solid;border-color:var(--success-color, #22c55e);color:var(--success-color, #22c55e);background:#22c55e1a;cursor:default}.dl-scan-btn--complete:hover{background:#22c55e26}@media (max-width: 768px){.records-panel{width:100%;min-width:auto;max-height:40vh;border-right:none;border-bottom:1px solid #ddd}}.dl-view-btn{padding:4px 10px;font-size:12px;border:1px solid #17a2b8;background-color:#17a2b8;color:#fff;border-radius:4px;cursor:pointer;transition:all .2s ease}.dl-view-btn:hover{background-color:#138496;border-color:#138496}.record-item-actions{display:flex;gap:8px;margin-top:8px}.buy-page-sidebar{display:flex;flex-direction:column;width:320px;min-width:320px;height:100%;background-color:#f5f5f5;border-right:1px solid #e0e0e0;overflow:hidden}.buy-page-sidebar .records-panel{flex:1;overflow-y:auto}@media (max-width: 768px){.buy-page-sidebar{width:100%;min-width:auto;height:40vh;border-right:none;border-bottom:1px solid #e0e0e0}}.daily-buys-button{padding:4px 8px;background-color:#31a867;border:none;border-radius:4px;font-size:16px;cursor:pointer;transition:background-color .15s ease;display:flex;align-items:center;justify-content:center}.close-status-badge{display:inline-block;padding:1px 6px;border-radius:10px;font-size:10px;font-weight:600;letter-spacing:.3px;line-height:16px;white-space:nowrap;text-transform:uppercase;flex-shrink:0}.close-status-badge--closed{background-color:#e8f5e9;color:#2e7d32}.close-status-badge--open{background-color:#e3f2fd;color:#1565c0}.close-status-badge--pending{background-color:#fff8e1;color:#f57f17}.close-status-badge--cancelled{background-color:#fce4ec;color:#c62828}.close-status-badge--drop-off{background-color:#f3e5f5;color:#6a1b9a}.close-status-badge--default{background-color:#eee;color:#424242}.record-item--needs-id{background-color:#fff9c4}.record-item--needs-id.record-item--selected{background-color:#fff59d}.dropoff-modal-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.dropoff-modal{background-color:#fff;border-radius:8px;width:90%;max-width:400px;box-shadow:0 4px 12px #00000026;display:flex;flex-direction:column}.dropoff-modal-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid #eee}.dropoff-modal-header h2{margin:0;font-size:1.25rem;color:#333}.dropoff-modal-close-btn{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#888}.dropoff-modal-close-btn:hover{color:#333}.dropoff-modal-content{padding:1.5rem;text-align:center}.dropoff-modal-content p{margin-top:0;margin-bottom:1.5rem;font-size:1.1rem;color:#444}.dropoff-modal-actions{display:flex;gap:1rem;justify-content:center}.dropoff-btn{padding:.5rem 1.25rem;border:none;border-radius:4px;font-weight:600;cursor:pointer;transition:background-color .2s}.dropoff-btn-yes{background-color:#4caf50;color:#fff}.dropoff-btn-yes:hover{background-color:#43a047}.dropoff-btn-no{background-color:#2196f3;color:#fff}.dropoff-btn-no:hover{background-color:#1e88e5}.dropoff-btn-cancel{background-color:#e0e0e0;color:#333}.dropoff-btn-cancel:hover{background-color:#d5d5d5}.csv-form .buttons-container button{cursor:pointer}.csv-form .buttons-container button:disabled{cursor:not-allowed;opacity:.7}.csv-form .buttons-container .top-action-container,.csv-form .buttons-container .bottom-action-container{padding:.5rem}.csv-form .buttons-container .sync-button{border:none;border-radius:1rem;padding:.5rem 1rem;margin:0 .5rem;margin-left:0}.csv-form .buttons-container .sync-button.fully-synced{background-color:#31a867;color:#fff}.csv-form .buttons-container .sync-button.unsaved-changes{background-color:#f59e0b;color:#fff}.csv-form .buttons-container .download-button{background-color:#fff56f;border:none;border-radius:1rem;padding:.5rem 1rem;margin:0 .5rem}.csv-form .buttons-container .add-button{background-color:#4a90d9;color:#fff;border:none;border-radius:1rem;padding:.5rem 1rem;margin:0 .5rem}.csv-form .buttons-container .add-button:first-child{margin-left:0}.csv-form table td{padding:2px;vertical-align:middle;border:1px solid #dee2e6}.csv-form .delete-cell{text-align:center}.csv-form .table-cell-input{box-sizing:border-box;width:100%;max-width:100%;border:1px solid transparent;background:transparent;padding:6px 8px;font-family:inherit;font-size:inherit;color:inherit;border-radius:4px;transition:all .15s ease}.csv-form .table-cell-input:focus{outline:none;border-color:#007bff;background-color:#fff;box-shadow:inset 0 0 0 1px #007bff}.csv-form .table-cell-input.select-cell{width:100%;padding-right:20px;box-sizing:border-box;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;cursor:pointer}:is(.csv-form td[data-column="tcgplayer id"],.csv-form td[data-column="add to quantity"],.csv-form td[data-column=number],.csv-form td[data-column="tcg marketplace price"]) .table-cell-input{text-align:center}.csv-form .unsaved-row{background-color:#f59e0b40!important}.csv-form .unsaved-row .table-cell-input{background-color:transparent}.csv-form .modal-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.csv-form .modal-overlay .modal-content{padding:1rem;width:fit-content;background:#fff;border-radius:6px}.csv-form .modal-overlay .modal-actions{display:flex;justify-content:flex-start;padding-bottom:1rem}.csv-form .modal-overlay .modal-actions .cancel-btn{border:1px solid #212529;border-radius:1rem;padding:.5rem 1rem}.csv-form .modal-overlay .modal-actions .confirm-delete-btn{background-color:#f44336;color:#fff;border:1px solid #212529;border-radius:1rem;padding:.5rem 1rem}.csv-form .buysheet-modal-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.csv-form .buysheet-modal-overlay .modal-content{max-width:none;width:30%;height:80%;padding:3rem;align-items:start;display:flex;flex-direction:column;background:#fff;border-radius:8px}.csv-form .buysheet-modal-overlay .close-x-btn{align-self:end;background:none;border:none;color:#9ca3af;cursor:pointer;font-size:1.5rem;border-radius:.5rem}.csv-form .buysheet-modal-overlay .close-x-btn:hover{color:#ef4444}.csv-form .buysheet-modal-overlay .step-field{display:flex;flex-direction:column;width:100%}.csv-form .buysheet-modal-overlay .step-field label{padding:.5rem 0;font-weight:500}.csv-form .buysheet-modal-overlay .modal-footer{padding-left:0;padding-bottom:0;padding-top:1rem;border:none;margin-top:auto;width:100%;display:flex;gap:.5rem}.csv-form .buysheet-modal-overlay .modal-footer button{border:1px solid #212529;border-radius:1rem;padding:.5rem 1rem;cursor:pointer}.csv-form .buysheet-modal-overlay .modal-footer .clear-btn{background-color:#fff56f}.csv-form .buysheet-modal-overlay .modal-footer .confirm-btn:not(:disabled){background-color:#31a867;color:#fff}.csv-form .buysheet-modal-overlay .modal-footer .confirm-btn:disabled{cursor:not-allowed;opacity:.5}.csv-form .card-name-search{position:relative;width:100%}.csv-form .card-name-search .input-spinner{position:absolute;right:2.5rem;top:50%;transform:translateY(-50%);width:16px;height:16px;border:2px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite}.csv-form .card-name-search .suggestions-dropdown{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #d1d5db;border-radius:6px;box-shadow:0 4px 6px -1px #0000001a;max-height:250px;overflow-y:auto;z-index:50;margin-top:.25rem;padding:.25rem 0;list-style:none}.table-loading-container{padding:1rem;text-align:left}@keyframes spin{to{transform:translateY(-50%) rotate(360deg)}}.buy-page-content{flex:1;overflow-y:auto;padding:1.5rem;background:#fafafa;position:relative}.buy-form-container{max-width:900px;margin:0 auto;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:1.5rem}.buy-form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #eee}.buy-form-title{margin:0;font-size:1.5rem;font-weight:600;color:#333}.status-badge{padding:.375rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em}.status-badge.status-accepted{background:#e8f5e9;color:#2e7d32;border:1px solid #a5d6a7}.status-badge.status-rejected{background:#ffebee;color:#c62828;border:1px solid #ef9a9a}.status-message{padding:.75rem 1rem;border-radius:4px;margin-bottom:1rem;font-size:.9rem}.status-message.success{background:#e8f5e9;color:#2e7d32;border:1px solid #a5d6a7}.status-message.error{background:#ffebee;color:#c62828;border:1px solid #ef9a9a}.buy-form-fields{display:flex;flex-direction:column;gap:1rem}.form-row{display:flex;gap:1rem;margin-bottom:0}.form-group{flex:1;display:flex;flex-direction:column}.form-group-date{max-width:200px}.form-group label{font-size:.85rem;font-weight:500;color:#555;margin-bottom:.375rem}.form-group label .required{color:#d32f2f;margin-left:.25rem}.form-group input,.form-group select{padding:.625rem .75rem;border:1px solid #ccc;border-radius:4px;font-size:.95rem;background-color:#fff;transition:border-color .2s,box-shadow .2s}.form-group input:focus,.form-group select:focus{outline:none;border-color:#4a90d9;box-shadow:0 0 0 3px #4a90d91a}.form-group input::placeholder{color:#aaa}.form-group select{color:#333}.form-group select:has(option[value=""]:checked){color:#aaa}.form-group select option[value=""]{color:#aaa}.form-group select option:not([value=""]){color:#333}.form-group input:disabled,.form-group select:disabled{background:#f5f5f5;cursor:not-allowed}.form-row-categories{margin-top:.5rem}.form-group-categories{flex:1}.categories-label{font-size:.85rem;font-weight:500;color:#555;margin-bottom:.5rem;display:block}.category-toggles{display:flex;flex-wrap:wrap;gap:.75rem}.category-toggle{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:#f8f9fa;border:1px solid #dee2e6;border-radius:6px;cursor:pointer;transition:all .2s;-webkit-user-select:none;user-select:none}.category-toggle:hover{background:#e9ecef;border-color:#adb5bd}.category-toggle input[type=checkbox]{width:18px;height:18px;margin:0;cursor:pointer;accent-color:#4a90d9}.toggle-label{font-size:.875rem;color:#495057;font-weight:400}.category-toggle:has(input:checked){background:#e7f3ff;border-color:#4a90d9}.category-toggle:has(input:checked) .toggle-label{color:#1a5fb4;font-weight:500}.form-row-payments .form-group{flex:1}.form-action-buttons{display:flex;gap:.625rem;margin-top:1rem}.form-action-buttons.main-actions{justify-content:space-between;padding-top:1rem;border-top:1px solid #eee}.main-actions-left{display:flex;gap:.625rem;flex-wrap:wrap}.main-actions-right{display:flex;gap:.625rem;margin-left:auto}.form-action-buttons button{padding:.75rem 1.5rem;border:none;border-radius:4px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s}.scan-id-button{background:#f0f4ff;color:#3b5bdb;border:1px solid #bac8ff!important}.scan-id-button:hover:not(:disabled){background:#dbe4ff;border-color:#748ffc!important}.view-id-button{background:#f3f0ff;color:#6741d9;border:1px solid #d0bfff!important}.view-id-button:hover:not(:disabled){background:#e5dbff;border-color:#9775fa!important}.new-buy-button{background:#fff56f;color:#2c1e16;border:1px solid #e5a00d!important}.new-buy-button:hover{background:#fe0;color:#2c1e16;border:1px solid #cc8d0a!important}.accept-button{background:#e8f5e9;color:#2e7d32;border:1px solid #a5d6a7!important}.accept-button:hover:not(:disabled){background:#c8e6c9;border-color:#81c784!important}.accept-button.active{background:#4caf50;color:#fff;border-color:#4caf50!important}.reject-button{background:#ffebee;color:#c62828;border:1px solid #ef9a9a!important}.reject-button:hover:not(:disabled){background:#ffcdd2;border-color:#e57373!important}.reject-button.active{background:#f44336;color:#fff;border-color:#f44336!important}.generate-csv-button{background:#6c757d;color:#fff}.generate-csv-button:hover:not(:disabled){background:#5a6268}.clear-button{background:#f8f9fa;color:#666;border:1px solid #ddd!important}.clear-button:hover:not(:disabled){background:#e9ecef}.submit-button{background:#4a90d9;color:#fff}.submit-button:hover:not(:disabled){background:#357abd}.form-action-buttons button:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 768px){.buy-form-container{padding:1rem}.form-row{flex-direction:column;gap:.75rem}.form-group-date{max-width:100%}.category-toggles{flex-direction:column;gap:.5rem}.category-toggle{width:100%}.form-action-buttons.main-actions{flex-direction:column;gap:.75rem}.main-actions-left,.main-actions-right{width:100%}.main-actions-right{margin-left:0}.form-action-buttons button{width:100%}}.scan-to-submit-button{background:#4338ca;color:#fff;display:inline-flex;align-items:center;gap:6px}.scan-to-submit-button:hover:not(:disabled){background:#3730a3}.laundromat-sidebar{position:fixed;top:0;right:0;width:380px;height:100vh;background:#fff;box-shadow:-2px 0 12px #00000026;transform:translate(100%);transition:transform .3s cubic-bezier(.4,0,.2,1);z-index:100;display:flex;flex-direction:row}.laundromat-sidebar.open{transform:translate(0)}.laundromat-tab{position:absolute;left:-48px;top:50%;transform:translateY(-50%);background:#4a90d9;color:#fff;border:none;border-radius:8px 0 0 8px;padding:12px 8px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:6px;box-shadow:-2px 2px 8px #0003;transition:all .2s ease;min-width:48px}.laundromat-tab:hover{background:#357abd;left:-52px;padding-left:12px}.laundromat-sidebar.open .laundromat-tab{left:-40px;background:#e74c3c;border-radius:8px 0 0 8px}.laundromat-sidebar.open .laundromat-tab:hover{background:#c0392b}.tab-icon{font-size:1.4rem;line-height:1}.tab-text{writing-mode:vertical-rl;text-orientation:mixed;font-size:.75rem;font-weight:600;letter-spacing:.5px;text-transform:lowercase}.tab-arrow{font-size:1rem;transition:transform .2s ease}.tab-arrow.open{transform:rotate(180deg)}.laundromat-content{flex:1;display:flex;flex-direction:column;padding:1.5rem;overflow-y:auto}.laundromat-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #eee}.laundromat-title{margin:0;font-size:1.2rem;font-weight:600;color:#333;display:flex;align-items:center;gap:.5rem}.laundromat-close{width:32px;height:32px;border:none;background:#f5f5f5;color:#666;border-radius:50%;font-size:1.4rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.laundromat-close:hover{background:#e0e0e0;color:#333}.laundromat-fields{display:flex;flex-direction:column;gap:1.25rem;flex:1}.laundromat-fields .form-group{display:flex;flex-direction:column}.laundromat-fields .form-group label{font-size:.85rem;font-weight:500;color:#555;margin-bottom:.5rem}.purchase-log-textarea{width:100%;min-height:160px;padding:.75rem;border:1px solid #ccc;border-radius:4px;font-size:.9rem;font-family:monospace;resize:vertical;transition:border-color .2s,box-shadow .2s;background:#fafafa}.purchase-log-textarea:focus{outline:none;border-color:#4a90d9;box-shadow:0 0 0 3px #4a90d91a;background:#fff}.purchase-log-textarea::placeholder{color:#aaa}.purchase-log-textarea:disabled{background:#f0f0f0;cursor:not-allowed;opacity:.6}.purchase-log-textarea--qty{min-height:120px}.laundromat-actions{margin-top:auto;padding-top:1.5rem;border-top:1px solid #eee;display:flex;flex-direction:column;gap:.75rem}.laundromat-actions button{width:100%;padding:.875rem 1rem;font-size:.95rem;border:none;border-radius:4px;font-weight:500;cursor:pointer;transition:all .2s}.laundromat-actions button:disabled{opacity:.6;cursor:not-allowed}.generate-buy-button{background:#308ad8;color:#fff}.generate-buy-button:hover:not(:disabled){background:#5a6268}.generate-all-prices-button{background:#2e7d32;color:#fff}.generate-all-prices-button:hover:not(:disabled){background:#1b5e20}.generate-buy-list-button{background:#da9e1e;color:#fff}.clear-all-button{background:#c62828;color:#fff}@media (max-width: 1024px){.laundromat-sidebar{width:340px}.laundromat-tab{left:-44px;min-width:44px;padding:10px 6px}.laundromat-tab:hover{left:-48px}.laundromat-sidebar.open .laundromat-tab{left:-36px}}@media (max-width: 768px){.laundromat-sidebar{width:100%;max-width:360px}.laundromat-tab{left:-40px;min-width:40px}.laundromat-tab:hover{left:-44px}}@media (max-width: 480px){.laundromat-sidebar{width:100%;max-width:none}.laundromat-tab{left:-36px;min-width:36px;padding:8px 4px}.laundromat-tab:hover{left:-40px}.tab-text{font-size:.7rem}.tab-icon{font-size:1.2rem}}.generate-test-wash-button{background:#6a1b9a;color:#fff;border:2px dashed #ab47bc}.generate-test-wash-button:hover:not(:disabled){background:#4a148c;border-color:#ce93d8}.buy-page-layout{display:flex;height:100vh;overflow:hidden}.buy-page-placeholder{display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}@media (max-width: 768px){.buy-page-layout{flex-direction:column}}.sidebar-header{padding:1rem;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;flex-direction:column;gap:.75rem}.orders-title{margin:0;font-size:1.5rem;font-weight:600;color:#111827}.dropdowns-row{display:flex;gap:.5rem;align-items:flex-end}.dropdowns-row>*{flex:1;min-width:auto}.view-selector-wrapper{display:flex;flex-direction:column;gap:.25rem}.view-selector-wrapper label{font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.view-selector{padding:.5rem .75rem;font-size:.875rem;font-weight:500;border:1px solid #d1d5db;border-radius:.375rem;background:#fff;color:#374151;cursor:pointer;width:100%;transition:all .2s ease}.view-selector:hover{border-color:#9ca3af}.view-selector:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.header-buttons-row{display:flex;gap:.5rem;padding:0 4px}.header-buttons-row>*{flex:1;min-width:auto}.header-buttons-row .action-button,.header-buttons-row .refresh-button,.header-buttons-row button{flex:1;min-width:auto;white-space:nowrap;padding:.5rem}.orders-count{padding:.75rem 1rem;font-size:.875rem;color:#6b7280;border-bottom:1px solid #e5e7eb;background:#f9fafb}.orders-loading,.orders-empty-state{padding:1rem;color:#6b7280;text-align:center}.orders-error{padding:1rem;color:#ef4444;font-size:.875rem}.completed-order-info{margin:2rem 0;padding:1.5rem;background-color:#f0fdf4;border:1px solid #86efac;border-radius:.5rem}.completed-order-info-title{margin:0 0 .75rem;color:#166534;font-size:1.125rem;font-weight:600}.completed-order-info-text{margin:0 0 1rem;color:#166534;font-size:.875rem}.completed-order-details{display:flex;flex-direction:column;gap:.5rem;font-size:.875rem}.completed-order-row{display:flex;justify-content:space-between}.completed-order-label{color:#166534;font-weight:500}.completed-order-value{color:#166534}.mark-picked-up-button{background-color:#10b981;color:#fff}.mark-picked-up-button:hover:not(:disabled){background-color:#059669}.complete-cod-button{background-color:#10b981;color:#fff}.complete-cod-button:hover:not(:disabled){background-color:#059669}.mark-paid-button{background-color:#3b82f6;color:#fff}.mark-paid-button:hover:not(:disabled){background-color:#2563eb}.refund-shipping-button{background-color:#f59e0b;color:#fff}.refund-shipping-button:hover:not(:disabled){background-color:#d97706}.cancel-order-button{background-color:#ef4444;color:#fff}.cancel-order-button:hover:not(:disabled){background-color:#dc2626}.start-pulling-button{background-color:#f59e0b;color:#fff}.start-pulling-button:hover:not(:disabled){background-color:#d97706}.ready-for-pickup-button{background-color:#10b981;color:#fff}.ready-for-pickup-button:hover:not(:disabled){background-color:#059669}.complete-shipment-button{background-color:#10b981;color:#fff}.complete-shipment-button:hover:not(:disabled){background-color:#059669}.tracking-inputs{display:flex;gap:.5rem;width:100%;margin-bottom:.5rem}.tracking-input{flex:1;padding:.5rem .75rem;font-size:.875rem;border:1px solid #d1d5db;border-radius:.375rem;background:#fff;color:#374151}.tracking-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.tracking-input:disabled{background-color:#f3f4f6;cursor:not-allowed}.psb-wrapper{display:flex;align-items:center;gap:10px;background:var(--surface-1);border:1.5px solid var(--border);border-radius:8px;padding:0 14px;height:44px;transition:border-color .15s ease,box-shadow .15s ease}.psb-wrapper.psb-focused{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-muted)}.psb-icon{color:var(--text-muted);display:flex;align-items:center;flex-shrink:0}.psb-input{flex:1;background:transparent;border:none;outline:none;font-family:IBM Plex Mono,monospace;font-size:.875rem;color:var(--text-primary);letter-spacing:.01em}.psb-input::placeholder{color:var(--text-muted)}.psb-clear{background:none;border:none;cursor:pointer;color:var(--text-muted);font-size:1.2rem;line-height:1;padding:0 2px;display:flex;align-items:center;transition:color .1s ease}.psb-clear:hover{color:var(--text-primary)}.pi-overlay{position:fixed;inset:0;background:#0000008c;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);z-index:200;display:flex;align-items:stretch;justify-content:flex-end}.pi-panel{width:560px;max-width:100vw;height:100%;background:#fff;border-left:1px solid #1e2130;display:flex;flex-direction:column;overflow:hidden;animation:pi-slide-in .22s cubic-bezier(.22,1,.36,1)}@keyframes pi-slide-in{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.pi-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 12px;border-bottom:1px solid #1e2130;flex-shrink:0;gap:12px}.pi-header-meta{display:flex;align-items:center;gap:8px;min-width:0}.pi-sku-chip{font-family:JetBrains Mono,Fira Code,Cascadia Code,monospace;font-size:11px;letter-spacing:.04em;color:#7a8299;background:#161a27;border:1px solid #2a2f42;padding:2px 8px;border-radius:4px;white-space:nowrap}.pi-shopify-status{font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:2px 7px;border-radius:4px}.pi-shopify-active{background:#0d2e1a;color:#3ddb7a;border:1px solid #1a4d2e}.pi-shopify-draft{background:#1e2130;color:#8a93b2;border:1px solid #2a2f42}.pi-shopify-archived{background:#2a1a0d;color:#d98a3d;border:1px solid #4d3020}.pi-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.pi-close{display:flex;align-items:center;justify-content:center;width:28px;height:28px;background:none;border:1px solid #2a2f42;border-radius:6px;color:#6b738f;cursor:pointer;transition:border-color .15s,color .15s,background .15s}.pi-close:hover{border-color:#4a5068;color:#c8cedd;background:#1a1f2e}.pi-tabs{display:flex;gap:0;padding:0 20px;border-bottom:1px solid #1e2130;flex-shrink:0;overflow-x:auto;scrollbar-width:none}.pi-tabs::-webkit-scrollbar{display:none}.pi-tab{font-size:12.5px;font-weight:500;color:#6b738f;background:none;border:none;border-bottom:2px solid transparent;padding:10px 14px;cursor:pointer;white-space:nowrap;transition:color .15s,border-color .15s;margin-bottom:-1px}.pi-tab:hover{color:#b0bad4}.pi-tab-active{color:#e8eaf2;border-bottom-color:#4f7bff}.pi-body{flex:1;overflow-y:auto;padding:20px;scrollbar-width:thin;scrollbar-color:#2a2f42 transparent}.pi-body::-webkit-scrollbar{width:4px}.pi-body::-webkit-scrollbar-track{background:transparent}.pi-body::-webkit-scrollbar-thumb{background:#2a2f42;border-radius:2px}.pi-section{display:flex;flex-direction:column;gap:18px}.pi-section-title{font-size:11px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:#4f5875;margin:0}.pi-divider{height:1px;background:#1e2130}.pi-field{display:flex;flex-direction:column;gap:5px}.pi-label{font-size:12px;font-weight:500;color:#8a93b2;display:flex;align-items:center;justify-content:space-between;gap:8px}.pi-hint{font-size:11.5px;color:#4f5875;margin:0;line-height:1.5}.pi-hint-inline{display:inline}.pi-input,.pi-textarea,.pi-select{background:#161a27;border:1px solid #2a2f42;border-radius:6px;color:#d0d5e8;font-size:13.5px;padding:7px 10px;transition:border-color .15s,box-shadow .15s;outline:none;font-family:inherit;width:100%;box-sizing:border-box}.pi-input:focus,.pi-textarea:focus,.pi-select:focus{border-color:#4f7bff;box-shadow:0 0 0 3px #4f7bff1f}.pi-input::placeholder,.pi-textarea::placeholder{color:#3a4155}.pi-textarea{resize:vertical;min-height:80px;line-height:1.55}.pi-select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234f5875' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;padding-right:30px;cursor:pointer}.pi-mono{font-family:JetBrains Mono,Fira Code,monospace;font-size:13px}.pi-input-prefix-wrap,.pi-input-suffix-wrap{display:flex;align-items:stretch;border:1px solid #2a2f42;border-radius:6px;overflow:hidden;transition:border-color .15s,box-shadow .15s}.pi-input-prefix-wrap:focus-within,.pi-input-suffix-wrap:focus-within{border-color:#4f7bff;box-shadow:0 0 0 3px #4f7bff1f}.pi-input-prefix,.pi-input-suffix{background:#0d1018;color:#4f5875;font-size:12.5px;padding:0 10px;display:flex;align-items:center;white-space:nowrap;flex-shrink:0;border-right:1px solid #2a2f42}.pi-input-suffix{border-right:none;border-left:1px solid #2a2f42}.pi-input-with-prefix{border:none;border-radius:0;flex:1}.pi-input-with-prefix:focus{box-shadow:none;border-color:transparent}.pi-row-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.pi-checkbox-row{display:flex;align-items:center;gap:10px}.pi-checkbox{width:15px;height:15px;accent-color:#4f7bff;cursor:pointer;flex-shrink:0}.pi-checkbox-label{font-size:13.5px;color:#c0c8e0;cursor:pointer;-webkit-user-select:none;user-select:none}.pi-readonly-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.pi-readonly-val{font-size:15px;font-weight:600;color:#d0d5e8}.pi-media-row{display:flex;gap:12px;align-items:flex-start}.pi-media-inputs{display:flex;flex-direction:column;gap:8px;flex:1;min-width:0}.pi-stock-zero{color:#e05555}.pi-stock-low{color:#d98a3d}.pi-margin-callout{background:#111520;border:1px solid #1e2130;border-radius:8px;padding:12px 16px;display:flex;flex-direction:column;gap:6px}.pi-margin-row{display:flex;justify-content:space-between;align-items:center}.pi-margin-key{font-size:12px;color:#6b738f}.pi-margin-val{font-size:13.5px;font-weight:600;color:#3ddb7a;font-family:JetBrains Mono,monospace}.pi-media-strip{display:flex;gap:8px;flex-wrap:wrap}.pi-media-thumb{position:relative;width:72px;height:72px;border-radius:6px;overflow:hidden;border:1px solid #2a2f42;background:#0d1018;flex-shrink:0}.pi-media-thumb img{width:100%;height:100%;object-fit:cover}.pi-media-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:9px;color:#4f5875;text-align:center;padding:4px}.pi-media-badge{position:absolute;bottom:4px;left:50%;transform:translate(-50%);font-size:9px;font-weight:600;background:#ffffffb8;color:#8a93b2;padding:1px 5px;border-radius:3px;white-space:nowrap;letter-spacing:.03em}.pi-seo-preview{background:#fff;border:1px solid #1e2130;border-radius:8px;padding:14px 16px;display:flex;flex-direction:column;gap:4px}.pi-seo-preview-url{font-size:11px;color:#4caf82;font-family:JetBrains Mono,monospace;margin:0;word-break:break-all}.pi-seo-preview-title{font-size:14px;color:#6ea8f8;font-weight:500;margin:0;line-height:1.35}.pi-seo-preview-desc{font-size:12px;color:#9aa3bc;margin:0;line-height:1.5}.pi-char-count{font-size:11px;font-weight:400;color:#4f5875;font-family:JetBrains Mono,monospace}.pi-char-over{color:#e05555}.pi-btn{font-size:12.5px;font-weight:500;padding:6px 14px;border-radius:6px;cursor:pointer;transition:background .15s,border-color .15s,color .15s;outline:none;white-space:nowrap}.pi-btn-ghost{background:none;border:1px solid #2a2f42;color:#8a93b2}.pi-btn-ghost:hover{background:#fff;border-color:#4a5068;color:#c8cedd}.pi-btn-save{background:#4f7bff;border:1px solid #4f7bff;color:#fff}.pi-btn-save:hover{background:#6b8fff;border-color:#6b8fff}.pi-collection-pills{display:flex;flex-wrap:wrap;gap:6px}.pi-collection-pill{display:inline-flex;align-items:center;gap:5px;background:#111520;border:1px solid #2a2f42;border-radius:5px;padding:3px 8px 3px 10px;font-size:12.5px;color:#b0bad4;line-height:1}.pi-collection-pill-remove{display:flex;align-items:center;justify-content:center;width:14px;height:14px;background:none;border:none;color:#4f5875;font-size:14px;line-height:1;cursor:pointer;padding:0;border-radius:3px;transition:color .12s,background .12s;flex-shrink:0}.pi-collection-pill-remove:hover{color:#e05555;background:#e055551a}.pi-collection-input-row{display:flex;gap:8px;align-items:stretch}.pi-collection-input-row .pi-input{flex:1}.pi-collection-add-btn{padding:6px 12px;font-size:12px;flex-shrink:0;height:auto;align-self:stretch}.pi-collections-list{display:flex;flex-direction:column;gap:0;border:1px solid #1e2130;border-radius:8px;overflow:hidden}.pi-collection-row{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;gap:12px;border-bottom:1px solid #1e2130;transition:background .12s}.pi-collection-row:last-child{border-bottom:none}.pi-collection-row:hover{background:#111520}.pi-collection-info{display:flex;flex-direction:column;gap:2px;min-width:0}.pi-collection-title{font-size:13px;font-weight:500;color:#c8cedd;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pi-collection-handle{font-size:11px;font-family:JetBrains Mono,Fira Code,monospace;color:#4f5875;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pi-collection-id-chip{font-family:JetBrains Mono,Fira Code,monospace;font-size:10px;color:#3a4155;background:#0d1018;border:1px solid #1e2130;padding:2px 6px;border-radius:3px;white-space:nowrap;flex-shrink:0}.pi-collections-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:28px 20px;border:1px dashed #1e2130;border-radius:8px;text-align:center}.pi-collections-empty-icon{font-size:20px;color:#2a2f42;line-height:1}.pi-collections-empty p{font-size:13px;color:#4f5875;margin:0}.pi-footer{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;border-top:1px solid #1e2130;background:#fff;flex-shrink:0;opacity:0;transform:translateY(8px);transition:opacity .2s,transform .2s;pointer-events:none}.pi-footer-visible{opacity:1;transform:translateY(0);pointer-events:all}.pi-footer-actions{display:flex;gap:8px}.pi-unsaved-badge{font-size:11.5px;color:#d98a3d;font-weight:500}@media (max-width: 600px){.pi-panel{width:100vw}.pi-row-2{grid-template-columns:1fr}}.pi-variant-bar{display:flex;align-items:center;gap:10px;padding:10px 20px;border-bottom:1px solid var(--border, #e5e7eb);background:var(--surface-subtle, #f9fafb);flex-wrap:wrap}.pi-variant-label{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted, #6b7280);white-space:nowrap}.pi-variant-select{font-size:13px;font-weight:500;color:var(--text, #000000);background:var(--surface, #fff);border:1px solid var(--border, #e5e7eb);border-radius:6px;padding:4px 28px 4px 10px;appearance:none;background-repeat:no-repeat;background-position:right 8px center;cursor:pointer;transition:border-color .15s}.pi-variant-select:hover,.pi-variant-select:focus{border-color:var(--accent, #6366f1);outline:none}.cvm-overlay{position:fixed;inset:0;background:#0000008c;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);z-index:300;display:flex;align-items:center;justify-content:center}.cvm-panel{width:460px;max-width:calc(100vw - 32px);max-height:calc(100vh - 64px);background:#fff;border:1px solid #1e2130;border-radius:10px;display:flex;flex-direction:column;overflow:hidden;animation:cvm-pop-in .18s cubic-bezier(.22,1,.36,1)}@keyframes cvm-pop-in{0%{transform:scale(.97) translateY(6px);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.cvm-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 12px;border-bottom:1px solid #1e2130;flex-shrink:0;gap:12px}.cvm-title{font-size:15px;font-weight:600;color:#1a1d27;margin:0}.cvm-body{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:18px;scrollbar-width:thin;scrollbar-color:#2a2f42 transparent}.cvm-body::-webkit-scrollbar{width:4px}.cvm-body::-webkit-scrollbar-track{background:transparent}.cvm-body::-webkit-scrollbar-thumb{background:#2a2f42;border-radius:2px}.cvm-section{display:flex;flex-direction:column;gap:12px}.cvm-section-title{font-size:11px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:#4f5875;margin:0}.cvm-hint{font-size:11.5px;color:#6b738f;margin:0;line-height:1.5}.cvm-field{display:flex;flex-direction:column;gap:5px}.cvm-field-label{font-size:12px;font-weight:500;color:#8a93b2}.cvm-field-checkbox{flex-direction:row;align-items:center;gap:8px}.cvm-field-checkbox input[type=checkbox]{width:15px;height:15px;accent-color:#4f7bff;cursor:pointer;flex-shrink:0}.cvm-field-checkbox .cvm-field-label{cursor:pointer;-webkit-user-select:none;user-select:none}.cvm-input,.cvm-select{background:#161a27;border:1px solid #2a2f42;border-radius:6px;color:#d0d5e8;font-size:13.5px;padding:7px 10px;transition:border-color .15s,box-shadow .15s;outline:none;font-family:inherit;width:100%;box-sizing:border-box}.cvm-input:focus,.cvm-select:focus{border-color:#4f7bff;box-shadow:0 0 0 3px #4f7bff1f}.cvm-input::placeholder{color:#3a4155}.cvm-select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234f5875' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;padding-right:30px;cursor:pointer}.cvm-option-builder{display:flex;gap:8px;align-items:stretch}.cvm-option-builder .cvm-input{flex:1}.cvm-chip-list{display:flex;flex-wrap:wrap;gap:6px}.cvm-chip{display:inline-flex;align-items:center;gap:5px;background:#111520;border:1px solid #2a2f42;border-radius:5px;padding:3px 8px 3px 10px;font-size:12.5px;color:#b0bad4;line-height:1}.cvm-chip-remove{display:flex;align-items:center;justify-content:center;width:14px;height:14px;background:none;border:none;color:#4f5875;font-size:14px;line-height:1;cursor:pointer;padding:0;border-radius:3px;transition:color .12s,background .12s;flex-shrink:0}.cvm-chip-remove:hover{color:#e05555;background:#e055551a}.cvm-advanced-toggle{display:flex;align-items:center;gap:4px;background:none;border:none;color:#6ea8f8;font-size:12.5px;font-weight:500;cursor:pointer;padding:4px 0;align-self:flex-start}.cvm-advanced-toggle:hover{color:#8fbcff}.cvm-error{font-size:12px;color:#e05555;background:#e0555514;border:1px solid rgba(224,85,85,.25);border-radius:6px;padding:8px 10px}.cvm-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:12px 20px;border-top:1px solid #1e2130;background:#fff;flex-shrink:0}.cvm-btn-sm{padding:6px 10px;flex-shrink:0}@media (max-width: 500px){.cvm-panel{width:100%;max-height:calc(100vh - 32px)}.cvm-option-builder{flex-direction:column}}.pm-row{border-bottom:1px solid #e5e5e5;cursor:pointer;transition:background-color .1s ease}.pm-row:last-child{border-bottom:none}.pm-row:hover{background-color:#f7f7f7}.pm-td{padding:10px 14px;font-size:.875rem;vertical-align:middle;white-space:nowrap}.pm-td-mono{font-family:ui-monospace,Cascadia Code,Fira Mono,monospace;font-size:.8125rem;letter-spacing:.01em}.pm-td-name{font-weight:500;white-space:normal;max-width:240px}.pm-td-date{color:#888;font-size:.8125rem}.pm-td-supplier{font-size:.8125rem}.pm-category-pill{display:inline-block;padding:2px 8px;border:1px solid #d0d0d0;border-radius:999px;font-size:.75rem;letter-spacing:.02em}.pm-status{display:inline-block;padding:2px 8px;border:1px solid #c0c0c0;border-radius:3px;font-size:.75rem;font-weight:500;letter-spacing:.03em;text-transform:uppercase}.pm-status-active{border-style:solid}.pm-status-low{border-style:dashed}.pm-status-out{opacity:.5}.pm-status-disc{opacity:.35;text-decoration:line-through}.pm-stock-low{font-weight:600}.pm-stock-zero{opacity:.4}.pm-create-form-container{padding:20px;background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a}.pm-create-form-divider{margin-bottom:20px;border:0;border-top:1px solid #eaeaea}.pm-form-step{margin-bottom:20px}.pm-form-step h3{margin-top:0;margin-bottom:16px;color:#333}.pm-form-section{margin-bottom:20px}.pm-form-section h4{margin-top:0;margin-bottom:12px;color:#555}.pm-form-group{display:flex;flex-direction:column;gap:12px}.pm-form-label{display:flex;flex-direction:column;gap:6px;font-weight:500;color:#444}.pm-checkbox-label{flex-direction:row;align-items:center;gap:8px;font-weight:400}.pm-form-input,.pm-form-select,.pm-form-textarea{width:100%;padding:8px 12px;border:1px solid #ccc;border-radius:4px;font-family:inherit;font-size:14px;box-sizing:border-box}.pm-form-input:focus,.pm-form-select:focus,.pm-form-textarea:focus{outline:none;border-color:#007bff}.pm-form-textarea{resize:vertical}.pm-form-actions{display:flex;justify-content:space-between;margin-top:30px;padding-top:20px;border-top:1px solid #eaeaea}.pm-form-actions-right{display:flex;gap:10px}.pm-btn{padding:10px 20px;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;border:1px solid transparent;transition:background-color .2s}.pm-btn-sm{padding:8px 16px;width:fit-content}.pm-btn-secondary{background:#fff;border-color:#ccc;color:#333}.pm-btn-secondary:hover{background:#f8f9fa}.pm-btn-primary{background:#007bff;color:#fff}.pm-btn-primary:hover{background:#0056b3}.pm-btn-success{background:#28a745;color:#fff}.pm-btn-success:hover{background:#218838}.pm-input-error{border-color:#e53e3e;outline-color:#e53e3e}.pm-input-success{border-color:#38a169;outline-color:#38a169}.pm-field-error{display:block;margin-top:4px;font-size:.78rem;color:#e53e3e}.pm-field-success{display:block;margin-top:4px;font-size:.78rem;color:#38a169}.pm-field-hint{display:block;margin-top:4px;font-size:.78rem;color:#888}.pm-table input[type=file]{width:100%;max-width:160px;padding:4px 6px;border:1px solid #ccc;border-radius:4px;font-size:12px;box-sizing:border-box}.pm-table td .pm-field-hint{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pm-form-step .pm-table{border-collapse:collapse;width:100%;font-size:13px}.pm-form-step .pm-table th,.pm-form-step .pm-table td{padding:6px 8px;border-bottom:1px solid #eee;vertical-align:middle}.pm-form-step .pm-table td .pm-form-input{padding:4px 6px;font-size:13px}.pm-accordion{display:flex;flex-direction:column;border:1px solid #eaeaea;border-radius:6px;overflow:hidden;margin-bottom:20px}.pm-accordion-item+.pm-accordion-item{border-top:1px solid #eaeaea}.pm-accordion-header{width:100%;display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fafafa;border:none;cursor:pointer;font-weight:500;color:#333;font-size:14px}.pm-accordion-header:hover{background:#f0f0f0}.pm-accordion-caret{color:#888}.pm-accordion-body{padding:16px}.pm-variant-row-group{display:flex;gap:20px;align-items:flex-start}.pm-variant-row-group .pm-form-section{flex:1;min-width:0}.cgm-trigger{padding:8px 16px;background:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer}.cgm-overlay{position:fixed;inset:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000}.cgm-panel{background:#fff;border-radius:8px;width:360px;max-width:90vw;box-shadow:0 10px 30px #0003}.cgm-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #eee}.cgm-title{margin:0;font-size:16px;font-weight:600}.cgm-close{background:none;border:none;cursor:pointer;color:#666}.cgm-body{padding:20px;display:flex;flex-direction:column;gap:16px}.cgm-field{display:flex;flex-direction:column;gap:6px}.cgm-field-label{font-size:13px;font-weight:500;color:#444}.cgm-select,.cgm-input{padding:8px 10px;border:1px solid #ccc;border-radius:4px;font-size:14px}.cgm-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 20px;border-top:1px solid #eee}.cgm-btn{padding:8px 16px;border-radius:4px;cursor:pointer;font-size:14px}.cgm-btn-ghost{background:#fff;border:1px solid #ccc;color:#333}.cgm-btn-save{background:#007bff;border:none;color:#fff}.cgm-error{padding:0 20px;color:#d33;font-size:13px}.cgm-confirm-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1100}.cgm-confirm-panel{background:#fff;border-radius:8px;width:300px;max-width:85vw;padding:20px;box-shadow:0 10px 30px #00000040;text-align:center}.cgm-confirm-panel p{margin:0 0 16px;font-size:14px;font-weight:600;color:#d33}.cgm-confirm-actions{display:flex;justify-content:center;gap:12px}.cgm-confirm-actions button{padding:8px 20px;border-radius:4px;cursor:pointer;font-size:14px;border:none}.cgm-confirm-actions button:first-child{background:#d33;color:#fff}.cgm-confirm-actions button:last-child{background:#fff;border:1px solid #ccc;color:#333}.pm-root{display:flex;flex-direction:column;min-height:100vh}.pm-topbar{display:flex;align-items:center;padding:16px 24px;border-bottom:1px solid #e2e2e2}.pm-topbar-left{display:flex;align-items:center;gap:8px}.pm-wordmark{font-weight:700;letter-spacing:.05em}.pm-slash{color:#999}.pm-page-label{color:#555}.pm-main{flex:1;padding:24px}.pm-section-header{margin-bottom:16px}.pm-title{font-size:1.5rem;margin:0}.pm-subtitle{color:#666;margin:4px 0 0}.pm-result-count{display:flex;align-items:baseline;gap:4px}.pm-count-num{font-weight:700}.pm-count-label{color:#666;font-size:.9rem}.pm-search-row{display:flex;align-items:center;gap:10px;margin-bottom:16px}.pm-table-container{border:1px solid #e2e2e2;border-radius:6px;overflow:hidden}.pm-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 24px;color:#666;gap:8px}.pm-spinner{width:24px;height:24px;border:3px solid #ddd;border-top-color:#007bff;border-radius:50%;animation:pm-spin .8s linear infinite}@keyframes pm-spin{to{transform:rotate(360deg)}}.pm-empty-icon,.pm-prompt-icon{color:#aaa}.pm-table{width:100%;border-collapse:collapse}.pm-th{text-align:left;padding:10px 12px;background:#fafafa;border-bottom:1px solid #e2e2e2;font-size:.8rem;font-weight:600;color:#555;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}.pm-th-sortable{cursor:pointer;-webkit-user-select:none;user-select:none}.pm-th-sortable:hover{color:#007bff}.pm-th-right{text-align:right}.pm-sort-icon{margin-left:4px;color:#bbb}.pm-sort-active{color:#007bff}.pm-row{cursor:pointer;border-bottom:1px solid #eee}.pm-row:hover{background:#f5f8ff}.pm-td{padding:10px 12px;font-size:.9rem}.pm-td-mono{font-family:monospace}.pm-td-name{font-weight:500}.pm-td-right{text-align:right}.pm-td-supplier{color:#555}.pm-td-date{color:#888;font-size:.85rem}.pm-category-pill{display:inline-block;padding:2px 10px;border-radius:12px;background:#f0f0f0;font-size:.8rem;color:#444}.pm-stock-low{color:#b8860b;font-weight:600}.pm-stock-zero{color:#c0392b;font-weight:600}.pm-status{display:inline-block;padding:2px 10px;border-radius:12px;font-size:.8rem;font-weight:500}.pm-status-active{background:#e6f4ea;color:#1e7e34}.pm-status-low{background:#fff4e0;color:#b8860b}.pm-status-out{background:#fdeaea;color:#c0392b}.pm-status-disc{background:#f0f0f0;color:#777}.queue-view-container{width:100%;min-height:100vh;background:linear-gradient(135deg,#f5f7fa,#c3cfe2);display:flex;flex-direction:column;align-items:center;padding:2rem;box-sizing:border-box}.queue-header{width:100%;max-width:1600px;text-align:center;margin-bottom:2rem;position:relative}.queue-header h1{font-size:3rem;font-weight:800;color:#1f2937;margin:0}.queue-header p{font-size:1.25rem;color:#4b5563;margin-top:.5rem}.queue-header .navigate-button{position:absolute;top:0;right:0;padding:.75rem 1.5rem;background-color:#4f46e5;color:#fff;border:none;border-radius:.5rem;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 6px -1px #0000001a}.queue-header .navigate-button:hover{background-color:#4338ca;transform:translateY(-2px);box-shadow:0 6px 10px -1px #00000026}.queue-content{width:100%;max-width:1600px;display:grid;grid-template-columns:1fr 1fr;gap:2rem}.queue-section{background-color:#ffffffe6;border-radius:1rem;padding:1.5rem;box-shadow:0 10px 25px -5px #0000001a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.queue-section-title{font-size:1.5rem;font-weight:700;margin-bottom:1.5rem;padding-bottom:.75rem;border-bottom:3px solid #e5e7eb;text-align:center}.queue-section-shopify .queue-section-title{color:#059669;border-bottom-color:#10b981}.queue-section-kiosk .queue-section-title{color:#2563eb;border-bottom-color:#3b82f6}.queue-columns{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.queue-column{display:flex;flex-direction:column;gap:1rem}.queue-item{background-color:#fff;border-radius:.75rem;padding:1.5rem;box-shadow:0 10px 15px -3px #0000001a;display:flex;flex-direction:column;border-left:5px solid #4f46e5;transition:all .3s ease}.queue-item:hover{transform:translateY(-2px);box-shadow:0 15px 25px -5px #00000026}.queue-item.compact{padding:1rem;border-left-width:4px}.queue-item.compact .queue-customer-name{font-size:1.125rem;font-weight:600}.queue-item.compact .queue-order-number{font-size:.75rem;margin-top:.25rem}.queue-item.compact .queue-wait-time-compact{font-size:.875rem;margin-top:.75rem;padding-top:.75rem;border-top:1px solid #e5e7eb;color:#4b5563}.queue-item.compact .queue-wait-time-compact strong{color:#1f2937;font-weight:700}.queue-item.pulling{background-color:#fef9c3;border-left-color:#f59e0b}.queue-item.pulling:hover{background-color:#fef3c7}.queue-item.ready-for-pickup{background-color:#dcfce7;border-left-color:#22c55e}.queue-item.ready-for-pickup:hover{background-color:#d1fae5}.queue-order-info{display:flex;flex-direction:column}.queue-customer-name{font-size:1.75rem;font-weight:700;color:#111827;line-height:1.2}.queue-confirmation-number,.queue-order-number{font-size:.875rem;font-weight:500;color:#6b7280;margin-top:.25rem}.queue-wait-time{font-size:1.25rem;color:#4b5563;margin-top:1rem;padding-top:1rem;border-top:2px solid #e5e7eb}.queue-wait-time strong{color:#1f2937;font-weight:700}.pickup-message{color:#166534;font-weight:700;font-size:1.5rem;animation:pulse 2s infinite}.pulling-message{color:#92400e;font-weight:700;font-size:1.5rem}.queue-item.compact .pickup-message,.queue-item.compact .pulling-message{font-size:1rem}.no-orders-message{width:100%;text-align:center;font-size:1.125rem;color:#6b7280;padding:3rem 1rem;grid-column:1 / -1;font-weight:500}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}@media (max-width: 1600px){.queue-content,.queue-header{max-width:1400px}}@media (max-width: 1200px){.queue-content,.queue-header{max-width:1000px}.queue-customer-name{font-size:1.5rem}.queue-item.compact .queue-customer-name{font-size:1rem}}@media (max-width: 1024px){.queue-content{grid-template-columns:1fr;max-width:800px}.queue-header h1{font-size:2.5rem}.queue-header .navigate-button{position:static;margin-top:1rem}}@media (max-width: 768px){.queue-columns{grid-template-columns:1fr}.queue-view-container{padding:1rem}.queue-header h1{font-size:2rem}.queue-header p{font-size:1rem}.queue-section,.queue-item{padding:1rem}.queue-customer-name{font-size:1.25rem}}.loading-container{display:flex;align-items:center;justify-content:center;min-height:100vh;font-size:1.5rem;color:#6b7280}.error-message{background-color:#fee2e2;border:2px solid #ef4444;border-radius:.75rem;padding:1.5rem;margin:2rem auto;max-width:600px;text-align:center;color:#991b1b}.error-message button{margin-top:1rem;padding:.75rem 1.5rem;background-color:#ef4444;color:#fff;border:none;border-radius:.5rem;cursor:pointer;font-size:1rem;font-weight:600;transition:background-color .3s ease}.error-message button:hover{background-color:#dc2626}@media (max-width: 768px){.main-app{flex-direction:column}.sidebar{width:100%;min-width:unset;border-right:none;border-bottom:1px solid #e5e7eb;max-height:40vh}.main-content{padding:1rem}.order-details-header{flex-direction:column;align-items:flex-start}.queue-list{grid-template-columns:1fr}.queue-header h1{font-size:2rem}.header-buttons-container{width:100%;justify-content:space-between}}.upload-button{position:relative}.upload-status-message{position:absolute;top:100%;left:0;margin-top:6px;white-space:nowrap;font-size:12px;display:flex;align-items:center;gap:6px;z-index:5}.upload-status-message.success{color:#16a34a}.upload-status-message.error{color:#dc2626}.delete-button{justify-content:center;cursor:default}.table-row-delete-button{background:transparent;border:none;color:#dc2626;font-size:14px;cursor:pointer;padding:4px 8px;border-radius:4px;display:flex;align-items:center;justify-content:center}.table-row-delete-button:hover{background-color:#dc2626;color:#e88383}.clickable-cell-wrapper{width:100%;height:100%;cursor:cell;-webkit-user-select:text;user-select:text;padding:6px 12px;box-sizing:border-box;display:flex;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.clickable-cell-wrapper:hover{background-color:#2563eb0a}.table-inline-cell-input{width:100%;height:100%;min-height:33px;padding:6px 12px;box-sizing:border-box;font-family:inherit;font-size:inherit;color:#1e293b;background-color:#fff;border:none;outline:none;box-shadow:inset 0 0 0 2px #2563eb}.read-only{cursor:default}.table-inline-cell-select{display:block;width:100%;height:100%;padding:0 8px 0 12px;box-sizing:border-box;font-family:inherit;font-size:inherit;color:#1e293b;line-height:35px;background-color:#fff;border:none;outline:none;cursor:pointer;box-shadow:inset 0 0 0 2px #2563eb}.table-product-cell-container{display:flex;flex-direction:row;align-items:center;width:100%;height:100%;padding:0 12px;box-sizing:border-box;cursor:help}.table-product-name-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;display:block;text-align:left}.card-artwork-hover-portal{position:absolute;width:200px;height:280px;box-sizing:border-box;background-color:#1e293b;border:2px solid #cbd5e1;border-radius:10px;box-shadow:0 20px 25px -5px #0000004d,0 8px 10px -6px #0000004d;overflow:hidden;z-index:999999;pointer-events:none}.card-artwork-hover-portal[data-placement=top]{transform:translate(-50%,-100%)}.card-artwork-hover-portal[data-placement=bottom]{transform:translate(-50%)}.hover-portal-card-frame{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:#0f172a}.hover-portal-card-img{width:100%;height:100%;object-fit:fill}.hover-card-portal-arrow{position:absolute;left:50%;transform:translate(-50%);width:0;height:0;z-index:10}.card-artwork-hover-portal[data-placement=top] .hover-card-portal-arrow{top:100%;border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #cbd5e1}.card-artwork-hover-portal[data-placement=bottom] .hover-card-portal-arrow{bottom:100%;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #cbd5e1}.product-preview-fade-in{animation:pureProductAlphaOnly .12s ease-out forwards}@keyframes pureProductAlphaOnly{0%{opacity:0}to{opacity:1}}.hover-portal-card-img.hidden-art{opacity:0}.hover-portal-card-img.visible-art{opacity:1;transition:opacity .1s ease-in}.portal-image-skeleton-pulse{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#1e293b;background-image:linear-gradient(90deg,#fff0,#ffffff0d,#fff0);background-size:200% 100%;animation:portalSkeletonPulse 1.5s infinite}@keyframes portalSkeletonPulse{0%{background-position:200% 0}to{background-position:-200% 0}}.table-set-cell-container{display:flex;flex-direction:row;align-items:center;gap:8px;cursor:help;width:100%;height:100%;padding:0 12px;box-sizing:border-box}.table-inline-set-icon{width:18px;height:18px;object-fit:contain;flex-shrink:0}.table-inline-set-icon-fallback{width:18px;height:18px;background-color:#cbd5e1;border-radius:4px;flex-shrink:0}.table-set-name-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;display:block;text-align:left}.set-symbol-hover-portal{position:absolute;width:max-content;min-width:140px;max-width:260px;transform:translate(-50%,-100%);background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:12px;box-shadow:0 10px 15px -3px #0f172a26,0 4px 6px -4px #0f172a26;display:flex;flex-direction:column;align-items:center;gap:8px;z-index:99999;pointer-events:none}.hover-portal-image-container{width:64px;height:64px;display:flex;align-items:center;justify-content:center}.hover-portal-large-icon{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0px 2px 4px rgba(15,23,42,.1))}.hover-portal-caption{font-size:11px;font-weight:700;color:#475569;text-transform:uppercase;letter-spacing:.05em;text-align:center;width:100%;white-space:normal;line-height:1.4}.hover-portal-arrow{position:absolute;top:100%;left:50%;transform:translate(-50%);width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #cbd5e1}.hover-portal-arrow:after{content:"";position:absolute;top:-7px;left:-6px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #ffffff}.set-preview-fade-in{animation:staticOpacityFadeOnly .1s ease-out forwards}@keyframes staticOpacityFadeOnly{0%{opacity:0}to{opacity:1}}.img-zoom-container{position:relative;width:100%;height:100%;max-width:500px;aspect-ratio:1 / 1;overflow:hidden;cursor:zoom-in;border:1px solid #e0e0e0;border-radius:8px;background-color:#fff}.img-zoom-container.is-zoomed{cursor:zoom-out}.img-zoom-element{width:100%;height:100%;object-fit:contain;transform-origin:center center;transition:transform .2s cubic-bezier(.25,1,.5,1);will-change:transform}.img-zoom-container.is-zoomed .img-zoom-element{transition:transform-origin .2s cubic-bezier(.215,.61,.355,1)}.staging-modal-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:#0f172a99;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;z-index:9999}.staging-modal-box{background:#fff;max-width:calc(100vw - 40px);border-radius:12px;padding:2rem;box-shadow:0 10px 15px -3px #00000040;box-sizing:border-box;animation:stagingModalPop .2s cubic-bezier(.16,1,.3,1);transition:width .25s cubic-bezier(.4,0,.2,1)}.compact-modal-layout{width:480px}.split-panel-layout{display:flex;flex-direction:row;width:720px;gap:24px}.modal-form-panel{flex:1;display:flex;flex-direction:column;gap:1.5rem}.staging-modal-header{display:flex;justify-content:space-between;align-items:center;width:100%}.staging-modal-header h2{margin:0;font-size:1.25rem;color:#1e293b}.staging-close-btn{background:none;border:none;font-size:1.75rem;font-weight:300;color:#94a3b8;cursor:pointer;line-height:1;padding:2px 6px;border-radius:4px;margin-top:-4px;transition:all .15s ease;width:auto!important}.staging-close-btn:hover{color:#ef4444;background-color:#f8fafc}.staging-modal-body{display:flex;flex-direction:column;gap:16px}.modal-field{display:flex;flex-direction:column;gap:.5rem}.modal-field label{font-size:13px;font-weight:600;color:#475569}.modal-input,.modal-select{width:100%;padding:10px 12px;border:1px solid #cbd5e1;border-radius:6px;font-size:14px;outline:none;box-sizing:border-box;background-color:#fff;transition:border-color .15s ease}.modal-input:focus,.modal-select:focus{border-color:#2563eb}.search-input-container{position:relative}.modal-suggestions-dropdown{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #e2e8f0;border-radius:6px;max-height:200px;overflow-y:auto;z-index:100;margin-top:4px;padding:0;list-style:none;box-shadow:0 4px 6px -1px #0000000d}.modal-suggestions-dropdown li{padding:10px 12px;cursor:pointer;font-size:13px;color:#334155;transition:background-color .1s ease}.modal-suggestions-dropdown li:hover{background-color:#f1f5f9}.staging-modal-footer{display:flex;justify-content:flex-end;gap:12px;padding-top:16px;border-top:1px solid #f1f5f9}.modal-cancel-btn{background-color:#fff;color:#475569;border:1px solid #cbd5e1;padding:10px 18px;border-radius:6px;font-weight:500;cursor:pointer;transition:background-color .15s ease}.modal-cancel-btn:hover{background-color:#f8fafc}.modal-confirm-btn{background-color:#2563eb;color:#fff;border:none;padding:10px 18px;border-radius:6px;font-weight:500;cursor:pointer;transition:background-color .15s ease}.modal-confirm-btn:hover:not(:disabled){background-color:#1d4ed8}.modal-confirm-btn:disabled{background-color:#cbd5e1;color:#94a3b8;cursor:not-allowed}.modal-image-preview-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;width:240px;padding-left:24px;border-left:1px solid #e2e8f0;gap:12px}.image-wrapper-card{position:relative;width:100%;aspect-ratio:2.5 / 3.5;background-color:#f8fafc;border-radius:12px;overflow:hidden;box-shadow:0 4px 12px #0f172a14}.card-preview-img-frame{width:100%;height:100%;object-fit:contain}.modal-card-number-badge{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;font-size:12px;font-weight:500;color:#64748b;text-transform:uppercase;letter-spacing:.05em;background-color:#f8fafc;padding:12px 16px;border-radius:12px;border:1px solid #e2e8f0;width:100%;box-sizing:border-box}.modal-card-number-badge span{font-weight:700;color:#1e293b}.modal-set-icon{width:48px;height:48px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0px 1px 2px rgba(15,23,42,.15))}.hidden-asset{display:none}.image-skeleton-loader{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;width:100%;color:#64748b;font-size:.85rem;gap:12px}.animate-fade-in{animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@keyframes stagingModalPop{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}.inventory-staging-container{display:flex;gap:16px;width:100vw;height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background-color:#f4f5f7;color:#212529;box-sizing:border-box;padding:12px 16px 16px 0}.inventory-staging-page{flex:1;display:flex;flex-direction:column;background-color:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 1px 3px #0000000d}.sidebar-section{width:240px;min-width:240px;background-color:transparent;display:flex;flex-direction:column;padding:12px 0 12px 16px;gap:1.5rem;box-sizing:border-box;transition:width .25s cubic-bezier(.4,0,.2,1),min-width .25s cubic-bezier(.4,0,.2,1),padding .25s ease;overflow:hidden}.sidebar-section.collapsed{width:0px;min-width:0px;padding-left:0;padding-right:0}.sidebar-content{display:flex;flex-direction:column;gap:1.5rem;width:224px;overflow:hidden;transition:opacity .15s ease .15s}.sidebar-section.collapsed .sidebar-content{opacity:0;pointer-events:none;transition:opacity .1s ease 0s}.sidebar-section .page-selector{width:100%;padding:8px;border-radius:4px;border:1px solid #ccd1d9;background-color:#fff;font-size:14px}.sidebar-section .actions-container{display:flex;flex-direction:column;gap:.5rem}.sidebar-section .actions-label{font-size:.725rem;text-transform:uppercase;letter-spacing:.06em;color:#8a94a0;font-weight:700}.views-section{display:flex;flex-direction:column;gap:.5rem}.view-links-container{display:flex;flex-direction:column;gap:.25rem}.view-link{padding:.5rem .75rem;border-radius:6px;text-decoration:none;color:#4a5568;font-size:.875rem;font-weight:500;transition:all .2s}.view-link:hover{background-color:#eaedd1;color:#1a202c}.view-link.active{background-color:#e0f2fe;color:#0369a1;font-weight:600}.workspace-top-bar{display:flex;align-items:center;padding:12px 16px;border-bottom:1px solid #f1f5f9;background-color:#fff}.sidebar-toggle-pill{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 14px;font-size:12px;font-weight:600;border-radius:20px;cursor:pointer;box-sizing:border-box;transition:all .2s cubic-bezier(.4,0,.2,1)}.sidebar-toggle-pill:not(.is-collapsed){background-color:#f1f5f9;border:1px solid #e2e8f0;color:#64748b}.sidebar-toggle-pill:not(.is-collapsed):hover{background-color:#e2e8f0;color:#334155;border-color:#cbd5e1}.sidebar-toggle-pill.is-collapsed{background-color:#0284c7;border:1px solid #0284c7;color:#fff;box-shadow:0 4px 12px #0284c740}.sidebar-toggle-pill.is-collapsed:hover{background-color:#0369a1;border-color:#0369a1;box-shadow:0 6px 16px #0369a159;transform:translateY(-1px)}.sidebar-toggle-pill.is-collapsed:active{transform:translateY(0)}.sidebar-toggle-pill:focus{outline:none}.inventory-staging-page .header-section{text-align:center;padding:8px 0}.inventory-staging-page .header-section h1{margin:0;font-size:24px;color:#1e293b;font-weight:700}.table-container{width:100%;overflow-x:auto;border:1px solid #e3e6ec;border-radius:6px;box-sizing:border-box}.csv-table-wrapper{display:flex;flex-direction:column;height:100%;width:100%}.csv-table-meta-header{background-color:#fff;padding:1.25rem 1.5rem;border-bottom:1px solid #e9ecef;display:flex;justify-content:space-between;align-items:flex-start;gap:2rem}.file-main-details{display:flex;flex-direction:column;gap:.5rem;max-width:50%}.title-row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.csv-table-meta-header h2{margin:0;font-size:1.35rem;font-weight:600;color:#1e293b;word-break:break-all}.file-status-badge{font-size:.75rem;padding:.25rem .5rem;border-radius:4px;font-weight:500;display:inline-flex;align-items:center}.file-status-badge.status-not-verified{background-color:#fef3c7;color:#d97706;border:1px solid #fcd34d}.file-status-badge.status-verified-but-not-put-away{background-color:#dbeafe;color:#1d4ed8;border:1px solid #93c5fd}.file-status-badge.status-verified-and-put-away{background-color:#dcfce7;color:#15803d;border:1px solid #86efac}.convention-pills{display:flex;gap:.5rem}.meta-pill{font-size:.8rem;font-weight:500;padding:.2rem .5rem;border-radius:4px}.condition-pill{background-color:#eef2ff;color:#4f46e5;border:1px solid #c7d2fe}.printing-pill{background-color:#f8fafc;color:#64748b;border:1px solid #e2e8f0}.dashboard-metrics-grid{display:flex;gap:.75rem;flex-wrap:wrap;justify-content:flex-end}.metric-card{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:.5rem .85rem;display:flex;flex-direction:column;justify-content:center;min-width:120px}.metric-label{font-size:.7rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.15rem}.metric-value{font-size:1.15rem;font-weight:700;color:#1e293b}.metric-card.highlight-card{background-color:#f0fdf4;border-color:#bbf7d0}.highlight-card .metric-label{color:#166534}.highlight-card .metric-value{color:#15803d}.metric-card.tracking-dates{font-size:.75rem;min-width:190px;gap:.2rem;background-color:#f8fafc}.tracking-dates>div{display:flex;justify-content:space-between;gap:1rem}.date-label{color:#64748b;font-weight:500}.date-value{color:#334155;font-weight:600}.csv-table-scroll-container{flex:1;overflow:auto;background-color:#fff}.csv-data-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:.85rem}.csv-data-table th{position:sticky;top:0;background-color:#f1f3f5;color:#495057;font-weight:600;text-align:left;padding:.6rem;box-shadow:inset -1px 0 #aeaeae,inset 0 -2px #aeaeae;z-index:2;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .1s ease}.csv-data-table td{padding:.4rem .6rem;border-bottom:1px solid #AEAEAE;border-right:1px solid #AEAEAE;vertical-align:middle}.cell-truncate-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.csv-table-return-message{display:flex;align-items:center;justify-content:center;height:100%;color:#868e96}.csv-cell-empty{color:#94a3b8!important;font-weight:300;text-align:center}.csv-data-table tr.stripe-white{background-color:#fff}.csv-data-table tr.stripe-grey{background-color:#aeaeae}.csv-data-table tr.stripe-grey td{border-bottom:1px solid #e2e4e8;border-right:1px solid #e2e4e8}.csv-data-table tr.row-unmapped-warning td{background-color:#fef08a;color:#1e293b;border-bottom:1px solid #fde047;border-right:1px solid #fde047}.csv-data-table tr.row-unmapped-warning:hover td{background-color:#fef9c3}.csv-data-table th:hover{background-color:#e9ecef}.csv-data-table tr.stripe-white:hover{background-color:#dbeafe}.csv-data-table tr.stripe-grey:hover{background-color:#9bb5cb}.csv-data-table tr.stripe-white:focus-within{background-color:#dbeafe}.csv-data-table tr.stripe-grey:focus-within{background-color:#9bb5cb}.csv-data-table select:focus{outline:none;border-color:#007bff;background-color:#fff;box-shadow:inset 0 0 0 1px #007bff}.csv-data-table td:focus{outline:none;box-shadow:inset 0 0 0 2px #007bff;position:relative;z-index:1}.csv-data-table tr.row-unmapped-warning td:focus{box-shadow:inset 0 0 0 2px #dc2626}.csv-data-table tr td.cell-bg-muted-green,.csv-data-table tr td:has(.cell-bg-muted-green){background-color:#a5d4d0}.csv-data-table tr td.cell-bg-green,.csv-data-table tr td:has(.cell-bg-green){background-color:#30a163;color:#fff}.csv-data-table tr td.cell-bg-muted-red,.csv-data-table tr td:has(.cell-bg-muted-red){background-color:#ca6674}.csv-data-table tr td.cell-bg-red,.csv-data-table tr td:has(.cell-bg-red){background-color:#e60a18;color:#fff}.csv-data-table tr td.cell-bg-yellow,.csv-data-table tr td:has(.cell-bg-yellow){background-color:#ffd966}.csv-data-table tr td.cell-bg-orange,.csv-data-table tr td:has(.cell-bg-orange){background-color:#f90}.csv-data-table tr:hover td.cell-bg-muted-green,.csv-data-table tr:hover td:has(.cell-bg-muted-green){background-color:#94c3bf}.csv-data-table tr:hover td.cell-bg-green,.csv-data-table tr:hover td:has(.cell-bg-green){background-color:#288a54}.csv-data-table tr:hover td.cell-bg-muted-red,.csv-data-table tr:hover td:has(.cell-bg-muted-red){background-color:#b95563}.csv-data-table tr:hover td.cell-bg-red,.csv-data-table tr:hover td:has(.cell-bg-red){background-color:#cc0915}.csv-data-table tr:hover td.cell-bg-yellow,.csv-data-table tr:hover td:has(.cell-bg-yellow){background-color:#ecc553}.csv-data-table tr:hover td.cell-bg-orange,.csv-data-table tr:hover td:has(.cell-bg-orange){background-color:#e68a00}.shelf-management-container{display:flex;min-height:100vh;background-color:#fff}.sidebar-section{width:260px;min-width:260px;background-color:#f2f2f2;border-right:1px solid #d9d9d9;padding:20px 15px;display:flex;flex-direction:column;gap:1rem;box-sizing:border-box}.sidebar-section .actions-container{display:flex;flex-direction:column;gap:12px}.sidebar-section .actions-label{font-weight:600;font-size:14px;color:#555;margin-bottom:4px}.sidebar-section .actions-container button,.sidebar-section .actions-container select{width:100%;box-sizing:border-box;text-align:left;padding:8px 12px}.shelf-management-page{flex-grow:1;padding:24px;display:flex;flex-direction:column;gap:20px;overflow-x:hidden}.shelf-management-page .header-section{text-align:center;padding:16px 24px;background-color:#e0e0e0;border-bottom:1px solid #c4c4c4}.shelf-management-page .header-section h1{margin:0 0 4px;font-size:26px;color:#333;font-weight:700}.shelf-management-page .header-section p{margin:0;font-size:13px;color:#666}.table-container{width:100%;overflow-x:auto;border:1px solid #d9d9d9;border-radius:6px}.dashboard-content-container{display:flex;flex-direction:column;gap:12px}.views-section{margin-top:.5rem;margin-bottom:.5rem}.view-links-container{display:flex;flex-direction:column;gap:.35rem;margin-top:.5rem}.view-link{display:block;padding:.6rem .75rem;color:#666;text-decoration:none;font-size:.9rem;font-weight:500;border-radius:6px;transition:all .2s ease}.view-link:hover{background-color:#f5f5f5;color:#333}.view-link.active{background-color:#e6e6e6;color:#333;font-weight:600}.dashboard-content-container{padding:24px;background-color:#f2f2f2}.shelf-activity-section{background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;padding:16px}.shelf-activity-section h2{margin:0 0 12px;font-size:16px;color:#333}.shelf-activity-table{width:100%;border-collapse:collapse;font-size:13px}.shelf-activity-table th,.shelf-activity-table td{padding:8px 10px;text-align:left;border-bottom:1px solid #e0e0e0;color:#444}.shelf-activity-table th{background-color:#ececec;color:#555;font-weight:600}.shelf-activity-table tbody tr:hover{background-color:#f5f5f5}.shelf-activity-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:16px}.shelf-activity-pagination span{font-size:13px;color:#555}.shelf-activity-pagination button{padding:6px 14px;font-size:13px;color:#333;background-color:#e6e6e6;border:1px solid #c4c4c4;border-radius:4px;cursor:pointer}.shelf-activity-pagination button:hover:not(:disabled){background-color:#d9d9d9}.shelf-activity-pagination button:disabled{color:#aaa;background-color:#f0f0f0;cursor:not-allowed}.shelf-table-view{display:flex;flex-direction:column;gap:16px;padding:16px}.stv-header{display:flex;align-items:center;justify-content:space-between}.stv-header h1{font-size:24px;font-weight:700;color:#1e293b;margin:0}.stv-back-btn{padding:6px 14px;font-size:14px;font-weight:700;color:#1e293b;background-color:#f4f5f7;border:1px solid #e3e6ec;border-radius:6px;cursor:pointer}.stv-letter-grid,.stv-shelf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:24px}.stv-letter-btn,.stv-shelf-btn{min-height:84px;min-width:84px;font-size:32px;font-weight:700;color:#fff;background-color:#9ca3af;border:3px solid #7f8ca3;border-radius:6px;cursor:pointer}.stv-shelf-btn{background-color:#6b7280}.stv-items-section{display:flex;flex-direction:column;gap:12px}.stv-items-section h2{font-size:20px;font-weight:700;color:#1e293b;margin:0}.stv-items-list{display:flex;flex-direction:column;gap:6px;list-style:none;margin:0;padding:0}.stv-item-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;background-color:#f4f5f7;border:1px solid #e3e6ec;border-radius:6px;font-size:18px;color:#1e293b}.stv-item-name{flex:1;font-weight:600}.stv-submit-btn{min-height:48px;min-width:96px;padding:8px 20px;font-size:16px;font-weight:700;color:#fff;background-color:#16a34a;border:none;border-radius:6px;cursor:pointer;align-self:flex-start}.stv-submit-btn:disabled{background-color:#94a3b8;cursor:not-allowed}.stv-error{font-size:14px;color:#dc2626}.stv-success{font-size:14px;color:#16a34a}.stv-needs-audit{background-color:#dc2626!important;border-color:#991b1b!important}.shelf-results-container{display:flex;flex-direction:column;gap:6px}.shelf-result-item{display:flex;align-items:center;gap:10px;padding:8px 12px;background-color:#f4f5f7;border:1px solid #e3e6ec;border-radius:6px;font-size:20px;color:#1e293b}.shelf-result-location{font-weight:600}.shelf-result-shelf{color:#6b7280}.shelf-result-qty{font-weight:600;color:#0369a1}.number-stepper{display:flex;align-items:center;gap:6px}.number-stepper-btn{width:48px;height:48px;font-size:26px;font-weight:700;line-height:1;color:#fff;background-color:#0369a1;border:none;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center}.number-stepper-btn:active{background-color:#075985}.number-stepper-btn:disabled{background-color:#94a3b8;cursor:not-allowed}.number-stepper-input{font-size:20px;font-weight:600;color:#0369a1;width:64px;height:48px;padding:4px;border:1px solid #cbd5e1;border-radius:6px;text-align:center;-moz-appearance:textfield}.number-stepper-input::-webkit-inner-spin-button,.number-stepper-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.shelf-result-save-btn{min-height:48px;min-width:96px;padding:8px 20px;font-size:16px;font-weight:700;color:#fff;background-color:#16a34a;border:none;border-radius:6px;cursor:pointer;transition:background-color .15s ease}.shelf-result-save-btn:active{background-color:#15803d}.shelf-result-save-btn:disabled{background-color:#94a3b8;cursor:not-allowed}.shelf-result-error{font-size:14px;color:#dc2626}.shelf-audit-view{max-width:960px;margin:0 auto;padding:1.5rem}.shelf-audit-header{margin-bottom:1.5rem}.shelf-audit-header h1{margin:0 0 1rem}.shelf-audit-scan-form{display:flex;gap:.5rem;margin-bottom:1.5rem}.shelf-audit-scan-form input{flex:1;padding:.5rem;border:1px solid #ccc;border-radius:4px;font-size:1rem}.shelf-audit-scan-form button{padding:.5rem 1rem;border:none;border-radius:4px;background:#2563eb;color:#fff;cursor:pointer}.shelf-audit-scan-form button:disabled{background:#93b4f0;cursor:not-allowed}.shelf-audit-section{margin-bottom:2rem}.shelf-audit-section h2,.shelf-audit-column h3{font-size:1.1rem;margin-bottom:.75rem}.shelf-audit-grid-header{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:.75rem}.shelf-audit-grid-header h3{font-size:1.1rem;margin:0}.shelf-audit-grid{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.shelf-audit-grid-row{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;align-items:stretch}.shelf-audit-list-item-readonly{background:#f3f4f6}.shelf-audit-item-empty{color:#9ca3af}.shelf-audit-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.shelf-audit-list-item{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;min-height:3rem;box-sizing:border-box;border:1px solid #e5e7eb;border-radius:6px;background:#f9fafb}.shelf-audit-list-readonly .shelf-audit-list-item{background:#f3f4f6}.shelf-audit-list-item-unscanned{background:#f9fafb;border-style:dashed;border-color:#d1d5db;opacity:.65}.shelf-audit-unscanned-badge{font-size:.75rem;color:#9ca3af;white-space:nowrap}.shelf-audit-item-name{flex:1;font-weight:500;font-size:clamp(.875rem,calc(1.1rem - (var(--name-len, 10) * .012rem)),1rem);white-space:normal;overflow-wrap:break-word}.shelf-audit-item-qty{color:#374151;white-space:nowrap;font-size:1rem;line-height:1.5}.shelf-audit-qty-input{width:60px;padding:.25rem .4rem;border:1px solid #ccc;border-radius:4px;text-align:center;font-size:1rem;line-height:1.5;box-sizing:border-box}.shelf-audit-qty-input:disabled{background:#f3f4f6;color:#9ca3af;cursor:not-allowed}.shelf-audit-remove-btn{border:none;background:transparent;color:#dc2626;cursor:pointer;font-size:.85rem}.shelf-audit-diff-btn{display:block;width:100%;padding:.75rem;border:none;border-radius:6px;background:#111827;color:#fff;font-size:1rem;cursor:pointer;margin-bottom:1.5rem}.shelf-audit-diff-positive{color:#16a34a;font-weight:600}.shelf-audit-diff-negative{color:#dc2626;font-weight:600}.shelf-audit-error{color:#dc2626;font-size:.9rem}.shelf-audit-submit-btn{display:block;width:100%;padding:.75rem;border:none;border-radius:6px;background:#16a34a;color:#fff;font-size:1rem;font-weight:600;cursor:pointer;margin-bottom:.75rem}.shelf-audit-submit-btn:hover:not(:disabled){background:#15803d}.shelf-audit-submit-btn:disabled{background:#86efac;cursor:not-allowed}.shelf-audit-success{color:#16a34a;font-size:.9rem;font-weight:500}.shelf-audit-list-item .number-stepper{display:flex;align-items:center;gap:.35rem;height:1.75rem}.shelf-audit-list-item .number-stepper-btn{width:1.5rem;height:1.5rem;padding:0;line-height:1;font-size:1rem;display:flex;align-items:center;justify-content:center}.shelf-audit-list-item .number-stepper-input{width:2.5rem;height:1.5rem;padding:0 .25rem;font-size:.875rem;text-align:center;box-sizing:border-box}.shelf-audit-view{display:flex;flex-direction:column;gap:16px;padding:16px}.shelf-audit-header h1{font-size:24px;font-weight:700;color:#1e293b;margin:0}.shelf-audit-section{display:flex;flex-direction:column;gap:12px}.shelf-audit-scan-form{display:flex;gap:8px}.shelf-audit-scan-form input{flex:1;font-size:20px;padding:8px 12px;border:1px solid #e3e6ec;border-radius:6px;color:#1e293b}.shelf-audit-scan-form button{min-height:48px;min-width:96px;padding:8px 20px;font-size:16px;font-weight:700;color:#fff;background-color:#0369a1;border:none;border-radius:6px;cursor:pointer}.shelf-audit-scan-form button:disabled{background-color:#94a3b8;cursor:not-allowed}.shelf-audit-error{font-size:14px;color:#dc2626}.shelf-audit-success{font-size:14px;color:#16a34a}.shelf-audit-list{display:flex;flex-direction:column;gap:6px;list-style:none;margin:0;padding:0}.shelf-audit-list-item{display:flex;align-items:center;gap:10px;padding:8px 12px;background-color:#f4f5f7;border:1px solid #e3e6ec;border-radius:6px;font-size:20px;color:#1e293b}.shelf-audit-item-name{flex:1;font-weight:600}.shelf-audit-item-qty{font-weight:600;color:#0369a1;white-space:nowrap}.shelf-audit-shelf-select{font-size:16px;font-weight:600;color:#1e293b;padding:6px 8px;border:1px solid #cbd5e1;border-radius:6px;background-color:#fff}.shelf-audit-qty-input{font-size:20px;font-weight:600;color:#0369a1;width:64px;height:48px;padding:4px;border:1px solid #cbd5e1;border-radius:6px;text-align:center;-moz-appearance:textfield}.shelf-audit-qty-input::-webkit-inner-spin-button,.shelf-audit-qty-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.shelf-audit-remove-btn{min-height:40px;padding:6px 14px;font-size:14px;font-weight:700;color:#fff;background-color:#dc2626;border:none;border-radius:6px;cursor:pointer}.shelf-audit-remove-btn:active{background-color:#b91c1c}.shelf-audit-submit-btn{min-height:48px;min-width:96px;padding:8px 20px;font-size:16px;font-weight:700;color:#fff;background-color:#16a34a;border:none;border-radius:6px;cursor:pointer;transition:background-color .15s ease;align-self:flex-start}.shelf-audit-submit-btn:active{background-color:#15803d}.shelf-audit-submit-btn:disabled{background-color:#94a3b8;cursor:not-allowed}
