body{background-color:#f5f5f5;color:#333;font-family:Arial,sans-serif}nav{background-color:#343a40;border-radius:10px;color:#fff;padding:1rem}nav ul{align-items:center;display:flex;flex-direction:column;list-style:none;padding:0}nav ul li{margin:.5rem 0}nav ul li a{color:#fff;font-size:1.2rem;font-weight:700;text-decoration:none;transition:color .3s ease}nav ul li a:hover{color:#f7c873}h1{color:#333;font-size:2.5rem;margin-bottom:2rem}h1,h2{text-align:center}h2{color:#495057;font-weight:700}button,h2{margin-top:1rem}button{background-color:#f7c873;border:none;border-radius:.5rem;color:#fff;cursor:pointer;font-size:1rem;padding:.7rem 1.2rem;transition:background-color .3s ease,transform .2s ease}button:hover{background-color:#eea636;transform:translateY(-2px)}.country-button{align-items:center;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:1.5rem;justify-content:center;margin:1rem 0;padding:1rem 2rem;transition:background-color .3s ease}.country-button,.country-button:hover{background-color:#f7c873}.country-button span{margin-right:.5rem}.switch-country-button{background-color:#f7a374;border:none;border-radius:.25rem;color:#fff;cursor:pointer;display:block;font-size:1rem;margin:1rem auto;padding:.5rem 1rem;transition:background-color .3s ease;width:90%}.switch-country-button:hover{background-color:#ff7000}.menu-button{border:none;border-radius:.25rem;color:#fff;cursor:pointer;display:block;font-size:1rem;margin:1rem auto;padding:.5rem 1rem;width:90%}.menu-button,.menu-button:hover{background-color:#7c9b86}.logout-button{border-radius:.25rem;display:block;font-size:.9rem;font-weight:700;margin:1rem auto;width:90%}input[type=number],input[type=text],select{border:1px solid #ccc;border-radius:.5rem;display:block;font-size:1rem;margin:.5rem auto;padding:.7rem;width:90%}table{border-collapse:collapse;margin-top:1rem;width:100%}table td,table th{border:1px solid #e0e0e0;font-size:.9rem;padding:.75rem;text-align:left}table th{background-color:#f7c873;color:#fff}.container{background-color:#fff;border-radius:1rem;box-shadow:0 2px 10px #0000001a;margin:0 auto;max-width:1200px;padding:1rem}.home-container{align-items:center;background-color:#fff;height:100vh;justify-content:center;text-align:center}.home-container,.product-list{display:flex;flex-direction:column}.product-list{gap:16px}.product-card{align-items:center;background-color:#fff;border:1px solid #ccc;border-radius:8px;cursor:pointer;display:flex;padding:10px;transition:transform .2s ease,box-shadow .2s ease}.product-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-5px)}.product-image-small{margin-right:16px}.product-image-large{border-radius:10px;box-shadow:0 2px 10px #0000001a;height:auto;margin-bottom:20px;object-fit:contain;width:150px}.product-image-preview{margin-top:10px;max-height:200px;max-width:200px;object-fit:cover}.product-info{flex-grow:1}.product-info p{line-height:1.2;margin:5px 0}.product-view .product-details{text-align:center}.login-container,.product-view .product-details,.product-view .product-info{align-items:center;display:flex;flex-direction:column;justify-content:center}.login-container{background-color:#f7f8fc;border-radius:10px;box-shadow:0 4px 8px #0000001a;height:100vh;padding:20px}.login-container h2{color:#333;font-size:1.8rem;margin-bottom:20px}.login-container form{display:flex;flex-direction:column;max-width:300px;width:100%}.login-container input{border:1px solid #ced4da;border-radius:4px;box-sizing:border-box;font-size:1rem;margin-bottom:15px;padding:12px;transition:border-color .3s ease;width:100%}.login-container input:focus{border-color:#007bff;outline:none}.login-container button{background-color:#007bff;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:1rem;padding:12px;transition:background-color .3s ease}.login-container button:hover{background-color:#0056b3}.login-container button:disabled{background-color:#ccc;cursor:not-allowed}.modal{background:#fff;border-radius:10px;box-shadow:0 0 10px #0000001a;left:50%;padding:20px;position:fixed;top:50%;transform:translate(-50%,-50%);z-index:1000}.modal p{margin-bottom:20px}.modal button{border-radius:5px;margin-right:10px;padding:10px 20px}.flag{border:1px solid #ced4da;border-radius:.5rem;cursor:pointer;padding:1rem 2rem;transition:background-color .3s ease}.flag:hover{background-color:#f7c873}.tianlan-link{background:linear-gradient(135deg,#4facfe,#00f2fe);border-radius:20px!important;color:#fff!important;font-weight:700;padding:8px 16px!important;text-shadow:0 1px 2px #0003;transition:all .3s ease}.tianlan-link:hover{box-shadow:0 4px 8px #4facfe66;transform:translateY(-2px)}.system-selection{grid-gap:3rem;display:grid;gap:3rem;grid-template-columns:1fr 1fr;margin-top:2rem}.system-group{background:#fff;border-radius:15px;box-shadow:0 4px 20px #0000001a;padding:2rem}.system-group h2{border-bottom:2px solid #e9ecef;color:#333;margin-bottom:1.5rem;padding-bottom:1rem;text-align:center}.exchange-group{border-left:4px solid #4facfe}.exchange-button{background:linear-gradient(135deg,#4facfe,#00f2fe);border:none;border-radius:10px;box-shadow:0 2px 10px #4facfe4d;color:#fff;cursor:pointer;font-size:1.1rem;font-weight:700;margin:.5rem 0;padding:1rem 2rem;transition:all .3s ease;width:100%}.exchange-button:hover{box-shadow:0 6px 20px #4facfe66;transform:translateY(-3px)}.button-group{flex-direction:column;gap:1rem;margin-top:1rem}.button-group .country-button,.button-group .exchange-button{text-align:center;width:200px}@media (min-width:600px){.product-view .product-details{flex-direction:row}.product-view .product-info{align-items:flex-start;justify-content:flex-start;margin-left:20px;text-align:left}}@media (max-width:768px){.system-selection{gap:1.5rem;grid-template-columns:1fr}.system-group{padding:1.5rem}.button-group .country-button,.button-group .exchange-button{width:100%}}.tianlan-home{background:linear-gradient(135deg,#667eea,#764ba2);margin:0 auto;max-width:1200px;min-height:100vh;padding:2rem}.tianlan-home .header{color:#fff;margin-bottom:3rem;text-align:center}.tianlan-home .header h1{font-size:2.5rem;margin-bottom:1rem;text-shadow:0 2px 4px #0000004d}.tianlan-options{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));margin-bottom:3rem}.option-card{background:#fff;border-radius:15px;box-shadow:0 10px 30px #0003;overflow:hidden;padding:2rem;position:relative;transition:transform .3s ease,box-shadow .3s ease}.option-card:before{background:linear-gradient(90deg,#4facfe,#00f2fe);content:"";height:5px;left:0;position:absolute;right:0;top:0}.customer-card:before{background:linear-gradient(90deg,#11998e,#38ef7d)}.admin-card:before{background:linear-gradient(90deg,#fa709a,#fee140)}.option-card:hover{box-shadow:0 20px 40px #0000004d;transform:translateY(-10px)}.option-link{color:inherit;display:block;text-decoration:none}.option-icon{font-size:3rem}.option-card h2,.option-icon{margin-bottom:1rem;text-align:center}.option-card h2{color:#333}.option-card p{color:#666;line-height:1.6;margin-bottom:1rem;text-align:center}.option-badge{background:#11998e;border-radius:20px;box-sizing:border-box;color:#fff;display:inline-block;font-size:.8rem;font-weight:700;padding:.5rem 1rem;text-align:center;width:100%}.admin-badge{background:#fa709a}.tianlan-info{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border-radius:15px;color:#fff;padding:2rem}.tianlan-info h3{color:#fff;margin-bottom:1rem}.tianlan-info ul{list-style:none;padding:0}.tianlan-info li{border-bottom:1px solid #ffffff1a;padding:.5rem 0}.tianlan-customer-query{background-color:#f5f5f5;margin:0 auto;max-width:1200px;min-height:100vh;padding:1rem}.customer-header{border-radius:.5rem;box-shadow:0 2px 10px #0000001a;margin-bottom:1.5rem;padding:1.5rem}.brand-logo{box-shadow:none!important;display:block;filter:none!important;height:auto;margin:0 auto .5rem;max-width:200px}.brand-section h2{color:#495057;font-size:1.3rem;font-weight:700;margin:0 auto 1rem;text-align:center}.instruction{color:#666;font-size:.95rem;font-weight:400;margin:0;padding:.5rem 0;text-align:center}.back-button{background:#6c757d;border:none;border-radius:5px;color:#fff;margin-right:2rem;padding:.5rem 1rem;text-decoration:none;transition:background .3s ease}.back-button:hover{background:#5a6268}.search-section{background:#fff;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;display:flex;gap:1rem;margin-bottom:1.5rem;padding:1rem}.search-input{-webkit-touch-callout:default!important;ime-mode:active!important;-webkit-ime-mode:active!important;-moz-ime-mode:active!important;-ms-ime-mode:active!important;-webkit-user-modify:read-write!important;-moz-user-modify:read-write!important;user-modify:read-write!important;-webkit-user-focus:normal!important;-moz-user-focus:normal!important;user-focus:normal!important;-webkit-appearance:textfield!important;appearance:textfield!important;border:1px solid #ccc;border-radius:.5rem;flex:1 1;font-size:1rem;padding:.7rem;pointer-events:auto!important;text-transform:none!important;-webkit-text-transform:none!important;-moz-text-transform:none!important;-ms-text-transform:none!important;transition:border-color .3s ease;-webkit-user-select:text!important;user-select:text!important}.search-input:focus{border-color:#f7c873;outline:none}.search-button{background-color:#f7c873;border:none;border-radius:.5rem;color:#fff;cursor:pointer;font-size:1rem;padding:.7rem 1.2rem;transition:background-color .3s ease,transform .2s ease}.search-button:hover{background-color:#eea636;transform:translateY(-2px)}.search-button:disabled{cursor:not-allowed;opacity:.6;transform:none}.exchange-completed{background:#fff;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;margin-top:1rem;padding:2rem;text-align:center}.completed-icon{font-size:3rem;margin-bottom:1rem}.exchange-completed h2{color:#495057;font-size:1.5rem;margin-bottom:1rem}.completed-info{background:#f8f9fa;border-left:4px solid #f7c873;border-radius:.5rem;margin-top:1rem;padding:1rem}.completed-info p{color:#333;font-size:1rem;margin:.5rem 0}.thank-you{color:#f7c873!important;font-size:1rem!important;font-weight:700;margin-top:1rem!important}.completed-actions{border-top:2px solid #e9ecef;margin-top:1.5rem;padding-top:1rem;text-align:center}.new-query-button{background-color:#f7c873;border-radius:.5rem;font-size:1rem;font-weight:700;padding:.7rem 2rem}.new-query-button:hover{background-color:#eea636}.search-help{margin-bottom:1rem;text-align:center}.help-note{color:#666;font-size:.8rem;font-style:italic;margin:0}.announcement-section{background:linear-gradient(135deg,#fff8f0,#f0f8ff);border-radius:.5rem;box-shadow:0 2px 10px #0000001a;margin:1rem 0;overflow:hidden}.announcement-container{padding:.75rem 1rem}.announcement-section .announcement-container{animation:none!important;background:none!important;background-color:initial!important}.custom-announcement{background:none!important}.announcement-wrapper{overflow:hidden;width:100%}.announcement-content{color:#2c3e50;font-size:.95rem;font-weight:700;position:relative;text-align:center;white-space:nowrap}.announcement-content.marquee{animation:marquee 15s linear infinite;display:inline-block}.announcement-content.marquee:hover{animation-play-state:paused}@keyframes announcementGradient{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}.order-section{background:#fff;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;margin-bottom:1.5rem;padding:1rem}.order-header h2{color:#495057;font-size:1.2rem;margin-bottom:1rem}.order-info{background:#f8f9fa;border-left:4px solid #f7c873;border-radius:.5rem;margin-bottom:1.5rem;padding:1rem}.info-row{align-items:center;display:flex;justify-content:space-between;margin-bottom:.5rem;padding:.25rem 0}.info-row .label{color:#333;font-size:.95rem;font-weight:700}.info-row .value{color:#666;font-size:.95rem}.info-row .value.highlight{background:#f7c873;border-radius:.3rem;color:#fff;font-weight:700;padding:.2rem .5rem}.section-divider{margin:1.5rem 0;text-align:center}.section-divider h3{color:#495057;font-size:1.1rem;margin-bottom:.5rem}.helper-text{color:#666;font-size:.85rem;margin:0}.exchange-item-card{background:#fff;border:1px solid #e0e0e0;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;margin-bottom:1rem;padding:1rem;position:relative;transition:all .3s ease}.exchange-item-card:hover{box-shadow:0 4px 15px #00000026;transform:translateY(-1px)}.exchange-item-card.selected{background:#fff8f0;border-color:#f7c873;box-shadow:0 4px 15px #f7c87333}.original-product{border-bottom:2px solid #e9ecef;margin-bottom:1.5rem;padding-bottom:1rem;padding-top:2.5rem}@media (max-width:768px){.item-number-badge{font-size:.7rem;left:8px;padding:.25rem .5rem;top:8px}.original-product{padding-top:2rem}}.exchange-product{flex-direction:column}.exchange-product h4,.original-product h4{color:#495057;font-size:1rem;font-weight:700;margin-bottom:.75rem}.product-info{align-items:center;gap:.75rem}@media (max-width:768px){.customer-header{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-bottom:1px solid #dee2e6;padding:1.5rem 1rem;text-align:center}.brand-logo{border-radius:8px;box-shadow:0 2px 8px #0000001a;display:block;height:auto;margin:0 auto 1rem;max-width:120px}.brand-section h2{color:#495057;font-size:1.3rem;font-weight:700;margin:0;text-align:center}.preview-header{background:#fff;border-bottom:1px solid #e9ecef;padding:1.5rem 1rem}.confirmation-title{align-items:center;display:flex;gap:.75rem;justify-content:center;margin-bottom:1.5rem}.title-icon{font-size:1.8rem}.confirmation-title h2{color:#495057;font-size:1.4rem;font-weight:700;margin:0}.pa-info-card{align-items:center;background:linear-gradient(135deg,#e3f2fd,#f3e5f5);border:2px solid #2196f3;border-radius:12px;box-shadow:0 2px 8px #2196f326;display:flex;justify-content:space-between;margin:0 auto 1.5rem;max-width:280px;padding:1rem}.pa-label{color:#1976d2;font-size:.9rem;font-weight:700}.pa-number{color:#0d47a1;font-family:Courier New,monospace;font-size:1.2rem;font-weight:700}.preview-list{background:#f8f9fa;padding:0 1rem 1rem}.preview-item-card{background:#fff;border:1px solid #e9ecef;border-radius:16px;box-shadow:0 4px 12px #00000014;margin-bottom:1.5rem;overflow:hidden}.preview-item-header{align-items:center;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-bottom:1px solid #dee2e6;display:flex;justify-content:space-between;padding:1rem}.item-badge{background:#0000;border:1.5px solid #6c757d;border-radius:20px;color:#6c757d;font-size:.9rem;font-weight:700;padding:.3rem .8rem}.item-status{font-size:.8rem;font-weight:700}.status-confirmed{background:#d4edda;border:1px solid #c3e6cb;border-radius:12px;color:#155724;padding:.3rem .6rem}.status-cancel{background:#f8d7da;border:1px solid #f5c6cb;border-radius:12px;color:#721c24;padding:.3rem .6rem}.status-pending{background:#fff3cd;border:1px solid #ffeaa7;border-radius:12px;color:#856404;padding:.3rem .6rem}.preview-content-mobile{padding:1.5rem}.section-title{gap:.75rem;margin-bottom:1rem}.section-icon,.section-title{align-items:center;display:flex}.section-icon{font-size:1.2rem;line-height:1}.section-title h4{color:#495057;font-size:1rem;font-weight:700;margin:0}.product-card{align-items:flex-start;background:#f8f9fa;border:1px solid #e9ecef;border-radius:12px;display:flex;gap:1rem;padding:1rem}.product-image-wrapper{align-items:center;background:#fff;border:1px solid #dee2e6;border-radius:8px;display:flex;justify-content:center;overflow:hidden}.product-image{max-height:80px;max-width:80px;object-fit:cover}.form-placeholder,.product-image,.product-image-wrapper{flex-shrink:0;height:80px;width:80px}.no-image-placeholder{color:#6c757d;text-align:center}.no-image-placeholder span{display:block;font-size:1.5rem;margin-bottom:.2rem}.no-image-placeholder p{font-size:.7rem;margin:0}.product-info{flex:1 1;min-width:0}.product-name{word-wrap:break-word;color:#212529;font-size:.95rem;font-weight:700;line-height:1.3;margin:0 0 .75rem}.product-details{display:flex;flex-direction:column;gap:.4rem}.detail-item{background:#fff;border:1px solid #e9ecef;border-radius:8px;color:#6c757d;display:inline-block;font-size:.85rem;padding:.3rem .6rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.detail-item.quantity{background:#e3f2fd;border-color:#2196f3;color:#495057;font-weight:700}.detail-item.confirmed{background:#d4edda;border-color:#28a745;color:#155724}.arrow-divider{align-items:center;display:flex;gap:.5rem;margin:1.5rem 0}.arrow-line{background:linear-gradient(90deg,#dee2e6,#6c757d,#dee2e6);border-radius:1px;flex:1 1;height:2px}.arrow-icon{background:#fff;border:2px solid #dee2e6;border-radius:50%;box-shadow:0 2px 4px #0000001a;color:#6c757d;font-size:1.5rem;padding:.3rem}.cancel-card{background:#fff5f5;border:2px solid #fed7d7;border-radius:12px;padding:1rem}.cancel-content{align-items:center;display:flex;gap:1rem;text-align:left}.cancel-icon{flex-shrink:0;font-size:2rem}.cancel-title{color:#c53030;font-size:1.1rem;font-weight:700;margin:0 0 .3rem}.cancel-subtitle{color:#e53e3e;font-size:.9rem;margin:0}.exchange-card{background:#f0fff4;border:2px solid #c6f6d5;border-radius:12px;padding:1rem}.not-selected-card{background:#fffbf0;border:2px dashed #fbd38d;border-radius:12px;padding:1.5rem;text-align:center}.not-selected-content{align-items:center;display:flex;flex-direction:column;gap:.5rem}.not-selected-icon{font-size:2rem;opacity:.7}.not-selected-text{color:#975a16;font-size:1rem;font-weight:700;margin:0}.preview-actions-mobile{background:#fff;border-top:1px solid #e9ecef;padding:1.5rem 1rem}.action-summary{margin-bottom:1.5rem}.summary-card{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border:1px solid #dee2e6;border-radius:12px;box-shadow:0 2px 8px #0000000d;padding:1rem}.summary-header{gap:.5rem;margin-bottom:1rem}.summary-header,.summary-icon{align-items:center;display:flex}.summary-icon{font-size:1.3rem;line-height:1}.summary-header h3{color:#495057;font-size:1.1rem;font-weight:700;margin:0}.summary-content{display:flex;flex-direction:column;gap:.75rem}.summary-item{align-items:center;background:#fff;border:1px solid #e9ecef;border-radius:8px;display:flex;justify-content:space-between;padding:.5rem .75rem}.summary-label{color:#6c757d;font-size:.9rem}.summary-value{color:#495057;font-size:1rem;font-weight:700}.summary-value.confirmed{color:#28a745}.action-instruction-mobile{margin-bottom:1.5rem}.loading-state,.ready-state{align-items:center;background:#f8f9fa;border:1px solid #e9ecef;border-radius:12px;display:flex;gap:1rem;padding:1rem}.loading-spinner,.ready-icon{align-items:center;display:flex;flex-shrink:0;font-size:1.5rem;line-height:1}.loading-spinner{animation:spin 1s linear infinite}.loading-title,.ready-title{color:#495057;font-size:1rem;font-weight:700;margin:0 0 .3rem}.loading-subtitle,.ready-subtitle{color:#6c757d;font-size:.85rem;margin:0}.action-buttons-mobile{display:flex;flex-direction:column;gap:1rem}.back-button-mobile,.confirm-button-mobile{align-items:center;border:none;border-radius:12px;cursor:pointer;display:flex;font-size:1rem;font-weight:700;gap:.5rem;justify-content:center;min-height:54px;padding:1rem;transition:all .3s ease}.back-button-mobile{background:#f8f9fa;border:2px solid #dee2e6;color:#495057}.back-button-mobile:hover:not(:disabled){background:#e9ecef;border-color:#adb5bd;transform:translateY(-1px)}.back-button-mobile:disabled{cursor:not-allowed;opacity:.5;transform:none}.confirm-button-mobile{background:linear-gradient(135deg,#28a745,#20c997);border:2px solid #28a745;box-shadow:0 4px 12px #28a7454d;color:#fff}.confirm-button-mobile:hover:not(:disabled){background:linear-gradient(135deg,#218838,#1e7e34);box-shadow:0 6px 16px #28a74566;transform:translateY(-2px)}.confirm-button-mobile.loading{background:#6c757d;border-color:#6c757d;box-shadow:none;cursor:not-allowed;transform:none}.button-icon,.button-spinner{align-items:center;display:flex;font-size:1.1rem;line-height:1}.button-spinner{animation:spin 1s linear infinite}.button-text{font-size:1rem}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.original-product .product-info{align-items:center;flex-direction:column;gap:1rem;text-align:center}.original-product .product-image-container{display:flex;flex-shrink:0;justify-content:center;margin-bottom:1rem;width:100%}.original-product .product-image{border-radius:8px;display:block;height:100px!important;object-fit:cover;width:100px!important}.original-product .product-details{margin-top:.5rem;text-align:center;width:100%}.original-product .detail-row{clear:both;justify-content:center;margin-bottom:.5rem}}.product-image-container{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-bottom:1rem;position:relative}.product-image{border:1px solid #e9ecef;border-radius:.5rem;height:120px;object-fit:cover;width:120px}.product-details{flex:1 1;gap:.25rem}.detail-row{align-items:center;display:flex;justify-content:space-between;padding:.15rem 0}.detail-label{color:#555;font-size:.85rem;font-weight:700;min-width:45px}.detail-value{color:#333;font-size:.85rem;text-align:right}.detail-value.highlight{background:#f7c873;border-radius:.3rem;color:#fff;font-size:.8rem;font-weight:700;padding:.2rem .4rem}.product-selection-grid{grid-gap:.875rem;align-items:stretch;gap:.875rem;grid-template-columns:repeat(2,1fr);max-width:100%;overflow:hidden}.cancel-option-card .cancel-product-image{margin-bottom:.75rem}@media (max-width:768px){.product-selection-grid{gap:.75rem;grid-template-columns:repeat(2,1fr)}.exchange-product-option{align-items:center;display:flex;flex-direction:column;justify-content:flex-start;min-height:280px;padding:.875rem}.option-image-container{display:flex;flex-shrink:0;justify-content:center;margin-bottom:.5rem}.option-product-image{object-fit:cover}.option-product-image,.option-product-no-image{border-radius:8px;height:120px!important;width:120px!important}.option-product-no-image{align-items:center;display:flex;flex-direction:column;font-size:.8rem;gap:.25rem;justify-content:center}.option-product-info{display:flex;flex:1 1;flex-direction:column;justify-content:space-between;min-width:0;width:100%}.option-product-info h5{font-size:.75rem;-webkit-hyphens:auto;hyphens:auto;margin:0 0 .2rem;order:0}.option-product-info h5,.option-product-info p{word-wrap:break-word;box-sizing:border-box;line-height:1.2;max-width:100%;overflow-wrap:break-word;padding:0 .25rem;text-align:center;white-space:normal;word-break:break-word}.option-product-info p{flex-shrink:0;font-size:.65rem;margin:0 0 .3rem;order:1}.style-selection-inline{flex-shrink:0;margin:.4rem 0 .6rem;order:2;width:100%}.style-selection-inline select{border:1px solid #ccc;border-radius:4px;font-size:.75rem;padding:.4rem;width:100%}.no-style-display,.single-style-display{word-wrap:break-word;background:#f8f9fa;border:1px solid #e9ecef;border-radius:4px;flex-shrink:0;font-size:.7rem;margin:.4rem 0 .6rem;order:2;overflow-wrap:break-word;padding:.3rem .4rem;text-align:center}.stock-status{border-radius:4px;flex-shrink:0;font-size:.7rem;margin-bottom:0;margin-top:auto;padding:.2rem .4rem}.low-stock-warning,.stock-status{order:3;text-align:center;width:100%}.low-stock-warning{font-size:.65rem;margin-top:.2rem;padding:.15rem .3rem}}.exchange-options{max-width:100%;overflow:hidden;width:100%}.select-label{font-size:1rem;font-weight:600;margin-bottom:1rem;text-align:center}.cancel-option-card,.exchange-product-option{box-sizing:border-box;max-width:100%;min-width:0;width:100%}.cancel-option-card .cancel-product-info,.exchange-product-option .option-product-info{box-sizing:border-box;min-width:0;overflow:hidden;padding:0 .25rem;width:100%}.cancel-option-card{background:#fef2f2!important;border:2px dashed #dc3545!important;min-height:240px!important}.cancel-option-card.selected{background:#fee2e2!important;border-color:#dc3545!important}.cancel-option-card .cancel-product-image{align-items:center;color:#dc3545;display:flex;flex-shrink:0;font-size:2.5rem;height:110px;justify-content:center;margin-bottom:.5rem;width:110px}.cancel-option-card .cancel-product-info{align-items:center;display:flex;flex:1 1;flex-direction:column;justify-content:center;width:100%}.cancel-option-card .cancel-product-info h5{word-wrap:break-word;color:#dc3545!important;font-size:.9rem;font-weight:600;margin:0 0 .25rem;overflow-wrap:break-word;text-align:center}.cancel-option-card .cancel-product-info p{word-wrap:break-word;color:#721c24!important;font-size:.8rem;margin:0;overflow-wrap:break-word;text-align:center}.exchange-product-option .selected-indicator{align-items:center;background:#28a745;border-radius:50%;box-shadow:0 2px 4px #28a7454d;color:#fff;display:flex;font-size:.8rem;font-weight:700;height:24px;justify-content:center;position:absolute;right:.75rem;top:.75rem;width:24px;z-index:10}.exchange-product-option .sold-out-overlay{align-items:center;background:#000000b3;border-radius:.75rem;bottom:0;color:#fff;display:flex;font-size:.875rem;font-weight:600;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:5}.exchange-product-option{align-items:center;background:#fff;border:2px solid #e9ecef;border-radius:.75rem;box-shadow:0 2px 8px #00000014;cursor:pointer;display:flex;flex-direction:column;justify-content:space-between;min-height:240px;overflow:visible;padding:.75rem;position:relative;text-align:center;transition:all .3s ease}.exchange-product-option:hover{border-color:#f7c873;box-shadow:0 4px 10px #0000001a;transform:translateY(-2px)}.exchange-product-option.selected{background:#fff8f0;border-color:#f7c873;box-shadow:0 4px 15px #f7c8734d}.option-image-container{align-items:center;display:flex;justify-content:center;margin-bottom:.5rem;width:100%}.option-product-image{border:1px solid #e9ecef;box-shadow:0 2px 6px #0000001a;cursor:pointer;flex-shrink:0;height:110px;transition:transform .2s ease;width:110px}.option-product-image:hover{transform:scale(1.05)}.option-product-no-image{border:1px solid #e9ecef;box-shadow:0 2px 6px #0000001a;color:#6c757d;flex-shrink:0;font-size:.8rem;font-weight:700;height:110px;width:110px}.single-style-display{border:1px solid #e9ecef;border-radius:.25rem;color:#495057;flex-shrink:0;font-size:.7rem;margin:.5rem 0;padding:.25rem .5rem;text-align:center}.option-product-info{display:flex;flex:1 1;flex-direction:column;justify-content:space-between;min-height:0;width:100%}.option-product-info h5{align-items:center;color:#495057;display:flex;flex:1 1;font-size:.875rem;font-weight:600;-webkit-hyphens:auto;hyphens:auto;justify-content:center;line-height:1.25;margin:.5rem 0 0}.option-product-info h5,.option-product-info p{word-wrap:break-word;box-sizing:border-box;max-width:100%;overflow-wrap:break-word;padding:0 .25rem;text-align:center;white-space:normal;word-break:break-word}.option-product-info p{color:#666;flex-shrink:0;font-size:.75rem;line-height:1.2;margin:0}.stock-status{flex-shrink:0;font-size:.7rem;margin-bottom:0;margin-top:.5rem}.stock-status.sufficient,.stock-status.unlimited{background:#ecfdf5;color:#065f46}.low-stock-warning{color:#856404;flex-shrink:0;font-size:.6rem;margin-top:.25rem;text-align:center}.style-selection-inline{flex-shrink:0;margin:.5rem 0}.inline-style-select{background:#fff;border:1px solid #ccc;border-radius:.3rem;font-size:.85rem;padding:.5rem;width:100%}.inline-style-select:focus{border-color:#f7c873;outline:none}.selected-indicator{background:#f7c873}.cancel-option-card{background:#f8f9fa;border:2px solid #e9ecef}.cancel-option-card:hover{border-color:#dc3545}.cancel-option-card.selected{background:#f8f9fa;border-color:#dc3545;box-shadow:0 4px 15px #dc354533}.cancel-product-image{font-size:3rem}.cancel-product-info h5{color:#495057;font-weight:700}.cancel-product-info p{color:#666}.exchange-options{display:flex;flex-direction:column}.select-label{color:#495057;display:block;font-size:.95rem;font-weight:700;margin-bottom:.5rem}.cancel-notice{background:#fff3cd;border-left:4px solid #ffc107;color:#856404;font-size:.85rem;margin-top:1rem;padding:.75rem}.cancel-notice,.submit-section{border-radius:.5rem;text-align:center}.submit-section{background:#fff;box-shadow:0 2px 10px #0000001a;margin-top:1.5rem;padding:1rem}.submit-info{margin-bottom:1rem}.success-text,.warning-text{font-weight:700;margin:0}.success-text{color:#f7c873}.preview-button{background-color:#f7c873;border:none;border-radius:.5rem;color:#fff;cursor:pointer;font-size:1rem;font-weight:700;min-width:180px;padding:.7rem 2rem;transition:all .3s ease}.preview-button:hover:not(:disabled){background-color:#eea636;transform:translateY(-2px)}.preview-button:disabled{background:#6c757d;cursor:not-allowed;transform:none}.preview-section{background:#fff;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;display:flex;flex-direction:column;justify-content:center;margin:0 auto;max-width:800px;min-height:80vh;padding:1.5rem}.preview-header{border-bottom:2px solid #f7c873;margin-bottom:1.5rem;padding-bottom:1rem;text-align:center}.preview-header h2{color:#495057;font-size:1.5rem;font-weight:700;letter-spacing:1px;margin:0 0 .8rem}.pa-info{color:#666;font-size:1.1rem;font-weight:700;letter-spacing:.5px;margin:0 0 1rem;text-align:center}.preview-list{margin-bottom:1.5rem;text-align:center}.preview-item{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:.5rem;padding:1rem}.preview-item,.preview-item-header{margin-bottom:1rem;text-align:center}.preview-item-header{align-items:center;border-bottom:1px solid #e9ecef;display:flex;gap:2rem;justify-content:center;padding-bottom:.5rem}.pa-number{color:#666;font-size:.85rem;font-weight:700}.preview-content{grid-gap:1rem;align-content:center;align-items:center;display:grid;gap:1rem;grid-template-columns:1fr auto 1fr;justify-items:center;min-height:200px;text-align:center}.exchange-section,.original-section{align-items:center;background:#fff;border:1px solid #e9ecef;border-radius:.5rem;display:flex;flex-direction:column;justify-content:center;min-height:180px;padding:1.2rem;text-align:center}.exchange-section h4,.original-section h4{border-bottom:2px solid #f7c873;color:#495057;font-size:1.1rem;font-weight:700;letter-spacing:.5px;margin:0 0 1rem;padding-bottom:.75rem;text-align:center}.arrow-section{color:#f7c873;font-size:2rem;font-weight:700;min-height:100px;text-align:center}.arrow-section,.preview-product-info{align-items:center;display:flex;justify-content:center}.preview-product-info{flex:1 1;gap:1rem}.preview-image{border:1px solid #e0e0e0;border-radius:.5rem;height:80px;object-fit:cover;width:80px}.preview-details{flex:1 1}.product-name{color:#495057;line-height:1.3;margin:0 0 .5rem}.product-meta{color:#666;font-size:.95rem;line-height:1.3;margin:.2rem 0}.cancel-preview{align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:120px;padding:1.5rem 0;text-align:center}.cancel-icon{font-size:2.5rem;margin-bottom:.8rem}.cancel-text{color:#dc3545;font-size:1.1rem;font-weight:700;line-height:1.4;margin:0 0 .5rem}.cancel-sub{color:#666;font-size:.95rem;line-height:1.3;margin:0}.exchange-preview{flex-direction:column;padding:1rem 0;text-align:center}.exchange-preview,.not-selected{align-items:center;display:flex;justify-content:center;min-height:120px}.not-selected{color:#999;font-size:1.1rem;font-style:italic;padding:2rem 0}.exchange-name{color:#495057;font-size:1.1rem;font-weight:700;line-height:1.4;margin:0 0 .5rem}.exchange-meta{color:#666;font-size:.95rem;line-height:1.3;margin:.2rem 0}.exchange-status{color:#28a745;font-size:1rem;font-weight:700;line-height:1.3;margin:.5rem 0 0}.preview-actions{align-items:center;border-top:2px solid #e9ecef;display:flex;flex-direction:column;gap:1.5rem;justify-content:center;margin-top:1.5rem;padding-top:1rem;text-align:center;width:100%}.confirm-button{background-color:#f7c873;font-size:1rem;padding:.7rem 2rem;transition:all .3s ease}.confirm-button:hover:not(:disabled){background-color:#eea636;transform:translateY(-2px)}.confirm-button:disabled{transform:none}.confirmation-notice{animation:fadeInUp .5s ease-out;background:linear-gradient(135deg,#e8f5e8,#f0f8f0);border:2px solid #4caf50;border-radius:16px;box-shadow:0 4px 12px #4caf5026;margin:0 auto;max-width:320px;padding:1.2rem}.notice-content{align-items:flex-start;display:flex;gap:1rem;text-align:left}.notice-icon{align-items:center;display:flex;flex-shrink:0;font-size:1.5rem;line-height:1}.notice-text{flex:1 1}.notice-title{color:#2e7d32;font-size:1.1rem;font-weight:700;line-height:1.3;margin:0 0 .5rem}.notice-subtitle{color:#388e3c;font-size:.9rem;line-height:1.4;margin:0;opacity:.9}.action-instruction{animation:pulse-glow 2s infinite;background:#fff3cd;border:2px dashed #f7c873;border-radius:8px;box-sizing:border-box;left:50%;margin:0 auto 1rem;max-width:400px;padding:1rem;position:relative;transform:translateX(-50%);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.action-instruction,.final-instruction{align-items:center;display:flex;justify-content:center;text-align:center}.final-instruction{color:#856404;font-size:1.2rem;font-weight:700;gap:.5rem;margin:0;width:100%}.check-icon,.loading-icon{animation:bounce 2s infinite;font-size:1.3rem}.loading-icon{animation:rotate 1s linear infinite}.button-group{align-items:center;display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:center;left:50%;max-width:600px;position:relative;transform:translateX(-50%);width:100%}.confirm-button.ready{background:linear-gradient(135deg,#4caf50,#45a049);border:none;border-radius:12px;box-shadow:0 4px 15px #4caf504d;color:#fff;cursor:pointer;display:block;font-size:1.2rem;font-weight:700;margin:0 auto;min-width:200px;overflow:hidden;padding:1rem 2rem;position:relative;transform:scale(1);transition:all .3s ease}.confirm-button.ready:hover{background:linear-gradient(135deg,#45a049,#3d8b40);box-shadow:0 6px 25px #4caf5080;transform:scale(1.05) translateY(-2px)}.confirm-button.ready:before{background:linear-gradient(90deg,#0000,#fff6,#0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s;width:100%}.confirm-button.ready:hover:before{left:100%}.confirm-button.loading{background:#6c757d;border:none;border-radius:12px;color:#fff;cursor:not-allowed;display:block;font-size:1.1rem;margin:0 auto;min-width:200px;opacity:.8;padding:1rem 2rem;transform:scale(1)}.confirm-icon,.spinner{font-size:1.2rem;margin-right:.5rem}.spinner{animation:rotate 1s linear infinite}.back-button{background:#f8f9fa;border:2px solid #dee2e6;border-radius:8px;color:#6c757d;cursor:pointer;display:block;font-size:1rem;margin:0 auto;padding:.8rem 1.5rem;transition:all .3s ease}.back-button:hover{background:#e9ecef;border-color:#adb5bd;color:#495057;transform:translateY(-1px)}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse-glow{0%,to{box-shadow:0 0 0 0 #f7c87366}50%{box-shadow:0 0 0 10px #f7c87300}}@keyframes bounce{0%,20%,50%,80%,to{transform:translateY(0)}40%{transform:translateY(-5px)}60%{transform:translateY(-3px)}}@keyframes rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}input[type=email],input[type=number],input[type=search],input[type=tel],input[type=text],input[type=url],textarea{text-transform:none;-webkit-text-transform:none;-moz-text-transform:none;-ms-text-transform:none}.search-filters input,.search-input,.tianlan-order-exchange-manager input[type=text],.tianlan-product-manager input[type=text],input[placeholder*=\641C\5C0B],input[placeholder*=\67E5\8A62],input[placeholder*=\8F38\5165]{ime-mode:active;-webkit-ime-mode:active;text-transform:none!important}.tianlan-customer-query input[type=text],input[placeholder*=PA\55AE\865F],input[placeholder*=\96FB\8A71]{ime-mode:active;-webkit-ime-mode:active}.tianlan-admin-login{background:linear-gradient(135deg,#667eea,#764ba2);display:flex;flex-direction:column;justify-content:center;margin:0 auto;max-width:500px;min-height:100vh;padding:2rem}.login-form{background:#fff;border-radius:15px;box-shadow:0 10px 30px #0003;padding:2rem}.form-group{margin-bottom:1.5rem}.form-group label{color:#333}.password-input{border:2px solid #e9ecef;border-radius:8px;box-sizing:border-box;font-size:1rem;padding:1rem;transition:border-color .3s ease;width:100%}.password-input:focus{border-color:#4facfe;outline:none}.login-button{background:linear-gradient(135deg,#4facfe,#00f2fe);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1.1rem;font-weight:700;padding:1rem;transition:transform .2s ease;width:100%}.login-button:hover{transform:translateY(-2px)}.login-info{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border-radius:10px;color:#fff;margin-top:2rem;padding:1.5rem;text-align:center}.tianlan-admin{background-color:#f5f5f5;margin:0 auto;max-width:1200px;min-height:100vh;padding:1rem}.tianlan-admin .header{align-items:center;background:#fff;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding:1rem}.logout-button{background-color:#dc3545;border:none;border-radius:.5rem;color:#fff;cursor:pointer;font-size:1rem;padding:.5rem 1rem;transition:background-color .3s ease,transform .2s ease}.logout-button:hover{background-color:#c82333;transform:translateY(-2px)}.dashboard-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-bottom:2rem}.dashboard-card{background:#fff;border:1px solid #e0e0e0;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;padding:1rem;transition:transform .3s ease,box-shadow .3s ease}.dashboard-card:hover{box-shadow:0 4px 15px #00000026;transform:translateY(-2px)}.card-link{color:inherit;display:block;text-decoration:none}.card-icon{margin-bottom:.75rem;text-align:center}.card-features{display:flex;flex-direction:column;gap:.25rem;margin-top:.75rem}.card-features span{color:#f7c873;font-size:.8rem;font-weight:700}.system-info{background:#fff;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;padding:1rem}.info-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin-top:1rem}.status-card{align-items:center;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:.5rem;display:flex;gap:1rem;padding:.75rem}.tianlan-exchange-home-new{background:linear-gradient(135deg,#fafafa,#f5f5f5);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;min-height:100vh}.page-header{background:#fff;border-bottom:1px solid #e8e8e8;box-shadow:0 1px 3px #0000000d;padding:1.5rem 0;position:-webkit-sticky;position:sticky;top:0;z-index:100}.header-content{gap:1.5rem;justify-content:center;margin:0 auto;max-width:1200px;padding:0 2rem;position:relative}.back-btn{align-items:center;background:#0000;border:1px solid #e8e8e8;border-radius:8px;color:#666;cursor:pointer;display:flex;font-size:1.1rem;justify-content:center;left:2rem;min-width:48px;padding:.75rem 1rem;position:absolute;transition:all .2s ease}.back-btn:hover{background:#f8f8f8;border-color:#d0d0d0;transform:translateX(-2px)}.title-section{align-items:center;display:flex;flex:1 1;flex-direction:column;justify-content:center;text-align:center}.title-section h1{color:#2c2c2c;font-size:1.75rem;font-weight:300;letter-spacing:.5px;margin:0}.title-section p{color:#888;font-size:.9rem;font-weight:300;margin:.25rem 0 0}.main-content{margin:0 auto;max-width:1200px;padding:3rem 2rem}.function-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));margin-bottom:3rem}.function-card{background:#fff;border:1px solid #f0f0f0;border-radius:12px;box-shadow:0 2px 8px #0000000a;overflow:hidden;padding:2rem;position:relative;text-decoration:none;transition:all .3s ease}.function-card:before{background:linear-gradient(90deg,#667eea,#764ba2);content:"";height:3px;left:0;position:absolute;right:0;top:0;transform:scaleX(0);transition:transform .3s ease}.function-card:hover:before{transform:scaleX(1)}.function-card:hover{border-color:#e0e0e0;box-shadow:0 8px 25px #0000001a;transform:translateY(-4px)}.card-header{align-items:center;display:flex;gap:1rem;margin-bottom:1rem}.card-icon{font-size:2rem;line-height:1}.function-card h2{color:#2c2c2c;font-size:1.25rem;font-weight:500;letter-spacing:.3px;margin:0}.function-card p{color:#666;font-size:.95rem;font-weight:300;line-height:1.5;margin:0}.info-section{background:#fff;border:1px solid #f0f0f0;border-radius:12px;box-shadow:0 2px 8px #0000000a;padding:2rem}.access-header h3{color:#2c2c2c;font-size:1.1rem;font-weight:500;letter-spacing:.3px;margin:0 0 1.5rem}.url-container{align-items:center;display:flex;flex-wrap:wrap;gap:1rem}.url-display-new{flex:1 1;min-width:300px}.url-display-new code{background:#f8f8f8;border:1px solid #e8e8e8;border-radius:8px;color:#555;display:block;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.9rem;padding:1rem;word-break:break-all}.copy-btn{background:#667eea;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.9rem;font-weight:500;padding:1rem 1.5rem;transition:all .2s ease;white-space:nowrap}.copy-btn:hover{background:#5a6fd8;transform:translateY(-1px)}.product-manager-new{background:linear-gradient(135deg,#fafafa,#f5f5f5);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;min-height:100vh}.page-header-new{background:#fff;border-bottom:1px solid #e8e8e8;box-shadow:0 1px 3px #0000000d;padding:1.5rem 0;position:-webkit-sticky;position:sticky;top:0;z-index:100}.header-content-new{gap:1.5rem;margin:0 auto;max-width:1400px;padding:0 2rem;position:relative}.back-btn-new,.header-content-new{align-items:center;display:flex;justify-content:center}.back-btn-new{background:#0000;border:1px solid #e8e8e8;border-radius:8px;color:#666;cursor:pointer;font-size:1.1rem;left:2rem;min-width:48px;padding:.75rem 1rem;position:absolute;text-decoration:none;transition:all .2s ease}.back-btn-new:hover{background:#f8f8f8;border-color:#d0d0d0;transform:translateX(-2px)}.title-section-new{align-items:center;display:flex;flex:1 1;flex-direction:column;justify-content:center;text-align:center}.title-section-new h1{color:#2c2c2c;font-size:1.75rem;font-weight:300;letter-spacing:.5px;margin:0}.title-section-new p{color:#888;font-size:.9rem;font-weight:300;margin:.25rem 0 0}.main-content-new{margin:0 auto;max-width:1400px;padding:2rem}.control-panel{background:#fff;border:1px solid #f0f0f0;border-radius:12px;box-shadow:0 2px 8px #0000000a;padding:2rem}.control-panel,.search-area{margin-bottom:2rem}.search-container{max-width:400px;position:relative}.search-icon{color:#999;font-size:1rem;left:1rem;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.search-input-new{background:#fafafa;border:1px solid #e8e8e8;border-radius:10px;font-size:.95rem;padding:1rem 1rem 1rem 3rem;transition:all .2s ease;width:100%}.search-input-new:focus{background:#fff;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.clear-search{background:#0000;border:none;border-radius:4px;color:#999;cursor:pointer;font-size:1.2rem;padding:.25rem;position:absolute;right:1rem;top:50%;transform:translateY(-50%);transition:color .2s ease}.clear-search:hover{color:#666}.action-panel{display:flex;flex-direction:column;gap:1.5rem}.primary-actions{display:flex;flex-wrap:wrap;gap:1rem}.batch-actions{align-items:center;border-top:1px solid #f0f0f0;padding-top:1.5rem}.selection-info{flex:1 1}.selection-count{background:#e3f2fd;border-radius:20px;color:#1976d2;font-size:.85rem;font-weight:500;padding:.5rem 1rem}.action-btn{align-items:center;border:1px solid #0000;border-radius:8px;cursor:pointer;display:flex;font-size:.9rem;font-weight:500;gap:.5rem;padding:.75rem 1.5rem;text-decoration:none;transition:all .2s ease;white-space:nowrap}.action-btn.primary{background:#667eea;border-color:#667eea;color:#fff}.action-btn.primary:hover:not(:disabled){background:#5a6fd8;transform:translateY(-1px)}.action-btn.secondary{background:#fff;border-color:#667eea;color:#667eea}.action-btn.secondary:hover:not(:disabled){background:#667eea;color:#fff;transform:translateY(-1px)}.action-btn.outline{background:#0000;border-color:#e8e8e8;color:#666}.action-btn.outline:hover:not(:disabled){background:#f8f8f8;border-color:#d0d0d0}.action-btn.danger{background:#fff;border-color:#e74c3c;color:#e74c3c}.action-btn.danger:hover:not(:disabled){background:#e74c3c;color:#fff;transform:translateY(-1px)}.action-btn:disabled{cursor:not-allowed;opacity:.5;transform:none}.products-section{background:#fff;border:1px solid #f0f0f0;border-radius:12px;box-shadow:0 2px 8px #0000000a;padding:2rem}.empty-state,.loading-state{color:#666;padding:4rem 2rem;text-align:center}.loading-spinner{animation:spin 1s linear infinite;font-size:2rem;margin-bottom:1rem}.empty-icon{font-size:3rem;margin-bottom:1rem;opacity:.5}.empty-state h3{color:#555;font-size:1.2rem;font-weight:500;margin:0 0 .5rem}.empty-state p{color:#888;font-size:.9rem;margin:0}.product-grid-new{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.product-card-new{background:#fff;border:1px solid #f0f0f0;border-radius:12px;overflow:hidden;position:relative;transition:all .3s ease}.product-card-new:hover{border-color:#e0e0e0;box-shadow:0 8px 25px #00000014;transform:translateY(-2px)}.product-card-new.selected{border-color:#667eea;box-shadow:0 4px 15px #667eea26}.product-card-new.selected:before{background:#667eea;content:"";height:3px;left:0;position:absolute;right:0;top:0}.card-header-new{border-bottom:1px solid #f8f8f8;justify-content:space-between;padding:1rem 1.5rem}.card-header-new,.selection-area{align-items:center;display:flex}.product-checkbox-new{accent-color:#667eea;height:18px;width:18px}.product-type-indicator{align-items:center;display:flex}.type-badge{border-radius:15px;font-size:.8rem;font-weight:500;padding:.3rem .8rem}.type-badge.gift{background:#fff3e0;border:1px solid #ffcc02;color:#f57c00}.type-badge.exchange{background:#e8f5e8;border:1px solid #4caf50;color:#2e7d32}.card-content-new{align-items:flex-start;display:flex;gap:1rem;padding:1.5rem}.product-visual{align-items:center;background:#f8f8f8;border:1px solid #e8e8e8;border-radius:8px;display:flex;flex-shrink:0;height:80px;justify-content:center;overflow:hidden;width:80px}.product-image-new{height:100%;object-fit:cover;width:100%}.image-placeholder-new{color:#ccc;font-size:1.5rem}.product-details-new{flex:1 1;min-width:0}.product-name-new{word-wrap:break-word;color:#2c2c2c;font-size:1.1rem;font-weight:500;line-height:1.3;margin:0 0 .75rem}.product-meta-new{display:flex;flex-direction:column;gap:.6rem;margin-bottom:1rem;min-height:3rem;width:100%}.item-number{word-wrap:break-word!important;align-items:normal!important;background:#0000!important;border:none!important;border-radius:0!important;color:#666!important;display:inline-block!important;flex-shrink:1!important;font-family:Monaco,Menlo,Ubuntu Mono,monospace!important;font-size:.8rem!important;font-weight:400!important;height:auto!important;justify-content:normal!important;letter-spacing:.2px!important;line-height:1.3!important;max-width:100%!important;overflow-wrap:break-word!important;padding:0!important;white-space:normal!important;width:-webkit-fit-content!important;width:-moz-fit-content!important;width:fit-content!important}.styles-info{color:#888;font-size:.85rem;font-style:italic}.status-row{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:.75rem}.stock-status{border-radius:15px;font-weight:500;padding:.3rem .8rem}.stock-status.stock-sufficient,.stock-status.stock-unlimited{background:#ecfdf5;color:#065f46}.stock-status.stock-low{background:#fff3e0;color:#f57c00}.stock-status.stock-out{background:#ffebee;color:#d32f2f}.exchange-count{background:#f8f8f8;border-radius:15px;color:#666;font-size:.8rem;padding:.3rem .8rem}.price-display{color:#667eea;font-size:1rem;font-weight:600;margin-top:.5rem}.card-actions-new{border-top:1px solid #f8f8f8;display:flex;gap:.75rem;justify-content:flex-end;padding:1rem 1.5rem}.action-btn-small{border:1px solid #0000;border-radius:6px;cursor:pointer;font-size:.85rem;font-weight:500;padding:.5rem 1rem;transition:all .2s ease}.action-btn-small.edit{background:#667eea;border-color:#667eea;color:#fff}.action-btn-small.edit:hover{background:#5a6fd8;transform:translateY(-1px)}.action-btn-small.stock{background:#fff;border-color:#f57c00;color:#f57c00}.action-btn-small.stock:hover{background:#f57c00;color:#fff;transform:translateY(-1px)}.action-btn-small.delete{background:#fff;border-color:#e74c3c;color:#e74c3c}.action-btn-small.delete:hover{background:#e74c3c;color:#fff;transform:translateY(-1px)}.order-manager-new{background:linear-gradient(135deg,#fafafa,#f5f5f5);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;min-height:100vh}.stats-overview{background:#fff;border:1px solid #f0f0f0;border-radius:12px;box-shadow:0 2px 8px #0000000a;margin-bottom:2rem;padding:2rem}.stats-grid-new{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.stat-card-new{background:#fafafa;border:1px solid #f0f0f0;border-radius:10px;overflow:hidden;padding:1.5rem;position:relative;text-align:center;transition:all .2s ease}.stat-card-new:before{content:"";height:3px;left:0;position:absolute;right:0;top:0;transform:scaleX(0);transition:transform .3s ease}.stat-card-new:hover:before{transform:scaleX(1)}.stat-card-new.total:before{background:#667eea}.stat-card-new.unfilled:before{background:#ff9800}.stat-card-new.filled:before{background:#4caf50}.stat-card-new.processed:before{background:#2196f3}.stat-content{position:relative;z-index:1}.stat-card-new .stat-number{color:#2c2c2c;font-size:2rem;font-weight:300;line-height:1;margin-bottom:.5rem}.stat-card-new .stat-label{color:#666;font-size:.9rem;font-weight:400;letter-spacing:.3px}.control-panel-order{background:#fff;border:1px solid #f0f0f0;border-radius:12px;box-shadow:0 2px 8px #0000000a;margin-bottom:2rem;padding:2rem}.search-filter-area{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:2rem}.search-container-order{flex:1 1;max-width:500px;min-width:300px;position:relative}.search-input-order{background:#fafafa;border:1px solid #e8e8e8;border-radius:10px;font-size:.95rem;padding:1rem 1rem 1rem 3rem;transition:all .2s ease;width:100%}.search-input-order:focus{background:#fff;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.filter-container,.sort-container{min-width:150px}.sort-select-order{background:#fafafa;border:1px solid #e8e8e8;border-radius:10px;font-size:.95rem;padding:1rem;transition:all .2s ease;width:100%}.sort-select-order:focus{background:#fff;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.stock-modal-new{animation:modalSlideIn .3s ease-out;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0003;max-height:85vh;max-width:700px;overflow:hidden;width:100%}.stock-header-new{align-items:flex-start;background:linear-gradient(135deg,#fafafa,#f5f5f5);border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;padding:2rem}.header-left{flex:1 1}.product-info-compact{align-items:center;display:flex;gap:1rem}.product-thumb{border:1px solid #e8e8e8;border-radius:8px;height:60px;object-fit:cover;width:60px}.product-text h2{color:#2c2c2c;font-size:1.3rem;font-weight:500;margin:0 0 .5rem}.product-info{display:flex;flex-direction:column;gap:.3rem}.product-name{color:#666;font-size:.9rem;font-weight:400}.item-code{word-wrap:break-word;background:#f0f4ff;border-radius:6px;color:#667eea;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.8rem;line-height:1.2;max-width:100%;padding:.3rem .6rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.stock-summary{background:#f8f9fa;border-bottom:1px solid #f0f0f0;display:flex;gap:2rem;padding:1rem 2rem}.summary-item{flex-direction:column;text-align:center}.summary-label{color:#666;font-size:.8rem;margin-bottom:.3rem}.summary-value{color:#2c2c2c;font-size:1.2rem;font-weight:600}.stock-content-new{max-height:50vh;overflow-y:auto;padding:2rem}.quick-actions-new{border-bottom:1px solid #f0f0f0;margin-bottom:2rem;padding-bottom:2rem}.quick-actions-new h3{color:#2c2c2c;font-size:1rem;font-weight:500;margin:0 0 1rem}.quick-buttons-new{display:flex;flex-wrap:wrap;gap:1rem}.quick-btn-new{align-items:center;border:1px solid #0000;border-radius:8px;cursor:pointer;display:flex;font-size:.85rem;font-weight:500;gap:.5rem;padding:.6rem 1.2rem;transition:all .2s ease}.quick-btn-new.unlimited{background:#fff;border-color:#4caf50;color:#4caf50}.quick-btn-new.unlimited:hover:not(:disabled){background:#4caf50;color:#fff;transform:translateY(-1px)}.quick-btn-new.limited{background:#fff;border-color:#ff9800;color:#ff9800}.quick-btn-new.limited:hover:not(:disabled){background:#ff9800;color:#fff;transform:translateY(-1px)}.quick-btn-new:disabled{cursor:not-allowed;opacity:.5;transform:none}.status-filter-order{background:#fafafa;border:1px solid #e8e8e8;border-radius:10px;font-size:.95rem;padding:1rem;transition:all .2s ease;width:100%}.status-filter-order:focus{background:#fff;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.action-panel-order{display:flex;flex-direction:column;gap:1.5rem}.data-actions-new{gap:1rem}.batch-actions-new{align-items:center;border-top:1px solid #f0f0f0;display:flex;flex-wrap:wrap;gap:1rem;padding-top:1.5rem}.selection-info-new{flex:1 1}.selection-count-new{background:#e3f2fd;border-radius:20px;color:#1976d2;font-size:.85rem;font-weight:500;padding:.5rem 1rem}.action-btn.success{background:#fff;border-color:#4caf50;color:#4caf50}.action-btn.success:hover:not(:disabled){background:#4caf50;color:#fff;transform:translateY(-1px)}.action-btn.info{background:#fff;border-color:#2196f3;color:#2196f3}.action-btn.info:hover:not(:disabled){background:#2196f3;color:#fff;transform:translateY(-1px)}.action-btn.warning{background:#fff;border-color:#ff9800;color:#ff9800}.action-btn.warning:hover:not(:disabled){background:#ff9800;color:#fff;transform:translateY(-1px)}.action-btn.highlight{background:#fff;border-color:#9c27b0;color:#9c27b0;font-weight:600;position:relative}.action-btn.highlight:hover:not(:disabled){background:#9c27b0;box-shadow:0 4px 8px #9c27b04d;color:#fff;transform:translateY(-1px)}.action-btn.highlight:before{animation:syncButtonGlow 2s ease-in-out infinite alternate;background:linear-gradient(45deg,#9c27b0,#e91e63,#9c27b0);border-radius:8px;bottom:-2px;content:"";left:-2px;opacity:.7;position:absolute;right:-2px;top:-2px;z-index:-1}@keyframes syncButtonGlow{0%{opacity:.7}to{opacity:.9}}.order-group-new{background:#fff;border:1px solid #f0f0f0;border-radius:12px;box-shadow:0 2px 8px #0000000a;margin-bottom:1.5rem;overflow:hidden;transition:all .3s ease}.order-group-new:hover{border-color:#e0e0e0;box-shadow:0 4px 15px #00000014}.order-group-new .group-header{align-items:flex-start;border-bottom:1px solid #f8f8f8;cursor:pointer;display:flex;justify-content:space-between;padding:1.5rem;transition:background .2s ease}.order-group-new .group-header:hover{background:#fafafa}.order-group-new .group-info{display:flex;flex:1 1;flex-direction:column;gap:1rem}.order-group-new .pa-info{display:flex;flex-direction:column;gap:.75rem}.order-group-new .group-management-actions{display:flex;flex-wrap:wrap;gap:.5rem}.order-group-new .management-btn{align-items:center;background:#fff;border:1px solid #e9ecef;border-radius:.3rem;color:#495057;cursor:pointer;display:inline-flex;font-size:.75rem;gap:.25rem;padding:.4rem .75rem;transition:all .2s ease}.order-group-new .management-btn:hover{background:#f8f9fa;border-color:#ddd;transform:translateY(-1px)}.order-group-new .management-btn:disabled{cursor:not-allowed;opacity:.5;transform:none}.order-group-new .management-btn.edit-btn:hover{background:#e3f2fd;border-color:#2196f3;color:#1976d2}.order-group-new .management-btn.process-btn:hover{background:#e8f5e8;border-color:#4caf50;color:#388e3c}.order-group-new .management-btn.reset-btn:hover,.order-group-new .management-btn.revert-btn:hover{background:#fff3e0;border-color:#ff9800;color:#f57c00}.order-group-new .management-btn.delete-btn:hover{background:#ffebee;border-color:#f44336;color:#d32f2f}.order-group-new .group-expand{align-items:center;display:flex;margin-left:1rem}.order-group-new .group-main{align-items:center;display:flex;gap:1rem}.order-group-new .group-main input[type=checkbox]{accent-color:#667eea;height:18px;width:18px}.order-group-new .group-main h3{color:#2c2c2c;font-size:1.1rem;font-weight:500;margin:0;text-align:left}.order-group-new .status-badge{border-radius:15px;font-size:.8rem;font-weight:500;margin-left:1rem;padding:.3rem .8rem}.order-group-new .status-badge.status-unfilled{background:#fff3e0;color:#f57c00}.order-group-new .status-badge.status-filled{background:#e8f5e8;color:#2e7d32}.order-group-new .status-badge.status-processed{background:#e3f2fd;color:#1976d2}.order-group-new .status-badge.status-expired{background:#ffebee;color:#d32f2f}.order-group-new .group-stats{display:flex;flex-wrap:wrap;gap:.75rem}.order-group-new .group-stats span{background:#f8f8f8;border-radius:15px;color:#666;font-size:.8rem;font-weight:500;padding:.3rem .8rem}.order-group-new .group-stats .stat.unfilled{background:#fff3e0;color:#f57c00}.order-group-new .group-stats .stat.filled{background:#e8f5e8;color:#2e7d32}.order-group-new .group-stats .stat.cancelled{background:#ffebee;color:#d32f2f}.order-group-new .group-stats .stat.submission-time{word-wrap:break-word;background:#e3f2fd;border:1px solid #bbdefb;color:#1976d2;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.75rem;line-height:1.2;max-width:300px;min-width:180px;overflow:visible;white-space:normal}.order-group-new .group-actions{align-items:center;display:flex;flex-wrap:wrap;gap:.75rem}.order-group-new .delete-button,.order-group-new .process-button,.order-group-new .reset-button,.order-group-new .revert-button{border:1px solid #0000;border-radius:6px;cursor:pointer;font-size:.85rem;font-weight:500;padding:.5rem 1rem;transition:all .2s ease}.order-group-new .process-button{background:#fff;border-color:#4caf50;color:#4caf50}.order-group-new .process-button:hover:not(:disabled){background:#4caf50;color:#fff;transform:translateY(-1px)}.order-group-new .revert-button{background:#fff;border-color:#2196f3;color:#2196f3}.order-group-new .revert-button:hover:not(:disabled){background:#2196f3;color:#fff;transform:translateY(-1px)}.order-group-new .reset-button{background:#fff;border-color:#ff9800;color:#ff9800}.order-group-new .reset-button:hover:not(:disabled){background:#ff9800;color:#fff;transform:translateY(-1px)}.order-group-new .delete-button{background:#fff;border-color:#e74c3c;color:#e74c3c}.order-group-new .delete-button:hover:not(:disabled){background:#e74c3c;color:#fff;transform:translateY(-1px)}.order-group-new .process-button:disabled,.order-group-new .reset-button:disabled,.order-group-new .revert-button:disabled{cursor:not-allowed;opacity:.4;transform:none}.order-group-new .expand-button{color:#999;font-size:1.2rem;margin-left:1rem;transition:transform .2s ease}.order-group-new .group-content{background:#fafafa;padding:0 1.5rem 1.5rem}.modal-overlay-new{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:2rem;position:fixed;right:0;top:0;z-index:1000}.product-form-new{animation:modalSlideIn .3s ease-out;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0003;max-height:90vh;max-width:800px;overflow-y:auto;width:100%}.form-header-new{align-items:flex-start;border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;padding:2rem 2rem 1rem}.form-header-new .header-content h2{color:#2c2c2c;font-size:1.5rem;font-weight:500;letter-spacing:.3px;margin:0 0 .5rem}.form-header-new .header-content p{color:#666;font-size:.9rem;font-weight:300;margin:0}.close-btn-new{align-items:center;background:#0000;border:1px solid #e8e8e8;border-radius:8px;color:#999;cursor:pointer;display:flex;font-size:1.2rem;height:40px;justify-content:center;padding:.75rem;transition:all .2s ease;width:40px}.close-btn-new:hover{background:#f8f8f8;border-color:#d0d0d0;color:#666}.form-content-new{padding:2rem}.form-section{border-bottom:1px solid #f8f8f8;margin-bottom:2rem;padding-bottom:2rem}.form-section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.form-section h3{color:#2c2c2c;font-size:1.1rem;font-weight:500;letter-spacing:.3px;margin:0 0 1.5rem}.form-row{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:1fr 1fr;margin-bottom:1.5rem}.form-field{display:flex;flex-direction:column;gap:.5rem}.form-field.full-width{grid-column:1/-1}.field-label{color:#555;font-size:.9rem;font-weight:500;letter-spacing:.2px}.form-input-new,.form-select-new{background:#fafafa;border:1px solid #e8e8e8;border-radius:8px;font-size:.95rem;padding:1rem;transition:all .2s ease}.form-input-new:focus,.form-select-new:focus{background:#fff;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.toggle-container{background:#f8f8f8;border:1px solid #e8e8e8;border-radius:8px;padding:1rem}.toggle-switch{align-items:center;cursor:pointer;display:flex;gap:1rem}.toggle-switch input[type=checkbox]{display:none}.toggle-slider{background:#e8e8e8;border-radius:26px;height:26px;position:relative;transition:all .3s ease;width:50px}.toggle-slider:before{background:#fff;border-radius:50%;box-shadow:0 2px 4px #0003;content:"";height:22px;left:2px;position:absolute;top:2px;transition:all .3s ease;width:22px}.toggle-switch input:checked+.toggle-slider{background:#667eea}.toggle-switch input:checked+.toggle-slider:before{transform:translateX(24px)}.toggle-label{color:#555;font-size:.9rem;font-weight:400}@media (max-width:768px){.form-row,.product-grid-new{gap:1rem;grid-template-columns:1fr}.data-actions-new,.primary-actions{flex-direction:column;width:100%}.action-btn{justify-content:center;width:100%}.item-number{word-wrap:break-word;font-size:.75rem;max-width:100%;padding:0}.card-content-new{flex-direction:column;gap:1rem}.product-visual{align-self:center;height:100px;width:100px}.product-details-new{text-align:center}.status-row{justify-content:center}}.tianlan-exchange-home{background-color:#f5f5f5;margin:0 auto;max-width:1200px;min-height:100vh;padding:1rem}.tianlan-exchange-home .header{align-items:center;background:#fff;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding:1rem}.tianlan-exchange-home .header h1{color:#495057;font-size:1.5rem;margin:0}.exchange-nav{background:#fff;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;margin-bottom:1.5rem;padding:1rem;text-align:center}.switch-system-button{background-color:#6c757d;border:none;border-radius:.5rem;color:#fff;cursor:pointer;font-weight:700;padding:.5rem 1rem;transition:all .3s ease}.switch-system-button:hover{background-color:#5a6268;transform:translateY(-2px)}.exchange-dashboard{display:flex;flex-direction:column;gap:1.5rem}.customer-info-section{background:#fff;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;padding:1rem}.info-card h3{border-bottom:2px solid #f7c873;color:#495057;margin-bottom:1rem;padding-bottom:.5rem}.url-display{align-items:center;background:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;display:flex;gap:1rem;margin:1rem 0;padding:1rem}.url-display code{background:none;color:#06c;flex:1 1;font-size:1rem;font-weight:700;padding:0}.copy-button{background:#4facfe;border:none;border-radius:5px;color:#fff;cursor:pointer;padding:.5rem 1rem;transition:background .3s ease}.copy-button:hover{background:#3a8bfd}.note{color:#495057;font-style:italic;font-weight:700}.usage-guide{background:#fff;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;padding:1rem}.guide-card h3{border-bottom:2px solid #f7c873;color:#495057;margin-bottom:1rem;padding-bottom:.5rem}.steps{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.step{background:#f8f9fa;border-left:4px solid #f7c873;border-radius:.5rem;padding:1rem}.step-number{background:#f7c873;height:30px;width:30px}.step-content h4{color:#495057;font-size:1rem;margin:0 0 .5rem}.step-content p{color:#666;line-height:1.4}.quick-stats{background:#fff;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;padding:1rem}.system-status-overview h3{border-bottom:2px solid #f7c873;color:#495057;margin-bottom:1rem;padding-bottom:.5rem}.tianlan-exchange-manager,.tianlan-order-manager,.tianlan-product-manager{background-color:#f5f5f5;margin:0 auto;max-width:1200px;min-height:100vh;padding:1rem}.tianlan-exchange-manager .header,.tianlan-order-manager .header,.tianlan-product-manager .header{align-items:center;background:#fff;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;display:flex;margin-bottom:1.5rem;padding:1rem}.tianlan-exchange-manager .header h1,.tianlan-order-manager .header h1,.tianlan-product-manager .header h1{color:#495057;margin:0 0 0 1rem}.toolbar{background:#fff;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;margin-bottom:1.5rem;padding:1rem}.toolbar-sections{align-items:stretch}.data-actions-new{align-items:center;display:flex;flex-wrap:wrap;gap:.75rem;justify-content:flex-start}.batch-actions,.data-actions{border-right:1px solid #e9ecef;padding-right:1.5rem}.selection-info{background:#fff8f0;border:1px solid #f7c873;border-radius:.5rem;margin:1rem 0;padding:.75rem 1rem;text-align:center}.selection-count{color:#495057;font-size:.95rem;font-weight:700}.search-filters{align-items:center}.action-buttons,.search-filters{display:flex;flex-wrap:wrap;gap:1rem}.add-button,.clear-button,.export-button,.import-button,.select-all-button,.template-button{background-color:#f7c873;color:#fff}.add-button,.batch-delete-button,.batch-process-button,.batch-reset-button,.batch-revert-button,.clear-button,.expiry-button,.export-button,.import-button,.select-all-button,.template-button{border:none;border-radius:.5rem;cursor:pointer;font-size:1rem;font-weight:700;padding:.7rem 1.2rem;text-decoration:none;transition:background-color .3s ease,transform .2s ease}.add-button:hover,.export-button:hover,.import-button:hover,.select-all-button:hover,.template-button:hover{background-color:#eea636;transform:translateY(-2px)}.template-button{background-color:#17a2b8!important}.template-button:hover{background-color:#138496!important;transform:translateY(-2px)}.clear-button,.danger-button{background-color:#dc3545}.clear-button:hover,.danger-button:hover{background-color:#c82333;transform:translateY(-2px)}.import-format-info{margin-bottom:1.5rem}.import-format-info details{background:#fff;border:1px solid #e0e0e0;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;padding:1rem}.import-format-info summary{color:#495057;cursor:pointer;font-weight:700}.format-details{border-top:1px solid #e9ecef;margin-top:1rem;padding-top:1rem}.format-details ul{margin-left:1rem}.format-details li{margin:.5rem 0}.format-details .note{color:#f7c873;font-style:italic;font-weight:700}.format-examples{background:#f8f9fa;border-left:4px solid #f7c873;border-radius:.5rem;margin-top:1rem;padding:1rem}.format-examples p{font-size:.85rem;margin:.5rem 0}.format-examples p:first-child{color:#495057;font-weight:700;margin-top:0}.color-settings-group{background:#f8f9fa;border-left:4px solid #f7c873;border-radius:.5rem;margin-top:1.5rem;padding:1rem}.color-settings-group h3{color:#495057;font-size:1rem;margin:0 0 1rem}.color-row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.color-setting{display:flex;flex-direction:column;gap:.5rem}.color-setting label{color:#495057;font-size:.9rem;font-weight:700}.color-input-group{align-items:center;display:flex;gap:.5rem}.color-picker{background:none;border:1px solid #ccc;border-radius:.3rem;cursor:pointer;height:40px;padding:0;width:50px}.color-picker::-webkit-color-swatch-wrapper{padding:0}.color-picker::-webkit-color-swatch{border:none;border-radius:.2rem}.color-text-input{border:1px solid #ccc;border-radius:.3rem;flex:1 1;font-family:monospace;font-size:.9rem;padding:.5rem}.color-text-input:focus{border-color:#f7c873;box-shadow:0 0 0 2px #f7c87333;outline:none}@media (max-width:768px){.color-row{grid-template-columns:1fr}.color-input-group{flex-direction:row}.color-picker{height:35px;width:40px}}.product-list-container{display:flex;flex-direction:column;gap:.5rem}.tianlan-product-card{align-items:center;background-color:#fff;border:1px solid #ccc;border-radius:8px;cursor:pointer;display:flex;margin-bottom:.5rem;padding:10px;transition:transform .2s ease,box-shadow .2s ease}.tianlan-product-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.tianlan-product-card.selected{background-color:#fff8f0;border-color:#f7c873;box-shadow:0 2px 8px #f7c8734d}.product-checkbox{margin-right:16px}.product-checkbox input[type=checkbox]{cursor:pointer;height:16px;width:16px}.product-image-container{flex-shrink:0;height:50px;margin-right:16px;width:50px}.product-image-small{border:2px solid #e0e0e0;border-radius:50%;height:50px;object-fit:cover;width:50px}.product-image-placeholder{align-items:center;background:#f8f9fa;border:2px solid #e0e0e0;border-radius:50%;color:#6c757d;display:flex;font-size:.7rem;font-weight:700;height:50px;justify-content:center;width:50px}.exchange-status{margin-top:4px}.exchange-badge-small{background:#f7c873;color:#fff}.exchange-badge-small,.no-exchange-badge-small{border-radius:10px;font-size:.7rem;font-weight:700;padding:.15rem .4rem}.no-exchange-badge-small{background:#e9ecef;color:#6c757d}.product-actions-compact{display:flex;flex-shrink:0;gap:.25rem}.delete-button-small,.edit-button-small{border:none;border-radius:.3rem;cursor:pointer;font-size:.8rem;font-weight:700;padding:.4rem .8rem;transition:all .2s ease}.edit-button-small{background-color:#f7c873;color:#fff}.edit-button-small:hover{background-color:#eea636}.delete-button-small{background-color:#dc3545;color:#fff}.delete-button-small:hover{background-color:#c82333}.batch-exchange-button{background-color:#28a745}.batch-exchange-button:hover{background-color:#218838;transform:translateY(-2px)}.batch-exchange-button:disabled{background-color:#6c757d;cursor:not-allowed;transform:none}.batch-exchange-modal{background:#fff;border-radius:.5rem;box-shadow:0 10px 30px #0000004d;max-height:90vh;max-width:700px;overflow-y:auto;padding:1.5rem;width:90%}.modal-header{align-items:center;border-bottom:2px solid #e9ecef;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding-bottom:1rem}.modal-header h2{color:#495057;font-size:1.3rem;margin:0}.modal-content{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:1fr 1fr;margin-bottom:1.5rem}.selected-section,.target-section{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:.5rem;padding:1rem}.selected-section h3,.target-section h3{border-bottom:2px solid #f7c873;color:#495057;font-size:1rem;margin:0 0 1rem;padding-bottom:.5rem}.target-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.target-help{color:#666;font-size:.85rem;font-style:italic;margin:0 0 1rem}.selected-products-list{display:flex;flex-direction:column;gap:.5rem;max-height:200px;overflow-y:auto}.selected-product-item{align-items:center;background:#fff;border:1px solid #dee2e6;border-radius:.5rem;display:flex;gap:.5rem;padding:.5rem}.target-products-list{display:flex;flex-direction:column;gap:.5rem;max-height:300px;overflow-y:auto}.target-product-item{align-items:center;background:#fff;border:1px solid #dee2e6;border-radius:.5rem;cursor:pointer;display:flex;gap:.75rem;padding:.75rem;transition:all .2s ease}.target-product-item:hover{background:#f8f9fa;border-color:#f7c873}.target-product-item.selected{background:#fff8f0;border-color:#f7c873;box-shadow:0 2px 4px #f7c8734d}.target-product-item input[type=checkbox]{height:16px;margin:0;width:16px}.mini-image{border-radius:50%;object-fit:cover}.mini-image,.mini-image-placeholder{border:1px solid #e0e0e0;height:30px;width:30px}.mini-image-placeholder{align-items:center;background:#f8f9fa;border-radius:50%;color:#6c757d;display:flex;flex-shrink:0;font-size:.6rem;font-weight:700;justify-content:center}.target-product-info{flex:1 1}.target-product-name{color:#495057;font-size:.9rem;font-weight:700;margin-bottom:.2rem}.target-product-details{color:#666;font-size:.8rem}.self-product-badge{background-color:#e3f2fd;border:1px solid #bbdefb;border-radius:.3rem;color:#1976d2;font-size:.7rem;font-weight:400;margin-left:.5rem;padding:.1rem .4rem}.select-all-targets-button{background:#f7c873;border:none;border-radius:.3rem;color:#fff;cursor:pointer;font-size:.8rem;font-weight:700;padding:.3rem .8rem}.select-all-targets-button:hover{background-color:#eea636}.modal-actions{border-top:1px solid #e9ecef;display:flex;gap:1rem;justify-content:flex-end;padding-top:1rem}.confirm-button{background-color:#28a745;border:none;border-radius:.5rem;color:#fff;cursor:pointer;font-weight:700;padding:.7rem 1.5rem}.confirm-button:hover:not(:disabled){background-color:#218838}.confirm-button:disabled{background-color:#6c757d;cursor:not-allowed}.tianlan-order-exchange-manager{background-color:#f5f5f5;margin:0 auto;max-width:1200px;min-height:100vh;padding:1rem}.order-exchange-group{background:#fff;border:1px solid #e0e0e0;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;margin-bottom:1rem;overflow:hidden}.group-header{align-items:center;background:#f8f9fa;border-bottom:1px solid #e0e0e0;cursor:pointer;display:flex;justify-content:space-between;padding:1rem;transition:background .3s ease}.group-header:hover{background:#e9ecef}.group-main{align-items:center;display:flex;gap:1rem}.group-main input[type=checkbox]{height:16px;width:16px}.group-main h3{color:#495057;font-size:1.1rem;margin:0;text-align:left}.group-stats{flex-wrap:wrap;gap:1rem}.group-stats span{background:#e9ecef;border-radius:12px;font-size:.75rem;font-weight:700;padding:.2rem .6rem}.group-stats .stat.unfilled{background:#fff3cd;color:#856404}.group-stats .stat.filled{background:#d1eddb;color:#155724}.group-actions{align-items:center;display:flex;gap:.5rem}.delete-button,.process-button,.reset-button,.revert-button{background:#f7c873;border:none;border-radius:.3rem;color:#fff;cursor:pointer;font-size:.8rem;font-weight:700;padding:.4rem .8rem;transition:background .3s ease}.process-button{background:#28a745}.revert-button{background:#17a2b8}.process-button:hover:not(:disabled){background:#218838}.revert-button:hover:not(:disabled){background:#138496}.process-button:disabled{background:#6c757d;cursor:not-allowed}.reset-button{background:#ffc107}.reset-button:hover{background:#e0a800}.delete-button{background:#dc3545}.delete-button:hover{background:#c82333}.expand-button{font-size:1rem;margin-left:.5rem}.group-content{background:#fff;padding:1rem}.exchange-items{display:flex;flex-direction:column;gap:1rem}.exchange-item-row{background:linear-gradient(135deg,#fff,#f8f9fa);border:1px solid #e0e0e0;border-radius:12px;box-shadow:0 2px 8px #0000000d;padding:1.5rem;transition:all .3s ease}.exchange-item-row:hover{border-color:#d0d0d0;box-shadow:0 4px 16px #0000001a;transform:translateY(-1px)}.item-header{align-items:center;border-bottom:2px solid #f0f0f0;display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:.75rem}.item-status{border-radius:12px;font-size:.75rem;font-weight:700;padding:.2rem .6rem}.item-content{grid-gap:1rem;align-items:center;display:grid;gap:1rem;grid-template-columns:1fr auto 1fr auto}.exchange-info,.original-info{background:#fff;border:1px solid #e9ecef;border-radius:.5rem;padding:.75rem}.mini-item-image{border:2px solid #e0e0e0;border-radius:8px;box-shadow:0 2px 4px #0000001a;height:50px;margin-right:1rem;object-fit:cover;width:50px}.original-info{align-items:center;display:flex}.exchange-info p,.original-info p{font-size:.85rem;margin:.2rem 0}.cancel-details,.exchange-details,.pending-details{text-align:left}.selection-time{color:#666;font-size:.7rem}.item-actions{display:flex;justify-content:center}.edit-item-button{background:#f7c873;border:none;border-radius:.3rem;color:#fff;cursor:pointer;font-size:.8rem;font-weight:700;padding:.4rem .8rem}.edit-item-button:hover:not(:disabled){background:#eea636}.edit-item-button:disabled{background:#6c757d;cursor:not-allowed}.expiry-info{border-top:1px solid #e9ecef;margin-top:.75rem;padding-top:.5rem;text-align:center}.expiry-info .expired{color:#dc3545;font-weight:700}.expiry-info .valid{color:#666}.status-processed{background:#28a745;color:#fff}.status-expired{background:#dc3545;color:#fff}.status-filled{background:#f7c873;color:#fff}.status-unfilled{background:#ffc107;color:#212529}.expiry-button{background-color:#6f42c1;color:#fff}.expiry-button:hover:not(:disabled){background-color:#5a32a3;transform:translateY(-2px)}.expiry-button:disabled{background-color:#6c757d;cursor:not-allowed}.batch-delete-button,.batch-process-button,.batch-reset-button,.batch-revert-button,.expiry-button,.export-button,.import-button,.refresh-button,.select-all-button,.template-button,.test-button{align-items:center;border:1px solid #0000;border-radius:8px;cursor:pointer;display:flex;font-size:.9rem;font-weight:500;gap:.5rem;padding:.75rem 1.5rem;text-decoration:none;transition:all .2s ease;white-space:nowrap}.export-button,.template-button{background:#fff;border-color:#667eea;color:#667eea}.export-button:hover:not(:disabled),.template-button:hover:not(:disabled){background:#667eea;color:#fff;transform:translateY(-1px)}.import-button{background:#667eea;border-color:#667eea}.import-button:hover:not(:disabled){background:#5a6fd8;transform:translateY(-1px)}.refresh-button,.select-all-button,.test-button{background:#0000;border-color:#e8e8e8;color:#666}.refresh-button:hover:not(:disabled),.select-all-button:hover:not(:disabled),.test-button:hover:not(:disabled){background:#f8f8f8;border-color:#d0d0d0}.expiry-button{background:#fff;border-color:#667eea;color:#667eea}.expiry-button:hover:not(:disabled){background:#667eea;color:#fff;transform:translateY(-1px)}.batch-process-button{background:#fff;border-color:#4caf50;color:#4caf50}.batch-process-button:hover:not(:disabled){background:#4caf50;background-color:#218838;color:#fff;transform:translateY(-1px);transform:translateY(-2px)}.batch-revert-button{background:#fff;border-color:#2196f3;color:#2196f3}.batch-revert-button:hover:not(:disabled){background:#2196f3;color:#fff;transform:translateY(-1px)}.batch-reset-button{background:#fff;border-color:#ff9800;color:#ff9800}.batch-reset-button:hover:not(:disabled){background:#ff9800;color:#fff;transform:translateY(-1px)}.batch-delete-button{background:#fff;border-color:#e74c3c;color:#e74c3c}.batch-delete-button:hover:not(:disabled){background:#e74c3c;color:#fff;transform:translateY(-1px)}.batch-delete-button:disabled,.batch-process-button:disabled,.batch-reset-button:disabled,.batch-revert-button:disabled,.expiry-button:disabled,.export-button:disabled,.import-button:disabled,.refresh-button:disabled,.select-all-button:disabled,.template-button:disabled,.test-button:disabled{background:#f8f8f8!important;border-color:#e8e8e8!important;color:#999!important;cursor:not-allowed;opacity:.5;transform:none}.test-button{background:#fff;border-color:#17a2b8;color:#17a2b8}.test-button:hover:not(:disabled){background:#17a2b8;color:#fff;transform:translateY(-1px)}.toolbar-sections{border-top:1px solid #f0f0f0;display:flex;flex-direction:column;gap:1.5rem;margin-top:1.5rem;padding-top:1.5rem}.batch-actions,.selection-actions{display:flex;justify-content:center}.batch-actions{flex-wrap:wrap;gap:1rem}@media (max-width:768px){.data-actions-new{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:repeat(2,1fr)}.data-actions-new .action-btn{font-size:.75rem;justify-content:center;padding:.5rem .75rem}.order-group-new .group-management-actions{grid-gap:.4rem;display:grid;gap:.4rem;grid-template-columns:repeat(2,1fr)}.order-group-new .management-btn{font-size:.7rem;justify-content:center;padding:.35rem .5rem}.order-group-new .group-header{padding:1rem}.order-group-new .group-info{gap:.75rem}.order-group-new .pa-info{gap:.5rem}}@media (max-width:480px){.data-actions-new{grid-template-columns:1fr}.order-group-new .group-management-actions{grid-template-columns:repeat(3,1fr)}.order-group-new .management-btn{font-size:.65rem;padding:.3rem .4rem}.order-group-new .management-btn .btn-icon{font-size:.8em}}.danger-actions{border-top:1px solid #ffebee;display:flex;justify-content:center;padding-top:1rem}.btn-icon{align-items:center;display:flex;font-size:1rem;line-height:1}.edit-modal,.expiry-modal{background:#fff;border-radius:.5rem;box-shadow:0 10px 30px #0000004d;max-height:90vh;max-width:500px;overflow-y:auto;padding:1.5rem;width:90%}.datetime-input{border:1px solid #ccc;border-radius:.5rem;font-size:1rem;padding:.7rem;width:100%}.datetime-input:focus{border-color:#f7c873;outline:none}.original-product-display{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:.5rem;margin-bottom:1.5rem;padding:1rem}.product-display{align-items:center;gap:1rem}.edit-product-image{border:1px solid #e0e0e0;border-radius:.5rem;height:60px;object-fit:cover;width:60px}.action-selection{display:flex;gap:2rem;margin-bottom:1.5rem}.action-selection label{align-items:center;cursor:pointer;display:flex;font-weight:700;gap:.5rem}.action-selection input[type=radio]{height:16px;width:16px}.operation-help{background:#fff;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;margin-bottom:1.5rem}.operation-help details{padding:1rem}.operation-help summary{border-bottom:1px solid #e9ecef;color:#495057;cursor:pointer;font-size:1rem;font-weight:700;margin-bottom:1rem;padding:.5rem 0}.help-content{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:1fr 1fr;margin-top:1rem}.help-section h4{border-bottom:1px solid #e9ecef;color:#495057;font-size:.95rem;margin:0 0 .75rem;padding-bottom:.5rem}.help-section ol,.help-section ul{margin:0;padding-left:1.5rem}.help-section li{color:#666;font-size:.85rem;line-height:1.4;margin:.5rem 0}.status-demo{border-radius:10px;font-size:.75rem;font-weight:700;margin-right:.5rem;padding:.15rem .5rem}.status-demo.unfilled{background:#ffc107;color:#212529}.status-demo.filled{background:#f7c873;color:#fff}.status-demo.expired{background:#dc3545;color:#fff}.status-demo.processed{background:#28a745;color:#fff}.stats-dashboard{margin-bottom:1.5rem}.stats-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.stat-card{background:#fff;border:1px solid #e0e0e0;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;padding:1rem;text-align:center;transition:transform .3s ease}.stat-card:hover{transform:translateY(-2px)}.stat-card.unfilled{border-left:4px solid #ffc107}.stat-card.filled{border-left:4px solid #f7c873}.stat-card.expired{border-left:4px solid #dc3545}.stat-card.processed{border-left:4px solid #28a745}.stat-number{font-size:1.8rem}.stat-label{color:#666;font-size:.9rem;margin-top:.5rem}.status-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.status-item{align-items:center;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:.5rem;display:flex;gap:.75rem;padding:.75rem}.status-icon{font-size:1.5rem}.status-info h4{color:#495057;font-size:.95rem;margin:0 0 .25rem}.status-info p{color:#666;font-size:.85rem;margin:0}.exchange-group,.order-group{background:#fff;border:1px solid #e0e0e0;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;margin-bottom:1rem;overflow:hidden}.exchange-group-header,.order-group-header{align-items:center;background:#f8f9fa;border-bottom:1px solid #e0e0e0;cursor:pointer;display:flex;justify-content:space-between;padding:1rem;transition:background .3s ease}.exchange-group-header:hover,.order-group-header:hover{background:#e9ecef}.exchange-group-header h3,.order-group-header h3{color:#495057;font-size:1.1rem;margin:0}.group-stats{display:flex;gap:.75rem;margin-top:.5rem}.group-stats .stat{background:#e9ecef;border-radius:12px;font-size:.75rem;font-weight:700;padding:.2rem .6rem}.group-stats .stat.pending{background:#fff3cd;color:#856404}.group-stats .stat.completed{background:#f7c873;color:#fff}.group-stats .stat.cancelled{background:#f8d7da;color:#721c24}.expand-button{color:#495057;font-size:1.2rem;font-weight:700}.exchange-group-content,.order-group-content{padding:1rem}.order-items{grid-gap:.75rem;display:grid;gap:.75rem}.order-item{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:.5rem;gap:1rem;padding:.75rem}.item-info{flex:1 1}.item-info p{font-size:.85rem;margin:.2rem 0}.item-status{flex-shrink:0}.status-badge{background:#f7c873;border-radius:12px;color:#fff;font-size:.75rem;font-weight:700;padding:.2rem .6rem}.status-badge.status-pending{background:#ffc107;color:#212529}.status-badge.status-completed{background:#f7c873}.status-badge.status-cancelled{background:#dc3545}.modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.product-form{background:#fff;border-radius:.5rem;box-shadow:0 10px 30px #0000004d;max-height:90vh;max-width:500px;overflow-y:auto;padding:1.5rem;width:90%}.form-header{align-items:center;border-bottom:2px solid #e9ecef;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding-bottom:1rem}.form-header h2{color:#495057;margin:0}.close-button{background:#dc3545;border:none;border-radius:50%;color:#fff;cursor:pointer;font-size:1.1rem;font-weight:700;height:28px;width:28px}.form-group{margin-bottom:1.2rem}.form-group label{color:#495057;display:block;font-size:.95rem;font-weight:700;margin-bottom:.5rem}.form-group input,.form-group select,.form-group textarea{border:1px solid #ccc;border-radius:.5rem;box-sizing:border-box;font-size:1rem;padding:.7rem;transition:border-color .3s ease;width:100%}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#f7c873;outline:none}.style-input-group{align-items:center;display:flex;gap:.75rem;margin-bottom:.5rem}.style-input-group input{flex:1 1}.remove-style-button{background:#dc3545;font-size:.8rem;padding:.4rem .8rem}.add-style-button,.remove-style-button{border:none;border-radius:.5rem;color:#fff;cursor:pointer}.add-style-button{background:#f7c873;margin-top:.5rem;padding:.5rem 1rem}.image-preview{border:1px solid #e0e0e0;border-radius:.5rem;margin-top:.75rem;max-height:150px;max-width:150px;object-fit:cover}.form-actions{border-top:1px solid #e9ecef;gap:1rem;justify-content:flex-end;margin-top:1.5rem;padding-top:1rem}.submit-button{background-color:#f7c873;border:none;border-radius:.5rem;color:#fff;cursor:pointer;font-weight:700;padding:.7rem 1.2rem}.submit-button:hover{background-color:#eea636;transform:translateY(-1px)}.exchange-settings{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:.5rem;padding:1rem}.exchange-mode-tabs{display:flex;gap:.5rem;margin-bottom:1rem}.mode-tab{background:#6c757d;border:none;border-radius:.5rem;color:#fff;cursor:pointer;font-size:.9rem;padding:.5rem 1rem;transition:all .3s ease}.mode-tab.active{background-color:#f7c873}.mode-tab:hover{background-color:#eea636;transform:translateY(-1px)}.help-text{color:#666;font-size:.85rem;margin:.5rem 0}.individual-exchange{margin-top:1rem}.exchange-product-selector{background:#fff;border:1px solid #dee2e6;border-radius:.5rem;margin-bottom:1rem;padding:1rem}.selector-header{align-items:center;display:flex;gap:1rem;margin-bottom:1rem}.selector-header .product-select{flex:1 1}.remove-exchange-button{background:#dc3545;border:none;border-radius:.5rem;color:#fff;cursor:pointer;font-size:.8rem;padding:.5rem 1rem}.remove-exchange-button:hover{background-color:#c82333}.style-selection{margin-top:1rem}.style-header{margin-bottom:.5rem}.style-header span{color:#495057;font-size:.9rem;font-weight:700}.select-all-styles-button{background:#f7c873;border:none;border-radius:.5rem;color:#fff;cursor:pointer;font-size:.8rem;padding:.3rem .8rem}.select-all-styles-button:hover{background-color:#eea636}.style-checkboxes{display:flex;flex-wrap:wrap;gap:1rem;margin-top:.5rem}.style-checkbox{align-items:center;cursor:pointer;display:flex;font-size:.85rem;gap:.5rem}.style-checkbox input[type=checkbox]{margin:0;width:auto}.add-exchange-button{background:#f7c873;border:none;border-radius:.5rem;color:#fff;cursor:pointer;font-size:.9rem;margin-top:1rem;padding:.5rem 1rem}.add-exchange-button:hover{background-color:#eea636}.batch-exchange{margin-top:1rem}.batch-input-group{align-items:flex-start;display:flex;gap:1rem}.batch-input{border:1px solid #ccc;border-radius:.5rem;flex:1 1;font-size:1rem;padding:.7rem;resize:vertical}.batch-input:focus{border-color:#f7c873;outline:none}.batch-add-button{background:#f7c873;border:none;border-radius:.5rem;color:#fff;cursor:pointer;font-weight:700;padding:.7rem 1.2rem;white-space:nowrap}.batch-add-button:hover{background-color:#eea636}.current-exchanges{background:#fff;border:1px solid #dee2e6;border-radius:.5rem;margin-top:1rem;padding:1rem}.exchange-list{display:flex;flex-direction:column;gap:.5rem;margin-top:.5rem}.exchange-item{align-items:center;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:.5rem;display:flex;justify-content:space-between;padding:.5rem}.exchange-item span{font-size:.85rem}.style-count{color:#666;font-style:italic}.exchange-info{margin-top:.5rem;text-align:center}.exchange-badge{background:#f7c873;color:#fff}.exchange-badge,.no-exchange-badge{border-radius:12px;font-size:.75rem;font-weight:700;padding:.2rem .6rem}.no-exchange-badge{background:#e9ecef;color:#6c757d}.exchange-details{background:#f8f9fa;border-radius:.5rem;border-top:1px solid #e0e0e0;margin-top:1rem;padding:.75rem}.exchange-details h5{color:#495057;font-size:.9rem;margin:0 0 .5rem}.exchange-items-preview{display:flex;flex-direction:column;gap:.25rem}.exchange-preview-item{align-items:center;display:flex;font-size:.8rem;justify-content:space-between}.exchange-item-number{color:#495057;font-weight:700}.exchange-style-count{color:#666;font-style:italic}.more-indicator{color:#f7c873;font-size:.75rem;font-weight:700;margin-top:.25rem;text-align:center}.list-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.list-header h3{color:#495057;margin:0}.loading{font-size:1.1rem}.empty-state,.loading{background:#fff;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;color:#6c757d;padding:2rem;text-align:center}.empty-state p{font-size:1rem;margin:.5rem 0}.import-stats{background:#fff;border:1px solid #e0e0e0;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;margin-bottom:1.5rem;padding:1rem}.import-stats h3{border-bottom:2px solid #f7c873;color:#495057;margin-bottom:1rem;padding-bottom:.5rem}.import-stats .stats-grid{margin-top:1rem}.stat-item{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:.5rem;padding:.75rem;text-align:center}.stat-number{color:#495057;font-size:1.5rem;font-weight:700}.stat-number.error{color:#dc3545}.error-details{background:#f8d7da;border:1px solid #f5c6cb;border-radius:.5rem;margin-top:1rem;padding:.75rem}.error-details ul{margin:0;padding-left:1rem}.error-details li{color:#721c24;font-size:.9rem;margin:.2rem 0}.order-summary,.summary-stats{background:#fff;border:1px solid #e0e0e0;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;margin-bottom:1.5rem;padding:1rem}.summary-stats{display:flex;gap:2rem;justify-content:center}.summary-item{align-items:center;display:flex;gap:.5rem}.summary-label{color:#6c757d;font-size:.9rem;font-weight:700}.summary-value{color:#495057;font-size:1.1rem;font-weight:700}.search-filters input,.search-filters select{ime-mode:active!important;-webkit-ime-mode:active!important;-moz-ime-mode:active!important;-ms-ime-mode:active!important;-webkit-user-modify:read-write!important;-moz-user-modify:read-write!important;user-modify:read-write!important;-webkit-appearance:textfield!important;appearance:textfield!important;border:1px solid #ccc;border-radius:.5rem;font-size:1rem;padding:.7rem;pointer-events:auto!important;text-transform:none!important;-webkit-text-transform:none!important;-moz-text-transform:none!important;-ms-text-transform:none!important;transition:border-color .3s ease;-webkit-user-select:text!important;user-select:text!important}.search-filters input:focus,.search-filters select:focus{border-color:#f7c873;outline:none}.search-input,.status-filter{min-width:150px}.exchange-item-row{grid-gap:1rem;align-items:center;border-bottom:1px solid #e9ecef;display:grid;gap:1rem;grid-template-columns:auto 1fr auto 1fr auto;padding:.75rem;transition:background .3s ease}.exchange-item-row:hover{background:#f8f9fa}.exchange-item-row.selected{background:#fff8f0}.exchange-item-row .item-checkbox{align-items:center;display:flex}.exchange-info,.original-product-info{align-items:center;display:flex;gap:.75rem}.original-product-info .product-image img{border-radius:.5rem;height:50px;object-fit:cover;width:50px}.exchange-item-row .no-image{align-items:center;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:.5rem;color:#6c757d;display:flex;font-size:.7rem;height:50px;justify-content:center;width:50px}.product-details{font-size:.85rem}.product-details p{margin:.15rem 0}.cancel-details,.exchange-details,.pending-details{font-size:.85rem}.exchange-info{background:#f8f9fa;border-left:4px solid #28a745;border-radius:.5rem;margin-top:.75rem;padding:.75rem}.exchange-product-display{margin-bottom:.75rem}.product-display{align-items:flex-start;background:#fff;border:1px solid #e9ecef;border-radius:8px;display:flex;gap:.75rem;padding:.75rem}.product-text{flex:1 1;text-align:left}.product-text p{font-size:.85rem;line-height:1.4;margin:.2rem 0;text-align:left}.cancel-display,.pending-display{align-items:center;background:#fff;border:1px solid #e9ecef;border-radius:8px;display:flex;gap:.75rem;padding:.75rem}.cancel-icon,.pending-icon{flex-shrink:0;font-size:1.2rem}.cancel-text{flex:1 1}.cancel-text p,.pending-display p{font-size:.85rem;line-height:1.4;margin:.2rem 0}.selection-time{color:#6c757d;font-size:.8rem;font-style:italic;margin-top:.5rem}.exchange-label{color:#495057;font-size:.9rem;font-weight:700;margin-bottom:.5rem}.exchange-product{align-items:center;display:flex;gap:.75rem}.exchange-product .mini-item-image{border-radius:.25rem;height:40px;object-fit:cover;width:40px}.exchange-product p{font-size:.85rem;margin:.25rem 0}.cancel-info{align-items:center;display:flex}.cancel-badge{background:#ffc107;border-radius:1rem;color:#212529;font-size:.8rem;font-weight:700;padding:.25rem .75rem}.settings-container{margin:0 auto;max-width:1000px;padding:1rem}.settings-section{background:#fff;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;margin-bottom:1.5rem;padding:1.5rem}.settings-section h2{border-bottom:2px solid #f7c873;color:#495057;margin-bottom:1rem;padding-bottom:.5rem}.setting-group{margin-bottom:1.5rem}.setting-group label{color:#495057;display:block;font-weight:700;margin-bottom:.5rem}.message-textarea{border:2px solid #e9ecef;border-radius:.5rem;font-size:1rem;min-height:80px;padding:.75rem;resize:vertical;transition:border-color .3s ease;width:100%}.message-textarea:focus{border-color:#f7c873;outline:none}.announcement-textarea{border:2px solid #e9ecef;border-radius:.5rem;font-family:inherit;font-size:1rem;min-height:100px;padding:.75rem;resize:vertical;transition:border-color .3s ease;width:100%}.announcement-textarea:focus{border-color:#f7c873;outline:none}.setting-hint{color:#6c757d;font-size:.85rem;font-style:italic;margin-top:.5rem}.settings-actions{display:flex;gap:1rem;justify-content:center;margin:2rem 0}.save-button{background-color:#28a745;border:none;border-radius:.5rem;color:#fff;cursor:pointer;font-size:1rem;font-weight:700;padding:.75rem 2rem;transition:background-color .3s ease}.save-button:hover:not(:disabled){background-color:#218838}.save-button:disabled{background-color:#6c757d;cursor:not-allowed}.reset-button{background-color:#ffc107;border:none;border-radius:.5rem;color:#212529;cursor:pointer;font-size:1rem;font-weight:700;padding:.75rem 2rem;transition:background-color .3s ease}.reset-button:hover{background-color:#e0a800}.settings-preview{background:#fff;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;padding:1.5rem}.settings-preview h3{color:#495057;margin-bottom:1rem;text-align:center}.preview-section{margin-bottom:2rem;padding:1rem;text-align:center}.preview-section h4{color:#495057;font-size:1rem;font-weight:700;margin-bottom:1rem;text-align:center}.preview-box{background:#f8f9fa;border:2px dashed #e9ecef;border-radius:.5rem;padding:1.5rem}.completed-preview .completed-icon{font-size:3rem;margin-bottom:1rem;text-align:center}.completed-preview h2{color:#495057;margin-bottom:1rem;text-align:center}.completed-preview .completed-info{text-align:center}.completed-preview .completed-info p{color:#333;margin:.5rem 0}.completed-preview .thank-you{color:#f7c873!important;font-size:1rem!important;font-weight:700;margin-top:1rem!important}.expired-preview .completed-icon{font-size:3rem;margin-bottom:1rem;text-align:center}.expired-preview h2{color:#495057;margin-bottom:1rem;text-align:center}.expired-preview .completed-info{text-align:center}.expired-preview .completed-info p{color:#333;margin:.5rem 0}.expired-preview .thank-you{color:#dc3545!important;font-size:1rem!important;font-weight:700;margin-top:1rem!important}.announcement-preview{padding:.5rem}.announcement-preview .announcement-section{box-shadow:none;margin:0}.announcement-preview .announcement-container{animation:none}.announcement-preview .announcement-content{font-size:.9rem}.announcement-preview .announcement-wrapper{overflow:hidden;width:100%}@media (max-width:768px){.dashboard-grid,.tianlan-options{grid-template-columns:1fr}.product-selection-grid{gap:.8rem;grid-template-columns:repeat(2,1fr)}.preview-actions{align-items:center;flex-direction:column;gap:1rem;justify-content:center;padding:1rem;text-align:center;width:100%}.confirmation-notice{margin:.8rem auto;max-width:calc(100% - 1rem);padding:.8rem;text-align:center}.notice-text{flex-direction:column;font-size:1rem;gap:.3rem}.action-instruction{align-items:center;display:flex;justify-content:center;left:50%;margin:0 auto .8rem;max-width:100%;padding:.8rem;position:relative;transform:translateX(-50%);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.final-instruction{font-size:1.1rem;gap:.3rem;text-align:center}.button-group,.final-instruction{align-items:center;flex-direction:column;justify-content:center;width:100%}.button-group{gap:1rem;left:50%;max-width:350px;position:relative;transform:translateX(-50%)}.confirm-button.loading,.confirm-button.ready{display:block;font-size:1.1rem;margin:0 auto;max-width:300px;padding:1rem;width:100%}.back-button{display:block;font-size:1rem;margin:0 auto;max-width:300px;padding:.8rem;width:100%}.preview-content{gap:.75rem;grid-template-columns:1fr;text-align:center}.arrow-section{font-size:1.2rem;margin:.5rem auto;text-align:center;transform:rotate(90deg)}.preview-product-info{align-items:center;flex-direction:column;justify-content:center;text-align:center}.preview-item{text-align:center}.preview-item-header{gap:1rem}.exchange-section,.original-section,.preview-item-header{flex-direction:column;justify-content:center;text-align:center}.exchange-section,.original-section{align-items:center;display:flex;margin:0 auto;min-height:160px;padding:1rem}.exchange-section h4,.original-section h4{font-size:1rem;margin:0 0 .8rem;padding-bottom:.5rem}.exchange-name,.product-name{font-size:.85rem;margin:0 0 .4rem}.exchange-meta,.product-meta{font-size:.9rem;margin:.1rem 0}.exchange-status{font-size:.95rem;margin:.4rem 0 0}.search-section,.url-display{flex-direction:column}.url-display{text-align:center}.stats-grid,.status-grid{grid-template-columns:1fr}.search-filters,.toolbar{align-items:stretch;flex-direction:column}.action-buttons{justify-content:center}.exchange-item-row,.products-grid{grid-template-columns:1fr}.exchange-item-row{gap:.5rem}.summary-stats{flex-direction:column;gap:1rem}.steps{grid-template-columns:1fr}.step{padding:.75rem}.modal-content{gap:1rem;grid-template-columns:1fr}.batch-exchange-modal{max-width:95%;padding:1rem}.action-buttons{align-items:stretch;flex-direction:column}.toolbar-sections{grid-template-columns:1fr}.batch-actions,.data-actions{border-bottom:1px solid #e9ecef;border-right:none;padding-bottom:1rem;padding-right:0}.batch-actions:last-child,.data-actions:last-child{border-bottom:none;padding-bottom:0}.tianlan-product-card{padding:8px}.product-image-small{height:40px;margin-right:12px;width:40px}.group-actions{flex-direction:column;gap:.25rem}.group-main{align-items:flex-start;flex-direction:column;gap:.5rem}.item-content{gap:.75rem;grid-template-columns:1fr;text-align:center}.original-info{flex-direction:column;text-align:center}.action-selection{flex-direction:column;gap:1rem}.help-content{gap:1rem;grid-template-columns:1fr}.toolbar-sections{gap:1rem}.batch-actions,.data-actions{justify-content:center}.announcement-content{font-size:.85rem}.announcement-container{padding:.5rem .75rem}}.platform-settings-section{margin:20px 0;padding:0 20px}.platform-settings-card{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;box-shadow:0 4px 15px #0000001a;color:#fff;padding:20px}.platform-settings-card h3{font-size:1.2rem;font-weight:700;margin:0 0 15px}.platform-type-selector{display:flex;gap:15px;margin-bottom:20px}.platform-type-option{align-items:center;background:#ffffff1a;border:2px solid #0000;border-radius:8px;cursor:pointer;display:flex;padding:10px 15px;transition:all .3s ease}.platform-type-option:hover{background:#fff3}.platform-type-option input[type=radio]{accent-color:#f7c873;margin-right:8px}.platform-type-option input[type=radio]:checked+.platform-type-label{color:#f7c873;font-weight:700}.platform-type-option:has(input:checked){background:#f7c87333;border-color:#f7c873}.platform-type-label{align-items:center;display:flex;font-size:.95rem;gap:5px}.platform-icon{font-size:1.1rem}.customer-text-settings{margin-bottom:20px}.customer-text-settings h4{color:#f7c873;font-size:1rem;margin:0 0 10px}.text-input-group{grid-gap:15px;display:grid;gap:15px;grid-template-columns:1fr 1fr}.text-input-item{display:flex;flex-direction:column;gap:5px}.text-input-item label{color:#ffffffe6;font-size:.9rem}.customer-text-input{background:#ffffff1a;border:1px solid #ffffff4d;border-radius:6px;color:#fff;font-size:.9rem;padding:8px 12px}.customer-text-input:focus{background:#fff3;border-color:#f7c873;outline:none}.customer-text-input::placeholder{color:#fff9}.platform-actions{display:flex;justify-content:flex-end}.save-platform-button{background:#f7c873;border:none;border-radius:6px;color:#333;cursor:pointer;font-weight:700;padding:10px 20px;transition:all .3s ease}.save-platform-button:hover{background:#f5b942;transform:translateY(-1px)}.save-platform-button:active{transform:translateY(0)}.image-modal-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#000c;bottom:0;box-sizing:border-box;cursor:pointer;left:0;padding:2rem;position:fixed;right:0;top:0;z-index:1000}.image-modal-content,.image-modal-overlay{align-items:center;display:flex;justify-content:center}.image-modal-content{background:#fff;border-radius:.75rem;box-shadow:0 10px 40px #0006;cursor:default;margin:2rem;max-height:90vh;max-width:90vw;overflow:hidden;padding:1rem;position:relative}.image-modal-close{-webkit-tap-highlight-color:transparent;align-items:center;background:#000000e6;border:none;border-radius:50%;box-shadow:0 4px 12px #0006;color:#fff;cursor:pointer;display:flex;flex-shrink:0;font-size:1.75rem;font-weight:700;height:48px;justify-content:center;line-height:1;min-height:48px;min-width:48px;outline:none;position:absolute;right:10px;top:10px;touch-action:manipulation;transition:all .2s ease;width:48px;z-index:1002}.image-modal-close:before{background:#0000;border-radius:50%;bottom:-8px;content:"";left:-8px;position:absolute;right:-8px;top:-8px;z-index:-1}.image-modal-close:focus,.image-modal-close:hover{background:#dc3545f2;box-shadow:0 6px 16px #dc354566;transform:scale(1.15)}.image-modal-close:active{background:#c82333f2;transform:scale(1.05)}.image-modal-image{display:block;height:auto;max-height:90vh;max-width:100%;object-fit:contain;width:auto}@media (max-width:768px){.image-modal-content{margin:1rem;max-height:95vh;max-width:95vw}.image-modal-close{font-size:1.6rem;height:44px;min-height:44px;min-width:44px;right:8px;top:8px;width:44px}.image-modal-close:before{bottom:-10px;left:-10px;right:-10px;top:-10px}.image-modal-image{max-height:calc(85vh - 3rem);max-width:calc(100% - 1.5rem)}}@media (max-width:360px){.image-modal-close{font-size:1.4rem;height:40px;min-height:40px;min-width:40px;right:5px;top:5px;width:40px}.image-modal-close:before{bottom:-8px;left:-8px;right:-8px;top:-8px}.image-modal-close:after{bottom:-15px;left:-15px;right:-15px;top:-15px}}.product-type-badge{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;color:#fff;display:inline-block;font-size:.75rem;font-weight:700;margin-top:.3rem;padding:.2rem .5rem;text-align:center}.product-type-select{background-color:#fff;border:1px solid #ddd;border-radius:5px;cursor:pointer;font-size:1rem;padding:.5rem;width:100%}.product-type-help{background-color:#f8f9fa;border-left:4px solid #007bff;border-radius:5px;margin-top:.5rem;padding:.5rem}.product-type-help small{color:#6c757d;line-height:1.4}.import-button{background:linear-gradient(135deg,#28a745,#20c997);border:none;border-radius:8px;box-shadow:0 2px 8px #28a7454d;color:#fff;cursor:pointer;display:inline-block;font-size:.9rem;font-weight:600;padding:.75rem 1.5rem;text-align:center;text-decoration:none;transition:all .3s ease;white-space:nowrap}.import-button:hover{background:linear-gradient(135deg,#20c997,#28a745);box-shadow:0 4px 12px #28a74566;transform:translateY(-2px)}.import-button:active{transform:translateY(0)}.stock-type-selector{background-color:#f8f9fa;border-radius:5px;display:flex;gap:1rem;margin-bottom:1rem;padding:.5rem}.stock-type-selector label{align-items:center;cursor:pointer;display:flex;gap:.5rem}.style-stock-group{background-color:#fff;border:1px solid #ddd;border-radius:8px;margin-bottom:1rem;padding:1rem}.style-input-section{align-items:center;display:flex;gap:.5rem;margin-bottom:.5rem}.style-input{border:1px solid #ddd;border-radius:5px;flex:1 1;padding:.5rem}.stock-input-section{align-items:center;background-color:#f8f9fa;border-radius:5px;display:flex;gap:1rem;margin-top:.5rem;padding:.5rem}.stock-input{border:1px solid #ddd;border-radius:3px;padding:.3rem .5rem;width:100px}.unlimited-button{background-color:#fff;border:1px solid #007bff;border-radius:3px;color:#007bff;cursor:pointer;font-size:.85rem;padding:.3rem .8rem;transition:all .2s ease}.unlimited-button.active{background-color:#007bff;color:#fff}.unlimited-button:hover{background-color:#0056b3;color:#fff}.product-badges{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.3rem}.product-badges .product-type-badge{background:linear-gradient(135deg,#f093fb,#f5576c);border-radius:12px;color:#fff;display:inline-block;font-size:.75rem;font-weight:700;padding:.25rem .6rem;text-align:center}.product-badges .product-type-badge.gift-badge{background:linear-gradient(135deg,#f7c873,#f093fb);color:#fff}.product-badges .product-type-badge.exchange-badge{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.stock-badge{border-radius:12px;display:inline-block;font-size:.7rem;font-weight:700;padding:.2rem .5rem;text-align:center}.stock-sufficient,.stock-unlimited{background:#ecfdf5;color:#065f46}.stock-low{background-color:#ffc107;color:#212529}.stock-out{background-color:#dc3545;color:#fff}.no-style-display{background-color:#f8f9fa;border-radius:3px;color:#6c757d;font-size:.85rem;font-style:italic;margin-top:.5rem;padding:.3rem .5rem;text-align:center}.stock-status{border-radius:10px;margin-top:.3rem;padding:.2rem .5rem;text-align:center}.stock-status.low{background-color:#fff3cd}.stock-status.out{background-color:#e9ecef;border:1px solid #dee2e6;color:#6c757d}.low-stock-warning{align-items:center;background-color:#dc35451a;border:1px solid #dc35454d;border-radius:8px;color:#dc3545;display:flex;font-size:.7rem;font-weight:700;gap:.2rem;justify-content:center;margin-top:.2rem;padding:.2rem .4rem}.exchange-product-option.sold-out{background-color:#f8f9fa;border:1px dashed #dee2e6;cursor:not-allowed;opacity:.6}.exchange-product-option.sold-out:hover{box-shadow:none;transform:none}.sold-out-overlay{align-items:center;background-color:#6c757dd9;border-radius:8px;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:2}.sold-out-overlay span{color:#fff;font-size:.9rem;font-weight:700;text-shadow:1px 1px 2px #0000004d}.no-products-available{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:15px;box-shadow:0 4px 15px #0000001a;margin:2rem auto;max-width:600px;padding:3rem 2rem;text-align:center}.no-products-icon{font-size:4rem;margin-bottom:1rem;opacity:.7}.no-products-available h2{color:#495057;font-size:1.8rem;margin-bottom:1.5rem}.no-products-info{background-color:#fff;border-left:4px solid #ffc107;border-radius:10px;margin:1.5rem 0;padding:1.5rem;text-align:left}.no-products-info ul{margin:1rem 0;padding-left:1.5rem}.no-products-info li{color:#6c757d;margin-bottom:.5rem}.contact-info{color:#007bff;font-weight:700;margin-top:1rem}.no-products-actions{margin-top:2rem}.new-query-button{background:linear-gradient(135deg,#007bff,#0056b3);border:none;border-radius:25px;box-shadow:0 3px 15px #007bff4d;color:#fff;cursor:pointer;font-size:1.1rem;font-weight:600;padding:.8rem 2rem;transition:all .3s ease}.new-query-button:hover{box-shadow:0 5px 20px #007bff66;transform:translateY(-2px)}.restock-button-small{background:linear-gradient(135deg,#ffc107,#e0a800);border:none;border-radius:4px;box-shadow:0 2px 5px #ffc1074d;color:#212529;cursor:pointer;font-size:.8rem;font-weight:600;margin:0 .2rem;padding:.3rem .5rem;transition:all .2s ease}.restock-button-small:hover{background:linear-gradient(135deg,#e0a800,#ffc107);box-shadow:0 3px 8px #ffc10766;transform:translateY(-1px)}.restock-button-small:active{transform:translateY(0)}.order-selection-section{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:15px;box-shadow:0 4px 15px #0000001a;margin:2rem auto;max-width:800px;padding:2rem}.selection-header{margin-bottom:2rem;text-align:center}.selection-header h2{color:#495057;font-size:1.8rem;margin-bottom:.5rem}.phone-info{color:#007bff;font-size:1.2rem;font-weight:600}.orders-list{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem}.order-item{align-items:center;background:#fff;border:2px solid #0000;border-radius:10px;display:flex;justify-content:space-between;padding:1.5rem;transition:all .3s ease}.order-item.available{border-color:#28a745;box-shadow:0 2px 8px #28a74533;cursor:pointer}.order-item.available:hover{border-color:#20c997;box-shadow:0 4px 12px #28a7454d;transform:translateY(-2px)}.order-item.unavailable{background-color:#f8f9fa;border-color:#dee2e6;cursor:not-allowed;opacity:.6}.order-info{flex:1 1}.pa-number{align-items:center;display:flex;gap:1rem;margin-bottom:.5rem}.pa-number strong{color:#212529;font-size:1.3rem}.completed-badge{background-color:#28a745}.completed-badge,.no-data-badge{border-radius:10px;color:#fff;font-size:.75rem;font-weight:700;padding:.2rem .5rem}.no-data-badge{background-color:#6c757d}.order-details{color:#6c757d;font-size:.95rem}.exchange-count{color:#007bff;font-weight:600}.no-exchange{color:#dc3545}.action-indicator{align-items:center;color:#28a745;display:flex;font-weight:600;gap:.5rem}.process-text{font-size:.9rem}.arrow{font-size:1.2rem;transition:transform .3s ease}.order-item.available:hover .arrow{transform:translateX(5px)}.selection-actions{text-align:center}.back-to-search-button{background:linear-gradient(135deg,#6c757d,#495057);border:none;border-radius:25px;box-shadow:0 3px 15px #6c757d4d;color:#fff;cursor:pointer;font-size:1.1rem;font-weight:600;padding:.8rem 2rem;transition:all .3s ease}.back-to-search-button:hover{box-shadow:0 5px 20px #6c757d66;transform:translateY(-2px)}.remaining-orders-info{background-color:#fff3cd;border:2px solid #ffc107;border-radius:10px;margin:1rem 0;padding:1rem;text-align:center}.remaining-count{color:#856404;font-size:1.1rem;margin:0}.continue-button{background:linear-gradient(135deg,#ffc107,#e0a800);border:none;border-radius:25px;box-shadow:0 3px 15px #ffc1074d;color:#212529;cursor:pointer;font-size:1.1rem;font-weight:600;padding:.8rem 2rem;transition:all .3s ease}.continue-button:hover{background:linear-gradient(135deg,#e0a800,#ffc107);box-shadow:0 5px 20px #ffc10766;transform:translateY(-2px)}.stock-management-help{background:linear-gradient(135deg,#e3f2fd,#f1f8e9);border-left:4px solid #2196f3;border-radius:10px;margin-bottom:1.5rem}.help-box{padding:1.2rem}.help-box h4{align-items:center;color:#1976d2;display:flex;font-size:1.1rem;gap:.5rem;margin:0 0 1rem}.help-box ol{color:#424242;margin:.8rem 0;padding-left:1.5rem}.help-box li{line-height:1.4;margin-bottom:.5rem}.help-box li strong{background-color:#2196f31a;border-radius:3px;color:#1976d2;padding:.1rem .3rem}.help-box .note{background-color:#4caf501a;border-left:3px solid #4caf50;border-radius:5px;color:#2e7d32;font-size:.95rem;font-weight:500;margin:1rem 0 0;padding:.8rem}.demo-steps{margin:1rem 0}.step{align-items:flex-start;background-color:#ffffffb3;border:1px solid #2196f333;border-radius:8px;display:flex;gap:1rem;margin-bottom:1rem;padding:.8rem}.step-number{align-items:center;background:linear-gradient(135deg,#2196f3,#1976d2);border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:.9rem;font-weight:700;height:24px;justify-content:center;width:24px}.step-content{flex:1 1}.step-content strong{color:#1976d2;display:block;font-size:.95rem;margin-bottom:.3rem}.step-content p{color:#555;font-size:.85rem;line-height:1.3;margin:0}.demo-example{background:linear-gradient(135deg,#fff3e0,#ffe0b2);border:1px solid #ff9800;border-radius:8px;margin:1rem 0 .5rem;padding:1rem}.demo-example h5{color:#e65100;font-size:1rem;margin:0 0 .8rem}.demo-example p{color:#bf360c;font-size:.9rem;margin:.3rem 0}.example-empty{background-color:#ffccbc;border:1px dashed #ff5722;border-radius:3px;font-style:italic;padding:.2rem .5rem}.example-number{background-color:#c8e6c9;border-radius:3px;color:#2e7d32;font-weight:700;padding:.2rem .5rem}.cancel-option-selector{background-color:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;padding:1.5rem;width:100%}.cancel-option{align-items:flex-start;background-color:#fff;border:1px solid #e9ecef;border-radius:6px;color:#495057;cursor:pointer;display:flex;font-weight:500;gap:1rem;min-height:60px;padding:.8rem;position:relative;transition:all .3s ease;width:100%}.cancel-option:hover{background-color:#007bff0d;border-color:#007bff}.cancel-option input[type=checkbox]{height:0;opacity:0;position:absolute;width:0}.checkmark{background-color:#fff;border:3px solid #007bff;border-radius:8px;box-shadow:0 2px 6px #007bff33;flex-shrink:0;height:28px;position:relative;transition:all .3s ease;width:28px}.cancel-option input[type=checkbox]:checked+.checkmark{background-color:#007bff;border-color:#0056b3;box-shadow:0 3px 8px #007bff66}.cancel-option input[type=checkbox]:checked+.checkmark:after{color:#fff;content:"✓";font-size:1.1rem;font-weight:700;left:50%;position:absolute;text-shadow:0 1px 2px #0003;top:50%;transform:translate(-50%,-50%)}.cancel-option:hover .checkmark{border-color:#0056b3;box-shadow:0 0 0 2px #007bff33}.cancel-option-help{background-color:#007bff0d;border-left:3px solid #007bff;border-radius:5px;margin-top:.8rem;padding:.8rem}.cancel-option-help small{color:#495057;line-height:1.5}.cancel-setting-badge{border-radius:12px;display:inline-block;font-size:.7rem;font-weight:700;padding:.2rem .5rem;text-align:center;white-space:nowrap}.cancel-setting-badge.enabled{background-color:#d4edda;border:1px solid #c3e6cb;color:#155724}.cancel-setting-badge.disabled{background-color:#f8d7da;border:1px solid #f5c6cb;color:#721c24}.stock-refresh-info{background:linear-gradient(135deg,#e8f5e8,#f0f8ff);border:1px solid #28a745;border-radius:10px;margin-bottom:1.5rem;padding:1rem}.refresh-status{align-items:center;display:flex;justify-content:space-between;margin-bottom:.5rem}.last-refresh{color:#495057;font-size:.9rem;font-weight:500}.refresh-stock-button{align-items:center;background:linear-gradient(135deg,#28a745,#20c997);border:none;border-radius:20px;box-shadow:0 2px 8px #28a7454d;color:#fff;cursor:pointer;display:flex;font-size:.85rem;font-weight:600;gap:.3rem;padding:.4rem 1rem;transition:all .3s ease}.refresh-stock-button:hover{background:linear-gradient(135deg,#20c997,#28a745);box-shadow:0 3px 12px #28a74566;transform:translateY(-1px)}.refresh-stock-button:disabled{cursor:not-allowed;opacity:.6;transform:none}.refresh-note{color:#6c757d;font-size:.8rem;font-style:italic;margin:0;text-align:center}.stock-edit-modal-new{animation:modalSlideIn .3s ease-out;background:#fff;border-radius:20px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;max-height:90vh;max-width:900px;overflow:hidden;width:95%}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.stock-modal-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;flex-shrink:0;padding:0}.header-content{align-items:center;display:flex;justify-content:space-between;padding:1.5rem}.product-preview{align-items:center;display:flex;gap:1rem}.product-thumbnail{border:2px solid #fff3;border-radius:12px;height:60px;object-fit:cover;width:60px}.product-details{display:flex;flex-direction:column;gap:.5rem}.product-title{color:#fff;font-size:1.4rem;font-weight:700;margin:0}.product-meta{align-items:center;display:flex;gap:.75rem}.stock-modal-header .product-type-badge{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border-radius:20px;color:#fff;font-size:.8rem;font-weight:700;padding:.25rem .75rem}.stock-modal-header .product-type-badge.gift-badge{background:#f7c8734d;border:1px solid #f7c87380}.stock-modal-header .product-type-badge.exchange-badge{background:#667eea4d;border:1px solid #667eea80}.modal-close-btn{align-items:center;background:#ffffff1a;border:1px solid #fff3;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:1.5rem;height:40px;justify-content:center;transition:all .2s ease;width:40px}.modal-close-btn:hover{background:#fff3;transform:scale(1.1)}.stock-overview{display:flex;gap:1rem;padding:0 1.5rem 1.5rem}.overview-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border-radius:12px;flex:1 1;padding:1rem;text-align:center}.overview-label{color:#fffc;font-size:.85rem;margin-bottom:.5rem}.overview-value{color:#fff;font-size:1.5rem;font-weight:700}.stock-modal-content{background:#f8f9fa;flex:1 1;overflow-y:auto;padding:1.5rem}.quick-actions{background:#fff;border-radius:16px;box-shadow:0 2px 12px #00000014;margin-bottom:1.5rem;padding:1.5rem}.quick-actions h3{color:#495057;font-size:1.1rem;margin:0 0 1rem}.quick-buttons{display:flex;flex-wrap:wrap;gap:1rem}.quick-btn{align-items:center;background:#f8f9fa;border:2px solid #0000;border-radius:12px;color:#495057;cursor:pointer;display:flex;font-size:.9rem;font-weight:500;gap:.5rem;padding:.75rem 1.25rem;transition:all .2s ease}.quick-btn:hover:not(:disabled){box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.quick-btn:disabled{cursor:not-allowed;opacity:.5}.unlimited-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.stock-btn{background:linear-gradient(135deg,#f093fb,#f5576c);color:#fff}.btn-icon{font-size:1.1rem;font-weight:700}.styles-section{background:#fff;border-radius:16px;box-shadow:0 2px 12px #00000014;padding:1.5rem}.styles-section h3{color:#495057;font-size:1.1rem;margin:0 0 1.5rem}.styles-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.style-card{background:#f8f9fa;border:2px solid #e9ecef;border-radius:16px;padding:1.25rem;transition:all .2s ease}.style-card:hover{border-color:#f7c873;box-shadow:0 4px 16px #0000001a;transform:translateY(-2px)}.style-header{justify-content:space-between;margin-bottom:1rem}.style-header,.style-name{align-items:center;display:flex}.style-name{gap:.5rem}.style-icon{font-size:1.2rem}.style-text{color:#495057;font-size:.95rem;font-weight:600}.stock-status{border-radius:20px;font-size:.8rem;letter-spacing:.5px;padding:.25rem .75rem;text-transform:uppercase}.stock-status.unlimited{background:#ecfdf5;color:#065f46}.stock-status.available{background:linear-gradient(135deg,#4facfe,#00f2fe);color:#fff}.stock-status.out{background:linear-gradient(135deg,#fa709a,#fee140);color:#333}.style-controls{display:flex;flex-direction:column;gap:1rem}.control-row{align-items:center;display:flex}.stock-input-wrapper{flex:1 1}.input-label{color:#6c757d;display:block;font-size:.85rem;font-weight:500;margin-bottom:.5rem}.number-input-group{align-items:center;background:#fff;border:2px solid #dee2e6;border-radius:12px;display:flex;overflow:hidden;transition:border-color .2s ease}.number-input-group:focus-within{border-color:#f7c873;box-shadow:0 0 0 3px #f7c8731a}.qty-btn{align-items:center;background:#f8f9fa;border:none;color:#495057;cursor:pointer;display:flex;font-size:1.2rem;font-weight:700;height:36px;justify-content:center;transition:all .2s ease;width:36px}.qty-btn:hover:not(:disabled){background:#f7c873;color:#fff}.qty-btn:disabled{cursor:not-allowed;opacity:.3}.stock-input{background:#0000;border:none;color:#495057;flex:1 1;font-size:1rem;font-weight:600;padding:.75rem;text-align:center}.stock-input:focus{outline:none}.stock-input:disabled{background:#f8f9fa;color:#6c757d}.unlimited-switch{align-items:center;cursor:pointer;display:flex;gap:.75rem;-webkit-user-select:none;user-select:none}.unlimited-switch input[type=checkbox]{display:none}.switch-slider{background:#ccc;border-radius:26px;height:26px;position:relative;transition:all .3s ease;width:50px}.switch-slider:before{background:#fff;border-radius:50%;box-shadow:0 2px 4px #0003;content:"";height:22px;left:2px;position:absolute;top:2px;transition:all .3s ease;width:22px}.unlimited-switch input:checked+.switch-slider{background:linear-gradient(135deg,#667eea,#764ba2)}.unlimited-switch input:checked+.switch-slider:before{transform:translateX(24px)}.switch-label{color:#495057;font-size:.9rem;font-weight:500}.stock-modal-footer{align-items:center;background:#fff;border-top:1px solid #e9ecef;display:flex;flex-shrink:0;justify-content:space-between;padding:1.5rem}.save-hint{color:#6c757d;font-size:.85rem}.cancel-btn,.save-btn{align-items:center;border:none;border-radius:12px;cursor:pointer;display:flex;font-size:.95rem;font-weight:600;gap:.5rem;padding:.75rem 1.5rem;transition:all .2s ease}.cancel-btn{background:#f8f9fa;border:2px solid #dee2e6;color:#6c757d}.cancel-btn:hover:not(:disabled){background:#e9ecef;transform:translateY(-1px)}.save-btn{background:linear-gradient(135deg,#f7c873,#f093fb);border:2px solid #0000;color:#fff}.save-btn:hover:not(:disabled){box-shadow:0 4px 16px #f7c87366;transform:translateY(-2px)}.cancel-btn:disabled,.save-btn:disabled{cursor:not-allowed;opacity:.5;transform:none}.error-message{background:#fff;border-left:4px solid #dc3545;border-radius:10px;box-shadow:0 4px 12px #0000001a;margin:2rem;padding:2rem;text-align:center}.error-message h2{color:#dc3545;margin-bottom:1rem}.error-message p{color:#666;margin-bottom:1.5rem}.retry-button{background:#f7c873;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;padding:.75rem 1.5rem;transition:all .2s ease}.retry-button:hover{background:#f093fb;transform:translateY(-2px)}.messenger-chat-button{align-items:center;animation:messengerPulse 2s infinite;background:linear-gradient(135deg,#0084ff,#00c6ff);border-radius:50%;bottom:20px;box-shadow:0 4px 20px #0084ff66;cursor:pointer;display:flex;height:60px;justify-content:center;position:fixed;right:20px;transition:all .3s ease;width:60px;z-index:1000}.messenger-chat-button:hover{box-shadow:0 6px 30px #0084ff99;transform:scale(1.1)}.messenger-chat-button:hover .messenger-tooltip{opacity:1;transform:translateX(-100%) translateY(-50%) scale(1);visibility:visible}.messenger-icon{align-items:center;display:flex;height:32px;justify-content:center;width:32px}.messenger-tooltip{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0084fff2;border-radius:15px;box-shadow:0 2px 10px #0084ff4d;color:#fff;font-size:13px;font-weight:600;opacity:0;padding:6px 10px;position:absolute;right:68px;top:50%;transform:translateX(-100%) translateY(-50%) scale(.8);transition:all .3s ease;visibility:hidden;white-space:nowrap}.messenger-tooltip:after{border:3px solid #0000;border-left-color:#0084fff2;content:"";position:absolute;right:-6px;top:50%;transform:translateY(-50%)}@keyframes messengerPulse{0%{box-shadow:0 4px 20px #0084ff66,0 0 0 0 #0084ff66}50%{box-shadow:0 4px 20px #0084ff66,0 0 0 10px #0084ff1a}to{box-shadow:0 4px 20px #0084ff66,0 0 0 0 #0084ff00}}.welcome-overlay{animation:welcomeOverlayFadeOut 1s ease-in-out forwards;background:#fff;height:100%;left:0;position:fixed;top:0;width:100%;z-index:9999}.tianlan-customer-query.welcome-active .customer-header .brand-logo,.tianlan-customer-query.welcome-active .customer-header .brand-section h2{opacity:0!important;transition:opacity .3s ease}.welcome-content{animation:contentSlideUp .8s cubic-bezier(.25,.46,.45,.94) forwards;left:50%;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%)}.welcome-logo{animation:logoFadeIn .3s ease-out;box-shadow:none!important;filter:none!important;height:auto;margin-bottom:.5rem;max-width:200px}.welcome-content h2{animation:titleFadeIn .3s ease-out .1s both;color:#495057;font-size:1.3rem;font-weight:700;margin-bottom:1rem}@keyframes welcomeOverlayFadeOut{0%{opacity:1}85%{opacity:1}to{opacity:0;visibility:hidden}}@keyframes contentSlideUp{0%{transform:translate(-50%,-50%)}62.5%{transform:translate(-50%,-50%)}to{transform:translate(-50%,calc(-50vh + 80px))}}@keyframes logoFadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes titleFadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.messenger-intro-overlay{align-items:center;animation:messengerIntroSlideIn 2s ease-out forwards;bottom:120px;display:flex;gap:10px;position:fixed;right:20px;z-index:1001}.messenger-intro-text{animation:introTextPulse .5s ease-out;background:#0084fff2;border-radius:20px;box-shadow:0 4px 15px #0084ff4d;color:#fff;font-size:14px;font-weight:600;padding:8px 15px;white-space:nowrap}.messenger-intro-arrow{animation:arrowBounce 1s ease-in-out infinite;color:#0084ff;font-size:20px;font-weight:700}@keyframes messengerIntroSlideIn{0%{opacity:0;transform:translateX(100px)}20%{opacity:1;transform:translateX(0)}80%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(50px) scale(.8)}}@keyframes introTextPulse{0%{transform:scale(.9)}50%{transform:scale(1.05)}to{transform:scale(1)}}@keyframes arrowBounce{0%,to{transform:translateX(0)}50%{transform:translateX(5px)}}@media (max-width:768px){.welcome-content{animation:contentSlideUpMobile .8s cubic-bezier(.25,.46,.45,.94) forwards}.messenger-intro-overlay{bottom:90px;right:16px}.messenger-intro-text{font-size:13px;padding:6px 12px}.messenger-intro-arrow{font-size:18px}}@keyframes contentSlideUpMobile{0%{transform:translate(-50%,-50%)}62.5%{transform:translate(-50%,-50%)}to{transform:translate(-50%,calc(-50vh + 100px))}}@media (max-width:768px){.messenger-chat-button{bottom:16px;height:56px;right:16px;width:56px}.messenger-icon{height:28px;width:28px}.messenger-icon svg{height:24px;width:24px}.messenger-tooltip{font-size:12px;padding:5px 8px;right:62px}.stock-edit-modal-new{border-radius:16px;max-height:95vh;width:98%}.header-content{padding:1rem}.product-thumbnail{height:50px;width:50px}.product-title{font-size:1.2rem}.stock-overview{padding:0 1rem 1rem}.stock-modal-content{padding:1rem}.styles-grid{grid-template-columns:1fr}.quick-buttons{flex-direction:column}.quick-btn{justify-content:center;width:100%}.footer-actions{flex-direction:column;width:100%}.cancel-btn,.save-btn{justify-content:center;width:100%}}.product-info-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1.5rem}.product-basic-info{display:flex;flex-direction:column;gap:.5rem}.product-name{font-size:1rem;font-weight:700}.product-number{font-size:1rem;opacity:.9}.product-type{font-size:.9rem;opacity:.8}.stock-edit-section{max-height:400px;overflow-y:auto;padding:1.5rem}.stock-edit-section h3{border-bottom:2px solid #e9ecef;color:#495057;font-size:1.2rem;margin:0 0 1.5rem;padding-bottom:.5rem}.stock-items{display:flex;flex-direction:column;gap:1rem}.stock-item{background:#fff;border:2px solid #e9ecef;border-radius:12px;box-shadow:0 2px 8px #0000000d;padding:1.5rem;transition:all .3s ease}.stock-item:hover{border-color:#007bff;box-shadow:0 4px 12px #007bff26;transform:translateY(-1px)}.style-info{margin-bottom:1rem}.style-name{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-left:4px solid #007bff;border-radius:8px;color:#343a40;display:block;font-size:1.2rem;font-weight:700;padding:.5rem .8rem}.stock-controls{grid-gap:1.5rem;align-items:start;display:grid;gap:1.5rem;grid-template-columns:2fr 1fr}.stock-input-group{display:flex;flex-direction:column;gap:.5rem}.stock-input-group label{color:#495057;font-size:.95rem;font-weight:600}.stock-number-input{background-color:#fff;border:2px solid #dee2e6;border-radius:8px;box-shadow:0 2px 4px #0000000d;color:#212529;font-size:1.2rem;font-weight:600;padding:.8rem 1rem;text-align:center;transition:all .3s ease;width:120px}.stock-number-input:focus{background-color:#fff;border-color:#007bff;box-shadow:0 0 0 3px #007bff26;outline:none}.stock-number-input:disabled{background-color:#f8f9fa;border-color:#e9ecef;color:#6c757d;cursor:not-allowed}.unlimited-toggle{flex-shrink:0}.unlimited-checkbox{align-items:center;color:#495057;cursor:pointer;display:flex;font-size:.9rem;gap:.5rem;position:relative}.unlimited-checkbox input[type=checkbox]{height:0;opacity:0;position:absolute;width:0}.unlimited-checkmark{background-color:#fff;border:2px solid #28a745;border-radius:4px;flex-shrink:0;height:20px;position:relative;transition:all .3s ease;width:20px}.unlimited-checkbox input[type=checkbox]:checked+.unlimited-checkmark{background-color:#28a745;border-color:#1e7e34}.unlimited-checkbox input[type=checkbox]:checked+.unlimited-checkmark:after{color:#fff;content:"∞";font-size:.9rem;font-weight:700;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.unlimited-checkbox:hover .unlimited-checkmark{border-color:#1e7e34;box-shadow:0 0 0 2px #28a74533}.image-upload-section{width:100%}.upload-options{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1rem}.upload-button{background:linear-gradient(135deg,#007bff,#0056b3);border:none;border-radius:8px;box-shadow:0 2px 8px #007bff4d;color:#fff;cursor:pointer;display:inline-block;font-size:.9rem;font-weight:600;padding:.6rem 1.2rem;text-decoration:none;transition:all .3s ease;white-space:nowrap}.upload-button:hover{background:linear-gradient(135deg,#0056b3,#007bff);box-shadow:0 4px 12px #007bff66;transform:translateY(-2px)}.upload-divider{color:#6c757d;font-weight:500;margin:0 .5rem}.image-url-input{border:2px solid #dee2e6;border-radius:8px;flex:1 1;font-size:.95rem;min-width:200px;padding:.6rem 1rem;transition:all .3s ease}.image-url-input:focus{border-color:#007bff;box-shadow:0 0 0 3px #007bff1a;outline:none}.image-preview-container{border-radius:10px;box-shadow:0 4px 12px #00000026;display:inline-block;overflow:hidden;position:relative}.image-preview{border-radius:10px;display:block;height:auto;max-height:200px;max-width:200px;width:auto}.remove-image-button{align-items:center;background:#dc3545e6;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:.8rem;height:30px;justify-content:center;position:absolute;right:.5rem;top:.5rem;transition:all .3s ease;width:30px}.remove-image-button:hover{background:#dc3545;transform:scale(1.1)}.exchange-preview .preview-product-info{align-items:center;background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;display:flex;gap:1rem;padding:1rem}.exchange-preview .preview-image{border:1px solid #dee2e6;border-radius:6px;height:60px;object-fit:cover;width:60px}.exchange-preview .preview-no-image{align-items:center;background-color:#e9ecef;border:1px solid #dee2e6;border-radius:6px;color:#6c757d;display:flex;font-size:.8rem;height:60px;justify-content:center;width:60px}.exchange-preview .preview-details{flex:1 1}.exchange-preview .exchange-name{color:#495057;font-weight:600;margin:0 0 .3rem}.exchange-preview .exchange-meta{color:#6c757d;font-size:.9rem;margin:0 0 .3rem}.exchange-preview .exchange-status{color:#28a745;font-size:.9rem;font-weight:600;margin:0}@media (max-width:768px){.no-products-available{margin:1rem;padding:2rem 1rem}.no-products-info{padding:1rem}.order-selection-section{margin:1rem;padding:1.5rem 1rem}.order-item{align-items:flex-start;flex-direction:column;gap:1rem}.action-indicator{align-self:flex-end}.pa-number{align-items:flex-start;flex-direction:column;gap:.5rem}.help-box{padding:1rem}.help-box h4{font-size:1rem}.stock-edit-modal{max-height:90vh;width:95%}.product-info-header{padding:1rem}.stock-edit-section{max-height:300px;padding:1rem}.stock-controls{align-items:stretch;display:flex;flex-direction:column;gap:1rem}.stock-input-group{width:100%}.stock-number-input{width:100px}.exchange-preview .preview-product-info{flex-direction:column;gap:.8rem;text-align:center}.exchange-preview .preview-image,.exchange-preview .preview-no-image{align-self:center}}.product-selection-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-top:1rem}.product-option-card{background:#fff;border:2px solid #e0e0e0;border-radius:.5rem;cursor:pointer;padding:1rem;position:relative;transition:all .3s ease}.product-option-card:hover{border-color:#f7c873;box-shadow:0 4px 15px #0000001a;transform:translateY(-2px)}.product-option-card.selected{background:#fff8f0;border-color:#f7c873;box-shadow:0 4px 15px #f7c8734d}.product-image-wrapper{margin-bottom:.75rem;text-align:center}.product-option-image{border-radius:.5rem;object-fit:cover}.product-no-image,.product-option-image{border:1px solid #e0e0e0;height:80px;width:80px}.product-no-image{align-items:center;background:#f8f9fa;border-radius:.5rem;color:#666;display:flex;flex-direction:column;font-size:.8rem;justify-content:center;margin:0 auto}.product-no-image span{font-size:1.5rem;margin-bottom:.25rem}.product-info{text-align:center}.product-info h5{color:#333;font-size:.9rem;font-weight:700;margin:0 0 .5rem}.product-info .item-number{color:#666;font-size:.8rem;margin:0 0 .5rem}.stock-info{margin-top:.5rem}.stock-status{border-radius:.25rem;display:inline-block;font-size:.75rem;font-weight:700;padding:.25rem .5rem}.stock-status.sufficient{background:#ecfdf5;color:#065f46}.stock-status.low{background:#fff3cd;color:#856404}.stock-status.out{background:#f8d7da;color:#721c24}.selected-indicator{align-items:center;background:#28a745;border-radius:50%;color:#fff;display:flex;font-size:.8rem;font-weight:700;height:24px;justify-content:center;position:absolute;right:.5rem;top:.5rem;width:24px}.no-style-info{align-items:center;background:#e7f3ff;border:1px solid #b3d7ff;border-radius:.5rem;color:#0c5aa6;display:flex;gap:.5rem;padding:.75rem}.info-icon{font-size:1.2rem}.single-style-display{align-items:center;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:.5rem;display:flex;gap:.5rem;padding:.75rem}.style-badge{background:#f7c873;border-radius:.25rem;color:#fff;display:inline-block;font-size:.8rem;font-weight:700;padding:.25rem .5rem}.auto-selected{color:#666;font-size:.8rem;font-style:italic}@media (max-width:768px){.product-selection-grid{gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.product-option-card{padding:.75rem}.product-no-image,.product-option-image{height:60px;width:60px}.product-info h5{font-size:.8rem}.product-info .item-number{font-size:.7rem}}.admin-exchange-modal{background:#fff;border:1px solid #e0e0e0;border-radius:.5rem;box-shadow:0 10px 30px #0000004d;display:flex;flex-direction:column;margin:0 auto;max-height:95vh;max-width:1600px;overflow:hidden;width:98%}.admin-modal-header{align-items:center;background:#f8f9fa;border-bottom:1px solid #e0e0e0;display:flex;flex-shrink:0;justify-content:space-between;padding:1rem 1.5rem}.admin-modal-header .header-content{flex:1 1}.admin-modal-header h2{color:#495057;font-size:1.2rem;font-weight:600;margin:0 0 .25rem}.admin-modal-header .pa-info{background:#fff8f0;border:1px solid #f7c873;border-radius:12px;color:#666;display:inline-block;font-size:.9rem;padding:.25rem .75rem;text-align:left}.admin-close-button{align-items:center;background:#dc3545;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:1.2rem;font-weight:700;height:32px;justify-content:center;transition:all .2s ease;width:32px}.admin-close-button:hover{background:#c82333;transform:scale(1.05)}.admin-modal-body{-webkit-overflow-scrolling:touch;background:#f5f5f5;flex:1 1;overflow-x:hidden;overflow-y:auto}.exchange-summary{background:#fff;border-bottom:1px solid #e0e0e0;padding:1rem 1.5rem;position:-webkit-sticky;position:sticky;top:0;z-index:10}.summary-info{align-items:center;color:#495057;display:flex;font-size:.95rem;justify-content:space-between}.item-count,.progress-info{font-weight:600}.progress-info{background:#fff8f0;border:1px solid #f7c873;border-radius:12px;color:#f7c873;padding:.25rem .75rem}.admin-exchange-list{display:flex;flex-direction:column;gap:1.5rem;padding:1rem}.admin-modal-footer{align-items:center;background:#fff;border-top:1px solid #e0e0e0;box-shadow:0 -2px 8px #0000000d;display:flex;flex-shrink:0;justify-content:space-between;padding:1rem 1.5rem}.footer-info{flex:1 1}.warning-text{color:#dc3545}.success-text,.warning-text{font-size:.9rem;font-weight:500}.success-text{color:#28a745}.footer-actions{display:flex;gap:1rem}.admin-cancel-button{background:#6c757d;border:none;border-radius:.5rem;color:#fff;cursor:pointer;font-size:1rem;font-weight:500;padding:.7rem 1.5rem;transition:all .3s ease}.admin-cancel-button:hover:not(:disabled){background:#5a6268;transform:translateY(-1px)}.admin-confirm-button{background:#f7c873;border:none;border-radius:.5rem;box-shadow:0 2px 4px #f7c8734d;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:.7rem 2rem;transition:all .3s ease}.admin-confirm-button:hover:not(:disabled){background:#eea636;box-shadow:0 4px 8px #f7c87366;transform:translateY(-1px)}.admin-confirm-button:disabled{box-shadow:none;cursor:not-allowed;opacity:.6;transform:none}.batch-edit-header{background:#f8f9fa;border-bottom:1px solid #e0e0e0;color:#495057;flex-shrink:0;padding:1rem 1.5rem}.edit-info{align-items:center;color:#495057;display:flex;font-size:.95rem;justify-content:space-between}.completed-count{background:#fff8f0;border:1px solid #f7c873;border-radius:12px;color:#f7c873;font-weight:700;padding:.25rem .75rem}.batch-edit-list{-webkit-overflow-scrolling:touch;background:#f8f9fa;flex:1 1;height:calc(90vh - 140px);min-height:300px;overflow-x:hidden;overflow-y:auto;padding:1rem;scroll-behavior:smooth}.batch-edit-item-card{background:#fff;border:1px solid #e0e0e0;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;margin-bottom:1rem;max-width:100%;padding:1.25rem;position:relative;transition:all .3s ease}.batch-edit-item-card:hover{box-shadow:0 4px 15px #00000026;transform:translateY(-1px)}.batch-edit-item-card.selected{background:#fff8f0;border-color:#f7c873;box-shadow:0 4px 15px #f7c8734d}.batch-edit-item-card .item-header{align-items:center;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:.75rem}.batch-edit-item-card .item-number{background:#f7c873;color:#fff}.batch-edit-item-card .item-number,.status-cancel{border-radius:12px;font-size:.75rem;font-weight:700;padding:.2rem .6rem}.status-cancel{background:#f8d7da;color:#721c24}.status-confirmed{background:#d4edda;color:#155724}.status-confirmed,.status-pending{border-radius:12px;font-size:.75rem;font-weight:700;padding:.2rem .6rem}.status-pending{background:#fff3cd;color:#856404}.product-info-display{align-items:center;display:flex;gap:1.25rem;max-width:100%;width:100%}.product-selection-grid-batch{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(3,1fr);margin-top:1rem}.batch-product-option{align-items:center;background:#fff;border:1px solid #e0e0e0;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;cursor:pointer;display:flex;flex-direction:column;justify-content:flex-start;min-height:140px;padding:.75rem;position:relative;text-align:center;transition:all .3s ease}.batch-product-option:hover{border-color:#f7c873;box-shadow:0 4px 15px #00000026;transform:translateY(-1px)}.batch-product-option.selected{background:#fff8f0;border-color:#f7c873;box-shadow:0 4px 15px #f7c8734d;transform:translateY(-1px)}.batch-product-option.cancel-option{background:#fef2f2;border:2px dashed #dc3545}.batch-product-option.cancel-option.selected{background:#fee2e2;border-color:#dc3545}.option-product-image{border-radius:.5rem;object-fit:cover}.option-product-image,.option-product-no-image{border:1px solid #e0e0e0;box-shadow:0 2px 4px #0000001a;height:90px;margin-bottom:.75rem;width:90px}.option-product-no-image{background:#f8f9fa;border-radius:.5rem;color:#666;flex-direction:column;font-size:.75rem;gap:.25rem}.cancel-product-image,.option-product-no-image{align-items:center;display:flex;justify-content:center}.cancel-product-image{font-size:2.5rem;height:90px;margin-bottom:.75rem;width:90px}.cancel-product-info h5{color:#dc3545;font-size:.9rem;margin:0 0 .25rem}.cancel-product-info p{color:#721c24;font-size:.8rem;margin:0}.batch-product-option h5{color:#333;font-size:.875rem;font-weight:600;-webkit-hyphens:auto;hyphens:auto;line-height:1.3;margin:0 0 .25rem}.batch-product-option h5,.batch-product-option p{word-wrap:break-word;max-width:100%;overflow-wrap:break-word;text-align:center;word-break:break-word}.batch-product-option p{color:#666;font-size:.75rem;line-height:1.2;margin:0 0 .5rem}@media (max-width:768px){.batch-edit-modal{border-radius:0;height:100vh;margin:0;max-height:100vh;width:100%}.batch-edit-header{padding:.875rem 1rem}.edit-info{align-items:flex-start;flex-direction:column;font-size:.875rem;gap:.5rem}.batch-edit-list{padding:.75rem}.product-selection-grid-batch{gap:.75rem;grid-template-columns:repeat(2,1fr)}.batch-edit-item-card{border-radius:12px;margin-bottom:1rem;padding:1rem}.product-info-display{flex-direction:column;gap:.75rem;text-align:center}.batch-product-option{min-height:140px;padding:.75rem}.cancel-product-image,.option-product-image,.option-product-no-image{height:70px;width:70px}.cancel-product-image{font-size:2rem}.batch-product-option h5{font-size:.8rem;line-height:1.2}.batch-product-option p{font-size:.7rem}}@media (max-width:480px){.admin-exchange-modal{border-radius:0;max-height:100vh;width:100%}.admin-modal-header{padding:.875rem}.admin-modal-header h2{font-size:1rem}.admin-close-button{font-size:1rem;height:28px;width:28px}.admin-card-content{gap:.75rem;padding:1rem}.admin-product-selection-grid{gap:.5rem;grid-template-columns:repeat(2,1fr)}.admin-product-option{min-height:140px;padding:.5rem}.admin-product-option .option-product-image,.admin-product-option .option-product-no-image{height:75px;max-width:100px}.admin-product-option.cancel-option .cancel-product-image{font-size:2rem;height:75px;max-width:100px}.admin-product-option .option-product-info h5{font-size:.8rem;margin:0 0 .3rem}.admin-product-option .option-product-info p{font-size:.7rem}}.admin-exchange-item-card{background:#fff;border:1px solid #e0e0e0;border-radius:.5rem;box-shadow:0 2px 10px #0000001a;overflow:hidden;position:relative;transition:all .3s ease}.admin-exchange-item-card:hover{box-shadow:0 4px 15px #00000026;transform:translateY(-1px)}.admin-exchange-item-card.selected{background:#fff8f0;border-color:#f7c873;box-shadow:0 4px 15px #f7c8734d}.admin-card-header{align-items:center;background:#f8f9fa;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;padding:1rem 1.5rem}.item-badge{background:#f7c873;border-radius:20px;color:#fff;font-size:.8rem;font-weight:700;padding:.25rem .75rem}.admin-card-content{grid-gap:2rem;align-items:start;display:grid;gap:2rem;grid-template-columns:1fr auto 1fr;padding:1.5rem}.admin-card-content .original-product{grid-column:1}.admin-card-content .exchange-arrow{align-items:center;align-self:center;display:flex;flex-direction:column;grid-column:2;justify-content:center}.admin-card-content .exchange-product{grid-column:3}.admin-card-content h4{border-bottom:1px solid #e0e0e0;color:#495057;font-size:1rem;font-weight:600;margin:0 0 1rem;padding-bottom:.5rem}.admin-card-content .product-info{align-items:center;display:flex;gap:1rem}.admin-card-content .product-image-container{border:1px solid #e0e0e0;border-radius:.5rem;cursor:pointer;flex-shrink:0;height:80px;overflow:hidden;transition:transform .2s ease;width:80px}.admin-card-content .product-image-container:hover{transform:scale(1.05)}.admin-card-content .product-image{height:100%;object-fit:cover;width:100%}.admin-card-content .product-details{display:flex;flex:1 1;flex-direction:column;gap:.25rem}.admin-card-content .detail-row{align-items:center;display:flex;justify-content:space-between;padding:.15rem 0}.admin-card-content .detail-label{color:#555;font-size:.85rem;font-weight:700;min-width:45px}.admin-card-content .detail-value{word-wrap:break-word;color:#333;font-size:.85rem;overflow-wrap:break-word;text-align:right}.admin-card-content .detail-value.highlight{background:#f7c873;border-radius:.3rem;color:#fff;font-size:.8rem;font-weight:700;padding:.2rem .4rem}.admin-card-content .exchange-arrow .arrow-icon{align-items:center;background:#f7c873;border-radius:50%;box-shadow:0 2px 6px #f7c8734d;color:#fff;display:flex;font-size:1.2rem;height:40px;justify-content:center;margin-bottom:.5rem;width:40px}.admin-card-content .exchange-arrow .arrow-text{background:#f7c873;border-radius:12px;color:#fff;font-size:.7rem;font-weight:500;padding:.25rem .75rem;white-space:nowrap}.admin-card-content .select-label{color:#495057;display:block;font-size:.95rem;font-weight:600;margin-bottom:1rem;text-align:center}.admin-product-selection-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(3,1fr);margin-top:.5rem}.admin-product-option{align-items:center;background:#fff;border:2px solid #e9ecef;border-radius:.5rem;box-shadow:0 2px 8px #00000014;cursor:pointer;display:flex;flex-direction:column;justify-content:space-between;min-height:160px;overflow:visible;padding:.75rem;position:relative;text-align:center;transition:all .3s ease}.admin-product-option:hover{border-color:#f7c873;box-shadow:0 4px 10px #0000001a;transform:translateY(-2px)}.admin-product-option.selected{background:#fff8f0;border-color:#f7c873;box-shadow:0 4px 15px #f7c8734d}.admin-product-option.sold-out{cursor:not-allowed;opacity:.5;position:relative}.admin-product-option .option-image-container{align-items:center;display:flex;justify-content:center;margin-bottom:.75rem;width:100%}.admin-product-option .option-product-image{border:1px solid #e9ecef;border-radius:.5rem;box-shadow:0 2px 4px #0000001a;cursor:pointer;height:90px;max-width:120px;object-fit:cover;transition:transform .2s ease;width:calc(100% - 8px)}.admin-product-option .option-product-image:hover{transform:scale(1.05)}.admin-product-option .option-product-no-image{align-items:center;background:#f8f9fa;border:1px solid #e9ecef;border-radius:.5rem;box-shadow:0 2px 4px #0000001a;color:#6c757d;display:flex;flex-direction:column;font-size:.8rem;font-weight:700;gap:.25rem;height:90px;justify-content:center;max-width:120px;width:calc(100% - 8px)}.admin-product-option .option-product-info{display:flex;flex:1 1;flex-direction:column;justify-content:space-between;width:100%}.admin-product-option .option-product-info h5{color:#495057;font-size:.875rem;font-weight:600;-webkit-hyphens:auto;hyphens:auto;line-height:1.3}.admin-product-option .option-product-info h5,.admin-product-option .option-product-info p{word-wrap:break-word;box-sizing:border-box;margin:0 0 .5rem;max-width:100%;overflow-wrap:break-word;padding:0 .25rem;text-align:center;white-space:normal;word-break:break-word}.admin-product-option .option-product-info p{color:#666;font-size:.75rem;line-height:1.2}.admin-product-option .stock-status{border-radius:.25rem;display:inline-block;font-size:.7rem;font-weight:700;margin-top:auto;padding:.25rem .5rem}.admin-product-option .stock-status.sufficient,.admin-product-option .stock-status.unlimited{background:#ecfdf5;color:#065f46}.admin-product-option .stock-status.low{background:#fff3cd;color:#856404}.admin-product-option .stock-status.out{background:#f8d7da;color:#721c24}.admin-product-option .low-stock-warning{color:#856404;font-size:.6rem;margin-top:.25rem;text-align:center}.admin-product-option .sold-out-overlay{background:#000000b3;border-radius:.5rem;bottom:0;font-size:.875rem;font-weight:600;left:0;right:0;top:0}.admin-product-option .selected-indicator,.admin-product-option .sold-out-overlay{align-items:center;color:#fff;display:flex;justify-content:center;position:absolute}.admin-product-option .selected-indicator{background:#28a745;border-radius:50%;box-shadow:0 2px 4px #28a7454d;font-size:.8rem;font-weight:700;height:24px;right:.75rem;top:.75rem;width:24px;z-index:10}.admin-product-option .style-selection-inline{margin-top:.5rem;width:100%}.admin-product-option .inline-style-select{background:#fff;border:1px solid #ddd;border-radius:.3rem;color:#333;cursor:pointer;font-size:.75rem;padding:.5rem;transition:all .2s ease;width:100%}.admin-product-option .inline-style-select:focus{border-color:#f7c873;box-shadow:0 0 0 2px #f7c87333;outline:none}.admin-product-option .single-style-display{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:.25rem;color:#666;font-size:.7rem;margin-top:.5rem;padding:.25rem .5rem;text-align:center}.admin-product-option.cancel-option-card{background:#fef2f2!important;border:2px dashed #dc3545!important}.admin-product-option.cancel-option-card.selected{background:#fee2e2!important;border-color:#dc3545!important}.admin-product-option.cancel-option .cancel-product-image{align-items:center;color:#dc3545;display:flex;font-size:2.5rem;height:90px;justify-content:center;margin-bottom:.75rem;max-width:120px;width:calc(100% - 8px)}.admin-product-option.cancel-option .cancel-product-info h5{word-wrap:break-word;color:#dc3545!important;font-size:.9rem;font-weight:600;margin:0 0 .25rem;overflow-wrap:break-word}.admin-product-option.cancel-option .cancel-product-info p{word-wrap:break-word;color:#721c24!important;font-size:.8rem;margin:0;overflow-wrap:break-word}.admin-exchange-item-card .cancel-notice{background:#fff3cd;border:1px solid #ffeaa7;border-radius:.5rem;color:#856404;font-size:.8rem;line-height:1.3;margin-top:1rem;padding:.75rem;text-align:center}.edit-button{align-items:center;background:#fff;border:1px solid #f7c873;border-radius:6px;color:#f7c873;cursor:pointer;display:flex;font-size:.85rem;font-weight:500;gap:.25rem;padding:.5rem 1rem;transition:all .2s ease}.edit-button:hover:not(:disabled){background:#f7c873;color:#fff;transform:translateY(-1px)}.edit-button:active{transform:translateY(0)}.batch-edit-modal .modal-header{align-items:center;background:#f8f9fa;border-bottom:1px solid #e0e0e0;color:#495057;display:flex;flex-shrink:0;justify-content:space-between;margin-bottom:0;padding:1rem 1.5rem}.batch-edit-modal .modal-header h2{color:#495057;font-size:1.1rem;font-weight:600;line-height:1.2;margin:0}.batch-edit-modal .close-button{align-items:center;background:#dc3545;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;flex-shrink:0;font-size:1.2rem;font-weight:700;height:32px;justify-content:center;line-height:1;min-height:32px;min-width:32px;transition:all .2s ease;width:32px}.batch-edit-modal .close-button:hover{background:#c82333;transform:scale(1.05)}.batch-edit-modal .modal-actions{background:#fff;border-top:1px solid #e0e0e0;display:flex;flex-shrink:0;gap:1rem;justify-content:flex-end;padding:1rem 1.5rem}.batch-edit-modal .cancel-button{background:#6c757d;border:none;border-radius:.5rem;color:#fff;cursor:pointer;font-size:1rem;font-weight:500;padding:.7rem 1.5rem;transition:all .3s ease}.batch-edit-modal .cancel-button:hover:not(:disabled){background:#5a6268;transform:translateY(-1px)}.batch-edit-modal .cancel-button:disabled{cursor:not-allowed;opacity:.6;transform:none}.batch-edit-modal .confirm-button{background:#f7c873;border:none;border-radius:.5rem;box-shadow:0 2px 4px #f7c8734d;color:#fff;cursor:pointer;font-size:1rem;font-weight:500;padding:.7rem 1.5rem;transition:all .3s ease}.batch-edit-modal .confirm-button:hover:not(:disabled){background:#eea636;box-shadow:0 4px 8px #f7c87366;transform:translateY(-1px)}.batch-edit-modal .confirm-button:disabled{box-shadow:none;cursor:not-allowed;opacity:.6;transform:none}.batch-edit-item-card .product-image-container{border:1px solid #e0e0e0;border-radius:.5rem;flex-shrink:0;height:80px;overflow:hidden;width:80px}.batch-edit-item-card .product-image-container img{height:100%;object-fit:cover;width:100%}.batch-edit-item-card .product-details{flex:1 1;min-width:0;overflow:hidden}.batch-edit-item-card .product-details p{word-wrap:break-word;color:#495057;font-size:.85rem;line-height:1.4;margin:0 0 .25rem;overflow-wrap:break-word;word-break:break-word}.batch-edit-item-card .product-details p strong{color:#333;font-weight:700}.batch-edit-item-card h4{border-bottom:1px solid #e0e0e0;color:#495057;font-size:.95rem;font-weight:600;margin:0 0 .75rem;padding:.25rem 0;text-align:left}.batch-edit-item-card .exchange-arrow{align-items:center;display:flex;justify-content:center;margin:.75rem 0;position:relative}.batch-edit-item-card .arrow-icon{align-items:center;background:#f7c873;border-radius:50%;box-shadow:0 2px 4px #f7c8734d;color:#fff;display:flex;font-size:1rem;height:32px;justify-content:center;width:32px}.batch-edit-item-card .arrow-text{background:#f7c873;border-radius:10px;bottom:-22px;color:#fff;font-size:.65rem;font-weight:500;padding:.2rem .6rem;position:absolute;white-space:nowrap}@media (min-width:1200px){.batch-edit-modal{margin:0 auto;max-width:1800px;width:92%}.product-selection-grid-batch{gap:1.25rem;grid-template-columns:repeat(5,1fr)}.batch-edit-item-card{grid-gap:2rem;align-items:start;display:grid;gap:2rem;grid-template-columns:1fr auto 1fr;padding:1.5rem}.batch-edit-item-card .original-product{grid-column:1}.batch-edit-item-card .exchange-arrow{align-self:center;grid-column:2;margin:0}.batch-edit-item-card .exchange-product{grid-column:3}.batch-edit-item-card .product-image-container{height:100px;width:100px}}@media (min-width:992px) and (max-width:1199px){.batch-edit-modal{margin:0 auto;max-width:1200px;width:95%}.product-selection-grid-batch{gap:1rem;grid-template-columns:repeat(4,1fr)}.batch-edit-item-card{padding:1.25rem}}@media (min-width:769px) and (max-width:991px){.batch-edit-modal{margin:0 auto;max-width:900px;width:96%}.product-selection-grid-batch{gap:1rem;grid-template-columns:repeat(3,1fr)}}@media (max-width:768px){.admin-exchange-modal{border-radius:0;max-height:100vh;width:100%}.admin-modal-header{padding:1rem}.admin-modal-header h2{font-size:1.1rem}.admin-modal-header .pa-info{font-size:.8rem;margin-top:.25rem}.admin-close-button{font-size:1.1rem;height:30px;width:30px}.admin-card-content{display:flex;flex-direction:column;gap:1rem;padding:1.25rem}.admin-card-content .exchange-arrow{margin:.5rem 0;order:2}.admin-card-content .original-product{order:1}.admin-card-content .exchange-product{order:3}.admin-product-selection-grid{gap:.75rem;grid-template-columns:repeat(2,1fr)}.admin-card-content .product-info{flex-direction:column;gap:.75rem;text-align:center}.admin-card-content .detail-row{flex-direction:column;gap:.25rem;justify-content:center;text-align:center}.admin-modal-footer{align-items:stretch;flex-direction:column;gap:1rem;padding:1rem}.footer-actions{width:100%}.admin-cancel-button,.admin-confirm-button{font-size:1rem;padding:.875rem;width:100%}}.batch-product-option .style-selection-inline{margin-top:.5rem;width:100%}.batch-product-option .inline-style-select{background:#fff;border:1px solid #ddd;border-radius:6px;color:#333;cursor:pointer;font-size:.75rem;padding:.5rem;transition:all .2s ease;width:100%}.batch-product-option .inline-style-select:focus{border-color:#f7c873;box-shadow:0 0 0 2px #f7c87333;outline:none}.batch-product-option .single-style-display{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:4px;color:#666;font-size:.7rem;margin-top:.5rem;padding:.25rem .5rem;text-align:center}.batch-product-option .selected-indicator{align-items:center;background:#28a745;border-radius:50%;box-shadow:0 2px 4px #28a7454d;color:#fff;display:flex;font-size:.8rem;font-weight:700;height:24px;justify-content:center;position:absolute;right:.5rem;top:.5rem;width:24px;z-index:10}.batch-edit-item-card .cancel-notice{background:#fff3cd;border:1px solid #ffeaa7;border-radius:8px;color:#856404;font-size:.8rem;line-height:1.3;margin-top:.75rem;padding:.75rem;text-align:center}.modal-overlay{-webkit-overflow-scrolling:touch;overflow:auto}.batch-edit-modal{overflow:hidden;position:relative}.batch-edit-list::-webkit-scrollbar{width:6px}.batch-edit-list::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.batch-edit-list::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.batch-edit-list::-webkit-scrollbar-thumb:hover{background:#a8a8a8}body.modal-open{height:100vh;overflow:hidden}.batch-edit-list{-webkit-overflow-scrolling:touch!important;overflow-x:hidden!important;overflow-y:scroll!important;scroll-behavior:smooth!important;transform:translateZ(0);will-change:scroll-position}.image-modal-overlay{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}.image-modal-close,.image-modal-overlay{-webkit-user-select:none;user-select:none}.image-modal-close{-webkit-appearance:none;appearance:none}.image-modal-close:after{background:#0000;border-radius:50%;bottom:-12px;content:"";left:-12px;position:absolute;right:-12px;top:-12px;z-index:-1}.image-modal-close{backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);background:#000000f2!important}.batch-edit-modal{contain:layout style paint}.batch-edit-list *{box-sizing:border-box}.form-container-card{align-items:stretch;background:linear-gradient(135deg,#f8fffe,#f0f9ff);border:2px solid #e0f2fe;flex-direction:column}.form-completed-card,.form-container-card,.form-skipped-card,.no-questions-card{height:auto!important;min-height:auto!important}.form-container-card .option-product-info{padding:1.2rem;width:100%}.form-content{display:flex;flex-direction:column;gap:1rem}.form-header h5{align-items:center;color:#0369a1;display:flex;font-size:1rem;font-weight:600;gap:.5rem;margin:0 0 .8rem}.questions-container{background:#fff;border:1px solid #e1e8ed;border-radius:8px;box-shadow:0 1px 3px #0000001a;display:flex;flex-direction:column;gap:.8rem;padding:1rem}.question-item{display:flex;flex-direction:column;gap:.5rem}.question-item:not(:last-child){border-bottom:1px solid #f1f5f9;padding-bottom:.8rem}.question-label{color:#374151;font-size:.9rem;font-weight:500;line-height:1.4;margin:0}.required-mark{color:#d93025;font-weight:400;margin-left:2px}.question-answer-input{background:#fff;border:1px solid #d1d5db;border-radius:6px;font-family:inherit;font-size:.85rem;line-height:1.4;min-height:50px;padding:.6rem;resize:vertical;transition:all .2s ease;width:100%}.question-answer-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.question-answer-input::placeholder{color:#9ca3af;font-size:.8rem;font-style:italic}.required-note{color:#6b7280;font-size:.7rem;margin-top:.5rem;text-align:right}.required-note .required-mark{color:#d93025;margin-left:0;margin-right:2px}.form-actions{align-items:center;display:flex;flex-wrap:wrap;gap:.8rem;justify-content:center}.submit-form-button{background:linear-gradient(135deg,#27ae60,#2ecc71);border:none;border-radius:8px;box-shadow:0 2px 8px #2ecc714d;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;min-width:140px;padding:.8rem 2rem;transition:all .3s ease}.submit-form-button:hover:not(:disabled){background:linear-gradient(135deg,#229954,#27ae60);box-shadow:0 4px 12px #2ecc7166;transform:translateY(-2px)}.submit-form-button:disabled{cursor:not-allowed;opacity:.6;transform:none}.skip-form-button{background:linear-gradient(135deg,#e67e22,#f39c12);border:none;border-radius:6px;box-shadow:0 2px 8px #f39c124d;color:#fff;cursor:pointer;font-size:.9rem;font-weight:500;min-width:120px;padding:.6rem 1.5rem;transition:all .3s ease}.skip-form-button:hover{background:linear-gradient(135deg,#d35400,#e67e22);box-shadow:0 4px 12px #f39c1266;transform:translateY(-1px)}.form-completed-card{animation:fadeInScale .5s ease-out;background:linear-gradient(135deg,#d5f4e6,#fafafa);border:2px solid #10b981;height:auto!important;min-height:auto!important}@keyframes fadeInScale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.item-number-badge{animation:fadeIn .3s ease-out;background:linear-gradient(135deg,#3b82f6,#1d4ed8);border-radius:8px;box-shadow:0 2px 6px #3b82f64d;color:#fff;font-size:.75rem;font-weight:600;left:12px;padding:.3rem .6rem;position:absolute;top:12px;z-index:10}.form-completed-card .option-product-info{padding:1.2rem}.form-completed-content{display:flex;flex-direction:column;gap:1rem}.completion-header{align-items:center;display:flex;gap:1rem}.success-animation{align-items:center;display:flex;justify-content:center;position:relative}.success-icon{animation:bounceIn .6s ease-out;font-size:2rem;position:relative;z-index:2}@keyframes bounceIn{0%{transform:scale(0)}50%{transform:scale(1.1)}to{transform:scale(1)}}.success-ripple{animation:ripple 1.5s infinite;border:2px solid #10b981;border-radius:50%;height:40px;opacity:.6;position:absolute;width:40px}@keyframes ripple{0%{opacity:.8;transform:scale(.5)}to{opacity:0;transform:scale(1.5)}}.completion-text h5{color:#065f46;font-size:1.1rem;font-weight:600;margin:0 0 .2rem}.completion-text p{color:#6b7280;font-size:.85rem;margin:0}.answers-summary h6{color:#374151;font-size:.85rem;font-weight:600;margin:0 0 .5rem}.answers-list-compact{background:#f9fafb;border-left:3px solid #10b981;border-radius:6px;max-height:120px;overflow-y:auto;padding:.8rem}.answer-item-compact{margin-bottom:.6rem}.answer-item-compact:last-child{margin-bottom:0}.question-text-compact{color:#374151;font-size:.75rem;font-weight:600;margin-bottom:.2rem}.answer-text-compact{color:#6b7280;font-size:.75rem;font-style:italic;padding-left:.5rem;word-break:break-word}.edit-form-button{align-self:flex-start;background:linear-gradient(135deg,#3b82f6,#6366f1);border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.85rem;font-weight:500;padding:.6rem 1.2rem;transition:all .3s ease}.edit-form-button:hover{background:linear-gradient(135deg,#1d4ed8,#3b82f6);transform:translateY(-1px)}.form-skipped-card{animation:fadeInScale .5s ease-out;background:linear-gradient(135deg,#fef3cd,#fff2cc);border:2px solid #f59e0b;height:auto!important;min-height:auto!important}.form-skipped-card .option-product-info{padding:1.2rem}.form-skipped-content{display:flex;flex-direction:column;gap:1rem}.skip-header{gap:1rem}.skip-animation,.skip-header{align-items:center;display:flex}.skip-animation{justify-content:center;position:relative}.skip-icon{animation:slideIn .6s ease-out;font-size:2rem}.skip-text h5{color:#d97706;font-size:1.1rem;font-weight:600;margin:0 0 .2rem}.skip-text p{color:#6b7280;font-size:.85rem;margin:0}.no-questions-card{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border:2px dashed #dee2e6;height:auto!important;min-height:auto!important;opacity:.8}.no-questions-card .option-product-info{color:#6c757d;padding:2rem;text-align:center}.no-questions-card h5{font-size:1rem;margin:0 0 .5rem}.no-questions-card p{font-size:.9rem;margin:0}.form-questions-grid{grid-gap:.8rem;display:grid;gap:.8rem;grid-template-columns:1fr!important;margin-top:1rem;max-width:100%;width:100%}@media (max-width:768px){.form-container-card .option-product-info{padding:1rem}.questions-container{gap:.6rem;padding:.8rem}.question-item{gap:.4rem}.question-answer-input{font-size:.8rem;min-height:45px;padding:.5rem}.form-actions{flex-direction:column;gap:.6rem}.skip-form-button,.submit-form-button{font-size:.85rem;padding:.7rem 1rem;width:100%}.form-completed-card .option-product-info,.form-skipped-card .option-product-info{padding:1rem}.completion-header,.skip-header{flex-direction:column;gap:.8rem;text-align:center}.answers-list-compact{max-height:100px;padding:.6rem}.form-questions-grid{gap:.6rem;grid-template-columns:1fr!important}.search-section{flex-direction:column;gap:.8rem;margin-bottom:1rem;padding:.8rem}.search-input{font-size:16px;padding:.8rem}.search-button,.search-input{box-sizing:border-box;width:100%}.search-button{padding:.8rem 1rem;white-space:nowrap}.product-image-wrapper{flex-shrink:0;height:80px!important;width:80px!important}.product-image-wrapper .product-image{height:80px!important;max-height:80px!important;max-width:80px!important;object-fit:cover;width:80px!important}.form-placeholder{flex-shrink:0;height:80px!important;width:80px!important}}.cancel-text-config{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;margin-top:1rem;padding:1rem}.cancel-text-config .field-label{color:#495057;font-weight:600;margin-bottom:.5rem}.cancel-text-config .form-input-new{border:1px solid #ced4da;border-radius:6px;font-family:inherit;font-size:.9rem;line-height:1.4;min-height:60px;padding:.75rem;resize:vertical;transition:all .2s ease;width:100%}.cancel-text-config .form-input-new:focus{border-color:#80bdff;box-shadow:0 0 0 .2rem #007bff40;outline:none}.cancel-text-config .help-text{color:#6c757d;font-size:.8rem;margin-bottom:0;margin-top:.5rem}.form-placeholder{align-items:center;background:linear-gradient(135deg,#e3f2fd,#bbdefb);border:2px solid #42a5f5;border-radius:12px;display:flex;flex-direction:column;height:100px;justify-content:center;width:100px}.form-placeholder span{font-size:2rem;margin-bottom:.25rem}.form-placeholder p{color:#1976d2;font-size:.75rem;font-weight:600;margin:0}.form-answers-preview-detail{width:100%}.answers-count{margin-bottom:.8rem}.full-answers-list{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;max-height:200px;overflow-y:auto;padding:.8rem}.full-answer-item{border-bottom:1px solid #e2e8f0;margin-bottom:.8rem;padding-bottom:.6rem}.full-answer-item:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.full-question{color:#1e293b;font-size:.8rem;font-weight:600;line-height:1.3;margin-bottom:.3rem}.full-answer{color:#475569;font-size:.75rem;line-height:1.4;padding-left:.5rem;white-space:pre-wrap;word-break:break-word}.batch-edit-list:before{background:linear-gradient(90deg,#0000,#f7c873,#0000);content:"";height:2px;margin:0 -1rem 1rem;position:-webkit-sticky;position:sticky;top:0;z-index:10}@media (max-width:768px){.cancel-option-card{min-height:280px!important}.cancel-option-card .cancel-product-image{font-size:2.5rem;height:120px;width:120px}.cancel-option-card .cancel-product-info h5{font-size:.75rem}.cancel-option-card .cancel-product-info p{font-size:.65rem}}@media (max-width:480px){.cancel-option-card{min-height:280px!important}.cancel-option-card .cancel-product-image{font-size:2.2rem;height:120px;width:120px}.cancel-option-card .cancel-product-info h5{font-size:.75rem}.cancel-option-card .cancel-product-info p{font-size:.65rem}}.upload-progress-overlay{align-items:center;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000000b3;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:10000}.upload-progress-modal{animation:slideIn .3s ease-out;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-width:500px;padding:2.5rem;width:90%}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.upload-progress-modal h3{color:#333;font-size:1.5rem;font-weight:600;margin:0 0 1.5rem;text-align:center}.progress-info{margin-bottom:1.5rem;min-height:60px;text-align:center}.progress-info p{color:#666;font-size:1.1rem;margin:.5rem 0}.progress-text{color:#4facfe!important;font-size:1.2rem!important;font-weight:600;margin-top:.5rem!important}.progress-bar-container{background:#e0e0e0;height:12px;width:100%}.progress-bar-container,.progress-bar-fill{border-radius:6px;overflow:hidden;position:relative}.progress-bar-fill{background:linear-gradient(90deg,#4facfe,#00f2fe);height:100%;transition:width .3s ease}.progress-bar-fill:after{animation:shimmer 2s infinite;background:linear-gradient(90deg,#0000,#ffffff4d,#0000);bottom:0;content:"";left:0;position:absolute;right:0;top:0}@keyframes shimmer{0%{transform:translateX(-100%)}to{transform:translateX(100%)}}@media (max-width:600px){.upload-progress-modal{padding:2rem;width:95%}.upload-progress-modal h3{font-size:1.3rem}.progress-info p{font-size:1rem}.progress-text{font-size:1.1rem!important}}:root{--primary-50:#eff6ff;--primary-100:#dbeafe;--primary-200:#bfdbfe;--primary-300:#93c5fd;--primary-400:#60a5fa;--primary-500:#3b82f6;--primary-600:#2563eb;--primary-700:#1d4ed8;--primary-800:#1e40af;--primary-900:#1e3a8a;--gray-50:#f9fafb;--gray-100:#f3f4f6;--gray-200:#e5e7eb;--gray-300:#d1d5db;--gray-400:#9ca3af;--gray-500:#6b7280;--gray-600:#4b5563;--gray-700:#374151;--gray-800:#1f2937;--gray-900:#111827;--success-50:#ecfdf5;--success-500:#10b981;--success-600:#059669;--warning-50:#fffbeb;--warning-500:#f59e0b;--warning-600:#d97706;--error-50:#fef2f2;--error-500:#ef4444;--error-600:#dc2626;--shadow-sm:0 1px 2px 0 #0000000d;--shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--shadow-xl:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--radius-sm:0.25rem;--radius:0.375rem;--radius-md:0.5rem;--radius-lg:0.75rem;--radius-xl:1rem;--space-1:0.25rem;--space-2:0.5rem;--space-3:0.75rem;--space-4:1rem;--space-5:1.25rem;--space-6:1.5rem;--space-8:2rem;--space-10:2.5rem;--space-12:3rem;--space-16:4rem;--space-20:5rem}*{box-sizing:border-box}body{background-color:#f9fafb;background-color:var(--gray-50);color:#1f2937;color:var(--gray-800);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.6;padding:0}.modern-container{margin:0 auto;max-width:1200px;padding:0 1rem;padding:0 var(--space-4)}.modern-page{background:linear-gradient(135deg,#eff6ff,#f9fafb);background:linear-gradient(135deg,var(--primary-50) 0,var(--gray-50) 100%);min-height:100vh}.modern-page-header{background:#fff;border-bottom:1px solid #e5e7eb;border-bottom:1px solid var(--gray-200);margin-bottom:2rem;margin-bottom:var(--space-8);padding:1.5rem 0;padding:var(--space-6) 0}.modern-page-header .container{align-items:center;display:flex;gap:1.5rem;gap:var(--space-6);justify-content:space-between}.modern-page-title{align-items:center;display:flex;gap:1rem;gap:var(--space-4)}.modern-page-title h1{color:#111827;color:var(--gray-900);font-size:1.875rem;font-weight:700;letter-spacing:-.025em;margin:0}.modern-page-subtitle{color:#4b5563;color:var(--gray-600);font-size:.875rem;margin-top:.25rem;margin-top:var(--space-1)}.modern-back-btn{align-items:center;background:#fff;border:1px solid #d1d5db;border:1px solid var(--gray-300);border-radius:.375rem;border-radius:var(--radius);box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);color:#374151;color:var(--gray-700);display:inline-flex;font-size:.875rem;font-weight:500;gap:.5rem;gap:var(--space-2);padding:.5rem 1rem;padding:var(--space-2) var(--space-4);text-decoration:none;transition:all .2s}.modern-back-btn:hover{background:#f9fafb;background:var(--gray-50);border-color:#9ca3af;border-color:var(--gray-400);box-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;box-shadow:var(--shadow);color:#111827;color:var(--gray-900);transform:translateY(-1px)}.modern-card{background:#fff;border:1px solid #e5e7eb;border:1px solid var(--gray-200);border-radius:.75rem;border-radius:var(--radius-lg);box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);padding:1.5rem;padding:var(--space-6);transition:all .2s}.modern-card:hover{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;box-shadow:var(--shadow-md)}.modern-card-header{border-bottom:1px solid #e5e7eb;border-bottom:1px solid var(--gray-200);margin-bottom:1.5rem;margin-bottom:var(--space-6);padding-bottom:1rem;padding-bottom:var(--space-4)}.modern-card-title{color:#111827;color:var(--gray-900);font-size:1.125rem;font-weight:600;margin:0}.modern-card-description{color:#4b5563;color:var(--gray-600);font-size:.875rem;margin:.25rem 0 0;margin:var(--space-1) 0 0 0}.modern-stats-grid{grid-gap:1.5rem;grid-gap:var(--space-6);display:grid;gap:1.5rem;gap:var(--space-6);grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:2rem;margin-bottom:var(--space-8)}.modern-stat-card{background:#fff;border:1px solid #e5e7eb;border:1px solid var(--gray-200);border-radius:.75rem;border-radius:var(--radius-lg);box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);overflow:hidden;padding:1.5rem;padding:var(--space-6);position:relative;transition:all .2s}.modern-stat-card:before{background:linear-gradient(90deg,#3b82f6,#60a5fa);background:linear-gradient(90deg,var(--primary-500),var(--primary-400));content:"";height:4px;left:0;position:absolute;right:0;top:0}.modern-stat-card:hover{box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;box-shadow:var(--shadow-lg);transform:translateY(-2px)}.modern-stat-content{align-items:center;display:flex;gap:1rem;gap:var(--space-4)}.modern-stat-icon{align-items:center;background:#dbeafe;background:var(--primary-100);border-radius:.75rem;border-radius:var(--radius-lg);color:#2563eb;color:var(--primary-600);display:flex;font-size:1.5rem;height:48px;justify-content:center;width:48px}.modern-stat-info h3{color:#111827;color:var(--gray-900);font-size:2rem;font-weight:700;line-height:1;margin:0}.modern-stat-info p{color:#4b5563;color:var(--gray-600);margin:.25rem 0 0;margin:var(--space-1) 0 0 0}.modern-btn,.modern-stat-info p{font-size:.875rem;font-weight:500}.modern-btn{align-items:center;border:none;border-radius:.375rem;border-radius:var(--radius);cursor:pointer;display:inline-flex;gap:.5rem;gap:var(--space-2);justify-content:center;padding:.75rem 1rem;padding:var(--space-3) var(--space-4);text-decoration:none;transition:all .2s;white-space:nowrap}.modern-btn:disabled{cursor:not-allowed;opacity:.5}.modern-btn-primary{background:#2563eb;background:var(--primary-600);box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);color:#fff}.modern-btn-primary:hover:not(:disabled){background:#1d4ed8;background:var(--primary-700);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;box-shadow:var(--shadow-md);transform:translateY(-1px)}.modern-btn-secondary{background:#fff;border:1px solid #d1d5db;border:1px solid var(--gray-300);box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);color:#374151;color:var(--gray-700)}.modern-btn-secondary:hover:not(:disabled){background:#f9fafb;background:var(--gray-50);border-color:#9ca3af;border-color:var(--gray-400);box-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;box-shadow:var(--shadow);color:#111827;color:var(--gray-900);transform:translateY(-1px)}.modern-btn-success{background:#059669;background:var(--success-600);box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);color:#fff}.modern-btn-success:hover:not(:disabled){background:#10b981;background:var(--success-500);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;box-shadow:var(--shadow-md);transform:translateY(-1px)}.modern-btn-warning{background:#d97706;background:var(--warning-600);box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);color:#fff}.modern-btn-warning:hover:not(:disabled){background:#f59e0b;background:var(--warning-500);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;box-shadow:var(--shadow-md);transform:translateY(-1px)}.modern-btn-danger{background:#dc2626;background:var(--error-600);box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);color:#fff}.modern-btn-danger:hover:not(:disabled){background:#ef4444;background:var(--error-500);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;box-shadow:var(--shadow-md);transform:translateY(-1px)}.modern-btn-sm{font-size:.8125rem;padding:.5rem .75rem;padding:var(--space-2) var(--space-3)}.modern-btn-lg{font-size:1rem;padding:1rem 1.5rem;padding:var(--space-4) var(--space-6)}.modern-input{background:#fff;border:1px solid #d1d5db;border:1px solid var(--gray-300);border-radius:.375rem;border-radius:var(--radius);font-size:.875rem;padding:.75rem 1rem;padding:var(--space-3) var(--space-4);transition:all .2s;width:100%}.modern-input:focus{border-color:#3b82f6;border-color:var(--primary-500);box-shadow:0 0 0 3px #dbeafe;box-shadow:0 0 0 3px var(--primary-100);outline:none}.modern-input::placeholder{color:#9ca3af;color:var(--gray-400)}.modern-select{background:#fff;border:1px solid #d1d5db;border:1px solid var(--gray-300);border-radius:.375rem;border-radius:var(--radius);cursor:pointer;font-size:.875rem;padding:.75rem 1rem;padding:var(--space-3) var(--space-4);transition:all .2s;width:100%}.modern-select:focus{border-color:#3b82f6;border-color:var(--primary-500);box-shadow:0 0 0 3px #dbeafe;box-shadow:0 0 0 3px var(--primary-100);outline:none}.modern-form-group{margin-bottom:1.25rem;margin-bottom:var(--space-5)}.modern-form-label{color:#374151;color:var(--gray-700);display:block;font-size:.875rem;font-weight:500;margin-bottom:.5rem;margin-bottom:var(--space-2)}.modern-search-container{align-items:center;display:flex;position:relative}.modern-search-input{padding-left:2.5rem;padding-left:var(--space-10);padding-right:2.5rem;padding-right:var(--space-10)}.modern-search-icon{left:.75rem;left:var(--space-3);pointer-events:none}.modern-search-clear,.modern-search-icon{color:#9ca3af;color:var(--gray-400);position:absolute}.modern-search-clear{background:none;border:none;border-radius:.25rem;border-radius:var(--radius-sm);cursor:pointer;padding:.25rem;padding:var(--space-1);right:.75rem;right:var(--space-3);transition:all .2s}.modern-search-clear:hover{background:#f3f4f6;background:var(--gray-100);color:#4b5563;color:var(--gray-600)}.modern-grid{grid-gap:1.5rem;grid-gap:var(--space-6);display:grid;gap:1.5rem;gap:var(--space-6)}.modern-grid-2{grid-template-columns:repeat(2,1fr)}.modern-grid-3{grid-template-columns:repeat(3,1fr)}.modern-grid-4{grid-template-columns:repeat(4,1fr)}.modern-grid-auto{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}@media (max-width:768px){.modern-container{padding:0 .75rem;padding:0 var(--space-3)}.modern-grid-2,.modern-grid-3,.modern-grid-4,.modern-stats-grid{grid-template-columns:1fr}.modern-page-header .container{align-items:flex-start;flex-direction:column;gap:1rem;gap:var(--space-4)}}.modern-loading{align-items:center;color:#6b7280;color:var(--gray-500);display:flex;justify-content:center;padding:3rem;padding:var(--space-12)}.modern-spinner{animation:spin 1s linear infinite;border:2px solid #e5e7eb;border-top:2px solid #3b82f6;border:2px solid var(--gray-200);border-radius:50%;border-top-color:var(--primary-500);height:24px;margin-right:.75rem;margin-right:var(--space-3);width:24px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.modern-empty{color:#6b7280;color:var(--gray-500);padding:4rem;padding:var(--space-16);text-align:center}.modern-empty-icon{font-size:3rem;margin-bottom:1rem;margin-bottom:var(--space-4);opacity:.5}.modern-empty h3{color:#4b5563;color:var(--gray-600);font-weight:600;margin:0 0 .5rem;margin:0 0 var(--space-2) 0}.modern-empty p{color:#6b7280;color:var(--gray-500);margin:0}.modern-badge{align-items:center;border-radius:.25rem;border-radius:var(--radius-sm);display:inline-flex;font-size:.75rem;font-weight:500;padding:.25rem .5rem;padding:var(--space-1) var(--space-2)}.modern-badge-primary{background:#dbeafe;background:var(--primary-100);color:#1e40af;color:var(--primary-800)}.modern-badge-success{background:#ecfdf5;background:var(--success-50);color:#059669;color:var(--success-600)}.modern-badge-warning{background:#fffbeb;background:var(--warning-50);color:#d97706;color:var(--warning-600)}.modern-badge-error{background:#fef2f2;background:var(--error-50);color:#dc2626;color:var(--error-600)}.modern-badge-gray{background:#f3f4f6;background:var(--gray-100);color:#4b5563;color:var(--gray-600)}.modern-divider{background:#e5e7eb;background:var(--gray-200);height:1px;margin:1.5rem 0;margin:var(--space-6) 0}.modern-modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;padding:var(--space-4);position:fixed;right:0;top:0;z-index:1000}.modern-modal{background:#fff;border-radius:.75rem;border-radius:var(--radius-lg);box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;box-shadow:var(--shadow-xl);max-height:90vh;max-width:500px;overflow-y:auto;width:100%}.modern-modal-header{align-items:center;border-bottom:1px solid #e5e7eb;border-bottom:1px solid var(--gray-200);display:flex;justify-content:between;padding:1.5rem;padding:var(--space-6)}.modern-modal-title{color:#111827;color:var(--gray-900);flex:1 1;font-size:1.125rem;font-weight:600;margin:0}.modern-modal-close{background:none;border:none;border-radius:.25rem;border-radius:var(--radius-sm);color:#9ca3af;color:var(--gray-400);cursor:pointer;font-size:1.5rem;padding:.25rem;padding:var(--space-1);transition:all .2s}.modern-modal-close:hover{background:#f3f4f6;background:var(--gray-100);color:#4b5563;color:var(--gray-600)}.modern-modal-body,.modern-modal-footer{padding:1.5rem;padding:var(--space-6)}.modern-modal-footer{border-top:1px solid #e5e7eb;border-top:1px solid var(--gray-200);display:flex;gap:.75rem;gap:var(--space-3);justify-content:flex-end}.modern-toolbar{align-items:center;display:flex;gap:1rem;gap:var(--space-4);justify-content:space-between;margin-bottom:1.5rem;margin-bottom:var(--space-6);padding:1rem 0;padding:var(--space-4) 0}.modern-toolbar-left,.modern-toolbar-right{align-items:center;display:flex;gap:.75rem;gap:var(--space-3)}.modern-fade-in{animation:fadeIn .3s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.modern-slide-up{animation:slideUp .3s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modern-tooltip{position:relative}.modern-tooltip:hover:after{background:#111827;background:var(--gray-900);border-radius:.375rem;border-radius:var(--radius);color:#fff;content:attr(data-tooltip);font-size:.75rem;margin-bottom:.5rem;margin-bottom:var(--space-2);padding:.5rem .75rem;padding:var(--space-2) var(--space-3);white-space:nowrap}.modern-tooltip:hover:after,.modern-tooltip:hover:before{bottom:100%;left:50%;position:absolute;transform:translateX(-50%);z-index:100}.modern-tooltip:hover:before{border:4px solid #0000;border-top:4px solid var(--gray-900);content:"";margin-bottom:2px}.selected-card{background:#eff6ff!important;background:var(--primary-50)!important;border-color:#3b82f6!important;border-color:var(--primary-500)!important;box-shadow:0 0 0 3px #dbeafe!important;box-shadow:0 0 0 3px var(--primary-100)!important}.modern-table{background:#fff;border-collapse:collapse;border-radius:.75rem;border-radius:var(--radius-lg);box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);overflow:hidden;width:100%}.modern-table th{background:#f9fafb;background:var(--gray-50);border-bottom:1px solid #e5e7eb;border-bottom:1px solid var(--gray-200);color:#374151;color:var(--gray-700);font-weight:600;text-align:left}.modern-table td,.modern-table th{padding:.75rem 1rem;padding:var(--space-3) var(--space-4)}.modern-table td{border-bottom:1px solid #f3f4f6;border-bottom:1px solid var(--gray-100)}.modern-table tr:hover{background:#f9fafb;background:var(--gray-50)}.modern-progress{background:#e5e7eb;background:var(--gray-200);height:8px;overflow:hidden;width:100%}.modern-progress,.modern-progress-bar{border-radius:.375rem;border-radius:var(--radius)}.modern-progress-bar{height:100%;transition:width .3s ease}.modern-progress-primary{background:#3b82f6;background:var(--primary-500)}.modern-progress-success{background:#10b981;background:var(--success-500)}.modern-progress-warning{background:#f59e0b;background:var(--warning-500)}.modern-progress-error{background:#ef4444;background:var(--error-500)}.modern-tabs{background:#f3f4f6;background:var(--gray-100);border-radius:.375rem;border-radius:var(--radius);display:flex;padding:.25rem;padding:var(--space-1)}.modern-tab{background:none;border:none;border-radius:.25rem;border-radius:var(--radius-sm);color:#4b5563;color:var(--gray-600);cursor:pointer;flex:1 1;font-weight:500;padding:.5rem 1rem;padding:var(--space-2) var(--space-4);transition:all .2s}.modern-tab.active{background:#fff;box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);color:#2563eb;color:var(--primary-600)}.modern-tab:hover:not(.active){color:#374151;color:var(--gray-700)}.modern-accordion{border:1px solid #e5e7eb;border:1px solid var(--gray-200);border-radius:.75rem;border-radius:var(--radius-lg);overflow:hidden}.modern-accordion-item{border-bottom:1px solid #e5e7eb;border-bottom:1px solid var(--gray-200)}.modern-accordion-item:last-child{border-bottom:none}.modern-accordion-header{align-items:center;background:none;border:none;color:#111827;color:var(--gray-900);cursor:pointer;display:flex;font-weight:500;justify-content:space-between;padding:1rem;padding:var(--space-4);text-align:left;transition:background .2s;width:100%}.modern-accordion-header:hover{background:#f9fafb;background:var(--gray-50)}.modern-accordion-content{color:#374151;color:var(--gray-700);padding:0 1rem 1rem;padding:0 var(--space-4) var(--space-4) var(--space-4)}.customer-page{background:linear-gradient(135deg,#eff6ff,#fff);background:linear-gradient(135deg,var(--primary-50) 0,#fff 100%);min-height:100vh}.customer-header{background:#fff;box-shadow:0 1px 2px 0 #0000000d;box-shadow:var(--shadow-sm);margin-bottom:2rem;margin-bottom:var(--space-8);padding:2rem 1rem;padding:var(--space-8) var(--space-4);text-align:center}.customer-brand-logo{border-radius:.75rem;border-radius:var(--radius-lg);height:60px;margin-bottom:1rem;margin-bottom:var(--space-4)}.customer-search-section{margin:0 auto 2rem;margin:0 auto var(--space-8) auto;max-width:500px;padding:0 1rem;padding:0 var(--space-4)}.customer-search-container{display:flex;gap:.5rem;gap:var(--space-2)}.customer-search-input{border:2px solid #d1d5db;border:2px solid var(--gray-300);border-radius:.75rem;border-radius:var(--radius-lg);flex:1 1;font-size:1rem;padding:1rem;padding:var(--space-4);transition:all .2s}.customer-search-input:focus{border-color:#3b82f6;border-color:var(--primary-500);box-shadow:0 0 0 3px #dbeafe;box-shadow:0 0 0 3px var(--primary-100);outline:none}.customer-search-btn{background:#2563eb;background:var(--primary-600);border:none;border-radius:.75rem;border-radius:var(--radius-lg);color:#fff;cursor:pointer;font-weight:600;padding:1rem 1.5rem;padding:var(--space-4) var(--space-6);transition:all .2s}.customer-search-btn:hover:not(:disabled){background:#1d4ed8;background:var(--primary-700);transform:translateY(-1px)}.customer-search-btn:disabled{cursor:not-allowed;opacity:.6}.exchange-product-card{background:#fff;border:2px solid #e5e7eb;border:2px solid var(--gray-200);border-radius:.75rem;border-radius:var(--radius-lg);cursor:pointer;padding:1rem;padding:var(--space-4);transition:all .2s}.exchange-product-card:hover{border-color:#93c5fd;border-color:var(--primary-300);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;box-shadow:var(--shadow-lg);transform:translateY(-2px)}.exchange-product-card.selected{background:#eff6ff;background:var(--primary-50);border-color:#3b82f6;border-color:var(--primary-500);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;box-shadow:var(--shadow-md);transform:translateY(-1px)}.exchange-product-card.sold-out{cursor:not-allowed;opacity:.6;position:relative}.exchange-product-card.sold-out:after{background:#000c;border-radius:.375rem;border-radius:var(--radius);color:#fff;content:"已售完";font-weight:600;left:50%;padding:.5rem .75rem;padding:var(--space-2) var(--space-3);position:absolute;top:50%;transform:translate(-50%,-50%)}details.modern-card summary{background:#f9fafb;background:var(--gray-50);border-radius:.75rem .75rem 0 0;border-radius:var(--radius-lg) var(--radius-lg) 0 0;cursor:pointer;margin:-1.5rem;margin:calc(var(--space-6)*-1);margin-bottom:1rem;margin-bottom:var(--space-4);padding:1rem;padding:var(--space-4);transition:background .2s}details.modern-card summary:hover{background:#f3f4f6;background:var(--gray-100)}details.modern-card[open] summary{border-bottom:1px solid #e5e7eb;border-bottom:1px solid var(--gray-200);border-radius:.75rem .75rem 0 0;border-radius:var(--radius-lg) var(--radius-lg) 0 0}@keyframes marquee{0%{transform:translateX(100%)}to{transform:translateX(-100%)}}@media print{.customer-search-btn,.modern-back-btn,.modern-btn,.modern-toolbar{display:none!important}.customer-page,.modern-page{background:#fff!important}.modern-card{border:1px solid #d1d5db!important;border:1px solid var(--gray-300)!important;box-shadow:none!important}}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}
/*# sourceMappingURL=main.404d8eaa.css.map*/