/* Presentation-only extensions to the existing hero dashboard components. */
.gym-dashboard{border-top:1px solid var(--color-border);background:var(--color-bg);scroll-margin-top:0}
.gym-dashboard-intro{text-align:center;margin-bottom:var(--space-7)}
.gym-dashboard-eyebrow{color:var(--color-brand);font-size:var(--text-xs);letter-spacing:.14em;margin-bottom:var(--space-5)}
.gym-dashboard-intro h2{font-size:clamp(1.9rem,4.1vw,3.75rem);line-height:1.15;letter-spacing:-.05em;text-wrap:initial}.gym-dashboard-intro h2>span{display:block}
.gym-dashboard-intro>p:last-child{max-width:43rem;margin:var(--space-5) auto 0;font-size:var(--text-base);line-height:1.8;color:var(--color-muted)}
.gym-dashboard-tabs{display:flex;gap:.5rem;overflow-x:auto;max-width:100%;padding:.35rem .2rem .7rem;scrollbar-width:thin;scrollbar-color:#3C4931 transparent}
.gym-dashboard-tab{min-height:2.75rem;flex:0 0 auto;min-width:7rem;padding:.7rem 1.2rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-muted);font-size:var(--text-sm);font-weight:600;white-space:nowrap;transition:background var(--duration-fast),border-color var(--duration-fast),color var(--duration-fast)}
.gym-dashboard-tab[aria-selected="true"]{color:var(--color-brand);border-color:rgb(160 226 32 / .35);background:#1A2414}
.gym-dashboard-preview{max-width:72rem;margin:var(--space-5) auto 0}
.gym-dashboard .gym-dashboard-window{transform:none;box-shadow:0 24px 65px rgb(0 0 0 / .4)}
.gym-dashboard-panels{background:#101310}.gym-dashboard-panel{min-width:0}
.gym-dashboard-media{container-type:inline-size;min-width:0}
.gym-dashboard-screenshot{display:block;width:100%;height:auto;object-fit:contain}
.gym-dashboard-caption{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.25rem 1rem;margin-top:var(--space-3);min-height:2.75rem;color:var(--color-muted);font-size:.625rem}
.gym-dashboard-expand{display:inline-flex;align-items:center;gap:.45rem;min-height:2.75rem;padding:.5rem 0;background:transparent;color:#C4CDBB;font-size:.6875rem}.gym-dashboard-expand .icon{width:1rem;height:1rem}
.gym-dashboard-description{max-width:47rem;min-height:5.5rem;text-align:center;font-size:var(--text-sm);line-height:1.85;color:var(--color-muted);margin:var(--space-5) auto 0}
.gym-dashboard-cta{margin-top:var(--space-7);text-align:center}.gym-dashboard-cta h3{font-size:clamp(1.5rem,3vw,2.25rem);line-height:1.3;letter-spacing:-.035em}.gym-dashboard-cta .button{margin-top:var(--space-5);min-height:3.5rem;padding-inline:1.5rem}
/* The same dashboard components scale up in the wider frame; the hero is untouched. */
.gym-dashboard .dash-main{padding:clamp(.65rem,2cqw,2rem)}
.gym-dashboard .dashboard-demo{min-height:clamp(30rem,60cqw,46rem)}
.gym-dashboard .dash-title{font-size:clamp(13px,2.2cqw,26px)}
.gym-dashboard .dash-topline{font-size:clamp(6px,.9cqw,11px)}.gym-dashboard .dash-sample-tag{font-size:clamp(5px,.7cqw,9px)}
.gym-dashboard .dash-heading-row p{font-size:clamp(7px,1cqw,13px)}
.gym-dashboard .dash-stat>span{font-size:clamp(6px,1cqw,13px)}.gym-dashboard .dash-stat strong{font-size:clamp(20px,3.5cqw,40px)}.gym-dashboard .dash-stat small{font-size:clamp(5px,.8cqw,10px)}
.gym-dashboard .dash-card-title{font-size:clamp(7px,1.1cqw,14px)}.gym-dashboard .dash-card-title small,.gym-dashboard .dash-chart-axis,.gym-dashboard .dash-chart-days{font-size:clamp(5px,.8cqw,10px)}
.gym-dashboard .dash-table-row{font-size:clamp(6px,1cqw,13px);padding-block:clamp(.3rem,.8cqw,.7rem)}.gym-dashboard .dash-table-head{font-size:clamp(5px,.85cqw,11px)}
.gym-dashboard .dash-subscription>strong{font-size:clamp(8px,1.2cqw,15px)}.gym-dashboard .dash-subscription>p,.gym-dashboard .dash-usage-label,.gym-dashboard .dash-subscription>small,.gym-dashboard .dash-plan-tag{font-size:clamp(5px,.85cqw,11px)}
.gym-dashboard .dash-chart{height:clamp(4rem,11cqw,8.5rem)}
.gym-dashboard-member-list{margin-top:clamp(.5rem,1.5cqw,1.2rem)}
.gym-dashboard-demo-filter{display:flex;gap:.5rem;flex-wrap:wrap;margin-block:.75rem;color:#91A181;font-size:clamp(5px,.85cqw,11px)}.gym-dashboard-demo-filter>span{padding:.35em .7em;border:1px solid var(--color-border);border-radius:.3rem}.gym-dashboard-demo-filter>span:last-child{margin-left:auto}
.gym-dashboard-demo-inactive{color:#7E8C73}
.gym-dashboard-slot-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:clamp(.35rem,1cqw,.8rem);margin-block:clamp(.5rem,1.5cqw,1.2rem)}
body.dashboard-view-open{overflow:hidden}
.gym-dashboard-viewer{width:calc(100% - 2rem);max-width:80rem;max-height:92dvh;padding:1rem;margin:auto;background:var(--color-surface);color:var(--color-text);border:1px solid rgb(255 255 255 / .16);border-radius:var(--radius-md);overflow:hidden;box-shadow:0 30px 100px rgb(0 0 0 / .6)}
.gym-dashboard-viewer::backdrop{background:rgb(0 0 0 / .82)}
.gym-dashboard-viewer-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.gym-dashboard-viewer-header h3{font-size:1rem;line-height:1.4;letter-spacing:-.02em}.gym-dashboard-close{flex-shrink:0}
.gym-dashboard-viewer-hint{font-size:.6875rem;color:var(--color-muted);line-height:1.7;margin:.5rem 0 1rem}
.gym-dashboard-viewer-scroll{max-height:calc(92dvh - 8rem);overflow:auto;overscroll-behavior:contain;border:1px solid var(--color-border);border-radius:var(--radius-sm)}
.gym-dashboard-viewer-content{min-width:0}.gym-dashboard-viewer-content .dashboard-demo{grid-template-columns:8rem minmax(0,1fr)}.gym-dashboard-viewer-content .dash-brand{display:block;width:100%;height:auto;margin-bottom:1rem}.gym-dashboard-viewer-content .dash-sidebar-item>span{display:inline;font-size:.625rem}
@media(min-width:40rem){.gym-dashboard-tabs{justify-content:center}.gym-dashboard .dashboard-demo{grid-template-columns:clamp(6.5rem,15cqw,11rem) minmax(0,1fr)}.gym-dashboard .dash-sidebar-item>span{font-size:clamp(8px,1cqw,12px)}.gym-dashboard .dash-sidebar-item{min-height:2.5rem}.gym-dashboard .dash-middle{gap:clamp(.5rem,1.2cqw,1rem);margin-block:clamp(.65rem,1.5cqw,1.3rem)}.gym-dashboard .dash-chart-card,.gym-dashboard .dash-subscription,.gym-dashboard .dash-members{padding:clamp(.7rem,1.5cqw,1.3rem)}.gym-dashboard-description{font-size:var(--text-base);min-height:3rem}.gym-dashboard-viewer-content .dashboard-demo{grid-template-columns:8rem minmax(0,1fr)}}
@media(hover:hover){.gym-dashboard-tab:hover{color:var(--color-text);border-color:rgb(255 255 255 / .23)}.gym-dashboard-expand:hover{color:var(--color-brand)}}

.gym-dashboard-image-button{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
.gym-dashboard-image-button:focus-visible{outline:2px solid var(--color-brand);outline-offset:-3px}
.gym-dashboard-viewer-tools{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.gym-dashboard-viewer-tools .gym-dashboard-zoom{flex-shrink:0}
.gym-dashboard-viewer-content .gym-dashboard-screenshot{max-height:calc(92dvh - 9rem)}
.gym-dashboard-viewer-content.is-zoomed{min-width:75rem}
.gym-dashboard-viewer-content.is-zoomed .gym-dashboard-screenshot{max-height:none}
