:root{color:#213b30;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--page:#f7f7f0;--surface:#fff;--ink:#213b30;--muted:#647065;--forest:#234d3b;--forest-hover:#193d2d;--lime:#dfedb5;--soft:#edf3e7;--line:#dfe4d9;--danger:#a03832;--focus:#397650;--bottom-nav-height:72px;background:#f7f7f0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.import-preview{margin-top:24px}.exercise-name{min-height:44px;color:var(--forest);font:inherit;text-align:left;text-underline-offset:4px;text-decoration:underline;-webkit-text-decoration-color:var(--line);text-decoration-color:var(--line);background:0 0;border:0;border-radius:0;padding:4px 0}.exercise-progress{background:var(--surface);width:100%;max-width:620px;height:100dvh;max-height:100dvh;color:var(--ink);overscroll-behavior:contain;border:0;margin:auto;padding:0;overflow-y:auto}.exercise-progress::backdrop{background:#14231a73}.progress-header{padding:max(12px, env(safe-area-inset-top,0px)) 20px 8px;background:var(--surface);border-bottom:1px solid var(--line);z-index:1;position:sticky;top:0}.progress-header .back-button{margin:0}.progress-content{padding:24px 20px max(32px, env(safe-area-inset-bottom,0px));overflow-wrap:anywhere}.progress-record{margin:24px 0}.progress-record output{margin:16px 0 8px;font-size:24px;font-weight:750;display:block}.progress-sessions{padding:0;list-style:none}.progress-sessions summary{cursor:pointer;min-height:44px}.progress-sessions summary>*{margin-top:6px;display:block}.history-summary h2,.history-summary h3{margin-bottom:8px}.history-summary .period-label{margin-top:20px;font-weight:650}.history-periods{gap:6px;margin:16px 0;display:flex}.history-periods button{flex:1;padding-inline:8px}.history-periods button[aria-pressed=true]{background:var(--lime);border-color:var(--lime)}.history-days{align-items:end;gap:12px;display:flex}.history-days .form-field{flex:1;margin:0}.history-days button{flex-shrink:0}.history-totals{grid-template-columns:2fr 1fr;gap:12px;margin:20px 0 8px;display:grid}.history-totals dt{color:var(--muted);font-size:13px}.history-totals dd{overflow-wrap:anywhere;margin:6px 0 0;font-size:22px;font-weight:750}.history-summary h3{margin-top:24px}.volume-chart{width:100%;height:auto;margin:12px 0;display:block}.chart-axis{stroke:var(--line)}.chart-bar{fill:#9bbf7a}.chart-bar.selected{fill:var(--forest)}.chart-label{fill:var(--muted);font-size:10px}.chart-values{margin-top:12px;overflow-x:auto}.chart-values summary{cursor:pointer;padding:10px 0;font-size:14px}.chart-values table{border-collapse:collapse;width:100%;font-size:12px}.chart-values caption{text-align:left;padding:8px 0}.chart-values th,.chart-values td{text-align:left;border-bottom:1px solid var(--line);padding:10px 6px}.routine-source ul{margin:16px 0;padding:0;list-style:none}.routine-source li{overflow-wrap:anywhere;gap:3px;margin-top:12px;font-size:14px;display:grid}.routine-source h2{margin-bottom:8px}.import-mapping{border:1px solid var(--line);border-radius:12px;min-width:0;margin:20px 0;padding:16px}.import-mapping legend{padding:0 6px;font-weight:650}.import-conflict{overflow-wrap:anywhere;padding:12px}.import-conflict select{min-width:0;max-width:100%}.import-source-rows ul{padding-left:20px}.import-source-rows li{white-space:pre-wrap;margin:4px 0}.import-source-rows>div,.import-saved-version{margin-top:16px}.import-conflict details{margin-top:12px}.imported-set-details{color:var(--muted);white-space:pre-wrap;margin:-4px 0 16px;font-size:14px}.imported-description{white-space:pre-wrap}.imported-source details{margin-top:16px}.imported-source dt{font-weight:650}.imported-source dd{overflow-wrap:anywhere;white-space:pre-wrap;margin:4px 0 12px}*{box-sizing:border-box}html{min-width:320px;scroll-padding-top:100px;scroll-padding-bottom:calc(var(--bottom-nav-height) + 24px)}body{min-width:320px;min-height:100dvh;margin:0}button,input,select,textarea{font:inherit}button,input,select{-webkit-tap-highlight-color:transparent}button{border:1px solid var(--line);max-width:100%;min-height:44px;color:var(--ink);background:var(--surface);cursor:pointer;touch-action:manipulation;border-radius:12px;padding:11px 16px;font-size:14px;font-weight:650;line-height:1.35;transition:background-color .12s,border-color .12s}button:disabled{color:#747c70;cursor:not-allowed;background:#e8ebe3;border-color:#e0e4d9}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}input,select,textarea{width:100%;min-width:0;min-height:48px;color:var(--ink);background:#fafbf7;border:1px solid #ccd5c8;border-radius:11px;padding:12px;font-size:16px;line-height:1.4;display:block}input::placeholder,textarea::placeholder{color:#737b70;opacity:1}input[aria-invalid=true]{border-color:var(--danger)}input[type=number]{appearance:textfield}input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}a{color:var(--forest);text-underline-offset:3px}h1,h2,h3,p{margin:0}h1{letter-spacing:-1.2px;font-size:clamp(28px,7.8vw,34px);font-weight:750;line-height:1.15}h2{letter-spacing:-.5px;font-size:20px;font-weight:700;line-height:1.25}h3{letter-spacing:-.25px;font-size:17px;font-weight:700;line-height:1.35}p{font-size:14px;line-height:1.6}small{font-size:12px;line-height:1.5}svg{vertical-align:middle;flex-shrink:0}.app{background:var(--page);width:100%;max-width:680px;min-height:100dvh;margin-inline:auto}.app-header{z-index:20;min-height:76px;padding:calc(18px + env(safe-area-inset-top,0px)) 20px 18px;border-bottom:1px solid var(--line);background:var(--page);justify-content:space-between;align-items:center;gap:12px;display:flex;position:sticky;top:0}.brand{letter-spacing:-.55px;align-items:center;gap:10px;min-width:0;font-size:17px;font-weight:750;text-decoration:none;display:inline-flex}.brand-mark{width:36px;height:36px;color:var(--lime);background:var(--forest);border-radius:11px;flex:0 0 36px;place-items:center;font-size:21px;font-weight:700;display:inline-grid}.header-label{max-width:130px;color:var(--muted);text-align:right;font-size:11px;line-height:1.4}.page{padding:28px 20px calc(var(--bottom-nav-height) + env(safe-area-inset-bottom,0px) + 36px)}.page-heading{justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:24px;display:flex}.page>.save-state+.muted{margin-top:3px;margin-bottom:3px;font-size:11px}.page>.backup-state{margin-top:0;margin-bottom:24px;font-size:11px;line-height:1.5}.page>h1+.muted{margin-top:8px;margin-bottom:22px}.page>h1+.history-card,.page>h1+.empty-state{margin-top:24px}.page>.card>h2+.primary{width:100%;margin-top:18px}.page-heading>*,.card-heading>*,.workout-heading>*{min-width:0}.page-heading p,.workout-heading p{margin-top:8px}.eyebrow{color:var(--muted);letter-spacing:1.7px;text-transform:uppercase;margin-bottom:8px;font-size:10px;font-weight:750;line-height:1.5;display:block}.muted{color:var(--muted)}.card{border:1px solid var(--line);background:var(--surface);border-radius:19px;min-width:0;margin-bottom:16px;padding:20px}.card-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.card-heading>button{flex-shrink:0;min-width:44px}.routine-management-heading{flex-wrap:wrap}.routine-management-heading h3{flex:140px}.routine-management-actions{flex-wrap:wrap;gap:8px;display:flex}.card h2,.card h3,.routine-card,.history-card{overflow-wrap:anywhere}.routine-card{grid-template-columns:42px minmax(0,1fr);align-items:center;gap:0 14px;padding:21px;display:grid;position:relative}.routine-card p{color:var(--muted);margin-top:6px}.routine-card>.primary{grid-column:1/-1;width:100%;margin-top:20px}.routine-card-actions{flex-wrap:wrap;grid-column:1/-1;gap:10px;margin-top:20px;display:flex}.routine-card-actions>button{flex:1 1 0}.routine-card-actions>.primary{flex-grow:2}.routine-marker{min-width:42px;min-height:42px;color:var(--forest);background:var(--lime);font-variant-numeric:tabular-nums;border-radius:12px;flex-shrink:0;place-items:center;padding:8px;font-size:13px;font-weight:750;display:inline-grid}.empty-state{background:#f0f3e7;border:1px dashed #bdcab6;border-radius:19px;padding:30px 22px}.empty-state p{color:var(--muted);margin-top:9px}.empty-state button{margin-top:20px}.form-field{min-width:0;color:var(--ink);margin-top:18px;font-size:13px;font-weight:650;line-height:1.5;display:block}.form-field input,.form-field select,.form-field textarea{margin-top:7px;font-weight:450}.form-field small{color:var(--muted);margin-top:6px;font-weight:400;display:block}.form-actions,.workout-actions{flex-wrap:wrap;gap:10px;margin-top:24px;display:flex}.form-actions>button,.workout-actions>button{flex:auto}.owner-sign-in{margin-block:24px 28px}.owner-sign-in>p{overflow-wrap:anywhere;margin-top:10px}.owner-sign-in>p[role=status]{color:var(--ink)}.owner-sign-in>.muted{font-size:13px}.owner-sign-in>button,.owner-sign-in form>button{width:100%;margin-top:20px}.owner-sign-in>.error-message{margin-top:16px;margin-bottom:0}.routine-editor{min-width:0}.routine-editor>.muted{margin-block:10px 24px}.routine-entry{margin-inline:0;padding-top:10px}.routine-entry>legend{max-width:100%;color:var(--ink);letter-spacing:-.25px;overflow-wrap:anywhere;padding-inline:6px;font-size:17px;font-weight:700;line-height:1.4}.routine-entry>.form-field:first-of-type{margin-top:6px}.routine-entry-choice{color:var(--muted);flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:2px;font-size:13px;display:flex}.routine-entry>.choose-exercise{width:100%;margin-top:12px}.routine-picker-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;margin:-10px 0 18px;display:flex}.routine-picker-bar>.back-button{margin:0 0 0 -12px}.routine-entry>.muted{margin-top:10px;font-size:12px}.planned-sets{border:1px solid var(--line);background:#fafbf7;border-radius:12px;min-width:0;margin:20px 0 0;padding:12px}.planned-sets>legend{padding-inline:5px;font-size:13px;font-weight:650;line-height:1.5}.planned-set-fields{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:8px;display:grid}.planned-set-fields .form-field{margin-top:0;font-size:12px}.planned-set-fields input{background:var(--surface);font-variant-numeric:tabular-nums;padding-inline:6px}.routine-entry>.remove-exercise{margin-top:18px}.exercise-bank{min-width:0}.bank-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:22px;display:flex}.bank-heading>*{min-width:0}.bank-heading h1,.bank-heading h2{overflow-wrap:anywhere}.bank-heading p{margin-top:8px}.exercise-search{margin-bottom:20px;font-size:13px;font-weight:650;line-height:1.5;display:block}.exercise-search input{margin-top:7px;font-weight:450}.exercise-list{gap:12px;margin:0;padding:0;list-style:none;display:grid}.exercise-list-item{border:1px solid var(--line);background:var(--surface);border-radius:17px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;min-width:0;margin:0;padding:18px;display:flex}.exercise-list-item>:first-child{flex:160px;min-width:0}.exercise-list-item h2{overflow-wrap:anywhere;font-size:17px;line-height:1.35}.exercise-list-item p{overflow-wrap:anywhere;margin-top:5px;font-size:12px}.exercise-list-item .exercise-creator,.routine-entry-choice .exercise-creator{background:var(--soft);color:var(--forest);border-radius:999px;margin-top:8px;padding:2px 9px;font-size:11px;font-weight:650;display:inline-block}.routine-entry-choice .exercise-creator{margin-top:0}.exercise-list-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.exercise-list-actions button{padding-inline:14px}.exercise-bank>.empty-state{margin-top:20px}.exercise-bank .form-field+.muted{margin-top:10px}.primary{border-color:var(--forest);color:#fff;background:var(--forest)}.secondary{color:var(--forest);background:var(--soft);border-color:#d2dfbd}.ghost,.back-button{color:var(--forest);background:0 0;border-color:#0000}.danger{color:var(--danger);background:#fff7f4;border-color:#efd8d2}.back-button{align-items:center;gap:7px;margin:-10px 0 14px -12px;padding-inline:12px;display:inline-flex}.bottom-nav{z-index:30;width:100%;max-width:680px;min-height:var(--bottom-nav-height);padding:9px 16px calc(9px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);background:var(--page);gap:8px;margin-inline:auto;display:flex;position:fixed;bottom:0;left:0;right:0}.bottom-nav button{min-width:0;min-height:52px;color:var(--muted);background:0 0;border-color:#0000;border-radius:12px;flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;gap:4px;padding:7px 4px;font-size:12px;font-weight:550;display:flex}.bottom-nav button[aria-current=page]{color:var(--forest);background:var(--lime);font-weight:750}.save-state{color:var(--muted);align-items:center;gap:6px;font-size:11px;line-height:1.5;display:flex}.status-dot{background:#5b7b42;border-radius:50%;flex:0 0 6px;width:6px;height:6px;display:inline-block}.workout-heading{margin-bottom:22px;display:block}.workout-heading>.eyebrow{margin-top:0}.workout-heading>.workout-meta{margin-bottom:0;display:block}.workout-heading h1{overflow-wrap:anywhere}.workout-meta{color:var(--muted);font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;margin-bottom:24px;font-size:12px;line-height:1.5;display:flex}.exercise-card{border:1px solid var(--line);background:var(--surface);border-radius:19px;min-width:0;margin-bottom:16px;padding:16px 12px 12px}.exercise-summary{justify-content:space-between;align-items:center;gap:10px;min-height:44px;margin:-4px 2px 13px;list-style:none;display:flex}summary.exercise-summary{cursor:pointer;touch-action:manipulation}.exercise-summary::-webkit-details-marker{display:none}.exercise-summary h2,.exercise-summary h3{overflow-wrap:anywhere;font-size:17px}.exercise-summary>*{min-width:0}.exercise-summary p{color:var(--muted);margin-top:3px;font-size:12px}.exercise-summary button{text-align:left;flex-shrink:0;min-width:44px}.measurement-hint{color:var(--muted);margin:0 3px 12px;font-size:12px;line-height:1.5}.exercise-performance{flex-wrap:wrap;gap:4px 12px;margin-top:4px;display:flex}.performance-indicator{background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-width:44px;min-height:44px;padding:4px;display:inline-flex}.performance-label{color:var(--muted);font-size:11px;font-weight:500}.performance-symbol{font-size:20px;font-weight:700;line-height:1}.performance-improved{color:#167348}.performance-lower{color:#b84929}.performance-steady,.performance-unknown{color:var(--muted)}.set-performance-slot{min-height:44px;display:block}.performance-numbers{font-variant-numeric:tabular-nums;grid-template-columns:1fr auto;gap:8px 16px;margin:18px 0;display:grid}.performance-numbers dd{margin:0}.set-table{border-collapse:separate;border-spacing:0 5px;table-layout:fixed;font-variant-numeric:tabular-nums;width:100%;margin:0}.set-table th{color:var(--muted);text-align:center;padding:0 3px 5px;font-size:10px;font-weight:650;line-height:1.5}.set-table td{text-align:center;vertical-align:middle;height:52px;padding:3px}.set-table th:first-child{width:18%}.set-table th:nth-child(2){text-align:left;width:22%}.set-table th:nth-child(3){width:22%}.set-table th:nth-child(4){width:20%}.set-table th:nth-child(5){width:18%}.set-table:is([data-measurement-type=bodyweight-reps],[data-measurement-type=duration]) th:nth-child(2){width:34%}.set-table:is([data-measurement-type=bodyweight-reps],[data-measurement-type=duration]) th:nth-child(3){width:30%}.set-table:is([data-measurement-type=bodyweight-reps],[data-measurement-type=duration]) th:nth-child(4){width:18%}.set-table td:nth-child(2){text-align:left}.set-table td:first-child{border-radius:9px 0 0 9px}.set-table td:last-child{border-radius:0 9px 9px 0}.set-number{font-size:13px;font-weight:700}.set-kind{color:var(--muted);margin-top:2px;font-size:9px;font-weight:500;line-height:1.2;display:block}.set-classification{background:#f5f7ef;border-color:#dbe2d5;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;width:100%;min-width:44px;min-height:44px;padding:4px 0;display:inline-flex}.set-classification[aria-pressed=true]{color:#725622;background:#fff6dc;border-color:#decf9e}.set-classification[aria-pressed=true] .set-kind{color:#725622}.previous-value{color:var(--muted);overflow-wrap:anywhere;font-size:12px;line-height:1.4}.set-input{text-align:center;background:#f5f7ef;border-color:#dbe2d5;border-radius:9px;min-height:44px;padding:8px 3px;font-size:16px;font-weight:600;line-height:1.4}.duration-preview{color:var(--muted);overflow-wrap:anywhere;margin-top:3px;font-size:11px;line-height:1.4;display:block}.rep-target{color:var(--muted);overflow-wrap:anywhere;margin-top:4px;font-size:11px;font-weight:500;line-height:1.4;display:block}.rep-target>span{display:block}.completion{color:#607554;width:44px;min-width:44px;height:44px;min-height:44px;accent-color:var(--forest);background:#f2f6ea;border:1px solid #ccd7c4;border-radius:10px;place-items:center;margin:0;padding:0;font-size:20px;font-weight:600;display:inline-grid}.completion[aria-pressed=true],.completion:checked{border-color:var(--forest);color:#fff;background:var(--forest)}input.completion{appearance:none;cursor:pointer;touch-action:manipulation}input.completion:after{content:"✓";opacity:0;line-height:1}input.completion:checked:after{opacity:1}.completed-row td{background:#f1f6eb}.completed-row .set-input{background:#eaf1df;border-color:#cfdcc4}.exercise-card>.ghost{border:1px dashed #c7d5bf;border-radius:10px;width:100%;margin-top:9px;font-size:12px}.exercise-card>.replace-exercise,.exercise-card>.edit-targets{width:calc(50% - 4px);margin-top:8px;padding-inline:6px;font-size:12px}.exercise-card>.replace-exercise{margin-right:8px}.exercise-card>.replace-exercise:has(+.remove-exercise){width:100%;margin-right:0}.replacement-context p{color:var(--muted);margin-top:10px;font-size:13px}.replacement-context button{margin-top:14px}.exercise-card .remove-exercise{width:auto;color:var(--danger);background:0 0;border:1px solid #0000;margin-top:10px;padding-inline:10px;font-size:12px}.workout-actions{margin-top:20px}.workout-actions>.primary{flex-grow:2}.error-message{color:#91362f;background:#fff3ef;border:1px solid #edc8c1;border-radius:11px;margin-block:14px;padding:12px 14px;font-size:13px;line-height:1.5}.dialog-backdrop{z-index:100;padding:max(24px, env(safe-area-inset-top,0px)) 20px max(24px, env(safe-area-inset-bottom,0px));background:#14231a73;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow-y:auto}.dialog{border:1px solid var(--line);width:calc(100% - 40px);max-width:420px;max-height:calc(100dvh - 48px);color:var(--ink);background:var(--surface);border-radius:22px;margin:auto;padding:24px;overflow-y:auto;box-shadow:0 20px 70px #0f1f132e}.dialog::backdrop{background:#14231a73}.dialog p{color:var(--muted);margin-top:12px}.dialog .form-actions{margin-top:24px}.restore-confirm{align-items:center;gap:10px;min-height:44px;margin-top:20px;display:flex}.restore-confirm input{flex-shrink:0;width:24px;height:24px}.session-target-editor h2,.finished-workout-editor h2,.correction-exercise legend{overflow-wrap:anywhere}.correction-exercise{border:0;min-width:0;margin:24px 0 0;padding:0}.correction-exercise>legend{font-weight:700}.finished-workout-editor input[type=date],.finished-workout-editor input[type=time]{min-width:0;max-width:100%}.session-target-set{border:1px solid var(--line);background:#fafbf7;border-radius:12px;min-width:0;margin:20px 0 0;padding:12px}.session-target-set legend{max-width:100%;padding-inline:5px;font-size:13px;font-weight:650;line-height:1.5}.session-target-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.session-target-fields .form-field{margin-top:0;font-size:12px}.session-target-fields input{text-align:center;padding-inline:8px}.session-target-editor .form-actions{margin-inline:-24px;border-top:1px solid var(--line);background:var(--surface);margin-bottom:-24px;padding:12px 24px 24px;position:sticky;bottom:-24px}.history-card{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:17px;justify-content:space-between;align-items:center;gap:14px;width:100%;margin-bottom:12px;padding:20px;display:flex}.history-card>span:first-child{min-width:0}.history-card strong{font-size:17px;line-height:1.35;display:block}.history-card .muted{margin-top:5px;font-size:12px;font-weight:450;display:block}.history-card p{color:var(--muted);margin-top:5px}.history-values{border-top:1px solid var(--line);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:baseline;gap:8px 20px;margin-top:16px;padding-top:13px;font-size:13px;font-weight:600;line-height:1.6;display:flex}@media (hover:hover){button:not(:disabled):hover{background:#f0f4e8;border-color:#b2c2a7}.primary:not(:disabled):hover,.completion[aria-pressed=true]:not(:disabled):hover{border-color:var(--forest-hover);background:var(--forest-hover)}.danger:not(:disabled):hover{background:#ffeae3;border-color:#dba49a}.remove-exercise:not(:disabled):hover{background:#fff3ef;border-color:#edc8c1}.bottom-nav button[aria-current=page]:hover{background:#d5e7a5}}@media (width>=600px){.app-header{padding-inline:32px}.page{padding:36px 32px calc(var(--bottom-nav-height) + env(safe-area-inset-bottom,0px) + 44px)}.exercise-card{padding-inline:20px}.set-table th{font-size:11px}.previous-value{font-size:13px}.bottom-nav{padding-inline:32px}}@media (width<=359px){.app-header{gap:8px;padding-inline:14px}.brand{gap:7px;font-size:16px}.page{padding-inline:12px}.exercise-card{padding-inline:8px}.set-table th,.set-table td{padding-inline:2px}.previous-value{font-size:11px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
