@font-face{font-family:Manrope Local;src:url(/fonts/manrope-400.ttf)format("truetype");font-weight:400;font-display:swap}@font-face{font-family:Manrope Local;src:url(/fonts/manrope-500.ttf)format("truetype");font-weight:500;font-display:swap}@font-face{font-family:Manrope Local;src:url(/fonts/manrope-600.ttf)format("truetype");font-weight:600;font-display:swap}@font-face{font-family:Manrope Local;src:url(/fonts/manrope-700.ttf)format("truetype");font-weight:700;font-display:swap}@font-face{font-family:Manrope Local;src:url(/fonts/manrope-800.ttf)format("truetype");font-weight:800;font-display:swap}@font-face{font-family:Barlow Condensed Local;src:url(/fonts/barlow-condensed-600.ttf)format("truetype");font-weight:600;font-display:swap}@font-face{font-family:Barlow Condensed Local;src:url(/fonts/barlow-condensed-700.ttf)format("truetype");font-weight:700;font-display:swap}@font-face{font-family:Barlow Condensed Local;src:url(/fonts/barlow-condensed-800.ttf)format("truetype");font-weight:800;font-display:swap}@font-face{font-family:Pretendard Local;src:url(/fonts/PretendardVariable.woff2)format("woff2-variations");font-weight:45 920;font-display:swap}:root{color:var(--theme-text);background:var(--surface);font-synthesis:none;--pink:#ff3d81;--surface:#16161d;--surface-2:#22212a;--muted:#92909d;--line:#302f39;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:var(--surface)}body{background:var(--surface);min-width:320px;min-height:100dvh;margin:0}button,input{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.48}.app{width:100%;max-width:680px;min-height:100dvh;padding:max(14px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) calc(22px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));margin:0 auto;overflow-x:hidden}.app-header{justify-content:space-between;align-items:center;height:40px;display:flex}.brand{color:var(--theme-text);letter-spacing:1.6px;font-size:12px;font-weight:900}.brand span,.eyebrow,em{color:var(--pink);font-style:normal}.reset-button{min-width:52px;min-height:44px;color:var(--theme-text);background:0 0;border:0;padding:0;font-size:14px;font-weight:800}.progress-track{background:var(--surface-inset);border-radius:10px;height:4px;margin:10px 0 8px;overflow:hidden}.progress-track span{border-radius:inherit;background:var(--pink);height:100%;transition:width .25s;display:block}.progress-caption{min-height:18px;color:var(--theme-text);letter-spacing:.8px;justify-content:space-between;font-size:12px;font-weight:800;display:flex}.error-message{background:var(--danger-bg);color:var(--danger-text);border-radius:8px;padding:10px;font-size:12px}.eyebrow,.section-label{letter-spacing:1.6px;margin:0;font-size:12px;font-weight:900}.primary-button{background:var(--accent);width:100%;min-height:68px;color:var(--accent-contrast);letter-spacing:.5px;box-shadow:0 8px 28px var(--focus-ring);border:0;border-radius:14px;padding:14px 18px;font-size:16px;font-weight:900}.primary-button.secondary{border:1px solid var(--neutral-border);background:var(--surface-2);color:var(--theme-text);box-shadow:none}.primary-button.danger{background:var(--danger-bg);color:var(--danger-text);box-shadow:none}.text-button{min-height:44px;color:var(--theme-text);background:0 0;border:0;padding:10px;font-size:14px;font-weight:800}.text-button.subtle{border:1px solid var(--line);background:var(--surface);color:var(--theme-text);border-radius:10px}.text-button:disabled,.text-button.subtle:disabled{border-color:var(--line);background:var(--surface);color:var(--text-disabled);opacity:.65}.screen-actions{gap:8px;width:100%;margin-top:24px;display:grid}.next-card{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:12px;width:100%;padding:13px 15px}.next-card>span{color:var(--pink);letter-spacing:1.2px;margin-bottom:5px;font-size:12px;font-weight:900;display:block}.next-card strong{font-size:15px;line-height:1.2;display:block}.next-card small{color:var(--muted);margin-top:4px;font-size:12px;display:block}.home-screen{padding-top:clamp(18px,5vh,42px)}.home-screen h1,.complete-screen h1{letter-spacing:-1px;margin:12px 0 24px;font-family:Arial Narrow,Impact,sans-serif;font-size:clamp(46px,14vw,78px);line-height:.88}.home-progress{margin-bottom:22px}.home-progress strong{font-size:30px;display:block}.home-progress>div{background:var(--surface-inset);border-radius:8px;height:7px;margin:7px 0;overflow:hidden}.home-progress>div span{background:var(--pink);height:100%;display:block}.home-progress small{color:var(--muted)}.plan-list{border-top:1px solid var(--line);margin-bottom:22px}.plan-list>div{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:44px;font-size:13px;font-weight:800;display:flex}.plan-list b{color:var(--theme-text);letter-spacing:1px;font-size:12px}.home-screen>.text-button{width:100%;margin-top:4px}.settings{grid-template-columns:minmax(0,1fr);gap:14px;margin-top:20px;display:grid}.settings-group,.profile-panel,.data-management,.phone-guide{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:16px}.settings .section-label{color:var(--accent);margin-bottom:9px}.setting-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:56px;font-size:15px;display:flex}.setting-row:last-child{border-bottom:0}.setting-row button{border:1px solid var(--line);background:var(--surface-inset);min-width:68px;min-height:44px;color:var(--theme-text);border-radius:22px;font-size:12px;font-weight:900}.test-alert{border:1px solid var(--line);background:var(--surface);width:100%;min-height:48px;color:var(--theme-text);border-radius:10px;margin-top:12px;font-size:13px;font-weight:900}.alert-setting{margin:8px 0 16px}.alert-setting label,.alert-style{color:var(--theme-text);letter-spacing:.8px;justify-content:space-between;align-items:center;font-size:12px;font-weight:900;display:flex}.alert-setting label strong{color:var(--pink)}.alert-setting input[type=range]{width:100%;accent-color:var(--pink);margin:13px 0 2px}.volume-labels{color:var(--muted);justify-content:space-between;font-size:14px;display:flex}.alert-style{grid-template-columns:minmax(0,1fr);gap:8px;margin:12px 0;display:grid}.alert-style select,.alert-style input{border:1px solid var(--line);background:var(--surface-2);min-height:42px;color:var(--control-text);border-radius:8px;padding:0 10px;font-size:12px}.push-inline-field{gap:8px;display:flex}.push-inline-field input{flex:1;min-width:0}.push-inline-field button{flex-shrink:0}.admin-device-list{grid-template-columns:minmax(0,1fr);gap:2px;margin:4px 0;display:grid}.admin-utility-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:8px;display:grid}.admin-utility-actions button{width:100%}.volume-note{color:var(--theme-text);margin:7px 0 0;font-size:13px;line-height:1.5}.profile-panel{margin-top:0}.profile-panel>label,.profile-panel select{width:100%;color:var(--theme-text);gap:6px;font-size:12px;font-weight:900;display:grid}.profile-panel select,.profile-fields input{border:1px solid var(--line);background:var(--surface-2);min-height:42px;color:var(--control-text);border-radius:8px;padding:0 9px}.profile-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.profile-fields label{min-width:0;color:var(--theme-text);gap:5px;font-size:12px;font-weight:900;display:grid}.profile-fields input{width:100%;min-width:0}.profile-fields span{color:var(--theme-text);font-size:12px}.save-profile,.detail-favorite{border:1px solid var(--accent);background:var(--accent-soft);width:100%;min-height:48px;color:var(--accent);border-radius:10px;margin-top:13px;font-size:13px;font-weight:900}.data-management{margin-top:14px}.backup-button,.restore-button{border:1px solid var(--accent);background:var(--accent-soft);width:100%;min-height:50px;color:var(--accent);border-radius:10px;margin-top:11px;font-size:13px;font-weight:900}.restore-button{border-color:var(--line);color:var(--theme-text);background:0 0}.restore-file{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute;overflow:hidden}.restore-help{color:var(--theme-text);margin:8px 0 0;font-size:13px;line-height:1.45}.data-error,.data-message{border-radius:8px;padding:10px;font-size:11px;line-height:1.45}.data-error{background:var(--danger-bg);color:var(--danger-text)}.data-message{background:var(--success-bg);color:var(--success-text)}.restore-preview{border:1px solid var(--line);background:var(--surface-2);border-radius:12px;margin-top:12px;padding:14px}.restore-preview h2{color:var(--pink);margin:0 0 10px;font-size:16px}.restore-preview dl{margin:0}.restore-preview dl div{color:var(--muted);justify-content:space-between;gap:12px;padding:5px 0;font-size:11px;display:flex}.restore-preview dd{color:var(--theme-text);text-align:right;margin:0}.restore-mode{gap:8px;margin:12px 0;display:grid}.restore-mode label{min-height:38px;color:var(--theme-text);align-items:center;gap:7px;font-size:12px;font-weight:900;display:flex}.restore-mode small{color:var(--pink)}.restore-mode input{accent-color:var(--pink)}.complete-calories{color:var(--pink);margin:10px 0 17px;font-family:Arial Narrow,Impact,sans-serif;font-size:37px}.summary-calorie-banner{border:1px solid var(--accent);background:var(--accent-soft);color:var(--accent-text);text-align:center;border-radius:12px;margin:12px 0 0;padding:14px;font-family:Arial Narrow,Impact,sans-serif;font-size:34px}.summary-calorie-banner small{color:var(--muted);letter-spacing:1px;margin-top:4px;font-family:inherit;font-size:12px;display:block}.complete-calories small{color:var(--muted);letter-spacing:1.5px;font-family:inherit;font-size:12px;display:block}.calorie-breakdown{color:var(--muted);justify-content:center;gap:10px;margin-top:8px;font-family:system-ui,sans-serif;font-size:12px;display:flex}.calculation-details{color:var(--muted);font-size:12px;line-height:1.5}.exercise-library,.exercise-detail{padding-top:18px;padding-bottom:calc(92px + env(safe-area-inset-bottom))}.exercise-library h1,.exercise-detail h1{margin:11px 0 20px;font-family:Arial Narrow,Impact,sans-serif;font-size:clamp(40px,12vw,52px);line-height:.92}.library-filters{gap:14px;display:grid}.filter-label{color:var(--theme-text);letter-spacing:1px;gap:7px;font-size:12px;font-weight:900;display:grid}.library-search,.library-equipment{border:1px solid var(--line);background:var(--surface);width:100%;min-height:48px;color:var(--control-text);border-radius:11px;outline:none;padding:0 14px}.library-search:focus,.library-equipment:focus{border-color:var(--pink)}.category-filter{border:0;min-width:0;margin:0;padding:0}.category-filter legend{color:var(--theme-text);letter-spacing:1px;margin-bottom:7px;font-size:12px;font-weight:900}.category-filter>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.category-filter button{border:1px solid var(--line);background:var(--surface);min-width:0;min-height:44px;color:var(--muted);border-radius:9px;padding:4px;font-size:12px;font-weight:850;line-height:1.15}.category-filter button.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-text)}.library-count{color:var(--theme-text);letter-spacing:1px;margin:18px 0 9px;font-size:12px;font-weight:900}.exercise-grid{gap:8px;display:grid}.custom-exercise-form{border:1px solid var(--line);background:var(--surface-2);border-radius:14px;gap:12px;margin:12px 0 18px;padding:16px;display:grid}.custom-exercise-title{color:var(--theme-text);letter-spacing:.5px;margin:15px 0 8px;font-size:18px}.custom-form-head{justify-content:flex-end;align-items:center;gap:8px;display:flex}.custom-exercise-form h2{margin:0;font-size:16px}.custom-form-head button{border:1px solid var(--accent);background:var(--accent-soft);min-width:80px;min-height:44px;color:var(--accent);border-radius:9px;font-size:13px;font-weight:900}.custom-exercise-form label{color:var(--theme-text);gap:6px;font-size:12px;font-weight:900;display:grid}.custom-exercise-form .section-label{border-top:1px solid var(--line);color:var(--accent-text);margin:4px 0 -4px;padding-top:10px}.custom-exercise-form .section-label:first-of-type{border-top:0;padding-top:0}.custom-saved-message{color:var(--success-text);margin:10px 0 0;font-size:13px;font-weight:800}.custom-exercise-form input,.custom-exercise-form select{border:1px solid var(--line);background:var(--surface-2);min-height:48px;color:var(--control-text);border-radius:9px;padding:0 10px}.exercise-library.custom-open{padding-bottom:calc(108px + env(safe-area-inset-bottom))}.exercise-quick-list{margin:2px 0}.exercise-quick-list h2{color:var(--theme-text);letter-spacing:1px;margin:0 0 7px;font-size:12px}.exercise-quick-list>div{gap:7px;padding-bottom:3px;display:flex;overflow-x:auto}.exercise-quick-list button{border:1px solid var(--line);background:var(--surface);min-width:145px;min-height:50px;color:var(--theme-text);text-align:left;border-radius:10px;padding:8px 10px}.exercise-quick-list strong,.exercise-quick-list small{display:block}.exercise-quick-list strong{font-size:14px}.exercise-quick-list small{color:var(--theme-text);margin-top:3px;font-size:12px}.exercise-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;grid-template-columns:1fr 48px;align-items:stretch;min-height:76px;display:grid;position:relative;overflow:hidden}.exercise-card-main{min-width:0;color:var(--theme-text);text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:10px;padding:12px 10px 12px 14px;display:flex}.exercise-card-main>span{min-width:0}.exercise-card h2,.picker-card h2{margin:0;font-size:16px;line-height:1.2}.exercise-card p,.picker-card p{color:var(--theme-text);margin:4px 0 0;font-size:13px}.exercise-card-meta{text-align:right;flex:0 0 86px}.exercise-card small,.picker-card small{color:var(--theme-text);font-size:12px;line-height:1.25;display:block}.exercise-card em,.picker-card em{color:var(--theme-text);margin-top:5px;font-size:12px;font-style:normal;font-weight:900;display:inline-block}.picker-card{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;min-height:76px;color:var(--theme-text);text-align:left;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}.picker-card>span:first-child{min-width:0}.favorite-button{border:0;border-left:1px solid var(--line);min-width:48px;min-height:48px;color:var(--accent-text);background:0 0;align-self:stretch;font-size:24px}.load-more{border:1px solid var(--neutral-border);background:var(--surface);width:100%;min-height:48px;color:var(--theme-text);border-radius:10px;margin-top:12px;font-size:13px;font-weight:900}.exercise-detail-title{margin-top:8px}.exercise-detail-title .eyebrow{color:var(--accent)}.exercise-detail h2{color:var(--theme-text);margin:-10px 0 16px;font-size:18px}.exercise-detail section{border:1px solid var(--line);background:var(--surface);border-radius:12px;margin:12px 0;padding:16px}.exercise-detail h3{color:var(--theme-text);letter-spacing:1px;margin:0 0 8px;font-size:12px}.exercise-detail p,.exercise-detail li{color:var(--theme-text);font-size:14px;line-height:1.6}.exercise-detail ol,.exercise-detail ul{margin:0;padding-left:20px}.muscle-details{grid-template-columns:1fr 1fr;gap:12px;display:grid}.muscle-details div+div{border-left:1px solid var(--line);padding-left:12px}.muscle-details p{margin:0}.instruction-card{min-height:0}.detail-library-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:14px 0;display:grid}.detail-library-actions .detail-favorite,.detail-library-actions .primary-button{white-space:nowrap;min-height:56px;margin:0;padding:10px 8px;font-size:13px}.timer-screen,.ready-screen,.rest-screen,.core-screen,.rowing-screen,.rowing-finish{min-height:calc(100dvh - 122px - env(safe-area-inset-top) - env(safe-area-inset-bottom));text-align:center;flex-direction:column;align-items:center;padding-top:clamp(28px,7vh,70px);display:flex}.hero-timer,.rowing-time{font-variant-numeric:tabular-nums;letter-spacing:-5px;white-space:nowrap;margin:clamp(22px,6vh,52px) 0;font-family:Arial Narrow,Impact,sans-serif;font-size:clamp(88px,28vw,168px);line-height:.85}.warmup-moves{color:var(--theme-text);gap:7px;margin-bottom:auto;font-size:16px;display:grid}.warmup-moves span{color:var(--pink)}.timer-screen .screen-actions{margin-top:28px}.checkmark{background:var(--accent-soft);width:68px;height:68px;color:var(--accent-text);border-radius:50%;place-items:center;margin-bottom:20px;font-size:34px;font-weight:900;display:grid}.complete-title{margin:0 auto 36px;font-family:Arial Narrow,Impact,sans-serif;font-size:clamp(34px,10vw,55px);line-height:1}.ready-screen .next-card{margin-top:auto}.ready-screen .screen-actions{margin-top:16px}.exercise-screen{min-height:calc(100dvh - 122px - env(safe-area-inset-top) - env(safe-area-inset-bottom));text-align:center;flex-direction:column;padding-top:clamp(8px,2vh,18px);display:flex}.exercise-screen h1,.core-screen h1{text-transform:uppercase;margin:10px 0 14px;font-family:Arial Narrow,Impact,sans-serif;font-size:clamp(31px,9vw,52px);line-height:.95}.form-guide-button{border:1px solid var(--accent);background:var(--accent-soft);min-width:104px;min-height:40px;color:var(--accent-text);letter-spacing:1px;border-radius:20px;align-self:center;margin:-3px 0 8px;font-size:11px;font-weight:900}.guide-backdrop{z-index:20;padding:14px max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));background:var(--overlay);justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.quick-guide{width:min(520px,100%);max-height:calc(92dvh - env(safe-area-inset-top));border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:20px;padding:20px;overflow-y:auto}.quick-guide h2{text-transform:uppercase;margin:7px 0 0;font-size:28px}.quick-guide h3{color:var(--pink);margin:3px 0;font-size:14px}.quick-guide h4{color:var(--pink);letter-spacing:1px;font-size:11px}.quick-guide li{color:var(--theme-text);margin:5px 0;font-size:12px;line-height:1.4}.guide-target{gap:4px;font-weight:800;display:grid}.guide-target span{color:var(--pink);letter-spacing:1px;font-size:12px}.confirm-backdrop{z-index:30;background:var(--overlay);justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.confirm-dialog{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:18px;width:min(360px,100%);padding:22px 20px}.confirm-dialog>p{color:var(--theme-text);margin:0 0 20px;font-size:15px;line-height:1.5}.confirm-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.confirm-actions .primary-button{min-height:52px;font-size:14px}.confirm-cancel{border:1px solid var(--neutral-border);background:var(--neutral-bg);min-height:52px;color:var(--neutral-text);border-radius:14px;font-size:14px;font-weight:850}.set-reps{grid-template-columns:1fr 1fr;gap:10px;display:grid}.set-reps>div{background:var(--surface);border-radius:12px;padding:10px 12px 14px}.set-reps .stat-head{justify-content:space-between;align-items:center;gap:6px;min-height:30px;display:flex}.set-reps .stat-head .inline-edit{flex:none}.set-reps span,.weight-control>span,.core-reps span,.rowing-target span,.finish-time span{color:var(--theme-text);letter-spacing:1.4px;white-space:nowrap;font-size:12px;font-weight:900}.set-reps strong{margin-top:6px;font-family:Arial Narrow,Impact,sans-serif;font-size:clamp(40px,12vw,64px);line-height:1;display:block}.set-reps i{color:var(--theme-text);font-size:.45em;font-style:normal}.weight-control{margin:14px 0}.weight-control>div{justify-content:center;align-items:center;gap:16px;margin-top:5px;display:flex}.weight-control button{border:1px solid var(--line-strong);background:var(--surface-2);width:52px;height:52px;color:var(--theme-text);border-radius:50%;font-size:28px}.weight-control label{justify-content:center;align-items:baseline;min-width:116px;display:flex}.weight-control input{border:0;border-bottom:2px solid var(--accent);width:82px;color:var(--theme-text);text-align:center;background:0 0;outline:0;padding:4px;font-size:34px;font-weight:800}.weight-control small{color:var(--muted)}.exercise-screen .next-card{padding-top:10px;padding-bottom:10px}.review-note{color:var(--theme-text);margin:8px 0;font-size:11px}.sticky-actions{padding-top:12px;padding-bottom:max(2px, env(safe-area-inset-bottom));flex-direction:column;gap:10px;margin-top:auto;display:flex}.utility-actions{grid-template-columns:repeat(2,1fr);gap:4px;display:grid}.utility-actions button{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--theme-text);border-radius:8px;padding:5px 3px;font-size:13px;font-weight:800}.rest-screen{padding-top:clamp(30px,8vh,80px)}.rest-screen .hero-timer{margin-bottom:clamp(35px,8vh,70px)}.rest-screen.urgent .hero-timer{color:var(--pink)}.rest-screen.critical .hero-timer{color:var(--danger-text);text-shadow:0 0 28px var(--shadow);transform:scale(1.03)}.rest-screen .next-card{margin-top:auto}.rest-screen>.text-button{margin-top:10px}.adjust-actions{grid-template-columns:1fr 1fr;gap:10px;width:100%;margin:14px 0 10px;display:grid}.adjust-actions button{border:1px solid var(--line-strong);background:var(--surface);min-height:54px;color:var(--theme-text);border-radius:12px;font-size:13px;font-weight:900}.go-message{color:var(--pink);margin:auto 0;font-family:Arial Narrow,Impact,sans-serif;font-size:clamp(80px,25vw,140px);line-height:1}.round-label{color:var(--muted);letter-spacing:1.5px;margin:14px 0 4px;font-size:15px;font-weight:900}.round-label strong{color:var(--pink)}.core-screen h1{max-width:520px;margin-top:auto;font-size:clamp(40px,12vw,68px)}.core-reps{margin:12px 0 auto;font-family:Arial Narrow,Impact,sans-serif;font-size:clamp(72px,22vw,120px);line-height:.9}.core-reps span{color:var(--pink);margin-top:8px}.transition-icon{color:var(--pink);margin:auto 0 30px;font-size:80px}.rowing-target{margin-top:30px}.rowing-target strong{margin-top:4px;font-family:Arial Narrow,Impact,sans-serif;font-size:clamp(54px,16vw,90px);display:block}.rowing-target i{color:var(--pink);font-size:.34em;font-style:normal}.rowing-time{margin:24px 0;font-size:clamp(76px,24vw,130px)}.pace-list{background:var(--surface);border-radius:12px;width:100%;padding:12px 16px}.pace-list div{min-height:30px;color:var(--muted);justify-content:space-between;align-items:center;font-size:11px;display:flex}.pace-list b{color:var(--theme-text)}.rowing-screen .screen-actions{margin-top:auto}.rowing-finish label{width:100%;color:var(--muted);letter-spacing:1.8px;margin:auto 0 30px;font-size:12px;font-weight:900}.rowing-finish label div{justify-content:center;align-items:baseline;margin-top:16px;display:flex}.rowing-finish input{border:0;border-bottom:2px solid var(--accent);width:210px;color:var(--theme-text);text-align:center;background:0 0;outline:none;font-family:Arial Narrow,Impact,sans-serif;font-size:72px}.rowing-finish label div span{color:var(--pink);font-size:20px}.finish-time strong{margin-top:8px;font-size:34px;display:block}.rowing-finish .screen-actions{margin-top:auto}.complete-screen{text-align:center;padding-top:24px}.flame{font-size:48px}.complete-screen h1{margin-top:12px}.result-grid{text-align:left;grid-template-columns:1fr 1fr;gap:8px;display:grid}.result-grid>div{background:var(--surface);border-radius:12px;padding:14px}.result-grid>div:first-child{grid-column:1/-1}.result-grid span{color:var(--muted);margin-bottom:5px;font-size:12px;display:block}.result-grid strong{font-size:17px}.complete-screen .screen-actions{margin-top:18px}.summary-screen{padding-top:24px}.summary-screen>h1{margin:10px 0 24px;font-size:24px}.summary-screen section{background:var(--surface);border-radius:12px;margin-bottom:18px;padding:15px}.summary-screen h2{color:var(--pink);margin:0 0 10px;font-size:15px}.summary-set{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:36px;font-size:12px;display:flex}.summary-set span{min-width:0;color:var(--muted);flex:auto;font-size:12px}.summary-set b{overflow-wrap:anywhere;text-align:right;flex:0 auto;min-width:0}.transition-result-detail{color:var(--muted);letter-spacing:.4px;text-align:center;margin:-5px 0 18px;font-size:13px;font-weight:800}.circuit-result-round{margin-top:12px;padding-top:4px}.summary-screen .circuit-result-round h3{color:var(--theme-text);letter-spacing:1px;margin:0 0 5px;font-size:12px}.summary-total{font-family:Arial Narrow,Impact,sans-serif;font-size:40px}.inline-edit{border:1px solid var(--accent);height:30px;color:var(--accent-text);background:0 0;border-radius:8px;padding:0 10px;font-size:11px;font-weight:900;position:relative}.inline-edit:before{content:"";position:absolute;inset:-7px -6px}.modified-note,.edit-confirm{background:var(--accent-soft);color:var(--accent);border-radius:9px;padding:10px 12px;font-size:11px;font-weight:800}.modified-summary small{color:var(--muted);margin-top:5px;display:block}.modified-prompt{border:1px solid var(--line);background:var(--surface-2);text-align:left;border-radius:14px;gap:9px;margin:18px 0;padding:15px;display:grid}.modified-prompt h2{margin:0 0 4px;font-size:16px;line-height:1.35}.modified-prompt>button:not(.primary-button){border:1px solid var(--line);min-height:45px;color:var(--theme-text);background:0 0;border-radius:9px;font-size:11px;font-weight:900}.modified-prompt label{color:var(--muted);gap:6px;font-size:12px;font-weight:900;display:grid}.modified-prompt input{border:1px solid var(--line);background:var(--surface);min-height:46px;color:var(--control-text);border-radius:8px;padding:0 10px}.live-edit-screen{padding:10px 0 30px}.live-edit-screen h1{margin:12px 0 18px;font-family:Arial Narrow,Impact,sans-serif;font-size:clamp(34px,10vw,58px);line-height:.95}.live-panel{border:1px solid var(--line);background:var(--surface);border-radius:14px;margin:13px 0;padding:15px}.live-panel-title{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.live-panel-title h2{margin:6px 0 0;font-size:19px}.live-panel-title>b{color:var(--pink);white-space:nowrap;font-size:11px}.live-help{color:var(--muted);margin:9px 0;font-size:12px}.live-reps-list{gap:7px;display:grid}.live-reps-list label{min-height:48px;color:var(--theme-text);grid-template-columns:1fr 78px auto auto;align-items:center;gap:7px;font-size:11px;font-weight:800;display:grid}.live-reps-list label.done{color:var(--theme-text)}.live-reps-list input,.live-form-grid input,.replace-form input{border:1px solid var(--line);background:var(--surface-inset);width:100%;min-height:42px;color:var(--control-text);border-radius:8px;outline:none;padding:0 9px;font-size:14px}.live-reps-list input:focus,.live-form-grid input:focus,.replace-form input:focus{border-color:var(--pink)}.live-reps-list span{color:var(--muted);font-size:12px}.live-reps-list button,.live-row-actions button{border:1px solid var(--line);min-height:36px;color:var(--muted);background:0 0;border-radius:6px;padding:0 6px;font-size:8px;font-weight:900}.live-row-actions{flex-direction:column;gap:6px;display:flex}.live-row-move{gap:6px;display:flex}.live-row-move button{flex:0 0 44px;width:44px;padding:0}.live-row-manage{gap:6px;display:flex}.live-row-manage button{white-space:nowrap;text-overflow:ellipsis;flex:1 1 0;min-width:0;padding:0 4px;overflow:hidden}.live-reps-list.compact label{grid-template-columns:1fr 90px}.live-actions{gap:7px;margin-top:10px;display:grid}.live-actions>button:not(.primary-button){border:1px dashed var(--line);min-height:45px;color:var(--theme-text);background:0 0;border-radius:9px;font-size:12px;font-weight:900}.live-exercise-row{border-top:1px solid var(--line);gap:8px;padding:12px 0;display:grid}.live-exercise-row>div:first-child{justify-content:space-between;gap:10px;display:flex}.live-exercise-row strong,.live-exercise-row small{display:block}.live-exercise-row small{color:var(--muted);margin-top:4px;font-size:12px}.live-row-actions button:disabled{border-color:var(--line);color:var(--text-disabled);opacity:.55}.live-row-manage .live-remove{border-color:var(--danger-border);background:var(--danger-bg);color:var(--danger-text)}.replace-form{background:var(--surface);border-radius:9px;gap:9px;padding:12px;display:grid}.replace-form label,.live-form-grid label{color:var(--muted);gap:5px;font-size:12px;font-weight:900;display:grid}.live-form-grid{grid-template-columns:1fr 1fr;gap:7px;margin:10px 0;display:grid}.live-form-grid label:first-child{grid-column:1/-1}.radio-line{color:var(--theme-text);flex-wrap:wrap;gap:14px;margin:12px 0;font-size:11px;display:flex}.radio-line input{accent-color:var(--pink)}@media (width>=600px){.app{padding-left:34px;padding-right:34px}.exercise-screen{padding-top:32px}}@media (height<=700px){.app-header{height:34px}.hero-timer{margin:18px 0;font-size:clamp(74px,24vw,120px)}.timer-screen,.ready-screen,.rest-screen,.core-screen,.rowing-screen,.rowing-finish{padding-top:12px}.exercise-screen h1{margin:6px 0 10px;font-size:30px}.set-reps strong{font-size:45px}.weight-control{margin:10px 0}.weight-control button{width:46px;height:46px}.weight-control input{font-size:30px}.primary-button{min-height:64px}.next-card{padding:9px 12px}.utility-actions button{min-height:44px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}html[data-theme=a]{--pink:#ff3f86;--pink-soft:#351421;--surface:#15151b;--surface-2:#202027;--line:#2d2d35;--muted:#9b98a5;--theme-bg:#09090d;--theme-text:#f8f7fa;font-family:Manrope Local,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}html[data-theme=b]{--pink:#f45c58;--pink-soft:#ffe4df;--surface:#fff;--surface-2:#eef0f3;--line:#dfe2e7;--muted:#676b74;--theme-bg:#f7f8fa;--theme-text:#15161b;font-family:Pretendard Local,-apple-system,BlinkMacSystemFont,Malgun Gothic,sans-serif}html[data-theme=c]{--pink:#c7ff36;--pink-soft:#273311;--surface:#10191b;--surface-2:#172326;--line:#314144;--muted:#8c9b99;--theme-bg:#091012;--theme-text:#eff7f5;font-family:Arial Narrow,Roboto Condensed,Arial,sans-serif}html[data-theme=d]{--pink:#5965ff;--pink-soft:#292d5b;--surface:#202126;--surface-2:#292a31;--line:#3a3c46;--muted:#a7a8b2;--theme-bg:#191a1e;--theme-text:#f7f7fb;font-family:Manrope Local,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}html[data-theme] body,html[data-theme] .app{color:var(--theme-text)}html[data-theme=a] body{background:radial-gradient(circle at 50% -160px, var(--surface-2) 0, var(--surface-inset) 320px, var(--theme-bg) 520px)}html[data-theme=a] .library-heading h1,html[data-theme=a] .history-screen h1,html[data-theme=a] .settings-screen h1,html[data-theme=a] .exercise-library h1,html[data-theme=a] .exercise-detail h1,html[data-theme=a] .exercise-screen h1,html[data-theme=a] .core-screen h1,html[data-theme=a] .home-screen h1,html[data-theme=a] .complete-screen h1,html[data-theme=a] .hero-timer,html[data-theme=a] .rowing-time,html[data-theme=a] .core-reps{font-family:Barlow Condensed Local,Arial Narrow,sans-serif}.theme-setting{overflow:hidden}.theme-help{color:var(--muted);margin:7px 0 14px;font-size:12px;line-height:1.5}.theme-options{gap:8px;display:grid}.theme-option{border:1px solid var(--line);background:color-mix(in srgb, var(--surface-2) 54%, transparent);width:100%;min-height:68px;color:var(--theme-text);text-align:left;border-radius:12px;grid-template-columns:58px minmax(0,1fr) 24px;align-items:center;gap:11px;padding:9px 11px;display:grid}.theme-option[aria-checked=true]{border-color:var(--pink);box-shadow:0 0 0 1px color-mix(in srgb, var(--pink) 46%, transparent)}.theme-preview{border:1px solid var(--highlight);background:var(--surface);border-radius:9px;grid-template-rows:1fr 1fr;grid-template-columns:1fr 1.5fr;gap:4px;height:46px;padding:6px;display:grid}.theme-preview i{background:var(--surface-inset);border-radius:3px;display:block}.theme-preview i:first-child{background:var(--accent);grid-row:1/-1}.theme-preview i:nth-child(3){background:var(--surface-inset)}.theme-b .theme-preview{border-color:var(--line);background:var(--surface)}.theme-b .theme-preview i{background:var(--theme-bg);box-shadow:0 1px 3px var(--shadow)}.theme-b .theme-preview i:first-child{background:var(--accent)}.theme-b .theme-preview i:nth-child(3){background:var(--surface)}.theme-c .theme-preview{background:var(--surface-2);border-radius:3px}.theme-c .theme-preview i{background:var(--surface-2);border-radius:1px}.theme-c .theme-preview i:first-child{background:var(--accent)}.theme-c .theme-preview i:nth-child(3){background:var(--surface)}.theme-option-copy{min-width:0}.theme-option-copy strong,.theme-option-copy small{display:block}.theme-option-copy strong{letter-spacing:.35px;font-size:12px}.theme-option-copy small{color:var(--muted);margin-top:4px;font-size:11px}.theme-check{color:var(--pink);text-align:center;font-size:18px;font-weight:900}html[data-theme=b] body{background:linear-gradient(180deg, var(--surface) 0, var(--theme-bg) 340px)}html[data-theme=b] .app-header{border-bottom-color:var(--line)}html[data-theme=b] .brand,html[data-theme=b] .back-button,html[data-theme=b] .reset-button{color:var(--theme-text)}html[data-theme=b] .library-heading h1,html[data-theme=b] .history-screen h1,html[data-theme=b] .settings-screen h1,html[data-theme=b] .exercise-library h1,html[data-theme=b] .exercise-detail h1,html[data-theme=b] .home-screen h1,html[data-theme=b] .complete-screen h1{color:var(--theme-text);letter-spacing:-2px;font-family:Pretendard Local,-apple-system,BlinkMacSystemFont,Malgun Gothic,sans-serif;font-weight:600}html[data-theme=b] .exercise-screen h1,html[data-theme=b] .core-screen h1,html[data-theme=b] .hero-timer,html[data-theme=b] .rowing-time,html[data-theme=b] .core-reps{color:var(--theme-text);font-family:Pretendard Local,-apple-system,BlinkMacSystemFont,Malgun Gothic,sans-serif}html[data-theme=b] .routine-card,html[data-theme=b] .settings-group,html[data-theme=b] .profile-panel,html[data-theme=b] .data-management,html[data-theme=b] .phone-guide,html[data-theme=b] .recent-card,html[data-theme=b] .next-card,html[data-theme=b] .history-row,html[data-theme=b] .exercise-card,html[data-theme=b] .instruction-card,html[data-theme=b] .calculation-panel,html[data-theme=b] .editor-section,html[data-theme=b] .choose-routine-card{border-color:var(--line);background:var(--theme-bg);color:var(--theme-text);box-shadow:0 10px 28px var(--shadow)}html[data-theme=b] .routine-metrics>span,html[data-theme=b] .exercise-letter,html[data-theme=b] .stepper,html[data-theme=b] .weight-control,html[data-theme=b] .set-reps>div,html[data-theme=b] .pace-list,html[data-theme=b] .result-grid>div{border-color:var(--line);background:var(--surface);color:var(--theme-text)}html[data-theme=b] .routine-card h2,html[data-theme=b] .routine-metrics strong,html[data-theme=b] .exercise-card h2,html[data-theme=b] .history-row,html[data-theme=b] .setting-row,html[data-theme=b] .detail-exercise strong,html[data-theme=b] .next-card strong,html[data-theme=b] .summary-screen,html[data-theme=b] .routine-detail,html[data-theme=b] .routine-editor,html[data-theme=b] .exercise-editor,html[data-theme=b] .routine-card p,html[data-theme=b] .routine-cardio,html[data-theme=b] .exercise-card-copy p,html[data-theme=b] .detail-exercise span,html[data-theme=b] .detail-exercise small,html[data-theme=b] .volume-note,html[data-theme=b] .phone-guide{color:var(--theme-text)}html[data-theme=b] .setting-row{border-bottom-color:var(--line)}html[data-theme=b] .setting-row button{background:var(--surface);color:var(--theme-text)}html[data-theme=b] .setting-row button[aria-pressed=true]{background:var(--accent);color:var(--accent-contrast)}html[data-theme=b] .primary-button,html[data-theme=b] .card-start{color:var(--theme-text);box-shadow:0 8px 22px var(--highlight)}html[data-theme=b] .primary-button.secondary,html[data-theme=b] .text-button.subtle,html[data-theme=b] .utility-actions button,html[data-theme=b] .adjust-actions button{border-color:var(--line);background:var(--theme-bg);color:var(--theme-text)}html[data-theme=b] input,html[data-theme=b] select,html[data-theme=b] textarea,html[data-theme=b] .form-field>input,html[data-theme=b] .form-field select,html[data-theme=b] .unit-input{border-color:var(--line);background:var(--control-bg);color:var(--control-text)}html[data-theme=b] .bottom-nav{border-top-color:var(--line);background:var(--theme-bg)}html[data-theme=b] .bottom-nav button{color:var(--theme-text)}html[data-theme=b] .bottom-nav button.active{background:var(--accent);color:var(--accent)}html[data-theme=b] .bottom-nav .nav-icon{color:var(--theme-text)}html[data-theme=b] .bottom-nav button.active .nav-icon{color:var(--pink)}html[data-theme=b] .routine-start-action,html[data-theme=b] .editor-save-bar{background:linear-gradient(transparent, var(--surface) 22%)}html[data-theme=c] body{background:linear-gradient(var(--highlight) 1px, transparent 1px), linear-gradient(90deg, var(--highlight) 1px, transparent 1px), var(--theme-bg);background-size:24px 24px}html[data-theme=d] body{background:radial-gradient(circle at 72% -180px, var(--accent-soft) 0, var(--theme-bg-top) 330px, var(--theme-bg) 560px)}html[data-theme=c] .app-header{border-bottom-color:var(--line)}html[data-theme=c] .library-heading h1,html[data-theme=c] .history-screen h1,html[data-theme=c] .settings-screen h1,html[data-theme=c] .exercise-library h1,html[data-theme=c] .exercise-detail h1,html[data-theme=c] .exercise-screen h1,html[data-theme=c] .core-screen h1,html[data-theme=c] .home-screen h1,html[data-theme=c] .complete-screen h1,html[data-theme=c] .hero-timer,html[data-theme=c] .rowing-time,html[data-theme=c] .core-reps{color:var(--muted);letter-spacing:.5px;text-transform:uppercase;font-family:Arial Narrow,Roboto Condensed,Arial,sans-serif}html[data-theme=c] .routine-card,html[data-theme=c] .settings-group,html[data-theme=c] .profile-panel,html[data-theme=c] .data-management,html[data-theme=c] .phone-guide,html[data-theme=c] .recent-card,html[data-theme=c] .next-card,html[data-theme=c] .history-row,html[data-theme=c] .exercise-card,html[data-theme=c] .instruction-card,html[data-theme=c] .editor-section,html[data-theme=c] .choose-routine-card{border-color:var(--line);background:var(--surface-2);box-shadow:inset 3px 0 0 color-mix(in srgb, var(--pink) 70%, transparent);border-radius:6px}html[data-theme=c] button,html[data-theme=c] input,html[data-theme=c] select,html[data-theme=c] textarea,html[data-theme=c] .routine-metrics>span,html[data-theme=c] .exercise-letter{border-radius:5px}html[data-theme=c] .primary-button,html[data-theme=c] .card-start{color:var(--accent-contrast);box-shadow:0 8px 22px var(--highlight)}html[data-theme=c] .routine-card h2,html[data-theme=c] .routine-metrics strong,html[data-theme=c] .exercise-card h2,html[data-theme=c] .history-row,html[data-theme=c] .setting-row{color:var(--muted)}html[data-theme=c] .routine-metrics>span{border-color:var(--line);background:var(--surface-2)}html[data-theme=c] .setting-row{border-bottom-color:var(--line)}html[data-theme=c] .setting-row button{background:var(--surface);color:var(--theme-text)}html[data-theme=c] .setting-row button[aria-pressed=true]{background:var(--accent);color:var(--accent-contrast)}html[data-theme=c] .bottom-nav{border-top-color:var(--line);background:var(--surface-2)}html[data-theme=c] .bottom-nav button.active{background:var(--accent-soft);color:var(--accent-text)}html[data-theme=c] .bottom-nav .nav-icon{color:var(--theme-text)}html[data-theme=c] .bottom-nav button.active .nav-icon{color:var(--pink)}html[data-theme=c] .progress-track{background:var(--surface);border-radius:1px}html[data-theme=c] .progress-track span{border-radius:1px}html[data-theme=c] .routine-start-action,html[data-theme=c] .editor-save-bar{background:linear-gradient(transparent, var(--surface-2) 22%)}@media (width>=700px){.theme-options{grid-template-columns:repeat(3,minmax(0,1fr))}.theme-option{grid-template-columns:48px minmax(0,1fr)}.theme-check{opacity:0;position:absolute}}.library-screen,.history-screen,.settings-screen{min-height:calc(100dvh - 54px);padding:22px 0 calc(94px + env(safe-area-inset-bottom))}.library-heading h1,.history-screen h1,.settings-screen h1{margin:4px 0 22px;font-family:Arial Narrow,Impact,sans-serif;font-size:clamp(38px,10vw,58px);line-height:1}.routine-grid{gap:14px;display:grid}.routine-card{border:1px solid var(--line);background:linear-gradient(145deg, var(--surface-2), var(--surface));box-shadow:0 12px 34px var(--shadow);border-radius:16px;padding:17px}.routine-card-open{width:100%;color:var(--theme-text);text-align:left;background:0 0;border:0;padding:0}.routine-card-open:focus-visible{outline:2px solid var(--pink);outline-offset:6px}.routine-card-title{align-items:flex-start;gap:13px;display:flex}.routine-card-title>span{font-size:32px}.routine-card h2{margin:0 0 4px;font-size:22px}.routine-card p{color:var(--theme-text);margin:0;font-size:14px;line-height:1.4}.routine-time{color:var(--pink);letter-spacing:1.4px;margin:20px 0 11px;font-size:12px;display:block}.routine-meta{gap:5px;margin-bottom:16px;display:grid}.routine-meta span{color:var(--theme-text);font-size:13px;line-height:1.35}.card-start{background:var(--accent);width:100%;min-height:54px;color:var(--accent-contrast);border:0;border-radius:12px;font-size:14px;font-weight:900}.new-routine{border:1px dashed var(--line);width:100%;min-height:58px;color:var(--theme-text);background:0 0;border-radius:14px;margin:15px 0 24px;font-size:13px;font-weight:900}.choose-routine-screen,.exercise-picker{padding-top:8px}.choose-routine-screen h1,.exercise-picker h1{margin:8px 0 4px;font-size:26px}.choose-routine-screen .volume-note{margin:4px 0 0}.choose-routine-list{gap:10px;display:grid}.choose-routine-card{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;color:var(--theme-text);text-align:left;border-radius:14px;align-items:center;gap:13px;padding:15px;display:flex}.choose-routine-card>span:first-child{flex:none;font-size:26px}.choose-routine-text{min-width:0}.choose-routine-text strong{font-size:16px;display:block}.choose-routine-text small{color:var(--theme-text);margin-top:3px;font-size:13px;line-height:1.35;display:block}.exercise-picker .new-routine{margin-top:12px}.in-progress{border:1px solid var(--line);background:var(--surface-2);border-radius:15px;margin-bottom:26px;padding:17px}.in-progress h2{margin:10px 0 5px}.in-progress>p:not(.eyebrow){color:var(--muted);margin:0 0 14px;font-size:12px}.in-progress>div{grid-template-columns:2fr 1fr;gap:7px;display:grid}.in-progress .primary-button{min-height:52px}.recent-card{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:16px}.recent-card .section-label{color:var(--pink);margin-bottom:12px}.recent-card>div{justify-content:space-between;margin:7px 0;font-size:12px;display:flex}.recent-card span{color:var(--muted)}.recent-card b{color:var(--accent-text)}.recent-card button{border:1px solid var(--line);width:100%;min-height:44px;color:var(--theme-text);background:0 0;border-radius:9px;margin-top:8px;font-size:11px;font-weight:800}.bottom-nav{z-index:5;width:min(680px,100%);min-height:calc(68px + env(safe-area-inset-bottom));padding:4px max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));backface-visibility:hidden;will-change:transform;border-top:1px solid var(--line);background:var(--nav-bg);-webkit-backdrop-filter:blur(14px);grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.bottom-nav button{min-width:0;min-height:52px;color:var(--theme-text);letter-spacing:.4px;background:0 0;border:0;border-radius:8px;font-size:11px;font-weight:900;position:relative}.bottom-nav button.active:after{content:"";background:var(--pink);border-radius:3px;height:3px;position:absolute;bottom:5px;left:28%;right:28%}@media (width<=599px){input:not([type=range]),select,textarea{font-size:16px!important}}.back-button{min-height:44px;color:var(--theme-text);background:0 0;border:0;padding:0 6px;font-size:13px;font-weight:900}.routine-detail,.routine-editor,.exercise-editor{padding:10px 0 calc(102px + env(safe-area-inset-bottom))}.detail-title{align-items:flex-start;gap:14px;margin:18px 0 25px;display:flex}.detail-title>span{font-size:40px}.detail-title h1{margin:0 0 5px;font-size:30px}.detail-title p{color:var(--muted);margin:0 0 8px;font-size:13px}.detail-title b{color:var(--pink);font-size:11px}.detail-section{margin-bottom:16px}.detail-section h2{border-bottom:1px solid var(--line);color:var(--pink);letter-spacing:1.4px;margin:0;padding:10px 0;font-size:11px}.detail-exercise{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:68px;display:grid}.detail-exercise strong,.detail-exercise span{display:block}.detail-exercise strong{font-size:14px}.detail-exercise span,.detail-exercise small{color:var(--theme-text);margin-top:5px;font-size:13px;line-height:1.35}.detail-exercise small{text-align:right;max-width:94px}.detail-actions{gap:10px;margin-top:26px;display:grid}.detail-actions>button:not(.primary-button){border:1px solid var(--neutral-border);background:var(--neutral-bg);min-height:48px;color:var(--neutral-text);border-radius:10px;font-size:13px;font-weight:850}.detail-actions .restore-action{border-color:var(--line)!important;color:var(--text-secondary)!important}.detail-actions .delete-link{margin-top:14px;border-color:var(--danger-border)!important;background:var(--danger-bg)!important;color:var(--danger-text)!important}.summary-screen .delete-link,.day-detail .delete-link{border:1px solid var(--danger-border);background:var(--danger-bg);width:100%;min-height:48px;color:var(--danger-text);border-radius:10px;margin-top:14px;padding:0 18px;font-size:13px;font-weight:850}.routine-start-action{z-index:4;width:min(100% - 24px,656px);padding:12px 4px max(10px, env(safe-area-inset-bottom));background:linear-gradient(transparent, var(--surface) 18%);position:fixed;bottom:0;left:50%;transform:translate(-50%)}.routine-start-action.docked{background:0 0;width:auto;margin-top:18px;padding:0;position:static;bottom:auto;left:auto;transform:none}.routine-editor>.eyebrow,.exercise-editor>.eyebrow{margin:10px 0 22px}.form-field{color:var(--theme-text);letter-spacing:1px;gap:8px;margin-bottom:17px;font-size:12px;font-weight:900;display:grid}.form-help{color:var(--theme-text);letter-spacing:0;font-size:13px;font-weight:500}.form-requirement{color:var(--theme-text);margin:10px 0;font-size:13px;line-height:1.4}.form-field>input,.form-field select,.unit-input,.add-section input,.movement-add input{border:1px solid var(--line);background:var(--control-bg);min-height:50px;color:var(--control-text);letter-spacing:0;border-radius:10px;outline:none;padding:0 13px;font-size:15px}.form-field input:focus,.form-field select:focus,.editor-section-head input:focus{border-color:var(--pink)}.unit-input{align-items:center;display:flex}.unit-input input{min-width:0;color:var(--theme-text);background:0 0;border:0;outline:none;flex:1;font-size:18px}.unit-input span{color:var(--muted)}.editor-sections{gap:14px;margin:22px 0;display:grid}.editor-section{border:1px solid var(--line);background:var(--surface);border-radius:13px;padding:12px}.editor-section-head{gap:8px;margin-bottom:10px;display:grid}.editor-section-head>div{justify-content:flex-end;gap:6px;display:flex}.editor-section-name{color:var(--theme-text);gap:5px;font-size:12px;font-weight:900;display:grid}.editor-section-head input{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;min-height:46px;color:var(--theme-text);border-radius:8px;outline:none;padding:0 10px;font-size:15px;font-weight:800}.editor-section-head button,.editor-exercise>div button{border:1px solid var(--line);background:var(--surface-inset);min-width:44px;min-height:44px;color:var(--theme-text);border-radius:8px;font-size:13px}.editor-section-head button:disabled,.editor-exercise>div button:disabled{border-color:var(--line);background:var(--surface-inset);color:var(--text-disabled);opacity:1}.editor-section-head .editor-delete,.editor-exercise .editor-delete{border-color:var(--danger-border);background:var(--danger-bg);color:var(--danger-text)}.editor-exercise{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr);gap:7px;padding:10px 0;display:grid}.exercise-main{min-width:0;color:var(--theme-text);text-align:left;background:0 0;border:0;flex:1;padding:5px}.exercise-main strong,.exercise-main span{display:block}.exercise-main span{color:var(--theme-text);margin-top:4px;font-size:13px}.editor-exercise>div{grid-template-columns:44px 44px minmax(92px,auto);justify-content:end;gap:6px;display:grid}.add-exercise{border:1px dashed var(--line);width:100%;min-height:48px;color:var(--theme-text);background:0 0;border-radius:9px;margin-top:6px;font-size:13px;font-weight:900}.add-section{gap:8px;margin-bottom:18px;display:grid}.add-section label{color:var(--theme-text);gap:6px;font-size:12px;font-weight:900;display:grid}.add-section button,.movement-add button{border:1px solid var(--neutral-border);background:var(--neutral-bg);min-height:50px;color:var(--neutral-text);border-radius:10px;padding:0 13px;font-size:13px;font-weight:900}.form-block{margin-bottom:18px}.form-block>span,.reps-editor>span,.movement-list>span,.mode-select>span{color:var(--theme-text);letter-spacing:1px;margin-bottom:8px;font-size:12px;font-weight:900;display:block}.stepper{background:var(--surface);border-radius:11px;justify-content:space-between;align-items:center;min-height:54px;padding:4px;display:flex}.stepper button{background:var(--surface-inset);width:46px;height:46px;color:var(--theme-text);border:0;border-radius:9px;font-size:24px}.stepper strong{font-size:18px}.reps-editor{margin-bottom:18px}.reps-editor label{border-top:1px solid var(--line);min-height:48px;color:var(--muted);justify-content:space-between;align-items:center;font-size:11px;display:flex}.reps-editor input{border:1px solid var(--line);background:var(--control-bg);width:95px;color:var(--control-text);text-align:center;border-radius:8px;padding:8px}.toggle-field{min-height:54px;color:var(--theme-text);justify-content:space-between;align-items:center;margin-bottom:20px;font-size:12px;font-weight:900;display:flex}.toggle-field button{background:var(--accent-soft);min-width:68px;min-height:44px;color:var(--accent);border:0;border-radius:22px;font-size:12px;font-weight:900}.mode-select{flex-wrap:wrap;gap:14px;margin-bottom:18px;display:flex}.mode-select>span{width:100%}.mode-select label{color:var(--theme-text);font-size:13px}.movement-list{margin-bottom:12px}.movement-list>div{border-top:1px solid var(--line);justify-content:space-between;align-items:center;min-height:44px;font-size:12px;display:flex}.movement-list button{min-width:68px;min-height:44px;color:var(--text-secondary);background:0 0;border:0;font-size:12px;font-weight:900}.movement-add{grid-template-columns:2fr 1fr;gap:7px;margin-bottom:20px;display:grid}.movement-add input{min-width:0}.movement-add button{grid-column:1/-1}.history-calendar{border:1px solid var(--line);background:var(--surface);border-radius:14px;margin-bottom:18px;padding:16px}.calendar-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.calendar-title{color:var(--theme-text);letter-spacing:.3px;font-size:14px;font-weight:900}.calendar-nav{border:1px solid var(--line);background:var(--surface-2);min-width:36px;min-height:36px;color:var(--theme-text);border-radius:10px;font-size:16px;font-weight:900;line-height:1}.calendar-weekdays{color:var(--muted);text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));margin-bottom:4px;font-size:11px;font-weight:800;display:grid}.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;display:grid}.calendar-cell{aspect-ratio:1;background:0 0;border:0;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:1px;min-height:0;display:flex;position:relative}.calendar-cell.empty{visibility:hidden}.today-label{height:9px;color:var(--pink);letter-spacing:.06em;text-transform:uppercase;font-size:7px;font-weight:900;line-height:1;display:block}.cell-circle{width:30px;height:30px;color:var(--theme-text);border-radius:50%;place-items:center;font-size:13px;font-weight:700;display:grid}.calendar-cell.has-entry .cell-circle,.calendar-cell.selected .cell-circle{background:var(--accent);color:var(--accent-contrast);font-weight:900}.calendar-day-list{border-top:1px solid var(--line);gap:8px;margin-top:14px;padding-top:14px;display:grid}.day-detail{border-top:1px solid var(--line);margin-top:14px;padding-top:14px}.day-detail-head{margin-bottom:14px}.day-detail-date{color:var(--theme-text);font-size:13px;font-weight:900}.day-detail-total{border:1px solid var(--line);background:var(--surface-2);border-radius:12px;justify-content:space-between;align-items:baseline;margin-bottom:16px;padding:14px;display:flex}.day-detail-total .section-label{color:var(--pink)}.day-detail-total strong{color:var(--theme-text);font-variant-numeric:tabular-nums;font-size:20px}.day-detail-routine{gap:14px;display:grid}.day-detail-exercise h3{color:var(--theme-text);margin:0 0 6px;font-size:14px;font-weight:900}.calendar-empty-day{border-top:1px solid var(--line);color:var(--muted);text-align:center;margin-top:14px;padding-top:18px;font-size:13px;line-height:1.6}.calendar-day-list .history-row{margin-bottom:0}.history-row{border:1px solid var(--line);background:var(--surface);width:100%;min-height:70px;color:var(--theme-text);text-align:left;border-radius:12px;justify-content:space-between;align-items:center;margin-bottom:9px;padding:12px 14px;display:flex}.history-row span strong,.history-row span small{margin-top:3px;display:block}.history-row small{color:var(--muted)}.history-row>b{color:var(--pink);flex:none;font-size:13px}.history-row small{font-size:12px;line-height:1.4}.empty-state{min-height:52dvh;color:var(--theme-text);text-align:center;align-content:center;justify-items:center;padding:40px 16px;display:grid}.empty-state h2{color:var(--theme-text);margin:0 0 8px;font-size:20px}.empty-state p{max-width:300px;margin:0 0 18px;font-size:14px;line-height:1.5}.empty-state button{border:1px solid var(--neutral-border);background:var(--neutral-bg);min-height:48px;color:var(--neutral-text);border-radius:10px;padding:0 18px;font-size:13px;font-weight:900}.editor-save-bar{z-index:4;width:min(100% - 24px,656px);padding:12px 4px max(10px, env(safe-area-inset-bottom));background:linear-gradient(transparent, var(--surface) 18%);position:fixed;bottom:0;left:50%;transform:translate(-50%)}.plan-list b,.restore-mode label,.summary-calorie-banner small,.complete-calories small,.calorie-breakdown,.calculation-details,.rowing-finish label,.result-grid span,.summary-set span,.modified-prompt label,.live-help,.live-reps-list span,.live-exercise-row small,.replace-form label,.live-form-grid label{font-size:12px}.form-guide-button{min-height:44px;font-size:12px}.pace-list div{min-height:36px;font-size:12px}.summary-set,.live-reps-list button,.live-row-actions button{min-height:44px;font-size:13px}.live-actions>button:not(.primary-button){min-height:46px;font-size:12px}.alert-style select,.profile-panel select,.profile-fields input{min-height:46px}.restore-mode label{min-height:44px}@media (width<=380px){.profile-fields,.detail-library-actions{grid-template-columns:1fr}.category-filter>div{grid-template-columns:repeat(3,minmax(0,1fr))}}:root{--pink:#ff3f86;--pink-soft:#351421;--surface:#15151b;--surface-2:#202027;--line:#2d2d35;--muted:#9b98a5}body{background:radial-gradient(circle at 50% -160px, var(--muted) 0, var(--muted) 320px, var(--muted) 520px)}.app{padding-top:max(12px, env(safe-area-inset-top))}.app-header{border-bottom:1px solid var(--line);height:44px}.brand{letter-spacing:1.9px;font-size:11px}.library-screen,.history-screen,.settings-screen{padding-top:26px;padding-bottom:calc(104px + env(safe-area-inset-bottom))}.settings-screen h1{touch-action:manipulation}.library-heading h1,.history-screen h1,.settings-screen h1{letter-spacing:-1.2px;margin:4px 0 20px;font-size:clamp(40px,11vw,60px)}.screen-heading .eyebrow{margin-bottom:7px}.routine-grid{gap:12px}.routine-card{border-color:var(--line);background:linear-gradient(145deg, var(--surface-inset) 0%, var(--surface-inset) 82%);box-shadow:0 14px 34px var(--overlay), inset 0 1px 0 var(--highlight);border-radius:18px;padding:14px}.routine-card-title{align-items:center;gap:12px;padding-right:20px;position:relative}.routine-card-title .routine-emoji{border:1px solid var(--line);background:var(--pink-soft);border-radius:14px;flex:0 0 48px;place-items:center;width:48px;height:48px;font-size:25px;display:grid}.routine-card-title>div{min-width:0}.routine-card h2{margin-bottom:3px;font-size:20px;line-height:1.15}.routine-card p{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.routine-chevron{color:var(--theme-text);font-size:28px;font-weight:300;position:absolute;right:0}.routine-metrics{grid-template-columns:repeat(3,1fr);gap:7px;margin:14px 0 8px;display:grid}.routine-metrics>span{border:1px solid var(--line);background:var(--surface);text-align:center;border-radius:10px;min-width:0;padding:9px 4px 8px}.routine-metrics strong,.routine-metrics small{display:block}.routine-metrics strong{color:var(--theme-text);font-size:18px;line-height:1}.routine-metrics small{color:var(--theme-text);letter-spacing:.7px;margin-top:5px;font-size:9px;font-weight:900}.routine-card .routine-cardio{color:var(--theme-text);white-space:normal;margin:0 1px 10px;font-size:11px;font-weight:700}.card-start{min-height:50px;box-shadow:0 8px 22px var(--highlight);border-radius:12px}.new-routine{border-color:var(--line);min-height:54px;color:var(--theme-text);letter-spacing:.6px;margin-top:12px}.in-progress{border-color:var(--line);background:linear-gradient(135deg, var(--surface-2), var(--surface));box-shadow:inset 0 1px 0 var(--highlight);border-radius:17px;margin-bottom:22px;padding:15px}.in-progress-status{justify-content:space-between;align-items:center;display:flex}.in-progress-status strong{color:var(--pink);font-size:12px}.in-progress h2{margin:10px 0 4px;font-size:19px}.in-progress>p:not(.eyebrow){margin-bottom:10px}.in-progress-track{background:var(--surface);border-radius:4px;height:4px;margin-bottom:12px;overflow:hidden}.in-progress-track span{border-radius:inherit;background:var(--pink);height:100%;display:block}.in-progress-actions{grid-template-columns:1fr 50px;gap:8px;display:grid}.in-progress-actions .primary-button{min-height:50px}.end-session-button{border:1px solid var(--line);background:var(--surface);min-width:50px;min-height:50px;color:var(--accent);border-radius:12px;font-size:12px}.bottom-nav{min-height:calc(76px + env(safe-area-inset-bottom));border-top-color:var(--line);background:var(--surface);gap:3px;padding-top:6px}.bottom-nav button{letter-spacing:.2px;border-radius:12px;align-content:center;justify-items:center;gap:3px;min-height:58px;font-size:11px;display:grid}.bottom-nav .nav-icon{height:23px;color:var(--theme-text);place-items:center;font-size:19px;line-height:1;display:grid}.bottom-nav button.active{background:var(--accent-soft);color:var(--accent)}.bottom-nav button.active .nav-icon{color:var(--pink)}.bottom-nav button.active:after{display:none}.exercise-library{padding-top:24px;padding-bottom:calc(104px + env(safe-area-inset-bottom))}.exercise-library-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.exercise-library-heading h1{margin:8px 0 18px}.create-exercise-button{border:1px solid var(--line);background:var(--surface-2);min-height:44px;color:var(--accent);white-space:nowrap;border-radius:12px;padding:0 14px;font-size:12px;font-weight:900}.library-filters{gap:10px}.search-field{position:relative}.library-search{background:var(--surface);border-radius:13px;min-height:50px;padding-left:15px}.compact-filters{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;display:grid}.compact-filters button{border:1px solid var(--line);background:var(--surface-inset);min-width:0;min-height:44px;color:var(--theme-text);border-radius:11px;padding:0 4px;font-size:11px;font-weight:900}.compact-filters button.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.advanced-filters{border:1px solid var(--line);background:var(--surface);border-radius:13px;gap:12px;padding:13px;display:grid}.advanced-filters .category-filter>div{grid-template-columns:repeat(3,minmax(0,1fr))}.library-count{margin:18px 0 8px}.exercise-grid{gap:7px}.exercise-card{background:var(--surface-inset);border-radius:13px;grid-template-columns:minmax(0,1fr) 48px;min-height:70px}.exercise-card-main{grid-template-columns:42px minmax(0,1fr) 14px;justify-content:stretch;gap:10px;padding:10px 7px 10px 10px;display:grid}.exercise-letter{border:1px solid var(--line);background:var(--surface-2);width:42px;height:42px;color:var(--accent);border-radius:11px;place-items:center;font-size:16px;font-weight:900;display:grid}.exercise-card-copy{min-width:0}.exercise-card h2{text-overflow:ellipsis;white-space:nowrap;font-size:15px;line-height:1.2;overflow:hidden}.exercise-card-copy p{color:var(--theme-text);text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:11px;overflow:hidden}.exercise-chevron{color:var(--theme-text);align-self:center;font-size:22px}.favorite-button{min-width:48px;color:var(--accent);font-size:22px}.settings{gap:10px;margin-top:0}.settings-group,.profile-panel,.data-management,.phone-guide{background:linear-gradient(145deg, var(--surface-inset), var(--surface-inset));border-radius:15px;padding:15px}.settings .section-label,.data-management .section-label{color:var(--pink);letter-spacing:1.4px}.setting-row{min-height:60px}.setting-row>span{font-size:14px;font-weight:750}.setting-row button{background:var(--surface-inset);min-width:58px;color:var(--theme-text);border:0;position:relative}.setting-row button[aria-pressed=true]{background:var(--pink);color:var(--accent-contrast)}.alert-style select,.profile-panel select,.profile-fields input,.custom-exercise-form input,.custom-exercise-form select{background:var(--surface);border-radius:10px}.test-alert,.save-profile,.backup-button,.restore-button{border-radius:11px;min-height:48px}.phone-guide{color:var(--theme-text);margin-top:10px;font-size:13px}.timer-screen .eyebrow{color:var(--pink)}.timer-screen .hero-timer{text-shadow:0 0 30px var(--highlight)}.timer-screen .screen-actions,.exercise-screen .sticky-actions{padding-bottom:max(4px, env(safe-area-inset-bottom))}@media (width>=720px){.app{max-width:760px;padding-left:42px;padding-right:42px}.bottom-nav{width:min(760px,100%)}.routine-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.routine-grid .routine-card:only-child{grid-column:1/-1}.exercise-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=370px){.routine-card{padding:12px}.routine-metrics small{letter-spacing:.35px;font-size:8px}.compact-filters{gap:5px}.compact-filters button{font-size:10px}.exercise-card-main{grid-template-columns:38px minmax(0,1fr) 12px;gap:8px}.exercise-letter{width:38px;height:38px}}html[data-theme=a]{--theme-bg:#09090d;--theme-bg-top:#111116;--surface:#15151b;--surface-2:#202027;--surface-inset:#101015;--line:#2d2d35;--line-strong:#45424d;--theme-text:#f8f7fa;--text-secondary:#d8d5dc;--muted:#9b98a5;--text-disabled:#716e78;--accent:#ff3f86;--accent-text:#ff3f86;--accent-soft:#351421;--accent-contrast:#170a10;--control-bg:#15151b;--control-text:#f8f7fa;--label-text:#d8d5dc;--body-text:#c8c5cf;--neutral-bg:#202027;--neutral-text:#f0edf2;--neutral-border:#403e49;--disabled-bg:#17171d;--disabled-text:#716e78;--danger-bg:#32151f;--danger-text:#ff8bad;--danger-border:#663047;--success-bg:#153624;--success-text:#a3edbd;--success-border:#2f6b47;--warning-bg:#2a2412;--warning-text:#ffd166;--warning-border:#806a2d;--critical:#ff174f;--overlay:#000a;--shadow:#00000070;--highlight:#ffffff08;--nav-bg:#0c0c11f2;--focus-ring:#ff3f8655}html[data-theme=b]{--theme-bg:#f7f8fa;--theme-bg-top:#fbfbfc;--surface:#fff;--surface-2:#eef0f3;--surface-inset:#e5e8ed;--line:#dfe2e7;--line-strong:#b8bec8;--theme-text:#15161b;--text-secondary:#303640;--muted:#4f5662;--text-disabled:#626975;--accent:#f45c58;--accent-text:#a8322f;--accent-soft:#ffe4df;--accent-contrast:#fff;--control-bg:#fff;--control-text:#15161b;--label-text:#3f4651;--body-text:#4f5662;--neutral-bg:#fff;--neutral-text:#272a31;--neutral-border:#b8bec8;--disabled-bg:#e5e8ed;--disabled-text:#626975;--danger-bg:#fff0ed;--danger-text:#ad2d27;--danger-border:#dc918a;--success-bg:#e6f6eb;--success-text:#216b3a;--success-border:#8fcaa1;--warning-bg:#fff7df;--warning-text:#765611;--warning-border:#d9bd68;--critical:#c62828;--overlay:#15161b66;--shadow:#20242b24;--highlight:#fffc;--nav-bg:#ffffffed;--focus-ring:#f45c5855}html[data-theme=c]{--theme-bg:#091012;--theme-bg-top:#0b1214;--surface:#10191b;--surface-2:#172326;--surface-inset:#0b1214;--line:#314144;--line-strong:#526568;--theme-text:#eff7f5;--text-secondary:#c6d2d0;--muted:#8c9b99;--text-disabled:#82928f;--accent:#c7ff36;--accent-text:#c7ff36;--accent-soft:#273311;--accent-contrast:#111800;--control-bg:#10191b;--control-text:#eff7f5;--label-text:#c6d2d0;--body-text:#aebcba;--neutral-bg:#172326;--neutral-text:#eff7f5;--neutral-border:#526568;--disabled-bg:#121b1d;--disabled-text:#82928f;--danger-bg:#2a2412;--danger-text:#ffd166;--danger-border:#806a2d;--success-bg:#17351f;--success-text:#9fe6ae;--success-border:#3f7750;--warning-bg:#2a2412;--warning-text:#ffd166;--warning-border:#806a2d;--critical:#ff806b;--overlay:#000000b8;--shadow:#00000080;--highlight:#c7ff3608;--nav-bg:#081012f2;--focus-ring:#c7ff3655}html[data-theme=d]{--theme-bg:#191a1e;--theme-bg-top:#1f2025;--surface:#202126;--surface-2:#292a31;--surface-inset:#18191d;--line:#3a3c46;--line-strong:#555866;--theme-text:#f7f7fb;--text-secondary:#d9dae2;--muted:#a7a8b2;--text-disabled:#737580;--accent:#5965ff;--accent-text:#7d86ff;--accent-soft:#292d5b;--accent-contrast:#fff;--control-bg:#202126;--control-text:#f7f7fb;--label-text:#d9dae2;--body-text:#c6c7d0;--neutral-bg:#292a31;--neutral-text:#f3f3f8;--neutral-border:#4b4e5b;--disabled-bg:#222329;--disabled-text:#737580;--danger-bg:#272b52;--danger-text:#c1c5ff;--danger-border:#5965ff;--success-bg:#232c4e;--success-text:#aeb4ff;--success-border:#4f5ab5;--warning-bg:#39301f;--warning-text:#f4cf78;--warning-border:#806d3e;--critical:#8d95ff;--overlay:#111216c2;--shadow:#00000075;--highlight:#5965ff12;--nav-bg:#1b1c21f2;--focus-ring:#5965ff55}html[data-theme]{--pink:var(--accent);--pink-soft:var(--accent-soft)}.exercise-library-heading{width:100%;min-width:0;overflow:hidden}.exercise-library-heading h1{white-space:nowrap;flex:auto;min-width:0;font-size:clamp(38px,11vw,54px)}.create-exercise-button{border-color:color-mix(in srgb, var(--accent) 55%, var(--line));background:var(--accent-soft);width:auto;min-width:94px;max-width:112px;min-height:44px;color:var(--accent-text);flex:none;padding:0 12px;font-size:11px;line-height:1}.compact-filters{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%;min-width:0;overflow:hidden}.compact-filters button,.category-filter button{text-overflow:ellipsis;white-space:nowrap;width:100%;min-width:0;max-width:100%;overflow:hidden}.compact-filters button{letter-spacing:0;min-height:42px;padding:0 2px;font-size:clamp(8px,2.45vw,10px)}.compact-filters button.active,.category-filter button.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-text)}.advanced-filters{background:color-mix(in srgb, var(--surface) 92%, transparent);border-color:var(--line);width:100%;min-width:0;overflow:hidden}.advanced-filters .category-filter>div{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.archive-filter{min-height:44px;color:var(--muted);align-items:center;gap:8px;font-size:12px;font-weight:800;display:flex}.archive-filter input{accent-color:var(--accent)}.save-profile,.backup-button,.test-alert,.primary-button:not(.secondary):not(.danger){border-color:var(--accent);background:var(--accent);color:var(--accent-contrast)}.restore-button{border-color:color-mix(in srgb, var(--control-text) 35%, var(--line));color:var(--control-text);opacity:1;background:0 0}html[data-theme=b] .restore-button{border-color:var(--line);color:var(--theme-text)}.custom-exercise-form,.restore-preview{border-color:color-mix(in srgb, var(--accent) 35%, var(--line));background:var(--surface);color:var(--theme-text)}.custom-exercise-form input,.custom-exercise-form select{background:var(--control-bg);color:var(--control-text)}.field-error{color:var(--danger-text);font-size:12px;font-weight:700}.static-field strong{color:var(--theme-text);margin-top:7px;display:block}.add-circuit{border:1px solid var(--accent);background:var(--accent-soft);width:100%;min-height:48px;color:var(--accent-text);border-radius:9px;margin-top:7px;font-size:13px;font-weight:900}.movement-picker,.session-library-picker{gap:6px;margin-top:8px;display:grid}.movement-picker button,.session-library-picker button{border:1px solid var(--line);background:var(--surface-2);min-height:46px;color:var(--theme-text);text-align:left;border-radius:9px;padding:8px 11px}.movement-picker small,.session-library-picker small{color:var(--muted);margin-top:3px;display:block}.session-library-picker button.selected{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-text)}.session-prescription{border-top:1px solid var(--line);gap:10px;margin-top:13px;padding-top:13px;display:grid}.session-prescription>label{color:var(--muted);gap:6px;font-size:12px;font-weight:850;display:grid}.session-prescription input{border:1px solid var(--line);background:var(--surface-2);min-height:46px;color:var(--theme-text);border-radius:9px;padding:0 10px}.exercise-card.archived{opacity:.68}.custom-card-actions{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:6px;padding:0 10px 10px;display:grid}.custom-card-actions button,.manage-custom{border:1px solid var(--line);background:var(--surface-2);min-height:44px;color:var(--theme-text);border-radius:8px;font-size:11px;font-weight:850}.manage-custom{width:100%}html[data-theme] .exercise-letter{border-color:color-mix(in srgb, var(--accent) 38%, var(--line));background:var(--accent-soft);color:var(--accent)}html[data-theme] .favorite-button{color:var(--accent-text)}html[data-theme] .detail-favorite{border-color:color-mix(in srgb, var(--accent) 55%, var(--line));background:var(--accent-soft);color:var(--accent-text)}html[data-theme] .phone-guide>button{border:1px solid var(--accent);background:var(--accent-soft);width:100%;min-height:48px;color:var(--accent-text);border-radius:11px;margin:8px 0;font-size:13px;font-weight:900}.exercise-quick-list>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;padding-bottom:3px;display:grid;overflow:hidden}.exercise-quick-list button{background:var(--surface);width:100%;min-width:0;min-height:58px;color:var(--theme-text);padding:8px;overflow:hidden}.exercise-quick-list strong,.exercise-quick-list small{text-overflow:ellipsis;overflow:hidden}.exercise-quick-list strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:clamp(10px,3vw,13px);line-height:1.2;display:-webkit-box}.exercise-quick-list small{white-space:nowrap;font-size:clamp(9px,2.6vw,11px)}html[data-theme] .primary-button.secondary,html[data-theme] .custom-form-head button,html[data-theme] .detail-actions>button:not(.primary-button):not(.delete-link),html[data-theme] .editor-section-head button:not(.editor-delete),html[data-theme] .editor-exercise>div button:not(.editor-delete),html[data-theme] .add-section button,html[data-theme] .add-exercise{border-color:var(--neutral-border);background:var(--neutral-bg);color:var(--neutral-text);box-shadow:none}html[data-theme] .primary-button:disabled,html[data-theme] .detail-actions button:disabled,html[data-theme] .editor-section-head button:disabled,html[data-theme] .editor-exercise>div button:disabled,html[data-theme] .add-section button:disabled,html[data-theme] .add-exercise:disabled{border-color:var(--neutral-border);background:var(--disabled-bg);color:var(--disabled-text);opacity:1;box-shadow:none}html[data-theme] .editor-section-head .editor-delete,html[data-theme] .editor-exercise .editor-delete,html[data-theme] .danger-control,html[data-theme] .detail-actions .delete-link,html[data-theme] .summary-screen .delete-link,html[data-theme] .primary-button.danger{border-color:var(--danger-border)!important;background:var(--danger-bg)!important;color:var(--danger-text)!important;box-shadow:none!important}html[data-theme] .editor-section,html[data-theme] .editor-section-head input,html[data-theme] .exercise-main{color:var(--theme-text)}html[data-theme] .editor-section-head input{border-color:var(--line);background:var(--control-bg)}html[data-theme] .exercise-main span{color:var(--muted)}.movement-add{display:block}.movement-search-row{grid-template-columns:minmax(0,1fr) 50px minmax(62px,76px);align-items:stretch;gap:8px;display:grid}.movement-search-row .open-circuit-library{border-color:var(--accent);background:var(--accent-soft);width:50px;min-width:50px;height:50px;min-height:50px;color:var(--accent-text);grid-column:auto;padding:0;font-size:22px;line-height:1}.movement-search-row .circuit-reps{text-align:center;width:100%;min-width:0;padding-inline:8px}.movement-picker{margin-top:7px}.movement-list .danger-control{border:1px solid var(--danger-border);border-radius:8px;min-width:76px;min-height:40px;font-size:11px;font-weight:900}.circuit-library-overlay{z-index:30;overscroll-behavior:contain;padding:max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));background:color-mix(in srgb, var(--theme-bg) 94%, transparent);-webkit-backdrop-filter:blur(12px);position:fixed;inset:0;overflow-y:auto}.circuit-library-sheet{border:1px solid var(--line);background:var(--theme-bg);width:min(100%,620px);min-height:100%;color:var(--theme-text);border-radius:16px;margin:0 auto;padding:14px}.circuit-library-sheet>header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px;display:flex}.circuit-library-sheet>header h2{margin:4px 0 0;font-size:34px;line-height:1}.circuit-library-sheet>header button{border:1px solid var(--neutral-border);background:var(--neutral-bg);min-width:82px;min-height:44px;color:var(--neutral-text);border-radius:10px;font-size:12px;font-weight:900}.circuit-library-categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:10px;display:grid}.circuit-library-categories button{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;min-height:42px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;border-radius:9px;padding:4px;font-size:10px;font-weight:900;overflow:hidden}.circuit-library-categories button.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-text)}.circuit-library-grid{gap:7px;display:grid}.circuit-library-grid>button{border:1px solid var(--line);background:var(--surface);width:100%;min-height:62px;color:var(--theme-text);text-align:left;border-radius:11px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.circuit-library-grid span,.circuit-library-grid strong,.circuit-library-grid small{min-width:0;display:block}.circuit-library-grid small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:11px;overflow:hidden}.circuit-library-grid em{color:var(--accent);flex:none;font-size:10px;font-weight:900}html[data-theme] .confirm-backdrop{background:color-mix(in srgb, var(--theme-bg) 68%, transparent)}html[data-theme] .confirm-dialog{border-color:var(--neutral-border);background:var(--surface);color:var(--theme-text);box-shadow:0 18px 54px color-mix(in srgb, var(--theme-bg) 55%, transparent)}html[data-theme] .confirm-dialog>p{color:var(--theme-text)}html[data-theme] .confirm-cancel{border-color:var(--neutral-border);background:var(--neutral-bg);color:var(--neutral-text)}html[data-theme] .data-error{background:var(--danger-bg);color:var(--danger-text)}html[data-theme] .data-message{border:1px solid var(--success-border);background:var(--success-bg);color:var(--success-text)}html[data-theme] .restore-preview,html[data-theme] .quick-guide{border-color:var(--neutral-border);background:var(--surface);color:var(--theme-text)}html[data-theme] .form-guide-button,html[data-theme] .toggle-field button{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-text)}html[data-theme] .phone-guide summary{color:var(--accent-text)}html[data-theme] .phone-guide [role=status]{color:var(--theme-text)}html[data-theme=b]{--muted:#4f5662}html[data-theme=b] .exercise-detail-title .eyebrow,html[data-theme=b] .filter-label,html[data-theme=b] .category-filter legend,html[data-theme=b] .custom-exercise-form label,html[data-theme=b] .form-field,html[data-theme=b] .editor-section-name,html[data-theme=b] .add-section label,html[data-theme=b] .form-block>span,html[data-theme=b] .reps-editor>span,html[data-theme=b] .movement-list>span,html[data-theme=b] .mode-select>span,html[data-theme=b] .settings .section-label,html[data-theme=b] .exercise-quick-list h2,html[data-theme=b] .library-count{color:var(--label-text)}html[data-theme=b] .exercise-detail h2,html[data-theme=b] .exercise-detail h3{color:var(--theme-text)}html[data-theme=b] .exercise-detail p,html[data-theme=b] .exercise-detail li,html[data-theme=b] .exercise-card p,html[data-theme=b] .picker-card p,html[data-theme=b] .exercise-quick-list small,html[data-theme=b] .profile-fields span,html[data-theme=b] .restore-help,html[data-theme=b] .volume-note,html[data-theme=b] .form-help,html[data-theme=b] .detail-exercise span,html[data-theme=b] .detail-exercise small{color:var(--body-text)}html[data-theme=b] input::placeholder,html[data-theme=b] textarea::placeholder{color:var(--theme-text);opacity:1}html[data-theme=b] .quick-guide li{color:var(--body-text)}html[data-theme] .detail-actions .restore-action{border-color:var(--neutral-border)!important;background:var(--neutral-bg)!important;color:var(--neutral-text)!important}html[data-theme] .recent-card button,html[data-theme] .load-more,html[data-theme] .empty-state button,html[data-theme] .text-button.subtle,html[data-theme] .modified-prompt>button:not(.primary-button),html[data-theme] .live-actions>button:not(.primary-button){border-color:var(--neutral-border);background:var(--neutral-bg);color:var(--neutral-text)}html[data-theme] .modified-note,html[data-theme] .edit-confirm{background:var(--accent-soft);color:var(--accent-text)}html[data-theme] .modified-prompt{border-color:var(--neutral-border);background:var(--surface);color:var(--theme-text)}html[data-theme] .live-row-manage .live-remove{border-color:var(--danger-border);background:var(--danger-bg);color:var(--danger-text)}html[data-theme] .brand span,html[data-theme] .eyebrow,html[data-theme] em,html[data-theme] .settings .section-label,html[data-theme] .data-management .section-label{color:var(--accent-text)}html[data-theme] .setting-row button[aria-pressed=true]{background:var(--accent);color:var(--accent-contrast)}html[data-theme] .bottom-nav button.active{background:var(--accent-soft);color:var(--accent-text)}html[data-theme] .bottom-nav button.active .nav-icon{color:var(--accent-text)}.theme-option.theme-a{--option-bg:#15151b;--option-surface:#202027;--option-inset:#101015;--option-line:#403e49;--option-text:#f8f7fa;--option-muted:#9b98a5;--option-accent:#ff3f86;--option-shadow:#00000070}.theme-option.theme-b{--option-bg:#fff;--option-surface:#eef0f3;--option-inset:#f7f8fa;--option-line:#b8bec8;--option-text:#15161b;--option-muted:#4f5662;--option-accent:#f45c58;--option-shadow:#20242b24}.theme-option.theme-c{--option-bg:#10191b;--option-surface:#172326;--option-inset:#0b1214;--option-line:#526568;--option-text:#eff7f5;--option-muted:#8c9b99;--option-accent:#c7ff36;--option-shadow:#00000080}.theme-option.theme-d{--option-bg:#202126;--option-surface:#292a31;--option-inset:#191a1e;--option-line:#555866;--option-text:#f7f7fb;--option-muted:#a7a8b2;--option-accent:#5965ff;--option-shadow:#00000075}html[data-theme] .theme-option{border-color:var(--option-line);background:var(--option-bg);color:var(--option-text)}html[data-theme] .theme-option[aria-checked=true]{border-color:var(--option-accent);box-shadow:0 0 0 1px color-mix(in srgb, var(--option-accent) 46%, transparent)}html[data-theme] .theme-preview{border-color:var(--option-line);background:var(--option-surface)}html[data-theme] .theme-preview i{background:var(--option-inset)}html[data-theme] .theme-preview i:first-child{background:var(--option-accent)}html[data-theme] .theme-preview i:nth-child(3){background:var(--option-bg)}html[data-theme] .theme-b .theme-preview i{box-shadow:0 1px 3px var(--option-shadow)}html[data-theme] .theme-option-copy strong{color:var(--option-text)}html[data-theme] .theme-option-copy small{color:var(--option-muted)}html[data-theme] .theme-check{color:var(--option-accent)}html[data-theme]{--button-compact-height:44px;--button-control-height:50px;--button-action-height:58px;--button-group-gap:10px}html[data-theme] :where(button:not(.inline-edit)){min-height:var(--button-compact-height)}html[data-theme] .primary-button{min-height:var(--button-action-height);border-radius:12px;padding:12px 16px;font-size:15px}html[data-theme] .screen-actions,html[data-theme] .sticky-actions,html[data-theme] .detail-actions,html[data-theme] .live-actions{gap:var(--button-group-gap)}html[data-theme] .screen-actions>button:not(.primary-button),html[data-theme] .recent-card button,html[data-theme] .new-routine,html[data-theme] .test-alert,html[data-theme] .save-profile,html[data-theme] .backup-button,html[data-theme] .restore-button,html[data-theme] .phone-guide>button,html[data-theme] .load-more,html[data-theme] .empty-state button,html[data-theme] .add-exercise,html[data-theme] .add-circuit,html[data-theme] .add-section button,html[data-theme] .movement-picker button,html[data-theme] .session-library-picker button,html[data-theme] .modified-prompt>button:not(.primary-button),html[data-theme] .live-actions>button:not(.primary-button){min-height:var(--button-control-height)}html[data-theme] .card-start,html[data-theme] .editor-save-bar .primary-button,html[data-theme] .routine-start-action .primary-button{min-height:var(--button-action-height)}html[data-theme] .detail-actions>button,html[data-theme] .detail-actions>.primary-button{min-height:var(--button-action-height);border-radius:12px;margin-top:0;font-size:14px}html[data-theme] .routine-start-action.docked{margin-top:var(--button-group-gap)}html[data-theme] .detail-library-actions>button,html[data-theme] .detail-library-actions>.primary-button{min-height:54px}html[data-theme] .confirm-actions>button,html[data-theme] .confirm-actions>.primary-button,html[data-theme] .adjust-actions button{min-height:var(--button-control-height)}html[data-theme] .utility-actions{gap:6px}html[data-theme] .utility-actions button,html[data-theme] .setting-row button,html[data-theme] .toggle-field button,html[data-theme] .custom-form-head button,html[data-theme] .custom-card-actions button,html[data-theme] .manage-custom,html[data-theme] .editor-section-head button,html[data-theme] .editor-exercise>div button,html[data-theme] .movement-list button,html[data-theme] .category-filter button,html[data-theme] .compact-filters button,html[data-theme] .create-exercise-button,html[data-theme] .circuit-library-categories button{min-height:var(--button-compact-height)}html[data-theme] .stepper button{width:var(--button-compact-height);height:var(--button-compact-height);min-height:var(--button-compact-height)}html[data-theme] .weight-control button{width:var(--button-control-height);height:var(--button-control-height);min-height:var(--button-control-height)}@media (width<=370px){.exercise-library-heading{gap:7px}.exercise-library-heading h1{font-size:clamp(34px,10.5vw,42px)}.create-exercise-button{min-width:86px;max-width:96px;padding:0 8px;font-size:10px}.compact-filters{gap:5px}.compact-filters button{min-height:var(--button-compact-height);letter-spacing:0;padding:0 1px;font-size:8px}.advanced-filters .category-filter>div,.circuit-library-categories{grid-template-columns:repeat(2,minmax(0,1fr))}}.phone-guide{color:var(--theme-text);text-align:left;margin-top:14px;font-size:13px;line-height:1.55}.phone-guide p{margin:0 0 10px}.phone-guide p:last-child{margin-bottom:0}.phone-guide [role=status]{color:var(--theme-text)}.phone-guide summary{min-height:44px;color:var(--accent);cursor:pointer;touch-action:manipulation;padding:11px 0;font-size:13px;font-weight:850}.phone-guide ol{padding-left:21px}.phone-guide li{margin-bottom:7px}.phone-guide button{border:1px solid var(--line);background:var(--surface-2);width:100%;min-height:48px;color:var(--theme-text);border-radius:9px;margin-bottom:10px;padding:9px 12px;font-size:13px;font-weight:850}
