.client-shell,.expert-shell,.session-settings{width:100%;min-width:0}
.client-card,.expert-card,.ep-form-card,.client-action,.expert-action{min-width:0}
.client-action small,.expert-action small,.client-appt strong,.client-appt small{overflow-wrap:anywhere}
@media(max-width:600px){
 body.ad-has-sidebar .ad-main{min-width:0;overflow-x:clip}
 .client-shell,.expert-shell,.session-settings{margin-top:14px!important;margin-bottom:calc(var(--ad-mobile-nav-height) + 34px)!important;padding-left:10px!important;padding-right:10px!important}
 .client-hero,.expert-head,.ep-hero{border-radius:19px!important;padding:20px!important}
 .client-hero h1,.expert-head h1,.ep-hero h1{font-size:23px!important;line-height:1.2}
 .client-stats,.expert-grid{grid-template-columns:1fr 1fr!important;gap:9px!important}
 .client-stat,.expert-stat{padding:14px!important;min-width:0}
 .client-stat strong,.expert-stat strong{font-size:19px!important;overflow-wrap:anywhere}
 .client-card,.expert-card,.ep-form-card{padding:16px!important;border-radius:17px!important}
 .client-actions,.expert-actions{grid-template-columns:1fr!important}
 .client-action,.expert-action{min-height:auto!important;padding:14px!important}
 .expert-head-actions{display:grid!important;grid-template-columns:1fr!important;width:100%}
 .expert-head-actions a,.ep-hero>.ep-button{width:100%!important;text-align:center;justify-content:center;white-space:normal}
 .client-appt{grid-template-columns:1fr!important;gap:9px!important}
 .client-appt .client-primary{width:100%!important;justify-content:center}
 .session-grid{grid-template-columns:1fr!important}
 .session-summary{align-items:flex-start!important}
 .session-settings .ep-button.primary{width:100%;justify-content:center;min-height:46px}
}
@media(max-width:360px){.client-stats,.expert-grid{grid-template-columns:1fr!important}}

/* Tablet/mobile sidebar must be fully off-canvas when closed. */
@media(max-width:992px){
 .ad-sidebar{width:min(380px,calc(100vw - 28px))!important;max-width:min(380px,calc(100vw - 28px))!important}
}
@media(max-width:600px){.ad-sidebar{width:min(88vw,340px)!important;max-width:min(88vw,340px)!important}}
