/* v173: shared feedback only appears on invalid fields; no default form changes. */
.zp173-field-error{outline:2px solid #dc3545!important;outline-offset:3px;border-radius:5px;animation:zp173-error-pulse .65s ease-in-out 2;scroll-margin-block:110px}
.zp173-field-note,body:not(:has([data-account-mode="login"],[data-account-mode="signup"])) :is(.is-error,.bd-error,.name90-error):not(:empty),body:not(:has([data-account-mode="login"],[data-account-mode="signup"])) [data-sms-status][data-state="error"]:not(:empty),body:not(:has([data-account-mode="login"],[data-account-mode="signup"])) .field-feedback[data-state="error"]:not(:empty){position:relative;box-sizing:border-box;width:fit-content;max-width:100%;padding:8px 11px!important;border:1px solid #efb5bc!important;border-radius:9px;background:#fff3f4!important;box-shadow:0 3px 10px #9f243b0d;display:block;color:#c62837!important;font-size:12px!important;line-height:1.6!important;margin:8px 0 10px!important;word-break:keep-all;overflow-wrap:anywhere}
.zp173-field-note{display:block!important;grid-column:1/-1;flex:1 1 100%;min-width:0;white-space:normal}
.zp173-field-note::before,body:not(:has([data-account-mode="login"],[data-account-mode="signup"])) :is(.is-error,.bd-error,.name90-error):not(:empty)::before,body:not(:has([data-account-mode="login"],[data-account-mode="signup"])) [data-sms-status][data-state="error"]:not(:empty)::before,body:not(:has([data-account-mode="login"],[data-account-mode="signup"])) .field-feedback[data-state="error"]:not(:empty)::before{content:"";position:absolute;width:8px;height:8px;top:-5px;left:12px;transform:rotate(45deg);background:#fff3f4;border-top:1px solid #efb5bc;border-left:1px solid #efb5bc}
.sms-verify:has([data-sms-status][data-state="error"]){outline:2px solid #dc3545;outline-offset:3px}
@keyframes zp173-error-pulse{50%{outline-color:#f7a1aa;box-shadow:0 0 0 5px #dc354512}}
@media(prefers-reduced-motion:reduce){.zp173-field-error{animation:none}}
/* Paired purchase actions keep equal columns on every viewport. */
#product-buy .purchase-actions,.product91-side .sign-purchase,#order-form .submit-row .order-actions{grid-template-columns:repeat(2,minmax(0,1fr));direction:ltr}
#product-buy .purchase-actions>#product-cart-add,.sign-purchase>#sign-cart,#order-form .order-actions>#cart-add{order:0}
#product-buy .purchase-actions>button:not(#product-cart-add),.sign-purchase>#sign-buy,#order-form .order-actions>#submit{order:1}
#order-form .submit-row .order-actions>button{min-width:0;padding-inline:8px}
#order-form .submit-row .order-actions:has(>#cart-add[hidden]){grid-template-columns:1fr}
