/* Owner C02 correction: complete recreated scenes and native foreground UI.
   Only Today is refined; approved shared chrome and current data remain native. */
html[data-wz-screen=gym-today]{--gym-home-reference-css:1}
@layer wz-gym-home-reference {
 html[data-wz-screen=gym-today] body{
  --pearl-canvas:#d8efff;--pearl-wash:radial-gradient(ellipse at 12% 34%,#fff8,transparent 68%),url('/assets/gym/atmosphere/cloud-frost.svg') 0 0/600px 600px repeat,linear-gradient(#b4dbf8,#daebff 42%,#d8efff);
  --pearl-glass:linear-gradient(135deg,#ffffffe0,#e6f2ffb8);--pearl-panel:#f5fbff;--pearl-solid:#e6f2ff;--pearl-raised:#dfeffc;--pearl-dialog:linear-gradient(145deg,#f5fbfff8,#e6f2fff5);
  --pearl-ink:#07142b;--pearl-muted:#36536b;--pearl-edge:#ffffffc9;--pearl-shadow:inset 0 1px 1px #fff,0 4px 12px #17355220;--pearl-primary:linear-gradient(180deg,#00b3ff,#0076f4);
 }
 html[data-wz-screen=gym-today][data-wz-mode=dark] body{
  --pearl-canvas:#031a2c;--pearl-wash:linear-gradient(#001c31,#031a2c 50%,#011423);--pearl-glass:linear-gradient(135deg,#0b273ce6,#062335c9);--pearl-panel:#0b273c;--pearl-solid:#0b273c;--pearl-raised:#0a2a3f;--pearl-dialog:linear-gradient(145deg,#0b273cf8,#062335f8);--pearl-ink:#f0f8ff;--pearl-muted:#b5cfe1;--pearl-edge:#638ba566;--pearl-shadow:inset 0 1px 1px #c9ebff24,0 4px 12px #0004;
 }
 html[data-wz-screen=gym-today] body main.phone{background:var(--pearl-wash)!important}
 html[data-wz-screen=gym-today] main.phone>.wz-app-scene,html[data-wz-screen=gym-today] main.phone>.v3-support-waves{display:none!important}
 html[data-wz-screen=gym-today] main.phone::after{content:none!important}
 html[data-wz-screen=gym-today] main.phone::before{content:''!important;position:absolute;inset:0 0 auto;height:var(--kit-today-hero-height,260px);background:radial-gradient(ellipse at 87% 46%,#207ec6d9,transparent 59%),linear-gradient(180deg,#013d79,#084f85 68%,#b4dbf8);border-radius:0;z-index:-1;pointer-events:none}
 html[data-wz-screen=gym-today][data-wz-mode=dark] main.phone::before{background:radial-gradient(ellipse at 87% 46%,#034e85d9,transparent 59%),linear-gradient(180deg,#01203d,#052441 68%,#001c31)}
 /* A finished scene owns its subject, lighting, clouds and canvas fade together.
    Its hidden attribute supplies a safe default if this optional CSS is absent. */
 html[data-wz-screen=gym-today] main.phone>.gc-complete-header{display:none!important;position:absolute;inset:0 0 auto;width:100%;height:var(--kit-today-hero-height,270px);object-fit:cover;object-position:center top;z-index:-1;pointer-events:none;mask-image:linear-gradient(#000 85%,transparent)}
 html[data-wz-screen=gym-today] main.gc-complete-scene-ready>.gc-complete-header{display:block!important}
 html[data-wz-screen=gym-today] main.gc-complete-scene-ready::before{background:none!important}
 html[data-wz-screen=gym-today] main.gc-complete-scene-ready .kit-today-art{visibility:hidden!important}
 /* Keep compact section rhythm throughout the whole page, not only its top. */
 html[data-wz-screen=gym-today] .gc-today-content{gap:6px!important}
 html[data-wz-screen=gym-today] .gc-today-content>:is(.gc-core-section,.gc-core-tools){margin:0!important}
 html[data-wz-screen=gym-today] .gc-today-content :is(.gc-core-workout-card,.gc-today-goal-card,.gc-today-nutrition-card,.gc-week-panel){border-radius:12px!important}
 /* The drawing uses signal bars, not a printed numerical readiness score. */
 html[data-wz-screen=gym-today] .gc-core-metrics>span{grid-template-columns:.875rem minmax(0,1fr) 1.375rem!important;gap:4px!important;min-height:32px!important}
 html[data-wz-screen=gym-today] .gc-core-metrics>span>strong{display:none!important}
 html[data-wz-screen=gym-today] .gc-core-metrics>span>.gc-readiness-meter{grid-column:3!important;width:1.375rem!important;gap:2px!important}
 html[data-wz-screen=gym-today] .gc-core-metrics>span>small{font-size:.75rem!important}
 /* Section titles sit on the canvas without extra decorative icon rows. */
 html[data-wz-screen=gym-today] .gc-today-content>:is(.gc-core-section,.gc-core-tools){background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}
 html[data-wz-screen=gym-today] .gc-today-content .gc-core-heading:not(.kit-today-heading) h2>:is(.kit-symbol,.kit-measurement-icon,.wz-visual-art),html[data-wz-screen=gym-today] .gc-today-content #gym-tools h2>.kit-symbol{display:none!important}
 html[data-wz-screen=gym-today] .gc-today-content .gc-core-heading h2{padding-inline-start:0!important;gap:0!important}
 html[data-wz-screen=gym-today] .gc-today-content .gc-core-heading{margin-bottom:2px!important}
 html[data-wz-screen=gym-today] .gc-core-workout-card[data-state=rest]{grid-template-columns:96px minmax(0,1fr)!important;gap:8px!important;padding:8px!important}
 html[data-wz-screen=gym-today] .gc-core-workout-card[data-state=rest]>[data-kit-art]{width:96px!important;height:104px!important}
 html[data-wz-screen=gym-today] .gc-core-workout-card[data-state=rest] :is(h2,p){margin:0!important;line-height:1.3!important}
 html[data-wz-screen=gym-today] .gc-core-workout-card[data-state=rest] h2{font-size:1rem!important}
 html[data-wz-screen=gym-today] .gc-today-rest-actions>:is(button,a){font-size:.8125rem!important;padding:6px!important}
 html[data-wz-screen=gym-today] .gc-today-rest-actions>button{gap:5px!important}
 html[data-wz-screen=gym-today] .gc-rest-action-icon{display:inline-flex;width:18px;height:18px;flex:none}
 html[data-wz-screen=gym-today] .gc-rest-action-icon>svg{display:block;width:100%;height:100%}
 html[data-wz-screen=gym-today] .gc-today-goal-card{padding:10px!important}
 html[data-wz-screen=gym-today] .gc-today-goal-overview{gap:8px!important}
 html[data-wz-screen=gym-today] .gc-today-physique-frame,html[data-wz-screen=gym-today] .gc-today-physique-frame .wz-physique-art,html[data-wz-screen=gym-today] .gc-today-physique-frame img{height:max(96px,6rem)!important}
 html[data-wz-screen=gym-today] .gc-today-physique-frame{background:linear-gradient(145deg,#a5b3c0,#8498aa)!important;box-shadow:inset 0 1px 1px #fff5}
 html[data-wz-screen=gym-today] .gc-today-physique-frame img{background:transparent!important}
 html[data-wz-screen=gym-today][data-wz-mode=dark] .gc-today-physique-frame{background:linear-gradient(145deg,#324f64,#1c384c)!important}
 html[data-wz-screen=gym-today] .gc-today-goal-result dd{font-size:.875rem!important;line-height:1.35!important}
 html[data-wz-screen=gym-today] .gc-today-weight-trend>div:not(.gc-core-heading){padding:6px 8px!important;border-radius:12px!important}
 html[data-wz-screen=gym-today] .gc-today-weight-trend .gd-trend svg{max-height:74px!important}
 html[data-wz-screen=gym-today] .gc-core-physiques>div>strong{display:none!important}
 html[data-wz-screen=gym-today] .gc-today-goal-result dt{font-size:.75rem!important}
 /* One Nutrition row opens the retained detail fields; the real link stays native. */
 html[data-wz-screen=gym-today] .kit-today-food .gc-today-nutrition-card{padding:6px 10px!important}
 html[data-wz-screen=gym-today] .gc-food-row-summary{display:block!important;list-style:none!important;padding:0!important;margin:0!important;font-weight:400!important}
 html[data-wz-screen=gym-today] .gc-food-row-summary::before,html[data-wz-screen=gym-today] .gc-food-row-summary::after{content:none!important}
 html[data-wz-screen=gym-today] .gc-food-row-summary::marker,html[data-wz-screen=gym-today] .gc-food-row-summary::-webkit-details-marker{display:none!important;content:none!important}
 html[data-wz-screen=gym-today] .gc-today-food-details{margin:0!important}
 html[data-wz-screen=gym-today] .gc-today-food-glance{grid-template-columns:58px minmax(0,1fr)!important}
 html[data-wz-screen=gym-today] .gc-today-food-glance>.gc-core-art{width:58px!important;height:58px!important}
 html[data-wz-screen=gym-today] .gc-today-food-glance .gc-core-heading h2{font-size:.9375rem!important}
 html[data-wz-screen=gym-today] .gc-today-food-glance .gc-today-food-target small{font-size:.75rem!important}
 html[data-wz-screen=gym-today] .gc-today-content .gc-week-panel{padding:6px 8px!important}
 html[data-wz-screen=gym-today] .gc-week-panel>.gc-week-visual{grid-template-columns:max(60px,3.75rem) 84px minmax(0,1fr)!important;gap:6px!important;margin:0!important}
 html[data-wz-screen=gym-today] .gc-week-panel .gc-week-ring{width:max(60px,3.75rem)!important;height:max(60px,3.75rem)!important}
 html[data-wz-screen=gym-today] .gc-week-ring :is(strong,small){margin:0!important}
 html[data-wz-screen=gym-today] .gc-week-time :is(strong,small){margin:0!important}
 html[data-wz-screen=gym-today] .gc-week-time small{font-size:.6875rem!important}
 html[data-wz-screen=gym-today] .gc-week-day small{margin:0!important;font-size:.75rem!important}
 html[data-wz-screen=gym-today] main.kit-roomy-text .gc-week-panel>.gc-week-visual{grid-template-columns:auto minmax(0,1fr)!important}
 html[data-wz-screen=gym-today] #gym-tools .gc-today-plan-panel>a[href="profile.html"]{display:none!important}
 html[data-wz-screen=gym-today] #gym-tools .gc-today-plan-panel{padding:0!important;background:none!important;border:0!important;box-shadow:none!important;gap:6px!important}
 html[data-wz-screen=gym-today] #gym-tools .kit-today-plan-tiles>a{padding:4px!important;gap:3px!important;line-height:1.25!important;min-height:64px!important;font-size:.75rem!important}
 html[data-wz-screen=gym-today] #gym-tools .gc-today-plan-panel>a:not([href="profile.html"]){display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;min-height:44px!important;padding:6px 8px!important;border:1px solid var(--pearl-edge)!important;border-radius:12px!important;background:var(--pearl-glass)!important;box-shadow:var(--pearl-shadow)!important}
 html[data-wz-screen=gym-today] #gym-tools .gc-today-plan-panel>a>.kit-tool-icon{display:inline-flex!important;width:22px!important;height:22px!important;flex:none}
 html[data-wz-screen=gym-today] #gym-tools .gc-today-plan-panel>a{font-size:.8125rem!important}
 html[data-wz-screen=gym-today] #gym-tools .gc-today-plan-panel>a>.kit-tool-icon>svg{display:block;width:22px;height:22px}
 html[data-wz-screen=gym-today] .gc-core-upcoming>.gc-next-row{display:grid!important;grid-template-columns:24px minmax(0,1fr) 20px!important;align-items:center!important;gap:8px!important;padding:6px 8px!important;list-style:none!important;min-height:54px!important}
 html[data-wz-screen=gym-today] .gc-next-row::before,html[data-wz-screen=gym-today] .gc-next-row::after{content:none!important}
 html[data-wz-screen=gym-today] .gc-next-row::-webkit-details-marker{display:none!important}
 html[data-wz-screen=gym-today] .gc-next-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
 html[data-wz-screen=gym-today] .gc-next-copy :is(strong,small){font-size:.8125rem!important;margin:0!important;line-height:1.35!important}
 html[data-wz-screen=gym-today] .gc-next-icon>svg,html[data-wz-screen=gym-today] .gc-next-chevron>svg{display:block;width:24px;height:24px;color:var(--pearl-link)}
 html[data-wz-screen=gym-today] .gc-core-upcoming[open] .gc-next-chevron{transform:rotate(90deg)}
 /* C03 sheets use the same compact graphical hierarchy as the full page. */
 html[data-wz-screen=gym-today] dialog:is(.kit-dialog,.gc-today-schedule-review)>.kit-dialog-icon,html[data-wz-screen=gym-today] .gc-sheet-symbol{float:inline-start;display:inline-flex;width:28px!important;height:28px!important;margin:0 8px 0 0!important;color:var(--pearl-link)}
 html[data-wz-screen=gym-today] .gc-sheet-symbol>svg{width:100%;height:100%}
 html[data-wz-screen=gym-today] dialog:is(.kit-dialog,.gc-today-schedule-review)>h2{min-height:28px;margin:0 40px 14px 0!important;line-height:1.5!important}
 html[data-wz-screen=gym-today] .kit-goal-dialog .gc-illustration-caption{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 html[data-wz-screen=gym-today] .gc-today-schedule-review[data-schedule-kind=advance] .gc-today-schedule-changes>li{display:grid!important;grid-template-columns:minmax(0,1fr) 20px minmax(0,.8fr)!important;gap:3px 8px!important;padding:8px!important;border:1px solid var(--pearl-edge)!important;border-radius:12px;background:var(--pearl-glass);box-shadow:var(--pearl-shadow)}
 html[data-wz-screen=gym-today] .gc-today-schedule-review[data-schedule-kind=advance] .gc-schedule-session{grid-column:1;grid-row:1;align-self:end}
 html[data-wz-screen=gym-today] .gc-today-schedule-review[data-schedule-kind=advance] .gc-schedule-transfer{display:contents!important}
 html[data-wz-screen=gym-today] .gc-today-schedule-review[data-schedule-kind=advance] .gc-schedule-date[data-destination=false]{grid-column:1;grid-row:2;display:block!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;text-align:start!important}
 html[data-wz-screen=gym-today] .gc-today-schedule-review[data-schedule-kind=advance] .gc-schedule-arrow{grid-column:2;grid-row:1 / span 2;align-self:center}
 html[data-wz-screen=gym-today] .gc-today-schedule-review[data-schedule-kind=advance] .gc-schedule-date[data-destination=true]{grid-column:3;grid-row:1 / span 2;align-self:center;padding:8px!important;min-height:44px;align-content:center}
 html[data-wz-screen=gym-today] .gc-today-schedule-review[data-schedule-kind=advance] .gc-schedule-date .gc-schedule-calendar{display:none!important}
 html[data-wz-screen=gym-today] .gc-today-schedule-review[data-schedule-kind=advance] .gc-schedule-date small{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 @media(max-width:359px){
  html[data-wz-screen=gym-today] .gc-core-metrics>span{grid-template-columns:.75rem minmax(0,1fr) 1.125rem!important;gap:3px!important}
  html[data-wz-screen=gym-today] .gc-core-metrics>span>small{font-size:.6875rem!important}
  html[data-wz-screen=gym-today] .gc-core-metrics>span>.gc-readiness-meter{width:1.125rem!important;gap:1px!important}
  html[data-wz-screen=gym-today] .gc-core-workout-card[data-state=rest]{grid-template-columns:78px minmax(0,1fr)!important}
  html[data-wz-screen=gym-today] .gc-core-workout-card[data-state=rest]>[data-kit-art]{width:78px!important;height:90px!important}
 }
}

/* Extend the shared type layer for the owner-approved compact Today card title. */
@layer wz-compact-type {
 html[data-wz-appearance=pearl][data-wz-screen=gym-today] body .gc-core-workout-card h2{font-size:1rem!important}
}

@media(prefers-reduced-transparency:reduce){html[data-wz-screen=gym-today] body{--pearl-glass:var(--pearl-solid);--pearl-wash:var(--pearl-canvas);--pearl-dialog:var(--pearl-solid)}}
