[hidden]{display:none!important}
fieldset{min-width:0;max-width:100%}
/* Hostvoya: nothing sticks out or sits on top of something else, on any screen */
*,*::before,*::after{box-sizing:border-box}
input,select,textarea,button,.btn{max-width:100%}
input[type=date],input[type=time],input[type=datetime-local],input[type=month],input[type=number]{min-width:0}
label,label>*,.grid2>*,form>*,[style*="grid"]>*,[style*="display:grid"]>*{min-width:0}
label>input:not([type=checkbox]):not([type=radio]),label>select,label>textarea{width:100%}
img,video{max-width:100%;height:auto}
td,th{overflow-wrap:anywhere}
.btn{white-space:normal;line-height:1.25}
/* staff and partner pages use the whole screen */
body.wide main{max-width:none}
/* tables turn into cards when the screen is not wide enough: no sideways scrolling */
@media (max-width:1280px){
  .tbl{overflow-x:visible;border:0;background:none}
  .tbl table,.tbl tbody,.tbl tr,.tbl td{display:block;width:100%}
  .tbl thead{display:none}
  .tbl table{background:none}
  .tbl tr{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:0 8px;background:#fff;border:1px solid var(--line,#E3DED3);border-radius:12px;margin:0 0 12px;padding:6px 0}
  .tbl td{min-width:0}
  .tbl td{border:0;padding:6px 14px}
  .tbl td:empty{display:none}
  .tbl td[data-label]:not([data-label=""])::before{content:attr(data-label);display:block;font-size:12px;font-weight:700;color:var(--soft,#5B6B85);margin-bottom:2px}
}
