.qd-page{font-size:14px;color:#24364b}.qd-top,.qd-controls{background:#fff;border-radius:10px;padding:20px;display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:16px;flex-wrap:wrap}.qd-top h3{font-size:23px;font-weight:700;margin:0 0 8px}.qd-top p{margin:0;color:#7e8299}.qd-actions,.qd-filters{display:flex;gap:8px;flex-wrap:wrap}.qd-btn{border:1px solid transparent;background:#3699ff;color:#fff;padding:9px 13px;border-radius:6px;cursor:pointer;line-height:1.4;font-size:13px;white-space:normal}.qd-btn.light{background:#eef6ff;color:#3699ff;border-color:#d9e9ff}.qd-btn.active{background:#7366ff}.qd-btn:disabled{opacity:.45;cursor:default}.qd-search{border:1px solid #e4e6ef;padding:10px 12px;border-radius:6px;min-width:260px;max-width:100%}.qd-notice{background:#f3f7fc;padding:12px 16px;margin:12px 0;border-radius:6px;color:#65758d;line-height:1.6}.qd-notice.error{background:#fff0f2;color:#d53d54}.qd-notice.success{background:#eaf9f0;color:#168652}.qd-progress{margin:12px 0 18px;display:flex;align-items:center;gap:16px}.qd-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.qd-group{background:#fff;border:1px solid #e4e6ef;border-radius:10px;overflow:hidden;box-shadow:0 2px 8px #20354d06}.qd-group>header{display:flex;align-items:center;gap:8px;padding:15px 15px 0;flex-wrap:wrap}.qd-group>header strong{font-size:13px}.qd-group>header .qd-btn{margin-left:auto;padding:5px 9px}.qd-badge{font-size:12px;border-radius:4px;padding:3px 7px;background:#fff2cc;color:#b57e0c}.qd-badge.high{background:#e8faee;color:#17964c}.qd-badge.conflict{background:#fff0f2;color:#d53d54}.qd-score{display:flex;justify-content:space-between;gap:10px;padding:10px 15px 0;font-size:12px;color:#65758d}.qd-score>span{color:#3699ff}.qd-reasons{margin:0 15px 14px;padding:10px;background:#f7f8fb;border-radius:5px;font-size:12px;min-height:65px}.qd-reasons p{margin:7px 0 0;color:#7e8299}.qd-reasons .qd-danger{color:#d53d54}.qd-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 15px 15px}.qd-product{border:2px solid #e4e6ef;border-radius:7px;overflow:hidden;background:#fafbfc}.qd-product.primary{border-color:#3699ff;background:#edf6ff}.qd-product.chosen{border-color:#67bd56;background:#f2faef}.qd-product-top{display:flex;justify-content:space-between;align-items:center;padding:7px;gap:8px}.qd-product-top .qd-btn{padding:3px 7px;font-size:12px}.qd-product input[type=checkbox],.qd-confirm input{width:17px;height:17px;accent-color:#3699ff;flex-shrink:0}.qd-product>img{display:block;object-fit:contain;width:100%;height:175px;background:#fff;cursor:zoom-in}.qd-product dl{display:grid;grid-template-columns:32px minmax(0,1fr);gap:7px 6px;padding:10px;margin:0;font-size:12px;line-height:1.5}.qd-product dt{font-weight:400;color:#8b96a8}.qd-product dd{margin:0;word-break:break-word}.qd-version{display:inline-block;padding:1px 5px;border:1px solid #d9e2ef;border-radius:3px;margin:0 3px 3px 0;background:#fff}.qd-group>footer{display:flex;justify-content:space-between;gap:8px;padding:14px;background:#fafbfc;border-top:1px solid #edf0f5}.qd-pagination{display:flex;justify-content:center;align-items:center;gap:18px;padding:24px}.qd-empty{text-align:center;padding:70px;background:#fff;border-radius:10px;color:#7e8299}.qd-history{background:#fff;padding:16px;border-radius:8px;line-height:2}.qd-overlay{position:fixed;inset:0;z-index:2200;background:#18263888;display:flex;align-items:center;justify-content:center;padding:20px}.qd-modal{background:#fff;width:900px;max-width:100%;max-height:92vh;border-radius:10px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 10px 50px #101d3a44}.qd-modal>header{padding:18px 24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0f5}.qd-modal h3{margin:0;font-size:20px}.qd-modal-body{padding:20px 24px;overflow:auto}.qd-modal>footer{padding:16px 24px;border-top:1px solid #edf0f5;display:flex;gap:12px;justify-content:flex-end}.qd-compare{display:flex;gap:18px;flex-wrap:wrap}.qd-compare>div{flex:1;min-width:240px}.qd-compare img{width:100%;height:350px;object-fit:contain}.qd-preview-table{width:100%;font-size:13px}.qd-preview-table td,.qd-preview-table th{padding:9px;border-bottom:1px solid #edf0f5;word-break:break-word}.qd-confirm{display:flex;align-items:flex-start;gap:8px;margin:16px 0;line-height:1.7}@media(max-width:1550px){.qd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1000px){.qd-grid{grid-template-columns:1fr}.qd-top{align-items:flex-start}.qd-controls{gap:12px}}@media(max-width:500px){.qd-products{padding:0 8px 12px;gap:6px}.qd-product>img{height:130px}.qd-group>footer{flex-wrap:wrap}.qd-modal-body{padding:14px}.qd-top,.qd-controls{padding:14px}}
.qd-page button.qd-btn{color:#fff!important}.qd-page button.qd-btn.light{color:#3699ff!important}.qd-page .qd-search{outline:none}.qd-page .qd-search:focus{border-color:#3699ff;box-shadow:0 0 0 2px #3699ff1a}

.qd-host-overlay{position:fixed;inset:0;background:#18263888;z-index:2100;display:flex;align-items:center;justify-content:center;padding:24px}.qd-host-panel{width:1800px;max-width:100%;height:94vh;max-height:100%;background:#eef0f8;border-radius:12px;overflow:auto;box-shadow:0 12px 50px #101d3a44;outline:none;overscroll-behavior:contain}.qd-host-panel>.qd-page{padding:20px}.qd-host-panel .qd-top{position:sticky;top:0;z-index:2;box-shadow:0 2px 8px #18263808}.qd-host-panel .qd-top .qd-actions{align-items:center}.qd-host-panel .qd-top .qd-actions>.qd-btn:first-child{order:10;margin-left:8px}.qd-host-panel .qd-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:1550px){.qd-host-panel .qd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1000px){.qd-host-overlay{padding:12px}.qd-host-panel>.qd-page{padding:14px}.qd-host-panel .qd-grid{grid-template-columns:1fr}.qd-host-panel .qd-top{position:static}}@media(max-width:500px){.qd-host-overlay{padding:6px}.qd-host-panel>.qd-page{padding:8px}.qd-host-panel .qd-controls .qd-search{min-width:0;width:100%}.qd-host-panel .qd-top .qd-actions{gap:6px}.qd-host-panel .qd-top .qd-actions>.qd-btn:first-child{margin-left:0}.quote-product-import-actions{width:100%;justify-content:flex-end}}

.qd-host-panel{position:absolute;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px)}.qd-host-panel>.qd-page{padding:16px}.qd-host-panel .qd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.qd-host-panel .qd-product.primary{background:#edf5ff!important;color:#243652;border-color:#3699ff!important}.qd-host-panel .qd-product.primary .qd-product-top{background:#edf5ff}@media(max-width:900px){.qd-host-panel .qd-grid{grid-template-columns:1fr}}
