body{padding:20px;background:#f5f7fa;font-family:"Microsoft YaHei","PingFang SC",sans-serif;color:#243247;overflow-y:auto}
.ibox{background:#fff;border-radius:9px;box-shadow:0 2px 12px #0f172a0d}.ibox-title{padding:16px 20px;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between;gap:12px}.ibox-title h1{font-size:17px;font-weight:600;margin:0}.ibox-content{padding:18px 20px}.search-group{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin-bottom:14px}.search-group label{font-size:13px}.search-field{flex:1;max-width:430px;min-width:160px}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}.muted{color:#66758a;font-size:12px;line-height:1.6}.table{font-size:13px}.table th{white-space:nowrap}.sku-img{width:54px;height:66px;object-fit:contain;border-radius:6px;border:1px solid #dce3ed;background:#f8fafc}.image-button{border:0;padding:0;background:transparent;cursor:zoom-in}.image-empty{width:54px;height:66px;display:flex;align-items:center;justify-content:center;border:1px dashed #d1d9e3;border-radius:6px;font-size:11px;color:#66758a;background:#f8fafc}.record-title{max-width:340px;min-width:170px;overflow-wrap:anywhere}.record-title a{color:inherit;text-decoration:none}.record-title a:hover{text-decoration:underline}.badge-note{font-size:12px;border-radius:4px;padding:3px 6px;display:inline-block;background:#edf4ff;color:#23599f}.empty-row{text-align:center;color:#66758a;padding:28px!important}.pagebar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.toast-wrap{position:fixed;top:18px;left:50%;transform:translateX(-50%);z-index:11000;width:max-content;max-width:90vw}.toast-msg{padding:10px 18px;border-radius:7px;color:#fff;background:#315fbb;box-shadow:0 4px 12px #0f172a26;margin-bottom:8px}.toast-msg.error{background:#ba3546}.detail-mask{display:none;position:fixed;inset:0;background:#0f172a66;z-index:9998;align-items:center;justify-content:center;padding:18px}.detail-box{width:min(1000px,96vw);max-height:90vh;background:#fff;border-radius:9px;box-shadow:0 14px 38px #0003;display:flex;flex-direction:column}.detail-head,.detail-foot{padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e5e7eb}.detail-head h2{font-size:17px;margin:0}.detail-body{padding:16px 18px;overflow:auto}.detail-foot{border-top:1px solid #e5e7eb;border-bottom:0;flex-wrap:wrap}.variant-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;margin:12px 0}.variant-card{border:1px solid #dce3ed;border-radius:7px;padding:12px;min-width:0}.variant-card.selected{border-color:#518df2;background:#f6faff}.variant-top{display:flex;gap:10px;align-items:flex-start}.variant-top .sku-img,.variant-top .image-empty{width:82px;height:100px}.variant-info{min-width:0;flex:1;overflow-wrap:anywhere}.variant-label{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:600;margin-bottom:7px}.variant-label input,.record-check,#recordCheckAll{width:17px;height:17px;accent-color:#2477e8}.variant-name{font-size:13px;line-height:1.6;margin:0 0 8px;overflow-wrap:anywhere}.source-price{font-weight:600;color:#224e85}.detail-body pre{white-space:pre-wrap;word-break:break-all;font-size:12px;background:#f6f8fb;padding:12px}.technical{margin-top:18px;color:#66758a;font-size:12px}.technical summary{cursor:pointer}.selection-help{padding:10px 12px;background:#eef6ff;border-radius:6px;color:#305a88;font-size:13px}.image-preview{width:min(880px,94vw)}.image-preview img{max-width:100%;max-height:72vh;display:block;margin:auto;object-fit:contain}.detail-mask button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #79a9ff;outline-offset:2px}
@media(max-width:600px){body{padding:10px}.ibox-content{padding:12px}.ibox-title{padding:14px 12px}.detail-mask{padding:8px}.detail-body{padding:12px}.variant-grid{grid-template-columns:1fr}.detail-foot .btn{flex:1}.record-title{min-width:150px}}
