/* V7.270 — Shared accessibility and responsive safety layer; no session or database logic. */
:root { --cadde-v270-focus:#ffae69; }
html,body {max-width:100%;}
@media(max-width:760px){
 html,body{overflow-x:clip;}
 input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]), select,textarea{font-size:16px!important;}
 button,[role=button],a,summary{touch-action:manipulation;}
 .cadde-mobile-dock{bottom:max(8px,env(safe-area-inset-bottom,0px))!important;}
 .cadde-cover-dialog{max-height:calc(100dvh - 20px)!important;overflow-y:auto!important;overscroll-behavior:contain;}
 .cadde-cover-editor{overscroll-behavior:contain;}
}
/* Avoid sticky menus overlapping dialogs; restrict to their actual open state. */
body:has(>.cadde-cover-editor:not([hidden])) .site-header,
body:has(>.cadde-cover-editor:not([hidden])) .cadde-mobile-dock,
body:has(>.cadde-cover-editor:not([hidden])) .cadde-whatsapp-support,
body:has(>.cadde-cover-editor:not([hidden])) #caddeHelpRoot{pointer-events:none!important;}
body>.cadde-cover-editor:not([hidden]){z-index:2147483000!important;}
body.cadde-cover-modal-open{overflow:hidden!important;}
:where(button,a,input,select,textarea,summary,[role=button]):focus-visible{outline:2px solid var(--cadde-v270-focus)!important;outline-offset:3px;}
/* Respect long labels, large font settings and safe areas. */
:where(.profile-card,.cadde-enhanced-profile-card,.cadde-profile-title-row,.listing-card,.usta-card,.cadde-help-panel){min-width:0;overflow-wrap:anywhere;}
:where(.cadde-cover-dialog,.cadde-help-panel,.cadde-notification-popover){max-width:calc(100vw - 16px);}
:where(.cadde-cover-dialog,.cadde-help-panel,.cadde-notification-popover) :where(button,input,select,textarea){max-width:100%;}
@media(prefers-reduced-motion:reduce){
 .cadde-cover-editor *, .cadde-help-panel *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;}
}
