:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}/ *{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;background-color:#f8fafc;color:#1f2937;line-height:1.6}.listings-scroll-container::-webkit-scrollbar{width:8px}.listings-scroll-container::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.listings-scroll-container::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.listings-scroll-container::-webkit-scrollbar-thumb:hover{background:#555}.app-layout{display:flex;min-height:100vh;background-color:#f8fafc}.app-layout.sidebar-collapsed .sidebar{width:60px}.app-layout.sidebar-collapsed .main-content{margin-left:60px}.sidebar{position:fixed;top:0;left:0;width:260px;height:100vh;background:linear-gradient(180deg,#1f2937,#111827);border-right:1px solid #374151;transition:all .3s ease;z-index:1000;overflow-y:auto;box-shadow:4px 0 20px #0000001a;padding:12px}.sidebar.collapsed{width:60px}.sidebar-brand{padding:12px 16px;border-bottom:none;background:none;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;min-height:50px;border-radius:0;margin-bottom:12px;box-shadow:none}.sidebar-brand:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background-image:radial-gradient(circle at 20% 80%,rgba(96,165,250,.03) 0%,transparent 50%),radial-gradient(circle at 80% 20%,rgba(59,130,246,.03) 0%,transparent 50%);pointer-events:none}.brand-content{display:flex;align-items:center;justify-content:center;width:100%;height:100%;position:relative;z-index:1}.brand-logo-only{width:60%;height:60%;object-fit:contain;object-position:center;border-radius:8px;background:none;padding:0;filter:drop-shadow(0 1px 2px rgba(0,0,0,.4)) drop-shadow(0 -1px 1px rgba(55,65,81,.2));transition:all .3s ease;cursor:pointer;position:relative;z-index:1}.brand-logo-only:hover{transform:scale(1.02);filter:drop-shadow(0 2px 4px rgba(0,0,0,.5)) drop-shadow(0 -1px 2px rgba(55,65,81,.3)) drop-shadow(0 0 8px rgba(96,165,250,.3))}.brand-logo-only:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}.sidebar.collapsed .sidebar-brand{padding:4px;min-height:52px;margin-bottom:8px}.sidebar.collapsed .brand-logo-only{width:85%;height:85%;border-radius:6px}.sidebar-nav{padding:1rem 0;flex:1}.nav-section{margin-bottom:2rem}.nav-section-header{padding:.5rem 1rem;margin-bottom:.5rem;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#9ca3af}.sidebar.collapsed .nav-section-header{display:none}.nav-list{list-style:none;padding:0;margin:0}.nav-item{margin-bottom:.25rem}.nav-link{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;margin:0 .5rem;border-radius:8px;color:#d1d5db;background:none;border:none;width:calc(100% - 1rem);text-align:left;font-size:.875rem;font-weight:500;transition:all .2s ease;cursor:pointer;position:relative}.nav-link:hover{color:#f9fafb;background:#4b556380;transform:translate(2px)}.nav-link.active{color:#fff;background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 4px 12px #3b82f640}.nav-link.active:before{content:"";position:absolute;left:-.5rem;top:50%;transform:translateY(-50%);width:3px;height:20px;background:#60a5fa;border-radius:0 2px 2px 0}.nav-icon{width:20px;height:20px;flex-shrink:0}.nav-badge{margin-left:auto;background:#374151;color:#d1d5db;font-size:.75rem;font-weight:600;padding:.125rem .5rem;border-radius:12px;min-width:20px;text-align:center}.nav-link.active .nav-badge{background:#fff3;color:#fff}.sidebar.collapsed .nav-link{padding:.75rem;justify-content:center}.sidebar.collapsed .nav-link span,.sidebar.collapsed .nav-badge{display:none}.batch-link{padding:.625rem 1rem!important;gap:.625rem!important}.batch-thumbnail{width:28px;height:28px;background:linear-gradient(135deg,#3b82f6,#1d4ed8);border-radius:6px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:.875rem;flex-shrink:0;box-shadow:0 2px 8px #3b82f633}.batch-info{display:flex;flex-direction:column;gap:.125rem;flex:1;min-width:0}.batch-name{font-weight:500;font-size:.875rem;color:#d1d5db;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.batch-status{font-size:.75rem;font-weight:500;text-transform:capitalize}.batch-status.status-draft{color:#9ca3af}.batch-status.status-ready{color:#60a5fa}.batch-status.status-completed{color:#34d399}.batch-status.status-error{color:#f87171}.main-content{flex:1;margin-left:260px;min-height:100vh;background-color:#f5f6fa;transition:margin-left .3s ease;width:calc(100vw - 260px);min-width:600px;max-width:calc(100vw - 260px);overflow-x:hidden;box-sizing:border-box}.sidebar.collapsed+.main-content{margin-left:60px;width:calc(100vw - 60px);max-width:calc(100vw - 60px)}.main-header{background:#fff;border-bottom:1px solid #e5e7eb;padding:1rem 2rem;display:flex;align-items:center;justify-content:space-between;box-shadow:0 1px 3px #0000001a;position:sticky;top:0;z-index:100}.header-left{display:flex;align-items:center;gap:1rem}.sidebar-toggle{background:none;border:none;padding:.5rem;border-radius:6px;color:#6b7280;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.sidebar-toggle:hover{background:#f3f4f6;color:#374151}.sidebar-toggle svg{width:20px;height:20px}.page-title{font-size:1.5rem;font-weight:600;color:#111827;margin:0}.header-right{display:flex;align-items:center;gap:1rem}.content-area{padding:1.5rem;min-height:calc(100vh - 80px);width:100%;max-width:100%;box-sizing:border-box;overflow-x:hidden}.batch-overview-content{width:100%;max-width:100%;margin:0 auto;background:#fff;border-radius:16px;box-shadow:0 4px 20px #00000014;padding:1.5rem;box-sizing:border-box;overflow-x:hidden}.batch-editor-content{width:100%;max-width:100%;margin:0 auto;box-sizing:border-box;overflow-x:hidden}.batch-wizard-content{width:calc(100% - 2rem);max-width:calc(100vw - 320px);margin:0 auto;box-sizing:border-box;background:#fff;border-radius:16px;box-shadow:0 4px 20px #00000014;overflow:hidden}.batch-mode-header{background:linear-gradient(135deg,#e3f2fd,#bbdefb);border:2px solid #2196f3;border-radius:12px;padding:1.5rem;margin-bottom:2rem;box-shadow:0 4px 12px #2196f31a}.batch-mode-header h3{margin:0 0 .5rem;color:#1565c0;font-size:1.3rem;font-weight:600;display:flex;align-items:center;gap:.5rem}.batch-mode-header h3:before{content:"📦";font-size:1.2em}.batch-details{display:flex;gap:2rem;font-size:.95rem;color:#1976d2}.batch-details span{background:#fff;padding:.25rem .75rem;border-radius:6px;border:1px solid #e3f2fd;font-weight:500}.wizard-card{width:100%;background:#fff;border-radius:16px;box-shadow:0 4px 20px #00000014;overflow:hidden;max-width:100%;box-sizing:border-box}.wizard-steps{display:flex;justify-content:center;padding:1.5rem 1rem;background:#f8f9fa;gap:1.5rem;flex-wrap:wrap;box-sizing:border-box}.step{display:flex;align-items:center;gap:.5rem;padding:0 .5rem;position:relative;color:#999;transition:all .3s;flex-shrink:1;min-width:0}.step:not(:last-child):after{content:"";position:absolute;right:-1rem;width:1.5rem;height:3px;background:#ddd;top:50%;transform:translateY(-50%);border-radius:2px}.wizard-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:2px solid #f0f0f0;background:linear-gradient(135deg,#f8f9fa,#e9ecef);box-sizing:border-box}.wizard-header h2{margin:0;color:#333;font-size:1.4rem;font-weight:600;flex-shrink:0}.template-selector-header{display:flex;align-items:center;margin-left:auto;margin-right:1rem;gap:.5rem}.template-selector-header .form-control{min-width:250px}.wizard-content{padding:1.5rem;box-sizing:border-box;max-width:100%;overflow-x:hidden}.step-content h3{margin:0 0 .5rem;color:#333;font-size:1.2rem;font-weight:600}.step-content p{color:#666;margin-bottom:1rem;font-size:.95rem;line-height:1.4}.wizard-footer{display:flex;justify-content:space-between;gap:1rem;padding:1rem 1.5rem;border-top:2px solid #f0f0f0;background:linear-gradient(135deg,#f8f9fa,#e9ecef);box-sizing:border-box}@media (max-width: 1400px){.wizard-content{padding:1.75rem}}@media (max-width: 1200px){.form-row{gap:1.5rem}.location-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width: 900px){.batch-wizard-content{margin:0;border-radius:0}.wizard-steps{padding:1.5rem 1rem;gap:1rem}.step:not(:last-child):after{display:none}.step span:not(.step-number){display:none}.wizard-content{padding:1.5rem}.wizard-footer{padding:1.5rem;flex-direction:column}.form-row{grid-template-columns:1fr;gap:0}.location-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.content-area{padding:1rem}.wizard-header{padding:1.25rem}.wizard-header h2{font-size:1.4rem}}.form-group{margin-bottom:.75rem}.form-group label{display:block;margin-bottom:.25rem;font-weight:500;color:#333;font-size:.9rem}.batch-wizard-content .form-group label,.wizard-card .form-group label,.wizard-content label{color:#000!important}.form-control{width:100%;padding:.6rem .8rem;border:2px solid #e0e0e0;border-radius:8px;font-size:.95rem;background:#fff;color:#333;transition:all .2s;box-sizing:border-box}.batch-wizard-content select.form-control,.wizard-card select.form-control,.wizard-content select.form-control,.step-content select.form-control{background-color:#fff!important;color:#000!important;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;min-width:200px}.batch-wizard-content select.form-control option,.wizard-card select.form-control option,.wizard-content select.form-control option,.step-content select.form-control option,.wizard-content input.form-control,.step-content input.form-control{background-color:#fff!important;color:#000!important}.form-control:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.form-row,.price-row{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:.75rem}.price-row .form-group{margin-bottom:0}.price-row .input-prefix{position:absolute;left:.6rem;top:50%;transform:translateY(-50%);color:#666;z-index:1;font-weight:500;pointer-events:none}.price-row .form-control{width:100%;padding:.6rem .8rem .6rem 1.6rem;border:2px solid #e0e0e0;border-radius:8px;font-size:.95rem;background:#fff;color:#333;transition:all .2s;box-sizing:border-box}.validation-summary{margin-top:.75rem;padding:.75rem;backgroundColor:"#f8f9fa";borderRadius:"6px";border:"1px solid #e9ecef"}.btn{padding:.6rem 1.5rem;border:none;border-radius:8px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s;text-decoration:none;display:inline-block;text-align:center;box-shadow:0 2px 8px #0000001a}.input-group{position:relative}.input-prefix{position:absolute;left:1rem;top:50%;transform:translateY(-50%);color:#666;z-index:1;font-weight:500;pointer-events:none}.input-group .form-control{padding-left:2.5rem}.price-row{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.price-row .form-group{margin-bottom:1.5rem}.price-row .input-group{position:relative;width:100%}.price-row .input-prefix{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:#666;z-index:1;font-weight:500;pointer-events:none}.price-row .form-control{width:100%;padding:.75rem 1rem .75rem 2rem;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;background:#fff;color:#333;transition:all .2s;box-sizing:border-box}.price-row .form-control:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.btn{padding:.75rem 2rem;border:none;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s;text-decoration:none;display:inline-block;text-align:center;box-shadow:0 2px 8px #0000001a}.btn-primary{background:linear-gradient(135deg,#007bff,#0056b3);color:#fff}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#0056b3,#004085);transform:translateY(-2px);box-shadow:0 4px 12px #007bff4d}.btn-secondary{background:linear-gradient(135deg,#6c757d,#5a6268);color:#fff}.btn-secondary:hover:not(:disabled){background:linear-gradient(135deg,#5a6268,#495057);transform:translateY(-2px);box-shadow:0 4px 12px #6c757d4d}.btn-outline{background:transparent;border:2px solid #007bff;color:#007bff;box-shadow:none}.btn-outline:hover{background:#007bff;color:#fff;box-shadow:0 2px 8px #007bff33}.btn:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:0 1px 3px #0000001a}.btn-sm{padding:.5rem 1rem;font-size:.9rem}.create-ebay-listings-button{background:linear-gradient(135deg,#0654ba,#4a90e2);color:#fff!important;padding:12px 24px;border:none;border-radius:8px;cursor:pointer;font-weight:600;font-size:1rem;transition:all .3s ease;margin-left:12px;box-shadow:0 2px 8px #0654ba33;text-decoration:none;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.create-ebay-listings-button:before{content:"🛒";font-size:1.1em}.create-ebay-listings-button:hover:not(:disabled){background:linear-gradient(135deg,#0545a0,#3a7bc8);transform:translateY(-2px);box-shadow:0 6px 20px #0654ba66;color:#fff!important}.create-ebay-listings-button:disabled{background:#9ca3af;cursor:not-allowed;transform:none;box-shadow:0 1px 3px #0000001a;opacity:.6}.create-single-listing-button{background:linear-gradient(135deg,#0654ba,#4a90e2);color:#fff!important;border:none;padding:10px 16px;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:600;flex:1;transition:all .2s ease;box-shadow:0 2px 6px #0654ba33;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.create-single-listing-button:before{content:"🛒";font-size:.9em}.create-single-listing-button:hover:not(:disabled){background:linear-gradient(135deg,#0545a0,#3a7bc8);transform:translateY(-1px);box-shadow:0 4px 12px #0654ba4d;color:#fff!important}.create-single-listing-button:disabled{background:#9ca3af;cursor:not-allowed;transform:none;box-shadow:none;opacity:.6}.download-button{background:linear-gradient(135deg,#28a745,#20c997);color:#fff!important;padding:12px 24px;border:none;border-radius:8px;cursor:pointer;font-weight:600;font-size:1rem;transition:all .3s ease;box-shadow:0 2px 8px #28a74533;text-decoration:none;display:inline-flex;align-items:center;gap:8px}.download-button:before{content:"📥";font-size:1.1em}.download-button:hover:not(:disabled){background:linear-gradient(135deg,#218838,#1e7e34);transform:translateY(-2px);box-shadow:0 6px 20px #28a74566;color:#fff!important}.download-single-button{background:linear-gradient(135deg,#28a745,#20c997);color:#fff!important;padding:8px 12px;border:none;border-radius:6px;cursor:pointer;margin-top:10px;font-size:.9rem;font-weight:500;transition:all .2s ease;box-shadow:0 2px 6px #28a74533;flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px}.download-single-button:before{content:"📥";font-size:.9em}.download-single-button:hover:not(:disabled){background:linear-gradient(135deg,#218838,#1e7e34);transform:translateY(-1px);box-shadow:0 4px 12px #28a7454d;color:#fff!important}.button-group{display:flex;gap:1rem}.button-group .primary,.generate-area .primary{background-color:#007bff;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:4px;font-size:1rem;cursor:pointer;transition:background-color .2s}.button-group .primary:disabled,.generate-area .primary:disabled{background-color:#ccc;cursor:not-allowed}.button-group .primary:hover:not(:disabled),.generate-area .primary:hover:not(:disabled){background-color:#0056b3}.button-group .danger{background-color:#dc3545;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:4px;font-size:1rem;cursor:pointer;transition:background-color .2s}.button-group .danger:hover{background-color:#b02a37}.create-ebay-listings-button.loading,.create-single-listing-button.loading{background:#6c757d;cursor:wait}.create-ebay-listings-button.loading:before,.create-single-listing-button.loading:before{content:"⏳";animation:spin 1s linear infinite}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-content{background:#fff;border-radius:16px;max-height:90vh;overflow-y:auto;width:90%;max-width:900px;box-shadow:0 20px 60px #0003;animation:modalSlideIn .3s ease}@keyframes modalSlideIn{0%{opacity:0;transform:scale(.9) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:2px solid #e9ecef;background:linear-gradient(135deg,#f8f9fa,#e9ecef)}.modal-header h3{margin:0;color:#333;font-size:1.3rem;font-weight:600}.modal-close{background:none;border:none;font-size:2rem;color:#666;cursor:pointer;padding:.5rem;border-radius:8px;transition:all .2s}.modal-close:hover{background:#f0f0f0;color:#333}.modal-body{padding:2rem}.modal-footer{display:flex;gap:1rem;justify-content:flex-end;padding:1.5rem 2rem;border-top:2px solid #e9ecef;background:#f8f9fa}.listing-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.listing-modal{width:100%;max-width:600px;max-height:90vh;overflow-y:auto}.batch-table{background:#fff;border-radius:12px;box-shadow:0 2px 12px #00000014;overflow:hidden;width:100%;max-width:100%;box-sizing:border-box}.table-header,.table-row{display:grid;grid-template-columns:2fr 1fr 2fr 1.5fr 1fr;gap:1rem;padding:1.5rem;align-items:center;min-width:0}.table-header{background:linear-gradient(135deg,#f8f9fa,#e9ecef);font-weight:600;color:#333;border-bottom:2px solid #dee2e6}.table-row{border-bottom:1px solid #f0f0f0;transition:all .2s}.table-row:hover{background:#f8f9ff;transform:translateY(-1px);box-shadow:0 4px 12px #0000000d}.table-row:last-child{border-bottom:none}.batch-name-cell{display:flex;align-items:center;gap:1rem}.batch-name-cell .batch-thumbnail{width:50px;height:50px;background:linear-gradient(135deg,#007bff,#0056b3);border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:1.5rem;box-shadow:0 2px 8px #007bff33}.batch-name-cell span{font-weight:500;color:#333;font-size:1.1rem}.status-badge{display:inline-block;padding:.4rem 1rem;border-radius:20px;color:#fff;font-size:.85rem;font-weight:600;text-transform:capitalize;box-shadow:0 2px 4px #0000001a}.batch-preview{display:flex;gap:1.5rem;align-items:center;font-size:.9rem;color:#666}.preview-icon{margin-right:.5rem;font-size:1.1rem}.empty-state{text-align:center;padding:4rem 2rem;color:#666}.empty-state h3{color:#333;margin-bottom:1rem;font-size:1.5rem}.empty-state p{margin-bottom:2rem;font-size:1.1rem}.main-card{flex:1;display:grid;grid-template-columns:1fr 3fr;gap:2rem;margin-top:2rem;width:100%;max-width:100%;margin-left:auto;margin-right:auto;box-sizing:border-box;overflow-x:auto}.preview-section{display:flex;flex-direction:column;gap:1rem;width:100%;overflow-x:hidden}.preview-section h2{margin:0;font-size:1.5rem;color:#333}.groups-container{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;width:100%;max-width:100%}@media (min-width: 768px){.groups-container{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}}@media (min-width: 1200px){.groups-container{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}}@media (min-width: 1600px){.groups-container{grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}}.group-card{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden;display:flex;flex-direction:column;position:relative}.thumbs{display:flex;flex-wrap:wrap;gap:.5rem;padding:1rem;border-bottom:1px solid #eee}.thumbs img{width:150px;height:150px;object-fit:cover;border-radius:4px}.listing{padding:1rem;color:#444;flex:1}.group-card.processed:before{content:"✓";position:absolute;top:10px;right:10px;width:24px;height:24px;background-color:#4caf50;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;z-index:10}.group-card.processing:before{content:"⋯";position:absolute;top:10px;right:10px;width:24px;height:24px;background-color:#2196f3;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;z-index:10}.group-card.new:before{content:"NEW";position:absolute;top:10px;right:10px;padding:4px 8px;background-color:#ff9800;color:#fff;border-radius:12px;font-size:12px;font-weight:700;z-index:10}.card-actions{display:flex;gap:10px;padding:15px;border-top:1px solid #eee;background:#f8f9fa;align-items:center;justify-content:space-between}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.header-buttons{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.view-toggle{display:inline-flex;border-radius:6px;border:1px solid #ddd;overflow:hidden;background-color:#fff}.view-toggle-btn{background:none;border:none;padding:8px 12px;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#666;transition:all .2s;border-right:1px solid #ddd;flex-shrink:0}.view-toggle-btn:last-child{border-right:none}.view-toggle-btn:hover{background-color:#f5f5f5;color:#333}.view-toggle-btn.active{background-color:#007bff;color:#fff}.view-toggle-btn svg{width:16px;height:16px}.row-view-container{width:100%;max-width:100%;overflow-x:auto;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;box-sizing:border-box}.row-view-table{display:flex;flex-direction:column;min-width:100%;width:100%;background:#fff}.row-view-header{display:grid;background-color:#f8f9fa;border-bottom:2px solid #dee2e6;font-weight:700;color:#000!important;position:sticky;top:0;z-index:5;width:100%}.row-header-cell{padding:12px 8px;border-right:1px solid #dee2e6;display:flex;align-items:center;font-size:.9rem;text-transform:uppercase;letter-spacing:.5px;color:#000!important;background-color:#f8f9fa}.row-header-cell:last-child{border-right:none}.images-header{justify-content:center;color:#000!important}.row-view-row{display:grid;border-bottom:1px solid #e9ecef;transition:background-color .2s;position:relative;width:100%;color:#000!important;min-height:60px;background-color:#fff}.row-view-row.row-even{background-color:#fff!important}.row-view-row.row-odd{background-color:#f1f3f5!important}.row-view-row:hover{background-color:#e3f2fd!important;box-shadow:0 2px 4px #0000001a}.row-view-row.processing{background-color:#e3f2fd!important;border-left:4px solid #2196F3}.row-view-row.processed{background-color:#e8f5e8!important;border-left:4px solid #4CAF50}.row-view-row.new{background-color:#fff3cd!important;border-left:4px solid #FF9800}.row-cell{padding:12px 8px;border-right:1px solid #e9ecef;display:flex;align-items:center;font-size:.9rem;overflow:hidden;color:#000!important;background-color:inherit}.row-cell:last-child{border-right:none}.images-cell{flex-direction:column;align-items:center;padding:8px;color:#000!important;background-color:inherit}.row-images-container{display:flex;flex-direction:column;align-items:center;width:100%}.group-header-with-status{display:flex;align-items:center;gap:8px;margin-bottom:8px;flex-wrap:wrap;justify-content:center}.group-number-badge{background-color:#007bff;color:#fff;padding:4px 8px;border-radius:12px;font-size:.8rem;font-weight:700}.status-indicator{display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12px;border-radius:50%;width:20px;height:20px}.status-indicator.processed{background-color:#4caf50;color:#fff}.status-indicator.processing{background-color:#2196f3;color:#fff}.status-indicator.new{background-color:#ff9800;color:#fff;border-radius:10px;padding:2px 6px;font-size:10px;width:auto;height:auto}.row-thumbs{display:flex;flex-wrap:wrap;gap:4px;justify-content:center;width:100%}.row-thumb{width:150px;height:150px;object-fit:cover;border-radius:4px;cursor:move;border:1px solid #ddd;transition:transform .2s}.row-thumb:hover{transform:scale(1.1);z-index:1}.title-cell{align-items:flex-start;flex-direction:column;justify-content:center;color:#000!important;background-color:inherit;padding:8px 6px}.row-title{font-weight:500;line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-word;color:#000!important}.description-cell{align-items:flex-start;flex-direction:column;justify-content:center;color:#000!important;background-color:inherit;padding:8px 6px}.row-description{line-height:1.3;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-word;color:#000!important}.price-cell,.sku-cell,.field-cell{padding:8px 6px;color:#000!important;background-color:inherit}.row-input{width:100%;padding:6px 8px;border:1px solid #ccc;border-radius:4px;font-size:.85rem;background-color:#fff!important;color:#000!important;transition:border-color .2s,box-shadow .2s}.row-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff1a;color:#000!important;background-color:#fff!important}.price-input{text-align:right;color:#000!important}.field-input{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="gray" d="M2 4l4 4 4-4z"/></svg>');background-repeat:no-repeat;background-position:right 6px center;background-size:10px;background-color:#fff!important;padding-right:24px;color:#000!important}.row-loading{display:flex;align-items:center;gap:8px;color:#000!important;font-style:italic}.row-loading .spinner{width:16px;height:16px}.row-loading .spinner-circle{width:16px;height:16px;border-width:2px}.row-loading span{color:#000!important}.row-error{color:#dc3545!important;font-style:italic;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.row-placeholder{color:#666!important;font-style:italic}.form-section{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 8px #0000001a;display:flex;flex-direction:column;gap:1.5rem;height:fit-content}.scrollable-fields{max-height:600px;overflow-y:auto;padding:.25rem .25rem .25rem 0;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;display:flex;flex-direction:column;gap:1.5rem}.field-row{margin-bottom:.8rem}.field-row:last-child{margin-bottom:0}.field-row label{display:block;margin-bottom:.3rem;font-weight:500;color:#555}.field-row select{padding:.5rem;border-radius:4px;border:1px solid #ccc;font-size:1rem;background-color:#3b3b3b;color:#fff}.form-group select{padding:.5rem;border-radius:4px;border:1px solid #ccc;background-color:#3b3b3b;font-size:1rem;color:#fff}.uniform-select{width:100%;padding:.5rem;border-radius:4px;border:1px solid #ccc;font-size:1rem;height:38px;background-color:#3b3b3b;color:#fff;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.auto-rotate-option{display:flex;align-items:center;margin:10px 0}.auto-rotate-option label{cursor:pointer;font-size:14px}.ai-category-fields-option{display:flex;align-items:flex-start;margin:15px 0;padding:12px;background:linear-gradient(135deg,#f0f7ff,#e8f4f8);border:1px solid #4a90e2;border-radius:8px}.ai-category-fields-option input[type=checkbox]{margin-right:12px;margin-top:2px}.ai-category-fields-option label{cursor:pointer;font-size:14px;font-weight:500;color:#333;flex:1}.field-help-text{margin-top:8px}.field-help-text small{line-height:1.4}.image-container{position:relative;display:inline-block;margin:5px}.image-controls{position:absolute;top:0;left:0;right:0;height:100%;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.rotate-button{background-color:#0009;color:#fff;border:none;border-radius:50%;width:30px;height:30px;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background-color .2s;margin:0 5px;pointer-events:auto}.rotate-button.left{margin-left:5px}.rotate-button.right{margin-right:5px}.rotate-button:hover{background-color:#000c}.wysiwyg-container{border:2px solid #e0e0e0;border-radius:8px;overflow:hidden;background:#fff}.wysiwyg-toolbar{display:flex;gap:.25rem;padding:.75rem;background:#f8f9fa;border-bottom:1px solid #dee2e6;flex-wrap:wrap}.toolbar-btn{padding:.5rem;background:#fff;border:1px solid #dee2e6;border-radius:4px;cursor:pointer;font-size:.9rem;min-width:2rem;display:flex;align-items:center;justify-content:center;transition:all .2s}.toolbar-btn:hover{background:#e9ecef;border-color:#adb5bd}.toolbar-btn:active{background:#dee2e6}.toolbar-separator{width:1px;background:#dee2e6;margin:.25rem;align-self:stretch}.wysiwyg-editor{min-height:120px;padding:1rem;border:none;outline:none;background:#fff;color:#333;line-height:1.5}.wysiwyg-editor:empty:before{content:attr(data-placeholder);color:#999;font-style:italic}.spinner{display:inline-block;position:relative;width:24px;height:24px;margin-right:10px}.spinner-circle{box-sizing:border-box;display:block;position:absolute;width:24px;height:24px;border:3px solid transparent;border-radius:50%;border-top-color:#007bff;animation:spin 1s linear infinite}.progress-container{width:100%;height:20px;background-color:#f1f1f1;border-radius:10px;margin:10px 0;position:relative;overflow:hidden}.progress-bar{height:100%;background-color:#007bff;border-radius:10px;transition:width .3s ease}.progress-text{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#000;font-size:12px;font-weight:700}.generate-area{position:relative;align-self:start}.generate-area .tooltip{position:absolute;top:-1.5rem;left:0;background:#333;color:#fff;padding:.5rem;border-radius:4px;font-size:.875rem}.upload-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%}.loading-button{display:flex;align-items:center;justify-content:center}.loading-progress{margin-bottom:20px}.loading-bar-container{width:100%;height:10px;background-color:#f1f1f1;border-radius:5px;margin-bottom:10px;overflow:hidden}.loading-bar{height:100%;background-color:#007bff;border-radius:5px;transition:width .3s ease}.listing-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px}.image-preview-popup{background:#000000e6;border-radius:8px;padding:8px;box-shadow:0 8px 32px #0000004d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);max-width:400px;max-height:400px;overflow:hidden;transition:opacity .2s ease-in-out}.preview-image{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:4px;display:block}.uploaded-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-top:20px}.uploaded-images img{width:150px!important;height:150px!important;object-fit:cover;border-radius:8px;cursor:pointer;transition:all .2s ease;border:2px solid transparent}.uploaded-images img:hover{transform:scale(1.02);box-shadow:0 4px 12px #00000026}.ebay-integration-section.batch-mode{background:transparent;border:none;padding:0}.batch-legend{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;padding:15px;margin-bottom:20px;font-size:.9rem}.errors{margin-top:1rem}.error-msg{color:#dc3545;background:#f8d7da;border:1px solid #f5c6cb;padding:.75rem 1rem;border-radius:4px;margin-bottom:.5rem;font-size:.9rem}.response-data{margin-top:1rem}.response-data h4{margin:0 0 1rem;color:#333;font-size:1.1rem;font-weight:600}.response-fields{display:flex;flex-direction:column;gap:.75rem}.response-field{display:flex;flex-direction:column;gap:.25rem;padding:.5rem 0;border-bottom:1px solid #f0f0f0}.response-field:last-child{border-bottom:none}.response-field.primary-field{background:#f8f9fa;padding:.75rem;border-radius:6px;border:1px solid #e9ecef}.response-field.editable-field{background:#fff}.response-field strong{font-weight:600;color:#495057;margin-bottom:.25rem}.editable-title-input,.editable-description-input{width:100%;padding:8px 12px;border:1px solid #ccc;border-radius:4px;font-size:.9rem;background-color:#fff;color:#000;resize:vertical;font-family:inherit;line-height:1.4}.editable-title-input{min-height:60px}.editable-description-input{min-height:120px}.category-fields-metadata{margin-top:1rem;padding-top:1rem;border-top:1px solid #e9ecef}.category-fields-metadata h5{margin:10px 0 5px;color:#000;font-size:1rem;font-weight:600}.listing-metadata{display:flex;align-items:center;gap:8px;padding:.5rem 0}.ai-resolved-field{background:linear-gradient(135deg,#f0f7ff,#e8f4f8);border-radius:6px;padding:.5rem;margin:.25rem 0}.ai-resolved-notification{background:linear-gradient(135deg,#e8f4f8,#d1edff);border:1px solid #4a90e2;border-radius:6px;padding:12px;margin:8px 0;font-size:.9rem}.response-error{background:#f8d7da;border:1px solid #f5c6cb;border-radius:6px;padding:1rem;color:#721c24}.mt-2{margin-top:.5rem}.footer{text-align:center;padding:1rem 0;color:#777;font-size:.875rem;border-top:1px solid #ddd;margin-top:2rem;max-width:1600px;margin-left:auto;margin-right:auto;width:100%}.create-ebay-listings-button:focus,.create-single-listing-button:focus,.download-button:focus,.download-single-button:focus{outline:2px solid #0654ba;outline-offset:2px}.preview-section .create-ebay-listings-button,.group-card .create-single-listing-button,.card-actions .create-single-listing-button{display:inline-flex!important;visibility:visible!important;opacity:1!important}@media (max-width: 1400px){.batch-wizard-content{max-width:calc(100vw - 300px)}}@media (max-width: 1200px){.batch-wizard-content{max-width:calc(100vw - 280px)}}@media (max-width: 900px){.batch-wizard-content{width:calc(100% - 1rem);max-width:100%;margin:0 auto;border-radius:8px}.content-area,.wizard-content{padding:1rem}.form-row{grid-template-columns:1fr;gap:0}}@media (max-width: 768px){.content-area{padding:.75rem}.batch-wizard-content{width:100%;border-radius:0}.wizard-header{padding:.75rem 1rem}.wizard-content{padding:.75rem}.wizard-footer{padding:.75rem 1rem}}@media (prefers-color-scheme: dark){.sidebar{background:linear-gradient(180deg,#0f172a,#020617);border-color:#1e293b}.nav-link{color:#cbd5e1}.nav-link:hover{color:#f1f5f9;background:#33415580}.nav-link.active{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}}@media (prefers-contrast: high){.create-ebay-listings-button,.create-single-listing-button{border:2px solid #000}.create-ebay-listings-button:hover,.create-single-listing-button:hover{border-color:#fff}.sidebar-brand{border-bottom:3px solid #ffffff}.brand-logo{border:2px solid #ffffff;background:#fff3}.logo-container{border:2px solid #ffffff}.brand-logo-only{border:2px solid #ffffff;background:#fff}}.auto-rotate-option{display:flex;align-items:center;margin:12px 0 8px;padding:0}.auto-rotate-option input[type=checkbox]{margin-right:8px}.auto-rotate-option label{cursor:pointer;font-size:14px;margin:0}.ai-category-fields-option{display:flex;align-items:flex-start;margin:8px 0 12px;padding:12px 16px;background:linear-gradient(135deg,#f0f7ff,#e8f4f8);border:1px solid #4a90e2;border-radius:8px;gap:12px}.ai-category-fields-option input[type=checkbox]{margin:2px 0 0;flex-shrink:0}.ai-category-fields-option label{cursor:pointer;font-size:14px;font-weight:500;color:#333;flex:1;margin:0;line-height:1.4}.field-help-text{margin-top:6px}.field-help-text small{line-height:1.3;display:block;color:#666;font-size:12px}.form-section .form-group{margin-bottom:16px}.form-section .form-group:has(.upload-area)+.auto-rotate-option{margin-top:8px}.checkbox-options-group{display:flex;flex-direction:column;gap:6px;margin:8px 0 16px}@media (max-width: 768px){.ai-category-fields-option{padding:10px 12px;margin:6px 0 10px}.ai-category-fields-option label{font-size:13px}.field-help-text small{font-size:11px}.auto-rotate-option{margin:10px 0 6px}}.quota-info{display:flex;align-items:center;justify-content:center;padding:16px;margin:12px;background:#ffffff1a;border-radius:12px;border:1px solid rgba(255,255,255,.1);transition:all .3s ease}.quota-info:hover{background:#ffffff26;border-color:#fff3}.sidebar .quota-info>div{width:100%;background:transparent!important;border:none!important;box-shadow:none!important;padding:0!important;margin:0!important}.sidebar .quota-info h3{color:#f9fafb!important;font-size:16px!important}.sidebar .quota-info span{color:#d1d5db!important}.sidebar .quota-info>div>div:first-child span:last-child{background:#60a5fa33!important;color:#60a5fa!important}.sidebar .quota-info>div>div:nth-child(2)>div:nth-child(2){background:#ffffff1a!important}.sidebar .quota-info>div>div:nth-child(2) span:last-child{color:#60a5fa!important}.sidebar .quota-info>div>div:nth-child(2)>div:last-child{color:#9ca3af!important}.sidebar .quota-info>div>div:last-child{background:#fbbf241a!important;border:1px solid rgba(251,191,36,.2)!important}.sidebar .quota-info>div>div:last-child span{color:#fbbf24!important}.sidebar .quota-info button{background:#fbbf2433!important;color:#fbbf24!important;border:1px solid rgba(251,191,36,.3)!important}.sidebar .quota-info button:hover{background:#fbbf244d!important}.user-info{display:flex;align-items:center;gap:12px;padding:16px;margin:12px;background:#ffffff1a;border-radius:12px;border:1px solid rgba(255,255,255,.1);transition:all .3s ease}.user-info:hover{background:#ffffff26;border-color:#fff3}.user-avatar{width:40px;height:40px;border-radius:50%;overflow:hidden;flex-shrink:0;background:linear-gradient(135deg,#3b82f6,#8b5cf6);display:flex;align-items:center;justify-content:center}.user-avatar img{width:100%;height:100%;object-fit:cover}.avatar-placeholder{color:#fff;font-weight:700;font-size:1.2rem}.user-details{flex:1;min-width:0}.user-name{color:#f9fafb;font-weight:600;font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-email{color:#d1d5db;font-size:.95rem;white-space:normal;word-break:break-word;font-weight:500;line-height:1.3;max-width:100%}.logout-button{background:none;border:none;color:#d1d5db;font-size:1.2rem;cursor:pointer;padding:6px;border-radius:6px;transition:all .2s ease;flex-shrink:0}.logout-button:hover{background:#ffffff1a;color:#f9fafb;transform:scale(1.1)}.auth-loading-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f8fafc,#e2e8f0)}.authenticated-app{min-height:100vh;width:100%}.sidebar.collapsed .user-info{flex-direction:column;gap:8px;padding:12px 8px;text-align:center}.sidebar.collapsed .user-details{display:none}.sidebar.collapsed .logout-button{width:100%;display:flex;justify-content:center}.auth-error-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#fef2f2,#fecaca);padding:2rem}.error-actions{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}.welcome-feature{display:flex;align-items:center;gap:1rem;padding:1rem;background:#f8fafc;border-radius:8px;border:1px solid #e5e7eb;transition:all .2s ease}.welcome-feature:hover{background:#f1f5f9;border-color:#cbd5e1}.welcome-feature .feature-icon{font-size:1.5rem;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:6px;flex-shrink:0;box-shadow:0 2px 4px #0000001a}.welcome-feature span:last-child{color:#374151;font-weight:500;line-height:1.4}.protected-content{position:relative}.protected-content:before{content:"";position:absolute;top:-4px;left:-4px;right:-4px;bottom:-4px;border:2px solid transparent;border-radius:8px;background:linear-gradient(45deg,#3b82f6,#8b5cf6) border-box;mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);-webkit-mask-composite:source-out;mask-composite:subtract;opacity:0;animation:protectedGlow 3s ease-in-out infinite}@keyframes protectedGlow{0%,to{opacity:0}50%{opacity:.3}}.user-profile-dropdown{position:absolute;top:100%;right:0;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 10px 30px #00000026;min-width:200px;z-index:1000;animation:dropdownSlideIn .2s ease-out}@keyframes dropdownSlideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.dropdown-item{display:flex;align-items:center;gap:12px;padding:12px 16px;color:#374151;text-decoration:none;font-size:.9rem;transition:background-color .2s ease;border:none;background:none;width:100%;text-align:left;cursor:pointer}.dropdown-item:hover{background:#f3f4f6}.dropdown-item:first-child{border-radius:8px 8px 0 0}.dropdown-item:last-child{border-radius:0 0 8px 8px;border-top:1px solid #e5e7eb;color:#dc2626}.dropdown-item:last-child:hover{background:#fef2f2}.dropdown-icon{width:16px;height:16px;opacity:.7}.auth-status-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:12px;font-size:.8rem;font-weight:500;text-transform:uppercase;letter-spacing:.05em}.auth-status-badge.authenticated{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}.auth-status-badge.unauthenticated{background:#fef2f2;color:#dc2626;border:1px solid #fecaca}.auth-status-badge.loading{background:#fef3c7;color:#92400e;border:1px solid #fde68a}@media (max-width: 1024px){.auth-error-content{padding:2rem 1.5rem;margin:1rem}.welcome-modal{margin:1rem}}@media (max-width: 768px){.user-info{padding:12px;margin:8px}.user-name{font-size:.85rem}.user-email{font-size:.7rem}.welcome-header{padding:1.5rem 1.5rem 1rem}.welcome-header h2{font-size:1.3rem}.welcome-content{padding:1rem 1.5rem 1.5rem}.welcome-features{gap:.75rem}.welcome-feature{padding:.75rem}.auth-error-content h2{font-size:1.5rem}.error-actions{flex-direction:column}}@media (max-width: 480px){.welcome-feature{flex-direction:column;text-align:center;gap:.75rem}.welcome-feature .feature-icon{margin:0 auto}.auth-error-content{padding:1.5rem 1rem}.user-info{flex-direction:column;gap:8px;text-align:center}.user-details{order:-1}}@media (prefers-color-scheme: dark){.welcome-modal{background:#1f2937;color:#f9fafb}.welcome-header{border-color:#374151}.welcome-feature{background:#374151;border-color:#4b5563}.welcome-feature:hover{background:#4b5563}.welcome-feature .feature-icon{background:#1f2937}.auth-error-content{background:#1f2937;color:#f9fafb;border-color:#374151}.user-profile-dropdown{background:#1f2937;border-color:#374151;color:#f9fafb}.dropdown-item{color:#f9fafb}.dropdown-item:hover{background:#374151}.dropdown-item:last-child{border-color:#dc2626}}body:has(.landing-page){display:block!important;place-items:unset!important;margin:0;padding:0;min-width:100%;width:100%}#root:has(.landing-page){width:100%;max-width:none!important;margin:0;padding:0;display:block}.landing-page{min-height:100vh;width:100vw;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;overflow-x:hidden;position:relative;left:0;right:0;top:0}.landing-page .container{width:100%;margin-left:auto;margin-right:auto;padding-left:1rem;padding-right:1rem}.landing-page .container.max-w-\[1500px\]{max-width:1500px}html{scroll-behavior:smooth}.size-4{width:1rem;height:1rem}.size-6{width:1.5rem;height:1.5rem}.size-7{width:1.75rem;height:1.75rem}.landing-page>nav,.landing-page>footer{width:100%;max-width:100%;overflow-x:hidden}.landing-page{overflow-x:hidden;max-width:100vw}.landing-page section{width:100%}@layer utilities{.min-w-80{min-width:20rem}.-me-2{margin-inline-end:-.5rem}}.landing-page nav,.landing-page section,.landing-page footer{all:unset;display:block}.landing-page nav{display:flex}.landing-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.landing-page button:focus-visible,.landing-page a:focus-visible,.landing-page input:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}.landing-page [role=tabpanel]{transition:opacity .15s ease-in-out}.landing-page [role=tabpanel].hidden{display:none}.landing-page [role=tabpanel].block{display:block}.landing-page .object-cover{object-fit:cover}.landing-page .object-contain{object-fit:contain}.landing-page img{max-width:100%;height:auto}.landing-page .absolute{position:absolute}.landing-page .z-10{z-index:10}.landing-page .border:hover{transition:all .2s ease-in-out}.landing-page .shadow-sm{box-shadow:0 1px 2px #0000000d}.landing-page .shadow-xl{box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.landing-page .shadow-2xl{box-shadow:0 25px 50px -12px #00000040}.landing-page .transform.scale-105{transform:scale(1.05)}.landing-page .mr-1{margin-right:.25rem}.landing-page footer{position:relative;overflow:hidden}@media (max-width: 768px){.landing-page nav{flex-wrap:wrap}.landing-page nav>div{flex-wrap:wrap;gap:.75rem}.landing-page nav a,.landing-page nav button{font-size:.875rem}}.landing-page input[type=email]{border:1px solid #e5e7eb;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.landing-page input[type=email]:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.landing-page button:disabled{cursor:not-allowed}.landing-page button,.landing-page a{transition:all .15s ease-in-out}.landing-page .max-w-\[85rem\]{max-width:85rem}.landing-page .max-w-\[1920px\]{max-width:1920px}.landing-page .max-w-2xl{max-width:42rem}.landing-page .max-w-5xl{max-width:64rem}@media (min-width: 1921px){.landing-page .max-w-\[1920px\]{margin-left:auto;margin-right:auto}}.landing-page .lg\:col-span-3{grid-column:span 3 / span 3}.landing-page .lg\:col-span-4{grid-column:span 4 / span 4}.landing-page .lg\:col-span-6{grid-column:span 6 / span 6}.landing-page .lg\:col-span-7{grid-column:span 7 / span 7}.landing-page .lg\:col-start-6{grid-column-start:6}.landing-page .lg\:col-start-8{grid-column-start:8}@media (min-width: 640px){.landing-page .sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}}@media (min-width: 768px){.landing-page .md\:text-5xl{font-size:3rem;line-height:1}.landing-page .md\:text-4xl{font-size:2.25rem;line-height:2.5rem}}@media (min-width: 1024px){.landing-page .lg\:text-6xl{font-size:3.75rem;line-height:1}.landing-page .lg\:text-7xl{font-size:4.5rem;line-height:1}}.landing-page button[role=tab].bg-white{background-color:#fff;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.landing-page .border-2.border-blue-600{border-width:2px;border-color:#2563eb}@media (prefers-color-scheme: dark){.landing-page{color:#1f2937;background-color:#f9fafb}}.landing-page nav img{height:2.75rem;width:auto}.landing-page footer img{height:2rem;width:auto}.landing-page .leading-tight{line-height:1.25}.landing-page .relative{position:relative}.landing-page .font-bold{font-weight:700}.landing-page .font-medium{font-weight:500}.landing-page .text-7xl{font-size:4.5rem;line-height:1}.landing-page .w-full{width:100%}.landing-page nav{position:relative;width:100%;z-index:50}.landing-page footer{width:100%;margin-top:auto}body:has(.landing-page){overflow-x:hidden}@media (min-width: 2000px){.landing-page .text-7xl{font-size:5rem}.landing-page .text-6xl{font-size:4rem}}.loading-container{display:flex;align-items:center;justify-content:center;min-height:100vh;background:linear-gradient(135deg,#f8fafc,#e2e8f0);position:relative;overflow:hidden}.loading-container:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 20% 80%,rgba(59,130,246,.1) 0%,transparent 50%),radial-gradient(circle at 80% 20%,rgba(99,102,241,.1) 0%,transparent 50%);pointer-events:none}.loading-content{text-align:center;z-index:1;position:relative}.loading-logo{margin-bottom:2rem;animation:logoFloat 3s ease-in-out infinite}.logo-image{height:80px;width:auto;filter:drop-shadow(0 4px 8px rgba(0,0,0,.1))}@keyframes logoFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.loading-spinner{display:flex;justify-content:center;margin-bottom:2rem}.loading-spinner.large .spinner-ring{width:80px;height:80px}.loading-spinner.medium .spinner-ring{width:60px;height:60px}.loading-spinner.small .spinner-ring{width:40px;height:40px}.spinner-ring{display:inline-block;position:relative}.spinner-ring div{box-sizing:border-box;display:block;position:absolute;width:100%;height:100%;border:4px solid transparent;border-radius:50%;animation:spinnerRing 1.2s cubic-bezier(.5,0,.5,1) infinite}.spinner-ring div:nth-child(1){border-top-color:#3b82f6;animation-delay:-.45s}.spinner-ring div:nth-child(2){border-top-color:#8b5cf6;animation-delay:-.3s}.spinner-ring div:nth-child(3){border-top-color:#06b6d4;animation-delay:-.15s}.spinner-ring div:nth-child(4){border-top-color:#10b981;animation-delay:0s}@keyframes spinnerRing{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-message{margin-bottom:2rem}.primary-message{font-size:1.25rem;font-weight:600;color:#1f2937;margin:0 0 .5rem;letter-spacing:-.025em}.secondary-message{font-size:1rem;color:#6b7280;margin:0;font-weight:400}.loading-dots{display:flex;justify-content:center;gap:.5rem}.loading-dots span{width:8px;height:8px;background:#3b82f6;border-radius:50%;animation:loadingDots 1.4s ease-in-out infinite both}.loading-dots span:nth-child(1){animation-delay:-.32s}.loading-dots span:nth-child(2){animation-delay:-.16s}.loading-dots span:nth-child(3){animation-delay:0s}@keyframes loadingDots{0%,80%,to{transform:scale(0);opacity:.5}40%{transform:scale(1);opacity:1}}.compact-loading{display:inline-flex;align-items:center;gap:.75rem;padding:1rem}.compact-spinner{position:relative}.spinner-circle{width:24px;height:24px;border:3px solid #e5e7eb;border-top:3px solid #3b82f6;border-radius:50%;animation:spin 1s linear infinite}.compact-message{color:#6b7280;font-size:.875rem;font-weight:500}.button-spinner{display:inline-flex;align-items:center;justify-content:center;margin-right:.5rem}.button-spinner-circle{width:16px;height:16px;border:2px solid transparent;border-top:2px solid currentColor;border-radius:50%;animation:spin 1s linear infinite}.auth-loading-container{display:flex;align-items:center;justify-content:center;min-height:100vh;background:linear-gradient(135deg,#f8fafc,#e2e8f0)}.auth-error-container{display:flex;align-items:center;justify-content:center;min-height:100vh;background:linear-gradient(135deg,#fef2f2,#fecaca);padding:2rem}.auth-error-content{text-align:center;max-width:500px;background:#fff;padding:3rem 2rem;border-radius:16px;box-shadow:0 20px 50px #0000001a;border:1px solid #fecaca}.error-icon{font-size:4rem;margin-bottom:1.5rem;display:block}.auth-error-content h2{color:#dc2626;font-size:1.8rem;font-weight:700;margin-bottom:1rem;letter-spacing:-.025em}.auth-error-content p{color:#6b7280;font-size:1.1rem;line-height:1.6;margin-bottom:2rem}.error-actions{display:flex;justify-content:center;gap:1rem}.btn-primary{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;padding:12px 24px;border-radius:8px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #3b82f640}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-2px);box-shadow:0 8px 20px #3b82f659}.welcome-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:2000;padding:2rem;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.welcome-modal{background:#fff;border-radius:16px;max-width:500px;width:100%;max-height:90vh;overflow-y:auto;animation:welcomeSlideIn .4s ease-out}@keyframes welcomeSlideIn{0%{opacity:0;transform:scale(.9) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}.welcome-header{display:flex;justify-content:space-between;align-items:flex-start;padding:2rem 2rem 1rem;border-bottom:1px solid #e5e7eb}.welcome-header h2{font-size:1.5rem;font-weight:700;color:#1f2937;margin:0;line-height:1.3;flex:1;padding-right:1rem}.welcome-close{background:none;border:none;font-size:2rem;color:#6b7280;cursor:pointer;padding:.5rem;border-radius:6px;transition:all .2s ease;flex-shrink:0}.welcome-close:hover{background:#f3f4f6;color:#374151}.welcome-content{padding:1.5rem 2rem 2rem;text-align:center}.welcome-content p{color:#6b7280;font-size:1.1rem;line-height:1.6;margin-bottom:2rem}.welcome-features{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem;text-align:left}.welcome-feature{display:flex;align-items:center;gap:1rem;padding:1rem;background:#f8fafc;border-radius:8px;border:1px solid #e5e7eb}.welcome-feature .feature-icon{font-size:1.5rem;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:6px;flex-shrink:0}.welcome-feature span:last-child{color:#374151;font-weight:500}@media (max-width: 768px){.loading-container{padding:2rem 1rem}.logo-image{height:60px}.loading-spinner.large .spinner-ring{width:60px;height:60px}.primary-message{font-size:1.1rem}.secondary-message{font-size:.9rem}.auth-error-content{padding:2rem 1.5rem;margin:1rem}.auth-error-content h2{font-size:1.5rem}.welcome-modal{margin:1rem}.welcome-header{padding:1.5rem 1.5rem 1rem}.welcome-header h2{font-size:1.3rem}.welcome-content{padding:1rem 1.5rem 1.5rem}.welcome-features{gap:.75rem}.welcome-feature{padding:.75rem}}@media (max-width: 480px){.error-actions{flex-direction:column}.welcome-feature{flex-direction:column;text-align:center;gap:.75rem}.welcome-feature .feature-icon{margin:0 auto}}.upload-area{border:2px dashed #bbb;padding:1.25rem;text-align:center;border-radius:8px;background-color:#fafafa;color:#333;cursor:pointer;transition:all .2s ease;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:130px}.upload-area.drag-active{background-color:#f0f7ff;border-color:#007bff;transform:scale(1.01);box-shadow:0 4px 10px #007bff1a}.upload-area:hover:not(.is-uploading){background-color:#f0f0f0;border-color:#999}.upload-area.is-uploading{cursor:default;background-color:#f8f9fa;border-color:#ddd}.upload-icon{margin-bottom:.5rem;color:#666}.upload-icon svg{width:36px;height:36px}.upload-text{font-size:1rem;margin-bottom:.3rem;font-weight:500;color:#444}.upload-hint{font-size:.75rem;color:#888;margin:0}.upload-progress{width:100%;display:flex;flex-direction:column;align-items:center}.upload-status{width:90%;max-width:400px}.upload-status p{margin-bottom:.5rem;color:#333;font-size:.9rem}.progress-container{width:100%;height:10px;background-color:#f1f1f1;border-radius:6px;margin:.5rem 0 .75rem;position:relative;overflow:hidden}.progress-bar{height:100%;background-color:#007bff;border-radius:6px;transition:width .3s ease}.progress-text{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#333;font-size:10px;font-weight:700}.cancel-button{background-color:#f8f9fa;border:1px solid #ddd;color:#666;padding:.3rem .8rem;border-radius:4px;font-size:.8rem;cursor:pointer;transition:all .2s}.cancel-button:hover{background-color:#e9ecef;color:#333;border-color:#ccc}@keyframes pulse{0%{box-shadow:0 0 #007bff66}70%{box-shadow:0 0 0 10px #007bff00}to{box-shadow:0 0 #007bff00}}.upload-area.drag-active{animation:pulse 1.5s infinite}.image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-top:20px;width:100%}.image-card{position:relative;padding-top:100%;border-radius:4px;overflow:hidden;background-color:#f5f5f5;box-shadow:0 2px 4px #0000001a}.image-card img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;transition:transform .2s}.image-card:hover img{transform:scale(1.05)}@media (hover: none){.upload-area:hover:not(.is-uploading){background-color:#fafafa;border-color:#bbb}.upload-hint{display:none}.upload-text{font-size:.9rem}}@media (max-width: 768px){.upload-area{padding:1rem;min-height:100px}.upload-icon svg{width:30px;height:30px}.image-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}.ebay-auth-container{width:100%;max-width:600px;margin:0 auto;padding:20px}.auth-card{background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000001a;padding:30px;text-align:center}.auth-card.authenticated{text-align:left}.auth-header{margin-bottom:25px}.auth-card.authenticated .auth-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.ebay-logo{height:40px;width:auto;margin-bottom:15px}.auth-card.authenticated .ebay-logo{height:30px;margin-bottom:0}.auth-header h3{margin:0 0 10px;color:#333;font-size:1.5rem}.auth-header p{margin:0;color:#666;line-height:1.5}.auth-status{display:flex;align-items:center;gap:8px;font-weight:500;color:#333}.status-indicator{font-size:1.2rem}.status-indicator.connected{color:#4caf50}.auth-loading{display:flex;flex-direction:column;align-items:center;gap:15px;padding:40px 20px}.auth-loading p{color:#666;margin:0}.auth-error{background-color:#ffebee;border:1px solid #f44336;border-radius:6px;padding:12px;margin-bottom:20px}.auth-error p{color:#d32f2f;margin:0;font-weight:500}.auth-benefits{background-color:#f8f9fa;border-radius:8px;padding:20px;margin:20px 0;text-align:left}.auth-benefits h4{margin:0 0 15px;color:#333;font-size:1.1rem}.auth-benefits ul{list-style:none;padding:0;margin:0}.auth-benefits li{padding:6px 0;color:#555;font-size:.95rem}.ebay-connect-button{background:linear-gradient(135deg,#0654ba,#4a90e2);color:#fff;border:none;padding:15px 30px;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease;margin:20px 0;width:100%;max-width:300px}.ebay-connect-button:hover:not(:disabled){background:linear-gradient(135deg,#0545a0,#3a7bc8);transform:translateY(-2px);box-shadow:0 6px 20px #0654ba4d}.ebay-connect-button:disabled{background:#ccc;cursor:not-allowed;transform:none;box-shadow:none}.auth-footer{margin-top:20px;padding-top:15px;border-top:1px solid #eee}.auth-footer p{color:#888;margin:0;font-size:.85rem}.user-profile{background-color:#f8f9fa;border-radius:8px;padding:20px;margin-bottom:25px}.user-profile h4{margin:0 0 15px;color:#333;font-size:1.1rem}.profile-info{display:flex;flex-direction:column;gap:8px}.profile-info p{margin:0;color:#555;font-size:.9rem}.profile-info strong{color:#333;margin-right:8px;min-width:100px;display:inline-block}.business-policies{background-color:#f8f9fa;border-radius:8px;padding:20px;margin-bottom:25px}.policies-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.policies-header h4{margin:0;color:#333;font-size:1.1rem}.refresh-button{background:#f5f5f5;border:1px solid #ddd;border-radius:6px;padding:8px 12px;font-size:.85rem;cursor:pointer;transition:all .2s ease;color:#666}.refresh-button:hover:not(:disabled){background:#e9ecef;border-color:#adb5bd}.refresh-button:disabled{opacity:.6;cursor:not-allowed}.policies-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.policy-section{background:#fff;border-radius:6px;padding:15px;border:1px solid #e9ecef}.policy-section h5{margin:0 0 12px;color:#333;font-size:.95rem;font-weight:600}.policy-list{list-style:none;padding:0;margin:0}.policy-item{display:flex;flex-direction:column;gap:4px;padding:8px 0;border-bottom:1px solid #f1f3f4}.policy-item:last-child{border-bottom:none}.policy-name{font-weight:500;color:#333;font-size:.9rem}.policy-id{font-size:.8rem;color:#666;font-family:monospace}.policy-more{padding:8px 0;color:#666;font-style:italic;font-size:.85rem}.no-policies{color:#888;font-style:italic;margin:0;font-size:.9rem}.auth-actions{display:flex;justify-content:center;padding-top:20px;border-top:1px solid #eee}.disconnect-button{background:#dc3545;color:#fff;border:none;padding:10px 20px;border-radius:6px;font-size:.9rem;cursor:pointer;transition:background-color .2s ease}.disconnect-button:hover{background:#c82333}.ebay-integration-section{background-color:#f8f9fa;border-radius:8px;padding:15px;border:1px solid #e9ecef}.ebay-toggle-button{background:linear-gradient(135deg,#0654ba,#4a90e2);color:#fff;border:none;padding:12px 24px;border-radius:6px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .3s ease;width:100%}.ebay-toggle-button:hover{background:linear-gradient(135deg,#0545a0,#3a7bc8);transform:translateY(-1px);box-shadow:0 4px 12px #0654ba33}.ebay-collapse-button{background:#6c757d;color:#fff;border:none;padding:8px 16px;border-radius:4px;font-size:.85rem;cursor:pointer;margin-bottom:15px;transition:background-color .2s ease}.ebay-collapse-button:hover{background:#5a6268}.ebay-auth-expanded{width:100%}.policy-selector-container{background:#fff;border-radius:8px;padding:20px;margin-top:15px;border:1px solid #e9ecef}.policy-selector-container h4{margin:0 0 5px;color:#333;font-size:1.1rem}.policy-subtitle{color:#666;margin:0 0 20px;font-size:.9rem}.policy-selector-placeholder{text-align:center;padding:30px 20px;color:#888;font-style:italic}.policy-selectors{display:flex;flex-direction:column;gap:20px}.policy-group{display:flex;flex-direction:column;gap:8px}.policy-label{display:flex;align-items:center;gap:8px;font-weight:500;color:#333;font-size:.95rem}.policy-icon{font-size:1.1rem}.policy-select{width:100%;padding:10px 12px;border:1px solid #ced4da;border-radius:6px;font-size:.9rem;background-color:#fff;color:#333;transition:border-color .2s ease,box-shadow .2s ease}.policy-select:focus{outline:none;border-color:#0654ba;box-shadow:0 0 0 2px #0654ba1a}.policy-select:disabled{background-color:#f8f9fa;color:#6c757d;cursor:not-allowed}.policy-description{font-size:.8rem;color:#666;font-style:italic;padding:5px 10px;background-color:#f8f9fa;border-radius:4px;border-left:3px solid #0654ba}.policy-summary{margin-top:25px;padding:15px;background-color:#e8f4f8;border-radius:6px;border:1px solid #b8e6f0}.policy-summary h5{margin:0 0 12px;color:#0654ba;font-size:.95rem}.summary-grid{display:flex;flex-direction:column;gap:8px}.summary-item{font-size:.85rem;color:#333}.summary-item strong{color:#0654ba;margin-right:8px}.status-completed{color:#28a745;font-weight:500}.status-pending{color:#ffc107;font-weight:500}.selling-limits{background:#fff;border-radius:6px;padding:12px;margin-top:8px;border-left:3px solid #0654ba}.selling-limits p{margin:4px 0}.data-source-badge{background:#e9ecef;color:#495057;padding:2px 6px;border-radius:4px;font-size:.75rem;font-family:monospace;margin-left:6px}.profile-message{font-style:italic}.env-badge{padding:2px 8px;border-radius:4px;font-size:.75rem;font-weight:700;text-transform:uppercase}.env-badge.production{background:#d4edda;color:#155724}.env-badge.sandbox{background:#fff3cd;color:#856404}@media (max-width: 768px){.ebay-auth-container{padding:15px}.auth-card{padding:20px}.auth-card.authenticated .auth-header{flex-direction:column;align-items:flex-start;gap:10px}.policies-grid{grid-template-columns:1fr;gap:15px}.profile-info{gap:6px}.profile-info strong{min-width:80px;font-size:.85rem}.ebay-connect-button{padding:12px 24px;font-size:1rem}.auth-benefits{padding:15px;margin:15px 0}.business-policies{padding:15px}.policies-header{flex-direction:column;align-items:flex-start;gap:10px}.policy-selector-container{padding:15px}.summary-grid{gap:6px}.selling-limits{padding:10px}}.status-completed{color:#059669;font-weight:600}.status-pending{color:#d97706;font-weight:600}.selling-limits{margin-top:8px}.selling-limits p{margin-bottom:4px}.data-source-badge{background:#f3f4f6;color:#4b5563;padding:2px 6px;border-radius:4px;font-size:.8rem;font-family:monospace;margin-left:8px}.profile-message{background:#f0f9ff;border:1px solid #0ea5e9;border-radius:6px;padding:8px 12px;margin-top:8px;font-size:.9rem;color:#0c4a6e}.ebay-listing-manager{background:#fff;border-radius:16px;box-shadow:0 8px 32px #0000001f;max-width:700px;width:95%;max-height:85vh;overflow-y:auto;margin:0 auto;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.listing-manager-header{display:flex;justify-content:space-between;align-items:center;padding:24px 28px;border-bottom:1px solid #e5e7eb;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:16px 16px 0 0}.listing-manager-header h3{margin:0;color:#1f2937;font-size:1.5rem;font-weight:600;display:flex;align-items:center;gap:8px}.listing-manager-header h3:before{content:"🏪";font-size:1.2em}.header-buttons{display:flex;gap:8px}.close-button,.minimize-button{background:none;border:none;font-size:24px;color:#6b7280;cursor:pointer;padding:8px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:all .2s ease}.close-button:hover,.minimize-button:hover{background:#f3f4f6;color:#374151;transform:scale(1.05)}.minimize-button{font-size:28px;line-height:1;padding-bottom:10px}.warning-message{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #f59e0b;color:#92400e;padding:20px 24px;margin:24px 28px;border-radius:12px;display:flex;align-items:center;gap:12px;font-weight:500}.warning-message:before{content:"⚠️";font-size:1.2em;flex-shrink:0}.listing-options{padding:28px}.listing-summary{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);padding:24px;border-radius:12px;margin-bottom:24px;border:1px solid #0ea5e9}.listing-summary h4{margin:0 0 12px;color:#0c4a6e;font-size:1.1rem;font-weight:600}.listing-summary p{margin:0 0 16px;color:#075985;line-height:1.5}.policy-summary{margin-top:16px;padding-top:16px;border-top:1px solid #0ea5e9}.policy-summary h5{margin:0 0 12px;color:#0c4a6e;font-size:.95rem;font-weight:600}.policy-summary ul{list-style:none;padding:0;margin:0;display:grid;gap:6px}.policy-summary li{padding:8px 12px;background:#fff;border-radius:6px;color:#059669;font-size:.9rem;font-weight:500;border:1px solid #d1fae5;display:flex;align-items:center;gap:8px}.policy-summary li:before{content:"✓";color:#059669;font-weight:700}.action-buttons{display:flex;gap:12px;justify-content:center}.create-all-button{background:linear-gradient(135deg,#0654ba,#4a90e2);color:#fff;border:none;padding:16px 32px;border-radius:12px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #0654ba4d;position:relative;overflow:hidden}.create-all-button:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s}.create-all-button:hover:not(:disabled):before{left:100%}.create-all-button:hover:not(:disabled){background:linear-gradient(135deg,#0545a0,#3a7bc8);transform:translateY(-2px);box-shadow:0 8px 20px #0654ba66}.draft-option{background:linear-gradient(135deg,#f8fafc,#f3f4f6);padding:16px 20px;border-radius:12px;border:1px solid #e5e7eb;transition:all .3s ease}.draft-option:hover{border-color:#d1d5db;background:linear-gradient(135deg,#f3f4f6,#e5e7eb)}.draft-option label{font-weight:500;color:#374151;-webkit-user-select:none;user-select:none}.draft-option input[type=checkbox]{width:18px;height:18px;border-radius:4px;border:2px solid #d1d5db;background:#fff;transition:all .2s ease;accent-color:#0654ba}.draft-option input[type=checkbox]:checked{background:#0654ba;border-color:#0654ba}.draft-option input[type=checkbox]:hover{border-color:#9ca3af}.create-all-button:disabled{background:#9ca3af;cursor:not-allowed;transform:none;box-shadow:none}.listing-progress{padding:40px 28px;text-align:center}.listing-progress h4{margin:0 0 24px;color:#1f2937;font-size:1.3rem;font-weight:600}.progress-info p{margin:12px 0;color:#4b5563;font-size:1rem}.progress-bar-container{width:100%;height:24px;background:#f3f4f6;border-radius:12px;overflow:hidden;margin:24px 0;box-shadow:inset 0 2px 4px #0000001a}.progress-bar{height:100%;background:linear-gradient(90deg,#0654ba,#4a90e2);transition:width .5s ease;position:relative;overflow:hidden}.progress-bar:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(45deg,rgba(255,255,255,.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.2) 50%,rgba(255,255,255,.2) 75%,transparent 75%,transparent);background-size:40px 40px;animation:progress-animation 1s linear infinite}@keyframes progress-animation{0%{background-position:0 0}to{background-position:40px 40px}}.progress-percentage{font-size:1.4rem;font-weight:700;color:#0654ba;margin-top:8px}.listing-results{padding:28px}.listing-results h4{margin:0 0 28px;color:#1f2937;text-align:center;font-size:1.4rem;font-weight:600}.results-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:20px;margin-bottom:32px}.result-stat{background:#fff;padding:24px 20px;border-radius:16px;text-align:center;position:relative;transition:all .3s ease;box-shadow:0 4px 12px #0000000d}.result-stat:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001a}.result-stat.success{border:2px solid #10b981;background:linear-gradient(135deg,#ecfdf5,#d1fae5)}.result-stat.failed{border:2px solid #ef4444;background:linear-gradient(135deg,#fef2f2,#fecaca)}.stat-number{display:block;font-size:2.5rem;font-weight:800;margin-bottom:8px;line-height:1}.result-stat.success .stat-number{color:#059669}.result-stat.failed .stat-number{color:#dc2626}.stat-label{font-size:1rem;color:#374151;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.successful-listings,.failed-listings{margin-bottom:24px}.successful-listings h5,.failed-listings h5{margin:0 0 16px;color:#1f2937;font-size:1.1rem;font-weight:600;display:flex;align-items:center;gap:8px}.successful-listings h5:before{content:"✅"}.failed-listings h5:before{content:"❌"}.successful-listings ul,.failed-listings ul{list-style:none;padding:0;margin:0;max-height:240px;overflow-y:auto;border-radius:12px;border:1px solid #e5e7eb}.successful-listings li,.failed-listings li{padding:16px 20px;background:#fff;margin:0;border-bottom:1px solid #f3f4f6;display:flex;justify-content:space-between;align-items:flex-start;font-size:.95rem;transition:background .2s;gap:16px}.successful-listings li:hover,.failed-listings li:hover{background:#f9fafb}.successful-listings li:last-child,.failed-listings li:last-child{border-bottom:none}.successful-listings li{border-left:4px solid #10b981}.failed-listings li{border-left:4px solid #ef4444}.listing-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:140px}.listing-status{background:#eff6ff;color:#0654ba;padding:4px 8px;border-radius:6px;font-size:.85rem;font-weight:500}.view-listing-link,.manage-draft-link{background:linear-gradient(135deg,#0654ba,#4a90e2);color:#fff;text-decoration:none;padding:6px 12px;border-radius:6px;font-size:.8rem;font-weight:500;transition:all .2s ease;display:inline-flex;align-items:center;gap:4px}.view-listing-link:hover,.manage-draft-link:hover{background:linear-gradient(135deg,#0545a0,#3a7bc8);transform:translateY(-1px);box-shadow:0 2px 8px #0654ba4d;color:#fff;text-decoration:none}.manage-draft-link{background:linear-gradient(135deg,#f59e0b,#d97706)}.manage-draft-link:hover{background:linear-gradient(135deg,#d97706,#b45309);box-shadow:0 2px 8px #f59e0b4d}.view-listing-link:before{content:"👁️";font-size:.8em}.manage-draft-link:before{content:"✏️";font-size:.8em}.bulk-actions{display:flex;justify-content:center;gap:16px;margin-top:24px;padding-top:20px;border-top:1px solid #e5e7eb}.bulk-action-button{display:inline-flex;align-items:center;gap:8px;padding:12px 20px;border-radius:10px;text-decoration:none;font-weight:600;font-size:.95rem;transition:all .3s ease;border:2px solid transparent}.bulk-action-button.view-all-listings{background:linear-gradient(135deg,#0654ba,#4a90e2);color:#fff;box-shadow:0 4px 12px #0654ba33}.bulk-action-button.view-all-listings:hover{background:linear-gradient(135deg,#0545a0,#3a7bc8);transform:translateY(-2px);box-shadow:0 6px 16px #0654ba4d;color:#fff;text-decoration:none}.bulk-action-button.manage-drafts{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;box-shadow:0 4px 12px #f59e0b33}.bulk-action-button.manage-drafts:hover{background:linear-gradient(135deg,#d97706,#b45309);transform:translateY(-2px);box-shadow:0 6px 16px #f59e0b4d;color:#fff;text-decoration:none}.sku{font-weight:600;color:#1f2937;background:#f3f4f6;padding:4px 8px;border-radius:6px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.85rem}.listing-id{color:#0654ba;font-size:.9rem;font-weight:500;background:#eff6ff;padding:4px 8px;border-radius:6px}.error{color:#dc2626;font-size:.9rem;font-weight:500;max-width:60%;text-align:right}.failed-listings-list{display:flex;flex-direction:column;gap:16px;max-height:400px;overflow-y:auto;padding:4px}.failed-listing-item{background:#fff;border:1px solid #fecaca;border-left:4px solid #ef4444;border-radius:12px;padding:20px;transition:all .2s ease}.failed-listing-item:hover{box-shadow:0 4px 12px #ef44441a;transform:translate(2px)}.failed-listing-header{display:flex;align-items:center;gap:12px;margin-bottom:12px}.error-icon{font-size:1.5rem;flex-shrink:0}.error-content{flex:1}.error-title{font-size:1.1rem;font-weight:600;color:#991b1b;margin-bottom:8px}.error-message{color:#7f1d1d;font-size:.95rem;line-height:1.5;margin-bottom:12px}.troubleshooting-steps{background:#fef2f2;border-radius:8px;padding:12px 16px;margin-top:12px;border:1px solid #fecaca}.troubleshooting-steps summary{cursor:pointer;font-weight:600;color:#991b1b;font-size:.9rem;-webkit-user-select:none;user-select:none;display:flex;align-items:center;gap:8px}.troubleshooting-steps summary:hover{color:#7f1d1d}.troubleshooting-steps summary:before{content:"💡";font-size:1rem}.troubleshooting-steps[open] summary{margin-bottom:12px}.troubleshooting-steps ol{margin:0;padding-left:24px;color:#7f1d1d}.troubleshooting-steps li{margin:6px 0;font-size:.85rem;line-height:1.5;padding:0;background:none;border:none}.troubleshooting-steps li:hover{background:none}.error-details{background:#f3f4f6;border-radius:8px;padding:12px 16px;margin-top:12px;border:1px solid #e5e7eb}.error-details summary{cursor:pointer;font-weight:500;color:#6b7280;font-size:.85rem;-webkit-user-select:none;user-select:none}.error-details summary:hover{color:#4b5563}.error-details[open] summary{margin-bottom:8px}.error-details pre{margin:0;font-size:.75rem;color:#4b5563;white-space:pre-wrap;word-wrap:break-word;font-family:Monaco,Menlo,Ubuntu Mono,monospace;background:#fff;padding:12px;border-radius:6px;border:1px solid #e5e7eb;max-height:200px;overflow-y:auto}.close-results-button{background:linear-gradient(135deg,#6b7280,#4b5563);color:#fff;border:none;padding:12px 28px;border-radius:10px;cursor:pointer;display:block;margin:24px auto 0;transition:all .3s ease;font-weight:500;font-size:1rem}.close-results-button:hover{background:linear-gradient(135deg,#4b5563,#374151);transform:translateY(-2px);box-shadow:0 4px 12px #4b55634d}.error-message{background:linear-gradient(135deg,#fef2f2,#fecaca);border:1px solid #f87171;color:#991b1b;padding:20px 24px;margin:24px 28px;border-radius:12px;text-align:center}.error-message p{margin:0 0 16px;font-weight:500}.error-message button{background:#dc2626;color:#fff;border:none;padding:10px 20px;border-radius:8px;cursor:pointer;transition:all .2s ease;font-weight:500}.error-message button:hover{background:#b91c1c;transform:scale(1.05)}.create-listing-button{background:#0654ba;color:#fff;border:none;padding:10px 20px;border-radius:8px;font-size:.9rem;cursor:pointer;transition:all .2s ease;margin-top:12px;font-weight:500}.create-listing-button:hover:not(:disabled){background:#0545a0;transform:translateY(-1px);box-shadow:0 4px 12px #0654ba4d}.create-listing-button:disabled{background:#9ca3af;cursor:not-allowed}.listing-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.listing-modal{width:100%;max-width:700px;max-height:90vh;overflow-y:auto;animation:slideIn .3s ease}@keyframes slideIn{0%{opacity:0;transform:scale(.9) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}.status-message{padding:16px 20px;border-radius:12px;margin:16px 0;display:flex;align-items:center;gap:12px;font-weight:500}.status-message.info{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border:1px solid #3b82f6;color:#1d4ed8}.status-message.warning{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #f59e0b;color:#92400e}.status-message.success{background:linear-gradient(135deg,#d1fae5,#a7f3d0);border:1px solid #10b981;color:#065f46}@media (max-width: 600px){.ebay-listing-manager{width:100%;border-radius:0;max-height:100vh}.listing-modal-overlay{padding:0}.results-summary{grid-template-columns:1fr;gap:12px}.result-stat{padding:20px 16px}.listing-manager-header{padding:20px 24px}.listing-options,.listing-results{padding:24px 20px}.stat-number{font-size:2rem}.successful-listings li,.failed-listings li{flex-direction:column;align-items:flex-start;gap:12px}.listing-actions{width:100%;flex-direction:row;justify-content:space-between;align-items:center;min-width:auto}.bulk-actions{flex-direction:column;gap:12px}.bulk-action-button{width:100%;justify-content:center}.view-listing-link,.manage-draft-link{padding:8px 12px;font-size:.75rem}}.feed-upload-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:10000}.feed-upload-modal{background:#fff;border-radius:12px;width:90%;max-width:600px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.feed-upload-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e5e7eb;background-color:#f9fafb}.feed-upload-header h3{margin:0;font-size:1.25rem;font-weight:600;color:#111827}.header-buttons{display:flex;gap:8px;align-items:center}.feed-upload-header .close-button,.feed-upload-header .minimize-button{background:none;border:none;font-size:1.5rem;color:#6b7280;cursor:pointer;padding:4px 8px;border-radius:4px;transition:all .2s;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.feed-upload-header .close-button:hover,.feed-upload-header .minimize-button:hover{background-color:#f3f4f6;color:#374151}.feed-upload-header .minimize-button{font-size:24px;line-height:1}.feed-upload-content{padding:24px;overflow-y:auto;flex:1}.upload-ready{text-align:center;padding:20px 0}.upload-icon{font-size:3rem;margin-bottom:16px}.upload-info{background-color:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;padding:16px;margin:20px 0;text-align:left}.upload-info p{margin:0 0 8px;color:#0369a1;font-weight:500}.upload-info ul{margin:8px 0 0 20px;padding:0;color:#0c4a6e}.upload-info li{margin:4px 0}.start-upload-button{background-color:#3b82f6;color:#fff;border:none;border-radius:6px;padding:12px 32px;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s}.start-upload-button:hover{background-color:#2563eb}.upload-progress{text-align:center;padding:20px 0}.progress-icon{font-size:3rem;margin-bottom:16px;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.task-id{font-size:.875rem;color:#6b7280;margin:8px 0;font-family:monospace}.progress-bar-container{width:100%;height:8px;background-color:#e5e7eb;border-radius:4px;overflow:hidden;margin:20px 0 8px}.progress-bar{height:100%;background-color:#3b82f6;transition:width .2s ease-out;will-change:width}.progress-percentage{font-size:1.5rem;font-weight:600;color:#374151;margin:8px 0}.progress-note{font-size:.875rem;color:#6b7280;margin-top:12px}.upload-complete{text-align:center;padding:20px 0}.complete-icon{font-size:3rem;margin-bottom:16px}.results-summary{display:flex;justify-content:center;gap:32px;margin:24px 0}.result-stat{text-align:center}.stat-number{display:block;font-size:2rem;font-weight:700;color:#111827;margin-bottom:4px}.stat-label{font-size:.875rem;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.failed-listings{background-color:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:16px;margin:20px 0;text-align:left}.failed-listings h5{margin:0 0 12px;color:#dc2626;font-size:1rem}.error-list{max-height:200px;overflow-y:auto}.error-item{padding:8px 0;border-bottom:1px solid #fecaca}.error-item:last-child{border-bottom:none}.error-item strong{color:#7f1d1d;display:block;margin-bottom:4px}.error-item p{margin:0;color:#991b1b;font-size:.875rem}.more-errors{margin-top:12px;font-style:italic;color:#991b1b;font-size:.875rem}.action-buttons{display:flex;gap:12px;justify-content:center;margin-top:24px;flex-wrap:wrap}.view-listings-button,.view-drafts-button{background-color:#10b981;color:#fff;border:none;border-radius:6px;padding:10px 20px;font-size:.875rem;font-weight:500;text-decoration:none;display:inline-block;transition:background-color .2s}.view-listings-button:hover,.view-drafts-button:hover{background-color:#059669}.view-drafts-button{background-color:#f59e0b}.view-drafts-button:hover{background-color:#d97706}.close-button-primary{background-color:#6b7280;color:#fff;border:none;border-radius:6px;padding:10px 20px;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .2s}.close-button-primary:hover{background-color:#4b5563}.upload-error{text-align:center;padding:20px 0}.error-icon{font-size:3rem;margin-bottom:16px}.error-message{color:#dc2626;font-size:1rem;margin:16px 0 24px;padding:12px;background-color:#fef2f2;border:1px solid #fecaca;border-radius:6px}.error-actions{display:flex;gap:12px;justify-content:center}.retry-button{background-color:#3b82f6;color:#fff;border:none;border-radius:6px;padding:10px 24px;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .2s}.retry-button:hover{background-color:#2563eb}.cancel-button{background-color:#ef4444;color:#fff;border:none;border-radius:6px;padding:10px 24px;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .2s}.cancel-button:hover{background-color:#dc2626}.ebay-account-selector-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.ebay-account-selector-modal{background:#fff;border-radius:12px;padding:24px;width:90%;max-width:500px;max-height:80vh;overflow-y:auto;box-shadow:0 10px 30px #0003}.ebay-account-selector-modal h2{margin:0 0 8px;color:#1f2937;font-size:24px;font-weight:600}.ebay-account-selector-modal p{margin:0 0 24px;color:#6b7280;font-size:16px}.ebay-accounts-list{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}.ebay-account-option{display:flex;align-items:center;gap:16px;padding:16px;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .2s ease;background:#fff}.ebay-account-option:hover{border-color:#3b82f6;background:#f0f9ff;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f626}.ebay-account-option.selected{border-color:#3b82f6;background:#f0f9ff}.account-icon{width:48px;height:48px;background:#e0f2fe;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.account-icon svg{width:28px;height:28px;color:#0284c7}.account-details{flex:1;min-width:0}.account-username{font-size:16px;font-weight:600;color:#1f2937;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-info{display:flex;gap:12px;align-items:center}.account-marketplace{font-size:14px;color:#6b7280;background:#f3f4f6;padding:2px 8px;border-radius:4px}.account-type{font-size:14px;color:#059669;background:#d1fae5;padding:2px 8px;border-radius:4px}.account-select-indicator{width:40px;height:40px;display:flex;align-items:center;justify-content:center;color:#9ca3af}.account-select-indicator svg{width:24px;height:24px}.ebay-account-option:hover .account-select-indicator{color:#3b82f6}.account-selector-actions{display:flex;justify-content:flex-end;gap:12px}.cancel-button{padding:10px 20px;border:1px solid #e5e7eb;background:#fff;color:#6b7280;border-radius:6px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s ease}.cancel-button:hover{background:#f9fafb;border-color:#d1d5db}.select-button{padding:10px 20px;background:#3b82f6;color:#fff;border:none;border-radius:6px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s ease}.select-button:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.select-button:disabled{background:#9ca3af;cursor:not-allowed;transform:none;box-shadow:none}.default-badge{display:inline-block;margin-left:8px;padding:2px 8px;background:#fbbf24;color:#78350f;font-size:12px;font-weight:600;border-radius:4px;text-transform:uppercase}.separator{color:#d1d5db;margin:0 4px}.account-expiry{font-size:14px;color:#6b7280}.loading-spinner,.error-message{text-align:center;padding:40px 20px;font-size:16px;color:#6b7280}.error-message{color:#dc2626}input[type=radio]{width:20px;height:20px;accent-color:#3b82f6;cursor:pointer}@media (max-width: 640px){.ebay-account-selector-modal{padding:20px;width:95%}.account-icon{width:40px;height:40px}.account-icon svg{width:24px;height:24px}}.progressive-image-container{position:relative;overflow:hidden;background-color:#f5f5f5;width:100%;height:100%}.progressive-image{width:100%;height:100%;object-fit:cover;transition:opacity .3s ease-in-out,filter .3s ease-in-out}.progressive-image.loading{opacity:.5;filter:blur(5px)}.progressive-image.loaded{opacity:1;filter:blur(0)}.progressive-image.error{opacity:.3}.image-loading-overlay{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background-color:#fffc;pointer-events:none}.image-spinner{width:30px;height:30px;border:3px solid #f3f3f3;border-top:3px solid #3498db;border-radius:50%;animation:spin 1s linear infinite}.image-error-overlay{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background-color:#ffffffe6;color:#666;font-size:14px}.progressive-image-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px;padding:16px}.gallery-item{position:relative;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #0000001a;transition:transform .2s ease,box-shadow .2s ease}.gallery-item:hover{transform:translateY(-2px);box-shadow:0 4px 16px #00000026}.gallery-image{aspect-ratio:4/3;width:100%}.image-info{padding:12px;background-color:#fff}.image-name{font-size:14px;font-weight:500;margin:0 0 4px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.image-size{font-size:12px;color:#666;margin:0}@keyframes shimmer{0%{background-position:-468px 0}to{background-position:468px 0}}.progressive-image-container.skeleton{background:linear-gradient(to right,#f6f7f8,#edeef1,#f6f7f8 40%,#f6f7f8);background-size:468px 104px;animation:shimmer 1s linear infinite}.gallery-thumbnails-scroll::-webkit-scrollbar{height:6px}.gallery-thumbnails-scroll::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.gallery-thumbnails-scroll::-webkit-scrollbar-thumb{background:#888;border-radius:3px}.gallery-thumbnails-scroll::-webkit-scrollbar-thumb:hover{background:#555}@media (max-width: 768px){.progressive-image-gallery{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;padding:12px}.image-info{padding:8px}.image-name{font-size:13px}.image-size{font-size:11px}}.image-viewer-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000e6;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;cursor:pointer}.image-viewer-modal-container{position:relative;max-width:90vw;max-height:90vh;display:flex;align-items:center;justify-content:center;cursor:default}.image-viewer-content{position:relative;display:flex;align-items:center;justify-content:center;max-width:100%;max-height:100%}.image-viewer-image{max-width:100%;max-height:90vh;object-fit:contain;display:block;box-shadow:0 4px 20px #0000004d}.image-viewer-close-button{position:absolute;top:-40px;right:-40px;width:40px;height:40px;background:none;border:none;color:#fff;font-size:36px;font-weight:300;cursor:pointer;z-index:1001;display:flex;align-items:center;justify-content:center;transition:opacity .2s ease;padding:0;line-height:1}.image-viewer-close-button:hover{opacity:.7}.image-viewer-nav-button{position:absolute;top:50%;transform:translateY(-50%);width:50px;height:50px;background-color:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#fff;font-size:30px;font-weight:300;cursor:pointer;z-index:1001;display:flex;align-items:center;justify-content:center;transition:all .2s ease;border-radius:4px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.image-viewer-nav-button:hover{background-color:#fff3;border-color:#ffffff4d}.image-viewer-prev-button{left:-70px}.image-viewer-next-button{right:-70px}.image-viewer-counter{position:absolute;bottom:-40px;left:50%;transform:translate(-50%);color:#fff;font-size:14px;font-weight:400;background-color:#00000080;padding:5px 15px;border-radius:20px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}@media (max-width: 768px){.image-viewer-modal-overlay{padding:10px}.image-viewer-close-button{top:10px;right:10px;position:fixed;background-color:#00000080;border-radius:50%;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.image-viewer-nav-button{width:40px;height:40px;font-size:24px}.image-viewer-prev-button{left:10px;position:fixed}.image-viewer-next-button{right:10px;position:fixed}.image-viewer-counter{bottom:20px;position:fixed}.image-viewer-image{max-height:80vh}}.image-viewer-close-button:focus,.image-viewer-nav-button:focus{outline:2px solid #4A90E2;outline-offset:2px}.image-viewer-modal-overlay{animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.listing-thumbnail{max-width:100%;max-height:100%;width:auto!important;height:auto!important;object-fit:contain;display:block}.listing-thumbnail.progressive-image{width:auto!important;height:auto!important}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.batch-ebay-policy-selector{margin-top:20px;padding:15px;background-color:#f8f9fa;border-radius:5px;border:1px solid #e0e0e0}.batch-ebay-policy-selector h4{margin-top:0;margin-bottom:10px;color:#333;font-size:1.1em}.batch-ebay-policy-selector .policy-description{margin-bottom:15px;color:#666;font-size:.9em}.batch-ebay-policy-selector .policy-group{margin-bottom:15px}.batch-ebay-policy-selector .policy-group:last-child{margin-bottom:0}.batch-ebay-policy-selector .policy-group label{display:block;margin-bottom:5px;font-weight:500;color:#333}.batch-ebay-policy-selector .policy-group .required{color:#e74c3c;font-weight:700}.batch-ebay-policy-selector .form-control{width:100%;padding:8px 12px;border:1px solid #ccc;border-radius:4px;font-size:14px}.batch-ebay-policy-selector .policy-warning{margin-top:15px;padding:10px;background-color:#fff3cd;border:1px solid #ffeaa7;border-radius:4px;color:#856404;font-size:.9em}.profile-page{width:100%;height:100%;background:#f8fafc;overflow-y:auto}.profile-header{background:#fff;border-bottom:1px solid #e5e7eb;padding:1.5rem 2rem;position:sticky;top:0;z-index:100}.profile-breadcrumb{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem;font-size:.875rem}.breadcrumb-link{color:#3b82f6;background:none;border:none;cursor:pointer;padding:0;font-size:inherit;display:flex;align-items:center;gap:.25rem;transition:color .2s}.breadcrumb-link:hover{color:#2563eb;text-decoration:underline}.breadcrumb-separator{color:#9ca3af}.breadcrumb-current{color:#6b7280}.profile-header h1{margin:0;font-size:1.875rem;font-weight:700;color:#111827}.success-message{background:#10b981;color:#fff;padding:1rem 2rem;font-weight:500;display:flex;align-items:center;gap:.5rem}.profile-tabs{background:#fff;border-bottom:1px solid #e5e7eb;display:flex;padding:0 2rem;gap:2rem;position:sticky;top:88px;z-index:99}.profile-tab{background:none;border:none;border-bottom:3px solid transparent;padding:1rem 0;font-size:.875rem;font-weight:500;color:#6b7280;cursor:pointer;transition:all .2s;position:relative}.profile-tab:hover{color:#111827}.profile-tab.active{color:#3b82f6;border-bottom-color:#3b82f6}.profile-content{padding:2rem}.tab-content{background:#fff;border-radius:.5rem;box-shadow:0 1px 3px #0000001a;padding:2rem}.tab-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.tab-content h2{margin:0;font-size:1.5rem;font-weight:600;color:#111827}.quota-section{margin-top:1.5rem}.add-account-button{background:#3b82f6;color:#fff;border:none;border-radius:.375rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:background .2s}.add-account-button:hover{background:#2563eb}.ebay-accounts-list{display:flex;flex-direction:column;gap:1rem}.ebay-account-card{border:1px solid #e5e7eb;border-radius:.5rem;padding:1.5rem;display:flex;justify-content:space-between;align-items:start;transition:all .2s}.ebay-account-card:hover{border-color:#d1d5db;box-shadow:0 2px 4px #0000000d}.account-info{flex:1}.account-header{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}.account-header h3{margin:0;font-size:1.125rem;font-weight:600;color:#111827}.status-badge{padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:500;text-transform:uppercase}.status-badge.connected{background:#d1fae5;color:#065f46}.account-details{display:flex;gap:2rem;flex-wrap:wrap}.detail-item{display:flex;flex-direction:column;gap:.25rem}.detail-label{font-size:.75rem;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.detail-value{font-size:.875rem;color:#111827;font-weight:500}.account-actions{display:flex;flex-direction:column;gap:.5rem}.text-button{background:none;border:none;color:#3b82f6;font-size:.875rem;font-weight:500;cursor:pointer;padding:.5rem 1rem;border-radius:.375rem;transition:all .2s}.text-button:hover{background:#eff6ff;color:#2563eb}.text-button.disconnect{color:#ef4444}.text-button.disconnect:hover{background:#fee;color:#dc2626}.text-button.delete{color:#ef4444}.text-button.delete:hover{background:#fee;color:#dc2626}.add-location-button{background:#3b82f6;color:#fff;border:none;border-radius:.375rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:background .2s}.add-location-button:hover{background:#2563eb}.location-form{background:#f9fafb;border:1px solid #e5e7eb;border-radius:.5rem;padding:1.5rem;margin-bottom:1.5rem}.location-form h4{margin:0 0 1.5rem;font-size:1.125rem;font-weight:600;color:#111827}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-size:.875rem;font-weight:500;color:#374151}.form-group input,.form-group select{width:100%;padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:.375rem;font-size:.875rem;transition:all .2s}.form-group input:focus,.form-group select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-group input.error,.form-group select.error{border-color:#ef4444}.field-error{display:block;margin-top:.25rem;font-size:.75rem;color:#ef4444}.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem}.cancel-button{background:#fff;color:#374151;border:1px solid #d1d5db;border-radius:.375rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.cancel-button:hover{background:#f9fafb;border-color:#9ca3af}.save-button{background:#3b82f6;color:#fff;border:none;border-radius:.375rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:background .2s}.save-button:hover{background:#2563eb}.save-button:disabled,.cancel-button:disabled{opacity:.5;cursor:not-allowed}.locations-list{display:flex;flex-direction:column;gap:1rem}.location-card{border:1px solid #e5e7eb;border-radius:.5rem;padding:1.5rem;display:flex;justify-content:space-between;align-items:start;transition:all .2s;background:#fff}.location-card:hover{border-color:#d1d5db;box-shadow:0 2px 4px #0000000d}.location-card.default{border-color:#3b82f6;background:#eff6ff}.location-info{flex:1}.location-name{font-size:1rem;font-weight:600;color:#111827;margin-bottom:.5rem;display:flex;align-items:center;gap:.5rem}.default-badge{background:#3b82f6;color:#fff;padding:.125rem .5rem;border-radius:9999px;font-size:.75rem;font-weight:500}.location-address{font-size:.875rem;color:#6b7280}.location-actions{display:flex;gap:.5rem;align-items:center}.loading-message{text-align:center;color:#6b7280;padding:3rem;font-size:.875rem}.empty-state{text-align:center;padding:3rem;color:#6b7280}.empty-state p{margin:.5rem 0}.error-message{background:#fee;border:1px solid #fecaca;color:#dc2626;padding:.75rem 1rem;border-radius:.375rem;margin-bottom:1rem;font-size:.875rem}.info-message{background:#fef3c7;border:1px solid #fde68a;color:#92400e;padding:1rem;border-radius:.375rem;margin-top:1.5rem;font-size:.875rem}.info-message p{margin:.25rem 0}@media (max-width: 768px){.profile-header{padding:1rem}.profile-tabs{padding:0 1rem;gap:1rem;overflow-x:auto}.profile-content{padding:1rem}.tab-content{padding:1.5rem}.account-details{flex-direction:column;gap:.75rem}.ebay-account-card,.location-card{flex-direction:column;gap:1rem}.location-actions,.account-actions{width:100%;flex-direction:row;justify-content:flex-start}}.add-account-button{padding:10px 20px;background:#3b82f6;color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.add-account-button:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.default-indicator{display:inline-block;padding:4px 12px;background:#fbbf24;color:#78350f;font-size:13px;font-weight:600;border-radius:4px;text-transform:uppercase}.text-button.set-default{color:#3b82f6;margin-right:12px}.text-button.set-default:hover{color:#2563eb}.account-actions{display:flex;align-items:center;gap:8px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:12px;width:90%;max-width:500px;max-height:90vh;overflow:hidden;box-shadow:0 20px 50px #0000004d}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e5e7eb}.modal-header h3{margin:0;font-size:20px;font-weight:600;color:#1f2937}.modal-close{background:none;border:none;font-size:28px;color:#6b7280;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease}.modal-close:hover{background:#f3f4f6;color:#1f2937}.modal-body{padding:24px;overflow-y:auto;max-height:calc(90vh - 100px)}.sidebar-listing-progress{margin:12px 0}.sidebar-listing-progress .nav-section{margin:0}.sidebar-listing-progress .nav-section-header{padding:8px 16px;font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.listing-progress-sidebar{margin:0 12px;padding:12px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .2s ease}.listing-progress-sidebar:hover{background:#f3f4f6;border-color:#d1d5db;transform:translateY(-1px);box-shadow:0 2px 4px #0000000d}.listing-progress-sidebar.has-errors{border-color:#fecaca;background:#fef2f2}.listing-progress-sidebar.has-errors:hover{border-color:#fca5a5;background:#fee2e2}.progress-content-sidebar{margin-bottom:12px}.progress-status{display:flex;align-items:center;gap:8px;margin-bottom:12px}.status-icon{font-size:18px}.progress-text{font-size:14px;font-weight:500;color:#374151}.progress-bar-container{width:100%;height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden;margin-bottom:8px}.progress-bar-fill{height:100%;background:#3b82f6;transition:width .3s ease}.listing-progress-sidebar.has-errors .progress-bar-fill{background:#ef4444}.progress-percent{font-size:12px;color:#6b7280;text-align:right}.result-summary{display:flex;gap:16px;margin-top:12px}.result-item{display:flex;flex-direction:column;align-items:center}.result-item .count{font-size:20px;font-weight:600;line-height:1}.result-item.success .count{color:#10b981}.result-item.error .count{color:#ef4444}.result-item .label{font-size:11px;color:#6b7280;margin-top:4px}.view-details-btn{width:100%;padding:8px 12px;background:#3b82f6;color:#fff;border:none;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:4px}.view-details-btn:hover{background:#2563eb;transform:translateY(-1px)}.listing-progress-sidebar.has-errors .view-details-btn{background:#ef4444}.listing-progress-sidebar.has-errors .view-details-btn:hover{background:#dc2626}.listing-progress-indicator{display:none}.feed-upload-progress-indicator{background-color:#f8f9fa;border:1px solid #e0e0e0;border-radius:8px;padding:16px;margin:16px;cursor:pointer;transition:all .2s ease}.feed-upload-progress-indicator:hover{background-color:#f0f0f0;border-color:#6f42c1;box-shadow:0 2px 8px #6f42c11a}.feed-upload-header{display:flex;align-items:center;gap:8px;margin-bottom:12px}.feed-upload-icon{font-size:20px}.feed-upload-title{font-weight:600;color:#333;font-size:14px}.feed-upload-status{margin-bottom:12px}.feed-upload-status-text{color:#666;font-size:13px;margin-bottom:4px}.feed-upload-task-id{color:#999;font-size:11px;font-family:monospace}.feed-upload-progress-bar{height:6px;background-color:#e0e0e0;border-radius:3px;overflow:hidden;margin-bottom:12px}.feed-upload-progress-fill{height:100%;background-color:#6f42c1;transition:width .3s ease}.feed-upload-view-details{background-color:#007bff;color:#fff;border:none;border-radius:6px;padding:8px 16px;font-size:13px;font-weight:500;cursor:pointer;width:100%;transition:background-color .2s ease}.feed-upload-view-details:hover{background-color:#0056b3}.ebay-session-notification{position:fixed;top:20px;right:20px;max-width:450px;background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;overflow:hidden;z-index:10000;animation:slideIn .3s ease-out}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.ebay-session-notification.warning{border-left:4px solid #ff9800}.ebay-session-notification.error{border-left:4px solid #f44336}.ebay-session-notification.success{border-left:4px solid #4caf50}.ebay-session-notification.info{border-left:4px solid #2196f3}.notification-content{display:flex;align-items:flex-start;padding:16px;gap:12px}.notification-icon{font-size:24px;flex-shrink:0}.notification-text{flex:1;min-width:0}.notification-message{font-size:14px;line-height:1.5;color:#333;margin-bottom:4px}.notification-countdown{font-size:12px;color:#666;margin-top:8px;font-weight:500}.notification-details{margin-top:4px;color:#666;font-size:12px}.notification-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}.refresh-button,.reconnect-button,.dismiss-button{padding:6px 12px;border:none;border-radius:4px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.refresh-button{background:#2196f3;color:#fff}.refresh-button:hover:not(:disabled){background:#1976d2}.refresh-button:disabled{background:#ccc;cursor:not-allowed}.reconnect-button{background:#4caf50;color:#fff}.reconnect-button:hover{background:#45a049}.dismiss-button{background:#f5f5f5;color:#666}.dismiss-button:hover{background:#e0e0e0}.close-button{background:none;border:none;font-size:18px;color:#999;cursor:pointer;padding:4px;line-height:1;transition:color .2s}.close-button:hover{color:#666}.notification-progress{height:3px;background:#e0e0e0;position:relative;overflow:hidden}.progress-bar{height:100%;background:#2196f3;animation:progress 2s ease-in-out infinite}@keyframes progress{0%{transform:translate(-100%)}to{transform:translate(100%)}}@media (max-width: 600px){.ebay-session-notification{top:10px;right:10px;left:10px;max-width:none}.notification-content{flex-wrap:wrap}.notification-actions{width:100%;margin-top:12px;justify-content:flex-end}}.dashboard-container{padding:20px;max-width:1400px;margin:0 auto}.graph-section{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #0000001a;margin-bottom:30px}.graph-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.graph-title{font-size:20px;font-weight:600;color:#1a1a1a;margin:0}.graph-toggle{display:flex;gap:0;border:1px solid #e0e0e0;border-radius:6px;overflow:hidden}.toggle-btn{padding:8px 16px;border:none;background:#fff;color:#666;font-size:14px;cursor:pointer;transition:all .2s}.toggle-btn:first-child{border-right:1px solid #e0e0e0}.toggle-btn.active{background:#2a6ef8;color:#fff}.toggle-btn:hover:not(.active){background:#f5f5f5}.chart-container{height:320px;margin-top:20px}.chart-loading{display:flex;align-items:center;justify-content:center;height:300px;color:#666;font-size:16px}.info-boxes{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:30px}.info-box{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #0000001a;min-height:320px;display:flex;flex-direction:column}.info-box h3{font-size:20px;font-weight:600;margin-bottom:16px;color:#1a1a1a}.setup-box p{color:#666;margin-bottom:20px;font-size:15px}.setup-features{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}.feature-item{display:flex;align-items:center;gap:12px;font-size:14px;color:#333}.feature-icon{font-size:20px;width:30px;text-align:center}.setup-action-btn{margin-top:auto;background:#2a6ef8;color:#fff;border:none;padding:12px 24px;border-radius:6px;font-size:16px;font-weight:500;cursor:pointer;transition:background .2s}.setup-action-btn:hover{background:#1a5ae8}.demo-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;height:200px;background:#f5f5f5;border-radius:8px;margin-top:12px}.play-icon{font-size:48px;color:#2a6ef8;margin-bottom:12px}.demo-placeholder p{margin:4px 0;color:#666;font-size:16px}.demo-subtitle{font-size:14px!important;color:#999!important}.announcement{background:#f8f9ff;border-left:4px solid #2a6ef8;padding:16px;border-radius:6px}.announcement h4{font-size:16px;font-weight:600;color:#1a1a1a;margin-bottom:12px}.announcement p{color:#666;font-size:14px;line-height:1.6;margin-bottom:12px}.announcement p:last-child{margin-bottom:0}.announcement-footer{font-style:italic;color:#888!important;margin-top:12px}@media (max-width: 1200px){.info-boxes{grid-template-columns:1fr}.info-box{min-height:auto}}@media (max-width: 768px){.graph-header{flex-direction:column;gap:16px;align-items:flex-start}.dashboard-container{padding:16px}}
