/* One visual system across community, activities and the athlete's space. */
:root{--radius:20px}
button{transition:background-color .15s,color .15s,border-color .15s}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #7bb8da;outline-offset:3px}
.panel,.group-card,.device-card{border-radius:18px}
.profile-identity h1{font-size:34px;letter-spacing:-1px}
.profile-tabs{gap:0;justify-content:space-between}
.profile-tabs button{flex:1;font-size:16px;padding:18px 8px}
.profile-tabs button.active{border-bottom-width:4px}
.profile-chart svg{max-height:260px}
.profile-week-metrics{margin-top:24px}
.profile-week-metrics strong{font-size:29px}
.profile-trophy-list button{border-radius:18px}
.consistency-grid .panel{border-radius:22px}
.goal-card progress{height:8px;border:0;border-radius:10px;overflow:hidden}
.goal-card progress::-webkit-progress-bar{background:#dce4e7;border-radius:10px}
.goal-card progress::-webkit-progress-value{background:#719d31;border-radius:10px}
.profile-link{padding-top:22px;padding-bottom:22px}
.mobile-section-title{display:none}
html[data-theme=dark]{--paper:#080a0b;--ink:#f5f6f7;--muted:#b9c2c8;--line:#303638;background:#080a0b}
html[data-theme=dark] body,html[data-theme=dark] .layout,html[data-theme=dark] .shell{background:#080a0b}
html[data-theme=dark] .lineup-header,html[data-theme=dark] .lineup-bottom{background:#111415;border-color:#303638}
html[data-theme=dark] .panel,html[data-theme=dark] .post,html[data-theme=dark] .group-card,html[data-theme=dark] .device-card{background:#171b1d;border-color:#303638}
html[data-theme=dark] .goal-card progress::-webkit-progress-bar{background:#343b3e}
html[data-theme=dark] .goal-card progress::-webkit-progress-value{background:#d4ff64}
html[data-theme=dark] .profile-tabs button.active{color:#f8f9fa!important;border-bottom-color:#d4ff64}
html[data-theme=dark] .profile-chart-grid{stroke:#3a4246}
html[data-theme=dark] .profile-chart-line,html[data-theme=dark] .profile-chart-dot{stroke:#d4ff64}
html[data-theme=dark] .profile-trophy-list button:not(.primary){background:transparent}
@media(min-width:761px){.lineup-layout{padding-top:28px}.athlete-profile{max-width:940px}.profile-chart svg{max-height:230px}.post{border-radius:18px}.feed-heading h1{font-size:30px}}
@media(max-width:760px){
 #toast{bottom:110px;max-width:calc(100vw - 40px)}
 .lineup-header{height:76px;padding:0 20px;gap:12px;border-bottom:0}
 .lineup-header .brand-home{display:none}
 .mobile-section-title{display:block;min-width:0;font-size:28px;font-weight:750;letter-spacing:-.8px;overflow:hidden;text-overflow:ellipsis}
 .lineup-header .header-actions{gap:10px}
 .lineup-header .header-actions #upload-activity{display:none}
 .lineup-header .header-avatar{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;font-size:14px}
 .layout.lineup-layout{padding:0 18px 105px}
 .topbar{display:none}
 .lineup-bottom{height:78px;box-sizing:content-box;padding:5px 8px max(7px,env(safe-area-inset-bottom));align-items:center;backdrop-filter:none}
 .lineup-bottom button{flex:1;min-height:58px;padding:6px 0;font-size:11px;font-weight:600;gap:6px;color:#5b6e7a}
 .lineup-bottom button svg{width:26px;height:26px;padding:3px 12px;box-sizing:content-box;border-radius:25px}
 .lineup-bottom button.active svg{background:#e7efd9}
 .lineup-bottom button.nav-upload svg{border:2px solid currentColor;border-radius:50%;padding:5px;width:25px;height:25px}
 html[data-theme=dark] .lineup-bottom button{color:#e9edf0}
 html[data-theme=dark] .lineup-bottom button.active{color:#d4ff64}
 html[data-theme=dark] .lineup-bottom button.active svg{background:#050707}
 .athlete-profile .profile-identity{padding:13px 0 25px;gap:14px}
 .profile-avatar{width:65px;height:65px;font-size:28px;border-width:2px}
 .profile-identity .eyebrow{display:none}
 .profile-identity h1{font-size:25px;line-height:1.2;margin-top:0}
 .profile-identity>div>p:last-child{font-size:13px;line-height:1.55}
 .profile-identity .edit-profile{border-radius:22px;padding:10px 18px;font-size:13px;min-height:42px}
 .profile-counters{justify-content:space-between;gap:15px;padding-bottom:22px;margin-bottom:0}
 .profile-counters strong{font-size:26px}
 .profile-counters span{font-size:12px}
 .profile-tabs{margin:0 -18px 18px;padding:0 18px}
 .profile-tabs button{font-size:15px;min-height:58px;padding:15px 3px}
 .profile-week,.profile-trophies,.consistency-groups{padding:23px 20px;border-radius:24px}
 .profile-week .panel-title h2,.profile-trophies h2,.consistency-groups h2,.consistency-grid h2{font-size:19px;letter-spacing:-.3px}
 .profile-week-metrics{gap:12px;margin-top:24px}
 .profile-week-metrics span{font-size:12px;line-height:1.5}
 .profile-week-metrics strong{font-size:24px;margin-top:7px}
 .profile-week-metrics small{font-size:12px}
 .profile-chart svg{margin-top:28px;margin-bottom:10px}
 .profile-volume-method{font-size:12px}
 .consistency-grid{gap:16px;margin-bottom:18px}
 .consistency-grid .panel{padding:23px 20px;border-radius:24px}
 .consistency-number{font-size:46px;margin-top:25px}
 .consistency-number small{font-size:18px}
 .consistency-grid p,.consistency-groups>p{font-size:14px;line-height:1.6}
 .consistency-grid .panel-title button{border:0;background:transparent;padding:8px 0;font-size:12px}
 .profile-menu{border-radius:20px}
 .profile-link{padding:21px 18px}.profile-link strong{font-size:16px}.profile-link small{font-size:12px}
 .feed-heading{padding:12px 2px 18px;margin-bottom:0}
 .feed-heading h1{font-size:26px;line-height:1.18}.feed-heading .eyebrow,.feed-heading .live-label{display:none}
 .feed-heading p.muted{font-size:13px;line-height:1.6;max-width:100%}
 .post{border-radius:0;padding:22px 20px 18px;margin-bottom:12px;border-left:0;border-right:0}
 .personal-activity,.activity-post{margin-left:-18px;margin-right:-18px}
 .personal-activity .activity-map-button,.activity-post .activity-map-button{margin-left:-20px;width:calc(100% + 40px)}
 .post header{font-size:14px;gap:11px}.post header small{font-size:12px;line-height:1.5}
 .post header .avatar{width:42px;height:42px;font-size:16px;flex-shrink:0}
 .post .feed-training-title{font-size:25px;line-height:1.25;margin-top:25px}
 .post .activity-metric-grid span{font-size:12px}.post .activity-metric-grid strong{font-size:22px}
 .post-body{font-size:16px;line-height:1.6}
 .post-actions{padding:12px 0;margin-top:10px}.post-actions button,.post-actions>span{font-size:13px}
 .comments p{font-size:13px;line-height:1.6}.comment-form input,.comment-form button{font-size:13px;min-height:42px}
 .personal-activity-footer,.personal-activity-footer button{font-size:12px;min-height:35px}
 .feed-composer{border-radius:18px;padding:14px;gap:12px}.feed-composer button{font-size:13px;min-height:42px}
 .feed-filter{font-size:13px;padding-top:22px}.feed-filter span{font-size:11px}
 .lineup-community .community-rail .how-rail,.rail-footer{display:none}
 .activity-overview{margin-bottom:20px}.activity-info{border-radius:26px 26px 0 0;padding:26px 24px}
 .activity-info h1{font-size:29px}.activity-person{font-size:14px}.activity-person>div>span{font-size:12px}
 .activity-main-actions>button{border-radius:28px;min-height:50px;font-size:15px}
 .activity-metric-grid.metrics-full strong{font-size:26px}.activity-metric-grid.metrics-full span{font-size:13px}
 .dialog{border-radius:25px;padding:25px 22px}.dialog>header h2{font-size:21px}
 .subscription-content{padding:4px 0}.subscription-content h2{font-size:34px}
 .subscription-next,.subscription-checkout{min-height:54px}
 .first-activity{border-radius:24px}.first-activity h1{font-size:29px}.first-activity p{font-size:14px}
}
