/* v1.0.31: global typography wrapping and collision prevention across congress pages. */
html{scroll-padding-top:1rem;}
body:not(.landing-body) main{min-width:0;}
body:not(.landing-body) main :where(h1,h2,h3,h4,p,small,strong,label,legend,button,a,th,td,li,.tile-copy,.dashboard-heading,.wheel-result,.wheel-note){
  overflow-wrap:anywhere;
  word-break:normal;
  min-width:0;
}
body:not(.landing-body) main :where(h1,h2,h3,h4,p){max-width:100%;}
body:not(.landing-body) main :where(h1,h2,h3,h4){line-height:1.55;}
body:not(.landing-body) main :where(p,small,label,li){line-height:1.8;}
body:not(.landing-body) main :where(button,a){line-height:1.55;white-space:normal;}
body:not(.landing-body) main :where(input,select,textarea){max-width:100%;min-width:0;}
body:not(.landing-body) main :where(.fields,.admin-grid,.service-grid,.cards,.prize-row,.request-next){min-width:0;}
.kiosk-session-controls{z-index:10010;max-width:calc(100vw - 24px);}
.kiosk-session-controls .kiosk-exit{max-width:min(310px,calc(100vw - 150px));white-space:normal;overflow-wrap:anywhere;line-height:1.5;}
.wheel-page{overflow-x:hidden;overflow-y:auto;}
.wheel-heading{padding-inline:clamp(8px,2vw,24px);}
.wheel-heading h1{line-height:1.5;overflow-wrap:anywhere;}
.wheel-actions{gap:4px;}
.wheel-back-menu{position:relative;z-index:5;max-width:100%;justify-content:center;text-align:center;line-height:1.6;}
.wheel-note{max-width:min(95%,650px);line-height:1.8;}
@media(max-width:899px){
 .kiosk-session-controls{left:10px!important;right:auto!important;bottom:10px!important;top:auto!important;flex-wrap:wrap;}
 .kiosk-session-controls .kiosk-exit{max-width:calc(100vw - 130px);}
 .wheel-page{height:auto!important;max-height:none!important;min-height:calc(100dvh - 90px);overflow:visible!important;}
 body:has(.wheel-page)>main{overflow:visible!important;}
}
@media(max-width:480px){
 .kiosk-session-controls{gap:6px;}
 .kiosk-timer{min-width:0!important;padding:7px 8px!important;}
 .kiosk-session-controls .kiosk-exit{font-size:12px!important;padding:8px 10px!important;max-width:calc(100vw - 110px);}
}
