.home-graph-carousel{width:min(100%,720px);min-width:0;margin:1rem auto 1.5rem;--graph-height:520px}
.home-graph-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;align-items:stretch;border-radius:1rem}
.home-graph-track::-webkit-scrollbar{display:none}
.home-graph-track>.home-volume-slot,.home-graph-track>.home-anatomy-slot,.home-graph-track>.home-cardio-slot{display:contents}
.home-graph-track .home-graph-slide{box-sizing:border-box;flex:0 0 100%;width:100%;min-width:0;height:var(--graph-height);margin:0!important;scroll-snap-align:start;scroll-snap-stop:always;overflow-y:auto;position:relative;padding:1rem;box-shadow:none}
.home-graph-nav{display:flex;align-items:center;justify-content:center;gap:.65rem;margin-top:.65rem;position:relative}
.home-graph-nav>button{width:40px;height:40px;border:1px solid #b8cce4;border-radius:50%;background:#fff;color:#1768b6;font-size:1.8rem;line-height:1;cursor:pointer}
.home-graph-nav>button:disabled{opacity:.3;cursor:default}
.home-graph-dots{display:flex;align-items:center;gap:0}
.home-graph-dots button{width:28px;height:36px;border:0;background:transparent;display:grid;place-items:center;padding:0;cursor:pointer}
.home-graph-dots button:before{content:'';width:8px;height:8px;background:#b7c6d7;border-radius:50%}
.home-graph-dots button[aria-current=true]:before{background:#1368e8;transform:scale(1.3)}
.graph-position{font-size:.72rem;color:#647185;min-width:30px}
.home-graph-carousel :focus-visible{outline:2px solid #1368e8;outline-offset:2px}
.home-graph-track .home-volume-chart{height:380px;margin-top:1.4rem}
.home-graph-track .coach-cardio-progress .cardio-chart{height:350px;width:100%;max-height:none}
.home-graph-track .home-food-bars{height:300px;margin-top:.7rem}
.home-graph-track .home-food-bar-track{height:265px}
.home-graph-track .home-food-today{font-size:.73rem}
.home-graph-track .home-food-reference-values{margin-top:.5rem;padding:.5rem}
.home-graph-track .anatomy-library-host{min-height:0;height:345px;width:calc(100% - 72px);margin-left:0;margin-right:auto}
.home-graph-track .anatomy-library-host>div,.home-graph-track .anatomy-library-host svg{height:345px!important;max-width:100%!important}
.home-graph-track .anatomy-view-toggle{position:absolute;right:.75rem;top:145px;width:100px;gap:0;margin:0;padding:3px;z-index:1}
.home-graph-track .anatomy-view-toggle button{min-height:34px;padding:0 .3rem;font-size:.65rem}
.home-graph-track .anatomy-legend{margin:.5rem 0 .2rem}
.home-graph-track .anatomy-detail{min-height:34px;margin:.25rem auto;padding:.4rem;font-size:.72rem}
.home-graph-track .anatomy-data-note{font-size:.6rem}
@media(max-width:520px){.home-graph-carousel{--graph-height:510px}.home-graph-track .home-graph-slide{padding:.8rem}.home-graph-track .home-volume-chart{height:365px}.home-graph-track .home-food-bars{height:280px}.home-graph-track .home-food-bar-track{height:245px}.home-graph-track .anatomy-view-toggle{right:.5rem;width:92px}.home-graph-track .anatomy-library-host{width:calc(100% - 60px)}}
.home-graph-track{min-height:var(--graph-height)}
.home-graph-track .home-food-graph{display:flex;flex-direction:column;gap:0}
.home-graph-track .home-food-bars{flex:1;min-height:150px;height:auto;align-items:stretch}
.home-graph-track .home-food-bar-track{flex:1;min-height:0;height:auto}
.home-graph-track .home-food-day,.home-graph-track .home-food-reference{min-height:0}

.home-graph-track .muscle-anatomy-card,.home-graph-track .coach-cardio-progress{display:flex;flex-direction:column}
.home-graph-track .anatomy-library-host{flex:1;min-height:0;height:auto}
.home-graph-track .anatomy-library-host>div,.home-graph-track .anatomy-library-host svg{height:100%!important;min-height:0}
.home-graph-track .anatomy-library-host>div{width:100%;overflow:hidden}
.home-graph-track .coach-cardio-progress .cardio-chart{flex:1;min-height:0;height:auto}

/* Build 487: move the legend into the side controls to enlarge the figure. */
.home-graph-track .anatomy-view-toggle{top:125px}
.home-graph-track .anatomy-legend{position:absolute;right:.75rem;top:170px;z-index:1;width:100px;display:flex;flex-direction:column;align-items:flex-start;gap:.65rem;margin:0;padding:.4rem;font-size:.65rem}
.home-graph-track .anatomy-legend span:before{border-radius:50%;flex:none}
.home-graph-track .anatomy-library-host{margin-top:.3rem}
@media(max-width:520px){.home-graph-track .anatomy-legend{right:.5rem;width:92px;font-size:.6rem}}
.home-graph-track .anatomy-volume-legend{top:167px;gap:.22rem;padding:.2rem;font-size:.61rem;line-height:1.1}
.anatomy-volume-legend span{width:100%;display:grid;grid-template-columns:9px minmax(0,1fr);column-gap:.25rem;row-gap:0}
.anatomy-volume-legend span:before{grid-row:1/3;width:8px;height:8px;background:var(--band-color);align-self:center}
.anatomy-volume-legend small{grid-column:2;font-size:.56rem;font-weight:500}
.home-graph-track .anatomy-view-toggle button{min-height:28px}
