/* V2.21 – scoped layout hardening. Existing Elementor data remains untouched. */
html{scroll-padding-top:var(--tmb221-anchor-offset,132px)!important}
body #main [id],body .tmb-root [id],body .elementor-element[id]{scroll-margin-top:0!important}
@media(max-width:1060px){html{scroll-padding-top:var(--tmb221-anchor-offset,16px)!important}}
/* Multiple links in a text widget must not expand the boxed content area. */
body #main .tmb23-jump>.shell,body #main .tmb23-jump>.e-con-inner{min-width:0!important;max-width:100%!important;align-items:center!important;gap:8px!important}
body #main .tmb23-jump .tmb221-nav-widget{min-width:0!important;width:100%!important;max-width:100%!important;flex:1 1 100%!important}
body #main .tmb23-jump .tmb221-nav-group{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center!important;max-width:100%!important;margin:0!important;line-height:1.4!important}
body #main .tmb23-jump .tmb221-nav-group a{flex:0 0 auto!important;margin:0!important;min-height:44px!important;line-height:1.4!important;white-space:normal!important;max-width:100%!important}
body #main .tmb23-jump :is(a.button,a.elementor-button,.copy a,.elementor-widget-text-editor a){text-decoration:none!important}
body #main .tmb23-jump :is(a.button,a.elementor-button,.copy a,.elementor-widget-text-editor a):focus-visible,body #main .tmb-city-nav-links a:focus-visible{outline:2px solid #075f5c!important;outline-offset:2px!important}
body #main .tmb23-jump:not(.tmb23-hub-jump) .tmb221-nav-group a[aria-current="location"]{background:#075f5c!important;color:#fff!important}
body #main .tmb23-hub-jump>.shell,body #main .tmb23-hub-jump>.e-con-inner{flex-wrap:wrap!important;overflow:visible!important}
body #main .tmb23-hub-jump :is(.copy,.elementor-widget-text-editor){max-width:100%!important;flex:0 1 auto!important}
body #main .tmb23-hub-jump :is(.copy,.elementor-widget-text-editor) a{white-space:normal!important}
/* Preserve form layout and fields; make privacy and consent more legible. */
body .tmb-lead.tmb-lead .tmb-lead-privacy,body .tmb-root.tmb-root .tmb-lead .tmb-lead-privacy{font-size:13px!important;line-height:1.55!important;color:#354c59!important;overflow-wrap:break-word}
body .tmb-lead.tmb-lead .tmb-lead-consent{font-size:13px!important;line-height:1.5!important;color:#354c59!important}
body .tmb-lead.tmb-lead .tmb-lead-consent span{color:#354c59!important}
body .tmb-lead.tmb-lead .tmb-lead-note{font-size:13px!important;line-height:1.5!important}
body #main :is(.tmb-table-scroll,.tmb-sa-table-scroll){max-width:100%!important;min-width:0;overscroll-behavior-inline:contain}
body #main :is(.tmb-table-scroll,.tmb-sa-table-scroll):focus-visible{outline:2px solid #075f5c;outline-offset:3px}
@media(max-width:767px){
 body #main .tmb23-jump:not(.tmb23-hub-jump)>.shell,body #main .tmb23-jump:not(.tmb23-hub-jump)>.e-con-inner{overflow-x:auto!important;overscroll-behavior-inline:contain;scrollbar-width:thin;padding:4px 3px 9px!important;flex-wrap:nowrap!important;max-width:100%!important}
 body #main .tmb23-jump:not(.tmb23-hub-jump) .tmb221-nav-widget{flex:0 0 auto!important;width:max-content!important;max-width:none!important}
 body #main .tmb23-jump:not(.tmb23-hub-jump) .tmb221-nav-group{flex-wrap:nowrap!important;width:max-content!important;max-width:none!important}
 body #main .tmb23-jump:not(.tmb23-hub-jump) .tmb221-nav-group a{white-space:nowrap!important;max-width:none!important}
 body #main .tmb-city-nav-links{padding:4px 3px 9px;overscroll-behavior-inline:contain}
 body .tmb-lead.tmb-lead :is(input:not([type=checkbox]):not([type=hidden]),select,textarea){font-size:16px!important}
}
/* Keep the jump bar aligned with the body container; recover the older Toxicology section. */
body #main .tmb23-jump>.shell,body #main .tmb23-jump>.e-con-inner{max-width:1200px!important;margin-inline:auto!important}
body #main .tmb23-section.tmb23-jump{padding-block:16px!important;background:#fff!important}
body #main .tmb23-jump .tmb221-nav-group a[href^="#"]{text-decoration:none!important}
body #main .tmb23-jump .tmb221-nav-group a[href^="#"]:hover{text-decoration:underline!important}
/* Tablet: avoid 160–180px form fields and cramped content/aside columns. */
@media(min-width:768px) and (max-width:1024px){
 body #main .tmb-city-form-aside .tmb-lead-fields{grid-template-columns:minmax(0,1fr)!important}
 body #main .tmb-city-form-aside .tmb-lead-field{min-width:0!important}
}
@media(min-width:768px) and (max-width:900px){
 body #main .tmb-city-sidebar-grid{grid-template-columns:minmax(0,1fr)!important;gap:24px!important}
 body #main .tmb-city-sidebar-grid>*{width:100%!important;min-width:0!important;max-width:none!important}
}

/* V2.22: avoid control overflow without clipping content or focus outlines. */
body .tmb-lead .tmb-lead-field,body .tmb-lead .tmb-lead-fields,body [data-tmb212-calc] .tmb212-control{min-width:0;max-width:100%}
body .tmb-lead .tmb-lead-field :is(input,select,textarea),body [data-tmb212-calc] .tmb212-control input{min-width:0;max-width:100%;box-sizing:border-box}
body [data-tmb212-calc] output{overflow-wrap:anywhere}
@media(max-width:767px){body .tmb-lead .tmb-lead-submit{white-space:normal;min-height:44px}body [data-tmb212-calc] .tmb212-btn{white-space:normal}}
