/* MultiAdam v255 — strict Ground Truth polish (presentation only) */
:root{
 --ma255-green:#0F5D3D;--ma255-green2:#0B7A50;--ma255-mint:#DFF3E8;--ma255-blue:#E3F0FF;
 --ma255-purple:#F1E9FF;--ma255-yellow:#FFF4D9;--ma255-bg:#F8F5ED;--ma255-card:#FFFEFB;
 --ma255-ink:#0E1E18;--ma255-muted:#7B817E;--ma255-line:#E3E6E1;--ma255-dark:#101614;
 --ma255-radius:24px;--ma255-radius-sm:17px;--ma255-shadow:0 10px 30px rgba(20,48,37,.045);
}
html.ma-v255-ready,body.ma-v255-ui{overflow-x:hidden!important}
body.ma-v255-ui{background:var(--ma255-bg)!important;color:var(--ma255-ink)!important}
body.ma-v255-ui :where(h1,h2,h3,h4,strong){letter-spacing:-.015em}
body.ma-v255-ui :where(.ma-wrap,.ma-v73-shell,.ma-v22-hub,.ma-v85-results-page,.ma-v100-report-shell,.ma-v106-records-page){width:min(100% - 32px,1120px)!important;margin-inline:auto!important}
body.ma-v255-ui :where(.ma-btn,button,a){-webkit-tap-highlight-color:transparent}
body.ma-v255-ui .ma-btn{border-radius:16px!important;font-weight:850!important}
body.ma-v255-ui .ma-btn-primary{background:var(--ma255-green)!important;border-color:var(--ma255-green)!important;color:#fff!important;box-shadow:none!important}
body.ma-v255-ui :where(.ma-v73-card,.ma-v108-main-chart,.ma-v218-history,.ma-v94-global-calendar,.ma-v109-profile-shell section){box-shadow:none!important;border-color:var(--ma255-line)!important}

/* Header — same quiet shell as reference */
body.ma-v255-ui .ma-header{background:rgba(255,254,251,.97)!important;border:0!important;border-bottom:1px solid #ece9e1!important;box-shadow:none!important;backdrop-filter:blur(10px)}
body.ma-v255-ui .ma-header .ma-nav{min-height:74px!important;max-width:1180px!important;padding:8px 18px!important}
body.ma-v255-ui .ma-header-logo,body.ma-v255-ui .ma-header .ma-brand img{max-height:50px!important;width:auto!important}
body.ma-v255-ui .ma-actions-head{gap:8px!important}
body.ma-v255-ui .ma-icon-btn,body.ma-v255-ui .ma-v187-notify-wrap>a{width:44px!important;height:44px!important;border-radius:50%!important;background:#f7faf7!important;border:1px solid #e3e9e4!important;box-shadow:none!important}

/* Landing / hero — compact, editorial, reference-led */
body.ma-v255-front .ma-hero{width:min(calc(100% - 28px),1180px)!important;min-height:610px!important;height:min(72vh,720px)!important;margin:18px auto 0!important;border-radius:30px!important;overflow:hidden!important;isolation:isolate;box-shadow:none!important;background:#12392d!important}
body.ma-v255-front .ma-hero-bg,body.ma-v255-front .ma-v29-hero-video{inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;filter:saturate(.78) contrast(.94)!important}
body.ma-v255-front .ma-hero:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(7,24,18,.05) 10%,rgba(7,27,20,.34) 48%,rgba(6,31,22,.88) 100%);pointer-events:none}
body.ma-v255-front .ma-v23-hero-copy{position:relative!important;z-index:3!important;height:100%!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;align-items:flex-start!important;padding:54px!important;color:#fff!important;text-align:start!important}
body.ma-v255-front .ma-v23-label{color:#2bd28e!important;font-size:.78rem!important;letter-spacing:.16em!important;font-weight:950!important}
body.ma-v255-front .ma-v23-hero-copy h1{font-size:clamp(3rem,7vw,5.8rem)!important;line-height:1.05!important;margin:10px 0 14px!important;color:#fff!important;font-weight:950!important}
body.ma-v255-front .ma-v23-hero-line{font-size:clamp(1rem,2.1vw,1.35rem)!important;line-height:1.8!important;max-width:610px!important;color:rgba(255,255,255,.9)!important;margin:0!important}
body.ma-v255-front .ma-v23-tracks{font:800 .92rem/1.5 Inter,Vazirmatn,sans-serif!important;letter-spacing:.035em!important;color:#fff!important;margin:15px 0 20px!important}
body.ma-v255-front .ma-v26-hero-actions{display:grid!important;grid-template-columns:minmax(190px,280px) minmax(190px,280px)!important;gap:10px!important;width:min(100%,570px)!important;margin:0!important}
body.ma-v255-front .ma-v26-hero-actions .ma-btn{min-height:58px!important;border-radius:18px!important;font-size:1rem!important;display:flex!important;align-items:center!important;justify-content:center!important}
body.ma-v255-front .ma-v26-hero-actions .ma-btn-primary{background:#19bf7b!important;border-color:#19bf7b!important;color:#071b14!important}
body.ma-v255-front .ma-v26-hero-actions .ma-btn-outline{background:rgba(255,255,255,.13)!important;border:1px solid rgba(255,255,255,.58)!important;color:#fff!important;backdrop-filter:blur(8px)}

/* Shared marketing hierarchy */
body.ma-v255-front .ma-section{padding:74px 0!important}
body.ma-v255-front .ma-v23-section-title{margin-bottom:24px!important}
body.ma-v255-front .ma-v23-section-title h2,body.ma-v255-front .ma-v23-performance h2{font-size:clamp(2.25rem,5vw,4.5rem)!important;line-height:1.12!important;color:var(--ma255-ink)!important;margin:8px 0 0!important}
body.ma-v255-front .ma-v23-path-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
body.ma-v255-front .ma-v23-path-grid article{position:relative!important;min-height:390px!important;border:1px solid #dfe5e0!important;border-radius:28px!important;padding:24px!important;background:linear-gradient(160deg,#eefaf4,#fff)!important;overflow:hidden!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important}
body.ma-v255-front .ma-v23-path-grid article.is-dark{background:var(--ma255-dark)!important;border-color:#18231f!important;color:#fff!important}
body.ma-v255-front .ma-v23-path-grid article:nth-child(3){background:linear-gradient(160deg,#edf8f2,#fff)!important}
body.ma-v255-front .ma-v23-path-grid article>span{position:relative;z-index:2;color:#19a96e!important;font:950 .76rem/1.4 Inter,Vazirmatn,sans-serif!important;letter-spacing:.12em!important}
body.ma-v255-front .ma-v23-path-grid article h3{position:relative;z-index:2;font-size:clamp(1.65rem,3vw,2.35rem)!important;line-height:1.3!important;margin:10px 0 8px!important;color:inherit!important}
body.ma-v255-front .ma-v23-path-grid article p{position:relative;z-index:2;color:#7d837f!important;line-height:1.8!important;margin:0 0 20px!important}
body.ma-v255-front .ma-v23-path-grid article.is-dark p{color:#aab0ad!important}
body.ma-v255-front .ma-v23-path-grid article a{position:relative;z-index:2;align-self:flex-start!important;font-weight:900!important;color:var(--ma255-green)!important;background:rgba(255,255,255,.8)!important;border:1px solid #dfe8e2!important;border-radius:999px!important;padding:10px 14px!important}
body.ma-v255-front .ma-v23-path-grid article.is-dark a{color:#9ce7c4!important;background:rgba(255,255,255,.04)!important;border-color:#39443f!important}
.ma-v255-path-art{position:absolute;inset:10px 10px auto 10px;height:205px;border-radius:22px;display:grid;place-items:center;opacity:.98;background:radial-gradient(circle at 50% 45%,rgba(27,190,122,.15),transparent 65%)}
.ma-v255-path-art svg{width:76%;height:76%;fill:#163c2f;opacity:.9}
.is-programming .ma-v255-path-art svg{fill:#d8f2e6}.is-programming .ma-v255-path-art{background:radial-gradient(circle at 50% 45%,rgba(32,201,137,.13),transparent 68%)}
.is-running .ma-v255-path-art svg{fill:#0f5d3d}

/* Progress marketing section — white editorial card + dark Today preview */
body.ma-v255-front .ma-v23-performance{background:transparent!important}
body.ma-v255-front .ma-v23-performance-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(340px,.82fr)!important;gap:26px!important;align-items:stretch!important}
body.ma-v255-front .ma-v23-performance-grid>div:first-child{padding:38px!important;border:1px solid var(--ma255-line)!important;border-radius:30px!important;background:#fff!important}
body.ma-v255-front .ma-v23-performance p{font-size:1.05rem!important;line-height:1.9!important;color:var(--ma255-muted)!important}
body.ma-v255-front .ma-v23-performance ul{padding:0!important;margin:28px 0!important;list-style:none!important}
body.ma-v255-front .ma-v23-performance li{padding:14px 0!important;border-bottom:1px solid #ecece7!important;font-weight:800!important}
body.ma-v255-front .ma-v23-app-preview{background:#111715!important;border:1px solid #1d2a25!important;border-radius:30px!important;padding:30px!important;color:#fff!important;box-shadow:none!important;min-height:560px!important;display:flex!important;flex-direction:column!important}
body.ma-v255-front .ma-v23-app-head{display:flex!important;justify-content:space-between!important;align-items:center!important;font-size:1.3rem!important;margin-bottom:24px!important}
body.ma-v255-front .ma-v23-app-head span{color:#8a918d!important;font-size:.8rem!important;font-weight:900!important;letter-spacing:.12em!important}
body.ma-v255-front .ma-v23-workout-card{border:1px solid #29342f!important;border-radius:24px!important;padding:28px!important;background:#131b18!important}
body.ma-v255-front .ma-v23-workout-card small{color:#20c680!important;font-weight:950!important;letter-spacing:.1em!important}
body.ma-v255-front .ma-v23-workout-card strong{display:block!important;font-size:2rem!important;margin:14px 0 8px!important}
body.ma-v255-front .ma-v23-workout-card p{color:#8f9692!important;font-size:1rem!important;margin:0 0 20px!important}
body.ma-v255-front .ma-v23-workout-card em{font-style:normal!important;font-weight:800!important}
body.ma-v255-front .ma-v23-app-metrics{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:9px!important;margin:14px 0!important}
body.ma-v255-front .ma-v23-app-metrics>div{border:1px solid #29342f!important;border-radius:18px!important;padding:16px!important;background:#131b18!important}
body.ma-v255-front .ma-v23-app-metrics small{color:#20c680!important;font-size:.66rem!important;font-weight:900!important;letter-spacing:.07em!important}
body.ma-v255-front .ma-v23-app-metrics strong{font-size:1.2rem!important}
body.ma-v255-front .ma-v23-app-bar{margin-top:auto!important;height:7px!important;background:#26302c!important;border-radius:999px!important;overflow:hidden!important}
body.ma-v255-front .ma-v23-app-bar span{display:block!important;width:72%!important;height:100%!important;background:#20c680!important}

/* Athlete home — compact app dashboard */
.ma-v255-athlete{max-width:920px!important;padding-top:14px!important}
.ma-v255-athlete>.ma-v73-athlete-hero{display:grid!important;grid-template-columns:76px 1fr auto!important;gap:14px!important;align-items:center!important;padding:14px 0 18px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.ma-v255-athlete .ma-v73-avatar{width:72px!important;height:72px!important;border:4px solid #eaf1ec!important;box-shadow:none!important}
.ma-v255-athlete .ma-v73-identity h1{font-size:clamp(2rem,5vw,3rem)!important;color:var(--ma255-ink)!important;margin:2px 0 5px!important}
.ma-v255-athlete .ma-v73-identity .ma-v20-kicker{font-size:.75rem!important;color:#7d857f!important}
.ma-v255-athlete .ma-v73-tracks span{background:var(--ma255-mint)!important;color:var(--ma255-green)!important;border:0!important;border-radius:999px!important;padding:5px 10px!important;font-size:.7rem!important}
.ma-v255-athlete .ma-v252-primary-log{min-height:72px!important;margin:0 0 12px!important;border-radius:20px!important;padding:0 18px!important;background:linear-gradient(135deg,#0f6847,#0b5238)!important;box-shadow:none!important}
.ma-v255-athlete .ma-v252-primary-log span{width:42px!important;height:42px!important;font-size:25px!important}.ma-v255-athlete .ma-v252-primary-log strong{font-size:1.25rem!important}
.ma-v255-athlete :where(.ma-v73-card,.ma-v79-status-card,.ma-v79-next-card){border-radius:21px!important;border:1px solid var(--ma255-line)!important;background:#fff!important;box-shadow:none!important}

/* Analytics / Progress */
.ma-v255-analytics{gap:11px!important}
.ma-v255-analytics .ma-v108-track-tabs{padding:4px!important;border-radius:16px!important;background:#fff!important;border:1px solid var(--ma255-line)!important}
.ma-v255-analytics .ma-v108-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
.ma-v255-analytics .ma-v108-kpis article{min-height:104px!important;padding:13px!important;border-radius:18px!important;border:1px solid var(--ma255-line)!important;box-shadow:none!important}
.ma-v255-analytics .ma-v108-kpis strong{font-size:1.55rem!important}.ma-v255-analytics .ma-v108-kpis :where(span,small){font-size:.72rem!important;color:var(--ma255-muted)!important}
.ma-v255-analytics .ma-v108-main-chart{min-height:225px!important;border-radius:21px!important;padding:15px!important}

/* Workout history */
.ma-v255-history{padding:16px!important;border-radius:22px!important}
.ma-v255-history .ma-v218-history-head h2{font-size:1.55rem!important}
.ma-v255-history .ma-v218-history-tabs{padding:4px!important;border-radius:15px!important;margin:10px 0!important}
.ma-v255-history .ma-v218-history-tabs button{min-height:40px!important;border-radius:12px!important}
.ma-v255-history .ma-v253-history-search{height:44px!important;border-radius:14px!important}
.ma-v255-history .ma-v253-history-filters{scrollbar-width:none}.ma-v255-history .ma-v253-history-filters::-webkit-scrollbar{display:none}
.ma-v255-history .ma-v218-history-list{gap:7px!important}.ma-v255-history .ma-v218-history-item{border-radius:15px!important}.ma-v255-history .ma-v218-history-item summary{padding:12px 13px!important}

/* Coach v254 adapter — stricter match to approved mobile render */
.ma254{--green:var(--ma255-green)!important;max-width:760px!important;padding:10px 16px 96px!important;background:var(--ma255-bg)!important}
body.ma254-page,body.ma254-page .ma-app-page-content,body.ma254-page .ma-app-page-inner{background:var(--ma255-bg)!important}
.ma254-header{min-height:54px!important;margin-bottom:12px!important}.ma254-brand>img{width:48px!important;height:48px!important}.ma254-brand-letter{width:48px!important;font-size:45px!important}.ma254-brand b{font-size:18px!important}
.ma254-coach-hero{margin-bottom:12px!important}.ma254-coach-hero h1{font-size:27px!important}.ma254-coach-photo{width:76px!important;height:76px!important}
.ma254-action{min-height:70px!important;border-radius:17px!important;margin-bottom:8px!important}.ma254-action strong{font-size:19px!important}
.ma254-summary{gap:7px!important;margin-bottom:11px!important}.ma254-summary>a{min-height:98px!important;border-radius:16px!important;padding:9px!important}.ma254-summary strong{font-size:21px!important}
.ma254-tools{gap:7px!important}.ma254-tools>a{min-height:62px!important;border-radius:16px!important;padding:10px!important}
.ma254-row{min-height:68px!important;border-radius:16px!important;padding:8px 10px!important}.ma254-row-copy>strong{font-size:16px!important}
.ma254-profile,.ma254-panel{border-radius:20px!important;box-shadow:none!important}.ma254-tabs{border-radius:16px!important}.ma254-stats{gap:7px!important}.ma254-stats>div{border-radius:16px!important}
.ma254-bottom-nav{border-top-color:#e8e8e2!important;background:rgba(255,254,251,.96)!important;backdrop-filter:blur(12px)}

/* Remove decorative emoji glyphs in product UI when markup already has icons */
.ma-v255-ui .ma-v20-dashboard-head .emoji,.ma-v255-ui .ma-v73-shell .emoji{display:none!important}

@media(max-width:820px){
 body.ma-v255-front .ma-v23-path-grid{grid-template-columns:1fr!important}
 body.ma-v255-front .ma-v23-path-grid article{min-height:270px!important;padding:20px!important;padding-inline-end:42%!important}
 .ma-v255-path-art{inset:12px auto 12px 58%;width:40%;height:auto}
 body.ma-v255-front .ma-v23-performance-grid{grid-template-columns:1fr!important}
 body.ma-v255-front .ma-v23-app-preview{min-height:500px!important}
 .ma-v255-analytics .ma-v108-kpis{grid-template-columns:1fr 1fr!important}
}
@media(max-width:760px){
 body.ma-v255-ui .ma-header .ma-nav{min-height:68px!important;padding:7px 12px!important}
 body.ma-v255-ui .ma-header-logo,body.ma-v255-ui .ma-header .ma-brand img{max-height:44px!important}
 body.ma-v255-front .ma-hero{width:100%!important;height:calc(100svh - 68px)!important;min-height:610px!important;max-height:760px!important;margin:0!important;border-radius:0 0 28px 28px!important}
 body.ma-v255-front .ma-v23-hero-copy{padding:30px 22px 34px!important;align-items:stretch!important}
 body.ma-v255-front .ma-v23-hero-copy h1{font-size:3.25rem!important;text-align:right!important}
 body.ma-v255-front .ma-v23-hero-line{font-size:1rem!important;text-align:right!important;max-width:100%!important}
 body.ma-v255-front .ma-v23-tracks{text-align:center!important;font-size:.82rem!important}
 body.ma-v255-front .ma-v26-hero-actions{grid-template-columns:1fr!important;width:100%!important}
 body.ma-v255-front .ma-v26-hero-actions .ma-btn{min-height:56px!important}
 body.ma-v255-front .ma-section{padding:48px 0!important}
 body.ma-v255-front .ma-v23-section-title h2,body.ma-v255-front .ma-v23-performance h2{font-size:2.35rem!important}
 body.ma-v255-front .ma-v23-path-grid{gap:10px!important}
 body.ma-v255-front .ma-v23-path-grid article{min-height:230px!important;border-radius:22px!important;padding:18px!important;padding-inline-end:38%!important}
 body.ma-v255-front .ma-v23-path-grid article h3{font-size:1.55rem!important}.ma-v255-path-art{inset:12px auto 12px 64%;width:32%}
 body.ma-v255-front .ma-v23-performance-grid>div:first-child{padding:24px 20px!important;border-radius:24px!important}
 body.ma-v255-front .ma-v23-app-preview{min-height:470px!important;padding:20px!important;border-radius:24px!important}
 body.ma-v255-front .ma-v23-app-metrics{grid-template-columns:1fr 1fr!important}.ma-v23-app-metrics>div:last-child{grid-column:1/-1}
 .ma-v255-athlete{padding-inline:12px!important;padding-bottom:92px!important}
 .ma-v255-athlete>.ma-v73-athlete-hero{grid-template-columns:62px 1fr!important;padding-top:8px!important}.ma-v255-athlete .ma-v73-avatar{width:60px!important;height:60px!important}.ma-v255-athlete .ma-v73-hero-actions{display:none!important}.ma-v255-athlete .ma-v73-identity h1{font-size:1.8rem!important}
 .ma-v255-analytics .ma-v108-kpis article{min-height:96px!important;padding:11px!important}.ma-v255-analytics .ma-v108-main-chart{min-height:205px!important;padding:12px!important}
 .ma-v255-history{padding:12px!important;border-radius:19px!important}.ma-v255-history .ma-v218-history-head p{display:none!important}
 .ma254{padding-inline:14px!important}.ma254-coach-hero h1{font-size:25px!important}.ma254-coach-photo{width:70px!important;height:70px!important}.ma254-summary>a{min-height:94px!important}
}
@media(max-width:430px){
 body.ma-v255-ui :where(.ma-wrap,.ma-v73-shell,.ma-v22-hub,.ma-v85-results-page,.ma-v100-report-shell,.ma-v106-records-page){width:min(100% - 24px,1120px)!important}
 body.ma-v255-front .ma-v23-hero-copy h1{font-size:2.8rem!important}
 body.ma-v255-front .ma-v23-path-grid article{padding-inline-end:34%!important}.ma-v255-path-art{inset-inline-start:68%;width:29%}
 .ma-v255-analytics .ma-v108-kpis strong{font-size:1.35rem!important}
 .ma254-summary>a{min-height:90px!important}.ma254-summary b{font-size:11px!important}.ma254-summary small{font-size:9px!important}
}
