/* RepairHub v25.5.3: fluid viewport, readable controls and safe narrow-screen overflow. */
:root{--rh-page-gutter:clamp(12px,2vw,32px)}
*,*::before,*::after{box-sizing:border-box}
html{width:100%;max-width:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{max-width:100%;min-width:0;overflow-x:hidden}
img,video,canvas,svg{max-width:100%;height:auto}
input,select,textarea,button{max-width:100%;font:inherit}
main,article,section,.container,.content,.main-content{min-width:0}
/* Wide tables keep usable column widths instead of shrinking text to unreadability. */
.table-responsive,.table-container,.overflow-x-auto,.overflow-auto{max-width:100%;-webkit-overflow-scrolling:touch}
@media(max-width:767px){
  body{width:100%}
  main{max-width:100%}
  h1{overflow-wrap:anywhere}
  .rh256-navigation{left:8px!important;bottom:8px!important;max-width:calc(100vw - 16px);flex-wrap:wrap}
  .rh256-navigation a{padding:8px 10px!important}
  input,select,textarea{min-width:0}
  .grid>* , .flex>*{min-width:0}
  table{font-size:inherit}
  .modal,.dialog,[role="dialog"]{max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);overflow:auto}
}
@media(max-width:420px){.rh256-navigation a{font-size:11px!important}}
@media print{.rh256-navigation{display:none!important}}
