/* Shared form presentation only: no request, permission or commercial behaviour. */
body form[data-mp-form]{--form-gap:12px;min-width:0;max-width:100%}
body form[data-mp-form].stack{gap:var(--form-gap)}
body form[data-mp-form] .field{min-width:0;gap:5px}
body form[data-mp-form] .field label{font-size:14px;line-height:1.35}
body form[data-mp-form] :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]),select,textarea){box-sizing:border-box;max-width:100%;min-width:0;font-size:16px;line-height:1.4;border-radius:9px}
body form[data-mp-form] :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]),select){min-height:44px;padding:9px 11px}
body form[data-mp-form] textarea{min-height:96px;padding:9px 11px;resize:vertical}
body form[data-mp-form] :is(.help,.metric-note){font-size:13px;line-height:1.5;margin:0}
body form[data-mp-form] :is(button,.btn){min-height:44px;white-space:normal;overflow-wrap:anywhere}
body form[data-mp-form] :is(input[type=checkbox],input[type=radio]){width:20px;height:20px;flex:none;vertical-align:middle;accent-color:#c2410c}
body form[data-mp-form] label:has(>input:is([type=checkbox],[type=radio])){min-height:44px;line-height:1.5;padding-block:4px}
body form[data-mp-form] :is(input,select,textarea,button,a,summary):focus-visible{outline:3px solid #c2410c;outline-offset:3px;scroll-margin-block:24px}
body form[data-mp-form] :is(.product-section,.media-field,.workspace-form-section){padding:16px;gap:12px;margin-block:0}
body form[data-mp-form] :is(.product-section,.media-field,.workspace-form-section)>legend{font-size:18px;line-height:1.4}
body form[data-mp-form] .form-grid{gap:12px}
body form[data-mp-form] .mp-form-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0}
body form[data-mp-form] .mp-form-section{min-width:0;margin:0;padding:16px;border:1px solid #e7dfd3;border-radius:12px}
body form[data-mp-form] .mp-form-section>legend{padding-inline:6px;font-size:16px;font-weight:750}
body form[data-mp-form] .mp-field-error{display:block;color:#9b3026;font-size:13px;line-height:1.5;margin:5px 0 0;overflow-wrap:anywhere}
body form[data-mp-form] [aria-invalid=true]{border-color:#b42318}
body form[data-mp-form] details.mp-form-help{border:1px solid #e7dfd3;border-radius:10px;background:#fffbeb;padding:10px 12px}
body form[data-mp-form] details.mp-form-help>summary{min-height:32px;font-weight:700;cursor:pointer}
body form[data-mp-form] details.mp-form-help>*:not(summary){margin-top:8px}
@media(min-width:760px){body form[data-mp-form] .mp-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body form[data-mp-form] .mp-form-grid>.mp-form-wide{grid-column:1/-1}}
@media(min-width:1080px){body form[data-mp-form] [data-ubigeo-selector].mp-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){body form[data-mp-form] :is(.product-section,.media-field,.workspace-form-section,.mp-form-section){padding:12px}body form[data-mp-form] input[type=file]{font-size:14px}body form[data-mp-form] .product-editor-actions{gap:8px}body form[data-mp-form] .form-grid{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){body form[data-mp-form] *{scroll-behavior:auto}}
body form[data-mp-form] .mp-form-grid>:not(.field),body form[data-mp-form] .mp-form-grid>.field:has(textarea){grid-column:1/-1}

/* Override the existing product-editor spacing only, without shrinking touch targets. */
body .seller-products-page .product-editor form[data-mp-form].stack{gap:14px}
body form[data-mp-form] .field textarea{min-height:96px}

@media(max-width:600px){body form[data-mp-form] .mp-form-section{padding:0;border:0;gap:10px}body form[data-mp-form] .mp-form-section>legend{padding-inline:0;margin-bottom:6px}}
