.product-card-connections{margin:8px 0;border:1px solid var(--bdr);border-radius:10px;font-size:12px;min-width:0}.product-card-connections>summary{display:flex;align-items:center;gap:6px;cursor:pointer;min-height:44px;padding:8px;box-sizing:border-box;list-style:none}.product-card-connections>div{padding:0 8px 8px}.product-connection-row{display:flex;gap:8px;align-items:center;border-top:1px solid var(--bdr);padding:8px 0}.product-connection-row>div{flex:1;min-width:0}.product-connection-row strong,.product-connection-row small{display:block;overflow-wrap:anywhere}.product-connection-row small,.product-legacy-hint{color:var(--txt2);line-height:1.8}.product-connection-row button{min-height:44px;flex-shrink:0}.product-editor-header-actions{display:flex;align-items:center;gap:8px}.product-editor-header-actions button{min-height:44px}.product-editor-header-actions .mclose{min-width:44px}#m-product .mhdr{gap:12px}#m-product .mtitle{min-width:0;overflow-wrap:anywhere}#m-product.product-editor-expanded{padding:0}#m-product.product-editor-expanded>.modal{width:100%!important;max-width:100%!important;height:100dvh;max-height:100dvh;border-radius:0;display:flex;flex-direction:column;overflow:hidden;transform:none}#m-product.product-editor-expanded .mhdr{flex-shrink:0}#m-product.product-editor-expanded .mbody{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}#m-product.product-editor-expanded .mftr{flex-shrink:0}#product-legacy-copies{margin-top:16px;padding:12px;border:1px dashed var(--bdr);border-radius:10px;font-size:12px;line-height:1.9}#product-legacy-copies summary{cursor:pointer;min-height:44px}#product-legacy-copies>details{border-top:1px solid var(--bdr);padding-top:8px}#product-legacy-copies textarea{white-space:pre-wrap}#product-legacy-copies dd{overflow-wrap:anywhere;margin:0}#product-legacy-copies label{display:block;margin-top:8px}@media(max-width:600px){#m-product .mhdr{flex-wrap:wrap}.product-editor-header-actions{margin-inline-start:auto}#m-product.product-editor-expanded .mbody{padding:12px}}
.product-editor-expanded .mfoot{flex-shrink:0}
#m-product>.modal{display:flex;flex-direction:column;overflow:hidden;max-height:92dvh;isolation:isolate}
#m-product>.modal>.mhdr,#m-product>.modal>.mfoot{position:relative;flex-shrink:0;z-index:2;background:var(--bg1)}
#m-product>.modal>.mbody{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;position:relative;z-index:0}
#m-product .product-rte{position:relative;isolation:isolate}
#m-product .mfoot{flex-wrap:wrap;gap:8px;padding-bottom:max(14px,env(safe-area-inset-bottom))}
#m-product .mfoot button{min-height:44px;white-space:normal}
#product-placement .placement-note{padding:12px;border:1px solid var(--bdr);border-radius:10px;background:var(--bg2);line-height:1.9}
#product-placement .placement-existing{font-size:12px;line-height:1.9;color:var(--txt2)}
#product-placement{width:min(580px,calc(100vw - 24px));max-height:90dvh;overflow:auto;box-sizing:border-box;border:1px solid var(--bdr);border-radius:16px;background:var(--bg1);color:var(--txt);font:inherit;padding:20px}
#product-placement::backdrop{background:rgb(0 0 0 / .5)}
#product-placement .fg{margin-top:14px}#product-placement .fc{min-height:44px}
#product-placement .placement-copy{display:flex;align-items:flex-start;gap:8px;line-height:1.9;padding:10px 0;cursor:pointer}
#product-placement .placement-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
#product-placement button{min-height:44px}
#product-placement #placement-result{line-height:1.9;color:var(--pr)}
#product-placement-btn[hidden]{display:none!important}
@media(max-width:600px){#m-product>.modal{max-height:96dvh}#m-product .mfoot button{flex:1 1 45%}#m-product .mfoot #product-save-btn{flex-basis:100%}}
