/* Work-mode audit: critical contrast, overlap and compact shell fixes. */
.be-shell.be-showcase .be-showcase-compactbar{
 min-height:52px!important;padding:7px 17px!important;justify-content:flex-end!important
}
.be-shell.be-showcase .be-showcase-compactbar .be-showcase-context{
 display:none!important
}
.be-shell.be-showcase .be-showcase-compactbar .be-showcase-head-right{margin-left:auto!important}
.be-shell.be-showcase .be-showcase-head-notification{
 display:grid;place-items:center;width:36px;height:36px;min-width:36px;
 border:1px solid var(--pt-border)!important;background:var(--pt-panel)!important;
 border-radius:8px;color:var(--pt-ink)!important;cursor:pointer
}
.be-shell.be-showcase .be-showcase-head-notification:hover{border-color:var(--pt-gold)!important}
.be-shell.be-showcase .be-showcase-head-theme :is(.be-theme-picker-heading,.be-theme-option span){
 display:none!important
}
.be-shell.be-showcase .be-showcase-head-theme .be-theme-option{min-width:35px!important;min-height:33px!important}
.be-shell.be-showcase .be-showcase-head-theme .be-theme-option svg{width:18px!important;height:18px!important}
/* Ensure accessible message text irrespective of legacy chat bubble styles. */
.be-shell.be-showcase[data-be-theme=light] .be-main .be-msg-bubble,
.be-shell.be-showcase[data-be-theme=light] .be-main .be-msg-bubble.theirs{
 background:#f6f1e8!important;border:1px solid #d5c6af!important;color:#222a25!important
}
.be-shell.be-showcase[data-be-theme=light] .be-main .be-msg-bubble.mine{
 background:#eee0c8!important;border:1px solid #c8ac7d!important;color:#24251f!important
}
.be-shell.be-showcase[data-be-theme=dark] .be-main .be-msg-bubble,
.be-shell.be-showcase[data-be-theme=dark] .be-main .be-msg-bubble.theirs{
 background:#1d383b!important;border:1px solid #386064!important;color:#f4f4ee!important
}
.be-shell.be-showcase[data-be-theme=dark] .be-main .be-msg-bubble.mine{
 background:#4a3a27!important;border:1px solid #8c734a!important;color:#fdf6e7!important
}
.be-shell.be-showcase .be-main .be-msg-bubble :is(.be-msg-copy,p,strong,span){
 color:inherit!important;font-size:12px!important;opacity:1!important
}
.be-shell.be-showcase .be-main .be-msg-bubble small{color:inherit!important;opacity:.78!important}
.be-shell.be-showcase .be-main .be-msg-messages{background:var(--pt-page)!important}
.be-shell.be-showcase .be-main .be-msg-composer label{color:var(--pt-ink)!important}
.be-shell.be-showcase .be-main .be-msg-composer :is(textarea,input){color:var(--pt-ink)!important;background:var(--pt-panel)!important}
/* Programme builder and goals: no dark labels on dark backgrounds. */
.be-shell.be-showcase .be-main :is(.tr-workspace,.tr-wizard,.tr-side-panel,.tr-panel-body,.tr-card,.tr-day-builder,.tr-workout-section,.tr-prescription,.tr-metric,.tr-logging-items,.tr-log-set,.be-coach-panel,.be-coach-goals,.be-coach-card){
 color:var(--pt-ink)!important;border-color:var(--pt-border)!important
}
.be-shell.be-showcase[data-be-theme=light] .be-main :is(.tr-card,.tr-day-builder,.tr-workout-section,.tr-prescription,.tr-metric,.tr-side-panel,.tr-panel-body,.be-coach-panel,.be-coach-card){
 background:#fffdf9!important;color:#282a26!important
}
.be-shell.be-showcase[data-be-theme=dark] .be-main :is(.tr-card,.tr-day-builder,.tr-workout-section,.tr-prescription,.tr-metric,.tr-side-panel,.tr-panel-body,.be-coach-panel,.be-coach-card){
 background:#12272a!important;color:#f5f1e9!important
}
.be-shell.be-showcase .be-main :is(.tr-workspace,.tr-wizard,.tr-side-panel,.tr-panel-body,.tr-card,.tr-day-builder,.tr-workout-section,.tr-prescription,.tr-metric,.be-coach-panel,.be-coach-card) :is(h1,h2,h3,h4,strong,label,b,.tr-day-head,.tr-workout-title){
 color:var(--pt-ink)!important
}
.be-shell.be-showcase .be-main :is(.tr-workspace,.tr-wizard,.tr-side-panel,.tr-card,.tr-day-builder,.tr-workout-section,.tr-prescription,.tr-metric,.be-coach-panel,.be-coach-card) :is(small,p,.tr-muted,.tr-hint){
 color:var(--pt-sub)!important
}
.be-shell.be-showcase .be-main :is(.tr-day-builder,.tr-prescription,.tr-side-panel) :is(input,textarea,select){
 color:var(--pt-ink)!important;background:var(--pt-panel)!important;border:1px solid var(--pt-border)!important
}
.be-shell.be-showcase .be-main .tr-day-builder .tr-day-head{background:var(--pt-soft)!important;border-radius:7px}
.be-shell.be-showcase .be-main .tr-day-builder :is(.active,.selected){color:var(--pt-ink)!important}
.be-shell.be-showcase .be-main .tr-builder-days{display:grid;gap:12px}
.be-shell.be-showcase .be-main .tr-prescription{border-radius:9px!important}
/* Sidebar footer and accessibility stay separate; never overlap Sign out. */
.be-shell.be-showcase .be-sidebar .be-side-foot{padding-bottom:12px!important;min-height:94px!important}
body .be-a11y-launch{left:auto!important;right:14px!important;bottom:18px!important}
body .be-a11y-panel{left:auto!important;right:12px!important;bottom:70px!important}
.be-shell.be-showcase .be-sidebar .be-signout{position:relative!important;z-index:1}
.be-shell.be-showcase .be-ref-record-columns .be-ref-current-program{
 min-height:0!important;align-self:start!important
}
.be-shell.be-showcase .be-ref-record-columns .be-ref-record-left .be-ref-panel{min-height:0!important}
.be-shell.be-showcase .be-ref-record-columns .be-ref-current-program:has(.be-box-empty){
 max-height:325px!important
}
/* All form statuses, focus targets and table actions have one readable treatment. */
.be-shell.be-showcase .be-main .be-quiet-note,
.be-shell.be-showcase .be-main .tr-hint{color:var(--pt-sub)!important}
.be-shell.be-showcase .be-main .be-neutral-button{min-height:39px!important}
.be-shell.be-showcase .be-main :is(.tr-tabs,.be-mock-record-tabs) button.active{
 color:var(--pt-gold)!important;border-color:var(--pt-gold)!important
}
@media(max-width:760px){
 body .be-a11y-launch{bottom:83px!important;right:10px!important;left:auto!important;min-height:41px}
 body .be-a11y-panel{bottom:130px!important;right:10px!important;left:auto!important}
 .be-shell.be-showcase .be-showcase-compactbar{min-height:52px!important;padding:7px 12px!important}
}

/* Staff onboarding, saved views, coaching inbox and pricing clarity. */
.be-shell.be-showcase .be-audit-staff-onboarding,.be-shell.be-showcase .be-audit-coaching-inbox{max-width:1250px;margin:0 auto}
.be-shell.be-showcase .be-audit-metrics{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0
}
.be-shell.be-showcase .be-audit-metrics>div,
.be-shell.be-showcase .be-audit-metrics>button{
 padding:18px;text-align:left;border:1px solid var(--pt-border);
 border-radius:10px;background:var(--pt-panel);color:var(--pt-ink);
 box-shadow:0 3px 13px #00000008
}
.be-shell.be-showcase .be-audit-metrics strong{
 display:block;font-size:27px;font-weight:850;line-height:1.2;color:var(--pt-ink)
}
.be-shell.be-showcase .be-audit-metrics small{
 display:block;font-size:12px;margin-top:7px;color:var(--pt-sub)
}
.be-shell.be-showcase .be-audit-filters{
 display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:18px 0
}
.be-shell.be-showcase .be-audit-filters button{
 min-height:40px;padding:8px 13px;border:1px solid var(--pt-border);
 background:var(--pt-panel);border-radius:20px;color:var(--pt-sub);
 font-size:12px;font-weight:720;cursor:pointer
}
.be-shell.be-showcase .be-audit-filters button.active{
 color:#161d19;background:#dfb77a;border-color:#dfb77a
}
.be-shell.be-showcase .be-audit-onboarding-list{display:grid;gap:12px}
.be-shell.be-showcase .be-audit-onboarding-client{
 padding:17px!important;display:grid;gap:13px
}
.be-shell.be-showcase .be-audit-onboarding-client[hidden]{display:none!important}
.be-shell.be-showcase .be-audit-onboarding-client header,
.be-shell.be-showcase .be-audit-onboarding-client footer{
 display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap
}
.be-shell.be-showcase .be-audit-person{display:flex;align-items:center;gap:10px;min-width:0}
.be-shell.be-showcase .be-audit-person>div{display:grid;gap:4px;min-width:0}
.be-shell.be-showcase .be-audit-person strong{color:var(--pt-ink);font-size:15px}
.be-shell.be-showcase .be-audit-person small{color:var(--pt-sub);font-size:11px;overflow-wrap:anywhere}
.be-shell.be-showcase .be-audit-avatar{
 width:42px;height:42px;flex:0 0 42px;border-radius:50%;display:grid;place-items:center;
 background:var(--pt-goldsoft);color:var(--pt-ink);border:1px solid var(--pt-gold);font-size:13px;font-weight:800
}
.be-shell.be-showcase .be-audit-status{
 padding:6px 11px;border-radius:16px;background:var(--pt-soft);color:var(--pt-ink);
 font-size:11px;font-weight:700;white-space:nowrap
}
.be-shell.be-showcase .be-audit-status.staff{background:#b8772533;color:var(--pt-ink)}
.be-shell.be-showcase .be-audit-status.complete{background:#2b956f2b;color:var(--pt-ink)}
.be-shell.be-showcase .be-audit-step-list{
 display:flex;flex-wrap:wrap;gap:7px;border-top:1px solid var(--pt-border);padding-top:11px
}
.be-shell.be-showcase .be-audit-step{
 display:flex;gap:5px;align-items:center;padding:7px 9px;font-size:11px;
 border-radius:7px;background:var(--pt-soft);color:var(--pt-sub)
}
.be-shell.be-showcase .be-audit-step.done{color:var(--pt-ink)}
.be-shell.be-showcase .be-audit-step.done b{color:#239d77}
.be-shell.be-showcase .be-audit-step.staff b{color:#c9934c}
.be-shell.be-showcase .be-audit-onboarding-client footer{
 border-top:1px solid var(--pt-border);padding-top:11px
}
.be-shell.be-showcase .be-audit-onboarding-client footer small{color:var(--pt-sub)}
.be-shell.be-showcase .be-audit-onboarding-client footer>div{display:flex;gap:8px;flex-wrap:wrap}
.be-shell.be-showcase .be-audit-inbox-grid{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px
}
.be-shell.be-showcase .be-audit-inbox-grid .be-panel{padding:17px!important}
.be-shell.be-showcase .be-audit-inbox-grid header{
 display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px
}
.be-shell.be-showcase .be-audit-inbox-grid h2{font-size:18px!important;color:var(--pt-ink)}
.be-shell.be-showcase .be-audit-inbox-row{
 display:flex;justify-content:space-between;align-items:center;gap:10px;
 text-align:left;padding:12px 6px;width:100%;background:transparent;
 border:0;border-bottom:1px solid var(--pt-border);color:var(--pt-ink)
}
.be-shell.be-showcase .be-audit-inbox-row strong{font-size:12px;overflow-wrap:anywhere}
.be-shell.be-showcase .be-audit-inbox-row small{color:var(--pt-sub);white-space:normal;text-align:right}
.be-shell.be-showcase .be-audit-pricing-status{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:18px!important;margin:14px 0!important}
.be-shell.be-showcase .be-audit-pricing-status>div:first-child{flex:1;min-width:220px}
.be-shell.be-showcase .be-audit-pricing-status h2{margin:5px 0;font-size:18px!important;color:var(--pt-ink)}
.be-shell.be-showcase .be-audit-pricing-status p{
 color:var(--pt-sub)!important;font-size:12px!important;line-height:1.6!important;margin:8px 0
}
.be-shell.be-showcase .be-audit-pricing-status p strong{color:var(--pt-ink)!important}
.be-shell.be-showcase .be-audit-pricing-actions{display:flex;flex-wrap:wrap;gap:8px}
.be-shell.be-showcase .be-audit-plan-explainer{
 margin:16px 0;padding:15px;border-radius:9px;
 border:1px solid var(--pt-gold);background:var(--pt-soft);color:var(--pt-ink)
}
.be-shell.be-showcase .be-audit-plan-explainer strong{color:var(--pt-ink)}
.be-shell.be-showcase .be-audit-plan-explainer p{font-size:12px;line-height:1.6;color:var(--pt-sub)}
.be-shell.be-showcase .be-audit-plan-choice{padding:10px;margin:8px 0;background:var(--pt-panel);border-radius:7px;font-weight:800}
/* Photo upload: privacy note and local preview are part of the form. */
.be-shell.be-showcase .be-audit-photo-preview{
 display:grid;justify-items:start;gap:9px;padding:13px;border:1px dashed var(--pt-gold);
 border-radius:9px;background:var(--pt-soft);color:var(--pt-sub);font-size:12px
}
.be-shell.be-showcase .be-audit-photo-preview img{
 max-width:min(100%,330px);max-height:300px;object-fit:contain;border-radius:8px;
 border:1px solid var(--pt-border)
}
.be-shell.be-showcase .be-audit-photo-preview img[hidden]{display:none!important}
.be-shell.be-showcase .be-ref-followup{
 display:flex!important;align-items:center;justify-content:space-between;gap:12px;
 text-align:left;border-bottom:1px solid var(--pt-border)!important
}
.be-shell.be-showcase .be-ref-followup strong{color:var(--pt-ink)!important;font-size:12px}
.be-shell.be-showcase .be-ref-followup small{color:var(--pt-sub)!important;font-size:11px}
.be-shell.be-showcase .be-ref-followup>span{color:var(--pt-gold)!important}
@media(max-width:1000px){.be-shell.be-showcase .be-audit-inbox-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){
 .be-shell.be-showcase .be-audit-inbox-grid{grid-template-columns:1fr}
 .be-shell.be-showcase .be-audit-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .be-shell.be-showcase .be-audit-metrics>div,.be-shell.be-showcase .be-audit-metrics>button{padding:12px}
 .be-shell.be-showcase .be-audit-metrics strong{font-size:22px}
 .be-shell.be-showcase .be-audit-metrics small{font-size:10px}
 .be-shell.be-showcase .be-audit-onboarding-client{padding:12px!important}
}

/* Notification timeline filters: scheduled and created dates remain distinct. */
.be-shell.be-showcase .be-audit-notification-filters{
 display:flex;flex-wrap:wrap;gap:7px;margin:0 0 14px;padding:0 0 12px;
 border-bottom:1px solid var(--pt-border)
}
.be-shell.be-showcase .be-audit-notification-filters button{
 border:1px solid var(--pt-border);background:var(--pt-panel);
 color:var(--pt-sub);border-radius:20px;padding:8px 12px;min-height:36px;
 font-size:11px;cursor:pointer
}
.be-shell.be-showcase .be-audit-notification-filters button.active{
 background:var(--pt-goldsoft);color:var(--pt-ink);border-color:var(--pt-gold);font-weight:780
}
.be-shell.be-showcase [data-be-notification-status][hidden]{display:none!important}
.be-shell.be-showcase .be-notification-status{color:var(--pt-sub)!important;line-height:1.6}
.be-shell.be-showcase .be-audit-pricing-status .be-weight-card-kicker{color:var(--pt-gold)!important}
/* Compact oversized panels and large serif numbers in every owner/client tool. */
.be-shell.be-showcase .be-main :is(.tr-metric,.be-rp-tile,.be-cal-stat,.be-life-kpi,.be-stat-card){
 min-height:0!important;padding:14px 17px!important;border-radius:10px!important
}
.be-shell.be-showcase .be-main :is(.tr-metric,.be-rp-tile,.be-cal-stat,.be-life-kpi,.be-stat-card) strong{
 font-family:Inter,ui-sans-serif,Arial,sans-serif!important;
 font-size:clamp(21px,2vw,30px)!important;letter-spacing:-.03em!important;
 color:var(--pt-ink)!important
}
.be-shell.be-showcase .be-main .be-rp-header,.be-shell.be-showcase .be-main .be-rp-tabs{margin-bottom:15px!important}
.be-shell.be-showcase .be-main .be-rp-stats{gap:10px!important}
/* Workout cards and appointments stay compact on phone screens. */
.be-shell.be-showcase.be-role-client .be-visual-training-hero{
 min-height:0!important;border-radius:11px!important
}
.be-shell.be-showcase.be-role-client .be-visual-training-copy{padding:17px!important}
.be-shell.be-showcase.be-role-client .be-visual-training-copy h2{font-size:23px!important}
.be-shell.be-showcase.be-role-client .be-visual-progress-hero{
 padding:17px 20px!important;border-radius:11px!important
}
.be-shell.be-showcase.be-role-client .be-visual-progress-hero h2{font-size:23px!important}
.be-shell.be-showcase.be-role-client .be-visual-progress-hero p{font-size:12px!important}
.be-shell.be-showcase.be-role-client .be-visual-bookings-hero{min-height:0!important}
.be-shell.be-showcase.be-role-client .be-visual-bookings-copy{padding:17px!important}
.be-shell.be-showcase.be-role-client .be-ref-booking-row{min-height:0!important;padding:13px!important}
.be-shell.be-showcase.be-role-client .be-visual-hub{display:none!important}
.be-shell.be-showcase.be-role-client .be-visual-home-hero{min-height:255px!important}
.be-shell.be-showcase.be-role-client .be-ref-next-workout-card{order:-2!important}
.be-shell.be-showcase.be-role-client .be-ref-client-digest{order:-1!important}
@media(max-width:600px){
 .be-shell.be-showcase.be-role-client .be-visual-home-hero{min-height:245px!important}
 .be-shell.be-showcase.be-role-client .be-visual-bookings-photo{height:90px!important}
 .be-shell.be-showcase.be-role-client .be-visual-training-photo{height:95px!important;min-height:95px!important}
 .be-shell.be-showcase .be-main :is(.be-rp-tile,.tr-metric){padding:12px!important}
}

.be-shell.be-showcase .be-audit-settings{max-width:1280px;margin:0 auto}
.be-shell.be-showcase .be-audit-settings-tabs{
 display:flex;gap:8px;flex-wrap:wrap;margin:15px 0 19px;padding-bottom:10px;
 border-bottom:1px solid var(--pt-border)
}
.be-shell.be-showcase .be-audit-settings-tabs button{
 border:1px solid var(--pt-border);background:var(--pt-panel);color:var(--pt-sub);
 border-radius:8px;min-height:44px;padding:10px 17px;font-size:12px;font-weight:750;cursor:pointer
}
.be-shell.be-showcase .be-audit-settings-tabs button.active{
 border-color:var(--pt-gold);color:var(--pt-ink);background:var(--pt-goldsoft);
 box-shadow:inset 0 -3px var(--pt-gold)
}
.be-shell.be-showcase [data-be-settings-panel][hidden]{display:none!important}
.be-shell.be-showcase .be-audit-settings [role=tabpanel]>.panel{
 margin:11px 0;padding:16px;background:var(--pt-panel);border:1px solid var(--pt-border);border-radius:10px
}
.be-shell.be-showcase .be-audit-settings [role=tabpanel] .grid-2{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px
}
.be-shell.be-showcase .be-audit-settings [role=tabpanel] :is(label,strong,h2,h3){color:var(--pt-ink)}
.be-shell.be-showcase .be-audit-settings [role=tabpanel] :is(p,small){color:var(--pt-sub)}
.be-shell.be-showcase .be-ref-quick-actions{grid-template-columns:repeat(auto-fit,minmax(157px,1fr))!important}
@media(max-width:700px){
 .be-shell.be-showcase .be-audit-settings [role=tabpanel] .grid-2{grid-template-columns:1fr}
 .be-shell.be-showcase .be-audit-settings-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .be-shell.be-showcase .be-audit-settings-tabs button{width:100%}
}

.be-shell.be-showcase .be-audit-price-bridge{
 min-width:245px;flex:1;display:grid;gap:9px;padding:14px;background:var(--pt-soft);
 border:1px solid var(--pt-border);border-radius:10px
}
.be-shell.be-showcase .be-audit-price-bridge label{
 display:grid;gap:7px;font-size:12px;font-weight:760;color:var(--pt-ink)
}
.be-shell.be-showcase .be-audit-price-bridge select{
 padding:10px;border-radius:7px;min-height:44px;border:1px solid var(--pt-border);
 background:var(--pt-panel);color:var(--pt-ink);width:100%;min-width:0
}
.be-shell.be-showcase .be-audit-price-bridge p{
 font-size:11px!important;color:var(--pt-sub)!important;line-height:1.5
}
.be-shell.be-showcase .be-audit-price-bridge .be-primary-button{
 justify-self:start
}

/* Bank reconciliation is the primary task; extra status stays accessible on demand. */
.be-shell.be-showcase .bank-owner-extra{margin-top:16px;border:1px solid var(--pt-border);border-radius:10px;background:var(--pt-panel);padding:13px 17px}
.be-shell.be-showcase .bank-owner-extra summary{cursor:pointer;color:var(--pt-ink);font-size:13px;font-weight:750;min-height:35px;display:flex;align-items:center}
.be-shell.be-showcase .bank-owner-extra[open] summary{margin-bottom:14px;border-bottom:1px solid var(--pt-border);padding-bottom:12px}
.be-shell.be-showcase .bank-owner-extra :is(h1,h2,h3,strong){color:var(--pt-ink)!important}
.be-shell.be-showcase .bank-owner-extra :is(p,small){color:var(--pt-sub)!important}
