:root{--bg:#0e0e10;--surface:#17171a;--surface-2:#202024;--border:#2a2a2e;--text:#f2f2f2;--muted:#8a8a90;--accent:#5eead4;--input-bg:#1c1c1f;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--text);background-color:var(--bg);-webkit-font-smoothing:antialiased;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.4}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background-color:var(--bg)}a{color:var(--accent)}*{-webkit-tap-highlight-color:transparent}.app{flex-direction:column;min-height:100vh;display:flex}.app-loading{height:100vh;color:var(--muted);justify-content:center;align-items:center;display:flex}.sign-in-screen{justify-content:center;align-items:center;min-height:100vh;padding:2rem 1.5rem;font-family:Archivo,-apple-system,BlinkMacSystemFont,sans-serif;display:flex}.sign-in-panel{flex-direction:column;align-items:flex-start;width:100%;max-width:20rem;display:flex}.sign-in-panel .tally-mark{width:80px;height:60px;margin-left:-3px;overflow:visible}.tally-stroke{stroke:var(--text);stroke-width:5px;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1px;animation:.22s ease-out forwards tally-draw}.tally-slash{stroke:var(--accent)}@keyframes tally-draw{to{stroke-dashoffset:0}}.tally-static .tally-stroke{stroke-dashoffset:0;animation:none}@media (prefers-reduced-motion:reduce){.tally-stroke{stroke-dashoffset:0;animation:none}}.sign-in-wordmark{color:var(--text);font-variation-settings:"wdth" 125;letter-spacing:-.03em;margin:.5rem 0 0;font-size:5.5rem;font-weight:900;font-stretch:125%;line-height:.9}.sign-in-tagline{color:var(--text);font-variation-settings:"wdth" 75;margin:1rem 0 2rem;font-size:1.35rem;font-weight:500;font-stretch:75%;line-height:1.25}.sign-in-tagline-line{display:block}.sign-in-tagline-word{white-space:pre;opacity:0;animation:.28s ease-out forwards tagline-word;display:inline-block;transform:translateY(.35em)}@keyframes tagline-word{to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.sign-in-tagline-word{opacity:1;animation:none;transform:none}}.sign-in-note{color:var(--muted);margin:.9rem 0 0;font-size:.85rem}.google-signin-btn{color:#e3e3e3;letter-spacing:.25px;cursor:pointer;background:#131314;border:1px solid #8e918f;border-radius:4px;justify-content:center;align-items:center;gap:.6rem;height:40px;padding:0 12px;font-family:Roboto,Segoe UI,-apple-system,BlinkMacSystemFont,sans-serif;font-size:14px;font-weight:500;transition:background .15s;display:inline-flex}.google-signin-btn:hover{background:#1a1a1a}.google-signin-btn:active{background:#202124}.google-signin-icon{flex-shrink:0;width:18px;height:18px}.error-text{color:#f87171;font-size:.85rem}.app-main{flex:1;padding-bottom:5rem;overflow-y:auto}.page{max-width:640px;margin:0 auto;padding:1rem 1rem 2rem}.page h1{margin:.25rem 0 1rem;font-size:1.4rem}.page-header-row{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.page-header-row h1{margin:.25rem 0 1rem}.tab-bar{background:var(--surface);border-top:1px solid var(--border);padding-bottom:env(safe-area-inset-bottom);z-index:10;display:flex;position:fixed;bottom:0;left:0;right:0}.tab-btn{color:var(--muted);cursor:pointer;background:0 0;border:none;flex-direction:column;flex:1;align-items:center;gap:2px;padding:.5rem 0;font-size:.7rem;display:flex}.tab-btn.active{color:var(--accent)}.tab-icon{width:22px;height:22px}.brand-mark{cursor:default;-webkit-user-select:none;user-select:none;align-items:center;gap:.5rem;display:inline-flex;position:relative}.brand-tally{width:28px;height:21px;overflow:visible}.brand-wordmark{font-variation-settings:"wdth" 125;letter-spacing:-.02em;color:var(--text);font-family:Archivo,-apple-system,BlinkMacSystemFont,sans-serif;font-size:1.2rem;font-weight:900;font-stretch:125%}.brand-rep-pop{color:var(--accent);white-space:nowrap;pointer-events:none;font-family:Archivo,-apple-system,BlinkMacSystemFont,sans-serif;font-size:.8rem;font-weight:800;animation:.9s ease-out forwards rep-pop;position:absolute;bottom:70%;left:14px}.mobile-header .brand-rep-pop{animation-name:rep-pop-side;top:50%;bottom:auto;left:calc(100% + .5rem)}@keyframes rep-pop-side{0%{opacity:1;transform:translateY(-50%)}to{opacity:0;transform:translate(.75rem,-50%)}}.brand-rep-pop.pr{font-size:.95rem}@keyframes rep-pop{0%{opacity:1;transform:translate(-50%,.4rem)}to{opacity:0;transform:translate(-50%,-1rem)}}@media (prefers-reduced-motion:reduce){.brand-rep-pop,.mobile-header .brand-rep-pop{animation:none}}.side-nav{display:none}.mobile-header{padding:calc(.6rem + env(safe-area-inset-top)) 1rem .6rem;border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;display:flex}@media (width>=900px){.app{flex-direction:row}.tab-bar,.mobile-header{display:none}.side-nav{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;flex-shrink:0;gap:.15rem;width:15rem;height:100vh;padding:1.5rem .75rem;display:flex;position:sticky;top:0}.side-nav-brand{padding:0 .6rem 1.25rem}.side-nav-btn{color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:.7rem;padding:.6rem;font-family:inherit;font-size:.9rem;display:flex}.side-nav-btn:hover{background:var(--surface-2);color:var(--text)}.side-nav-btn.active{background:var(--surface-2);color:var(--accent)}.side-nav-icon{flex-shrink:0;width:19px;height:19px}.side-nav-spacer{flex:1}.app-main{padding-bottom:0}.app-main-inner{max-width:1100px;margin:0 auto;padding:2.5rem 3rem}.page{max-width:760px;margin:0;padding:0}.charts-row{grid-template-columns:1fr 1fr;gap:.85rem;display:grid}.charts-row .chart-card{margin-bottom:0}}.card{background:var(--surface);border:1px solid var(--border);border-radius:12px;margin-bottom:.85rem;padding:.85rem}.section{margin-bottom:1rem}.section-title{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin:0 0 .5rem;font-size:.95rem}.muted{color:var(--muted)}.small{font-size:.8rem}.custom-select{width:100%;position:relative}.custom-select-trigger{border:1px solid var(--border);background:var(--input-bg);width:100%;color:var(--text);text-align:left;cursor:pointer;border-radius:8px;justify-content:space-between;align-items:center;gap:.5rem;padding:.55rem .6rem;font-family:inherit;font-size:1rem;font-weight:400;display:flex}.custom-select-trigger.open{border-color:var(--accent)}.custom-select-placeholder{color:var(--muted)}.custom-select-chevron{width:11px;height:8px;color:var(--muted);flex-shrink:0;transition:transform .15s}.custom-select-trigger.open .custom-select-chevron{transform:rotate(180deg)}.custom-select-panel{z-index:20;background:var(--surface-2);border:1px solid var(--border);border-radius:10px;flex-direction:column;display:flex;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow:hidden;box-shadow:0 8px 24px #0006}.custom-select-search{width:auto;margin:.4rem}.custom-select-options{max-height:15rem;margin:0;padding:.3rem;list-style:none;overflow-y:auto}.custom-select-option{text-align:left;width:100%;color:var(--text);background:0 0;border-radius:6px;padding:.5rem .6rem;font-size:.95rem;font-weight:400}.custom-select-option:hover{background:var(--surface)}.custom-select-option.selected{background:var(--accent);color:#08201c;font-weight:600}.custom-select-empty{color:var(--muted);text-align:center;padding:.6rem;font-size:.85rem}.form-row{flex-wrap:wrap;gap:.5rem;display:flex}.form-row>*{flex:1;min-width:120px}.stacked{color:var(--muted);flex-direction:column;gap:.25rem;font-size:.75rem;display:flex}input,select,textarea,button{border:1px solid var(--border);background:var(--input-bg);color:var(--text);border-radius:8px;padding:.55rem .6rem;font-family:inherit;font-size:1rem}textarea{resize:vertical;width:100%;min-height:3rem}button{cursor:pointer;background:var(--accent);color:#08201c;border:none;font-weight:600}button.secondary{background:var(--surface-2);color:var(--text);border:1px solid var(--border)}button.icon-btn{color:var(--muted);background:0 0;padding:.25rem .5rem;font-weight:400}button.danger{color:#2a0a0a;background:#f87171}button.primary-action{width:100%;margin-top:.5rem;padding:.9rem;font-size:1.05rem}button:disabled{cursor:default;opacity:.7}button.is-pending{justify-content:center;align-items:center;gap:.45rem;display:inline-flex}.btn-spinner{opacity:.85;border:2px solid;border-top-color:#0000;border-radius:50%;flex:none;width:.9em;height:.9em;animation:.6s linear infinite btn-spinner-spin}@keyframes btn-spinner-spin{to{transform:rotate(360deg)}}.list{margin:0;padding:0;list-style:none}.list-item{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:.65rem .2rem;display:flex}.list-item:last-child{border-bottom:none}.row-actions{gap:.4rem;display:flex}.plan-item{flex-direction:column;align-items:stretch;gap:.4rem}.plan-item-main{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.plan-item-main>span{flex:1}.plan-item-reorder{flex-direction:column;gap:.1rem;display:flex}.plan-item-reorder .icon-btn{padding:0 .4rem;line-height:1.1}.plan-item-reorder .icon-btn:disabled{opacity:.3;cursor:default}.plan-item-controls{align-items:center;gap:.5rem;display:flex}.plan-item-controls label{color:var(--muted);flex-direction:column;font-size:.7rem;display:flex}.plan-item-controls input{width:3.5rem}.plan-item-alts{flex-direction:column;gap:.3rem;display:flex}.alt-chip{background:var(--border);border-radius:1rem;align-items:center;gap:.2rem;margin:.15rem .3rem .15rem 0;padding:.1rem .5rem;display:inline-flex}.plan-name-row{align-items:center;gap:.5rem;display:flex}.plan-badge{color:#08201c;border-radius:1rem;padding:.1rem .45rem;font-size:.65rem;font-weight:600}.plan-badge-upper{background:#fbbf24}.plan-badge-lower{background:#a78bfa}.plan-badge-cardio{background:#fb7185}.plan-badge-other{background:#94a3b8}.alt-chip .icon-btn{font-size:.7rem}.exercise-header{justify-content:space-between;align-items:center;display:flex}.alt-swap{width:100%;margin:.4rem 0 .2rem}.set-table{border-collapse:collapse;width:100%;margin:.5rem 0}.set-table th{text-align:left;color:var(--muted);padding:.25rem;font-size:.7rem}.set-table td{padding:.25rem}.set-table input{width:100%;padding:.4rem}.cardio-fields{flex-wrap:wrap;gap:.6rem;margin-top:.5rem;display:flex}.cardio-fields label{flex:1;min-width:6rem}.view-toggle{gap:.5rem;display:flex}.view-toggle button{flex:1}.stats-row{justify-content:space-between;display:flex}.stat-value{font-size:1.2rem;font-weight:700}.stat-value.positive{color:var(--accent)}.stat-value.negative{color:#f87171}.chart-card{padding-top:.85rem}.progress-slot-group{margin-bottom:1.25rem}.progress-slot-title{margin-bottom:.5rem}.chart-card-compact{margin-bottom:.6rem}.chart-subtitle{margin-bottom:.3rem}.pr-card-header{justify-content:space-between;align-items:flex-start;margin-bottom:.6rem;display:flex}.pr-card-header .section-title{margin:0}.pr-current{flex-direction:column;align-items:flex-end;gap:.1rem;display:flex}.pr-current-weight{color:var(--accent);font-size:1.3rem;font-weight:700}.pr-history{margin-top:.6rem}.calendar-card{padding:.85rem .6rem}.calendar-header{justify-content:center;align-items:center;gap:1rem;margin-bottom:.6rem;display:flex}.calendar-header .icon-btn{padding:.2rem .6rem;font-size:1.2rem;line-height:1}.calendar-month-label{text-align:center;min-width:9rem;font-weight:600}.calendar-weekdays{text-align:center;color:var(--muted);grid-template-columns:repeat(7,minmax(0,1fr));margin-bottom:.3rem;font-size:.7rem;display:grid}.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:.2rem;display:grid}.calendar-day{aspect-ratio:4/3;min-width:0;color:var(--text);cursor:default;background:0 0;border:1px solid #0000;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:.15rem;font-size:.85rem;font-weight:400;display:flex}.calendar-day.outside{color:var(--muted);opacity:.4}.calendar-day.today{border-color:var(--border)}.calendar-day.has-session{cursor:pointer;color:var(--text)}.calendar-day.has-session:not(.selected):hover,.calendar-day.has-session:not(.selected):active{background:var(--surface-2)}.calendar-day:focus,.calendar-day:focus-visible{outline:none}.calendar-day.selected{background:var(--accent);color:#08201c;font-weight:600}.calendar-dots{gap:3px;display:flex}.calendar-dot{background:var(--accent);border-radius:50%;flex-shrink:0;width:5px;height:5px}.dot-upper{background:#fbbf24}.dot-lower{background:#a78bfa}.dot-cardio{background:#fb7185}.dot-other{background:#94a3b8}.dot-freeform{background:var(--muted)}.calendar-dot-ring{background:0 0;border:1.5px solid}.dot-upper.calendar-dot-ring{color:#fbbf24}.dot-lower.calendar-dot-ring{color:#a78bfa}.dot-cardio.calendar-dot-ring{color:#fb7185}.dot-other.calendar-dot-ring{color:#94a3b8}.calendar-day.selected .calendar-dot-ring{border-color:#08201c}.calendar-legend{border-top:1px solid var(--border);color:var(--muted);flex-wrap:wrap;gap:.75rem;margin-top:.75rem;padding-top:.75rem;font-size:.7rem;display:flex}.calendar-legend span{align-items:center;gap:.3rem;display:inline-flex}.calendar-legend .calendar-dot{width:6px;height:6px}.session-header{justify-content:space-between;align-items:center;margin-bottom:.4rem;display:flex}.session-exercise{padding:.3rem 0}.session-exercise-name{font-size:.9rem;font-weight:600}.session-notes{margin-top:.4rem;font-style:italic}.account-menu{position:relative}.account-chip{width:100%;color:var(--text);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;align-items:center;gap:.5rem;padding:.5rem .6rem;font-family:inherit;font-size:.85rem;display:flex}.account-chip:hover{background:var(--surface-2)}.account-avatar{object-fit:cover;border-radius:50%;flex-shrink:0;width:28px;height:28px}.account-avatar-fallback{background:var(--accent);color:#08201c;justify-content:center;align-items:center;font-size:.85rem;font-weight:700;display:flex}.account-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-dropdown{background:var(--surface-2);border:1px solid var(--border);z-index:20;border-radius:8px;padding:.6rem;position:absolute;left:.6rem;right:.6rem}.account-dropdown-email{text-overflow:ellipsis;white-space:nowrap;margin-bottom:.5rem;overflow:hidden}.account-sign-out{width:100%}.mobile-header .account-menu{max-width:60vw}.mobile-header .account-dropdown{width:12rem;top:calc(100% + .4rem);left:auto;right:0}@media (width>=900px){.side-nav .account-dropdown{bottom:calc(100% + .4rem)}}.toast-stack{left:50%;bottom:calc(5rem + env(safe-area-inset-bottom));z-index:100;pointer-events:none;flex-direction:column;align-items:center;gap:.5rem;width:calc(100% - 2rem);max-width:24rem;display:flex;position:fixed;transform:translate(-50%)}.toast{background:var(--surface-2);border:1px solid var(--border);color:var(--text);text-align:center;border-radius:10px;padding:.7rem 1rem;font-size:.9rem;font-weight:500;animation:.2s ease-out toast-in,.2s ease-in 2.4s forwards toast-out;box-shadow:0 8px 24px #0006}@keyframes toast-in{0%{opacity:0;transform:translateY(.5rem)}to{opacity:1;transform:none}}@keyframes toast-out{to{opacity:0;transform:translateY(.3rem)}}@media (width>=900px){.toast-stack{align-items:flex-start;bottom:1.5rem;left:1.5rem;transform:none}}.confirm-overlay{z-index:100;background:#0000008c;justify-content:center;align-items:center;padding:1.5rem;display:flex;position:fixed;inset:0}.confirm-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;width:100%;max-width:22rem;padding:1.25rem;box-shadow:0 16px 40px #00000080}.confirm-message{color:var(--text);margin:0 0 1rem;font-size:.95rem;line-height:1.4}.confirm-actions{justify-content:flex-end;gap:.5rem;display:flex}.confirm-actions button{flex:none}
