:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#131316;--surface-low:#1b1b1e;--surface:#1f1f22;--surface-mid:#2a2a2d;--surface-high:#353438;--border:#ffffff0e;--outline:#c5c9ae;--text:#e5e1e6;--muted:#c5c9ae;--primary:#cbf23c;--primary-bright:#cbf23c;--primary-soft:#cbf23c26;--on-primary:#586c00;--success:#cbf23c;--success-soft:#cbf23c24;--danger:#ffb4ab;--danger-soft:#93000a3d;--warning:#ffdda1;--warning-soft:#674b0047;--radius:20px;color:var(--text);background:var(--background);font-synthesis:none;text-rendering:optimizelegibility;-webkit-text-size-adjust:100%;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,system-ui,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%}html{background:var(--background)}body{background:var(--background);min-width:320px;color:var(--text);margin:0}button,input,select,textarea{font:inherit}button{-webkit-tap-highlight-color:transparent}button,summary,select,input,textarea{outline-color:var(--primary-bright)}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.025em;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,system-ui,sans-serif}h1{font-size:clamp(1.75rem,7vw,2.25rem);line-height:1.15}h2{font-size:1.25rem;line-height:1.25}h3{font-size:1rem;line-height:1.3}svg{flex:none}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.min-width-0{min-width:0}.muted{color:var(--muted);font-size:.875rem}.row{align-items:center;gap:.5rem;display:flex}.full-width{width:100%}.danger-text,.error-text{color:var(--danger)!important}.app-shell{min-height:100vh}.app-header{z-index:50;min-height:calc(64px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffffd1;border-bottom:1px solid #c1c6d759;grid-template-columns:44px 1fr 44px;align-items:center;display:grid;position:fixed;inset:0 0 auto;box-shadow:0 4px 20px #1f2a3d0b}.brand-wordmark{object-fit:contain;justify-self:center;width:min(42vw,154px);height:34px;display:block}.icon-button{width:44px;min-width:44px;height:44px;color:var(--primary);cursor:pointer;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;display:inline-flex;position:relative}.icon-button:active,.btn:active,.text-button:active{transform:scale(.97)}.icon-button:disabled{opacity:.35;cursor:not-allowed}.sync-button .status-dot{background:var(--success);border:2px solid #fff;border-radius:50%;width:8px;height:8px;position:absolute;bottom:7px;right:7px}.tabs{z-index:45;width:min(100%,720px);min-height:calc(76px + env(safe-area-inset-bottom));padding:4px max(8px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(8px, env(safe-area-inset-left));-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:#ffffffe6;border:1px solid #c1c6d761;border-bottom:0;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:50%;right:auto;transform:translate(-50%);box-shadow:0 -10px 30px #0000000b}.tabs button{color:#8a909a;cursor:pointer;background:0 0;border:0;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:64px;padding:7px 2px 5px;font-size:.69rem;font-weight:600;display:flex}.screen{width:min(100%,900px);padding:calc(96px + env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) calc(112px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));flex-direction:column;gap:22px;margin:0 auto;display:flex}.wide-screen{width:min(100%,1200px)}.page-intro{flex-direction:column;gap:8px;display:flex}.page-intro p{color:var(--muted);line-height:1.5}.compact-intro h1{font-size:1.5rem}.page-heading-row{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.btn{border:1px solid var(--border);background:var(--surface);min-height:46px;color:var(--primary);cursor:pointer;border-radius:14px;justify-content:center;align-items:center;gap:8px;padding:11px 18px;font-weight:700;transition:transform .15s,box-shadow .15s,background .15s;display:inline-flex}.btn.primary{border-color:var(--primary-bright);background:var(--primary-bright);color:#fff;box-shadow:0 5px 14px #0058bc29}.btn.primary:hover{background:var(--primary)}.btn.compact{min-height:40px;padding:8px 13px;font-size:.84rem}.btn.large{border-radius:17px;min-height:58px;font-size:1.06rem}.btn:disabled{opacity:.48;cursor:not-allowed;transform:none}.button-row{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.button-row>*{flex:140px}.text-button,.back-link{min-height:44px;color:var(--primary);cursor:pointer;background:0 0;border:0;padding:8px;font-weight:700}.text-button:disabled{opacity:.42;cursor:not-allowed;transform:none}.back-link{align-self:flex-start;align-items:center;gap:7px;margin:-8px 0;display:inline-flex}label{color:var(--muted);flex-direction:column;gap:7px;min-width:0;font-size:.78rem;font-weight:650;display:flex}input,select,textarea{border:1px solid var(--border);background:var(--surface-low);width:100%;min-width:0;min-height:46px;color:var(--text);border-radius:12px;padding:11px 13px;font-size:1rem;transition:border-color .15s,box-shadow .15s,background .15s}textarea{resize:vertical;line-height:1.45}input:focus,select:focus,textarea:focus{border-color:var(--primary-bright);background:#fff;outline:0;box-shadow:0 0 0 3px #0070eb1f}.grid-2,.grid-3{gap:12px;display:grid}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.card{border-radius:var(--radius);background:var(--surface);border:1px solid #cfd4e2a6;flex-direction:column;gap:16px;padding:20px;display:flex;box-shadow:0 10px 30px #1d273c0b}.empty{border-radius:var(--radius);color:var(--muted);text-align:center;background:#ffffff8c;padding:44px 20px;line-height:1.5}.error{background:var(--danger-soft);color:#8f1515;border:1px solid #f3c1be;border-radius:12px;padding:12px 14px;font-size:.86rem;line-height:1.45}.success-banner{background:var(--success-soft);color:var(--success);border:1px solid #bce3c5;border-radius:12px;align-items:center;gap:8px;padding:12px 14px;font-weight:650;display:flex}.day-chip,.status-chip{background:var(--primary-soft);color:var(--primary);border-radius:999px;align-self:flex-start;align-items:center;gap:5px;padding:5px 11px;font-size:.72rem;font-weight:750;display:inline-flex}.status-chip{background:var(--surface-high);color:var(--muted);white-space:nowrap}.status-chip.new{background:var(--primary-soft);color:var(--primary)}.login-screen{--login-accent:#cbf23c;--login-text:#e5e1e6;--login-muted:#c5c9ae;isolation:isolate;min-height:100svh;padding:max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));color:var(--login-text);background:#131316;justify-content:center;display:flex;position:relative;overflow-x:hidden}.login-glow{z-index:-1;pointer-events:none;filter:blur(62px);border-radius:999px;position:absolute}.login-glow-primary{background:#cbf23c1c;width:320px;height:288px;top:-92px;left:50%;transform:translate(-50%)}.login-glow-secondary{background:#00eefc0e;width:260px;height:260px;top:46%;right:-145px}.login-shell{flex-direction:column;width:min(100%,384px);display:flex}.login-brand{color:var(--login-text);text-align:center;flex-direction:column;align-items:center;padding:0 0 24px;display:flex}.login-logo-stage{width:80px;height:80px;position:relative}.login-logo-stage>span{filter:blur(14px);background:#cbf23c33;border-radius:24px;position:absolute;inset:-6px}.login-logo-stage img{object-fit:cover;border-radius:20px;width:80px;height:80px;display:block;position:relative;box-shadow:0 14px 32px #00000057}.login-wordmark{margin-top:16px}.login-wordmark h1{color:var(--login-text);letter-spacing:-.02em;justify-content:center;align-items:center;gap:4px;font-family:inherit;font-size:1.75rem;font-weight:700;line-height:2.125rem;display:flex}.login-wordmark h1 i{background:var(--login-accent);border-radius:50%;width:6px;height:6px;margin-top:16px;animation:2s ease-in-out infinite login-pulse;display:block;box-shadow:0 0 11px #cbf23c8c}.login-wordmark p{color:var(--login-muted);letter-spacing:.025em;margin-top:4px;font-size:.8125rem;font-weight:500;line-height:1.125rem}.login-badge{min-height:24px;color:var(--login-text);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#3534388c;border-radius:999px;align-items:center;gap:6px;margin-top:16px;padding:5px 12px;display:inline-flex}.login-badge svg{color:var(--login-accent)}.login-badge span{letter-spacing:.09em;text-transform:uppercase;font-size:.6875rem;font-weight:700;line-height:.875rem}.login-form{flex-direction:column;gap:20px;display:flex}.login-credentials{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:linear-gradient(#ffffff09,#0000 45%),#1f1f22c2;border:1px solid #ffffff06;border-radius:18px;flex-direction:column;gap:16px;padding:16px;display:flex;position:relative;overflow:hidden;box-shadow:0 18px 48px #00000038}.login-field{min-width:0;color:var(--login-muted);flex-direction:column;gap:6px;display:flex}.login-field-heading{justify-content:space-between;align-items:center;gap:10px;min-height:15px;padding:0 4px;display:flex}.login-field-heading>label{color:inherit;letter-spacing:.1em;text-transform:uppercase;font-size:.6875rem;font-weight:700;line-height:.875rem;display:block}.login-field-heading>svg{color:var(--login-accent)}.login-security-dots{align-items:center;gap:4px;display:flex}.login-security-dots i{background:var(--login-accent);border-radius:50%;width:6px;height:6px;display:block}.login-control{min-height:48px;color:var(--login-muted);background:#353438a8;border:1px solid #0000;border-radius:12px;align-items:center;padding:0 12px 0 14px;transition:border-color .18s,background .18s,box-shadow .18s;display:flex}.login-control:focus-within{background:#353438;border-color:#cbf23c47;box-shadow:0 0 0 3px #cbf23c12,0 7px 18px #00000029}.login-control>svg{margin-right:12px}.login-control input{min-height:46px;color:var(--login-text);box-shadow:none;background:0 0;border:0;border-radius:0;outline:0;padding:0;font-size:1rem;line-height:1.25rem}.login-control input:focus{box-shadow:none;background:0 0;border:0}.login-control input::placeholder{color:#c5c9ae66}.login-field-action{width:40px;height:44px;color:var(--login-muted);cursor:pointer;background:0 0;border:0;border-radius:10px;flex:none;place-items:center;margin-right:-8px;padding:0;display:grid}.login-field-action:hover{color:var(--login-text);background:#ffffff0a}.login-field-action:active{transform:scale(.9)}.login-separator{background:#45493594;width:100%;height:1px}.login-error{color:#ffdad6;background:#93000a33;border:1px solid #ffb4ab2e;border-radius:12px;margin-top:-4px;padding:11px 13px;font-size:.8125rem;line-height:1.25rem}.login-submit{background:var(--login-accent);color:#3f4e00;cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:52px;padding:0 18px;font-size:1.05rem;font-weight:750;transition:transform .18s,filter .18s,box-shadow .18s;display:inline-flex;box-shadow:0 10px 26px #00000040}.login-submit:hover{filter:brightness(1.04);box-shadow:0 12px 30px #0000004d}.login-submit:active{transform:scale(.98)}.login-submit:disabled{opacity:.66;cursor:wait;transform:none}.login-spinner{animation:.8s linear infinite login-spin}.login-note{color:var(--login-muted);opacity:.7;align-items:flex-start;gap:10px;margin-top:12px;padding:0 12px;display:flex}.login-note svg{flex:none;margin-top:2px}.login-note p{text-align:left;font-size:.8125rem;font-weight:500;line-height:1.125rem}.login-privacy-link{min-height:44px;color:var(--login-accent);justify-content:center;align-items:center;gap:7px;margin-top:-8px;font-size:.78rem;font-weight:700;text-decoration:none;display:inline-flex}.login-privacy-link:hover{text-underline-offset:3px;text-decoration:underline}@keyframes login-spin{to{transform:rotate(360deg)}}@keyframes login-pulse{50%{opacity:.45;transform:scale(.85)}}@media (height>=760px){.login-brand{padding-top:6px}}@media (height<=650px){.login-screen{padding-top:max(10px, env(safe-area-inset-top));padding-bottom:calc(20px + env(safe-area-inset-bottom))}.login-brand{padding-bottom:18px}.login-logo-stage,.login-logo-stage img{width:68px;height:68px}.login-logo-stage img{border-radius:18px}.login-wordmark,.login-badge{margin-top:10px}.login-form{gap:14px}.login-note{margin-top:6px}}@media (prefers-reduced-motion:reduce){.login-wordmark h1 i,.login-spinner{animation:none}}.account-row{background:var(--surface-low);border-radius:16px;align-items:center;gap:12px;padding:14px;display:flex}.account-avatar{background:var(--primary);color:#fff;border-radius:50%;place-items:center;width:44px;height:44px;font-family:inherit;font-weight:800;display:grid}.account-row>div{flex-direction:column;gap:3px;display:flex;text-align:left!important}.account-row span{color:var(--muted);font-size:.78rem}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#151b2761;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:22px;flex-direction:column;gap:18px;width:min(100%,500px);max-height:min(90vh,680px);padding:22px;display:flex;overflow:auto;box-shadow:0 30px 90px #0e193038}.modal-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.modal-head>div{flex-direction:column;gap:5px;display:flex}.sync-panel{background:var(--surface-low);color:var(--muted);border-radius:14px;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:12px;font-size:.8rem;display:flex}.sync-state{color:var(--success);font-weight:750}.legal-link{border:1px solid var(--border);min-height:48px;color:var(--primary);border-radius:14px;align-items:center;gap:10px;padding:12px 14px;font-weight:700;text-decoration:none;display:flex}.legal-link span{flex:1}.legal-link:hover{background:var(--surface-low)}.routine-actions{flex-wrap:wrap;gap:12px;display:flex}.routine-grid{grid-template-columns:minmax(0,1fr);gap:18px;display:grid}.routine-card{background:#fff;border:1px solid #dce0ecb8;border-radius:24px;flex-direction:column;gap:22px;min-width:0;padding:24px;display:flex;overflow:hidden;box-shadow:0 12px 34px #202c430e}.routine-card h2{overflow-wrap:anywhere;margin-top:12px;font-size:1.4rem}.train-card{justify-content:space-between;min-height:245px}.routine-meta{color:var(--muted);flex-wrap:wrap;gap:10px 18px;margin-top:12px;font-size:.88rem;display:flex}.routine-meta span{align-items:center;gap:6px;display:inline-flex}.library-card{position:relative}.card-accent{background:var(--primary-bright);width:4px;position:absolute;inset:0 auto 0 0}.routine-card-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.routine-menu{position:relative}.routine-menu summary{width:44px;height:44px;color:var(--muted);cursor:pointer;border-radius:50%;place-items:center;list-style:none;display:grid}.routine-menu summary::-webkit-details-marker{display:none}.menu-popover{z-index:15;border:1px solid var(--border);background:#fff;border-radius:13px;flex-direction:column;width:170px;padding:6px;display:flex;position:absolute;top:48px;right:0;box-shadow:0 16px 40px #1a263a26}.menu-popover button{min-height:42px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:8px;padding:8px 10px;display:flex}.routine-preview{flex-direction:column;display:flex}.routine-preview>div{border-bottom:1px solid var(--border);min-width:0;min-height:44px;color:var(--muted);grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px 4px;font-size:.87rem;display:grid}.routine-preview>div:last-child{border:0}.routine-preview span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.routine-preview small{font-variant-numeric:tabular-nums}.routine-preview .more-row{grid-template-columns:20px 1fr}.start-link{min-height:44px;color:var(--primary);cursor:pointer;background:0 0;border:0;align-self:flex-end;align-items:center;gap:5px;padding:8px 0 8px 14px;font-weight:750;display:inline-flex}.editor-screen{width:min(100%,760px)}.editor-basics{grid-template-columns:minmax(0,2fr) minmax(0,1fr);display:grid}.editor-items{flex-direction:column;gap:16px;display:flex}.routine-item-editor{gap:18px}.routine-item-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.routine-item-head>div:first-child{align-items:center;gap:10px;min-width:0;display:flex}.routine-item-head h2{overflow-wrap:anywhere;min-width:0;font-size:1rem}.item-number{background:var(--primary-soft);width:28px;height:28px;color:var(--primary);border-radius:50%;flex:none;place-items:center;font-size:.76rem;font-weight:750;display:grid}.sticky-actions{z-index:20;bottom:calc(84px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffeb;border:1px solid #cfd4e2b8;border-radius:18px;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:10px;padding:12px;display:grid;position:sticky;box-shadow:0 16px 44px #18243a21}.import-source-card{gap:20px}.file-drop{background:var(--surface-low);min-height:150px;color:var(--primary);text-align:center;cursor:pointer;border:1.5px dashed #aab6cb;border-radius:16px;justify-content:center;align-items:center;gap:7px;padding:24px}.file-drop span{color:var(--muted);font-size:.78rem;font-weight:500}.file-drop input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.or-divider{color:var(--muted);align-items:center;gap:12px;font-size:.75rem;display:flex}.or-divider:before,.or-divider:after{content:"";background:var(--border);flex:1;height:1px}.import-errors ul{margin:7px 0 0;padding-left:20px}.import-routine-list{flex-direction:column;gap:18px;display:flex}.import-routine-card.completed{border-color:#bce3c5}.import-routine-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.import-title-fields{flex:1;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px;display:grid}.conflict-box{background:var(--warning-soft);color:var(--warning);border:1px solid #efd79a;border-radius:14px;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:10px;padding:12px;display:grid}.conflict-box>div{flex-direction:column;gap:3px;display:flex}.conflict-box span{font-size:.78rem}.conflict-box select{background:#fff;grid-column:1/-1}.import-exercise-list{flex-direction:column;gap:14px;display:flex}.import-exercise{border:1px solid var(--border);background:#fbfcff;border-radius:15px;flex-direction:column;gap:12px;padding:16px;display:flex}.import-exercise-title{grid-template-columns:28px minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.import-exercise-title>span:first-child{background:var(--surface-high);width:28px;height:28px;color:var(--muted);border-radius:50%;place-items:center;margin-bottom:8px;font-size:.74rem;font-weight:750;display:grid}.import-exercise-title .status-chip{margin-bottom:8px}.inline-warning{background:var(--warning-soft);color:var(--warning);border-radius:10px;padding:8px 10px;font-size:.75rem;line-height:1.4}.import-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.exercise-form h2{font-size:1.1rem}.search-field{position:relative}.search-field>svg{z-index:1;color:var(--muted);position:absolute;top:14px;left:14px}.search-field input{background:#fff;padding-left:43px}.exercise-group{gap:0;padding:0;overflow:hidden}.section-title{background:var(--surface-low);justify-content:space-between;align-items:center;padding:18px 20px;display:flex}.section-title h2{font-size:1.05rem}.section-title span{color:var(--muted);font-size:.76rem}.exercise-list{flex-direction:column;display:flex}.exercise-row{border-top:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;padding:16px 16px 16px 20px;display:flex}.exercise-row>div{flex-direction:column;gap:4px;display:flex}.exercise-row strong{overflow-wrap:anywhere}.exercise-row span{color:var(--muted);font-size:.79rem}.exercise-row small{max-width:65ch;color:var(--muted);line-height:1.45}.workout-header{z-index:55;min-height:calc(64px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffffe0;border-bottom:1px solid #c1c6d759;grid-template-columns:52px minmax(0,1fr) 72px;align-items:center;display:grid;position:fixed;inset:0 0 auto;box-shadow:0 4px 18px #1c273b0a}.workout-title{flex-direction:column;align-items:center;gap:6px;min-width:0;display:flex}.workout-title strong{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-family:inherit;font-size:1.08rem;overflow:hidden}.workout-title>span{background:var(--surface-high);border-radius:99px;width:96px;height:4px;overflow:hidden}.workout-title i{border-radius:inherit;background:var(--primary-bright);height:100%;transition:width .2s;display:block}.workout-main{width:min(100%,760px);padding:calc(92px + env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) 30px max(14px, env(safe-area-inset-left));flex-direction:column;gap:18px;margin:0 auto;display:flex}.active-exercise-card{background:#fff;border-radius:25px;flex-direction:column;gap:16px;min-width:0;padding:22px;display:flex;box-shadow:0 14px 38px #202c430e}.active-exercise-head{justify-content:space-between;align-items:flex-start;gap:10px;min-width:0;display:flex}.active-exercise-head h1{overflow-wrap:anywhere;margin-top:10px;font-size:clamp(1.3rem,6vw,1.7rem)}.active-exercise-head p{color:var(--muted);margin-top:6px;font-size:.86rem;line-height:1.45}.exercise-note{background:var(--primary-soft);color:#384d6d;border-radius:12px;padding:11px 12px;font-size:.8rem;line-height:1.45}.active-exercise-card hr{border:0;border-top:1px solid var(--border);width:100%;margin:0}.focused-sets{flex-direction:column;gap:8px;display:flex}.focused-sets-head,.focused-set-row{grid-template-columns:40px repeat(3,minmax(0,1fr)) 40px;align-items:center;gap:6px;display:grid}.focused-sets-head{color:var(--muted);text-align:center;text-transform:uppercase;padding:0 6px;font-size:.66rem;font-weight:700}.focused-set-row{background:#fafbff;border:1px solid #0000;border-radius:15px;min-width:0;padding:7px 6px}.focused-set-row:focus-within{border-color:#0070eb47}.focused-set-row.done{background:#f5fbf6}.focused-set-row input{text-align:center;font-variant-numeric:tabular-nums;background:var(--surface-low);border:0;min-height:48px;padding:7px 3px}.focused-set-row.done input{color:var(--muted);background:#fff}.focused-set-number{font-variant-numeric:tabular-nums;flex-direction:column;align-items:center;gap:2px;min-width:0;display:flex}.focused-set-number strong{font-size:.84rem}.focused-set-number small{width:100%;color:var(--muted);text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:.5rem;overflow:hidden}.set-check{background:var(--surface-high);width:36px;height:36px;color:var(--muted);cursor:pointer;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.set-actions{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:9px;display:grid}.add-set-button,.remove-set-button{min-height:48px;color:var(--primary);cursor:pointer;background:0 0;border:1px dashed #b7bfd0;border-radius:13px;justify-content:center;align-items:center;gap:8px;font-weight:700;display:inline-flex}.remove-set-button{color:var(--danger);border-style:solid;border-color:#f1c9c8}.add-set-button:disabled,.remove-set-button:disabled,.set-check:disabled{opacity:.48;cursor:not-allowed}.next-exercise-card,.exercise-overview-item{width:100%;min-width:0;min-height:78px;color:var(--text);text-align:left;cursor:pointer;background:#fff;border:0;border-radius:20px;align-items:center;gap:13px;padding:14px;display:flex;box-shadow:0 10px 28px #202c430b}.overview-icon{background:var(--surface-low);width:48px;height:48px;color:var(--muted);border-radius:15px;flex:none;place-items:center;display:grid}.overview-copy{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.overview-copy small{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-size:.66rem;font-weight:750}.overview-copy strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.exercise-overview-list{flex-direction:column;gap:10px;display:flex}.summary-status{color:#695126;background:#fff8ea;border:1px solid #e1c9a1;border-radius:14px;padding:13px 15px;font-size:.86rem;line-height:1.45}.success-icon{color:var(--success)}.rest-timer{z-index:60;left:0;right:0;bottom:calc(14px + env(safe-area-inset-bottom));pointer-events:none;justify-content:center;padding:0 12px;display:flex;position:fixed}.rest-timer-inner{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);pointer-events:auto;background:#fffffff2;border:1px solid #cbd1e0bf;border-radius:999px;align-items:center;gap:8px;max-width:100%;padding:9px 10px 9px 14px;display:flex;box-shadow:0 18px 45px #16243b2e}.timer-icon{background:var(--primary-soft);width:34px;height:34px;color:var(--primary);border-radius:50%;place-items:center;display:grid}.timer-copy{text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;min-width:70px;padding:0 5px;display:flex}.timer-copy small{color:var(--muted);font-size:.64rem}.timer-copy strong{color:var(--primary);font-variant-numeric:tabular-nums;font-size:1.25rem;line-height:1.1}.timer-adjust,.timer-dismiss{background:var(--surface-high);width:34px;height:34px;color:var(--muted);cursor:pointer;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.timer-dismiss{background:0 0;width:28px;height:28px}.segmented{background:var(--surface-high);border-radius:999px;grid-template-columns:repeat(2,minmax(0,1fr));padding:4px;display:grid}.segmented button{min-height:42px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:8px 14px}.segmented button.active{color:var(--text);background:#fff;font-weight:650;box-shadow:0 4px 12px #1a243814}.history-session-list,.progress-view{flex-direction:column;gap:16px;display:flex}.session-card,.metric-card,.recent-progress-list{background:#fff;border:1px solid #d7dce999;border-radius:17px;overflow:hidden;box-shadow:0 10px 30px #1c283f0b}.session-toggle{width:100%;min-height:72px;color:var(--text);text-align:left;cursor:pointer;background:#fff;border:0;justify-content:space-between;align-items:center;gap:12px;padding:15px 18px;display:flex}.session-toggle>span{flex-direction:column;gap:5px;display:flex}.session-toggle small{color:var(--muted);text-transform:capitalize}.session-toggle svg{transition:transform .15s}.session-toggle svg.rotated{transform:rotate(180deg)}.session-detail{border-top:1px solid var(--border);padding:0 18px 17px}.session-detail>div{flex-direction:column;gap:5px;padding-top:14px;display:flex}.session-detail strong{font-size:.86rem}.session-detail span{color:var(--muted);font-size:.8rem;line-height:1.5}.exercise-selector select{background:#fff;min-height:52px;font-weight:650}.progress-empty{flex-direction:column;align-items:center;gap:10px;display:flex}.metric-card{padding:22px}.pr-card{justify-content:space-between;align-items:center;gap:15px;display:flex}.pr-card>div{flex-direction:column;gap:7px;display:flex}.pr-card span,.metric-head>span{color:var(--muted);text-transform:uppercase;letter-spacing:.055em;font-size:.7rem;font-weight:750}.pr-card strong{color:var(--primary);letter-spacing:-.04em;font-family:inherit;font-size:2.15rem}.pr-card strong small{color:var(--muted);font-family:inherit;font-size:.82rem}.mini-chart{width:100px;height:48px;color:var(--primary-bright);overflow:visible}.metric-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.metric-head small{background:var(--primary-soft);color:var(--primary);border-radius:7px;padding:5px 8px;font-size:.67rem}.volume-chart{margin-top:18px}.volume-chart svg{width:100%;height:190px;overflow:visible}.volume-chart line{stroke:var(--border);stroke-width:.5px;vector-effect:non-scaling-stroke}.chart-labels{color:var(--outline);justify-content:space-between;gap:5px;margin-top:4px;font-size:.64rem;display:flex}.chart-labels span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.small-empty{background:0 0;padding:28px 12px}.recent-progress{flex-direction:column;gap:13px;display:flex}.recent-progress h2{font-size:1.18rem}.recent-progress-list article{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:72px;padding:14px 16px;display:flex}.recent-progress-list article:last-child{border:0}.recent-progress-list article>div{flex-direction:column;gap:4px;display:flex}.recent-progress-list article>div:last-child{color:var(--outline);flex-direction:row;align-items:center}.recent-progress-list strong{font-size:.86rem}.recent-progress-list span,.recent-progress-list time{color:var(--muted);font-size:.72rem}@media (width<=430px){.screen{padding-left:16px;padding-right:16px}.card,.routine-card{padding:17px}.active-exercise-card{padding:16px 12px}.focused-sets-head,.focused-set-row{grid-template-columns:38px repeat(3,minmax(0,1fr)) 36px;gap:4px}.focused-set-row{padding-left:3px;padding-right:3px}.focused-set-row input{padding-left:1px;padding-right:1px}.set-check{width:34px;height:34px}.grid-2,.editor-basics,.import-title-fields{grid-template-columns:minmax(0,1fr)}.grid-3{gap:7px}.import-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.import-exercise-title{grid-template-columns:25px minmax(0,1fr)}.import-exercise-title .status-chip{grid-column:2;justify-self:start;margin:-4px 0 0}.routine-item-head{align-items:center}.pr-card strong{font-size:1.8rem}.mini-chart{width:80px}}@media (width>=700px){.screen{padding-left:30px;padding-right:30px}.routine-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tabs{border-bottom:1px solid #c1c6d761;border-radius:22px;min-height:72px;padding-bottom:4px;bottom:12px}.sticky-actions{bottom:98px}.import-fields{grid-template-columns:repeat(4,minmax(0,1fr))}.import-fields label:nth-child(-n+2){grid-column:span 2}.exercise-groups{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}}@media (width>=1050px){.routine-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}html,body,#root,.app-shell{background:var(--background);color:var(--text)}body{min-height:100dvh}button,input,select,textarea{color:inherit}button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.app-header{min-height:calc(52px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));box-shadow:none;-webkit-backdrop-filter:saturate(140%)blur(24px);backdrop-filter:saturate(140%)blur(24px);background:#131316c7;border-color:#ffffff0d;grid-template-columns:44px minmax(0,1fr) 44px}.toolbar-title{justify-self:center;font-size:1rem;font-weight:650}.app-header .icon-button,.workout-header .icon-button{color:var(--text)}.icon-button:hover{background:var(--surface-mid)}.icon-button.soft{background:var(--surface-mid);color:var(--muted)}.sync-button{color:var(--muted)!important}.sync-button .status-dot{border-color:var(--background);background:var(--primary);bottom:6px;right:6px}.sync-button.is-pending .status-dot{background:#ffbd53}.sync-button.is-error .status-dot{background:var(--danger)}.sync-pill{background:var(--surface-mid);min-height:30px;color:var(--text);cursor:pointer;border:0;border-radius:999px;justify-self:center;align-items:center;gap:6px;padding:5px 11px;font-size:.75rem;font-weight:650;display:inline-flex}.sync-pill svg{color:var(--primary)}.sync-pill.is-pending svg{color:#ffbd53}.sync-pill.is-error svg{color:var(--danger)}.tabs{width:min(100%,720px);min-height:calc(70px + env(safe-area-inset-bottom));-webkit-backdrop-filter:saturate(140%)blur(24px);backdrop-filter:saturate(140%)blur(24px);background:#1f1f22e0;border-color:#ffffff0f;box-shadow:0 -12px 36px #00000057}.tabs button{color:#c5c9aead;min-height:62px;font-size:.68rem}.tabs button:hover{background:#ffffff09}.tabs button[aria-current=page]{color:var(--primary);background:0 0}.screen{padding:calc(72px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) calc(102px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));gap:16px}.page-intro{gap:4px}.page-intro h1{font-size:1.75rem}.page-intro p{color:var(--muted);font-size:.78rem;line-height:1.45}.muted{color:var(--muted)}.btn{border-color:var(--border);background:var(--surface-mid);min-height:44px;color:var(--text);box-shadow:none;border-radius:12px;font-size:.88rem;font-weight:650}.btn:hover{background:var(--surface-high)}.btn.primary,.btn.primary:hover{background:var(--primary);color:#111;border-color:#0000;border-radius:999px;box-shadow:0 8px 22px #cbf23c1f}.btn.danger{color:var(--danger);border-color:#ffb4ab47}.btn.ghost{background:0 0}.text-button,.back-link{color:var(--primary)}label{color:var(--muted);letter-spacing:.02em;font-size:.72rem;font-weight:700}input,select,textarea{background:var(--surface-high);color:var(--text);caret-color:var(--primary);border-color:#0000}input::placeholder,textarea::placeholder{color:#c5c9ae6b}input:focus,select:focus,textarea:focus{background:var(--surface-high);border-color:#cbf23c4d;box-shadow:0 0 0 3px #cbf23c13}input:disabled{color:#c5c9ae8c;background:var(--surface-mid)}.card,.empty,.session-card,.metric-card,.recent-progress-list{border-color:var(--border);background:var(--surface);color:var(--text);box-shadow:none}.empty{padding:28px 18px}.error{background:var(--danger-soft);color:var(--danger);border-color:#ffb4ab33}.success-banner{background:var(--success-soft);color:var(--primary);border-color:#cbf23c33}.day-chip,.status-chip{background:var(--primary-soft);color:var(--primary)}.status-chip{background:var(--surface-high);color:var(--muted)}.status-chip.success{background:var(--primary-soft);color:var(--primary)}.login-screen{--login-accent:var(--primary);--login-text:var(--text);--login-muted:var(--muted)}.login-logo-stage,.login-logo-stage img{width:80px;height:80px}.login-logo-stage img{border:1px solid #ffffff0f}.login-wordmark h1{font-family:inherit}.login-badge span{white-space:nowrap}.login-control,.login-control:focus-within{background:#353438a8}.login-control input:focus-visible{outline:0}.login-submit{color:var(--on-primary)}.modal-backdrop{background:#0009;align-items:end;padding:0}.modal{background:var(--background);border:1px solid #ffffff12;border-radius:24px 24px 0 0;width:min(100%,560px);max-height:min(94dvh,820px);padding:0;box-shadow:0 -20px 70px #00000080}.modal-head{z-index:2;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:#131316db;grid-template-columns:44px 1fr 44px;align-items:center;min-height:52px;padding:4px 10px 4px 16px;display:grid;position:sticky;top:0}.modal-head h2{justify-self:center;font-size:1rem}.settings-content{padding:12px 16px calc(28px + env(safe-area-inset-bottom));flex-direction:column;gap:18px;display:flex}.profile-card,.settings-card,.offline-card,.settings-link{background:var(--surface);border-radius:20px}.profile-card{align-items:center;gap:12px;padding:16px;display:flex}.account-avatar{background:var(--surface-mid);width:56px;height:56px;color:var(--primary)}.profile-card>div{flex-direction:column;gap:5px;min-width:0;display:flex}.profile-name{align-items:center;gap:7px;display:flex}.profile-name strong{font-size:1.06rem}.profile-name i{background:var(--primary);color:#111;letter-spacing:.1em;border-radius:999px;padding:3px 7px;font-size:.56rem;font-style:normal;font-weight:850}.profile-card small{color:var(--muted);font-size:.74rem}.settings-section{flex-direction:column;gap:8px;display:flex}.settings-section>h3{color:var(--muted);letter-spacing:.11em;text-transform:uppercase;padding-left:4px;font-size:.68rem;font-weight:800}.settings-card{overflow:hidden}.settings-row,.settings-action{grid-template-columns:26px 1fr auto;align-items:center;gap:8px;min-height:50px;padding:12px 14px;display:grid}.settings-row+.settings-row,.settings-action{border-top:1px solid var(--border)}.settings-row>span{color:var(--muted)}.settings-row>span svg{width:17px;height:17px}.settings-row strong{font-size:.9rem;font-weight:500}.settings-row small{color:var(--muted);font-size:.79rem}.settings-row.error-text>span,.settings-row.error-text small{color:var(--danger)}.settings-action{width:100%;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;font-size:.9rem;font-weight:650}.settings-action svg:last-child{color:var(--muted);justify-self:end}.account-form{border-top:1px solid var(--border);gap:10px;padding:14px;display:grid}.account-form input,.auth-fields input{border:1px solid var(--border);background:var(--surface-high);width:100%;min-height:46px;color:var(--text);font:inherit;border-radius:11px;padding:0 12px}.account-form small,.auth-fields small,.auth-help,.danger-zone p{color:var(--muted);font-size:.78rem;line-height:1.45}.danger-zone p{margin:0;padding:14px}.auth-links{justify-content:space-between;gap:12px;display:flex}.auth-links button,.auth-text-button{color:var(--primary);font:inherit;cursor:pointer;background:0 0;border:0;font-size:.82rem;font-weight:700}.auth-flow{padding-top:max(36px, env(safe-area-inset-top))}.auth-logo{border-radius:18px;width:72px;height:72px}.auth-fields{gap:14px;padding:16px;display:grid}.auth-fields label{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;gap:7px;font-size:.72rem;font-weight:800;display:grid}.auth-help{text-align:center;margin:0}.offline-card{align-items:flex-start;gap:12px;padding:14px;display:flex}.offline-card svg{color:var(--primary)}.offline-card p{color:var(--muted);font-size:.8rem;line-height:1.45}.settings-link{min-height:50px;color:var(--text);align-items:center;gap:10px;padding:14px;text-decoration:none;display:flex}.settings-link svg{color:var(--muted)}.settings-link span{flex:1;font-size:.9rem}.settings-footer{color:var(--muted);flex-direction:column;align-items:center;gap:5px;padding:8px 0;display:flex}.settings-footer strong{letter-spacing:.16em;font-size:.72rem}.settings-footer span{opacity:.65;font-size:.66rem}.train-home{width:min(100%,1000px)}.train-title-block{flex-direction:column;gap:3px;display:flex}.train-title-block>span{color:var(--muted);letter-spacing:.1em;text-transform:uppercase;font-size:.68rem;font-weight:800}.train-title-block h1{letter-spacing:-.04em;font-size:clamp(2.25rem,10vw,2.5rem);font-weight:850}.feed-heading{align-items:baseline;gap:8px;display:flex}.feed-heading h2{font-size:1.35rem}.feed-heading span{color:var(--muted);font-size:.8rem}.train-routine-feed{grid-template-columns:minmax(0,1fr);gap:14px;display:grid}.ios-routine-card{background:var(--surface);border-radius:20px;flex-direction:column;gap:12px;min-width:0;padding:16px;display:flex}.ios-routine-card.today{box-shadow:0 14px 34px #00000047}.routine-topline,.routine-stats,.routine-card-head,.routine-card-actions,.compact-routine-meta{justify-content:space-between;align-items:center;gap:10px;display:flex}.ios-badge{background:var(--surface-mid);color:var(--muted);letter-spacing:.09em;text-transform:uppercase;border-radius:999px;align-self:flex-start;align-items:center;gap:6px;padding:5px 10px;font-size:.62rem;font-style:normal;font-weight:850;display:inline-flex}.ios-badge.active{background:var(--primary-soft);color:var(--primary)}.ios-badge i{background:var(--primary);border-radius:50%;width:6px;height:6px;box-shadow:0 0 8px #cbf23ca6}.last-session{color:var(--muted);align-items:center;gap:4px;font-size:.72rem;display:inline-flex}.routine-copy{flex-direction:column;gap:4px;display:flex}.routine-copy h3{font-size:1.12rem}.routine-copy p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.79rem;line-height:1.4;overflow:hidden}.muscle-chips{flex-wrap:wrap;gap:6px;display:flex}.muscle-chips span{background:var(--surface-mid);color:var(--text);border-radius:6px;padding:5px 9px;font-size:.69rem}.routine-stats{color:var(--muted);justify-content:flex-start;font-size:.78rem}.routine-stats span{align-items:center;gap:5px;display:inline-flex}.routine-stats svg{color:var(--primary)}.routine-stats strong{color:var(--text)}.ios-start-button{background:var(--surface-mid);width:100%;min-height:44px;color:var(--text);cursor:pointer;border:0;border-radius:999px;justify-content:space-between;align-items:center;padding:0 16px;font-size:.88rem;font-weight:650;display:flex}.ios-start-button>span{align-items:center;gap:8px;display:inline-flex}.ios-start-button svg{color:var(--primary)}.ios-start-button.primary{background:var(--primary);color:var(--on-primary)}.ios-start-button.primary svg{color:var(--on-primary)}.routines-title-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.routines-title-row h1{font-size:1.75rem}.routine-actions{flex-wrap:nowrap;gap:8px}.routine-actions .btn{flex:none}.top-menu summary{background:var(--surface-mid)}.routine-library-grid{grid-template-columns:minmax(0,1fr);gap:14px;display:grid}.routine-library-card{background:var(--surface);border-radius:20px;flex-direction:column;gap:10px;min-width:0;padding:16px;display:flex;position:relative;overflow:visible}.routine-library-card.featured{background:var(--surface-mid);padding-left:24px;box-shadow:0 14px 36px #0000004d}.card-accent{background:var(--primary);border-radius:3px;inset:14px auto 14px 0}.routine-labels{gap:6px;display:flex}.routine-menu summary{color:var(--muted);background:0 0}.routine-menu[open] summary{background:var(--surface-high);color:var(--text)}.menu-popover{background:var(--surface-high);border-color:#ffffff14;box-shadow:0 18px 48px #0000007a}.menu-popover button{color:var(--text)}.menu-popover button:hover{background:#ffffff0f}.routine-name-button{width:100%;min-height:40px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:8px;padding:0;display:flex}.routine-name-button h2{font-size:1.1rem}.routine-name-button svg{color:var(--muted)}.routine-metrics{background:#1b1b1eb3;border-radius:12px;grid-template-columns:repeat(4,1fr);padding:10px 4px;display:grid}.routine-metrics>span{flex-direction:column;align-items:center;gap:4px;min-width:0;display:flex}.routine-metrics small{color:var(--muted);font-size:.64rem}.routine-metrics strong{font-size:.84rem}.accent-text{color:var(--primary)!important}.compact-routine-meta{color:var(--muted);font-size:.68rem}.compact-routine-meta span:last-child{align-items:center;gap:4px;display:inline-flex}.routine-card-actions{justify-content:flex-start}.routine-card-actions .ios-start-button{flex:1}.compact-start,.edit-routine-button{background:var(--surface-high);min-height:36px;color:var(--text);cursor:pointer;border:0;border-radius:8px;align-items:center;gap:5px;padding:0 12px;font-size:.75rem;font-weight:650;display:inline-flex}.compact-start{color:var(--primary)}.edit-routine-button svg{color:var(--muted)}.migration-banner{background:var(--surface-low);width:100%;min-height:72px;color:var(--text);text-align:left;cursor:pointer;border:0;border-radius:20px;grid-template-columns:40px 1fr auto;align-items:center;gap:12px;padding:14px;display:grid}.migration-banner>span:first-child{background:var(--surface);width:40px;height:40px;color:var(--primary);border-radius:10px;place-items:center;display:grid}.migration-banner>span:nth-child(2){flex-direction:column;gap:3px;min-width:0;display:flex}.migration-banner strong{font-size:.84rem}.migration-banner small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;overflow:hidden}.migration-banner>i{background:var(--surface-high);border-radius:8px;align-items:center;gap:4px;padding:8px 10px;font-size:.73rem;font-style:normal;font-weight:650;display:inline-flex}.editor-screen,.import-screen{width:min(100%,820px)}.editor-basics{background:var(--surface)}.routine-item-editor{padding:0;overflow:hidden}.routine-item-head{cursor:pointer;min-height:58px;padding:14px;list-style:none}.routine-item-head::-webkit-details-marker{display:none}.routine-item-head>span{align-items:center;gap:10px;min-width:0;display:flex}.routine-item-head strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.routine-item-head>svg{color:var(--muted);transition:transform .18s}.routine-item-editor[open] .routine-item-head>svg{transform:rotate(180deg)}.routine-item-tools,.routine-item-editor>.grid-2,.routine-item-editor>.grid-3,.routine-item-editor>.btn{margin:0 14px 14px}.routine-item-tools{border-top:1px solid var(--border);justify-content:flex-end;padding-top:10px;display:flex}.item-number{background:var(--primary);color:var(--on-primary);border-radius:6px;font-style:normal}.sticky-actions{background:#1f1f22e6;border-color:#ffffff12;box-shadow:0 18px 48px #00000061}.file-drop{background:var(--surface-low);color:var(--primary);border-color:#c5c9ae59}.or-divider:before,.or-divider:after{background:var(--border)}.import-exercise{border-color:var(--border);background:var(--surface-low)}.conflict-box,.inline-warning{background:var(--warning-soft);color:var(--warning);border-color:#ffdda12e}.conflict-box select{background:var(--surface-high)}.search-field{align-items:center;min-height:44px;display:flex;position:relative}.search-field>svg{color:var(--muted);top:auto;left:13px}.search-field input{background:var(--surface);min-height:44px;padding-left:42px;padding-right:42px}.search-field button{width:38px;height:38px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;display:grid;position:absolute;right:3px}.filter-chips{scrollbar-width:none;gap:6px;margin:0 -16px;padding:0 16px 4px;display:flex;overflow-x:auto}.filter-chips::-webkit-scrollbar{display:none}.filter-chips button{background:var(--surface-mid);min-height:34px;color:var(--text);cursor:pointer;border:0;border-radius:999px;flex:none;padding:0 12px;font-size:.74rem;font-weight:650}.filter-chips button.active{background:var(--primary);color:#111;font-weight:800}.exercise-groups{flex-direction:column;gap:16px;display:flex}.exercise-group{flex-direction:column;gap:8px;display:flex}.section-title{background:0 0;padding:0 4px}.section-title h2{color:var(--muted);letter-spacing:.1em;text-transform:uppercase;font-size:.68rem;font-weight:800}.exercise-list{gap:8px}.exercise-row{background:var(--surface);border:0;border-radius:14px;grid-template-columns:42px minmax(0,1fr) 34px;min-height:68px;padding:12px;display:grid}.exercise-icon{background:var(--surface-mid);width:42px;height:42px;color:var(--primary);border-radius:10px;place-items:center;display:grid}.exercise-row>div{gap:5px}.exercise-row strong{font-size:.91rem}.exercise-tags{flex-wrap:wrap;gap:5px;display:flex}.exercise-tags i{background:var(--surface-mid);color:var(--muted);border-radius:999px;padding:3px 7px;font-size:.6rem;font-style:normal;font-weight:700}.exercise-tags i:first-child{background:var(--primary-soft);color:var(--primary);text-transform:uppercase;font-weight:800}.exercise-row small{font-size:.72rem}.exercise-menu summary{width:34px;height:34px}.workout-shell{min-height:100dvh;padding-bottom:calc(82px + env(safe-area-inset-bottom));background:var(--background)}.workout-header{min-height:calc(60px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));border-color:var(--border);box-shadow:none;-webkit-backdrop-filter:saturate(140%)blur(24px);backdrop-filter:saturate(140%)blur(24px);background:#131316c7;justify-content:space-between;display:flex}.workout-nav-group{align-items:center;gap:7px;display:flex}.workout-header .icon-button{background:#2a2a2db8}.elapsed-pill{font-variant-numeric:tabular-nums;background:#2a2a2db8;border-radius:999px;justify-content:center;align-items:center;gap:7px;min-width:88px;height:40px;padding:0 13px;font-size:.8rem;font-weight:650;display:inline-flex}.elapsed-pill i,.workout-meta>div>i{background:var(--primary);border-radius:50%;width:6px;height:6px;box-shadow:0 0 8px #cbf23c8c}.workout-main{width:min(100%,820px);padding-top:calc(76px + env(safe-area-inset-top));gap:14px}.workout-meta{flex-direction:column;gap:9px;display:flex}.workout-meta>div{align-items:center;gap:8px;display:flex}.workout-meta strong{text-overflow:ellipsis;white-space:nowrap;font-size:1.08rem;overflow:hidden}.exercise-progress{grid-template-columns:repeat(auto-fit,minmax(12px,1fr));gap:6px;display:grid}.exercise-progress i{background:var(--surface-high);border-radius:999px;height:5px}.exercise-progress i.current{background:#cbf23cb3;box-shadow:0 0 9px #cbf23c80}.exercise-progress i.complete{background:var(--primary)}.rest-timer{background:var(--surface);box-shadow:none;border:0;border-radius:14px;align-items:center;gap:9px;padding:12px;animation:.35s ease-out timer-in;display:flex;position:relative;inset:auto;overflow:hidden}.rest-timer:after{content:"";z-index:0;filter:blur(24px);pointer-events:none;background:#cbf23c1a;border-radius:50%;width:100px;height:100px;position:absolute;top:-40px;right:-20px}.rest-timer>*{z-index:1;position:relative}.timer-icon{background:var(--surface-high);width:44px;height:44px;color:var(--primary);flex:none}.timer-copy{min-width:70px;padding:0}.timer-copy small{color:var(--muted);letter-spacing:.09em;text-transform:uppercase;font-size:.59rem;font-weight:800}.timer-copy strong{color:var(--text);font-size:1.2rem;font-weight:650}.timer-adjust,.timer-ready{background:var(--surface-mid);min-width:44px;height:36px;color:var(--text);cursor:pointer;border:0;border-radius:999px;justify-content:center;align-items:center;gap:2px;padding:0 9px;font-size:.7rem;font-weight:650;display:inline-flex}.timer-ready{background:var(--primary);color:var(--on-primary);margin-left:auto}@keyframes timer-in{0%{opacity:0;transform:translateY(-10px)scale(.96)}}.active-exercise-card{background:var(--surface);box-shadow:none;border-radius:16px;gap:10px;padding:14px}.active-exercise-head h1{margin:0;font-size:1.63rem}.target-badges{flex-wrap:wrap;gap:6px;display:flex}.target-badges span{background:var(--surface-mid);border-radius:8px;align-items:center;gap:4px;padding:6px 8px;font-size:.72rem;display:inline-flex}.target-badges svg{color:var(--primary)}.exercise-note{background:var(--surface-low);color:var(--text);align-items:flex-start;gap:8px;padding:10px;display:flex}.exercise-note>span{color:var(--primary)}.exercise-note strong{color:var(--muted);letter-spacing:.1em;text-transform:uppercase;font-size:.61rem}.exercise-note p{margin-top:4px;font-size:.78rem;line-height:1.45}.sets-section{min-width:0;overflow-x:auto}.focused-sets{min-width:380px}.focused-sets-head,.focused-set-row{grid-template-columns:38px minmax(62px,1fr) 62px 54px 48px 42px;gap:5px}.focused-sets-head{letter-spacing:.08em;padding:0 10px;font-size:.59rem}.focused-set-row{background:var(--surface-low);border:0;border-radius:14px;padding:8px 10px;position:relative}.focused-set-row.current{background:var(--surface);box-shadow:0 5px 18px #00000047}.focused-set-row.current:before{content:"";background:var(--primary);border-radius:3px;width:3px;position:absolute;inset:8px auto 8px 0}.focused-set-row.done{background:var(--surface-low);opacity:.7}.focused-set-number strong{background:var(--surface-mid);border-radius:6px;place-items:center;width:27px;height:27px;font-size:.75rem;display:grid}.focused-set-row.current .focused-set-number strong,.focused-set-row.done .focused-set-number strong{background:var(--primary);color:var(--on-primary)}.previous-set{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.71rem;overflow:hidden}.focused-set-row input{background:var(--surface-high);border-radius:8px;min-height:42px;padding:4px 2px}.focused-set-row.done input{background:var(--surface-mid);color:var(--muted)}.set-check{background:var(--surface-high);width:36px;height:36px;color:var(--muted)}.focused-set-row.current .set-check{background:var(--primary-soft);color:var(--on-primary);box-shadow:0 0 14px #cbf23c26}.set-check.done{background:var(--primary);color:var(--on-primary)}.add-set-button{background:var(--surface);color:var(--text);border:0;border-radius:12px}.add-set-button svg{color:var(--primary)}.next-exercise-card,.exercise-overview-item{background:var(--surface);color:var(--text);box-shadow:none}.overview-icon{background:var(--surface-mid);color:var(--primary)}.exercise-overview-item.current{box-shadow:inset 3px 0 var(--primary)}.summary-status{background:var(--warning-soft);color:var(--warning);border-color:#ffdda12e}.summary-status.complete{background:var(--primary-soft);color:var(--primary);border-color:#cbf23c2e}.workout-bottom-bar{z-index:58;padding:10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));border-top:1px solid var(--border);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);background:#131316cc;position:fixed;inset:auto 0 0}.workout-bottom-bar button{background:var(--primary);color:#111;cursor:pointer;border:0;border-radius:999px;justify-content:center;align-items:center;gap:8px;width:min(100%,788px);min-height:48px;margin:0 auto;font-size:.91rem;font-weight:800;display:flex}.workout-bottom-bar button:disabled{opacity:.42;cursor:not-allowed}.history-screen{width:min(100%,900px);padding-top:calc(66px + env(safe-area-inset-top))}.segmented{background:var(--surface)}.segmented button{min-height:36px;color:var(--muted);font-size:.8rem}.segmented button.active{background:var(--surface-mid);color:var(--text);box-shadow:none}.history-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.history-kpi{background:var(--surface);border-radius:16px;flex-direction:column;align-items:flex-start;gap:8px;min-height:112px;padding:14px;display:flex}.history-kpi>span{color:var(--primary)}.history-kpi svg{width:15px;height:15px}.history-kpi small{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:.62rem;font-weight:800}.history-kpi strong{color:var(--primary);font-size:1.38rem}.history-kpi.subdued>span,.history-kpi.subdued strong{color:var(--text)}.ios-session-card{background:var(--surface);width:100%;min-height:78px;color:var(--text);text-align:left;cursor:pointer;border:0;border-radius:16px;grid-template-columns:42px 1fr auto;align-items:start;gap:12px;padding:14px;display:grid}.session-icon{background:var(--surface-mid);width:42px;height:42px;color:var(--primary);border-radius:12px;place-items:center;display:grid}.ios-session-card>span:nth-child(2){flex-direction:column;gap:5px;display:flex}.ios-session-card small{color:var(--muted);text-transform:capitalize;align-items:center;gap:4px;font-size:.72rem;display:flex}.ios-session-card>svg{color:var(--muted);align-self:center}.session-detail-screen{flex-direction:column;gap:14px;display:flex}.history-hero{background:var(--surface);border-radius:20px;flex-direction:column;gap:10px;padding:16px;display:flex}.history-hero-top{color:var(--muted);justify-content:space-between;align-items:center;font-size:.72rem;display:flex}.history-hero-top span{color:var(--primary);letter-spacing:.11em;text-transform:uppercase;font-size:.62rem;font-weight:850}.history-hero h1{font-size:1.35rem}.history-detail-metrics{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.history-detail-metrics>div{background:var(--surface-low);border-radius:12px;grid-template-columns:32px 1fr;gap:2px 9px;padding:10px;display:grid}.history-detail-metrics>div>span{background:var(--surface-mid);width:32px;height:32px;color:var(--primary);border-radius:50%;grid-row:1/3;place-items:center;display:grid}.history-detail-metrics svg{width:14px;height:14px}.history-detail-metrics small{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:.6rem;font-weight:800}.history-detail-metrics strong{font-size:.82rem}.history-exercise-breakdown{flex-direction:column;gap:10px;display:flex}.history-exercise-breakdown>h2{color:var(--muted);letter-spacing:.1em;text-transform:uppercase;padding-left:4px;font-size:.68rem;font-weight:850}.history-exercise-breakdown>section{background:var(--surface);border-radius:16px;padding:14px}.history-exercise-breakdown header{grid-template-columns:26px 1fr auto;align-items:center;gap:9px;display:grid}.history-exercise-breakdown header>i{background:var(--primary);color:#111;border-radius:50%;place-items:center;width:24px;height:24px;font-size:.7rem;font-style:normal;font-weight:850;display:grid}.history-exercise-breakdown header small{color:var(--muted);font-size:.68rem}.history-exercise-breakdown section>div{flex-direction:column;gap:4px;margin-top:10px;display:flex}.history-exercise-breakdown p{background:var(--surface-low);border-radius:10px;grid-template-columns:68px 1fr auto;align-items:center;min-height:38px;padding:8px 10px;font-size:.76rem;display:grid}.history-exercise-breakdown p>span{color:var(--muted)}.history-exercise-breakdown p>i{background:var(--surface-mid);color:var(--muted);border-radius:999px;padding:4px 8px;font-size:.65rem;font-style:normal}.exercise-selector{background:var(--surface);border-radius:16px;grid-template-columns:38px 1fr;align-items:center;gap:10px;min-height:64px;padding:12px 44px 12px 14px;display:grid;position:relative}.selector-icon{background:var(--surface-mid);width:38px;height:38px;color:var(--primary);border-radius:10px;place-items:center;display:grid}.selector-copy{flex-direction:column;gap:3px;min-width:0;display:flex}.selector-copy small{color:var(--muted);letter-spacing:.1em;text-transform:uppercase;font-size:.6rem;font-weight:800}.selector-copy strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.89rem;overflow:hidden}.exercise-selector select{opacity:0;cursor:pointer;min-height:0;position:absolute;inset:0}.selector-chevron{color:var(--muted);font-size:.75rem;position:absolute;right:14px}.progress-hint,.methodology-card{background:var(--surface-low);color:var(--muted);border-radius:12px;align-items:flex-start;gap:9px;padding:12px;font-size:.75rem;line-height:1.45;display:flex}.progress-hint svg,.methodology-card svg{color:var(--primary);flex:none}.progress-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.progress-metrics>div{background:var(--surface);text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;min-width:0;padding:10px 5px;display:flex}.progress-metrics small{color:var(--muted);letter-spacing:.06em;font-size:.55rem;font-weight:800}.progress-metrics strong{font-variant-numeric:tabular-nums;font-size:.76rem}.metric-card{border-radius:20px;padding:14px}.metric-head>span{color:var(--text);font-size:.78rem}.metric-head small{background:var(--surface-mid);color:var(--muted)}.volume-chart .data-line{stroke:var(--primary)}.volume-chart line{stroke:var(--surface-high)}.recent-progress h2{color:var(--muted);letter-spacing:.1em;text-transform:uppercase;padding-left:4px;font-size:.65rem;font-weight:850}.recent-progress-list article{border-color:var(--border);background:var(--surface)}.recent-progress-list article>div:last-child{color:var(--muted)}@media (width<=430px){.modal{max-height:96dvh}.routine-metrics{margin-inline:-4px}.migration-banner{grid-template-columns:40px 1fr}.migration-banner>i{display:none}.timer-adjust{min-width:38px;padding:0 6px}.timer-adjust span{display:none}.timer-ready{padding-inline:9px}.progress-metrics{gap:5px}}@media (width>=700px){.modal-backdrop{place-items:center;padding:24px}.modal{border-radius:24px;max-height:min(90dvh,820px)}.train-routine-feed,.routine-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.routine-library-card.featured{grid-column:1/-1}.tabs{background:#1f1f22e6;border-bottom:1px solid #ffffff0f;border-radius:22px;bottom:12px}.exercise-groups{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}.history-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=1050px){.routine-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.routine-library-card.featured{grid-column:span 2}}
