/* Final client-profile sizing layer. Presentation only. */
body.tf-view-clients:not(.tf-client-portal) .tf-client-profile,
body.tf-view-clients:not(.tf-client-portal) .tf-client-profile *{box-sizing:border-box}
body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body{width:100%;max-width:none;margin:0;padding:24px 24px 34px}
body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;margin:0 0 16px;overflow:hidden}
body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-summary-strip article{display:flex;min-width:0;min-height:108px;padding:16px 18px;flex-direction:column;justify-content:center}
body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-summary-strip strong{font-size:20px;line-height:1.25;overflow-wrap:break-word}
body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-overview-grid{display:grid;grid-template-columns:minmax(0,1fr) clamp(300px,22vw,360px);gap:18px;width:100%;align-items:start}
body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-overview-grid>div,
body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-overview-grid>aside{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;width:100%;min-width:0;margin:0;padding:0;align-items:start}
body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-overview-grid section,
body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-overview-grid>aside section{width:100%;max-width:none;min-width:0;margin:0;padding:20px;border-radius:14px}
body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-overview-grid h2{font-size:22px;line-height:1.2}
body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-overview-grid section>p{min-height:50px;padding:13px 0;align-items:center}

@media(max-width:1100px){
 body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-overview-grid{grid-template-columns:minmax(0,1fr)}
 body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-overview-grid>aside{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:760px){
 body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body{padding:16px 14px 30px}
 body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:14px;border-radius:14px}
 body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-summary-strip article{min-height:100px;padding:14px}
 body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-summary-strip strong{font-size:19px}
 body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-overview-grid{gap:14px}
 body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-overview-grid>div,
 body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-overview-grid>aside{grid-template-columns:minmax(0,1fr);gap:14px;width:100%;margin:0!important;padding:0!important}
 body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-overview-grid section,
 body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-overview-grid>aside section{width:100%!important;max-width:none!important;margin:0!important;padding:16px!important;border-radius:14px}
 body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-overview-grid h2{font-size:21px}
 body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-overview-grid section>p{min-height:0;padding:12px 0}
}

@media(max-width:380px){
 body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body{padding-inline:11px}
 body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-summary-strip article{padding:12px 10px}
 body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-summary-strip strong{font-size:17px}
}
