/* Keraleeyam'26 universal responsive safety layer — V61 */
html{box-sizing:border-box;-webkit-text-size-adjust:100%;text-size-adjust:100%;overflow-x:hidden}
*,*::before,*::after{box-sizing:inherit}
body{max-width:100%;overflow-x:hidden}
img,svg,video,canvas{max-width:100%;height:auto}
iframe{max-width:100%;border:0}
input,select,textarea,button{max-width:100%;font:inherit}
button,a,[role="button"]{-webkit-tap-highlight-color:transparent}
pre,code{max-width:100%;overflow-wrap:anywhere}
.table-wrap,.tableWrap,.table-container,.tableContainer,.table-scroll,.tableScroll,[class*="table-wrap"],[class*="tableWrap"]{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
table{max-width:100%}
.modal,.dialog,.popup,[class*="modal"],[class*="dialog"],[class*="popup"]{max-width:calc(100vw - 24px)}
@media(max-width:1024px){
  .shell,.wrap,.container,.page,.dashboard-shell,main{max-width:100%!important}
  iframe{width:100%!important}
}
@media(max-width:768px){
  body{min-width:0!important}
  .shell,.wrap,.container,.page,.dashboard-shell,main{width:100%!important;min-width:0!important;padding-left:12px!important;padding-right:12px!important}
  .topbar,.top,.header-actions,.actions,.toolbar{max-width:100%}
  input:not([type="checkbox"]):not([type="radio"]),select,textarea{width:100%;min-width:0}
  button,.btn,a.btn{min-height:42px}
  h1{overflow-wrap:anywhere}
  .modal,.dialog,.popup,[class*="modal"],[class*="dialog"],[class*="popup"]{max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px);overflow:auto}
}
@media(max-width:480px){
  .shell,.wrap,.container,.page,.dashboard-shell,main{padding-left:10px!important;padding-right:10px!important}
  button,.btn,a.btn{touch-action:manipulation}
}
