:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1c241d;background:#fff;font-synthesis:none;--ink:oklch(.25 .018 150);--muted:oklch(.47 .018 150);--green:oklch(.46 .115 150);--green-light:oklch(.96 .024 150);--line:oklch(.88 .008 150);--surface:oklch(.974 .006 150);--error:oklch(.43 .17 28);--radius:12px;--z-nav:10;--z-toast:20}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid oklch(.65 .12 150);outline-offset:3px}button:active:not(:disabled){transform:translateY(1px)}button,a{touch-action:manipulation}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,h3{text-wrap:balance}h1{font-size:2rem;letter-spacing:-.03em;line-height:1.15;font-weight:700}h2{font-size:1.2rem;line-height:1.35}h3{font-size:1rem;line-height:1.4}p{line-height:1.5;text-wrap:pretty}small,.hint{font-size:.84rem;color:var(--muted);line-height:1.55}.app-shell{max-width:840px;margin:auto;position:relative;padding:0 32px}.app-header{height:80px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:16px}.wordmark{display:flex;gap:12px;align-items:center;color:var(--ink);font-size:1.15rem;font-weight:750;text-decoration:none;letter-spacing:-.02em}.brand-mark{display:flex;gap:3px;align-items:center}.brand-mark i{display:block;background:var(--green);width:8px;height:22px;border-radius:2px}.brand-mark i:last-child{height:14px}#save-status{font-size:.78rem;color:var(--muted)}#save-status.save-error{color:var(--error)}.main-nav{display:flex;gap:10px;padding:15px 0;border-bottom:1px solid var(--line)}.main-nav button{display:flex;align-items:center;gap:8px;background:none;border:0;color:var(--muted);padding:11px 15px;border-radius:8px;min-height:44px;font-size:.88rem;font-weight:600}.main-nav button[aria-current=page]{background:var(--green-light);color:var(--green)}main{padding:30px 0 48px;outline:none}.intro{margin-bottom:28px}.intro.compact{margin-bottom:26px}.date{font-size:.85rem;color:var(--muted);margin-bottom:12px}.lede{margin-top:12px;color:var(--muted);max-width:60ch}.primary,.secondary,.text-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px 18px;border-radius:9px;font-size:.94rem;font-weight:650;transition:background .16s ease-out}.primary{background:var(--green);color:#fff;border:1px solid var(--green)}.primary:hover:not(:disabled){background:#095727}.secondary{background:#fff;border:1px solid var(--line);color:var(--ink)}.secondary:hover:not(:disabled){background:var(--surface)}.text-button{color:var(--green);background:none;border:0;padding:10px 0;font-size:.86rem}.text-button:hover:not(:disabled){text-decoration:underline}.session-launch{background:var(--green-light);padding:24px;border-radius:var(--radius);display:flex;gap:24px;justify-content:space-between;align-items:center;margin-bottom:32px}.session-launch h2{margin:10px 0 7px;font-size:1.45rem}.session-launch p{font-size:.88rem;color:var(--muted)}.session-launch .primary{flex-shrink:0}.tag{display:inline-block;font-size:.74rem;font-weight:600;background:#fff;color:var(--green);border-radius:5px;padding:4px 7px;vertical-align:middle}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}.section-heading>span{font-size:.83rem;color:var(--muted)}.routine{padding:0;margin:0;list-style:none}.routine li{display:flex;gap:16px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line)}.machine-number{color:var(--muted);font-size:.85rem;font-variant-numeric:tabular-nums;min-width:25px}.routine li>div{flex:1;min-width:0}.routine p{font-size:.83rem;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.unit-label{font-size:.74rem;color:var(--muted)}.import-nudge{padding:24px 0 0}.import-nudge p{color:var(--muted);font-size:.88rem;margin:7px 0 14px}.privacy-line{margin-top:26px;color:var(--muted);font-size:.78rem}.workout-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:22px}.workout-heading h1{font-size:1.8rem}.position{font-size:1.4rem;font-weight:650;font-variant-numeric:tabular-nums}.position span{color:var(--muted);font-size:1rem;font-weight:400}.machine-tabs{display:flex;gap:9px;margin-bottom:24px}.machine-tabs button{width:44px;height:44px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--muted);display:flex;justify-content:center;align-items:center;font-size:.9rem;font-weight:650}.machine-tabs button.current{background:var(--green);border-color:var(--green);color:#fff}.machine-tabs button.finished:not(.current){background:var(--green-light);color:var(--green)}.machine-context{margin-bottom:20px}.machine-context>p{font-size:.85rem;color:var(--muted);margin-bottom:3px}details summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;font-size:.86rem;font-weight:600;color:var(--green)}details summary:before{content:"+";font-size:1.1rem;font-weight:400}details[open] summary:before{content:"−"}details[open] summary{margin-bottom:10px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}label{font-size:.86rem;font-weight:550;display:flex;flex-direction:column;gap:8px;color:var(--ink)}label input,label select,label textarea{min-width:0;width:100%;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);padding:12px;min-height:48px;font-size:1rem;font-weight:400}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}input:invalid{border-color:var(--error)}textarea{resize:vertical;min-height:95px}select{appearance:auto}label+.hint,.form-grid+.hint{margin-top:12px}.previous-result{background:var(--surface);border-radius:9px;padding:16px;margin-bottom:22px}.previous-result>div{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:.84rem}.previous-result>div span{font-size:.76rem;color:var(--muted)}.previous-result>p{margin-top:8px;font-size:.9rem;font-variant-numeric:tabular-nums}.previous-result .hint{font-size:.78rem}.set-row{padding:18px 0;border-bottom:1px solid var(--line)}.set-title{display:flex;gap:10px;align-items:center;margin-bottom:10px;font-size:.85rem;font-weight:650}.set-title select{margin-left:4px;background:none;color:var(--muted);border:0;font-size:.75rem;max-width:115px;min-height:30px}.set-state{margin-left:auto;color:var(--muted);font-size:.75rem;font-weight:400}.is-done .set-state{color:var(--green)}.set-inputs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 54px;gap:14px;align-items:end}.number-field label{font-size:.78rem;margin-bottom:6px;display:block;color:var(--muted);font-weight:500}.number-field label span{float:right}.stepper{display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;overflow:hidden;min-width:0}.stepper input{min-width:0;width:100%;height:52px;border:0;text-align:center;padding:0;background:none;font-size:1.25rem;font-variant-numeric:tabular-nums;color:var(--ink);-moz-appearance:textfield}.stepper input::-webkit-inner-spin-button,.stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.step-button{width:40px;min-width:40px;height:52px;border:0;background:var(--surface);color:var(--ink);font-size:1.3rem}.stepper:focus-within{outline:2px solid var(--green);outline-offset:2px}.stepper input:focus-visible{outline:0}.log-button{width:54px;height:54px;border:1px solid var(--green);border-radius:8px;background:var(--green);color:#fff;font-size:.85rem;font-weight:650;display:flex;align-items:center;justify-content:center}.log-button.logged{background:var(--green-light);color:var(--green);border-color:var(--line)}.prior-set{font-size:.76rem;color:var(--muted);margin-top:9px}.set-tools{display:flex;justify-content:space-between;gap:16px;margin:6px 0 18px}.exercise-notes{border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:10px}.exercise-notes summary span{font-weight:400;color:var(--muted)}.effort-row{display:flex;flex-direction:row;justify-content:space-between;align-items:center;font-weight:400;margin:9px 0}.effort-row input{width:84px}.exercise-notes textarea{margin-bottom:8px}.skip label{margin-bottom:12px}.workout-footer{display:flex;justify-content:space-between;gap:20px;align-items:center;position:sticky;bottom:0;background:#fff;padding:14px 0;margin-top:16px;border-top:1px solid var(--line)}.rest>span{display:flex;gap:7px;align-items:center;font-size:.8rem;color:var(--muted);font-variant-numeric:tabular-nums}.rest .text-button{min-height:36px;padding:5px 0}.rest svg{width:17px;height:17px}.history-item{width:100%;padding:22px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;background:none;border:0;border-bottom:1px solid var(--line);text-align:left;color:var(--ink)}.history-item h2{font-size:1rem}.history-item .tag{margin-left:6px}.history-item p{margin-top:8px;font-size:.83rem;color:var(--muted)}.history-item>svg{color:var(--green)}.empty{padding:45px 12px;text-align:center;max-width:480px;margin:auto}.empty-icon{display:inline-flex;color:var(--green);background:var(--green-light);padding:15px;border-radius:12px;margin-bottom:18px}.empty h2{margin-bottom:10px}.empty p{font-size:.9rem;color:var(--muted);margin-bottom:20px}.session-details section{padding:24px 0;border-bottom:1px solid var(--line)}.session-details{margin-bottom:24px}.session-details h2{font-size:1.05rem;margin-bottom:7px}.session-details table{margin-top:12px}.date-edit{max-width:250px;margin-bottom:16px}table{width:100%;border-collapse:collapse;font-size:.85rem;text-align:left;font-variant-numeric:tabular-nums}th{font-weight:500;color:var(--muted);font-size:.76rem;padding:12px 8px 12px 0;border-bottom:1px solid var(--line)}td{padding:14px 8px 14px 0;border-bottom:1px solid var(--line)}td small{display:block;font-size:.72rem;margin-top:4px}.progress-select{max-width:340px;margin-bottom:24px}.chart-panel{padding:20px 0}.chart{width:100%;height:auto;max-height:340px;margin-top:12px}.chart text{font-size:10px;stroke:none;fill:var(--muted);font-family:inherit}.chart .gridline{stroke:var(--line);stroke-width:1}.chart .trend-line{stroke:var(--green);stroke-width:2.5}.chart .trend-dot{fill:var(--green);stroke:#fff;stroke-width:2}.progress-table{margin-top:20px}.settings-section{padding:22px 0;border-bottom:1px solid var(--line)}.settings-section h2{margin-bottom:12px}.settings-section p{font-size:.86rem;color:var(--muted);margin-bottom:16px}.machine-settings{padding:7px 0;border-bottom:1px solid var(--line)}.machine-settings:last-child{border:0}.machine-settings summary{font-size:.93rem;color:var(--ink)}.machine-settings summary span{margin-left:auto;color:var(--muted);font-size:.78rem;font-weight:400}.machine-settings .form-grid{margin-bottom:18px}.button-row{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.checkbox-row{display:flex;flex-direction:row;align-items:center;gap:12px;min-height:52px;font-weight:400;margin-top:10px}.checkbox-row input{width:22px;height:22px;min-height:22px;accent-color:var(--green)}.import-preview{margin-top:24px;padding:20px;background:var(--surface);border-radius:var(--radius)}.import-preview h3{font-size:.88rem;margin-top:12px;color:var(--muted)}.import-preview ul{padding:0;margin:12px 0 0;list-style:none}.import-preview li{padding:12px 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:5px;font-size:.86rem}.import-preview li span{color:var(--muted)}.notice,.storage-error{padding:16px;background:#f8eddb;border-radius:9px;font-size:.88rem;margin:14px 0;color:#463726}.notice.small{font-size:.8rem}.notice p{margin-top:7px}.storage-error{background:#ffedea;background:oklch(.96 .025 28);color:var(--error)}.storage-error strong{display:block;margin-bottom:5px}.toast{position:fixed;z-index:var(--z-toast);bottom:95px;left:50%;transform:translate(-50%);background:var(--ink);color:#fff;padding:13px 18px;border-radius:10px;font-size:.86rem;width:max-content;max-width:calc(100% - 32px);box-shadow:0 3px 8px #03030333}[hidden]{display:none!important}.finish-mark{display:inline-flex;background:var(--green-light);color:var(--green);padding:15px;border-radius:12px;margin-bottom:18px}.boot,.boot-error{padding:48px 24px;max-width:650px;margin:auto}.boot-error p{margin:16px 0}.boot-error button{min-height:48px;padding:12px 18px}.form-grid input,.stepper input{scroll-margin-bottom:150px}@media(max-width:600px){.app-shell{padding:0 20px}.app-header{height:64px}.main-nav{position:fixed;z-index:var(--z-nav);bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);border-bottom:0;justify-content:space-around;padding:7px 8px calc(7px + env(safe-area-inset-bottom));gap:0}.main-nav button{flex-direction:column;gap:4px;padding:7px 12px;min-width:65px;font-size:.7rem;background:none!important}.main-nav button[aria-current=page]{color:var(--green)}main{padding:28px 0 calc(100px + env(safe-area-inset-bottom))}.intro h1{max-width:320px;font-size:1.9rem}.session-launch{display:block;padding:22px}.session-launch .primary{margin-top:20px;width:100%}.session-launch p{max-width:30ch}.routine li{padding:18px 0;gap:12px}.routine h3{font-size:.95rem}.routine p{font-size:.78rem}.unit-label{font-size:.7rem}.workout-heading{margin-bottom:20px}.workout-heading h1{font-size:1.65rem}.machine-tabs{gap:8px;margin-bottom:18px}.machine-tabs button{flex:1;max-width:48px}.previous-result{padding:14px}.previous-result>div span{font-size:.7rem}.set-inputs{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 50px;gap:8px}.log-button{width:50px;height:52px}.step-button{width:30px;min-width:30px}.stepper input{font-size:1.15rem}.workout-footer{bottom:calc(70px + env(safe-area-inset-bottom));padding:12px 0;gap:12px}.workout-footer .primary{font-size:.83rem;padding:12px 14px}.rest>span{font-size:.74rem}.form-grid{gap:14px 12px}.form-grid label{font-size:.8rem}.form-grid input,.form-grid select{padding:11px 9px}.section-heading h2{font-size:1.08rem}.section-heading .text-button{font-size:.77rem}.toast{bottom:calc(90px + env(safe-area-inset-bottom))}.set-tools .text-button{font-size:.8rem}.date{font-size:.78rem}.history-item h2 .tag{font-size:.66rem}.progress-table th{font-size:.69rem}.progress-table td{font-size:.8rem}}@media(max-width:350px){.app-shell{padding:0 14px}.step-button{width:26px;min-width:26px}.set-inputs{gap:6px}.workout-footer .primary{padding:10px;font-size:.77rem}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(min-width:351px)and (max-width:600px){.step-button{width:44px;min-width:44px}.stepper input{font-size:1.05rem}.set-title select{min-height:44px}}@media(max-width:350px){.set-inputs{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 46px}.stepper{display:grid;grid-template-columns:1fr 1fr}.stepper input{grid-column:1/-1;grid-row:1;min-height:46px;height:46px}.step-button{width:100%;height:44px;min-width:44px}.log-button{width:46px;height:46px}.set-title select{min-height:44px}}.wordmark{min-height:48px}.rest .text-button{min-width:48px;min-height:48px}select{height:48px}details summary{min-height:48px}.chart text{font-size:16px}td small{font-size:.8rem}.set-title select{font-size:1rem;min-height:48px;max-width:140px}.step-button{min-width:48px;width:48px;min-height:48px}.tag,.unit-label,.history-item h2 .tag,.progress-table th{font-size:.8rem}.checkbox-row{min-height:48px;gap:12px}.machine-tabs button{min-width:48px;min-height:48px}@media(max-width:900px){.set-row{position:relative}.set-title{min-height:48px;padding-right:64px}.set-title .set-state{display:none}.set-inputs{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.log-button{position:absolute;top:18px;right:0;width:48px;height:48px}.stepper{display:flex}.stepper input{font-size:1.125rem;min-height:52px;height:52px}.step-button{width:48px;min-width:48px;height:52px}p,.routine p,.routine h3,.form-grid label,.number-field label{font-size:1rem}.hint,.prior-set,.date,.rest>span{font-size:.875rem}.unit-label,.tag,.history-item h2 .tag,.progress-table th,.progress-table td{font-size:.8rem}.workout-footer .primary,.set-tools .text-button,.section-heading .text-button{font-size:.875rem}}@media(max-width:600px){.main-nav{height:calc(80px + env(safe-area-inset-bottom));box-sizing:border-box}.main-nav button{font-size:.875rem;min-height:56px;min-width:64px;padding:4px 10px}.workout-footer{bottom:calc(80px + env(safe-area-inset-bottom))}main{padding-bottom:calc(120px + env(safe-area-inset-bottom))}.set-tools{gap:12px;flex-wrap:wrap}.text-button{padding-left:4px;padding-right:4px}}@media(max-width:350px){.machine-tabs{gap:4px}.machine-tabs button{min-width:44px}.step-button{min-width:44px;width:44px}}body{overflow:hidden}.app-shell{height:100vh;height:100dvh;display:flex;flex-direction:column}.app-header,.main-nav,.workout-footer{flex-shrink:0}main{flex:1;min-height:0;overflow-y:auto;padding-bottom:24px;scroll-padding:24px 0}.workout-footer{position:static;margin-top:0;bottom:auto}.stepper{gap:8px;border:0;overflow:visible}.stepper input,.step-button{border:1px solid var(--line);border-radius:8px}@media(max-width:900px){.settings-section p,.history-item p,.empty p,.session-launch p,.import-nudge p,.import-preview li{font-size:1rem}.machine-context>p{font-size:.875rem}.notice.small{font-size:1rem}}@media(max-width:600px){.app-shell{padding-left:16px;padding-right:16px;padding-bottom:calc(80px + env(safe-area-inset-bottom))}.workout-footer{bottom:auto}}@media(max-width:350px){.app-shell{padding-left:14px;padding-right:14px}.stepper{display:grid;grid-template-columns:1fr 1fr;gap:8px}.stepper input{grid-column:1/-1;grid-row:1}.step-button{width:100%;min-width:44px}}
