
/* gym.css */
:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#342b42;background:#faf7fd;font-synthesis:none;font-size:15px;--accent:#087c8c;--line:#eadff0;--muted:#746c7f}*{box-sizing:border-box}body{margin:0;padding-bottom:112px;background:radial-gradient(ellipse at 0 0,#f2e8f7,transparent 60%),#faf7fd}h1,h2,h3,p{margin:0}h1{font-size:clamp(28px,3.4vw,44px);line-height:1.16;letter-spacing:-.045em}h2{font-size:24px;letter-spacing:-.025em}h3{font-size:18px}p{line-height:1.65}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #087c8c;outline-offset:3px}button{border:0}a{color:var(--accent)}[hidden]{display:none!important}main{width:min(1380px,92vw);margin:0 auto}.skip{position:absolute;top:-80px}.skip:focus{top:0;z-index:20;background:white;padding:16px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:14px;padding:11px 18px;font-weight:750;text-decoration:none;border:1px solid #e3d6eb;background:#fff;color:#7b3aad;white-space:normal}.btn.primary{background:#843ec1;color:#fff;border-color:transparent}.btn.white{background:white;color:#155f70;border-color:#ffffff90}.btn.glass{background:#ffffff16;color:white;border-color:#ffffff66}.btn.danger{color:#a52f4e}.btn.small{padding:8px 12px;font-size:13px}.icon{width:23px;height:23px;flex:none}.hero{display:grid;grid-template-columns:1.4fr 1fr;gap:32px;padding:38px;border-radius:30px;color:white;margin-bottom:24px}.hero-copy{display:flex;flex-direction:column;align-items:flex-start;gap:20px}.hero-tag,.eyebrow{font-size:11px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}.hero-tag{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #ffffff45;border-radius:24px;background:#ffffff12}.hero p{font-size:17px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.hero-focus{border-radius:24px;padding:24px;display:flex;flex-direction:column;align-items:flex-start;gap:14px;background:white;color:#234b55;border:1px solid #c5f7fa}.hero-focus h3{font-size:30px}.hero-focus p{font-size:14px}.focus-label{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:11px;font-weight:800;letter-spacing:.1em}.pill,.badge{display:inline-flex;align-items:center;border-radius:20px;padding:6px 10px;background:#f1e7f7;color:#7c3caf;font-size:12px;font-weight:700}.badge.good{background:#eaf4de;color:#456021}.badge.warn{background:#fff0db;color:#89550a}.badge.neutral{background:#efedf1;color:#655d70}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px}.metric,.card{background:white;border:1px solid var(--line);border-radius:24px;box-shadow:0 8px 26px #48235305}.metric{display:flex;align-items:center;gap:15px;padding:24px}.metric strong{font-size:28px;display:block;letter-spacing:-.04em}.metric small{font-size:12px;color:var(--muted)}.tile{width:48px;height:48px;display:grid;place-items:center;background:#f0e4f8;color:#9047c4;border-radius:16px;flex:none}.tile.teal{background:#e2f5ef;color:#23846a}.tile.orange{background:#fff0df;color:#b4782e}.tile.pink{background:#fbe5f0;color:#b94480}.card{padding:28px;margin-bottom:22px}.card>p{margin-top:8px;color:var(--muted)}.grid{display:grid;grid-template-columns:1.6fr 1fr;gap:24px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px;flex-wrap:wrap}.section-heading h1{font-size:30px}.section-heading p{color:var(--muted);margin-top:7px}.section-heading .eyebrow{color:#9351b4;display:block;margin-bottom:7px}.row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 0;border-top:1px solid #f0e9f4}.row>div{min-width:0}.row strong{display:block}.row p,.row small{color:var(--muted);font-size:13px;overflow-wrap:anywhere}.row .actions{margin:0}.empty{text-align:center;padding:32px 14px;color:var(--muted);border:1px dashed #ded3e6;border-radius:18px}.empty .icon{width:34px;height:34px;color:#a581ba;margin-bottom:8px}.empty h3{color:#675575;font-size:17px;margin-bottom:7px}.quick{display:flex;align-items:center;gap:15px;width:100%;padding:17px 0;text-align:left;border-top:1px solid #f0e9f4;background:transparent;color:inherit}.quick small{display:block;margin-top:5px;color:var(--muted)}.bottom-nav{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);width:min(900px,94vw);padding:8px;display:flex;gap:4px;background:#fffffff5;border:1px solid #e9dcf0;border-radius:24px;box-shadow:0 12px 45px #4c28552b;z-index:10;backdrop-filter:blur(16px)}.bottom-nav:empty{display:none}.bottom-nav button{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:12px 5px;border-radius:17px;background:none;color:#776684;font-size:12px;font-weight:700}.bottom-nav button.active{background:#f2e5fa;color:#883bbb}.bottom-nav .icon{width:22px;height:22px}label{display:grid;gap:7px;font-size:13px;font-weight:650;color:#5b4e66}input,select,textarea{width:100%;min-height:46px;border:1px solid #d9cde3;border-radius:12px;padding:11px 12px;background:white;color:#342b42}textarea{resize:vertical;min-height:95px}input[readonly]{background:#f7f5f9}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.full{grid-column:1/-1}.form-error{color:#aa2c46;font-size:14px;min-height:24px;margin:10px 0}.search{display:flex;gap:10px;max-width:600px;margin-bottom:20px}.tabs{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 22px}.tabs button{padding:10px 14px;border-radius:12px;background:#f4edf8;color:#725382}.tabs .active{background:#823bbb;color:white}.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.plan-card{border:1px solid #e7d9ee;border-radius:20px;padding:22px;background:linear-gradient(145deg,white,#faf6fc)}.plan-card strong.price{font-size:27px;display:block;margin:16px 0}.plan-card p{color:var(--muted)}.auth-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:30px;align-items:stretch;margin:26px 0}.auth-intro{border-radius:30px;overflow:hidden;background:#155467;color:white}.auth-intro img{display:block;width:100%;aspect-ratio:1.5;object-fit:cover}.auth-intro>div{padding:30px}.auth-intro h1{margin:14px 0}.auth-card{margin:0;display:flex;flex-direction:column;justify-content:center;padding:38px}.auth-card form{margin-top:25px;display:grid;gap:15px}.auth-card .btn.primary{width:100%}.auth-links{display:flex;gap:14px;justify-content:space-between;flex-wrap:wrap;margin-top:18px}.auth-links button{background:none;color:#803db2;text-decoration:underline;font-size:13px}.brand-inline{display:flex;align-items:center;gap:12px;margin-bottom:26px}.brand-inline img{width:55px}.brand-inline strong{display:block;color:#983fb9;font-size:23px;letter-spacing:-.05em}.brand-inline span{font:27px Georgia;color:#087c8c}.auth-mode>header{display:none!important}.loading{text-align:center;padding:50px}.error-banner{padding:14px 20px;border:1px solid #efb4c1;background:#fff2f5;color:#8e2c40;border-radius:16px;margin-bottom:20px}dialog{width:min(680px,94vw);border:1px solid var(--line);border-radius:25px;padding:25px;max-height:90dvh;overflow:auto;color:#342b42;box-shadow:0 24px 90px #35233c40}dialog::backdrop{background:#221b386b;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;color:#9849b9}.dialog-heading button{font-size:30px;width:42px;height:42px;border-radius:12px;background:#f4edf8;color:#75478f}dialog h2{margin-bottom:22px}dialog form>.btn{margin-top:10px}.note{padding:18px;border:1px solid #e7dcec;border-radius:18px;margin-top:12px;background:#fdfbfe}.note p{white-space:pre-wrap;margin-top:8px;color:#6a6173}.exercise{border-left:3px solid #4fc1cc;padding:8px 14px;margin-top:12px}.exercise-edit{border:1px solid var(--line);border-radius:16px;padding:15px;margin-bottom:12px}.subtle{font-size:12px;color:var(--muted);margin:8px 0}.member-head{display:flex;gap:16px;align-items:center}.avatar{width:60px;height:60px;display:grid;place-items:center;border-radius:20px;background:#ecdef6;color:#8846b1;font-size:22px;font-weight:800;flex:none}.back{margin-bottom:16px}#toast{position:fixed;bottom:110px;left:50%;transform:translateX(-50%);background:#34283f;color:white;border-radius:14px;max-width:90vw;padding:14px 22px;z-index:100;display:none}#toast.show{display:block}.staff-warning{background:#f7f2fa;border-radius:14px;padding:15px;margin:16px 0}.progress-data{display:flex;gap:25px;margin-top:15px}.progress-data strong{font-size:25px;display:block}.progress-data span{font-size:12px;color:var(--muted)}
@media(max-width:1000px){.metrics{grid-template-columns:1fr 1fr}.hero{grid-template-columns:1fr 1fr;padding:28px}.grid{grid-template-columns:1fr}.plan-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){main{width:94vw}.hero{grid-template-columns:1fr;padding:25px;gap:25px}.hero p{font-size:16px}.metrics{gap:10px}.metric{padding:15px;gap:10px}.metric .tile{width:35px;height:35px;border-radius:12px}.metric strong{font-size:25px}.metric small{font-size:11px}.card{padding:20px}.auth-layout{grid-template-columns:1fr}.auth-intro>div{padding:24px}.auth-card{padding:25px}.auth-intro h1{font-size:28px}.form-grid{grid-template-columns:1fr}.plan-grid{grid-template-columns:1fr}.row{align-items:flex-start;flex-wrap:wrap}.bottom-nav{bottom:8px;padding:6px;border-radius:19px}.bottom-nav button{font-size:10px;padding:10px 3px}.hero-focus{padding:20px}.actions .btn{flex-grow:1}.section-heading .btn{font-size:13px}.search{flex-wrap:wrap}.search input{flex:1;min-width:160px}.progress-data{flex-wrap:wrap}.plan-card{padding:20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}@media print{header,nav,.btn,button,#toast{display:none!important}body{padding:0;background:white}main{width:100%}.card{box-shadow:none;break-inside:avoid}}
.announcements-section .eyebrow{color:#087c8c}.announcement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.announcement{min-width:0;border:1px solid #cde9ec;border-radius:20px;padding:20px;background:linear-gradient(140deg,#fff,#f2fbfc)}.announcement h3{margin:10px 0 14px;overflow-wrap:anywhere;color:#155467;font-size:23px}.announcement-body{white-space:pre-wrap;overflow-wrap:anywhere;color:#395a64}.announcement-image{display:block;width:100%;height:auto;max-height:600px;object-fit:contain;border-radius:14px;margin:12px 0;background:#eaf7f8}.announcement-image[hidden]{display:none}.announcement-image-link{display:block}.announcements-section .btn.primary{background:#087c8c}.bottom-nav button{min-width:0}.bottom-nav button.active{background:#dff4f5;color:#087c8c}@media(max-width:700px){.announcement-grid{grid-template-columns:1fr}.announcement{padding:16px}.bottom-nav button{font-size:9px;padding:10px 1px}.bottom-nav{gap:1px}}
.trial-summary{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:14px 20px;margin-bottom:18px;border-radius:16px;background:#e5f6f7;color:#155467;font-size:13px}
/* Professional workflow */
.form-section{border:1px solid var(--line,#dce8e8);border-radius:16px;padding:16px;margin:18px 0}.form-section summary{font-weight:750;cursor:pointer}.form-section p,.comparison p{color:#52666b;font-size:.9rem}.pro-observation{margin:14px 0}.pro-observation p{white-space:pre-wrap;margin-top:5px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:.92rem}th,td{text-align:left;padding:13px;border-bottom:1px solid #dce8e8;vertical-align:top}td small{display:block;color:#52666b;margin-top:4px}.comparison{padding:20px;background:#f0f8f8;border-radius:18px;margin:18px 0}.review-date{font-weight:700;color:#087c8c}.record-section{margin-top:22px}.record-section>summary{font-size:1.15rem;font-weight:750;cursor:pointer;padding:10px 0}.search label{min-width:140px}.search{flex-wrap:wrap}.exercise-edit{border-left:4px solid #0c8291}.role-label{font-weight:600;color:#087c8c}.progress-data{flex-wrap:wrap}.progress-data>div{min-width:110px}.pro-tools{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}@media(max-width:600px){.search label{width:100%}.metrics{grid-template-columns:1fr 1fr}.metric strong{font-size:1.35rem}.table-scroll{margin:0 -8px}.progress-data{display:grid;grid-template-columns:1fr 1fr}}
.btn:not(.danger):not(.white):not(.glass){color:#087c8c;border-color:#c7e3e6}.btn.primary{color:#fff!important;background:#087c8c}.eyebrow{color:#087c8c}body{background:radial-gradient(ellipse at 0 0,#e5f4f3,transparent 60%),#f7fbfb}.hero .eyebrow,.dialog-heading .eyebrow{color:inherit}.exercise strong,.exercise small{display:block}.exercise small{color:#087c8c;margin-bottom:5px}

/* Routine catalogue */
.catalog-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;margin:16px 0}.exercise-catalog{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:330px;overflow:auto;padding:3px}.catalog-option{display:flex;align-items:center;gap:12px;border:1px solid var(--line,#d7e7e7);border-radius:12px;padding:12px;cursor:pointer;background:#fff}.catalog-option input[type=checkbox]{width:22px;height:22px;min-width:22px;margin:0;accent-color:#087f8c}.catalog-option:has(input:checked){background:#e9f8f6;border-color:#087f8c}.catalog-option small{display:block;margin-top:4px;font-weight:400}.catalog-apply{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.exercise-quantities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.exercise-edit h4{margin:0;font-size:1.1rem}.exercise-guide{margin-top:12px;padding:12px;border-radius:12px;background:#f1f8f7}.exercise-guide summary{cursor:pointer;font-weight:600;color:#087483}.exercise-guide li{margin:8px 0}.exercise-edit .form-section{margin:14px 0}.exercise-guide a{white-space:normal}.exercise-edit{scroll-margin:20px}.exercise-quantities input{min-width:0;width:100%}
@media(max-width:640px){.catalog-filters,.exercise-catalog{grid-template-columns:1fr}.exercise-quantities{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-apply{align-items:stretch;flex-direction:column}.exercise-edit .section-heading{align-items:flex-start;flex-direction:column}.exercise-edit .actions{flex-wrap:wrap}}

/* Owner subscription remains reachable after the product license expires. */
.subscription-card{max-width:900px;margin-inline:auto}.subscription-price-detail{margin:24px 0;padding:20px;border:1px solid #d9eaec;border-radius:18px}.subscription-price-detail dl{margin:0}.subscription-price-detail dl>div{display:flex;justify-content:space-between;gap:24px;padding:10px 0}.subscription-price-detail dd{margin:0;white-space:nowrap}.subscription-total{border-top:1px solid #d9eaec;font-weight:750;font-size:1.15rem}.subscription-payment{padding:16px;background:#eef8f9;border-radius:14px;margin-bottom:18px}.subscription-card .actions{flex-wrap:wrap}.subscription-card .btn[disabled]{opacity:.6;cursor:not-allowed}.subscription-card .trial-summary{flex-wrap:wrap}@media(max-width:600px){.subscription-card .actions>*{width:100%;text-align:center}.subscription-card .actions a{display:block}.subscription-card{padding:20px}}
@media(max-width:700px){.bottom-nav{overflow-x:auto;overscroll-behavior-x:contain;justify-content:flex-start}.bottom-nav button{flex:0 0 76px;font-size:11px;padding:10px 5px}.bottom-nav button:only-child{flex:1}}

/* header-family-v1.css */
/* Shared product banner; decorative layers never intercept controls. */
html body header.bh-product-header{
 --bh-accent:#b86322;--bh-tint:#ad5518;--bh-filter:none;
 position:relative!important;isolation:isolate;box-sizing:border-box;
 display:block!important;width:min(1380px,92vw)!important;height:360px!important;min-height:360px!important;
 max-width:none!important;margin:24px auto!important;padding:0!important;overflow:hidden;
 border:1px solid #e8d9ed!important;border-radius:30px!important;
 background:#faf5f7!important;box-shadow:0 16px 42px #56306714!important;
 color:#392848!important;top:auto!important;gap:0!important;z-index:auto;
}
html body header.bh-product-header::before,html body header.bh-product-header::after{display:none!important}
html body header.bh-product-header[data-bh-product="medical"]{--bh-accent:#777582;--bh-tint:#888491;--bh-filter:grayscale(1) brightness(1.55)}
html body header.bh-product-header[data-bh-product="dental"]{--bh-accent:#c026a3;--bh-tint:#aa247f;--bh-filter:hue-rotate(275deg) saturate(.8)}
html body header.bh-product-header[data-bh-product="nurse"]{--bh-accent:#b44266;--bh-tint:#a94264;--bh-filter:hue-rotate(305deg) saturate(.58) brightness(1.1)}
html body header.bh-product-header[data-bh-product="nutri"]{--bh-accent:#52772c;--bh-tint:#5b7b34;--bh-filter:hue-rotate(55deg) saturate(.52) brightness(1.02)}
html body header.bh-product-header[data-bh-product="senior"]{--bh-accent:#a67813;--bh-tint:#ac851a;--bh-filter:hue-rotate(18deg) saturate(.7) brightness(1.3)}
.bh-header-art{position:absolute;inset:0;pointer-events:none;z-index:0;background:var(--bh-tint)}
.bh-header-art::before{content:"";position:absolute;inset:0 35% 0 0;background:url('assets/technology-connections-v1.png') center/cover no-repeat;filter:var(--bh-filter)}
.bh-header-art::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 24%,var(--bh-tint) 70%);opacity:.25}
.bh-header-photo{position:absolute;inset:0 0 0 42%;z-index:1;pointer-events:none;mask-image:linear-gradient(90deg,transparent,#000 28%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 28%)}
.bh-header-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 16%;border-radius:0!important;max-width:none}
[data-bh-product="senior"] .bh-header-photo img{object-position:center top}
[data-bh-product="medical"] .bh-header-photo{inset-inline-start:34%}
[data-bh-product="medical"] .bh-header-photo img{object-position:right center}
.bh-header-watermark{position:absolute;z-index:2;pointer-events:none;inset:0 52% 0 0;display:flex;align-items:center;justify-content:center;padding:15px;box-sizing:border-box;color:#fff;opacity:.15;font:400 clamp(38px,4.8vw,70px)/1 Georgia,'Times New Roman',serif;letter-spacing:-.055em;white-space:nowrap;text-shadow:none;user-select:none}
html body .bh-product-header .bh-header-content{position:relative;z-index:3;box-sizing:border-box;width:49%;height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:14px;padding:25px 28px;background:none}
html body .bh-product-header .bh-header-content>:is(.brand,.brand-card){display:flex!important;flex:none!important;align-items:center;gap:12px;width:fit-content;max-width:100%!important;min-width:0;margin:0!important;padding:12px 16px!important;background:#ffffffed!important;border:1px solid #ffffffb3!important;border-radius:22px!important;box-shadow:0 8px 28px #4c273a12;box-sizing:border-box;text-decoration:none;color:#392848}
html body .bh-product-header :is(.brand,.brand-card) img{width:52px!important;height:52px!important;object-fit:contain!important;padding:0!important;flex-shrink:0;border-radius:14px!important;background:#fff}
html body .bh-product-header :is(.brand>span,.brand>div,.brand-copy){min-width:0}
html body .bh-product-header :is(.brand strong:not(.product),.brand b,.brand-name,.brand-copy h1){display:block;font:800 25px/1.1 system-ui,sans-serif!important;letter-spacing:-.065em!important;margin:0!important;background:linear-gradient(90deg,#7939c4,#de4b9e)!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important;white-space:nowrap}
html body .bh-product-header .brand b>span{color:inherit}
html body .bh-product-header :is(.brand-product,.product-name,.brand .product){display:block;font:400 30px/1.1 Georgia,'Times New Roman',serif!important;letter-spacing:-.045em!important;text-transform:none!important;color:var(--bh-accent)!important;margin:2px 0 0!important}
html body .bh-product-header :is(.brand h1,.brand-card h1){margin:0!important;line-height:1.1}
html body .bh-product-header :is(.brand small,.brand-card small){color:#6e6078!important;font-size:11px!important;line-height:1.3;max-width:100%;margin-top:5px;overflow-wrap:anywhere}
.bh-header-lower{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}
html body .bh-product-header .top-caption{align-self:flex-start!important;text-align:left!important;display:grid!important;gap:5px;margin:0!important;padding:10px 14px!important;max-width:100%!important;min-width:0;background:#fff0e8ed!important;border-radius:14px;box-shadow:0 5px 20px #54291a0a;color:#423047!important;box-sizing:border-box}
html body .bh-product-header .top-caption .eyebrow{color:#805b69!important;font-size:9px!important;letter-spacing:.12em}
html body .bh-product-header .top-caption>span:last-child{font-size:14px!important;line-height:1.35;overflow-wrap:anywhere;font-weight:650}
.bh-header-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;width:100%;min-width:0}
html body .bh-product-header :is(.actions,.top-actions){display:flex!important;flex-wrap:wrap;align-items:center;justify-content:flex-start!important;gap:8px;width:100%!important;max-width:none!important;min-width:0;flex:initial!important;margin:0!important}
html body .bh-product-header :is(button,select){box-sizing:border-box;max-width:100%;min-width:0;min-height:40px!important;height:auto;margin:0!important;padding:9px 13px!important;border:1px solid #ece0f1!important;border-radius:13px!important;background:#fffffff2!important;color:#653b81!important;font:700 12px/1.3 system-ui,sans-serif!important;box-shadow:0 4px 12px #48213510;cursor:pointer;text-decoration:none;white-space:normal;flex:none}
html body .bh-product-header select{max-width:250px;padding-right:28px!important}
html body .bh-product-header button[hidden]{display:none!important}
html body .bh-product-header :is(.header-date,.mc-clock){display:none!important}
html body .bh-product-header .avatar-button{display:flex;align-items:center;gap:8px;width:auto!important}
html body .bh-product-header .avatar-button small{display:none}
html body .bh-product-header #clinicName{display:block;color:#49334f;background:#ffffffeb;border-radius:10px;padding:8px 11px;font-size:13px;overflow-wrap:anywhere}
html body .bh-product-header #clinicName:empty{display:none}
html body .bh-product-header :is(button,select,a):focus-visible{outline:3px solid #663399;outline-offset:3px}
@media(min-width:1500px){html body header.bh-product-header{height:400px!important;min-height:400px!important}.bh-header-watermark{font-size:76px}}
@media(max-width:959px){
 html body header.bh-product-header{width:94vw!important;height:520px!important;min-height:520px!important;border-radius:26px!important;margin:18px auto!important}
 .bh-header-photo,[data-bh-product="medical"] .bh-header-photo{inset:0 0 auto;height:245px;mask-image:linear-gradient(0deg,transparent,#000 20%);-webkit-mask-image:linear-gradient(0deg,transparent,#000 20%)}
 .bh-header-photo img{object-position:center 18%}
 .bh-header-art::before{inset:165px 0 0}
 .bh-header-art::after{background:linear-gradient(0deg,transparent,var(--bh-tint));opacity:.13}
 .bh-header-watermark{inset:235px 0 0;font-size:clamp(45px,8vw,74px);align-items:center;opacity:.13}
 html body .bh-product-header .bh-header-content{width:100%;height:295px;margin-top:225px;padding:14px 23px 20px;gap:12px}
 html body .bh-product-header .bh-header-lower{gap:10px}
}
@media(max-width:480px){
 html body header.bh-product-header{height:500px!important;min-height:500px!important;border-radius:24px!important;margin:14px auto!important}
 .bh-header-photo,[data-bh-product="medical"] .bh-header-photo{height:210px}
 .bh-header-art::before{inset:150px 0 0}
 .bh-header-watermark{inset:190px 0 0;font-size:49px;letter-spacing:-.065em}
 html body .bh-product-header .bh-header-content{height:305px;margin-top:195px;padding:13px 17px 19px;gap:9px}
 html body .bh-product-header .bh-header-content>:is(.brand,.brand-card){padding:10px 12px!important;gap:10px;border-radius:18px!important}
 html body .bh-product-header :is(.brand,.brand-card) img{width:43px!important;height:43px!important}
 html body .bh-product-header :is(.brand strong:not(.product),.brand b,.brand-name,.brand-copy h1){font-size:22px!important}
 html body .bh-product-header :is(.brand-product,.product-name,.brand .product){font-size:27px!important}
 html body .bh-product-header :is(button,select){font-size:11px!important;padding:9px 11px!important}
 html body .bh-product-header select{max-width:100%}
 html body .bh-product-header .top-caption{padding:8px 11px!important}
}
@media(max-width:959px){[data-bh-product="medical"] .bh-header-photo{height:auto;aspect-ratio:2.5;mask-image:linear-gradient(0deg,transparent,#000 22%);-webkit-mask-image:linear-gradient(0deg,transparent,#000 22%)}[data-bh-product="medical"] .bh-header-photo img{width:100%;height:auto;object-fit:contain}}
html body header.bh-product-header[hidden]{display:none!important}
html body.auth-mode:has(.bh-entry)>header.bh-product-header{display:none!important}
@media print{html body header.bh-product-header{display:none!important}}

/* Product identity is limited to the main welcome surface. */
body:has(.bh-product-header[data-bh-product="medical"]) :is(#main > .hero, .mc-hero, .ph-hero, #mainContent > .admin-welcome) {--bh-principal-a:#566170;--bh-principal-b:#727e8f;--bh-principal-c:#aebac8;--bh-principal-light:#e4ecf7;--bh-principal-shadow:86,97,112;}
body:has(.bh-product-header[data-bh-product="dental"]) :is(#main > .hero, .mc-hero, .ph-hero, #mainContent > .admin-welcome) {--bh-principal-a:#a02382;--bh-principal-b:#c836a0;--bh-principal-c:#ec6bb1;--bh-principal-light:#ffd6ef;--bh-principal-shadow:188,64,137;}
body:has(.bh-product-header[data-bh-product="nurse"]) :is(#main > .hero, .mc-hero, .ph-hero, #mainContent > .admin-welcome) {--bh-principal-a:#a32f68;--bh-principal-b:#c44a83;--bh-principal-c:#e781aa;--bh-principal-light:#ffdfec;--bh-principal-shadow:174,61,114;}
body:has(.bh-product-header[data-bh-product="nutri"]) :is(#main > .hero, .mc-hero, .ph-hero, #mainContent > .admin-welcome) {--bh-principal-a:#226347;--bh-principal-b:#348762;--bh-principal-c:#77b891;--bh-principal-light:#def8e9;--bh-principal-shadow:42,115,80;}
body:has(.bh-product-header[data-bh-product="physio"]) :is(#main > .hero, .mc-hero, .ph-hero, #mainContent > .admin-welcome) {--bh-principal-a:#a64d1f;--bh-principal-b:#c77736;--bh-principal-c:#e4a363;--bh-principal-light:#ffe8c6;--bh-principal-shadow:188,114,37;}
body:has(.bh-product-header[data-bh-product="senior"]) :is(#main > .hero, .mc-hero, .ph-hero, #mainContent > .admin-welcome) {--bh-principal-a:#785316;--bh-principal-b:#987020;--bh-principal-c:#d6b956;--bh-principal-light:#fff0ba;--bh-principal-shadow:161,126,39;}
html body:has(.bh-product-header) :is(#main > .hero, .mc-hero, .ph-hero, #mainContent > .admin-welcome) {
 position:relative;
 isolation:isolate;
 overflow:hidden;
 background:
  radial-gradient(ellipse at 28% -22%,#ffffff42,transparent 56%),
  linear-gradient(124deg,transparent 0%,transparent 61%,#ffffff12 61.1%,#ffffff04 73%,transparent 73.1%),
  linear-gradient(124deg,transparent 60.8%,#ffffff2b 61%,transparent 61.2%,transparent 73%,#ffffff21 73.1%,transparent 73.3%),
  linear-gradient(112deg,var(--bh-principal-a) 0%,var(--bh-principal-b) 52%,var(--bh-principal-c) 100%) !important;
 border:1px solid var(--bh-principal-light) !important;
 box-shadow:inset 0 1px 0 #ffffffb3,inset 0 0 0 1px #ffffff15,inset 0 -1px 0 #ffffff30,0 18px 42px rgba(var(--bh-principal-shadow),.18) !important;
}
html body:has(.bh-product-header) :is(#main > .hero, .mc-hero, .ph-hero, #mainContent > .admin-welcome)::before {border-color:#ffffff45;pointer-events:none;}

/* Agenda card inherits only the containing welcome banner identity. */
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) {
 --bh-agenda-ink:color-mix(in srgb,var(--bh-principal-a) 38%,#24303a);
 --bh-agenda-muted:color-mix(in srgb,var(--bh-principal-a) 25%,#657080);
 --bh-agenda-line:color-mix(in srgb,var(--bh-principal-a) 17%,white);
 --bh-agenda-wash:color-mix(in srgb,var(--bh-principal-a) 7%,white);
 background:linear-gradient(145deg,#ffffff 0%,var(--bh-agenda-wash) 100%);
 color:var(--bh-agenda-ink);
 border:1px solid color-mix(in srgb,var(--bh-principal-light) 55%,white);
 box-shadow:inset 0 1px 0 #fff,0 14px 32px rgba(var(--bh-principal-shadow),.12);
}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) :is(h1,h2,h3,strong,b) {color:var(--bh-agenda-ink);}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) :is(p,small) {color:var(--bh-agenda-muted);}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) :is(.eyebrow,.ph-eyebrow,.focus-label,.mc-focus-top span), html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) > small {color:var(--bh-principal-a);}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) :is(.focus-label,.mc-focus-top) {border-color:var(--bh-agenda-line);}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next).mc-focus > strong, html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next).hero-focus h3, html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next).ph-next > strong, html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) > b {color:var(--bh-principal-a);}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) :is(.focus-count,.mc-focus-top b) {background:linear-gradient(120deg,var(--bh-principal-a),var(--bh-principal-b));color:#fff;box-shadow:inset 0 1px 0 #ffffff44;}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) :is(button,a) {color:var(--bh-principal-a);border-color:var(--bh-agenda-line);}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) :is(.btn.link,.mc-focus-link) {background:transparent;border-color:transparent;}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next).ph-next .btn {background:#fff;}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) :is(button,a):hover {background:var(--bh-agenda-wash);color:var(--bh-principal-a);}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) :is(button,a):focus-visible {outline:3px solid var(--bh-principal-a);outline-offset:3px;}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) .focus-label svg {color:var(--bh-principal-a);}

/* White actions in the welcome surface follow the same product accent. */
html body:has(.bh-product-header) :is(.mc-hero, #main > .hero, .ph-hero) :is(.hero-actions .btn.white,.mc-hero-action.primary,.ph-actions .btn,.actions > button,.actions > .button) {
 color:var(--bh-principal-a);
 border-color:var(--bh-principal-light);
 background:#fff;
}
html body:has(.bh-product-header) .mc-hero .mc-hero-action.primary small {color:var(--bh-principal-a);opacity:.78;}
html body:has(.bh-product-header) :is(.mc-hero, #main > .hero, .ph-hero) :is(.hero-actions .btn.white,.mc-hero-action.primary,.ph-actions .btn,.actions > button,.actions > .button):focus-visible {outline:3px solid var(--bh-principal-light);outline-offset:3px;}

/* gym-brand.css */
html body header.bh-product-header[data-bh-product="gym"]{--bh-accent:#087c8c;--bh-tint:#138997;--bh-filter:hue-rotate(137deg) saturate(.65) brightness(1.1)}
html body .bh-product-header .top-caption{background:#edfcfdf2!important;color:#234b55!important}
html body .bh-product-header .top-caption .eyebrow{color:#34707b!important}
body:has(.bh-product-header[data-bh-product="gym"]) :is(#main>.hero,.mc-hero,.ph-hero){--bh-principal-a:#155467;--bh-principal-b:#0b879b;--bh-principal-c:#4fc1cc;--bh-principal-light:#c5f7fa;--bh-principal-shadow:14,125,143}
html body:has(.bh-product-header[data-bh-product="gym"]) #main>.hero>aside{color:#214d5a!important;background:linear-gradient(140deg,#fff,#eaf9fb)!important;border-color:#c4eff3!important;box-shadow:inset 0 1px 0 #fff,0 12px 24px #10485519!important}
html body:has(.bh-product-header[data-bh-product="gym"]) #main>.hero :is(.hero-focus h3,.hero-focus .eyebrow,.hero-focus .focus-label,.hero-focus strong,.hero-focus .btn,.btn.white){color:#155f70!important}
html body:has(.bh-product-header[data-bh-product="gym"]) #main>.hero .hero-focus p{color:#52737b!important}
[data-bh-product="gym"] .bh-header-photo img{object-position:center top}

/* Shared Bernard Health interface; Gym retains its turquoise product banner. */
html body{background:radial-gradient(ellipse at 0 0,#f0e6fa,transparent 60%),#fbf8fe;color:#33273e}
html body .btn:not(.danger):not(.white):not(.glass){color:#79508c;border-color:#eadcf2}
html body .btn.primary:not(.white){color:white!important;background:linear-gradient(120deg,#793ccc,#ad43b6 60%,#cc4cab);border-color:transparent}
html body .bottom-nav button.active{background:#f0e5f8;color:#803bc1}
html body :is(.role-label,.review-date,.eyebrow){color:#8750a6}
html body :is(.hero,.dialog-heading) .eyebrow{color:inherit}
html body .catalog-option input[type=checkbox]{accent-color:#803bc1}
html body .catalog-option:has(input:checked){background:#f5edf9;border-color:#b58acb}
html body .exercise-edit{border-left-color:#aa77c3}
html body :is(.trial-summary,.comparison,.subscription-payment){background:#f5eef9;color:#725382}
html body .exercise-guide{background:#f6f0fa}
html body .exercise-guide summary{color:#79508c}

/* Function colours and icon tiles match Medical, Physio and Mental Care. */
html body .bottom-nav{width:min(1380px,92vw);padding:12px 18px;border-radius:28px;box-shadow:0 12px 38px #64388312}
html body .bottom-nav button{position:relative;padding:0 8px 4px;gap:7px;color:#8c7f99;background:transparent;font-size:12px}
html body .bottom-nav .nav-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:15px;background:#f1e7fb;color:#9458c5}
html body .bottom-nav .icon{width:24px;height:24px}
html body [data-view=agenda]{--tile-bg:#fff0df;--tile-ink:#d48930}
html body [data-view=members]{--tile-bg:#e6f6ed;--tile-ink:#309677}
html body :is([data-view=finance],[data-view=payments]){--tile-bg:#fbe6f2;--tile-ink:#ce4a94}
html body :is([data-view=plans],[data-view=routine]){--tile-bg:#e2f5f8;--tile-ink:#21a1b7}
html body :is([data-view=staff],[data-view=progress]){--tile-bg:#e7effb;--tile-ink:#7297bf}
html body [data-view=subscription]{--tile-bg:#fbe6f2;--tile-ink:#ce4a94}
html body :is(.bottom-nav button,.quick) :is(.nav-icon,.tile){background:var(--tile-bg,#f1e7fb);color:var(--tile-ink,#9458c5)}
html body .bottom-nav button.active{background:transparent;color:#813bc0}
html body .bottom-nav button.active .nav-icon{color:#fff;background:linear-gradient(120deg,#793ccc 0%,#ad43b6 53%,#e461a9 100%);box-shadow:0 6px 14px #9548bd1c}
html body .bottom-nav button.active:after{content:'';height:3px;width:19px;border-radius:5px;background:#ba4abb;position:absolute;bottom:-5px}
html body .tile{background:#f1e7fb;color:#9458c5;border-radius:17px}
html body .tile.teal{background:#e6f6ed;color:#309677}
html body .tile.orange{background:#fff0df;color:#d48930}
html body .tile.pink{background:#fbe6f2;color:#ce4a94}
html body .metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
html body .quick{padding:21px 0;gap:16px}
html body .quick strong{font-size:16px}
html body .empty{border:0;padding:42px 16px}
html body .empty>.icon{box-sizing:content-box;padding:17px;background:#f3e9f7;border-radius:23px;width:26px;height:26px}
@media(max-width:700px){html body .bottom-nav{width:94vw;padding:10px 6px;border-radius:23px}html body .bottom-nav button{flex:0 0 76px;padding:0 4px 5px;font-size:11px}html body .bottom-nav .nav-icon{width:39px;height:39px;border-radius:13px}html body .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}html body .quick strong{font-size:14px}html body .bottom-nav button.active:after{bottom:0}}

html body .card{border-radius:28px;padding:28px;background:#ffffffed;box-shadow:0 14px 36px #68417c08;border-color:#eadcf2}
html body .metric{padding:20px;border-radius:24px;background:#ffffffbc;box-shadow:0 8px 28px #673e7d05}
html body .bottom-nav .nav-icon{width:42px;height:40px;border-radius:14px}
html body .section-heading .eyebrow{color:#b148b4}
html body .quick:hover .tile{transform:translateY(-2px)}
html body .quick .tile{transition:transform .15s ease}
@media(max-width:700px){html body .card{padding:22px 19px;border-radius:24px}html body .metric{padding:14px 12px;border-radius:20px;min-width:0}html body .metric .tile{width:35px;height:35px;border-radius:12px}html body .bottom-nav .nav-icon{width:36px;height:34px;border-radius:12px}}
@media(prefers-reduced-motion:reduce){html body .quick .tile{transition:none}}

/* Mi equipo: tarjetas de la familia Bernard Health */
.team-view{min-width:0}.team-role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.team-role,.team-person{border:1px solid #eadcf2;border-radius:24px;padding:26px;background:linear-gradient(145deg,#fff,#f8f0fc);min-width:0}.team-role:nth-child(2){background:linear-gradient(145deg,#fff,#fceef6)}.team-role:nth-child(3){background:linear-gradient(145deg,#fff,#edf9f7)}.team-icon{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:18px;background:#f0e5fc;color:#9250c9;flex-shrink:0}.team-icon .icon{width:27px;height:27px}.team-role:nth-child(2) .team-icon{color:#d5439c;background:#fce5f2}.team-role:nth-child(3) .team-icon{color:#269980;background:#e0f5ee}.team-kicker{display:block;font-size:13px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:#856294;margin-top:22px}.team-view .team-role h2{font-size:25px;margin:8px 0 12px;letter-spacing:-.03em}.team-view p,.team-role li{font-size:17px;line-height:1.65;color:#75627f}.team-role ul{list-style:none;padding:16px 0 0;margin:18px 0 0;border-top:1px solid #eadcf2}.team-role li{padding:9px 0 9px 20px;position:relative}.team-role li:before{content:'•';position:absolute;left:0;color:#a571bd}.team-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;list-style:none;padding:0;margin:26px 0}.team-steps li{display:flex;gap:18px;border:1px solid #eadcf2;border-radius:20px;padding:24px;background:#fcf9ff;min-width:0}.team-step-number{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:13px;background:#f0e5fc;color:#8d49bd;font-size:18px;font-weight:750;flex-shrink:0}.team-view h3{font-size:20px;margin:0 0 9px;letter-spacing:-.02em}.team-steps p{margin:0;overflow-wrap:anywhere}.team-access-note{padding:22px;border-radius:18px;background:#f4eef9;margin-bottom:0}.team-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:22px}.team-person-head{display:flex;align-items:center;gap:16px;min-width:0}.team-person-head>div{min-width:0}.team-person-head p,.team-person-head h3{overflow-wrap:anywhere}.team-person-head p{margin:0;font-size:16px}.team-person-status{display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:space-between;border-top:1px solid #eadcf2;padding-top:18px;margin-top:20px}.team-role-label{font-size:16px;color:#745185;font-weight:650}.team-person .actions{margin-top:22px}.team-empty{display:flex;align-items:center;gap:18px;padding:26px;border-radius:20px;background:#faf5fd;border:1px solid #eadcf2;grid-column:1/-1}.team-empty p{margin:0}
@media(max-width:1000px){.team-role-grid{grid-template-columns:1fr}.team-role{padding:24px}.team-role ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.team-kicker{margin-top:16px}}@media(max-width:650px){.team-steps,.team-people{grid-template-columns:1fr}.team-role ul{display:block}.team-role,.team-person{padding:22px;border-radius:20px}.team-steps li{padding:20px;gap:14px}.team-person .actions{display:grid;grid-template-columns:1fr}.team-person .btn{white-space:normal;text-align:center;width:100%}.team-view .section-heading>.btn{width:100%}.team-view p,.team-role li{font-size:17px}.team-view .team-role h2{font-size:24px}}

/* Agenda, socios, caja y membresías: presentación compartida por perfil */
.management-view{min-width:0}.management-view p{font-size:17px;line-height:1.65}.management-view .section-heading{margin-bottom:28px}.management-filter{padding:22px;background:#faf6fd;border:1px solid #eadcf2;border-radius:20px;align-items:end;gap:16px}.management-filter label{min-width:0;font-size:15px;color:#75627f;display:grid;gap:8px;flex:1}.management-filter input{width:100%;min-width:0;min-height:48px;background:white}.management-filter>.btn{min-height:48px}.management-count{color:#75627f;margin:20px 0!important;font-size:15px!important}.management-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.management-item{padding:26px;border:1px solid #eadcf2;border-radius:24px;background:linear-gradient(145deg,#fff,#faf4fd);min-width:0}.management-item h2{font-size:23px;overflow-wrap:anywhere}.management-item h3{font-size:21px}.management-person{display:flex;align-items:center;gap:16px;margin-bottom:22px}.management-person>div{min-width:0}.management-person p{overflow-wrap:anywhere;font-size:16px;color:#75627f;margin-top:7px}.member-tile>.btn{display:flex;width:100%;margin-top:24px}.member-tile .badge{font-size:14px}.management-help{display:flex;align-items:center;gap:20px;background:#f7f1fb;border:1px solid #eadcf2;border-radius:22px;padding:24px;margin-bottom:26px}.management-help>div{flex:1}.management-help h3{font-size:20px;margin-bottom:8px}.management-help p{color:#75627f}.membership-tile{background:linear-gradient(140deg,#fff,#edf8f7);position:relative}.membership-tile>.badge{float:right}.membership-tile h2{margin:24px 0 14px}.membership-price{display:block;font-size:38px;letter-spacing:-.04em;color:#386b70;margin:12px 0}.membership-tile p{color:#75627f}.membership-footer{border-top:1px solid #dfebea;padding-top:18px;margin-top:24px;font-size:15px;color:#75627f}.agenda-day{margin-top:28px}.agenda-day>h2{font-size:20px;color:#805196;margin-bottom:18px;padding-left:14px;border-left:4px solid #d6bce6}.appointment-tile{background:linear-gradient(145deg,#fff,#fff8ee)}.appointment-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:22px}.appointment-top>strong{font-size:24px;color:#a76d28}.appointment-top strong span{font-size:17px;font-weight:500}.appointment-info{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}.appointment-info dt{font-size:14px;color:#85738e;margin-bottom:6px}.appointment-info dd{margin:0;font-size:17px;overflow-wrap:anywhere}.appointment-notes{border-top:1px solid #eadcf2;padding-top:16px}.appointment-notes summary{cursor:pointer;font-size:16px;color:#805196;font-weight:650}.appointment-notes p{padding-top:12px;white-space:pre-line;overflow-wrap:anywhere}.appointment-tile .actions{padding-top:18px;border-top:1px solid #eadcf2;margin-top:22px}.management-empty{padding:48px 24px;text-align:center;border-radius:24px;border:1px dashed #dbc6e8;background:#faf6fd;margin-top:24px}.management-empty h2{margin:16px 0 12px}.management-empty p{color:#75627f}.finance-view .metrics{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin-top:24px}.finance-view .metric{background:linear-gradient(145deg,#fff,#fbeef6);min-width:0}.finance-view .metric:nth-child(2){background:linear-gradient(145deg,#fff,#fff4e6)}.finance-view .metric small{font-size:15px;line-height:1.6}.finance-view .metric strong{font-size:30px;color:#875180;overflow-wrap:anywhere;margin-top:12px}.finance-section-title{margin:34px 0 16px!important;font-size:24px}.finance-view .finance-item{padding:22px;border:1px solid #eadcf2;border-radius:20px;margin:14px 0;background:#fcf9ff;gap:20px}.finance-item strong{font-size:19px}.finance-view table{margin-top:18px}.finance-view th{color:#805196;background:#f8f0fc;padding:18px}.finance-view td{padding:20px 16px;font-size:16px}.finance-view td small{display:block;overflow-wrap:anywhere}.finance-view .subtle{font-size:15px!important}
@media(max-width:900px){.management-grid{grid-template-columns:1fr}.management-help{flex-wrap:wrap}.management-help>.btn{width:100%}}@media(max-width:600px){.management-filter{display:grid;grid-template-columns:1fr;padding:18px}.management-filter>.btn{width:100%}.management-view .section-heading>.btn{width:100%}.management-item{padding:22px;border-radius:20px}.management-person{gap:12px}.management-person .avatar{width:46px;height:46px;flex-shrink:0}.management-item h2{font-size:22px}.management-help{padding:20px}.management-help>div{flex-basis:70%}.membership-price{font-size:34px}.appointment-info{grid-template-columns:1fr}.appointment-tile .actions>.btn{flex:1;min-width:120px}.finance-view .metrics{grid-template-columns:1fr}.finance-view .finance-item{align-items:stretch;flex-direction:column}.finance-view table,.finance-view tbody,.finance-view tr,.finance-view td{display:block;width:100%}.finance-view thead{display:none}.finance-view tr{padding:18px;border:1px solid #eadcf2;border-radius:20px;background:#fcf9ff;margin-bottom:16px}.finance-view td{padding:10px 0;border:0;overflow-wrap:anywhere}.finance-view td:before{content:attr(data-label);display:block;font-size:13px;font-weight:700;color:#85738e;margin-bottom:5px}.finance-view .table-scroll{overflow:visible}.finance-view table{min-width:0}}

/* access-family-v1.css */
/* Bernard Health: shared public entrance. Scoped to the access layout only. */
:is(#authView,#authGate,body.auth-mode):has(.bh-entry){--bh-ink:#393142;--bh-muted:#786e80;--bh-line:#e8ddef;--bh-gradient:linear-gradient(125deg,#793ac2 0%,#a343b7 58%,#ce529f 100%);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:radial-gradient(ellipse at 0 0,#eedff9,transparent 52%),radial-gradient(ellipse at 100% 95%,#f9e6f1,transparent 50%),#fcf9ff;color:var(--bh-ink)}
:is(#authView,#authGate):has(.bh-entry){padding:32px 24px;align-items:start;overflow:auto}
body.auth-mode:has(.bh-entry){padding:32px 24px}
body.auth-mode:has(.bh-entry)>main{width:100%;margin:0;min-height:0;padding:0}
body.auth-mode:has(.bh-entry)>.topbar{display:none}
:is(#authView,#authGate,body.auth-mode) .bh-entry{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:0;width:min(1180px,100%);max-width:1180px;margin:0 auto;padding:0;min-height:0;border:1px solid var(--bh-line);border-radius:28px;overflow:hidden;align-items:stretch;background:#fff;box-shadow:0 22px 64px #69388714}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.auth-story,.auth-intro,.senior-auth-story){position:relative;isolation:isolate;display:block;min-width:0;min-height:0;padding:0;border:0;border-radius:0;overflow:hidden;box-shadow:none;color:white;background:var(--bh-gradient)}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.auth-intro,.senior-auth-story)::after{display:none}
:is(#authView,#authGate,body.auth-mode) .bh-entry .auth-photo{position:relative;inset:auto;height:auto;aspect-ratio:auto;overflow:hidden;mask-image:none;-webkit-mask-image:none}
:is(#authView,#authGate,body.auth-mode) .bh-entry .auth-photo::after{display:none}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.welcome-photo,.auth-photo img,.senior-auth-story>img){position:relative;inset:auto;z-index:auto;display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center top;opacity:1;filter:none;mask-image:linear-gradient(#000 0%,#000 76%,transparent 100%);-webkit-mask-image:linear-gradient(#000 0%,#000 76%,transparent 100%)}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.welcome-story,.auth-intro-copy,.senior-auth-copy){position:relative;margin:0;padding:12px 36px 36px;background:none}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.welcome-story>h2,.auth-intro-copy>h1,.senior-auth-copy>h1){margin:22px 0 16px;font:750 clamp(30px,3.2vw,42px)/1.12 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.04em;color:#fff;text-shadow:none;max-width:100%}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.welcome-story,.auth-intro-copy,.senior-auth-copy)>p{font-size:15px;line-height:1.65;margin:0 0 24px;color:#fff2ff;text-shadow:none;max-width:440px}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.welcome-story>.eyebrow,.hero-tag,.senior-auth-copy>span){display:flex;align-items:center;gap:8px;width:fit-content;max-width:100%;font-size:10px;font-weight:750;line-height:1.5;letter-spacing:.12em;color:#fff;padding:7px 11px;border:1px solid #ffffff45;border-radius:10px;background:#ffffff12}
:is(#authView,#authGate,body.auth-mode) .bh-entry .hero-tag svg{height:18px;width:18px}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.auth-features,.senior-auth-tags){display:grid;gap:12px;margin-top:24px;font-size:13px}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.auth-features>span,.senior-auth-tags>span){display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #ffffff35;border-radius:14px;background:#ffffff0c;color:#fff;font-size:13px;line-height:1.5}
:is(#authView,#authGate,body.auth-mode) .bh-entry .auth-card{width:100%;min-width:0;margin:0;padding:36px;align-self:stretch;border:0;border-radius:0;background:#fff;box-shadow:none;color:var(--bh-ink);text-align:left}
:is(#authView,#authGate,body.auth-mode) .bh-entry .bh-brand{display:flex;align-items:center;justify-content:flex-start;gap:14px;margin:0 0 28px;padding:0;background:none;border:0;box-shadow:none}
:is(#authView,#authGate,body.auth-mode) .bh-entry .bh-brand img{display:block;width:62px;height:62px;margin:0;border-radius:16px;object-fit:contain}
:is(#authView,#authGate,body.auth-mode) .bh-entry .bh-brand strong{display:block;font-size:27px;line-height:1.15;font-weight:800;letter-spacing:-.055em;background:var(--bh-gradient);background-clip:text;-webkit-background-clip:text;color:transparent}
:is(#authView,#authGate,body.auth-mode) .bh-entry .bh-brand :is(h1,span){display:block;margin:0;font:400 30px/1.1 Georgia,"Times New Roman",serif;letter-spacing:-.035em;color:#c026a3}
#authView .bh-entry #welcomeTitle{color:#85818e}
#authGate .bh-entry .bh-brand span{color:#ad7a16}
body.auth-mode .bh-entry .bh-brand:has(+.gym-trial-offer) span{color:#52772c}
#authView .bh-entry #welcomeText{margin:-12px 0 24px;font-size:13px;color:var(--bh-muted);text-align:left}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.professional-trial-promo,.dental-trial-offer,.gym-trial-offer,.senior-trial-offer){position:relative;isolation:isolate;overflow:hidden;margin:0 0 28px;padding:24px;border:1px solid #ffffff70;border-radius:20px;background:var(--bh-gradient);box-shadow:0 10px 28px #8737b51a;text-align:center;color:#fff}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.professional-trial-promo,.dental-trial-offer,.gym-trial-offer,.senior-trial-offer)::before{content:"";position:absolute;z-index:-1;right:-95px;top:-135px;width:210px;height:210px;border:1px solid #ffffff25;border-radius:50%;box-shadow:0 0 0 38px #ffffff06,0 0 0 76px #ffffff04;pointer-events:none}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.trial-promo-kicker,.dental-trial-offer>span,.gym-trial-offer>span,.senior-trial-offer>span){display:block;margin:0 0 14px;padding:0;border:0;border-radius:0;background:none;font:750 9px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.12em;color:#fff}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.professional-trial-promo>h2,.dental-trial-offer>strong,.gym-trial-offer>h2,.senior-trial-offer>strong){display:block;font:750 27px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.035em;color:white;margin:0}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.professional-trial-promo h2>span,.professional-trial-promo h2 strong,.dental-trial-offer b,.senior-trial-offer b){display:block;font-size:34px;line-height:1.25;font-weight:800;color:#fff;margin:3px 0 0}
#authView .bh-entry .professional-trial-promo h2>span{display:flex;gap:8px;align-items:baseline;font-size:24px}
:is(#authView,#authGate,body.auth-mode) .bh-entry .subscription-price{display:block;width:fit-content;max-width:100%;margin:18px auto 0;padding:7px 13px;border-radius:10px;background:#fff5fb;font-size:17px;font-weight:650;color:#786e80;line-height:1.4}
#authView .bh-entry .trial-promo-cta{margin-top:18px;border-radius:12px;min-height:48px;font-size:15px}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.auth-card>h2,.auth-card>h3,.auth-intro h2,.access-heading h2){font-size:26px;line-height:1.25;letter-spacing:-.035em;color:var(--bh-ink);margin:0 0 12px;font-weight:750}
:is(#authView,#authGate,body.auth-mode) .bh-entry .auth-card label{display:block;font-size:13px;font-weight:650;line-height:1.5;color:#665c70;margin:16px 0 7px}
:is(#authView,#authGate,body.auth-mode) .bh-entry .auth-card :is(input:not([type="checkbox"]),select){display:block;width:100%;height:48px;min-height:48px;margin:7px 0 0;padding:11px 14px;border:1px solid #ded2e7;border-radius:12px;background:#fdfbff;color:#393142;box-shadow:none;font:400 16px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.btn.primary,.auth-primary){width:100%;min-height:48px;padding:12px 18px;margin-top:20px;border:0;border-radius:12px;background:var(--bh-gradient);box-shadow:0 7px 20px #7637b31a;color:#fff;font-size:15px;line-height:1.4;font-weight:750}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.auth-links button,.auth-secondary){display:block;width:100%;min-height:44px;padding:10px 14px;border:1px solid #e7d9ef;border-radius:12px;background:#fcf8ff;color:#7c3dae;font-size:14px;font-weight:650;text-align:center;text-decoration:none;white-space:normal}
:is(#authView,#authGate,body.auth-mode) .bh-entry .auth-links{display:grid;gap:10px;margin-top:16px}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(button,input,select,a):focus-visible{outline:3px solid #9766c6;outline-offset:3px}
#authGate .bh-entry .auth-intro{background:none;color:var(--bh-ink)}
#authGate .bh-entry .auth-intro p{font-size:14px;color:var(--bh-muted);line-height:1.6}
#authGate .bh-entry .auth-form label:has(input[type="checkbox"]){display:flex;align-items:center;gap:9px}
#authGate .bh-entry .auth-form input[type="checkbox"]{width:18px;height:18px;min-height:0;accent-color:#853fba}
#authGate .bh-entry .auth-secondary{margin-top:14px}
@media(max-width:800px){
 :is(#authView,#authGate):has(.bh-entry),body.auth-mode:has(.bh-entry){padding:16px}
 :is(#authView,#authGate,body.auth-mode) .bh-entry{grid-template-columns:1fr;max-width:600px;border-radius:24px}
 :is(#authView,#authGate,body.auth-mode) .bh-entry .auth-card{padding:28px 24px}
 :is(#authView,#authGate,body.auth-mode) .bh-entry :is(.welcome-story,.auth-intro-copy,.senior-auth-copy){padding:8px 24px 28px}
 :is(#authView,#authGate,body.auth-mode) .bh-entry :is(.welcome-story>h2,.auth-intro-copy>h1,.senior-auth-copy>h1){font-size:32px;margin:18px 0 14px}
 :is(#authView,#authGate,body.auth-mode) .bh-entry .bh-brand strong{font-size:25px}
 :is(#authView,#authGate,body.auth-mode) .bh-entry .bh-brand :is(h1,span){font-size:28px}
 :is(#authView,#authGate,body.auth-mode) .bh-entry .bh-brand img{width:54px;height:54px;border-radius:14px}
 :is(#authView,#authGate,body.auth-mode) .bh-entry :is(.professional-trial-promo,.dental-trial-offer,.gym-trial-offer,.senior-trial-offer){padding:23px 18px;border-radius:20px}
}
@media(prefers-reduced-motion:reduce){.bh-entry *{animation:none!important;transition:none!important}}
:is(#authView,#authGate,body.auth-mode) .bh-entry .auth-card form{display:block}
:is(#authView,#authGate,body.auth-mode) .bh-entry .auth-links{grid-template-columns:1fr;align-items:stretch}
:is(#authView,#authGate,body.auth-mode) .bh-entry .bh-brand:has(+.gym-trial-offer) span{color:#52772c}
:is(#authView,#authGate,body.auth-mode) .bh-entry .gym-trial-offer h2 b{display:block;font-size:34px;line-height:1.25;font-weight:800;color:#fff;margin:3px 0 0}
:is(#authView,#authGate,body.auth-mode) .bh-entry .welcome-story>h2{max-width:440px}
/* Senior's legacy gate includes important declarations; keep these overrides scoped. */
#authGate:has(.bh-entry){padding:32px 24px!important}
#authGate .bh-entry .auth-card{margin:0!important;width:100%!important;border-radius:0!important;padding:36px!important}
#authGate .bh-entry .bh-brand{margin-bottom:28px!important}
@media(max-width:800px){#authGate:has(.bh-entry){padding:16px!important}#authGate .bh-entry .auth-card{padding:28px 24px!important}}
@media(max-width:800px){
 :is(#authView,#authGate,body.auth-mode) .bh-entry :is(.auth-features,.senior-auth-tags,.story-features,.story-signature){display:none}
 :is(#authView,#authGate,body.auth-mode) .bh-entry :is(.welcome-story,.auth-intro-copy,.senior-auth-copy)>p{display:block;font-size:14px;margin-bottom:0}
}

/* Gym uses the same public entrance without duplicating the dashboard header. */
body.auth-mode:has(.bh-entry)>header.bh-product-header{display:none}
body.auth-mode .bh-entry .bh-brand span{color:#14798a!important}
body.auth-mode .bh-entry .auth-links .btn{margin:0}
body.auth-mode .bh-entry .auth-intro>.auth-photo{padding:0}
body.auth-mode .bh-entry .auth-card{display:block}
body.auth-mode .bh-entry .auth-card form{margin-top:0}
body.auth-mode .bh-entry .form-error:empty{display:none}

/* routine-week.css */
/* A compact weekly view shared by the coach and member. */
.routine-week{margin-top:18px;min-width:0;color:#33273e}.routine-week .icon{width:19px;height:19px;flex:none;vertical-align:middle}.week-plan-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.week-plan-heading h3{font-size:clamp(21px,2.3vw,29px);line-height:1.2;margin:12px 0}.week-plan-heading p{color:#7b7086;margin:0;line-height:1.6}.week-plan-heading .eyebrow{display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:.09em}.week-meta{display:flex;flex-wrap:wrap;gap:10px 20px;padding:16px 0;color:#75647e;font-size:13px}.week-meta>span{display:flex;align-items:center;gap:6px}.week-help{font-size:13px;color:#7b7086;margin:4px 0 14px}.week-days{display:flex;flex-wrap:wrap;gap:8px;padding:8px;background:#f5effa;border:1px solid #eadcf2;border-radius:19px}.week-days button{flex:1 1 90px;min-height:68px;padding:12px 8px;border:1px solid transparent;border-radius:13px;color:#715180;background:transparent;text-align:center}.week-days strong,.week-days small{display:block}.week-days strong{font-size:14px}.week-days small{margin-top:5px;font-size:11px}.week-days button[aria-pressed=true]{color:white;background:linear-gradient(120deg,#793ccc,#ad43b6);box-shadow:0 4px 12px #803bc125}.week-days button:focus-visible,.routine-week summary:focus-visible{outline:3px solid #803bc1;outline-offset:3px}.week-day-panel[hidden]{display:none}.week-session-heading{display:flex;gap:12px;align-items:center;margin:22px 0 14px}.week-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;flex:none;background:#f0e7f8;color:#803bc1}.week-session-heading h4{font-size:20px;margin:0}.week-session-heading p{font-size:13px;color:#7b7086;margin:4px 0 0}.week-warmup{border:1px solid #c9e9e9;background:#eff9f8;border-radius:17px;margin-bottom:14px}.week-warmup>summary,.week-exercise>summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;padding:16px}.week-warmup>summary::-webkit-details-marker,.week-exercise>summary::-webkit-details-marker{display:none}.week-warmup .week-icon{color:#087c8c;background:#d9f0ed}.week-warmup small{display:block;font-size:10px;letter-spacing:.12em;color:#286e72;margin-bottom:5px}.week-warmup strong{display:block;font-size:15px;color:#25575e}.week-warmup strong span{white-space:nowrap;font-weight:500}.week-expand{margin-left:auto;font-size:23px;color:#9770a8;flex:none}.week-exercise[open]>summary .week-expand,.week-warmup[open]>summary .week-expand{transform:rotate(45deg)}.week-exercises{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}.week-exercise{border:1px solid #eadcf2;border-radius:17px;background:white;min-width:0}.week-exercise[open]{background:#fdfbff}.week-number{display:grid;place-items:center;width:29px;height:29px;border-radius:10px;color:#803bc1;background:#f2eafa;font-size:12px;font-weight:750;flex:none;align-self:flex-start}.week-exercise-copy{min-width:0}.week-exercise-copy>strong{display:block;font-size:15px;line-height:1.4;overflow-wrap:anywhere}.week-quantities{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}.week-quantities>span{background:#f5f0f8;padding:4px 7px;border-radius:7px;font-size:11px;line-height:1.4;color:#725681}.week-exercise-detail{padding:0 18px 17px;font-size:14px;line-height:1.6}.week-exercise-detail p,.week-guidance p{white-space:pre-wrap;overflow-wrap:anywhere}.week-exercise-detail p{margin:8px 0}.week-exercise-detail ol{padding-left:20px}.week-guidance,.week-history{margin-top:20px;border-top:1px solid #eadcf2;padding-top:15px}.week-guidance>summary,.week-history>summary,.week-history-item>summary{cursor:pointer;font-size:14px;font-weight:650;color:#79538c;padding:8px 0}.week-guidance h4{font-size:14px;margin:18px 0 6px}.week-guidance p{color:#75647e;font-size:14px;line-height:1.65}.week-history-item{border:1px solid #eadcf2;padding:12px 16px;border-radius:16px;margin-top:12px}.week-history-item .routine-week{margin-top:10px}.routine-week .exercise-guide{background:#f5eff9}.routine-week .exercise-guide summary{color:#794295}
/* A member file needs room for the week, even beside billing. */
.grid:has(.routine-week){grid-template-columns:minmax(0,2.3fr) minmax(240px,1fr)}
@media(max-width:1100px){.grid:has(.routine-week){grid-template-columns:1fr}.week-exercises{grid-template-columns:1fr}}
@media(max-width:600px){.week-days{gap:6px;padding:6px}.week-days button{flex-basis:calc(33.33% - 6px);min-height:62px;padding:10px 4px}.week-days strong{font-size:13px}.week-plan-heading{flex-wrap:wrap;gap:8px}.week-plan-heading h3{font-size:22px}.week-exercise>summary,.week-warmup>summary{padding:13px;gap:9px}.week-exercise-copy>strong{font-size:14px}.week-meta{font-size:12px;gap:8px 14px}.week-quantities>span{font-size:11px}.week-history-item{padding:10px}.week-plan-heading .eyebrow{font-size:10px}}
@media print{.week-days,.week-help,.week-expand{display:none}.week-day-panel[hidden]{display:block!important}.week-day-panel{break-inside:avoid}.week-exercises{grid-template-columns:1fr 1fr}}

.week-exercise-detail .exercise-guide h5{font-size:14px;color:#79508c;margin:0 0 10px}

/* Readable phone-first instructions: one thought per item, never a wall of text. */
.routine-week .week-exercise-copy>strong{font-size:17px;line-height:1.45}
.routine-week .week-quantities>span{font-size:14px;padding:6px 9px;color:#604773}
.routine-week .week-exercise-detail,.routine-week .week-exercise-detail .subtle{font-size:16px;line-height:1.7;color:#594b64}
.routine-week .week-exercise-detail .exercise-guide h5{font-size:17px}
.routine-week .week-exercise-detail li{margin:14px 0}
.routine-week .week-days strong{font-size:16px}.routine-week .week-days small{font-size:13px}
.routine-week .week-warmup strong{font-size:17px}.routine-week .week-help,.routine-week .week-meta{font-size:14px}
.plan-guidance{margin-top:26px;padding-top:24px;border-top:1px solid #eadcf2}
.guide-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.guide-heading h4{font-size:21px;margin:0}.guide-heading p{font-size:15px;color:#776583;margin:5px 0 0}
.guide-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.guide-section{min-width:0;background:#fcf9ff;border:1px solid #e6d8ef;border-radius:20px;overflow:hidden}
.guide-section>summary{display:flex;align-items:center;gap:15px;padding:20px;list-style:none;cursor:pointer;min-height:88px}
.guide-section>summary::-webkit-details-marker{display:none}.guide-section>summary strong{display:block;font-size:18px;line-height:1.4;color:#493553}
.guide-section>summary small{display:block;font-size:14px;color:#7b6788;margin-top:5px;line-height:1.5}
.guide-section[open]>summary{border-bottom:1px solid #eadcf2;background:#f4ecf9}.guide-section[open] .week-expand{transform:rotate(45deg)}
.instruction-steps{list-style:none;counter-reset:instruction;margin:0;padding:8px 20px 20px}
.instruction-steps li{counter-increment:instruction;position:relative;padding:20px 0 20px 38px;max-width:65ch;font-size:17px;line-height:1.75;color:#51425c;overflow-wrap:anywhere;white-space:pre-wrap}
.instruction-steps li+li{border-top:1px solid #eee5f4}.instruction-steps li:before{content:counter(instruction);position:absolute;left:0;top:23px;display:grid;place-items:center;background:#eee2f7;color:#8150a4;width:26px;height:26px;border-radius:9px;font-size:13px;font-weight:750}
.guide-review{display:flex;align-items:center;gap:12px;margin-top:16px;padding:18px 20px;border-radius:16px;background:#e9f6f3;color:#2c695f;font-size:14px}.guide-review strong{display:block;margin-top:4px;font-size:17px}
@media(max-width:900px){.guide-sections{grid-template-columns:1fr}}
@media(max-width:600px){.routine-week .week-exercise>summary{padding:16px 12px}.routine-week .week-exercise-copy>strong{font-size:17px}.routine-week .week-quantities{gap:6px}.routine-week .week-quantities>span{font-size:14px}.routine-week .week-days strong{font-size:15px}.routine-week .week-days small{font-size:12px}.guide-section>summary{padding:18px 16px}.instruction-steps{padding:4px 16px 12px}.instruction-steps li{font-size:17px;line-height:1.7;padding-left:34px}.guide-heading h4{font-size:20px}}

/* progress-view.css */
.advance-view,.advance-comparison{margin-top:22px}.advance-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px;flex-wrap:wrap}.advance-heading h3{font-size:24px;margin:8px 0;letter-spacing:-.025em}.advance-heading p{color:#75627f;font-size:16px}.advance-heading .actions{margin:0}.advance-measures,.advance-changes{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}.advance-measure,.advance-change{border:1px solid #eadcf2;border-radius:20px;padding:22px;background:linear-gradient(150deg,#fff,#f7effc);min-width:0}.advance-measure>span{font-size:16px;display:block;color:#75607f}.advance-measure>strong{font-size:34px;display:block;line-height:1.3;letter-spacing:-.035em;margin-top:12px;color:#543565;overflow-wrap:anywhere}.advance-measure small,.advance-delta small{font-size:16px;font-weight:500;margin-left:8px;letter-spacing:normal}.advance-measure:nth-child(3n+2){background:linear-gradient(150deg,#fff,#eaf7f4);border-color:#d9ece6}.advance-measure:nth-child(3n+2)>strong{color:#286f65}.advance-measure:nth-child(3n){background:linear-gradient(150deg,#fff,#fceef6)}.advance-details{margin-top:20px}.advance-record .guide-section>summary strong{font-size:18px}.advance-baseline,.advance-explainer{font-size:16px;color:#75627f;line-height:1.7;margin:18px 0}.advance-baseline{padding:20px;border-radius:16px;background:#f5eef9}.advance-history{margin-top:28px;border-top:1px solid #eadcf2;padding-top:24px}.advance-history>h3{font-size:21px;margin-bottom:16px}.advance-history>.guide-section{margin:12px 0}.advance-history .advance-record{padding:20px}.advance-meta{font-size:15px;color:#75627f;margin-top:16px}.advance-change{background:#fcf9ff}.advance-change h4{font-size:17px;margin:0;color:#634870}.advance-delta{display:block;font-size:30px;color:#754690;margin:14px 0}.advance-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px;border-top:1px solid #eadcf2;padding-top:16px}.advance-pair span,.advance-pair strong,.advance-pair small{display:block}.advance-pair span{font-size:14px;color:#796683}.advance-pair strong{font-size:18px;margin:6px 0;color:#493b53}.advance-pair small{font-size:13px;color:#796683}.advance-empty{padding:28px;border:1px solid #eadcf2;border-radius:20px;background:#faf6fd}.advance-empty p{font-size:17px;color:#75627f;margin-top:12px;line-height:1.7}
@media(max-width:600px){.advance-measures{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.advance-measure{padding:18px 14px;border-radius:18px}.advance-measure>span{font-size:15px}.advance-measure>strong{font-size:29px}.advance-measure small{font-size:14px;margin-left:5px}.advance-changes{grid-template-columns:1fr}.advance-heading h3{font-size:22px}.advance-history .advance-record{padding:16px}.advance-history .advance-measures{grid-template-columns:1fr}.advance-record .instruction-steps li{font-size:17px}}

/* gym-responsive.css */
/* Gym Care: narrow screens only. Desktop (1024px+) keeps its existing layout. */
@media screen and (max-width: 1023px) {
  :is(main, dialog) :is(label, input, select, textarea, .form-grid, .exercise-quantities) {
    min-width: 0;
    max-width: 100%;
  }

  :is(main, dialog) label {
    line-height: 1.5;
    overflow-wrap: anywhere;
    align-content: start;
  }

  :is(main, dialog) :is(input, select, textarea) {
    font-size: 16px;
    line-height: 1.5;
  }

  /* Choose columns from the space inside each card, not the viewport alone. */
  .form-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 20px;
    align-items: start;
  }

  .exercise-quantities {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
    gap: 18px;
    align-items: start;
  }

  .catalog-filters {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 16px;
  }

  .exercise-catalog {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  }

  .catalog-option > span { min-width: 0; overflow-wrap: anywhere; }
  .catalog-option input[type="checkbox"] { flex: 0 0 22px; min-height: 22px; }

  dialog { max-width: calc(100vw - 24px); }
  dialog p { line-height: 1.65; overflow-wrap: anywhere; }
  dialog form > p:first-child { margin-bottom: 20px; }
  .form-section > p { margin: 12px 0 20px; }
  .form-section > summary { line-height: 1.5; overflow-wrap: anywhere; }

  :is(main, dialog) :is(.btn, .badge) {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.5;
  }
  :is(main, dialog) .btn { min-height: 44px; }
  :is(.actions, .pro-tools, .catalog-apply) { flex-wrap: wrap; }
  :is(.section-heading, .member-head, .management-help, .guide-heading,
      .guide-section > summary, .week-warmup > summary, .week-session-heading,
      .team-steps li, .team-empty, .quick, .metric) > :is(div, span) { min-width: 0; }
  :is(.tile, .nav-icon, .team-icon, .avatar, .week-icon, .icon) { flex-shrink: 0; }
  :is(main, dialog) :is(h1, h2, h3, h4, .eyebrow) { overflow-wrap: anywhere; }
  .member-head p, .quick small { overflow-wrap: anywhere; }
  .quick > span:not(.tile) { flex: 1; }
  .management-help > div { min-width: 0; }
  .management-filter label { flex: 1 1 220px; }
  .search input { min-width: 0; }

  html body .metrics {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  }
  html body .finance-view .metrics {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  }
  .advance-measures, .advance-changes {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  }
  .advance-pair {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr));
  }
  .advance-measure > span, .advance-pair > div { overflow-wrap: anywhere; }
  .progress-data {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
    gap: 18px;
  }
  .progress-data > div { min-width: 0; }
  .week-warmup strong span { white-space: normal; }
  .guide-section > summary > div { min-width: 0; }
  .guide-section > summary :is(strong, small) { overflow-wrap: anywhere; }
  .week-quantities > span { max-width: 100%; overflow-wrap: anywhere; }
  .subscription-price-detail dl > div { flex-wrap: wrap; gap: 8px 20px; }
}

@media screen and (max-width: 600px) {
  dialog {
    width: calc(100vw - 24px);
    padding: 20px 16px;
    max-height: calc(100dvh - 24px);
    border-radius: 22px;
  }
  dialog label { font-size: 15px; gap: 8px; }
  dialog .form-section { padding: 14px 12px; }
  dialog .exercise-edit { padding: 16px 12px; }
  dialog :is(.form-section, .exercise-edit) .form-section { padding: 12px; }
  dialog .exercise-edit .actions { gap: 8px; width: 100%; }
  dialog .exercise-edit .actions .btn { flex: 1 1 auto; }
  dialog form > button[type="submit"] { width: 100%; }
  .management-filter { padding: 16px; }
  .management-filter label { width: 100%; }
  .management-help { align-items: flex-start; }
  .team-steps li, .team-empty { flex-wrap: wrap; }
  .team-steps li > div { flex: 1 1 160px; }
  .member-head { flex-wrap: wrap; }
  .week-days button { flex-basis: 100px; }
  .guide-section > summary { gap: 10px; }
}

/* Agenda: give each piece of information room on phones and tablets. */
@media screen and (max-width: 1023px) {
  :is(.agenda-view, .finance-view) .section-heading { gap: 24px; margin-bottom: 28px; }
  :is(.agenda-view, .finance-view) .section-heading p { margin-top: 14px; line-height: 1.65; }
  :is(.agenda-view, .finance-view) .management-filter {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    align-items: end;
    gap: 24px;
    padding: 24px;
  }
  :is(.agenda-view, .finance-view) .management-filter label { display: grid; gap: 10px; margin: 0; width: 100%; }
  :is(.agenda-view, .finance-view) .management-filter > .btn { width: 100%; }
  .agenda-view .management-grid { grid-template-columns: 1fr; gap: 24px; }
  .agenda-view .agenda-day { margin-top: 36px; }
  .agenda-view .agenda-day > h2 { line-height: 1.5; margin-bottom: 20px; }
  .agenda-view .appointment-tile { padding: 26px; }
  .agenda-view .appointment-top { gap: 16px 24px; margin-bottom: 24px; align-items: flex-start; }
  .agenda-view .appointment-top > strong { line-height: 1.5; }
  .agenda-view .appointment-top strong span { display: inline-block; }
  .agenda-view .appointment-tile h3 { line-height: 1.4; margin: 0 0 24px; }
  .agenda-view .appointment-info {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 24px;
    margin: 0 0 24px;
  }
  .agenda-view .appointment-info > div { min-width: 0; }
  .agenda-view .appointment-info dt { margin-bottom: 10px; line-height: 1.5; }
  .agenda-view .appointment-info dd { line-height: 1.6; }
  .agenda-view .appointment-notes { padding-top: 20px; }
  .agenda-view .appointment-notes summary { padding: 8px 0; min-height: 44px; line-height: 1.5; }
  .agenda-view .appointment-notes p { padding-top: 12px; line-height: 1.7; }
  .agenda-view .appointment-tile .actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
    gap: 14px;
    padding-top: 24px;
    margin-top: 24px;
  }
  .agenda-view .appointment-tile .actions > .btn { width: 100%; min-width: 0; min-height: 48px; }
  dialog .appointment-form > p:first-child { margin: 16px 0 28px; }
  dialog .appointment-form label { display: grid; gap: 10px; margin: 0; line-height: 1.5; }
  dialog .appointment-form > [data-action="appointment-search"] { margin: 16px 0 0; min-height: 48px; }
  dialog .appointment-form #appointmentResults { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
  dialog .appointment-form #appointmentResults:empty { display: none; }
  dialog .appointment-form #appointmentResults .btn { min-height: 48px; text-align: left; }
  dialog .appointment-form #appointmentChosen {
    padding: 16px;
    margin: 24px 0;
    border-radius: 14px;
    background: #f5effa;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }
  dialog .appointment-form .form-grid { gap: 24px; margin: 0 0 28px; }
  dialog .appointment-form label:has(input[name="starts_at"]) { grid-column: 1 / -1; }
  dialog .appointment-form :is(input, select) { min-height: 50px; }
  dialog .appointment-form > button[type="submit"] { min-height: 50px; margin-top: 12px; }
}
@media screen and (max-width: 600px) {
  :is(.agenda-view, .finance-view) .management-filter { padding: 20px 16px; }
  .agenda-view .appointment-tile { padding: 22px 18px; }
  .agenda-view .appointment-top { flex-direction: column; gap: 14px; }
  .agenda-view .appointment-tile .actions { grid-template-columns: 1fr; }
  dialog .appointment-form .form-grid { grid-template-columns: 1fr; }
  dialog .appointment-form > [data-action="appointment-search"],
  dialog .appointment-form #appointmentResults .btn { width: 100%; }
}

/* Dashboard and cashier cards use the space available inside the panel. */
@media screen and (max-width: 1023px) {
  html body #main > .hero { grid-template-columns: 1fr; gap: 28px; }
  #main > .hero > *, .trial-summary > *, .metric > div { min-width: 0; }
  #main > .hero .hero-focus { padding: 26px; gap: 18px; }
  #main > .hero .actions { gap: 14px; width: 100%; }
  #main > .hero .actions > .btn { flex: 1 1 200px; }
  .trial-summary { gap: 16px 24px; align-items: center; line-height: 1.6; }
  html body .metrics,
  html body .finance-view .metrics {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 20px;
  }
  html body .metric { padding: 24px; gap: 18px; align-items: center; }
  html body .metric small { display: block; font-size: 15px; line-height: 1.5; }
  html body .metric strong { display: block; margin-top: 8px; line-height: 1.3; overflow-wrap: anywhere; }
  .finance-view .section-heading { flex-wrap: wrap; }
  .finance-view .finance-item {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 24px; padding: 24px; align-items: center;
  }
  .finance-view .finance-item > div { min-width: 0; overflow-wrap: anywhere; }
  .finance-view .finance-item p { margin-top: 12px; }
  .finance-view .finance-item > .btn { width: 100%; min-height: 48px; }
  .finance-view > h2 { margin-top: 36px; line-height: 1.4; }
  .finance-view > h2 + p { margin: 12px 0 24px; }
  .finance-view .table-scroll { overflow: visible; }
  .finance-view table, .finance-view tbody { display: block; width: 100%; min-width: 0; }
  .finance-view thead { display: none; }
  .finance-view tr {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    width: 100%; gap: 20px; padding: 24px; margin-bottom: 20px;
    border: 1px solid #eadcf2; border-radius: 20px; background: #fcf9ff;
  }
  .finance-view td { display: block; min-width: 0; width: 100%; padding: 0; border: 0; overflow-wrap: anywhere; line-height: 1.6; }
  .finance-view td::before { content: attr(data-label); display: block; font-size: 14px; font-weight: 700; color: #75627f; margin-bottom: 8px; }
}
@media screen and (max-width: 600px) {
  .trial-summary { flex-direction: column; align-items: flex-start; padding: 20px; }
  .trial-summary > .btn { width: 100%; }
  .finance-view .finance-item, .finance-view tr { padding: 20px 18px; }
}

/* Date controls can have an intrinsic width in iPad Safari. Keep each control
   inside its own grid cell, including landscape tablets above 1023px. */
:is(.agenda-view, .finance-view) .search.management-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  column-gap: 24px;
  row-gap: 24px;
  align-items: end;
  width: 100%;
  max-width: 760px;
  box-sizing: border-box;
}
:is(.agenda-view, .finance-view) .management-filter > label {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  width: 100%;
  margin: 0;
  line-height: 1.5;
}
:is(.agenda-view, .finance-view) .management-filter input[type="date"] {
  display: block;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-inline-size: 0;
  min-height: 50px;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
:is(.agenda-view, .finance-view) .management-filter input[type="date"]::-webkit-date-and-time-value {
  min-width: 0;
  text-align: left;
}
:is(.agenda-view, .finance-view) .management-filter > .btn {
  min-width: 0;
  min-height: 50px;
  margin: 0;
  white-space: normal;
}
@media screen and (max-width: 1279px), screen and (pointer: coarse) {
  :is(.agenda-view, .finance-view) .search.management-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 24px;
  }
  :is(.agenda-view, .finance-view) .management-filter > .btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}
@media screen and (max-width: 600px) {
  :is(.agenda-view, .finance-view) .search.management-filter {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px 16px;
  }
}

/* Exercise player keeps the routine and the trainer editor in place. */
.exercise-video-dialog{box-sizing:border-box;width:calc(100% - 24px);max-width:920px;max-height:90dvh;padding:24px;border:1px solid #eadcf2;border-radius:24px;background:#fff;color:#32263f;overflow:auto}
.exercise-video-dialog::backdrop{background:rgba(30,17,44,.65)}
.exercise-video-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.exercise-video-head h2{margin:0;font-size:24px}.exercise-video-head button{min-height:44px}
.exercise-video-dialog iframe{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:16px}
.exercise-video-dialog p{font-size:16px;line-height:1.5}
@media(max-width:600px){.exercise-video-dialog{padding:16px}.exercise-video-head h2{font-size:21px}}

/* branding.css */
.gym-identity{max-width:1100px;margin-inline:auto}.gym-identity p{font-size:17px;line-height:1.6}.brand-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.7fr);gap:32px;align-items:start}.brand-editor label{margin-block:16px}.brand-editor input{width:100%;min-width:0;box-sizing:border-box}.brand-editor details{padding:16px;border:1px solid #e8d9f4;border-radius:18px}.brand-preview{display:flex;flex-direction:column;align-items:center;text-align:center;background:#faf5fe;border:1px solid #e8d9f4;border-radius:24px;padding:28px;gap:16px;min-width:0}.brand-preview>img{width:160px;height:160px;object-fit:contain;border-radius:22px;background:white}.brand-preview h2{overflow-wrap:anywhere;margin:0}.brand-preview-app{display:flex;align-items:center;gap:14px}.brand-preview-app img{width:64px;height:64px;border-radius:16px;box-shadow:0 5px 16px #30104418}.gym-identity input[readonly]{width:100%;min-width:0}.gym-identity .actions{flex-wrap:wrap}.gym-identity .form-error{overflow-wrap:anywhere}#brandSaved{color:#08745c}.bh-brand strong,.brand strong{overflow-wrap:anywhere}.bh-brand>div,.brand>span{min-width:0}@media(max-width:767px){.brand-editor{grid-template-columns:minmax(0,1fr);gap:20px}.brand-preview{padding:20px}.gym-identity input[type=file]{font-size:16px}.gym-identity .actions>*{max-width:100%;white-space:normal}}

/* bh-access.css */
/* Shared access controls; signed-in product layouts retain their own styling. */
.bh-password{position:relative;display:block;width:100%;min-width:0}.bh-password input{width:100%;box-sizing:border-box;padding-right:3.6rem!important}.bh-password .bh-eye{position:absolute;right:5px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;min-height:44px;margin:0;padding:10px;border:0;border-radius:12px;background:transparent;color:#695079;cursor:pointer;box-shadow:none}.bh-eye svg{width:24px;height:24px}.bh-eye:focus-visible{outline:3px solid #8c49bb;outline-offset:1px}.bh-eye[aria-pressed=true]{background:#eee4f7}
.bh-unified-access{max-width:540px;min-width:0}.bh-unified-access h2{font-size:clamp(1.6rem,3vw,2rem);margin:12px 0}.bh-email-form{display:grid;gap:18px}.bh-email-form label{display:grid;gap:8px;font-size:16px;line-height:1.5}.bh-email-form input{font:inherit;min-height:50px;padding:12px 14px;border:1px solid #d9c9e8;border-radius:14px;min-width:0;max-width:100%;box-sizing:border-box}.bh-email-form .primary{min-height:50px;width:100%;font-size:17px}.bh-access-instruction{line-height:1.6}.bh-unified-access .auth-links{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.bh-unified-access .auth-links button{min-height:44px;padding:10px 14px;border:1px solid #dfcfec;background:#faf6ff;border-radius:12px;color:#724692;font:inherit;cursor:pointer}.bh-unified-access .muted{line-height:1.55;font-size:15px}.auth-mode .auth-card,.auth-layout .auth-card{min-width:0}.auth-mode .auth-links{flex-wrap:wrap}.bh-login-help{font-size:16px;line-height:1.6;margin:16px 0}
@media(max-width:768px){.auth-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:24px!important}.auth-layout .auth-card{width:100%;box-sizing:border-box;padding:24px!important}.auth-layout input,.auth-layout select{min-width:0;max-width:100%;box-sizing:border-box;font-size:16px}.auth-layout label{min-width:0;line-height:1.5}.auth-layout .form-grid{grid-template-columns:minmax(0,1fr)}.auth-layout .auth-intro h1{font-size:clamp(28px,7vw,40px)}}

#authView [hidden],.auth-layout [hidden]{display:none!important}

/* remember-user.css */
form label.bh-remember-user{display:flex!important;align-items:center;gap:12px;min-height:44px;margin:8px 0 16px;padding:4px 0;font:inherit;font-size:15px;line-height:1.5;font-weight:500;color:inherit;text-align:left;cursor:pointer;grid-column:1/-1}
form label.bh-remember-user>input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;flex:0 0 20px;width:20px!important;height:20px!important;min-height:20px!important;max-width:20px;padding:0!important;margin:0!important;accent-color:#943bb7}
form label.bh-remember-user>span{min-width:0;overflow-wrap:break-word}

/* product-access-theme.css */
/* Product identity is limited to signed-out access and registration. */
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]){--access-color:#28b6bf;--access-dark:#086673;--access-tint:#ecfcfc;--access-light:#a7e9e9;--access-gradient:linear-gradient(125deg,#086673,#28b6bf);--access-line:color-mix(in srgb,#28b6bf 32%,white)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]):has(.auth-layout),#authGate:has(.bh-entry){background:radial-gradient(ellipse at 0 0,var(--access-light),transparent 55%),var(--access-tint)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) :is(.auth-layout,.bh-entry){border-color:var(--access-line);box-shadow:0 22px 64px color-mix(in srgb,var(--access-color) 12%,transparent)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card{background:linear-gradient(145deg,#fff,var(--access-tint));border-color:var(--access-line)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .bh-entry :is(.auth-story,.auth-intro,.senior-auth-story){background:linear-gradient(135deg,var(--access-dark),var(--access-color))}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.professional-trial-promo,[class$="-trial-offer"],.auth-trial){background:var(--access-gradient);border-color:var(--access-line);color:#fff;box-shadow:0 10px 28px color-mix(in srgb,var(--access-color) 20%,transparent)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.professional-trial-promo,[class$="-trial-offer"],.auth-trial) :is(h2,h2 span,h2 strong,strong,b,.eyebrow),:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.professional-trial-promo,[class$="-trial-offer"],.auth-trial)>span{color:inherit}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.professional-trial-promo,[class$="-trial-offer"],.auth-trial) :is(.subscription-price,p){background:#ffffffed;color:var(--access-dark)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.bh-brand span,.bh-brand h1,.auth-brand b),#authView .bh-entry #welcomeTitle{color:var(--access-dark)!important}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(input:not([type="checkbox"]):not([type="radio"]),select){background:#fff;border-color:var(--access-line)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(input[type="checkbox"],input[type="radio"]){accent-color:var(--access-dark)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.btn.primary,.auth-primary,.primary){background:linear-gradient(125deg,var(--access-dark),color-mix(in srgb,var(--access-dark) 75%,var(--access-color)));color:white;border-color:transparent;box-shadow:0 7px 20px color-mix(in srgb,var(--access-color) 18%,transparent)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.auth-links button,.auth-secondary,.text-btn){background:var(--access-tint);color:var(--access-dark);border-color:var(--access-line)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(a,.bh-eye,.password .icon-button,.eyebrow,.trial-promo-cta){color:var(--access-dark)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(button,input,select,a):focus-visible{outline-color:var(--access-dark)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card .bh-eye[aria-pressed="true"]{background:var(--access-light)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.bh-brand strong,.auth-brand strong){background:linear-gradient(125deg,#793ac2,#ce529f);background-clip:text;-webkit-background-clip:text;color:transparent}
