/* Shared Wellness preview and resident presentation. */
:is(#section-wellness,.wellness-preview){--well-ink:#193f37;--well-paper:#f4f2ed;--well-accent:#dce8b7;--well-line:#d5ddd0;color:var(--well-ink)}
:is(#section-wellness,.wellness-preview) .livwell-hero{display:grid;grid-template-columns:1.05fr 1fr;background:var(--well-accent);border-radius:24px;overflow:hidden;margin:22px 0 32px}
:is(#section-wellness,.wellness-preview) .livwell-hero:not(:has(figure)){grid-template-columns:1fr}
:is(#section-wellness,.wellness-preview) .livwell-hero-copy{padding:42px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0}
:is(#section-wellness,.wellness-preview) .livwell-eyebrow{font:600 11px/1.5 var(--font-body,Inter,sans-serif);letter-spacing:.12em;text-transform:uppercase;color:var(--well-ink)}
:is(#section-wellness,.wellness-preview) .livwell-hero h3{font:500 clamp(36px,4.8vw,62px)/1.02 var(--font-heading,Georgia,serif);text-transform:none;letter-spacing:-.025em;max-width:12ch;margin:22px 0;color:var(--well-ink)}
:is(#section-wellness,.wellness-preview) .livwell-hero p{font:400 15px/1.65 var(--font-body,Inter,sans-serif);max-width:38ch;margin:0 0 24px;color:var(--well-ink)}
:is(#section-wellness,.wellness-preview) .livwell-primary{background:var(--well-ink);color:#f9faf4;border:1px solid var(--well-ink);border-radius:30px;min-height:46px;padding:12px 20px;font:500 14px/1.4 var(--font-body,Inter,sans-serif);text-transform:none;letter-spacing:0;cursor:pointer}
:is(#section-wellness,.wellness-preview) .livwell-primary:focus-visible{outline:3px solid var(--well-ink);outline-offset:4px}
:is(#section-wellness,.wellness-preview) .livwell-hero-note{font-size:11px;line-height:1.6;margin-top:18px;color:var(--well-ink)}
:is(#section-wellness,.wellness-preview) .livwell-hero figure{position:relative;min-height:380px;margin:0;background:#6d8172}
:is(#section-wellness,.wellness-preview) .livwell-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
:is(#section-wellness,.wellness-preview) .livwell-hero figcaption{position:absolute;bottom:16px;left:20px;right:20px;font-size:11px;color:white;text-shadow:0 1px 5px black}
:is(#section-wellness,.wellness-preview) .livwell-partner{display:grid;grid-template-columns:1.2fr 1fr;gap:48px;padding:8px 0 26px}
:is(#section-wellness,.wellness-preview) .livwell-partner h3{font:500 32px/1.2 var(--font-heading,Georgia,serif);letter-spacing:0;text-transform:none;color:var(--well-ink);margin:10px 0 16px}
:is(#section-wellness,.wellness-preview) .livwell-partner p{font:400 14px/1.7 var(--font-body,Inter,sans-serif);color:#58655e;margin:10px 0 18px}
:is(#section-wellness,.wellness-preview) .livwell-handoff{border-left:1px solid var(--well-line);padding-left:32px;font-size:14px;align-self:center}
:is(#section-wellness,.wellness-preview) .livwell-handoff button{border:0;background:none;padding:10px 0;color:var(--well-ink);font:500 14px var(--font-body,Inter,sans-serif);cursor:pointer}
:is(#section-wellness,.wellness-preview) .livwell-locations{display:flex;flex-wrap:wrap;gap:8px}
:is(#section-wellness,.wellness-preview) .livwell-locations span{font-size:12px;padding:7px 12px;background:#e8ede1;border-radius:20px}
:is(#section-wellness,.wellness-preview) .livwell-coming{padding:20px 0;border-top:1px solid var(--well-line);font-size:13px;color:#58655e}
:is(#section-wellness,.wellness-preview) .livwell-coming p{margin:8px 0}
.wellness-preview{padding:24px;margin-top:30px;background:#f4f2ed;border:1px solid #d5ddd0;border-radius:18px}
#section-wellness #wellnessTabs{display:flex;flex-wrap:wrap;gap:8px;border:0;margin:0 0 18px;padding:0}
#section-wellness #wellnessTabs button{border:1px solid #d5ddd0;border-radius:9px;min-height:44px;padding:10px 16px;background:transparent;color:#58655e;font:500 13px var(--font-body);letter-spacing:0;text-transform:none}
#section-wellness #wellnessTabs button.active{background:#193f37;color:#f9faf4;border-color:#193f37}
#section-wellness :is(button,a,select):focus-visible{outline:2px solid #193f37;outline-offset:3px}
#section-wellness .wellness-filter-select{border-radius:9px;height:46px;font:400 14px var(--font-body);padding:10px 12px;background:#fff;border:1px solid #d5ddd0}
#section-wellness .wellness-class-toolbar{position:sticky;top:0;z-index:20;background:#f4f2ede8;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);padding:14px 0;margin:0 0 22px;border-bottom:1px solid #d5ddd0}
#section-wellness .class-book-card{border-radius:16px;border:1px solid #d5ddd0;box-shadow:none;background:#fffef9;color:#193f37}
#section-wellness :is(.class-book-card h4,.schedule-section-header h3){font-family:var(--font-heading);text-transform:none;letter-spacing:0}
#section-wellness .wellness-filter-label{font:500 12px var(--font-body);text-transform:none;letter-spacing:0;color:#58655e}
#section-wellness .class-book-card-action{border-radius:20px;background:#193f37;color:white;letter-spacing:0;text-transform:none}
#section-wellness .wellness-info-grid{gap:18px}
#section-wellness .wellness-info-card{border-radius:16px;border-color:#d5ddd0}
#section-wellness .wellness-info-card h4{text-transform:none;letter-spacing:0;font:500 24px var(--font-heading)}
#section-wellness .wellness-schedule-table{border-radius:14px;overflow:hidden}
#section-wellness #wellnessTabs[hidden]{display:none}
@media(max-width:700px){:is(#section-wellness,.wellness-preview) .livwell-hero{grid-template-columns:1fr}:is(#section-wellness,.wellness-preview) .livwell-hero-copy{padding:30px 24px}:is(#section-wellness,.wellness-preview) .livwell-hero h3{font-size:44px;max-width:15ch}:is(#section-wellness,.wellness-preview) .livwell-hero figure{min-height:220px}:is(#section-wellness,.wellness-preview) .livwell-partner{grid-template-columns:1fr;gap:20px}:is(#section-wellness,.wellness-preview) .livwell-handoff{border-left:0;border-top:1px solid var(--well-line);padding:20px 0 0}.wellness-preview{padding:16px}#section-wellness #wellnessTabs{gap:6px}#section-wellness #wellnessTabs button{padding:9px 10px;font-size:12px}}
#section-wellness .wellness-class-card{border:1px solid #d5ddd0;border-radius:18px;background:#fffef9;padding:24px;box-shadow:0 6px 18px #193f3705;transition:transform .18s ease,box-shadow .18s ease}
#section-wellness .wellness-class-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px #193f3710}
#section-wellness .wellness-class-name{font:500 27px/1.15 var(--font-heading);letter-spacing:-.01em;text-transform:none;color:#193f37}
#section-wellness .wellness-class-type span{color:#496856!important;font:600 10px var(--font-body);letter-spacing:.07em}
#section-wellness .wellness-class-type .heated{border-radius:14px;background:#edf0e2;color:#496856}
#section-wellness .wellness-class-instructor,#section-wellness .wellness-class-meta{font:400 13px/1.65 var(--font-body);color:#59665f}
#section-wellness .btn-book-class{border-radius:22px;letter-spacing:0;text-transform:none;padding:9px 12px;font:500 11px var(--font-body);background:#193f37;color:#fff}
#section-wellness .wellness-class-footer{gap:12px;flex-wrap:wrap}
#section-wellness .wellness-class-spots{color:#496856;font-size:12px}
#section-wellness .wellness-mobile-class{border:1px solid #d5ddd0;border-radius:12px;background:#fffef9;margin-bottom:8px}
#section-wellness .external-schedule-link{font:500 12px var(--font-body);color:#193f37;text-transform:none;letter-spacing:0}
#section-wellness .livwell-more{display:block;grid-column:1/-1;justify-self:center;border:1px solid #d5ddd0;background:transparent;color:#193f37;border-radius:24px;padding:12px 20px;font:500 13px var(--font-body);cursor:pointer}
@media(prefers-reduced-motion:reduce){#section-wellness .wellness-class-card{transition:none}#section-wellness .wellness-class-card:hover{transform:none}}
#section-wellness #wellnessTabs{flex-direction:row}
#section-wellness #wellnessTabs button{width:auto;flex:0 0 auto}
#section-wellness #wellnessStatus[data-state="info"]{padding:0;margin:0 0 14px;border:0;background:transparent;color:#59665f;font-size:12px}
#section-wellness #wellnessStatus[data-state="error"]{color:#8e382c;background:#fff0e9;border-color:#c48068}
@media(max-width:600px){#section-wellness #wellnessTabs{display:grid;grid-template-columns:1fr 1fr}#section-wellness #wellnessTabs button{width:100%}}
#section-wellness .wellness-class-toolbar{border:0;border-bottom:1px solid #d5ddd0}
/* Keep the dense weekly view readable without losing any day columns. */
#section-wellness .wellness-schedule-shell{border:1px solid #d5ddd0;border-radius:18px;padding:24px;background:#fffef9}
#section-wellness .wellness-schedule-header h3{font:500 26px/1.2 var(--font-heading);text-transform:none;letter-spacing:0;color:#193f37;margin:0 0 8px}
#section-wellness .wellness-schedule-header p{font:400 13px/1.6 var(--font-body);color:#59665f}
#section-wellness .wellness-schedule-table{min-width:840px}
#section-wellness .wellness-schedule-table th{font:600 12px/1.5 var(--font-body);letter-spacing:0;text-transform:none;color:#496056;padding:12px 8px}
#section-wellness .wellness-schedule-table td:first-child{font:500 12px/1.5 var(--font-body);letter-spacing:0;color:#193f37}
#section-wellness .schedule-cell{padding:10px 7px;border-radius:8px;font:500 12px/1.5 var(--font-body);letter-spacing:0;text-transform:none;color:#263f35;margin-bottom:5px}
#section-wellness .schedule-cell :is(.schedule-instructor,.schedule-location,.schedule-status){font:400 11px/1.5 var(--font-body);opacity:1;color:#4e6157;margin-top:4px}
#section-wellness .activate-schedule-note{color:#59665f;font-size:12px;line-height:1.6}
@media(max-width:768px){#section-wellness .wellness-schedule-shell{padding:18px}#section-wellness .wellness-schedule-header h3{font-size:24px}}
/* Discovery controls follow Amenities and Experiences: compact tools, aligned cards. */
#section-wellness #wellnessDiscoveryBar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 20px;padding:12px 0 14px;margin:0 0 22px;align-items:end}
#section-wellness #wellnessDiscoveryBar .wellness-class-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-width:0}
#section-wellness #wellnessDiscoveryBar .wellness-filter-group{min-width:0;gap:7px}
#section-wellness #wellnessDiscoveryBar .wellness-filter-select{box-sizing:border-box;min-width:0;width:100%;height:46px;padding:10px 30px 10px 12px;color:#263f35;font-size:14px;border-radius:8px;-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2359665f' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}
#section-wellness .wellness-toolbar-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#section-wellness .wellness-toolbar-actions :is(button,a){display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;min-height:46px;padding:10px 13px;box-sizing:border-box;border:1px solid #d5ddd0;border-radius:8px;background:#fffef9;color:#193f37;text-transform:none;letter-spacing:0;text-decoration:none;font:500 13px/1.4 var(--font-body);white-space:nowrap;cursor:pointer}
#section-wellness .wellness-toolbar-actions button:disabled{opacity:.55;cursor:wait}
#section-wellness .wellness-toolbar-actions svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}
#section-wellness .wellness-toolbar-meta{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:8px 20px;flex-wrap:wrap}
#section-wellness .wellness-toolbar-meta :is(.wellness-class-count,time),#section-wellness .wellness-week-tools time{font:400 12px/1.5 var(--font-body);color:#59665f;margin:0;padding:0;text-align:left}
#section-wellness .wellness-week-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
#section-wellness .wellness-class-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px;align-items:stretch}
#section-wellness .wellness-class-card{display:flex;flex-direction:column;align-items:stretch;min-width:0;border-radius:14px;padding:22px;background:var(--resident-paper,#fffef9);box-shadow:0 2px 12px #28231a04;transition:border-color .18s ease,box-shadow .18s ease}
#section-wellness .wellness-class-card:hover{transform:none;border-color:#9eafa1;box-shadow:0 4px 16px #28231a08}
#section-wellness .wellness-class-type{margin:0 0 12px;min-height:18px}
#section-wellness .wellness-class-type span{font:500 12px/1.5 var(--font-body);letter-spacing:0;text-transform:none}
#section-wellness .wellness-class-name{font:600 18px/1.45 var(--font-body);letter-spacing:0;text-transform:none;color:var(--dark,#193f37);margin:0 0 6px}
#section-wellness .wellness-class-instructor{font:400 13px/1.6 var(--font-body);margin:0 0 14px;color:#59665f}
#section-wellness .wellness-class-meta{font:400 13px/1.65 var(--font-body);margin:0 0 18px;color:#59665f}
#section-wellness .wellness-class-when{display:block;font-weight:500;color:#263f35;margin-bottom:2px}
#section-wellness .wellness-class-footer{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:auto;padding:0;border:0}
#section-wellness .wellness-class-spots{min-height:18px;font:400 12px/1.5 var(--font-body);color:#59665f}
#section-wellness .wellness-class-card .btn-book-class{display:flex;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;min-height:44px;width:100%;padding:10px 13px;border:1px solid #d5ddd0;border-radius:8px;background:transparent;color:#193f37;font:500 14px/1.5 var(--font-body);letter-spacing:0;text-transform:none;white-space:normal}
#section-wellness .wellness-class-card:hover .btn-book-class{background:#edf1e7;border-color:#9eafa1}
#section-wellness .livwell-more{border-radius:8px}
@media(max-width:900px){#section-wellness #wellnessDiscoveryBar{grid-template-columns:1fr}#section-wellness .wellness-toolbar-actions{justify-content:flex-end}#section-wellness .wellness-class-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#section-wellness #wellnessDiscoveryBar{gap:10px;padding-top:10px}#section-wellness #wellnessDiscoveryBar .wellness-class-filters{gap:8px}#section-wellness .wellness-toolbar-actions{justify-content:flex-start}#section-wellness .wellness-toolbar-actions :is(button,a){min-height:40px;padding:9px 12px;font-size:12px}#section-wellness .wellness-toolbar-meta{gap:3px 12px}#section-wellness .wellness-class-grid{grid-template-columns:1fr}#section-wellness .wellness-class-card{padding:20px}#section-wellness .wellness-week-tools{justify-content:flex-start}}
#section-wellness #wellnessDiscoveryBar .wellness-filter-group{grid-column:auto}
#section-wellness .wellness-class-type{min-height:22px}
#section-wellness .wellness-class-type .heated{font-size:11px;line-height:16px;padding:2px 6px}
/* A single sticky surface keeps section navigation and the active view's tools together. */
#section-wellness #wellnessStickyHeader{position:sticky;top:var(--wellness-sticky-top,0px);z-index:24;padding:10px 0 0;margin:0 0 22px;min-width:0}
#section-wellness #wellnessHeaderAnchor{height:0;scroll-margin-top:var(--wellness-sticky-top,0px)}
#section-wellness #wellnessStickyHeader[hidden],#section-wellness #wellnessDiscoveryBar[hidden],#section-wellness #wellnessScheduleControls[hidden]{display:none!important}
#section-wellness #wellnessStickyHeader #wellnessTabs{position:relative;display:flex;flex-wrap:wrap;flex-direction:row;margin:0;padding:0 0 10px;gap:8px}
#section-wellness #wellnessDiscoveryBar{position:relative;top:auto;z-index:1;margin:0;border:0;padding-top:4px;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
#section-wellness #wellnessScheduleControls{padding:4px 0 12px}
#section-wellness #wellnessScheduleControls .wellness-schedule-header{margin:0;align-items:center;gap:14px}
#section-wellness #wellnessScheduleControls .wellness-schedule-header h3{font-size:22px}
#section-wellness #wellnessScheduleControls #wellnessScheduleDays{margin:12px 0 0;padding-bottom:0}
@media(max-width:768px){
 body[data-portal-section="wellness"] #portalView>.main,body[data-portal-section="wellness"] #section-wellness,body[data-portal-section="wellness"] #section-wellness>.page-content{overflow:visible}
 #section-wellness #wellnessStickyHeader{padding-top:8px;margin-bottom:18px}
 #section-wellness #wellnessStickyHeader #wellnessTabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:8px;gap:6px}
 #section-wellness #wellnessStickyHeader #wellnessTabs button{width:auto;flex:0 0 auto;min-height:40px;padding:9px 11px;font-size:12px}
 #section-wellness #wellnessScheduleControls .wellness-schedule-header>div:first-child{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 #section-wellness #wellnessScheduleControls .wellness-week-tools{width:100%;justify-content:space-between;gap:8px}
 #section-wellness #wellnessScheduleDays{scrollbar-width:thin}
 #section-wellness .wellness-schedule-day{border-radius:8px;min-height:40px;font:500 12px/1.4 var(--font-body);letter-spacing:0;text-transform:none}
}
@media(max-width:768px){body[data-portal-section="wellness"]{overflow-x:clip;overflow-y:visible}}
#section-wellness #wellnessTabs .wellness-tab-short{display:none}
@media(max-width:768px){
 #section-wellness #wellnessStickyHeader #wellnessTabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible}
 #section-wellness #wellnessStickyHeader #wellnessTabs button{width:100%;min-width:0;padding:9px 6px}
 #section-wellness #wellnessTabs .wellness-tab-full{display:none}
 #section-wellness #wellnessTabs .wellness-tab-short{display:inline}
}
