:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;line-height:1.35;color:#eef3ef;background:#101512;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#101512}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}input,select,textarea{width:100%;min-height:3rem;padding:.65rem .75rem;color:#f8fbf8;background:#17201b;border:1px solid #405448;border-radius:.4rem}.app-shell{display:grid;align-content:start;gap:.65rem;width:min(100%,42rem);min-height:100vh;margin:0 auto;padding:max(.6rem,env(safe-area-inset-top)) .6rem max(.8rem,env(safe-area-inset-bottom))}.top-bar,.screen-head,.section-head,.weight-line,.set-row,.admin-row,.history-row,.previous-row,.template-preview-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.top-bar{min-height:2.75rem}.brand,.sync-state,.screen-note,.label,.empty-line{margin:0}.brand{color:#f8fbf8;font-weight:850;letter-spacing:0}.sync-state,.screen-note,.empty-line,.previous-row span,.history-row span,.admin-row small,.exercise-row small,.template-preview-row span{color:#aeb9b1;font-size:.86rem}.tab-bar{position:sticky;top:0;z-index:2;display:grid;grid-template-columns:repeat(3,1fr);gap:.3rem;padding:.25rem;background:#17201b;border:1px solid #2c3b32;border-radius:.45rem}.tab-button,.plain-button,.tiny-button,.primary-action,.secondary-action,.step-button,.rep-button,.exercise-row{touch-action:manipulation}.tab-button{min-height:2.75rem;color:#cdd8d0;background:transparent;border:0;border-radius:.35rem;font-weight:850}.tab-button.active{color:#111713;background:#f4c542}.stack-panel{display:grid;gap:.7rem;padding-block:.45rem 1rem}h1,h2{margin:0;letter-spacing:0;font-variant-numeric:tabular-nums}h1{font-size:1.75rem;line-height:1.05}h2{font-size:1rem}.primary-action,.secondary-action{display:inline-flex;align-items:center;justify-content:center;min-height:3.25rem;width:100%;padding:.75rem .9rem;border-radius:.45rem;font-weight:850;text-align:center}.primary-action{color:#111713;background:#f4c542;border:1px solid #f4c542}.secondary-action{color:#eef3ef;background:#17201b;border:1px solid #405448}.head-action{width:auto;min-width:7rem;min-height:2.75rem;white-space:nowrap}.start-action{min-height:4rem;font-size:1.15rem}.plain-button{min-height:2.5rem;padding:.2rem 0;color:#f4c542;background:transparent;border:0;font-weight:850}.google-button{min-height:3.5rem;width:min(100%,22.5rem)}.status-message{margin:0;padding:.75rem;color:#f8e6e6;background:#4a2528;border:1px solid #c8787e;border-radius:.45rem}.list-panel,.exercise-list,.logger-panel,.history-mini,.set-list,.form-panel,.chart-panel,.progress-panel{display:grid;gap:.5rem;padding:.65rem;background:#17201b;border:1px solid #2c3b32;border-radius:.45rem}.exercise-list{padding:0;background:transparent;border:0}.exercise-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:4rem;width:100%;padding:.75rem;color:#f8fbf8;text-align:left;background:#1d2922;border:1px solid #405448;border-radius:.45rem}.exercise-main{display:grid;gap:.15rem;min-width:0}.exercise-main strong,.admin-row strong,.template-preview-row strong{overflow-wrap:anywhere}.exercise-metric{flex:0 0 auto;font-size:1.2rem;font-weight:900;font-variant-numeric:tabular-nums}.history-mini{grid-template-columns:1fr}.compact-progress{gap:.45rem}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem}.metric-card{display:grid;gap:.12rem;min-width:0;padding:.55rem;background:#111713;border:1px solid #25332b;border-radius:.4rem}.metric-card span,.metric-card small,.progress-review{color:#aeb9b1;font-size:.78rem}.metric-card strong{overflow:hidden;font-size:1.05rem;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.trend-pill{padding:.25rem .45rem;border-radius:999px;color:#dbe5de;background:#223028;border:1px solid #405448;font-size:.78rem}.trend-up,.trend-volume{color:#101512;background:#9ed47a;border-color:#9ed47a}.trend-down{color:#f8e6e6;background:#4a2528;border-color:#c8787e}.progress-review{margin:0}.previous-row,.template-preview-row{min-height:2.5rem;padding:.45rem .55rem;background:#111713;border:1px solid #25332b;border-radius:.4rem}.previous-row strong{min-width:0;overflow:hidden;color:#dbe5de;text-align:right;text-overflow:ellipsis;white-space:nowrap}.weight-line{align-items:end}.weight-entry{display:grid;grid-template-columns:minmax(7rem,1fr) auto;align-items:end;gap:.35rem;min-width:13rem}.reps-entry{display:grid;gap:.2rem}.reps-entry input{min-height:3.75rem;font-size:1.35rem;font-weight:900;font-variant-numeric:tabular-nums}.label,.form-grid label>span,.select-label>span{display:block;margin-bottom:.25rem;color:#aeb9b1;font-size:.82rem;font-weight:800}.weight-display{margin:0;color:#f8fbf8;font-size:3.35rem;font-weight:950;line-height:.95;font-variant-numeric:tabular-nums}.stepper-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem;min-width:13rem}.step-button,.rep-button,.tiny-button{min-height:3rem;color:#f8fbf8;background:#223028;border:1px solid #405448;border-radius:.4rem;font-weight:850;font-variant-numeric:tabular-nums}.rep-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.35rem;min-inline-size:0;margin:0;padding:0;border:0}.rep-button{min-height:3.55rem;font-size:1.2rem}.rep-button.active{color:#111713;background:#f4c542;border-color:#f4c542}.set-list{padding:0;background:transparent;border:0}.set-row,.admin-row,.history-row{min-height:3.25rem;padding:.6rem;background:#17201b;border:1px solid #2c3b32;border-radius:.45rem}.set-row strong{font-size:1.1rem;font-variant-numeric:tabular-nums}.set-row span{color:#aeb9b1}.row-actions,.button-row,.inline-edit{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap;justify-content:end}.tiny-button{min-height:2.75rem;padding:.45rem .65rem;font-size:.9rem}.inline-edit input{width:5.5rem;min-height:2.75rem}.form-grid{display:grid;gap:.55rem}.compact-form{grid-template-columns:1.5fr .7fr .8fr}.two-col{grid-template-columns:1.4fr .8fr}.admin-row>span{display:grid;gap:.12rem;min-width:0}.section-head span{color:#aeb9b1;font-weight:800}.chart-bars{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(2rem,1fr);align-items:end;gap:.45rem;min-height:12rem;overflow-x:auto}.chart-column{display:grid;gap:.35rem;min-width:2rem;height:100%;align-items:end;text-align:center}.bar-stack{position:relative;display:flex;align-items:end;justify-content:center;min-height:9rem}.volume-bar,.weight-bar{position:absolute;bottom:0;display:block;width:42%;min-height:.5rem;border-radius:.25rem .25rem 0 0}.volume-bar{left:16%;background:#78a6ff}.weight-bar{right:16%;background:#f4c542}.chart-column small{color:#aeb9b1;font-size:.72rem}.history-row{display:grid;grid-template-columns:1fr auto auto auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;white-space:nowrap;border:0;clip:rect(0,0,0,0)}.primary-action:focus-visible,.secondary-action:focus-visible,.plain-button:focus-visible,.tab-button:focus-visible,.exercise-row:focus-visible,.step-button:focus-visible,.rep-button:focus-visible,.tiny-button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #f4c542;outline-offset:2px}@media(max-width:30rem){.top-bar{align-items:start}.top-bar>.sync-state{max-width:9rem;text-align:right}.screen-head,.weight-line{align-items:stretch;display:grid}.head-action{width:100%}.stepper-grid,.weight-entry{min-width:0}.compact-form{grid-template-columns:1fr 5.5rem 5.5rem}.history-row{grid-template-columns:1fr 1fr}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.row-actions{justify-content:start}}
