/* V39 scoped mobile corrections; preserve V38 reference design */
@media(max-width:767px){
 html,body{max-width:100%;overflow-x:clip}
 .app-shell main.container{min-width:0;max-width:100%;overflow-x:clip}
 .ths-v36-showcase,.ths-v36-image-banner,.ths-v36-featured,.ths-v36-team{min-width:0;max-width:100%;box-sizing:border-box}
 .ths-v36-image-banner{overflow:hidden}
 .ths-v36-shortcuts{display:flex!important;justify-content:flex-start!important;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;gap:6px!important;max-width:calc(100% - 12px)}
 .ths-v36-shortcuts::-webkit-scrollbar{display:none}
 .ths-v36-shortcuts a{flex:0 0 auto;white-space:nowrap;scroll-snap-align:start;font-size:9px!important;padding:6px 7px!important}
 .ths-v36-controls{padding-right:62px;box-sizing:border-box}
 .ths-v36-featured{padding-bottom:20px}
 .ths-v39-services{display:grid!important;grid-template-columns:minmax(0,1fr)!important;overflow:visible!important;gap:12px!important}
 .ths-v39-services>.card{min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;overflow-wrap:break-word;word-break:normal}
 .ths-v39-services .card-title{display:flex;align-items:flex-start;gap:10px;min-width:0}
 .ths-v39-services .card-title>div:last-child{min-width:0;flex:1}
 .ths-v39-services .h3{overflow-wrap:break-word;word-break:normal;hyphens:auto}
 .ths-v39-services .btn{max-width:100%;white-space:normal}
 .ths-v39-benefits{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible!important;gap:9px!important}
 .ths-v39-benefits>.card{min-width:0!important;width:auto!important;padding:12px 9px!important;box-sizing:border-box}
 .ths-v39-benefits .card-title{display:block!important}
 .ths-v39-benefits .h3{font-size:13px!important;line-height:1.3;overflow-wrap:break-word;word-break:normal}
 .ths-v39-benefits .p{font-size:12px!important;line-height:1.5;overflow-wrap:break-word}
 .icare-chat-fab,.icare-chat-fab.lift{right:9px!important;bottom:calc(98px + env(safe-area-inset-bottom,0px))!important;width:42px!important;height:42px!important;z-index:900!important}
 .ths-bottom-nav{z-index:1000!important}
 .footer .card,.footer .section{max-width:100%;box-sizing:border-box}
}
@media(max-width:350px){.ths-v39-benefits{grid-template-columns:minmax(0,1fr)!important}.ths-v36-controls{padding-right:48px}}
