.workout-editor-dialog .set-table{gap:0}.workout-editor-dialog .set-editor-row,.workout-editor-dialog .set-table-head{gap:4px;min-width:0}.workout-editor-dialog .set-editor-row{min-height:52px;position:relative}.workout-editor-dialog .set-input-target{min-width:0;height:44px;display:flex;align-items:center;cursor:text}.workout-editor-dialog .set-input-target input{width:100%;min-width:0;min-height:32px;height:32px;padding:0 2px;font-size:14px;background:#102d3f}.workout-editor-dialog .set-editor-row select{width:28px;min-height:44px;padding:0;text-align:center;font-size:14px}.workout-editor-dialog .set-rpe-button{height:44px;min-height:44px;padding:0;gap:2px;position:relative;isolation:isolate;font-size:14px}.workout-editor-dialog .set-rpe-button:before{content:"";position:absolute;inset:6px 0;background:#102d3f;border-radius:6px;z-index:-1}.workout-editor-dialog .set-complete{height:44px;min-height:44px;width:32px;padding:0}.workout-editor-dialog .set-complete svg{width:32px;height:32px;border-radius:6px}.workout-editor-dialog .set-previous{width:48px;min-width:0;white-space:normal;text-align:center;font-size:11px;line-height:15px;color:#8ca1b2;overflow-wrap:anywhere}.workout-editor-dialog .set-previous small{display:block;font-size:11px}.set-reveal-accessible{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.set-reveal-accessible:not(:focus-visible){min-width:1px;min-height:1px}.set-reveal-accessible:focus-visible{clip-path:none;left:0;right:0;width:100%;height:44px;z-index:2;color:#ff9b9b;background:#102d3f;border:2px solid #6ee7c7;border-radius:6px}@media(pointer:coarse){.workout-editor-dialog .set-input-target input{font-size:16px}}.routine-folders{display:grid;gap:20px;width:100%;text-align:left}.routine-folders>button{justify-self:start}.routine-folder{display:grid;gap:12px;min-width:0}.routine-folder-heading,.routine-folder-toggle{display:flex;align-items:center;gap:8px}.routine-folder-toggle{flex:1;min-width:0;min-height:44px;text-align:left;color:var(--muted-foreground)}.routine-folder-toggle>svg{width:16px;flex-shrink:0}.routine-folder-toggle h3{font-size:.9rem;font-weight:500;overflow-wrap:anywhere}.routine-folder-toggle:focus-visible{outline:2px solid var(--ring);outline-offset:4px;border-radius:6px}.routine-compact-card{padding:18px;gap:12px;border-radius:18px}.routine-compact-heading{display:flex;justify-content:space-between;align-items:start;gap:8px}.routine-compact-heading h3{font-weight:650;font-size:1rem;overflow-wrap:anywhere;min-width:0;padding-top:8px}.routine-exercise-summary{color:var(--muted-foreground);font-size:.88rem;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.routine-compact-card>button{width:100%;margin-top:auto;min-height:44px}.routine-menu{display:grid;border-radius:14px;overflow:hidden;background:var(--card)}.routine-menu-row{justify-content:flex-start;width:100%;min-height:56px;padding:16px;border-radius:0;border-bottom:1px solid var(--border);white-space:normal;text-align:left}.routine-menu-row.destructive{color:var(--destructive)}.routine-menu-row>span:last-child{margin-left:auto}.routine-library-dialog{max-height:calc(100dvh - 32px);overflow-y:auto}.routine-reorder-dialog{display:flex;flex-direction:column;min-height:min(650px,calc(100dvh - 32px))}.routine-reorder-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:8px 0}.routine-reorder-row>span{min-width:0;overflow-wrap:anywhere}.routine-reorder-done{width:100%;min-height:48px;margin-top:auto;position:sticky;bottom:0;flex-shrink:0}.rest-duration-select{display:block;width:100%;min-width:0;min-height:44px;padding:4px 12px;border:1px solid var(--input);border-radius:6px;background:var(--background);color:var(--foreground);font-size:14px;box-shadow:0 1px 2px #0000000d}.rest-duration-select:focus-visible{outline:none;border-color:var(--ring);box-shadow:0 0 0 3px color-mix(in srgb,var(--ring) 50%,transparent)}.rest-duration-select:disabled{pointer-events:none;cursor:not-allowed;opacity:.5}@media(max-width:760px){.rest-duration-select{font-size:16px}}.workout-results-dialog{max-width:680px!important;max-height:calc(100dvh - 32px);overflow:hidden;display:flex!important;flex-direction:column}.workout-results-content{overflow:auto;display:grid;grid-template-columns:minmax(0,1fr);gap:22px;min-height:0;min-width:0}.workout-results-content>*{min-width:0}.workout-results-content h3{font-size:18px;font-weight:700}.workout-result-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.workout-result-metrics div{padding:12px;background:var(--surface,#0d2434);border-radius:14px}.workout-result-metrics dt,.workout-results-hint{font-size:12px;color:#8ca1b2}.workout-result-metrics dd{font-size:19px;font-weight:700;margin-top:6px}.workout-achievement-carousel{display:flex;width:100%;min-width:0;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:10px 0}.workout-achievement-carousel article{flex:0 0 260px;scroll-snap-align:start;border:1px solid #213b4d;background:#0d2434;padding:18px;border-radius:18px;display:flex;flex-direction:column;gap:12px}.workout-achievement-carousel h4{font-weight:700}.workout-achievement-carousel strong{font-size:24px;color:#6ee7c7}.workout-achievement-carousel p{color:#8ca1b2;font-size:13px;flex:1}.workout-result-transcript{white-space:pre-wrap;font:inherit;font-size:14px;line-height:1.7;background:#0d2434;border-radius:14px;padding:16px;margin-top:10px}.workout-results-actions{display:flex;flex-wrap:wrap;gap:8px}.workout-confetti{position:fixed;inset:0;z-index:100;pointer-events:none;overflow:hidden}.workout-confetti i{position:absolute;width:7px;height:11px;opacity:0;animation:workout-confetti-fall 3.8s linear forwards}@keyframes workout-confetti-fall{0%{transform:translateY(-15px) rotate(0deg);opacity:1}85%{opacity:1}to{transform:translateY(110vh) rotate(540deg);opacity:0}}@media (prefers-reduced-motion:reduce){.workout-confetti{display:none}}@media (max-width:480px){.workout-result-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.workout-results-dialog{padding:18px!important}}.workout-confetti i:nth-child(3n){width:5px;height:7px;border-radius:4px}@keyframes workout-confetti-fall-left{0%{transform:translateY(-15px) rotate(0deg);opacity:1}85%{opacity:1}to{transform:translate(-35px,110vh) rotate(-540deg);opacity:0}}.workout-achievement-carousel ul{display:grid;gap:6px;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.active-workout-bar{position:fixed;bottom:112px;left:calc(244px + 24px);right:24px;z-index:40;max-width:900px;margin:auto;border:1px solid #264351;background:#102d3f;border-radius:16px;padding:10px 14px;box-shadow:0 8px 30px #0008;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.active-workout-bar>button:first-child{border:0;background:transparent;color:#f4f8fb;flex:1;min-width:0;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}.active-workout-bar strong{font-size:.95rem}.active-workout-bar p,.active-workout-bar span{color:#6ee7c7;font-size:.8rem;margin:0}.active-rest-banner{position:fixed;left:50%;transform:translateX(-50%);bottom:24px;z-index:60;display:flex;align-items:center;gap:16px;background:#153c4c;color:#6ee7c7;border:1px solid #6ee7c777;border-radius:16px;padding:6px 16px;box-shadow:0 8px 30px #0008}.workout-finish-dialog{max-width:520px!important}.exercise-rest-label{display:flex;align-items:center;gap:12px;color:#8ca1b2;font-size:.8rem}.exercise-rest-label input{max-width:100px;text-align:center}.set-editor-row>.set-complete{width:100%;padding:4px}@media(max-width:760px){.active-workout-bar{left:12px;right:12px;bottom:calc(104px + env(safe-area-inset-bottom));padding:8px 12px}.active-rest-banner{bottom:calc(12px + env(safe-area-inset-bottom));min-width:220px}}.active-workout-summary{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.active-workout-summary span,.active-workout-summary strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.active-workout-summary span{color:#8ca1b2;font-size:.75rem}.active-workout-countdown{flex-shrink:0;padding:7px 10px;border-radius:10px;background:#061b27;font-variant-numeric:tabular-nums;font-weight:600}.active-workout-bar>button:first-child>svg{flex-shrink:0;color:#6ee7c7}.workout-rest-strip{position:sticky;top:0;z-index:3;display:block;padding:12px;border:1px solid #264351;border-radius:18px;background:#102d3f;color:#6ee7c7}.workout-rest-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}.workout-rest-heading strong{flex:1;font-size:1.4rem;font-variant-numeric:tabular-nums}.workout-rest-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#061b27;flex-shrink:0}.workout-rest-caption{color:#8ca1b2;font-size:.65rem;font-weight:600;letter-spacing:1px;text-transform:uppercase}.workout-rest-controls{display:flex;align-items:center;width:100%;gap:8px}.workout-rest-controls button{flex:1;min-height:44px;padding-inline:8px;border:1px solid #264351;border-radius:12px;background:#061b27;font-variant-numeric:tabular-nums}.workout-rest-controls button:hover{background:#173c4b}.workout-rest-controls button:last-child{flex:1.25;border-color:transparent;background:transparent;color:#6ee7c7}.active-workout-bar .workout-rest-controls{flex-basis:100%}.workout-routine-prompt{max-width:min(420px,calc(100vw - 32px))!important;min-width:0;overflow-wrap:anywhere}.workout-routine-prompt input{min-width:0;width:100%}.workout-routine-prompt [tabindex="-1"]{outline:none}.workout-finish-actions{display:grid;gap:10px}.workout-finish-actions button{width:100%;min-height:44px;white-space:normal}.startup-choice{min-height:100dvh;display:flex;flex-direction:column;align-items:center;padding:max(32px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(32px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));background:var(--background);color:var(--foreground);text-align:center}.startup-choice__body{width:100%;max-width:424px;margin:auto 0}.startup-choice__mark{display:block;margin:0 auto 16px}.startup-choice h1{font-size:2rem;line-height:1.25;font-weight:700}.startup-choice__actions{display:grid;gap:24px;margin-top:32px}.startup-choice__actions button{width:100%;min-height:44px}.startup-choice__actions [data-slot=button][data-variant=default]:focus-visible{outline:2px solid var(--primary);outline-offset:2px;box-shadow:none}.startup-choice p{margin-top:8px;color:var(--muted-foreground);font-size:.875rem;line-height:1.25rem}.startup-choice p[role=alert]{color:var(--destructive)}.startup-choice__actions p[role=alert]{margin:0 0 8px}.startup-choice__body>button{margin-top:16px}@media (max-width:600px){.startup-choice h1{font-size:1.75rem;line-height:2.125rem}}