/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.relative{position:relative}.block{display:block}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.border{border-style:var(--tw-border-style);border-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{--ui-font:"IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;--ui-mono:"IBM Plex Mono", "Roboto Mono", monospace;--ui-bg:#f5f5f7;--ui-surface:#fff;--ui-surface-subtle:#f0f0f2;--ui-text:#161616;--ui-text-secondary:#525252;--ui-text-muted:#6f6f6f;--ui-border:#e2e2e7;--ui-border-strong:#b8b8c0;--ui-accent:#007aff;--ui-accent-hover:#006ee6;--ui-focus:#0f62fe;--ui-success:#198038;--ui-radius:14px;--ui-space-1:4px;--ui-space-2:8px;--ui-space-3:12px;--ui-space-4:16px;--ui-space-5:24px;--ui-space-6:32px;--ui-space-7:48px}*{box-sizing:border-box}html,body,#app{min-height:100%}body{background:var(--ui-bg);min-width:320px;color:var(--ui-text);font-family:var(--ui-font);margin:0}button,input{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;padding-bottom:80px}.content{width:min(100% - 48px,1080px);padding-block:var(--ui-space-7);margin-inline:auto}.stack{gap:var(--ui-space-4);flex-direction:column;display:flex}.cluster{align-items:center;gap:var(--ui-space-3);display:flex}.surface{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:var(--ui-radius)}.muted{color:var(--ui-text-secondary);margin:0;font-size:14px}.small{font-size:12px}.eyebrow{margin:0 0 var(--ui-space-2);color:var(--ui-text-muted);font:500 11px var(--ui-mono);letter-spacing:.12em;text-transform:uppercase}.topbar{height:64px;color:var(--ui-text);border-bottom:1px solid var(--ui-border);background:#fff;align-items:center;padding-inline:max(24px,50vw - 540px);display:flex}.brand-mark{background:var(--ui-text);color:#fff;border-radius:8px;place-items:center;width:28px;height:28px;font-size:18px;font-weight:700;display:grid}.brand{margin-left:var(--ui-space-3);letter-spacing:.14em;font-size:14px;font-weight:600}.top-actions{margin-left:auto}.circle-button{padding:var(--ui-space-2);color:var(--ui-text-secondary);letter-spacing:2px;background:0 0;border:0}.circle-button:hover{color:var(--ui-text);background:var(--ui-surface-subtle);border-radius:8px}.menu{z-index:5;min-width:210px;padding:var(--ui-space-2);background:var(--ui-surface);border:1px solid var(--ui-border-strong);position:absolute;top:54px;right:max(24px,50vw - 540px);box-shadow:0 4px 8px #0002}.menu button,.menu label{align-items:center;gap:var(--ui-space-2);width:100%;padding:var(--ui-space-3);color:var(--ui-text);text-align:left;background:0 0;border:0;font-size:13px;display:flex}.menu button:hover,.menu label:hover{background:var(--ui-surface-subtle)}.menu input{display:none}.bottom-nav{z-index:4;height:72px;padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--ui-border);background:#fff;justify-content:center;gap:min(22vw,150px);display:flex;position:fixed;inset:auto 0 0}.bottom-nav button,.bottom-nav a{justify-content:center;align-items:center;gap:var(--ui-space-1);min-width:64px;color:var(--ui-text-muted);background:0 0;border:0;flex-direction:column;font-size:11px;text-decoration:none;display:flex}.bottom-nav button:hover,.bottom-nav a:hover,.bottom-nav button.active,.bottom-nav a.active{color:var(--ui-accent);background:var(--ui-surface-subtle);border-radius:12px}.bottom-nav span{font-size:20px;line-height:20px}.hero,.section-head,.run-heading{justify-content:space-between;align-items:end;gap:var(--ui-space-4);display:flex}.hero h1,.run-heading h1{margin:0 0 var(--ui-space-2);letter-spacing:-.04em;font-size:clamp(30px,5vw,44px);font-weight:600;line-height:1.05}.hero h1 em{color:var(--ui-accent);font-style:normal}.streak{padding-bottom:var(--ui-space-1);text-align:right}.streak strong{font-size:36px;font-weight:600;line-height:.9;display:block}.streak span{color:var(--ui-text-secondary);font:11px var(--ui-mono);text-transform:uppercase}.section-head{margin-top:var(--ui-space-7);align-items:center}.page-head{margin-top:0}.section-head h2{margin:0;font-size:20px;font-weight:600}.text-button,.outline-button{justify-content:center;align-items:center;gap:var(--ui-space-2);color:var(--ui-accent);border:1px solid var(--ui-accent);background:0 0;padding:10px 16px;font-size:13px;font-weight:600;display:inline-flex}.primary-button,.finish-button{color:#fff;background:var(--ui-accent);border:0;padding:11px 18px;font-size:13px;font-weight:600}.primary-button:hover,.finish-button:hover{background:var(--ui-accent-hover)}.start-button{align-items:center;gap:var(--ui-space-1);color:#fff;background:var(--ui-text);border:0;padding:9px 12px;font-size:12px;font-weight:600;display:inline-flex}.start-button:hover{background:#393939}.icon{flex:none;place-items:center;width:20px;height:20px;display:inline-grid}.icon svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:100%;height:100%}.routine-list{margin-top:var(--ui-space-5);flex-direction:column;gap:10px;display:flex}.routine-card{align-items:center;gap:var(--ui-space-4);min-height:84px;padding:var(--ui-space-4) var(--ui-space-5);background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:var(--ui-radius);cursor:pointer;display:flex;box-shadow:0 1px 2px #00000008}.routine-card:hover{border-color:#b8cce8;box-shadow:0 4px 12px #0000000c}.card-top{display:contents}.routine-dot{background:var(--accent,var(--ui-accent));border-radius:50%;flex:none;width:10px;height:10px}.chevron{color:var(--ui-text-secondary)}.routine-info{flex:1;min-width:0}.routine-card h3{margin:0 0 var(--ui-space-1);letter-spacing:-.02em;font-size:17px;font-weight:600}.routine-card p{color:var(--ui-text-secondary);margin:0;font-size:12px}.card-footer{justify-content:flex-end;align-items:center;gap:var(--ui-space-3);color:var(--ui-text-muted);font:11px var(--ui-mono);display:flex}.history-list{margin-top:var(--ui-space-4);border-top:1px solid var(--ui-border)}.history-row{align-items:center;gap:var(--ui-space-3);border-bottom:1px solid var(--ui-border);min-height:68px;display:flex}.history-icon{width:26px;height:26px;margin-right:var(--ui-space-3);color:#fff;background:var(--ui-success);border-radius:50%;place-items:center;font-size:13px;display:grid}.history-main,.history-stats{gap:var(--ui-space-1);flex-direction:column;display:flex}.history-main strong,.history-stats strong{font-size:13px;font-weight:600}.history-main span,.history-stats span{color:var(--ui-text-secondary);font:11px var(--ui-mono)}.history-stats{align-items:end;margin-left:auto}.delete-button{width:28px;height:28px;color:var(--ui-text-muted);background:0 0;border:0;border-radius:50%;flex:none;font-size:20px;line-height:1}.delete-button:hover{color:#ff3b30;background:#ff3b3014}.data-note{align-items:center;gap:var(--ui-space-3);margin-top:var(--ui-space-7);padding:var(--ui-space-4);color:var(--ui-text-secondary);background:var(--ui-surface-subtle);border-left:4px solid var(--ui-accent);display:flex}.data-note>span{color:var(--ui-accent);font-size:22px}.data-note strong{font-size:12px}.data-note p{margin:var(--ui-space-1) 0 0;font-size:11px}.run-view{max-width:820px}.back-button{margin-bottom:var(--ui-space-7);color:var(--ui-accent);background:0 0;border:0;padding:0;font-size:13px}.run-heading{align-items:start}.run-heading h1{font-size:34px}.exercise-list{gap:var(--ui-space-4);margin-top:var(--ui-space-6);display:grid}.exercise-card{padding:var(--ui-space-5);background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:var(--ui-radius);box-shadow:0 1px 2px #00000008}.exercise-title{justify-content:space-between;gap:var(--ui-space-3);display:flex}.exercise-title h3{margin:0 0 var(--ui-space-2);font-size:16px;font-weight:600}.exercise-title p{color:var(--ui-text-secondary);font:11px var(--ui-mono);margin:0}.exercise-title p span{margin-inline:var(--ui-space-1);color:var(--ui-text-muted)}.exercise-count{color:var(--ui-accent);font:11px var(--ui-mono)}.set-head,.set-row{gap:var(--ui-space-3);grid-template-columns:48px 1fr 1fr 25px;align-items:center;display:grid}.set-head{margin-top:var(--ui-space-5);color:var(--ui-text-muted);font:10px var(--ui-mono)}.set-head span:nth-child(2),.set-head span:nth-child(3){text-align:center}.set-row{margin-top:var(--ui-space-2)}.set-number{color:var(--ui-text-secondary);font:12px var(--ui-mono)}.set-row input{width:100%;color:var(--ui-text);border:0;border-bottom:1px solid var(--ui-border-strong);text-align:center;background:#f4f4f4;outline:0;padding:9px}.set-row input:focus{border-bottom:2px solid var(--ui-focus);box-shadow:0 0 0 1px var(--ui-focus)}.set-row button{color:var(--ui-text-muted);background:0 0;font-size:18px}.add-set{align-items:center;gap:var(--ui-space-2);margin-top:var(--ui-space-3);padding:var(--ui-space-2) 0 0 48px;color:var(--ui-accent);background:0 0;border:0;font-size:12px;font-weight:600;display:inline-flex}.wide{width:100%;margin-top:var(--ui-space-4)}.empty{padding:var(--ui-space-7) var(--ui-space-5);background:var(--ui-surface);border:1px dashed var(--ui-border-strong);border-radius:var(--ui-radius);text-align:center}.empty h3{margin:0 0 var(--ui-space-2)}.empty p{margin:0 0 var(--ui-space-5);color:var(--ui-text-secondary);font-size:13px}.modal-backdrop{z-index:9;padding:var(--ui-space-5);background:#161616b8;place-items:center;display:grid;position:fixed;inset:0}.modal{width:min(100%,420px);padding:var(--ui-space-5);background:var(--ui-surface);border:1px solid var(--ui-border-strong);box-shadow:0 8px 16px #0004}.modal-title{margin-bottom:var(--ui-space-5);justify-content:space-between;align-items:center;display:flex}.modal-title h2{margin:0;font-size:20px;font-weight:600}.modal-title button{color:var(--ui-text);background:0 0;border:0;font-size:25px}.modal label{margin-bottom:var(--ui-space-4);color:var(--ui-text-secondary);font-size:12px;font-weight:600;display:block}.modal input{width:100%;margin-top:var(--ui-space-2);padding:var(--ui-space-3);color:var(--ui-text);border:0;border-bottom:1px solid var(--ui-border-strong);background:#f4f4f4;outline:0;display:block}.modal input:focus{border-bottom:2px solid var(--ui-focus);box-shadow:0 0 0 1px var(--ui-focus)}.toast{z-index:10;padding:var(--ui-space-3) var(--ui-space-4);color:#fff;background:var(--ui-text);border-left:4px solid var(--ui-accent);font-size:12px;position:fixed;bottom:88px;left:50%;transform:translate(-50%);box-shadow:0 4px 8px #0003}.modal-title-copy{align-items:center;gap:var(--ui-space-2);display:flex}.modal-back{line-height:1;color:var(--ui-accent)!important;padding:0 4px!important;font-size:30px!important}.modal-picker{width:min(100%,560px)}.picker-toolbar{align-items:center;gap:var(--ui-space-3);margin-bottom:var(--ui-space-3);display:flex}.picker-toolbar input{flex:1;margin:0}.picker-toolbar span{color:var(--ui-accent);font:11px var(--ui-mono);flex:none}.workout-picker-list{border:1px solid var(--ui-border);border-radius:10px;flex-direction:column;max-height:min(55vh,520px);display:flex;overflow-y:auto}.workout-option{align-items:center;gap:var(--ui-space-3);width:100%;padding:var(--ui-space-3);color:var(--ui-text);background:var(--ui-surface);border:0;border-bottom:1px solid var(--ui-border);text-align:left;display:flex}.workout-option:last-child{border-bottom:0}.selection-indicator{color:#fff;border:1px solid var(--ui-border-strong);background:0 0;border-radius:50%;flex:none;place-items:center;width:22px;height:22px;font-size:13px;display:grid}.workout-option.selected .selection-indicator{background:var(--ui-accent);border-color:var(--ui-accent)}.workout-option-copy{flex-direction:column;gap:3px;min-width:0;display:flex}.workout-option-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.workout-option-copy small{color:var(--ui-text-secondary);font:11px var(--ui-mono)}.picker-empty{padding:var(--ui-space-5);color:var(--ui-text-secondary);text-align:center}.draft-workouts{margin:var(--ui-space-5) 0;padding:var(--ui-space-4);background:var(--ui-surface-subtle);border-radius:10px}.draft-workouts>div:first-child{justify-content:space-between;display:flex}.draft-workouts>div:first-child span{color:var(--ui-accent);font:11px var(--ui-mono)}.draft-workouts p{margin:var(--ui-space-3) 0;color:var(--ui-text-secondary);font-size:13px}.draft-workout-list{margin-top:var(--ui-space-3);color:var(--ui-text-secondary);flex-direction:column;gap:4px;font-size:12px;display:flex}.draft-workout-list span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.history-row{color:inherit;text-decoration:none}.history-row:hover{background:var(--ui-surface-subtle)}.completed-view{max-width:820px}.completed-heading{justify-content:space-between;align-items:start;gap:var(--ui-space-4);display:flex}.completed-heading h1{margin:0 0 var(--ui-space-2);letter-spacing:-.04em;font-size:clamp(30px,5vw,42px);font-weight:600}.delete-workout-button{color:#ff3b30;background:0 0;border:1px solid #ff3b30;border-radius:8px;padding:10px 14px;font-size:13px;font-weight:600}.delete-workout-button:hover{color:#fff;background:#ff3b30}.completed-summary{gap:var(--ui-space-3);margin-top:var(--ui-space-6);grid-template-columns:repeat(2,1fr);display:grid}.completed-summary>div{gap:var(--ui-space-1);padding:var(--ui-space-4);background:var(--ui-surface-subtle);border-radius:12px;flex-direction:column;display:flex}.completed-summary span{color:var(--ui-text-secondary);font:11px var(--ui-mono);text-transform:uppercase}.completed-summary strong{font-size:20px;font-weight:600}.completed-exercises{gap:var(--ui-space-3);margin-top:var(--ui-space-6);display:grid}.completed-set-list{margin-top:var(--ui-space-4);border-top:1px solid var(--ui-border);flex-direction:column;display:flex}.completed-set-row{gap:var(--ui-space-3);padding:var(--ui-space-3) 0;border-bottom:1px solid var(--ui-border);grid-template-columns:1fr 1fr 1fr;font-size:12px;display:grid}.completed-set-row span{color:var(--ui-text-muted);font:11px var(--ui-mono)}.no-sets{margin:var(--ui-space-4) 0 0;color:var(--ui-text-secondary);font-size:13px}@media (width<=680px){.content{width:calc(100% - 32px);padding-block:var(--ui-space-6)}.topbar{padding-inline:16px}.routine-list{gap:var(--ui-space-3)}.routine-card{min-height:76px;padding:var(--ui-space-3) var(--ui-space-4)}.routine-card h3{margin:0 0 var(--ui-space-1);font-size:16px}.section-head{margin-top:var(--ui-space-6)}.page-head{margin-top:0}.history-head,.data-note{margin-top:var(--ui-space-6)}.run-heading h1{font-size:29px}.back-button{margin-bottom:var(--ui-space-6)}.exercise-card{padding:var(--ui-space-4)}.set-head,.set-row{gap:var(--ui-space-2);grid-template-columns:33px 1fr 1fr 20px}.add-set{padding-left:33px}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}.set-head span:nth-child(n+2):nth-child(-n+4){text-align:center}.previous-set{color:var(--ui-text-secondary);font:12px var(--ui-mono);text-align:center;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.add-set{padding-left:42px}.draft-workout-row{justify-content:space-between;align-items:center;gap:var(--ui-space-2);border-bottom:1px solid var(--ui-border);padding:7px 0;display:flex}.draft-workout-row:last-child{border-bottom:0}.draft-workout-row>span{text-overflow:ellipsis;white-space:nowrap;flex-direction:column;gap:2px;min-width:0;display:flex;overflow:hidden}.draft-workout-row small{color:var(--ui-text-muted);font:10px var(--ui-mono)}.draft-workout-row button{width:24px;height:24px;color:var(--ui-text-muted);background:0 0;border:0;border-radius:50%;flex:none;font-size:18px}.draft-workout-row button:hover{color:#ff3b30;background:#ff3b3014}.exercise-actions{align-items:center;gap:var(--ui-space-2);display:flex;position:relative}.exercise-menu-button{width:28px;height:28px;color:var(--ui-text-muted);letter-spacing:2px;background:0 0;border:0;border-radius:8px}.exercise-menu-button:hover{color:var(--ui-text);background:var(--ui-surface-subtle)}.exercise-menu{z-index:3;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:10px;min-width:170px;padding:4px;position:absolute;top:34px;right:0;box-shadow:0 6px 16px #0002}.exercise-menu button{width:100%;color:var(--ui-text);text-align:left;background:0 0;border:0;border-radius:7px;padding:9px 10px;font-size:12px;display:block}.exercise-menu button:hover{background:var(--ui-surface-subtle)}.exercise-menu .danger-action{color:#ff3b30}@media (width<=680px){.set-head,.set-row{gap:var(--ui-space-1);grid-template-columns:25px minmax(72px,1.1fr) 1fr 1fr 18px}.set-head{font-size:9px}.previous-set{font-size:10px}.add-set{padding-left:25px}.modal-backdrop{padding:0;display:block}.modal,.modal-picker{width:100%;max-width:none;min-height:100dvh;max-height:100dvh;padding:calc(env(safe-area-inset-top) + 20px) 16px calc(env(safe-area-inset-bottom) + 20px);box-shadow:none;border:0;border-radius:0;overflow:auto}.modal-picker{flex-direction:column;display:flex}.modal-picker .workout-picker-list{flex:1;min-height:0;max-height:none}.modal-picker .wide{flex:none}}:root{--ui-bg:#f2f2f7;--ui-surface:#fff;--ui-surface-subtle:#f2f2f7;--ui-text:#1c1c1e;--ui-text-secondary:#6c6c70;--ui-text-muted:#8e8e93;--ui-border:#d1d1d6;--ui-border-strong:#aeaeb2;--ui-accent:#007aff;--ui-accent-hover:#006ee6;--ui-radius:12px}body{background:var(--ui-bg);color:var(--ui-text);-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Helvetica Neue,Arial,sans-serif}button,input{font-family:inherit}.app-shell{padding-bottom:calc(84px + env(safe-area-inset-bottom))}.topbar{border-bottom:1px solid var(--ui-border);background:#fffffff0;height:52px;padding-inline:16px}.brand-mark{background:var(--ui-text);border-radius:7px;width:28px;height:28px;font-size:16px}.brand{color:var(--ui-text);letter-spacing:.09em;margin-left:8px;font-size:13px;font-weight:700}.circle-button{min-width:44px;min-height:44px;color:var(--ui-text-secondary);letter-spacing:1px;font-size:17px}.menu{border:0;border-radius:12px;top:48px;right:12px;box-shadow:0 8px 24px #00000024}.menu button,.menu label{border-radius:8px;min-height:44px}.content{width:min(100% - 32px,720px);padding-block:24px}.page-head{align-items:center;margin-top:4px}.eyebrow{color:var(--ui-text-muted);letter-spacing:.04em;margin-bottom:6px;font:600 12px -apple-system,BlinkMacSystemFont,sans-serif}.page-head h1,.run-heading h1,.completed-heading h1{letter-spacing:-.04em;font-size:34px;font-weight:700}.section-head h2{letter-spacing:-.02em;font-size:22px;font-weight:700}.text-button,.outline-button{min-height:44px;color:var(--ui-accent);background:0 0;border:0;border-radius:10px;padding:0 12px;font-weight:600}.text-button:hover,.outline-button:hover{color:var(--ui-accent-hover);background:#007aff14}.primary-button,.finish-button{color:#fff;background:var(--ui-accent);border-radius:10px;min-height:44px;padding:0 18px;font-weight:600}.start-button{min-height:44px;color:var(--ui-accent);background:0 0;border-radius:10px;padding:0 8px;font-weight:600}.start-button:hover{color:var(--ui-accent-hover);background:#007aff14}.routine-list{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:var(--ui-radius);gap:0;overflow:hidden;box-shadow:0 1px 2px #00000008}.routine-card{border:0;border-bottom:1px solid var(--ui-border);min-height:72px;box-shadow:none;border-radius:0;padding:12px 16px}.routine-card:last-child{border-bottom:0}.routine-card:hover{border-color:var(--ui-border);box-shadow:none;background:#f7f7fa}.routine-dot{width:8px;height:8px}.routine-card h3{font-size:17px;font-weight:600}.routine-card p{color:var(--ui-text-secondary)}.card-footer{font-family:inherit;font-size:12px}.chevron{color:var(--ui-text-muted);font-size:24px}.history-head{margin-top:36px}.history-list{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:var(--ui-radius);margin-top:12px;overflow:hidden}.history-row{border-bottom-color:var(--ui-border);min-height:68px;padding-inline:12px}.history-row:last-child{border-bottom:0}.history-icon{background:#34c759;width:28px;height:28px}.history-main strong,.history-stats strong{font-weight:600}.history-main span,.history-stats span{font-family:inherit}.data-note{background:#e5e5ea;border:0;border-radius:12px;margin-top:28px;padding:14px}.bottom-nav{height:calc(54px + env(safe-area-inset-bottom));padding:0 20px env(safe-area-inset-bottom);border-top:1px solid var(--ui-border);background:#fffffff5;justify-content:space-around;gap:0}.bottom-nav button,.bottom-nav a{min-width:64px;min-height:44px;color:var(--ui-text-muted);border-radius:10px;font-size:10px}.bottom-nav button:hover,.bottom-nav a:hover,.bottom-nav button.active,.bottom-nav a.active{color:var(--ui-accent);background:0 0}.run-view,.completed-view{max-width:720px}.back-button{min-height:44px;color:var(--ui-accent);margin-bottom:20px;font-size:15px}.exercise-list,.completed-exercises{gap:12px;margin-top:24px}.exercise-card{border:1px solid var(--ui-border);border-radius:12px;padding:16px;box-shadow:0 1px 2px #00000008}.exercise-title h3{font-size:17px;font-weight:600}.exercise-title p,.exercise-count{color:var(--ui-text-secondary);font-family:inherit}.exercise-menu-button{min-width:32px;min-height:32px}.set-head{color:var(--ui-text-muted);font-family:inherit;font-size:10px;font-weight:600}.set-number,.previous-set{font-family:inherit}.set-row input{background:#f2f2f7;border:1px solid #0000;border-radius:8px;min-height:44px;font-size:16px}.set-row input:focus{border:2px solid var(--ui-focus);box-shadow:none}.add-set{min-height:44px;padding-left:42px;font-family:inherit}.modal-backdrop{background:#00000052}.modal,.modal-picker{border:0;border-radius:16px;box-shadow:0 12px 36px #00000029}.modal-title{min-height:44px}.modal-title h2{font-size:20px;font-weight:700}.modal-title button{min-width:44px;min-height:44px;color:var(--ui-accent);font-size:24px}.modal label{color:var(--ui-text-secondary)}.modal input,.picker-toolbar input{border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:10px;min-height:44px;margin-top:6px;padding:0 12px}.modal input:focus,.picker-toolbar input:focus{border:2px solid var(--ui-focus);box-shadow:none}.workout-picker-list{background:var(--ui-surface);border:0;border-radius:12px}.workout-option{border-bottom-color:var(--ui-border);min-height:56px;padding:8px 12px}.workout-option:hover,.workout-option.selected{background:#007aff12}.selection-indicator{width:24px;height:24px}.draft-workouts,.completed-summary>div{background:#e5e5ea;border-radius:12px}.delete-workout-button{border-radius:10px;min-height:44px}.completed-set-row{align-items:center;min-height:44px}@media (width<=680px){.content{width:calc(100% - 32px);padding-block:20px}.routine-card{min-height:68px;padding:10px 12px}.routine-card .card-footer>span{display:none}.completed-heading{flex-direction:column;gap:12px}.delete-workout-button{align-self:flex-start}.modal-backdrop{background:var(--ui-bg)}.modal,.modal-picker{border-radius:0;min-height:100dvh;max-height:100dvh}}.rest-timer{color:#fff;background:#1c1c1e;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;margin-top:16px;padding:12px 16px;display:flex;box-shadow:0 4px 12px #00000020}.modal-title{align-items:center;width:100%;min-height:44px;padding-right:48px;position:relative;flex-wrap:nowrap!important;display:flex!important}.modal-title-copy{flex:auto;align-items:center;gap:8px;min-width:0;max-width:100%;display:flex}.modal-title-copy h2{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.modal-title>button{flex:none;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;display:grid;position:absolute;top:0;right:0}.set-head,.set-row{grid-template-columns:42px minmax(94px,1.2fr) 1fr 1fr 30px 25px}.set-complete,.set-delete{border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.set-row input:disabled{color:var(--ui-text-secondary);opacity:1;background:#e5e5ea}.set-complete{color:var(--ui-text-muted);border:1px solid var(--ui-border-strong);background:0 0;font-size:15px}.set-complete.completed{color:#fff;background:#34c759;border-color:#34c759}.set-complete:hover{border-color:var(--ui-accent)}.set-complete:disabled{color:var(--ui-border-strong);border-color:var(--ui-border);cursor:not-allowed;background:#f2f2f7}.number-pad{z-index:12;width:min(100%,480px);padding:12px 12px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--ui-border);background:#e5e5ea;margin-inline:auto;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 24px #0002}.number-pad-display{height:36px;color:var(--ui-text);font-variant-numeric:tabular-nums;justify-content:space-between;align-items:center;padding:0 8px 8px;font-size:20px;font-weight:600;display:flex}.number-pad-display button{color:var(--ui-accent);background:0 0;border:0;font-size:13px;font-weight:600}.number-pad-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.number-pad-grid button{min-height:48px;color:var(--ui-text);background:#fff;border:0;border-radius:9px;font-size:22px;box-shadow:0 1px 1px #00000012}.number-pad-grid button:active{background:#d1d1d6}.number-pad-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:8px;display:grid}.number-pad-next,.number-pad-done{border:0;border-radius:9px;width:100%;min-height:44px;margin:0;font-weight:600}.number-pad-done{color:var(--ui-accent);background:#fff}.number-pad-next{color:#fff;background:var(--ui-accent)}.set-row input.active-input{border-color:var(--ui-accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--ui-accent) 24%, transparent);outline:none}.run-view:has(.number-pad){padding-bottom:360px}.set-row input{scroll-margin-bottom:360px}.trends-section{margin-top:36px}.trends-head{margin:0 0 12px}.trends-card{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:12px;padding:16px;box-shadow:0 1px 2px #00000008}.trends-card-copy{flex-direction:column;gap:4px;display:flex}.trends-card-copy strong{font-size:16px;font-weight:600}.trends-card-copy span{color:var(--ui-text-secondary);font-size:12px}.body-map{justify-content:center;gap:clamp(24px,10vw,72px);margin:22px auto 14px;display:flex}.muscle-figure-wrap{flex-direction:column;align-items:center;gap:8px;display:flex}.muscle-figure{width:118px;height:222px;overflow:visible}.figure-base{fill:#ececf0;stroke:#c7c7cc;stroke-width:1px;stroke-linejoin:round}.figure-muscle{stroke:#bdbdc3;stroke-width:.8px;stroke-linejoin:round;transition:fill .15s}.body-figure-wrap{flex-direction:column;align-items:center;gap:8px;display:flex}.body-figure-label{color:var(--ui-text-secondary);font-size:11px;font-weight:600}.body-figure{width:86px;height:176px;position:relative}.body-head{z-index:1;background:#e5e5ea;border-radius:50%;width:18px;height:22px;position:absolute;top:0;left:34px}.body-torso{z-index:1;background:#e5e5ea;border-radius:18px 18px 12px 12px;width:46px;height:74px;position:absolute;top:28px;left:20px}.body-figure:before,.body-figure:after{z-index:0;content:"";background:#e5e5ea;display:block;position:absolute}.body-figure:before{border-radius:8px;width:12px;height:68px;top:31px;left:8px;transform:rotate(7deg);box-shadow:58px 0 #e5e5ea}.body-figure:after{border-radius:8px;width:15px;height:76px;top:96px;left:25px;box-shadow:21px 0 #e5e5ea}.body-zone{z-index:2;color:#d1d1d6;background:currentColor;border-radius:6px;width:16px;height:10px;transition:color .15s;display:block;position:absolute}.body-zone.worked{color:var(--ui-accent)}.body-figure-front .body-zone-1{width:32px;top:38px;left:27px}.body-figure-front .body-zone-2{top:31px;left:17px;box-shadow:36px 0}.body-figure-front .body-zone-3{top:51px;left:8px;box-shadow:54px 0}.body-figure-front .body-zone-4{width:16px;height:25px;top:60px;left:35px}.body-figure-front .body-zone-5{top:105px;left:25px;box-shadow:21px 0}.body-figure-front .body-zone-6{top:151px;left:28px;box-shadow:18px 0}.body-figure-back .body-zone-1{width:30px;top:34px;left:28px}.body-figure-back .body-zone-2{width:36px;top:48px;left:25px}.body-figure-back .body-zone-3{width:28px;top:61px;left:29px}.body-figure-back .body-zone-4{width:25px;top:79px;left:30px}.body-figure-back .body-zone-5{top:92px;left:25px;box-shadow:21px 0}.body-figure-back .body-zone-6{top:111px;left:25px;box-shadow:21px 0}.body-figure-back .body-zone-7{top:151px;left:28px;box-shadow:18px 0}.body-figure-back .body-zone-8{opacity:0;top:124px;left:10px}.trends-legend{color:var(--ui-text-secondary);justify-content:center;gap:16px;font-size:11px;display:flex}.trends-legend span{align-items:center;gap:5px;display:inline-flex}.legend-swatch{background:#d1d1d6;border-radius:50%;width:8px;height:8px}.legend-swatch.worked{background:var(--ui-accent)}.analytics-list{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:12px;margin-top:24px;overflow:hidden}.analytics-row{border-bottom:1px solid var(--ui-border);justify-content:space-between;align-items:center;min-height:52px;padding:0 16px;font-size:14px;display:flex}.analytics-row:last-child{border-bottom:0}.analytics-row strong{color:var(--ui-text-secondary);font-size:13px;font-weight:500}.delete-routine-action{color:#ff3b30;background:0 0;border:0;border-radius:10px;min-height:44px;font-weight:600}.draft-workout-row[draggable]{cursor:grab}.draft-workout-row[draggable]:active{cursor:grabbing}.draft-workout-row.dragging{opacity:.45}.drag-handle{width:32px;height:36px;color:var(--ui-text-muted);cursor:grab;touch-action:none;background:0 0;border:0;flex:none;place-items:center;padding:0;font-size:20px;line-height:1;display:grid}.drag-handle:active{cursor:grabbing}.draft-workout-copy{text-align:left;flex-direction:column;flex:1;gap:2px;min-width:0;display:flex;overflow:hidden}.picker-search{flex:1;position:relative}.picker-search input{width:100%;padding-right:40px}.search-clear{width:30px;height:30px;color:var(--ui-text-secondary);background:#e5e5ea;border:0;border-radius:50%;place-items:center;font-size:18px;line-height:1;display:grid;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.routine-empty .primary-button{justify-content:center;align-items:center;gap:8px;display:inline-flex}.routine-empty .primary-button .icon{flex:none;justify-content:center;align-items:center;display:inline-flex}.routine-empty .primary-button svg{display:block}.routine-editor-page{max-width:560px}.routine-editor-form{width:100%;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.routine-editor-form.modal-picker{flex-direction:column;height:calc(100dvh - 104px);min-height:0;display:flex}.routine-editor-form.modal-picker .picker-toolbar{flex:none}.routine-editor-form.modal-picker .workout-picker-list{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:1;min-height:0;max-height:none;overflow-y:auto}.routine-editor-form.modal-picker>.picker-done-action,.modal-picker>.picker-done-action{z-index:1;padding-bottom:calc(var(--ui-space-3) + env(safe-area-inset-bottom));background:var(--ui-accent);flex:none;margin-bottom:0;position:sticky;bottom:0;box-shadow:0 -10px 18px #fff}@media (width<=680px){.routine-editor-page{width:100%;padding:20px 16px}.routine-editor-form{min-height:auto;padding:0}.routine-editor-form.modal-picker{height:calc(100dvh - 104px)}}.analytics-page-head{align-items:end}.range-picker{background:#e5e5ea;border-radius:9px;padding:3px;display:flex}.range-picker button{min-width:44px;min-height:34px;color:var(--ui-text-secondary);background:0 0;border:0;border-radius:7px;padding:0 8px;font-size:12px;font-weight:600}.range-picker button.selected{color:var(--ui-text);background:var(--ui-surface);box-shadow:0 1px 3px #00000018}.volume-card-meta{flex-direction:column;align-items:end;gap:4px;display:flex}.volume-change{color:var(--ui-text-secondary);font-size:11px}.volume-change.positive{color:var(--ui-success)}.chart-legend{margin-top:12px}.legend-swatch.previous{background:#8e8e93}.volume-card{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:12px;margin-top:24px;padding:16px;box-shadow:0 1px 2px #00000008}.volume-card-head{justify-content:space-between;align-items:end;gap:16px;display:flex}.volume-card-head>div{flex-direction:column;gap:4px;display:flex}.volume-card-head span{color:var(--ui-text-secondary);font-size:12px}.volume-card-head strong{letter-spacing:-.03em;font-size:26px;font-weight:700}.volume-caption{padding-bottom:3px}.volume-chart{height:270px;margin-top:20px}.volume-empty{height:100%;color:var(--ui-text-secondary);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:6px;display:flex}.volume-empty strong{color:var(--ui-text);font-size:15px}.volume-empty span{font-size:12px}@media (width<=680px){.trends-section{margin-top:28px}.trends-card{padding:14px}.analytics-page-head{flex-direction:column;align-items:start}.range-picker{width:100%}.range-picker button{flex:1}.volume-card{padding:14px}.volume-chart{height:230px}}.set-delete{color:var(--ui-text-muted);background:0 0;border:0;font-size:18px}.set-delete:hover{color:#ff3b30;background:#ff3b3014}.rest-timer div{align-items:baseline;gap:10px;display:flex}.rest-timer span{color:#a1a1a6;letter-spacing:.08em;font-size:11px;font-weight:700}.rest-timer strong{font-variant-numeric:tabular-nums;font-size:24px;font-weight:700}.rest-timer button{color:#fff;background:#39393d;border:0;border-radius:9px;min-height:36px;padding:0 12px;font-weight:600}.settings-group{border:1px solid var(--ui-border);background:#fff;border-radius:14px;margin-top:24px;overflow:hidden}.settings-group-title{color:var(--ui-text-secondary);padding:12px 16px 6px;font-size:13px}.settings-row{border-top:1px solid var(--ui-border);justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:10px 16px;display:flex}.settings-row>span:first-child{flex-direction:column;gap:3px;display:flex}.settings-row strong{font-size:15px;font-weight:500}.settings-row small{color:var(--ui-text-secondary);font-size:12px}.settings-row select{min-height:36px;color:var(--ui-accent);background:#f2f2f7;border:0;border-radius:8px;padding:0 28px 0 10px;font-size:14px}.settings-action{color:#fff;background:var(--ui-accent);border:0;border-radius:9px;min-height:36px;padding:0 14px;font-weight:600}.settings-action:disabled{color:var(--ui-text-muted);background:#e5e5ea}.settings-status{color:#34c759;font-size:14px;font-weight:600}.settings-footnote{color:var(--ui-text-muted);margin:14px 16px;font-size:12px}.settings-slider-row{grid-template-columns:1fr auto;gap:4px 16px;display:grid}.settings-value{color:var(--ui-accent);font-variant-numeric:tabular-nums}.rest-slider{width:100%;height:28px;accent-color:var(--ui-accent);grid-column:1/-1}@media (width<=680px){.rest-timer{margin-top:16px}.settings-group{margin-top:20px}.set-head,.set-row{gap:var(--ui-space-1);grid-template-columns:25px minmax(72px,1.1fr) 1fr 1fr 28px 18px}.set-complete,.set-delete{width:24px;height:24px}.set-head{font-size:9px}.previous-set{font-size:10px}}
