.product-editor-dialog{width:min(960px,calc(100vw - 40px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #d9e2ee;border-radius:10px;color:#24344b;background:#fff;box-shadow:0 18px 65px #172b4d30;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}
.product-editor-dialog::backdrop{background:#14223769}.pe-heading{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;border-bottom:1px solid #e5eaf1}.pe-heading h2{font-size:19px;margin:0}.pe-heading p{font-size:13px;margin:3px 0 0;color:#6b778b}.pe-steps{display:flex;gap:30px;padding:13px 24px;border-bottom:1px solid #e5eaf1;color:#7b8697;font-size:14px}.pe-steps [aria-current]{color:#2563ce;font-weight:600}.pe-body{padding:22px 24px;max-height:calc(100dvh - 265px);overflow:auto;overscroll-behavior:contain}.pe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}.pe-field{display:flex;flex-direction:column;gap:6px;min-width:0;font-weight:500}.pe-field small,.pe-note{font-size:13px;line-height:1.6;font-weight:400;color:#68778b}.pe-field input,.pe-field select,.pe-field textarea,.pe-rule select,.pe-rule textarea{width:100%;min-width:0;min-height:36px;padding:7px 10px;border:1px solid #cfd9e6;border-radius:5px;background:#fff;color:#24344b;font:inherit;box-sizing:border-box}.pe-field input:focus,.pe-rule select:focus,.pe-field select:focus,.pe-rule textarea:focus{outline:2px solid #c5dafb;outline-offset:1px;border-color:#4688e9}.pe-field select:disabled{background:#f7f9fc;color:#63738a}.pe-extra{margin-top:20px;border-top:1px solid #e6ebf2;padding-top:14px}.pe-extra summary{cursor:pointer;color:#526780;margin-bottom:14px}.pe-section{margin:0 0 20px}.pe-section h3,.pe-review h3{font-size:15px;margin:0 0 12px}.pe-section-title{display:flex;justify-content:space-between;align-items:center}.pe-picture-grid{display:grid;grid-template-columns:1fr 2fr;gap:20px}.pe-picture-grid label{display:block;margin-bottom:8px}.pe-images{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.pe-image{width:72px;height:72px;object-fit:cover;border:1px solid #e0e6ef;border-radius:5px;background:#f7f9fb}.pe-image-empty{display:inline-flex;align-items:center;justify-content:center;color:#91a0b2;font-size:12px}.pe-sku,.pe-rule{border:1px solid #e0e6ef;border-radius:6px;padding:14px 16px;margin:12px 0}.pe-sku legend,.pe-rule legend{font-size:14px;font-weight:600;padding:0 5px}.pe-sku-footer{display:flex;align-items:center;gap:10px;margin-top:12px}.pe-sku-footer .pe-image{width:36px;height:36px;font-size:10px}.pe-rule-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}.pe-rule>textarea{resize:vertical}.pe-checks{display:flex;flex-wrap:wrap;gap:12px 20px}.pe-checks label{display:inline-flex;align-items:center;gap:6px}.pe-checks input{width:16px;height:16px}.pe-retained{margin:3px 0;color:#68778b}.pe-unsupported{margin:3px 0;color:#a86816}.pe-error{color:#c73a4b;padding:0 24px;white-space:pre-wrap}.pe-error:not(:empty){padding-top:10px;padding-bottom:10px}.pe-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #e5eaf1;padding:14px 24px;background:#fff}.pe-footer>div{display:flex;gap:9px}.pe-footer .button,.pe-body .button{min-height:34px;padding:6px 13px;font-size:14px;white-space:nowrap}.pe-review-product{display:flex;align-items:center;gap:16px;margin:14px 0 20px}.pe-review-product p{margin:4px 0;color:#68778b}.pe-review table{width:100%;border-collapse:collapse;font-size:14px}.pe-review th,.pe-review td{padding:9px 12px;border:1px solid #e0e6ef;text-align:center}.pe-review th{background:#f7f9fc}.product-editor-dialog button:focus-visible{outline:2px solid #387fe1;outline-offset:3px}.product-editor-dialog .primary:hover{color:#fff}.pe-form{margin:0}
@media(max-width:680px){.product-editor-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.pe-heading,.pe-steps{padding:13px 16px}.pe-body{padding:16px;max-height:calc(100dvh - 250px)}.pe-grid,.pe-picture-grid,.pe-rule-controls{grid-template-columns:1fr}.pe-footer{padding:12px 16px}.pe-footer>.pe-note{display:none}.pe-steps{gap:16px;font-size:13px}.pe-error{padding-left:16px;padding-right:16px}}
