.fd-product-create{width:min(960px,calc(100vw - 40px));max-height:92vh;overflow:auto;background:var(--panel,#fff);border:1px solid #dddff2;border-radius:22px;box-shadow:0 28px 80px #28235630}
.fd-product-create .modal-head h3{margin:0}.fd-product-create .modal-head p{margin:8px 0 0}
.fd-create-tabs{display:flex;gap:8px;padding:16px 24px 0}
.fd-create-tabs button{padding:12px 18px;border:1px solid #e2e0f4;border-radius:12px;background:#f7f7fc;color:#65708a;font:inherit;cursor:pointer}
.fd-create-tabs button[aria-selected=true]{color:#6252eb;background:#eeebff;border-color:#cfc6ff;box-shadow:0 3px 10px #7663dd12}
#productCreateFrame{display:block;width:100%;height:min(660px,70vh);border:0;background:transparent}
#productCreateFrame[hidden],#productCopyForm[hidden]{display:none}
#productCopyForm{padding:28px;min-height:390px}#productCopyForm p{color:#73819a;line-height:1.8;max-width:720px}
#productCopyForm select{width:100%;padding:12px;border:1px solid #dce1f2;border-radius:10px;background:var(--panel,#fff);color:inherit;font:inherit}
.fd-product-create button:focus-visible{outline:3px solid #b9adff;outline-offset:2px}
.fd-product-create{scrollbar-gutter:stable;overflow-anchor:none}
.fd-product-create .modal-head{position:sticky;top:0;z-index:2;background:var(--panel,#fff)}
#productCopyForm{padding:18px 24px;min-height:0}#productCopyForm>h3{margin:0 0 8px;font-size:17px}#productCopyForm>p{margin:0 0 14px;font-size:13px;line-height:1.65;max-width:none}
#productCopyForm .form-field{margin-bottom:12px}#productCopyForm .fd-product-picker{margin:0}
.fd-product-picker.is-compact .fd-product-picker-results{grid-template-columns:repeat(2,minmax(0,1fr));font-size:13px}
.fd-product-picker.is-compact>div:first-of-type{display:flex;align-items:center;gap:6px;height:28px;white-space:nowrap}
.fd-product-picker [aria-busy=true]{opacity:.6}
#productCopyForm .modal-actions{position:sticky;bottom:-18px;z-index:1;background:var(--panel,#fff);padding:12px 0;margin-top:12px;border-top:1px solid var(--border,#dce1f2)}
#productCopyForm .fd-remix-modes{margin:12px 0;gap:8px}#productCopyForm .fd-remix-modes label{padding:8px 10px;font-size:13px}
@media(max-width:600px){.fd-product-picker.is-compact .fd-product-picker-results{grid-template-columns:minmax(0,1fr)}.fd-remix-modes small{display:none}}
.fd-remix-modes{display:flex;flex-wrap:wrap;gap:12px;border:0;padding:0;margin:20px 0}.fd-remix-modes legend{font-size:13px;margin-bottom:8px}.fd-remix-modes label{display:flex;align-items:center;gap:8px;padding:12px;border:1px solid #dce1f2;border-radius:10px;cursor:pointer}.fd-remix-modes small{color:#73819a}.fd-remix-modes input{width:auto!important;accent-color:var(--primary,#7660ff)}
#copyAgentFields[hidden]{display:none}#copyAgentFields textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid #dce1f2;border-radius:10px;background:var(--panel,#fff);font:inherit;color:inherit;resize:vertical;line-height:1.7}#copyAgentFields small{display:block;color:#73819a;line-height:1.7;margin-top:8px}
@media(max-width:600px){.fd-create-tabs{padding:12px}.fd-create-tabs button{flex:1;padding:10px}.fd-product-create{width:calc(100vw - 20px)}#productCopyForm{padding:18px}}
