/* v0.9.22: interaction states only. No shell, card, grid, gallery or typography overrides. */
.pd-ux-notices{position:fixed;z-index:210;right:20px;top:90px;display:grid;gap:8px;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 180px);overflow:auto;pointer-events:none}
.pd-product .pd-ux-notices .pd-toast{position:relative;inset:auto;transform:none;margin:0;width:100%;max-width:100%;display:flex;align-items:start;gap:12px;pointer-events:auto;overflow-wrap:anywhere;text-align:left}
.pd-ux-notices .pd-toast>span{flex:1;min-width:0}
.pd-ux-notices .pd-ux-dismiss{flex:0 0 28px;min-height:28px;border:0;background:transparent;color:inherit;font:inherit;font-size:20px;cursor:pointer;padding:0}
.pd-ux-notices .pd-ux-dismiss:focus-visible,[data-pd-feedback] :is(button,input,select,textarea):focus-visible,[data-pd-favorite] button:focus-visible{outline:2px solid #674795;outline-offset:3px}
[data-pd-feedback] [aria-disabled="true"],[data-pd-favorite][aria-busy="true"] button{cursor:progress;opacity:.65}
[data-pd-favorite][aria-busy="true"] button svg{animation:pd-ux-pulse .8s ease-in-out infinite alternate}
[data-pd-favorite] button[aria-pressed="true"] svg{fill:currentColor}
[data-pd-feedback] [aria-invalid="true"],#pdSellForm [aria-invalid="true"]{outline:2px solid #a12b36;outline-offset:2px}
[data-pd-feedback] .pd-ux-field-error,#pdSellForm .pd-ux-field-error{display:block;color:#a12b36;font-size:12px;line-height:1.5;margin-top:6px;overflow-wrap:anywhere}
.pd-ux-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@keyframes pd-ux-pulse{to{opacity:.35}}
@media(max-width:620px){.pd-ux-notices{top:auto;bottom:calc(84px + env(safe-area-inset-bottom));right:16px}.pd-chat-page .pd-ux-notices{top:12px;bottom:auto}}
@media(prefers-reduced-motion:reduce){[data-pd-favorite][aria-busy="true"] button svg{animation:none}}
#pdSellForm .pd-step{scroll-margin-top:100px}
#pdSellForm .pd-ux-photo-count{font-size:12px;color:#635a6a;margin:12px 0;min-height:18px}
#pdSellForm .pd-ux-photo-count:empty{display:none}
#pdSellForm .pd-camera-btn:focus-within{outline:2px solid #674795;outline-offset:3px}
#pdSellForm [data-pd-step-error]{margin-bottom:14px}
#pdSellForm [aria-busy="true"],#pdSellForm[aria-busy="true"] button{cursor:progress}
[data-chat] [data-pd-send-state="error"]{color:#a12b36;font-weight:600}
[data-chat] [data-pd-send-state="status"]{color:#52415f}
[data-chat] [data-pd-connection]{display:grid;gap:8px;justify-items:center;flex-shrink:0}
[data-chat] [data-pd-connection] button{border:1px solid #d7c4ee;border-radius:8px;background:#fff;color:#52415f;min-height:36px;padding:6px 12px;font:inherit;cursor:pointer}
[data-chat] :is(.pd-chat-camera,.pd-chat-load-older,.pd-msg-image,[data-pd-connection] button):focus-visible{outline:2px solid #674795;outline-offset:3px}
[data-chat] #pdChatForm[aria-busy="true"] #pdChatSend{cursor:progress;opacity:.65}
[data-chat] [data-pd-chat-empty]{align-self:center;max-width:36ch;line-height:1.6;text-align:center}
/* The existing safety note is hidden on mobile; action feedback must remain visible. */
.pd-cx-page.pd-chat-page [data-chat] .pd-chat-link-note[data-pd-send-state]{display:block!important;font-size:12px;line-height:1.45;padding:4px 0 6px;overflow-wrap:anywhere}
/* Closed mobile filters must not remain in the keyboard/screen-reader sequence. */
@media(max-width:900px){.pdx-explore-page #pdFilters:not(.is-open){visibility:hidden;pointer-events:none}}
@media(prefers-reduced-motion:reduce){.pdx-explore-page #pdFilters{transition:none}}
