/*! tailwindcss v4.2.1 | 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{--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial}::backdrop{--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, 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;--spacing:.25rem;--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{box-sizing:border-box;border:0 solid;margin:0;padding:0}::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,ui-sans-serif, system-ui, 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{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]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance: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{.visible{visibility:visible}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.right-1{right:calc(var(--spacing) * 1)}.right-2{right:calc(var(--spacing) * 2)}.right-3{right:calc(var(--spacing) * 3)}.left-1{left:calc(var(--spacing) * 1)}.left-2{left:calc(var(--spacing) * 2)}.left-3{left:calc(var(--spacing) * 3)}.row-1{grid-row:1}.row-2{grid-row:2}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.inline{display:inline}.table{display:table}.rounded{border-radius:.25rem}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.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{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--theme-background:#15181d;--theme-surface:#20242b;--theme-surface-raised:#272c34;--theme-input:#1a1e24;--theme-border:#353b45;--theme-accent:#2997ff;--theme-accent-hover:#4daaff;--theme-accent-soft:#2997ff2e;--theme-text:#f5f7fa;--theme-text-secondary:#9ca3af;--theme-text-on-accent:#07111b;--theme-danger:#ff7b72;--theme-warning:#f5a524;--theme-warning-soft:#f5a5242e;--theme-shadow:#00000057;--theme-backdrop:#05080cb8;--ink:var(--theme-text);--muted:var(--theme-text-secondary);--paper:var(--theme-background);--card:var(--theme-surface);--line:var(--theme-border);--lime:var(--theme-accent)}*{box-sizing:border-box}body{background:var(--theme-background);color:var(--ink);font-family:var(--font-geist), Arial, sans-serif;margin:0}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit}input,textarea,select{color:var(--theme-text)}input::placeholder,textarea::placeholder{color:var(--theme-text-secondary);opacity:.78}.loading{background:var(--theme-background);min-height:100dvh;color:var(--theme-text);place-items:center;display:grid}.app-shell{width:100%;max-width:540px;min-height:100dvh;padding:max(20px, env(safe-area-inset-top)) 18px calc(34px + env(safe-area-inset-bottom));background:var(--paper);margin:0 auto}.topbar{grid-template-columns:44px 1fr 44px;align-items:center;gap:12px;display:grid}.brand-mark{background:var(--theme-accent);width:42px;height:42px;color:var(--theme-text-on-accent);border-radius:13px;place-items:center;font-size:20px;font-weight:900;display:grid;transform:rotate(-3deg)}.eyebrow,.date-label{letter-spacing:.14em;color:var(--muted);margin:0 0 2px;font-size:10px;font-weight:800}h1{letter-spacing:-.02em;margin:0;font-size:16px}.icon-button{color:var(--theme-accent);background:0 0;border:0;font-size:18px;font-weight:900}.status-card{border:1px solid var(--line);color:var(--muted);background:var(--theme-surface);border-radius:12px;justify-content:space-between;margin:20px 0 24px;padding:10px 12px;font-size:11px;font-weight:650;display:flex}.status-dot{border-radius:50%;width:7px;height:7px;margin-right:7px;display:inline-block}.status-dot.online{background:var(--theme-accent);box-shadow:0 0 0 3px var(--theme-accent-soft)}.status-dot.offline{background:var(--theme-warning);box-shadow:0 0 0 3px var(--theme-warning-soft)}.workout-heading{justify-content:space-between;align-items:end;display:flex}.workout-heading h2{letter-spacing:-.055em;margin:0;font-size:32px}.timer{text-align:right}.timer span,.summary span{color:var(--muted);text-transform:uppercase;letter-spacing:.1em;font-size:10px;font-weight:750;display:block}.timer strong{font:700 19px var(--font-mono), monospace}.timer-cluster{justify-items:end;gap:7px;display:grid}.rest-idle{color:var(--muted);flex-wrap:wrap;justify-content:end;align-items:center;gap:5px;font-size:9px;font-weight:750;display:flex}.rest-idle label{align-items:center;gap:4px;display:flex}.rest-idle select,.rest-idle button{border:1px solid var(--line);background:var(--theme-surface);min-height:29px;color:var(--ink);border-radius:8px;font-size:10px;font-weight:750}.rest-idle select{padding:0 5px}.rest-idle button{color:var(--theme-accent);padding:0 9px}.rest-idle .rest-auto{justify-content:end;width:100%}.rest-auto input{accent-color:var(--theme-accent)}.rest-bar{z-index:8;top:max(8px, env(safe-area-inset-top));border:1px solid var(--theme-accent);background:var(--theme-surface-raised);border-radius:13px;grid-template-columns:auto 1fr;align-items:center;gap:10px;margin:14px 0 10px;padding:10px 11px;display:grid;position:sticky}@supports (color:color-mix(in lab, red, red)){.rest-bar{background:color-mix(in srgb, var(--theme-surface-raised) 94%, transparent)}}.rest-bar{box-shadow:0 8px 24px var(--theme-shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.rest-bar.is-complete{border-color:var(--theme-warning)}.rest-readout{min-width:72px}.rest-readout span{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:9px;font-weight:800;display:block}.rest-readout strong{font:750 20px var(--font-mono), monospace;margin-top:2px;display:block}.rest-controls{justify-content:end;gap:4px;display:flex}.rest-controls button{border:1px solid var(--line);background:var(--theme-input);min-width:0;min-height:38px;color:var(--ink);border-radius:9px;padding:4px 6px;font-size:9px;font-weight:800}.rest-controls button:first-child{border-color:var(--theme-accent);color:var(--theme-accent-hover)}.rest-storage-warning{border:1px solid var(--theme-warning);background:var(--theme-warning-soft);color:var(--theme-text-secondary);border-radius:10px;gap:2px;margin:9px 0;padding:8px 10px;font-size:10px;line-height:1.35;display:grid}.rest-storage-warning strong{color:var(--theme-warning);font-size:10px}.progress-track{background:var(--theme-surface-raised);border-radius:9px;height:5px;margin-top:20px;overflow:hidden}.progress-track span{background:var(--theme-accent);min-width:3px;height:100%;transition:width .25s;display:block}.progress-copy{color:var(--muted);margin:7px 0 18px;font-size:11px}.exercise-list{gap:14px;display:grid}.exercise-card{border:1px solid var(--line);background:var(--card);box-shadow:0 5px 18px var(--theme-shadow);border-radius:18px;padding:17px 14px 12px}.exercise-title{grid-template-columns:37px 1fr auto;align-items:center;gap:10px;margin-bottom:18px;display:grid}.exercise-number{font:650 12px var(--font-mono);color:var(--muted)}.exercise-title h3{letter-spacing:-.025em;margin:0;font-size:16px}.exercise-title p{color:var(--muted);margin:3px 0 0;font-size:11px}.text-button{color:var(--theme-accent);text-underline-offset:3px;background:0 0;border:0;font-size:11px;font-weight:750;text-decoration:underline}.exercise-title .previous-session-label{color:var(--theme-text-secondary);font-size:10px}.previous-performance-hint{color:var(--theme-text-secondary);font:600 10px var(--font-mono);margin:-1px 31px 8px 35px;line-height:1.35}.previous-performance-hint.unilateral{margin-left:87px}.set-header,.set-row{text-align:center;grid-template-columns:32px repeat(3,1fr) 42px;align-items:center;gap:7px;display:grid}.set-header{color:var(--theme-text-secondary);letter-spacing:.08em;margin-bottom:6px;font-size:9px;font-weight:800}.set-row{margin:6px 0}.set-row>strong{font:650 12px var(--font-mono);color:var(--muted)}.set-row input{border:1px solid var(--line);background:var(--theme-input);text-align:center;border-radius:10px;outline:none;width:100%;min-width:0;height:43px;font-weight:720}.set-row input:focus{border-color:var(--theme-accent);box-shadow:0 0 0 3px var(--theme-accent-soft)}.set-row>button{border:1px solid var(--line);background:var(--theme-surface-raised);border-radius:11px;width:42px;height:42px;font-weight:900}.set-row.is-complete{opacity:.72}.set-row.is-complete>button{background:var(--theme-accent);border-color:var(--theme-accent);color:var(--theme-text-on-accent);opacity:1}.add-set{border:0;border-top:1px solid var(--line);width:100%;color:var(--theme-accent);background:0 0;margin-top:5px;padding:10px;font-size:12px;font-weight:700}.add-exercise{border:1px dashed var(--theme-accent);width:100%;min-height:51px;color:var(--theme-accent);background:0 0;border-radius:15px;margin:15px 0;font-weight:750}.summary{grid-template-columns:1fr 1fr;gap:10px;display:grid}.summary div{border:1px solid var(--line);background:var(--theme-surface);border-radius:14px;padding:14px}.summary strong{font:700 16px var(--font-mono);margin-top:5px;display:block}.notes{resize:vertical;border:1px solid var(--line);background:var(--theme-input);border-radius:14px;outline:none;width:100%;min-height:75px;margin:12px 0;padding:13px}.notes:focus{border-color:var(--theme-accent);box-shadow:0 0 0 3px var(--theme-accent-soft)}.finish{background:var(--theme-accent);width:100%;min-height:56px;color:var(--theme-text-on-accent);box-shadow:0 8px 20px var(--theme-shadow);border:0;border-radius:15px;font-weight:800}.finish:hover{background:var(--theme-accent-hover)}.finish:disabled{cursor:wait;opacity:.72}.storage-error{border:1px solid var(--theme-danger);background:var(--theme-surface);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin:12px 0;padding:12px 13px;display:flex}.storage-error strong{color:var(--theme-danger);font-size:12px}.storage-error p{color:var(--theme-text-secondary);margin:3px 0 0;font-size:11px;line-height:1.35}.storage-error button{border:1px solid var(--theme-accent);background:var(--theme-accent-soft);color:var(--theme-accent-hover);border-radius:9px;flex:none;padding:8px 11px;font-size:11px;font-weight:750}.loading-error{text-align:center;padding:24px}.loading-error>div{width:min(100%,420px)}.loading-error h1{font-size:24px}.loading-error p{color:var(--theme-text-secondary);margin:10px 0 20px;line-height:1.5}.sheet-backdrop{z-index:10;background:var(--theme-backdrop);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);justify-content:center;align-items:end;padding:14px;display:flex;position:fixed;inset:0}.sheet{width:100%;max-width:510px;padding:12px 18px calc(18px + env(safe-area-inset-bottom));border:1px solid var(--theme-border);background:var(--theme-background);box-shadow:0 -12px 40px var(--theme-shadow);border-radius:22px}.sheet-handle{background:var(--theme-border);border-radius:3px;width:42px;height:4px;margin:0 auto 18px}.sheet h2{margin:0;font-size:25px}.sheet>p{color:var(--muted);margin:5px 0 14px;font-size:13px}.sheet>button{border:0;border-bottom:1px solid var(--line);text-align:left;background:0 0;justify-content:space-between;width:100%;padding:15px 4px;font-weight:680;display:flex}.sheet>button span{font-size:18px}@media (min-width:720px){.app-shell{border:1px solid var(--theme-border);min-height:calc(100dvh - 48px);box-shadow:0 22px 70px var(--theme-shadow);border-radius:28px;margin:24px auto;padding-left:24px;padding-right:24px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.back-button{border:1px solid var(--line);background:var(--theme-surface);width:42px;height:42px;color:var(--theme-accent);border-radius:13px;font-size:20px}.hero-card{border:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-text);box-shadow:0 12px 30px var(--theme-shadow);border-radius:22px;margin:28px 0 32px;padding:25px 20px 20px}.hero-card .date-label{color:var(--theme-accent)}.hero-card h2{letter-spacing:-.055em;max-width:360px;margin:8px 0;font-size:37px;line-height:.98}.hero-card>p:not(.date-label){max-width:390px;color:var(--theme-text-secondary);margin:0 0 24px;font-size:13px;line-height:1.55}.hero-card .finish{background:var(--theme-accent);color:var(--theme-text-on-accent);box-shadow:none}.section-heading{justify-content:space-between;align-items:end;margin:0 2px 13px;display:flex}.section-heading h2,.screen-heading h2{letter-spacing:-.045em;margin:2px 0 0;font-size:29px}.screen-heading{margin:34px 2px 22px}.screen-heading>p:last-child{color:var(--muted);margin:5px 0 0;font-size:12px}.history-list{gap:9px;display:grid}.workout-list-item{border:1px solid var(--line);background:var(--theme-surface);width:100%;color:var(--ink);text-align:left;border-radius:15px;grid-template-columns:1fr auto 12px;align-items:center;gap:12px;padding:15px;display:grid}.workout-list-item:hover{border-color:var(--theme-accent)}.workout-list-item p{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin:0 0 3px;font-size:10px;font-weight:750}.workout-list-item h3{margin:0;font-size:15px}.workout-list-item>b{color:var(--theme-accent);font-size:22px}.list-stats{color:var(--muted);align-items:center;gap:8px;font-size:10px;display:flex}.list-stats strong{color:var(--ink);font:700 11px var(--font-mono)}.history-button{width:100%;color:var(--theme-accent);background:0 0;border:0;justify-content:space-between;margin-top:12px;padding:15px 2px;font-weight:750;display:flex}.empty-state{border:1px dashed var(--theme-border);text-align:center;border-radius:17px;margin:14px 0;padding:25px 18px}.empty-state>span{font:700 11px var(--font-mono);color:var(--theme-accent)}.empty-state h3{margin:8px 0 3px}.empty-state p{color:var(--muted);margin:0;font-size:12px}.start-card{border:1px solid var(--line);background:var(--theme-surface);border-radius:20px;margin-top:32px;padding:24px 18px}.start-card h2{letter-spacing:-.045em;margin:7px 0 24px;font-size:30px}.start-card label{margin:0 0 7px;font-size:11px;font-weight:750;display:block}.start-card input,.sheet-search{border:1px solid var(--line);background:var(--theme-input);border-radius:12px;outline:none;width:100%;min-height:50px;padding:0 13px}.start-card input:focus,.sheet-search:focus{border-color:var(--theme-accent);box-shadow:0 0 0 3px var(--theme-accent-soft)}.start-card>p:not(.date-label){color:var(--muted);margin:12px 0 24px;font-size:12px;line-height:1.5}.workout-name-input{width:min(320px,65vw);color:var(--ink);letter-spacing:-.055em;background:0 0;border:0;border-bottom:1px solid #0000;outline:0;margin:0;padding:0;font-size:32px;font-weight:760;line-height:1.1}.workout-name-input:focus{border-bottom-color:var(--theme-accent)}.exercise-actions{flex-wrap:wrap;gap:6px;margin:-8px 0 12px 37px;display:flex}.exercise-actions button{border:1px solid var(--line);background:var(--theme-surface-raised);min-width:29px;color:var(--muted);border-radius:8px;padding:5px 8px;font-size:10px;font-weight:700}.exercise-actions button:hover{border-color:var(--theme-accent);color:var(--theme-accent)}.exercise-actions button:last-child{color:var(--theme-danger);margin-left:auto}.exercise-actions button:disabled{opacity:.3}.set-header.set-grid,.set-row.set-grid{grid-template-columns:28px repeat(3,minmax(0,1fr)) 40px 26px;gap:5px}.set-row .remove-set{width:26px;height:38px;color:var(--theme-danger);background:0 0;border:0;font-size:19px}.sheet-search{margin:0 0 8px}.summary-four{grid-template-columns:1fr 1fr;margin-bottom:14px}.saved-exercise{margin-bottom:12px}.saved-exercise .exercise-title{grid-template-columns:37px 1fr;margin-bottom:13px}.saved-set-head,.saved-set{text-align:center;grid-template-columns:34px 1fr 1fr 1fr 1.2fr;align-items:center;gap:5px;display:grid}.saved-set-head{color:var(--theme-text-secondary);letter-spacing:.07em;padding-bottom:6px;font-size:9px;font-weight:800}.saved-set{border-top:1px solid var(--theme-border);min-height:39px;font-size:12px}.saved-set strong{color:var(--muted)}.saved-set em{color:var(--theme-accent);font-size:10px;font-style:normal;font-weight:750}.notes-card{border:1px solid var(--line);background:var(--theme-surface);border-radius:14px;margin:12px 0;padding:16px}.notes-card p:last-child{color:var(--theme-text);white-space:pre-wrap;margin:7px 0 0;font-size:13px;line-height:1.5}.detail-home{margin-top:16px}.delete-workout{border:1px solid var(--theme-danger);width:100%;min-height:48px;color:var(--theme-danger);background:0 0;border-radius:14px;margin-top:10px;font-weight:800}.delete-workout:hover{background:var(--theme-danger)}@supports (color:color-mix(in lab, red, red)){.delete-workout:hover{background:color-mix(in srgb, var(--theme-danger) 10%, transparent)}}.dialog-backdrop{z-index:50;background:#000000b8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.delete-dialog{border:1px solid var(--theme-border);background:var(--theme-surface-raised);border-radius:18px;width:min(100%,420px);padding:22px;box-shadow:0 24px 70px #00000080}.delete-dialog h2{margin:7px 0 9px;font-size:23px}.delete-dialog>p:last-of-type{color:var(--theme-text-secondary);margin:0;font-size:13px;line-height:1.55}.dialog-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:20px;display:grid}.dialog-actions button{border-radius:12px;min-height:48px;font-weight:800}.dialog-cancel{border:1px solid var(--theme-border);background:var(--theme-input);color:var(--theme-text)}.dialog-delete{background:var(--theme-danger);color:var(--theme-background);border:0}.dialog-actions button:disabled{opacity:.65}.edit-workout{border:1px solid var(--theme-accent);background:var(--theme-accent-soft);width:100%;min-height:48px;color:var(--theme-accent-hover);border-radius:14px;margin-top:16px;font-weight:800}.completed-edit-heading{gap:7px;margin-bottom:16px;display:grid}.completed-edit-heading label{color:var(--theme-text-secondary);letter-spacing:.08em;text-transform:uppercase;margin-top:4px;font-size:10px;font-weight:800}.completed-edit-heading input{border:1px solid var(--theme-border);background:var(--theme-input);border-radius:12px;outline:none;width:100%;min-height:48px;padding:0 13px}.completed-edit-heading input:focus{border-color:var(--theme-accent);box-shadow:0 0 0 3px var(--theme-accent-soft)}.completed-edit-heading .workout-name-input{font-size:24px}.completed-edit-heading>p:last-child{color:var(--theme-text-secondary);margin:2px 0 0;font-size:11px}.completed-edit-actions{grid-template-columns:1fr 1.4fr;gap:10px;margin-top:12px;display:grid}.completed-edit-actions button{min-height:52px}.edit-cancel{border:1px solid var(--theme-border);background:var(--theme-input);color:var(--theme-text);border-radius:14px;font-weight:800}.completed-edit-actions .finish{margin:0}.pwa-notices{z-index:45;right:max(12px, env(safe-area-inset-right));bottom:max(12px, env(safe-area-inset-bottom));pointer-events:none;gap:8px;width:min(420px,100vw - 24px);display:grid;position:fixed}.offline-indicator{border:1px solid var(--theme-border);background:var(--theme-surface-raised);color:var(--theme-text-secondary);box-shadow:0 8px 24px var(--theme-shadow);pointer-events:auto;border-radius:999px;justify-self:end;align-items:center;gap:7px;padding:8px 11px;font-size:11px;font-weight:800;display:flex}.offline-indicator span{background:var(--theme-danger);border-radius:50%;width:7px;height:7px}.pwa-notice{border:1px solid var(--theme-border);background:var(--theme-surface-raised);box-shadow:0 12px 32px var(--theme-shadow);pointer-events:auto;border-radius:13px;justify-content:space-between;align-items:center;gap:12px;padding:12px 13px;display:flex}.pwa-notice strong{color:var(--theme-text);font-size:12px}.pwa-notice p{color:var(--theme-text-secondary);margin:3px 0 0;font-size:11px;line-height:1.35}.pwa-notice button{border:1px solid var(--theme-accent);background:var(--theme-accent-soft);min-height:36px;color:var(--theme-accent-hover);border-radius:9px;flex:none;padding:7px 10px;font-size:11px;font-weight:800}.pwa-notice button:disabled{cursor:not-allowed;border-color:var(--theme-border);color:var(--theme-text-secondary);opacity:.72}.pwa-error{border-color:var(--theme-danger)}.pwa-error strong{color:var(--theme-danger)}.recovery-link{border-top:1px solid var(--theme-border);margin-top:0}.recovery-stats{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px;display:grid}.recovery-stats div{border:1px solid var(--theme-border);background:var(--theme-surface);text-align:center;border-radius:13px;padding:13px 9px}.recovery-stats span{color:var(--theme-text-secondary);letter-spacing:.07em;text-transform:uppercase;font-size:9px;font-weight:800;display:block}.recovery-stats strong{font:750 14px var(--font-mono);margin-top:5px;display:block}.recovery-card{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:16px;margin-bottom:12px;padding:17px}.recovery-card h3{margin:0;font-size:16px}.recovery-card>p{color:var(--theme-text-secondary);margin:6px 0 14px;font-size:12px;line-height:1.5}.recovery-action{border:1px solid var(--theme-accent);background:var(--theme-accent-soft);width:100%;min-height:46px;color:var(--theme-accent-hover);border-radius:12px;font-weight:800}.recovery-action:disabled{cursor:not-allowed;opacity:.45}.file-action{place-items:center;display:grid}.file-action input{clip:rect(0,0,0,0);width:1px;height:1px;position:absolute;overflow:hidden}.import-preview{border:1px solid var(--theme-border);background:var(--theme-input);border-radius:12px;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;padding:12px;display:grid}.import-preview.is-valid{border-color:var(--theme-accent)}.import-preview.is-invalid{border-color:var(--theme-danger)}.import-preview div{min-width:0}.import-preview span{color:var(--theme-text-secondary);text-transform:uppercase;font-size:9px;font-weight:800;display:block}.import-preview strong{overflow-wrap:anywhere;margin-top:3px;font-size:11px;display:block}.preview-wide,.preview-errors{grid-column:1/-1}.preview-errors{color:var(--theme-danger);margin:3px 0 0;padding-left:18px;font-size:11px;line-height:1.45}.active-conflict{border:1px solid var(--theme-accent);border-radius:12px;margin:12px 0 0;padding:12px}.active-conflict legend{color:var(--theme-accent-hover);padding:0 5px;font-size:11px;font-weight:800}.active-conflict p{color:var(--theme-text-secondary);margin:0 0 9px;font-size:11px}.active-conflict label{align-items:start;gap:8px;padding:7px 0;font-size:12px;display:flex}.active-conflict input{accent-color:var(--theme-accent)}.recovery-confirm{min-height:48px;margin-top:12px}.recovery-dialog .recovery-approve{background:var(--theme-accent);color:var(--theme-text-on-accent)}.performance-list{gap:12px;display:grid}.performance-list article{border:1px solid var(--line);background:var(--theme-surface);border-radius:16px;padding:17px}.performance-list article>h3{margin:3px 0 13px;font-size:15px}.performance-list article>div{border-top:1px solid var(--theme-border);grid-template-columns:1fr 1fr auto;gap:10px;padding:9px 0;font-size:12px;display:grid}.performance-list article>div strong{font:700 13px var(--font-mono)}.performance-list article>div span{color:var(--muted)}.performance-list article>div em{color:var(--muted);font-size:10px;font-style:normal}.muted-set{opacity:.45}.routine-entry{border:1px solid var(--line);background:var(--theme-surface);border-radius:16px;grid-template-columns:1fr auto;align-items:center;gap:14px;margin-top:14px;padding:18px;display:grid}.routine-entry h2{margin:5px 0;font-size:20px}.routine-entry p:last-child{color:var(--muted);margin:0;font-size:11px;line-height:1.45}.routine-entry button{border:1px solid var(--theme-accent);background:var(--theme-accent-soft);min-height:46px;color:var(--theme-accent-hover);border-radius:11px;padding:0 13px;font-weight:800}.routine-entry button span{margin-left:6px}.routine-list,.routine-preview-list{gap:10px;display:grid}.routine-card{border:1px solid var(--line);background:var(--theme-surface);width:100%;color:var(--ink);text-align:left;border-radius:15px;grid-template-columns:1fr auto;align-items:center;gap:14px;padding:17px;display:grid}.routine-card h3{margin:0;font-size:16px}.routine-card p{color:var(--muted);margin:5px 0 8px;font-size:11px;line-height:1.45}.routine-card span{color:var(--theme-accent-hover);text-transform:uppercase;letter-spacing:.06em;font-size:10px;font-weight:800}.routine-card b{color:var(--theme-accent);font-size:24px}.routine-preview-heading{border:1px solid var(--line);background:var(--theme-surface);border-radius:16px;margin-bottom:14px;padding:18px}.routine-preview-heading label{color:var(--muted);text-transform:uppercase;letter-spacing:.07em;margin:10px 0 6px;font-size:10px;font-weight:800;display:block}.routine-preview-heading input{border:1px solid var(--line);background:var(--theme-input);width:100%;min-height:48px;color:var(--ink);border-radius:11px;padding:0 12px;font-size:20px;font-weight:750}.routine-preview-heading>p:last-child{color:var(--muted);margin:8px 0 0;font-size:11px}.routine-preview-row{border:1px solid var(--line);background:var(--theme-surface);border-radius:14px;grid-template-columns:31px 1fr auto;align-items:center;gap:10px;padding:14px;display:grid}.routine-preview-row.is-unavailable{border-color:var(--theme-danger)}.routine-order{color:var(--theme-accent);font:750 12px var(--font-mono)}.routine-preview-row h3{margin:0;font-size:14px}.routine-preview-row p{color:var(--ink);font:650 11px var(--font-mono);margin:4px 0}.routine-preview-row span{color:var(--muted);font-size:10px;display:block}.routine-row-actions{gap:6px;display:grid}.routine-row-actions button{border:1px solid var(--line);background:var(--theme-input);min-height:32px;color:var(--ink);border-radius:8px;padding:5px 8px;font-size:10px;font-weight:750}.routine-row-actions button:last-child{color:var(--theme-danger)}.routine-start{margin-top:14px}.routine-start:disabled{cursor:not-allowed;opacity:.45}.routine-blocked{color:var(--theme-danger);text-align:center;margin:8px 0 0;font-size:11px}.custom-workout-entry{border-color:var(--theme-accent)}@supports (color:color-mix(in lab, red, red)){.custom-workout-entry{border-color:color-mix(in srgb, var(--theme-accent) 35%, var(--line))}}.custom-collection-heading .finish{width:100%;margin-top:14px}.custom-workout-list,.custom-builder-list{gap:10px;display:grid}.custom-workout-card{border:1px solid var(--line);background:var(--theme-surface);width:100%;color:var(--ink);text-align:left;border-radius:15px;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:17px;display:grid}.custom-workout-card h3{margin:0;font-size:16px}.custom-workout-card p{color:var(--muted);margin:5px 0 0;font-size:11px}.custom-workout-card>span{color:var(--theme-accent);font-size:22px}.custom-unavailable{margin-top:5px;font-size:10px;font-weight:800;display:block;color:var(--theme-danger)!important}.custom-builder-heading{border:1px solid var(--line);background:var(--theme-surface);border-radius:16px;gap:7px;margin-bottom:14px;padding:18px;display:grid}.custom-builder-heading label{color:var(--muted);letter-spacing:.07em;text-transform:uppercase;font-size:10px;font-weight:800}.custom-builder-heading input{border:1px solid var(--line);background:var(--theme-input);min-height:48px;color:var(--ink);border-radius:11px;padding:0 12px;font-size:20px;font-weight:750}.custom-builder-heading>p:last-child{color:var(--muted);margin:0;font-size:11px}.custom-builder-card{border:1px solid var(--line);background:var(--theme-surface);border-radius:15px;padding:15px}.custom-builder-title{grid-template-columns:30px 1fr;align-items:center;gap:9px;display:grid}.custom-builder-title>span{color:var(--theme-accent);font:750 12px var(--font-mono)}.custom-builder-title h3{margin:0;font-size:15px}.custom-builder-title p{color:var(--muted);margin:4px 0 0;font-size:10px}.custom-prescription-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:13px;display:grid}.custom-prescription-grid label{color:var(--muted);text-transform:uppercase;font-size:9px;font-weight:800}.custom-prescription-grid input{border:1px solid var(--line);background:var(--theme-input);width:100%;min-height:42px;color:var(--ink);font:700 13px var(--font-mono);border-radius:9px;margin-top:5px;padding:0 8px}.custom-builder-actions,.custom-preview-actions{grid-template-columns:auto auto 1fr;gap:7px;margin-top:11px;display:grid}.custom-builder-actions button,.custom-preview-actions button{border:1px solid var(--line);background:var(--theme-input);min-height:38px;color:var(--ink);border-radius:9px;padding:7px 10px;font-size:10px;font-weight:800}.custom-builder-actions button:last-child,.custom-preview-actions .danger-link{color:var(--theme-danger)}.custom-preview-actions{grid-template-columns:1fr 1fr}.laterality-actions{gap:5px;display:grid}.laterality-actions button{min-height:31px}.dialog-error{background:var(--theme-danger-soft);color:var(--theme-danger);border-radius:9px;padding:9px;font-size:11px}.routine-replacement-choice{border-bottom:1px solid var(--line);padding:12px 4px}.routine-replacement-choice>div:first-child strong,.routine-replacement-choice>div:first-child span{display:block}.routine-replacement-choice>div:first-child strong{font-size:13px}.routine-replacement-choice>div:first-child span{color:var(--muted);margin-top:3px;font-size:10px}.routine-replacement-choice>.choice-add{text-align:left}.exercise-title .substitution-label{color:var(--theme-accent-hover);font-size:10px;font-weight:750}.substitution-source{border:1px solid var(--theme-accent);background:var(--theme-accent-soft);border-radius:12px;margin:12px 0;padding:12px}.substitution-source span,.substitution-source strong,.substitution-source p{display:block}.substitution-source span{color:var(--theme-accent-hover);letter-spacing:.08em;font-size:9px;font-weight:850}.substitution-source strong{margin-top:4px}.substitution-source p{color:var(--theme-text-secondary);margin:3px 0 0;font-size:11px}.substitution-picker .routine-replacement-choice{grid-template-columns:1fr auto;align-items:center;gap:10px;display:grid}.substitution-picker button:disabled{cursor:not-allowed;opacity:.45}.substitution-dialog>p:not(.eyebrow){color:var(--theme-text-secondary);margin:8px 0 0;font-size:13px;line-height:1.5}.substitution-dialog .recovery-approve{background:var(--theme-accent);color:var(--theme-text-on-accent);border:0}@media (max-width:410px){.list-stats span{display:none}.workout-name-input{width:62vw;font-size:28px}.set-header.set-grid,.set-row.set-grid{grid-template-columns:24px repeat(3,minmax(0,1fr)) 39px 22px;gap:4px}.set-row .remove-set{width:22px}}@media (max-width:480px){.routine-entry{grid-template-columns:1fr}.routine-entry button{width:100%}.routine-preview-row{grid-template-columns:27px 1fr}.routine-row-actions{grid-column:2;grid-template-columns:1fr 1fr}.custom-preview-actions{grid-template-columns:1fr}}@media (max-width:410px){.rest-bar{grid-template-columns:1fr}.rest-readout{justify-content:space-between;align-items:baseline;display:flex}.rest-controls{justify-content:stretch}.rest-controls button{flex:1;padding-inline:3px}}.sheet.exercise-picker{max-height:min(88dvh,760px);overflow-y:auto}.sheet-dismiss{cursor:default;background:0 0;border:0;width:100%;height:100%;position:absolute;inset:0}.sheet.exercise-picker{z-index:1;position:relative}.set-header.set-grid.unilateral,.set-row.set-grid.unilateral{grid-template-columns:24px 58px repeat(3,minmax(0,1fr)) 38px 22px;gap:4px}.set-row select{border:1px solid var(--line);background:var(--theme-input);width:100%;min-width:0;height:43px;color:var(--ink);border-radius:10px;padding:0 4px;font-size:10px;font-weight:700}.picker-filters{z-index:2;background:var(--paper);grid-template-columns:1fr 1fr;gap:7px;padding:6px 0 10px;display:grid;position:sticky;top:-12px}.picker-filters select{border:1px solid var(--line);background:var(--theme-input);width:100%;min-width:0;height:42px;color:var(--ink);border-radius:10px;padding:0 9px;font-size:11px}.picker-section,.custom-create{margin-top:15px}.picker-section h3,.custom-create h3{color:var(--muted);text-transform:uppercase;letter-spacing:.1em;margin:0 0 5px;font-size:10px}.exercise-choice{border-bottom:1px solid var(--line);grid-template-columns:1fr 43px;align-items:stretch;display:grid}.choice-main,.favorite-toggle,.custom-create button{color:var(--ink);background:0 0;border:0}.choice-main{text-align:left;min-width:0;padding:11px 4px}.choice-main strong,.choice-main span{display:block}.choice-main strong{font-size:13px}.choice-main span{color:var(--muted);margin-top:3px;font-size:10px}.choice-add{border:1px solid var(--line);background:var(--theme-surface-raised);width:100%;color:var(--theme-accent);text-align:left;border-radius:8px;margin-top:8px;padding:7px 9px;font-size:10px;font-weight:750}.laterality-choice{grid-template-columns:1fr 1fr;gap:6px;margin-top:9px;display:grid}.laterality-choice button{border:1px solid var(--theme-border);background:var(--theme-surface-raised);min-height:34px;color:var(--theme-text);border-radius:9px;font-size:10px;font-weight:750}.laterality-choice button:hover,.laterality-choice button:last-child{border-color:var(--theme-accent);background:var(--theme-accent-soft);color:var(--theme-accent-hover)}.favorite-toggle{color:var(--theme-accent);font-size:20px}.custom-create button{border:0;border-bottom:1px solid var(--line);width:100%;color:var(--theme-text);text-align:left;background:0 0;justify-content:space-between;gap:10px;padding:12px 4px;font-size:12px;font-weight:700;display:flex}.custom-create button span{color:var(--theme-accent);font-size:10px}.picker-empty{text-align:center;padding:20px 0}.saved-set-head,.saved-set{grid-template-columns:28px .8fr 1fr .7fr .7fr 1fr;gap:4px}.saved-set-head{letter-spacing:.05em;font-size:8px}.saved-set{font-size:11px}@media (max-width:410px){.set-header.set-grid.unilateral,.set-row.set-grid.unilateral{grid-template-columns:20px 48px repeat(3,minmax(0,1fr)) 36px 18px;gap:3px}.set-row.set-grid.unilateral input{font-size:12px}}.auth-shell{color:#f6f7f8;background:#15181d;place-items:center;min-height:100svh;padding:24px;display:grid}.auth-card{background:#20242b;border:1px solid #343a43;border-radius:24px;width:min(100%,440px);padding:28px;box-shadow:0 22px 60px #00000047}.auth-card h1{margin:8px 0;font-size:clamp(2rem,8vw,3rem)}.auth-card>p:not(.eyebrow){color:#b9c0ca;line-height:1.5}.auth-card form{gap:10px;margin-top:20px;display:grid}.auth-card label{color:#dce1e7;text-transform:uppercase;letter-spacing:.08em;margin-top:6px;font-size:.82rem;font-weight:700}.auth-card input{color:#fff;width:100%;font:inherit;background:#171a1f;border:1px solid #48515e;border-radius:12px;padding:13px 14px}.auth-card input:focus{outline-offset:2px;outline:2px solid #a9e34b}.auth-tabs{background:#171a1f;border-radius:14px;grid-template-columns:1fr 1fr;gap:6px;margin-top:22px;padding:5px;display:grid}.auth-tabs button{color:#abb3bf;background:0 0;border:0;border-radius:10px;padding:10px;font-weight:700}.auth-tabs button[aria-pressed=true]{color:#fff;background:#343a43}.auth-message{background:#263628;border-radius:10px;padding:11px 12px;color:#c9f3b4!important}.auth-message.auth-error{background:#47272a;color:#ffd2d2!important}.account-claim-confirm{border:1px solid #48515e;border-radius:12px;align-items:flex-start;gap:10px;margin:20px 0;padding:12px;line-height:1.4;display:flex;text-transform:none!important;letter-spacing:0!important}.account-claim-confirm input{width:auto;margin-top:3px}.auth-secondary{color:#fff;background:0 0;border:1px solid #58616e;border-radius:12px;width:100%;margin-top:10px;padding:12px}.auth-session{color:#dce1e7;background:#20242b;justify-content:center;align-items:center;gap:12px;padding:8px 16px;font-size:.82rem;display:flex}.auth-session button{color:#fff;background:0 0;border:1px solid #58616e;border-radius:9px;padding:7px 11px}.sync-safety-status{border-bottom:1px solid var(--line);background:var(--theme-surface);color:var(--muted);justify-content:center;align-items:baseline;gap:8px;padding:7px 16px;font-size:.72rem;display:flex}.sync-safety-status strong{color:var(--text);font-size:.74rem}@media (max-width:560px){.auth-session{flex-direction:column;align-items:flex-start}.sync-safety-status{flex-direction:column;align-items:flex-start;gap:2px}}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}
