:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172320;background:#f6f7f5;font-synthesis:none;text-rendering:optimizeLegibility;font-variant-numeric:tabular-nums;--page: #f6f7f5;--surface: #fff;--text: #172320;--muted: #4e605b;--green: #145c46;--green-dark: #113c30;--green-light: #e8f2ec;--line: #dce4df;--field-border: #758581;--danger: #9b2c2c;--warning: #785500}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-width:0}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:not-allowed}button,a,input,select,textarea,summary{scroll-margin:1rem}:focus-visible{outline:3px solid #1b7658;outline-offset:3px}h1,h2,h3,p{margin:0;overflow-wrap:anywhere}h1{font-size:clamp(2.1rem,4.6vw,3.65rem);line-height:1.04;letter-spacing:-.055em}h2{font-size:clamp(1.2rem,2.8vw,1.55rem);line-height:1.21;letter-spacing:-.029em}h3{font-size:1.03rem}p{line-height:1.53}svg{flex:none}.muted{color:var(--muted)}.preserve-text{white-space:pre-wrap}.row{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem}.stack{display:flex;flex-direction:column;gap:1rem;min-width:0}.panel{background:var(--surface);border:1px solid var(--line);border-radius:15px;min-width:0}.padded{padding:clamp(1rem,3vw,1.6rem)}.padded>h2{margin-bottom:.35rem}.padded.stack>h2{margin-bottom:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:.55em;min-height:46px;max-width:100%;padding:.63rem .94rem;text-align:center;border:1px solid transparent;border-radius:8px;background:var(--green);color:#fff;font-weight:680;line-height:1.24}.button:hover{background:#104a39}.button-secondary,.button-ghost{color:var(--green);background:#fff;border-color:var(--field-border)}.button-ghost{border-color:transparent;background:transparent}.button-secondary:hover,.button-ghost:hover{background:var(--green-light)}.button-danger{background:var(--danger)}.button-danger:hover{background:#7c2323}.button-small{min-height:44px;padding:.45rem .6rem;font-size:.875rem}.button:disabled{opacity:.62}.form-error,.notice,.update-banner{padding:.8rem 1rem;border-radius:8px}.form-error{background:#fbebea;color:#792222;border:1px solid #e4a39a}.notice,.update-banner{display:flex;gap:.7rem 1.2rem;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-bottom:1.2rem}.notice{color:var(--danger);border:1px solid #dd9f9b;background:#fff5f4}.update-banner{color:var(--green);border:1px solid #9ab7a5;background:var(--green-light)}.status{color:var(--green)}.loading-status{color:var(--muted);padding-block:1.2rem}.field{display:grid;min-width:0;gap:.4rem;font-size:.9rem;font-weight:620;color:var(--text)}.field input,.field select,.field textarea{border:1px solid var(--field-border);border-radius:8px;width:100%;min-width:0;min-height:46px;background:#fff;color:var(--text);padding:.55rem .65rem;font-size:1rem;font-weight:450}.field textarea{resize:vertical}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.app-shell{display:grid;grid-template-columns:218px minmax(0,1fr);min-height:100dvh}.sidebar{display:flex;flex-direction:column;position:sticky;top:0;height:100dvh;background:var(--surface);border-right:1px solid var(--line);padding:25px 17px 20px}.brand,.mobile-brand{display:inline-flex;align-items:center;gap:.65rem;font-weight:760;letter-spacing:-.035em;font-size:1.16rem}.brand{align-self:flex-start;margin-inline:5px}.brand-mark{display:inline-grid;place-items:center;width:39px;height:39px;border-radius:9px;color:#eff9f1;background:var(--green-dark)}.navigation{display:grid;gap:5px;margin-top:40px}.navigation a{display:flex;align-items:center;gap:.66rem;padding:.7rem .8rem;min-height:48px;border-radius:9px;color:var(--muted);font-weight:570}.navigation a[aria-current]{background:var(--green-light);color:var(--green);font-weight:700}.navigation a:hover{background:#eef4ef}.profile-scope{margin-top:auto;color:var(--muted);font-size:.8rem;padding:.8rem .65rem .3rem;border-top:1px solid var(--line)}.mobile-brand{display:none}.workspace{min-width:0}.workspace-header{display:flex;align-items:center;justify-content:flex-end;min-height:75px;padding:0 clamp(24px,5vw,76px);border-bottom:1px solid var(--line)}.connection-label{display:flex;gap:.45rem;align-items:center;color:var(--muted);font-weight:600;font-size:.82rem}.connection-dot{width:8px;height:8px;border-radius:50%;background:#23714e}.connection-dot.is-offline{background:#ac771a}.main-content{max-width:1190px;margin:0 auto;padding:clamp(1.5rem,4.2vw,3.35rem) clamp(24px,5vw,76px) 3.8rem}.main-content:focus{outline:none}.skip-link{position:fixed;z-index:4;top:.5rem;left:.5rem;background:var(--green-dark);color:#fff;padding:.75rem;transform:translateY(-200%)}.skip-link:focus{transform:translateY(0)}.page-stack{display:grid;gap:clamp(1.4rem,3vw,2.25rem)}.page-title{display:grid;gap:.45rem}.page-title>p{color:var(--muted)}.today-date{display:flex;align-items:center;gap:.46rem;color:var(--muted);font-weight:620;font-size:.88rem}.today-hero{position:relative;isolation:isolate;display:grid;min-height:257px;align-items:center;overflow:hidden;border-radius:17px;background:#143b30;color:#f2f9f3}.today-hero-copy{position:relative;z-index:1;display:grid;justify-items:start;gap:.85rem;padding:clamp(1.2rem,5vw,2.75rem);width:min(70%,510px)}.today-hero h2{font-size:clamp(1.83rem,4.04vw,3rem);font-weight:740;line-height:1.05;letter-spacing:-.05em}.today-hero p{color:#cde1d3;max-width:30ch}.today-hero .button{margin-top:.35rem}.button-bright{background:#d8efde;color:#143a2e}.button-bright:hover{background:#effaf1}.button-bright:focus-visible,.button-on-dark:focus-visible{outline-color:#fff}.button-on-dark{background:transparent;border-color:#a2c7b0;color:#eff9f1}.button-on-dark:hover{background:#245444}.hero-actions{display:flex;flex-wrap:wrap;gap:.55rem}.hero-art{position:absolute;display:grid;place-content:center;inset:0 1.5rem 0 auto;width:min(35%,345px);color:#9bd0ab}.hero-art svg{position:relative;max-width:85%;transform:rotate(-25deg)}.hero-art:before,.hero-art:after{content:"";position:absolute;pointer-events:none;border:1px solid #43725d;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%);width:225px;height:225px}.hero-art:after{width:315px;height:315px;border-color:#34614f}.section-stack{display:grid;gap:.8rem;min-width:0}.section-heading,.split-heading{display:flex;gap:.7rem;align-items:center;justify-content:space-between;flex-wrap:wrap}.text-link{display:inline-flex;align-items:center;gap:.42rem;min-height:44px;font-weight:690;color:var(--green);font-size:.91rem}.text-link:hover{text-decoration:underline}.back-link{justify-self:start}.history-list{display:grid;gap:1rem}.history-date{font-size:1rem;color:var(--muted)}.history-empty{border:1px dashed #a7b8ae;border-radius:15px;min-height:118px;display:flex;flex-wrap:wrap;align-items:center;gap:.85rem;padding:clamp(.9rem,2.6vw,1.35rem)}.history-empty p{color:var(--muted);font-size:.9rem}.history-empty .button{margin-left:auto}.empty-symbol,.row-icon,.completed-symbol{display:inline-grid;place-items:center;width:47px;height:47px;border-radius:11px;background:var(--green-light);color:var(--green)}.workout-list{list-style:none;padding:0;margin:0}.workout-list-row+.workout-list-row{border-top:1px solid var(--line)}.workout-list-row a{display:grid;grid-template-columns:auto minmax(0,1fr) max-content auto;gap:.65rem;padding:.8rem .95rem;align-items:center;min-height:68px}.workout-list-row a:hover{background:#f6f9f6}.row-copy{display:grid;gap:.2rem;min-width:0;overflow-wrap:anywhere}.row-copy>span,.row-date{font-size:.82rem;color:var(--muted)}.row-arrow{grid-column:-2;color:var(--green)}.drafts-panel{padding:.5rem 1rem}.drafts-panel summary{cursor:pointer;min-height:44px;align-content:center;font-weight:680;color:var(--green)}.completed-panel{display:grid;gap:.9rem;justify-items:start;padding:clamp(1.3rem,5vw,2.9rem)}.completed-panel h1{font-size:clamp(2rem,4vw,3.1rem)}.completed-panel .row{margin-top:.45rem}.training-detail{display:grid;gap:.85rem;padding:clamp(.9rem,2.75vw,1.4rem)}.history-sets{display:grid;list-style:none;margin:0;padding:0}.history-sets li{display:grid;align-items:center;grid-template-columns:auto minmax(0,1fr) auto;gap:.65rem;border-top:1px solid var(--line);padding:.68rem 0}.history-sets small{display:block;color:var(--muted);margin-top:.18rem}.history-set-index{width:2rem;height:2rem;display:grid;place-items:center;border-radius:8px;color:var(--muted);background:var(--page)}.set-outcome{border-radius:7px;padding:.28rem .48rem;color:var(--green);background:var(--green-light);font-size:.82rem;font-weight:630}.outcome-failed{color:var(--danger);background:#faebea}.outcome-incomplete{color:var(--warning);background:#f8efd9}.settings-page{max-width:770px}.settings-title{display:flex;align-items:center;gap:.52rem}.settings-title svg{color:var(--green)}.settings-field{max-width:290px}@media(max-width:860px){.app-shell{display:block}.sidebar{z-index:3;position:fixed;inset:auto 0 0;height:auto;padding:0 10px env(safe-area-inset-bottom,0px);border-right:0;border-top:1px solid var(--line)}.brand,.profile-scope{display:none}.navigation{margin:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.navigation a{flex-direction:column;justify-content:center;gap:.16rem;min-height:59px;padding:0 .25rem;font-size:.75rem;border-radius:0}.navigation a[aria-current]{background:transparent;box-shadow:inset 0 2px var(--green)}.mobile-brand{display:inline-flex}.mobile-brand .brand-mark{width:33px;height:33px;border-radius:8px}.workspace-header{justify-content:space-between;min-height:60px;padding-inline:clamp(15px,4vw,26px)}.main-content{padding:1.4rem clamp(15px,4vw,26px) calc(5.5rem + env(safe-area-inset-bottom,0px))}}@media(max-width:480px){.today-hero{min-height:210px}.today-hero-copy{width:82%}.today-hero p{max-width:24ch}.hero-art{right:-14px;bottom:-20px;top:auto;width:115px;height:125px;opacity:.6}.hero-art svg{width:86px}.hero-art:before{width:135px;height:135px}.hero-art:after{width:190px;height:190px}.workout-list-row a{grid-template-columns:auto minmax(0,1fr) auto}.row-date{display:none}.history-empty{align-items:flex-start}.history-empty>div{flex:1;min-width:0}.history-empty .button{margin-left:0}.history-sets li{gap:.4rem}}@media(max-width:350px){.form-grid{grid-template-columns:minmax(0,1fr)}}.workout-editor{gap:1.25rem}.workout-editor-heading{justify-content:space-between;align-items:flex-end;gap:.65rem}.workout-editor-heading h1{margin-top:.24rem}.save-status{font-size:.9rem;min-height:1.3em;font-weight:650}.save-status:empty{min-height:0}.exercise-card,.workout-details,.empty-exercises{padding:clamp(.95rem,3vw,1.45rem)}.exercise-card-header{justify-content:space-between;align-items:flex-start}.exercise-card-header .muted{font-size:.86rem;margin-top:.25rem}.exercise-list{gap:1rem}.exercise-card-tools{gap:.25rem}.exercise-card-tools .button,.set-row-tools .button{padding-inline:.46rem}.set-list{list-style:none;padding:0;margin:0}.set-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.6rem;border-top:1px solid var(--line);padding-block:.34rem}.set-index{display:grid;place-items:center;width:2rem;height:2rem;border-radius:8px;background:var(--page);color:var(--muted)}.set-result{display:grid;gap:.13rem;min-width:0;overflow-wrap:anywhere}.set-result .muted,.set-empty{font-size:.85rem}.set-row-tools{gap:.2rem}.set-editor{padding:.8rem 1rem;border:1px solid var(--line);border-radius:11px;background:#f8faf8}.set-measurements{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(112px,100%),1fr));gap:.7rem}.set-classification{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.set-editor-actions{justify-content:flex-end}.previous-performance{display:grid;gap:.55rem;border-radius:9px;padding:.65rem .78rem;background:var(--green-light)}.previous-performance summary{min-height:44px;align-content:center;cursor:pointer;color:var(--green);font-weight:660}.previous-performance ul{padding-left:1.2rem}.workout-footer{padding:.85rem 1rem;justify-content:space-between;align-items:center}.workout-footer>.row{margin-left:auto}.workout-footer .muted{font-size:.92rem}.workout-dialog{width:min(504px,calc(100% - 28px));max-height:calc(100dvh - 28px);padding:0;border:1px solid var(--line);border-radius:14px;color:var(--text)}.workout-dialog::backdrop{background:#14282294}.dialog-content{padding:clamp(1rem,4vw,1.65rem)}.dialog-actions{justify-content:flex-end;margin-top:.1rem}@media(max-width:480px){.set-editor{padding:.75rem;gap:.7rem}.set-row{gap:.32rem}.set-row-tools{justify-content:flex-end;gap:0}.set-row-tools .button{padding-inline:.32rem}.set-editor-actions .button{flex:1}.workout-footer>.row{justify-content:flex-end}}
