@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";:root{font-synthesis:none;text-rendering:optimizelegibility;color:#17211b;background:#f4f6f8;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}html{min-width:320px;min-height:100%}body{min-width:320px;min-height:100vh;margin:0}#root{min-height:100vh}:root{--background:#f4f6f8;--surface:#fff;--surface-muted:#f7f8fa;--text:#17211b;--muted:#6f7973;--border:#e2e7e3;--primary:#1f7a4d;--primary-dark:#16633d;--primary-soft:#e8f5ee;--danger:#a93e3e;--danger-soft:#fff0f0;--success:#16633d;--success-soft:#e8f5ee;--shadow:0 18px 50px #1d2d2314}*{box-sizing:border-box}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}.app-shell{background:var(--background);min-height:100vh;color:var(--text)}.sidebar{z-index:20;border-right:1px solid var(--border);background:var(--surface);flex-direction:column;width:244px;padding:28px 20px 22px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:12px;padding:0 10px;font-size:20px;font-weight:800;display:flex}.brand-icon{background:var(--primary);color:#fff;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.desktop-navigation{gap:6px;margin-top:42px;display:grid}.nav-link{width:100%;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:13px;align-items:center;gap:14px;padding:13px 14px;font-size:14px;font-weight:600;display:flex}.nav-link:hover{background:var(--surface-muted);color:var(--text)}.nav-link.active{background:var(--primary-soft);color:var(--primary-dark)}.nav-icon{place-items:center;width:22px;font-size:18px;display:grid}.sidebar-profile{border-top:1px solid var(--border);align-items:center;gap:12px;margin-top:auto;padding:16px 10px 0;display:flex}.profile-avatar{width:40px;height:40px;color:var(--primary-dark);background:#dfece5;border-radius:50%;place-items:center;font-size:13px;font-weight:800;display:grid}.sidebar-profile strong,.sidebar-profile span{display:block}.sidebar-profile strong{font-size:13px}.sidebar-profile span{color:var(--muted);margin-top:3px;font-size:11px}.main-content{margin-left:244px;padding:42px}.page-header{justify-content:space-between;align-items:flex-start;gap:24px;max-width:1380px;margin:0 auto 28px;display:flex}.page-actions{align-items:center;gap:10px;display:flex}.eyebrow{color:var(--primary);letter-spacing:.11em;text-transform:uppercase;margin:0 0 8px;font-size:12px;font-weight:800}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.045em;margin-bottom:8px;font-size:clamp(32px,4vw,46px);line-height:1.05}.page-description{max-width:560px;color:var(--muted);margin-bottom:0;font-size:15px;line-height:1.6}.primary-button,.secondary-button,.refresh-button{border-radius:13px;min-height:46px;font-weight:700}.primary-button{background:var(--primary);color:#fff;border:0;justify-content:center;align-items:center;gap:8px;padding:0 18px;display:inline-flex;box-shadow:0 10px 24px #1f7a4d33}.secondary-button,.refresh-button{border:1px solid var(--border);background:var(--surface);color:var(--text);padding:0 16px}.secondary-button:hover:not(:disabled),.refresh-button:hover:not(:disabled){background:var(--surface-muted)}.message{border:1px solid;border-radius:14px;justify-content:space-between;align-items:center;gap:20px;max-width:1380px;margin:0 auto 18px;padding:14px 16px;font-size:14px;font-weight:600;display:flex}.message button{color:inherit;background:0 0;border:0;font-size:20px}.error-message{background:var(--danger-soft);color:var(--danger);border-color:#efb9b9}.success-message{background:var(--success-soft);color:var(--success);border-color:#a9d8bf}.content-grid{grid-template-columns:minmax(0,1fr) 380px;gap:24px;max-width:1380px;margin:0 auto;display:grid}.content-grid.form-closed{grid-template-columns:1fr}.exercise-library,.form-panel{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:24px}.exercise-library{min-width:0;padding:24px}.toolbar{gap:12px;display:flex}.search-box{border:1px solid var(--border);background:var(--surface-muted);border-radius:14px;flex:1;align-items:center;gap:10px;min-height:48px;padding:0 15px;display:flex}.search-box span{color:var(--muted);font-size:22px}.search-box input{width:100%;color:var(--text);background:0 0;border:0;outline:0}.search-box input::placeholder{color:#9ba39e}.category-tabs{scrollbar-width:none;gap:8px;margin:20px 0 28px;padding-bottom:4px;display:flex;overflow-x:auto}.category-tabs::-webkit-scrollbar{display:none}.category-tab{border:1px solid var(--border);background:var(--surface);min-height:38px;color:var(--muted);border-radius:999px;flex:none;padding:0 14px;font-size:13px;font-weight:700}.category-tab:hover{border-color:#aac7b7}.category-tab.active{border-color:var(--primary);background:var(--primary);color:#fff}.section-heading{justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px;display:flex}.section-heading h2,.form-panel h2{letter-spacing:-.025em;margin-bottom:5px;font-size:20px}.section-heading p{color:var(--muted);margin-bottom:0;font-size:13px}.sort-label{color:var(--muted);font-size:12px;font-weight:600}.exercise-list{gap:10px;display:grid}.exercise-card{border:1px solid var(--border);background:var(--surface);border-radius:16px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px;transition:border-color .2s,box-shadow .2s,transform .2s;display:grid}.exercise-card:hover{border-color:#c5d7cd;transform:translateY(-1px);box-shadow:0 8px 24px #192e200f}.exercise-symbol{width:48px;height:48px;color:var(--primary-dark);letter-spacing:.04em;background:#e8f5ee;border-radius:15px;place-items:center;font-size:12px;font-weight:800;display:grid}.exercise-symbol.chest{color:#a84b42;background:#fbeae8}.exercise-symbol.back{color:#3d5f9f;background:#e7eefb}.exercise-symbol.legs{color:#8b6824;background:#f7efdc}.exercise-symbol.shoulders,.exercise-symbol.arms,.exercise-symbol.biceps,.exercise-symbol.triceps{color:#70509a;background:#f0eafb}.exercise-symbol.core{color:#33777a;background:#e7f4f4}.exercise-information{min-width:0}.exercise-title{align-items:center;gap:8px;display:flex}.exercise-information h3{text-overflow:ellipsis;white-space:nowrap;margin-bottom:4px;font-size:15px;overflow:hidden}.exercise-information p{color:var(--muted);text-transform:capitalize;margin-bottom:0;font-size:12px}.exercise-information small{color:#87918b;text-overflow:ellipsis;white-space:nowrap;margin-top:7px;font-size:11px;display:block;overflow:hidden}.favorite-star{color:#d89b1d;font-size:14px}.more-button,.close-button{color:var(--muted);background:0 0;border:0}.more-button{letter-spacing:.08em;border-radius:10px;padding:10px}.more-button:hover,.close-button:hover{background:var(--surface-muted);color:var(--text)}.empty-state{text-align:center;align-content:center;place-items:center;min-height:280px;padding:40px 20px;display:grid}.empty-state h3{margin:16px 0 7px}.empty-state p{max-width:320px;color:var(--muted);margin-bottom:0;font-size:13px;line-height:1.5}.empty-icon{background:var(--primary-soft);width:54px;height:54px;color:var(--primary);border-radius:50%;place-items:center;font-size:25px;display:grid}.loading-spinner{border:4px solid var(--primary-soft);border-top-color:var(--primary);border-radius:50%;width:38px;height:38px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.form-panel{align-self:start;padding:24px}.form-header{justify-content:space-between;align-items:flex-start;margin-bottom:24px;display:flex}.close-button{border-radius:50%;width:36px;height:36px;font-size:24px}.form-field{gap:8px;margin-bottom:17px;display:grid}.form-field>span{font-size:13px;font-weight:700}.form-field small{color:var(--muted);font-weight:500}.form-field input,.form-field select,.form-field textarea{border:1px solid var(--border);background:var(--surface-muted);width:100%;color:var(--text);border-radius:13px;outline:none;transition:border-color .2s,box-shadow .2s}.form-field input,.form-field select{height:48px;padding:0 14px}.form-field textarea{resize:vertical;min-height:116px;padding:13px 14px}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--primary);box-shadow:0 0 0 4px var(--primary-soft)}.favorite-toggle{cursor:pointer;align-items:flex-start;gap:12px;margin:6px 0 24px;display:flex}.favorite-toggle input{opacity:0;pointer-events:none;position:absolute}.toggle{background:#cbd2cd;border-radius:999px;flex:none;width:42px;height:24px;transition:background .2s;position:relative}.toggle:after{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 2px 5px #00000026}.favorite-toggle input:checked+.toggle{background:var(--primary)}.favorite-toggle input:checked+.toggle:after{transform:translate(18px)}.favorite-toggle strong,.favorite-toggle small{display:block}.favorite-toggle strong{font-size:13px}.favorite-toggle small{color:var(--muted);margin-top:4px;font-size:11px;line-height:1.45}.form-actions{grid-template-columns:1fr 1.4fr;gap:10px;display:grid}.mobile-navigation{display:none}@media (width<=1080px){.main-content{padding:32px 26px}.content-grid{grid-template-columns:1fr}.form-panel{width:100%}}@media (width<=760px){.app-shell{padding-bottom:78px}.sidebar{display:none}.main-content{margin-left:0;padding:24px 16px}.page-header{align-items:center;margin-bottom:22px}.page-description{display:none}.page-actions{gap:7px}.manage-button{min-height:42px;padding:0 11px;font-size:11px}.add-button{border-radius:50%;width:48px;min-width:48px;padding:0;font-size:0}.add-button span{font-size:23px}h1{font-size:32px}.content-grid{gap:16px}.exercise-library,.form-panel{border-radius:20px;padding:17px}.toolbar{display:grid}.refresh-button{width:100%}.category-tabs{margin-top:16px;margin-bottom:22px}.exercise-symbol{width:44px;height:44px}.form-panel{z-index:50;position:fixed;inset:16px 12px 88px;overflow-y:auto;box-shadow:0 24px 80px #14221940}.mobile-navigation{z-index:40;min-height:72px;padding:7px 4px max(7px, env(safe-area-inset-bottom));border-top:1px solid var(--border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff5;grid-template-columns:repeat(6,1fr);display:grid;position:fixed;inset:auto 0 0}.mobile-navigation button{min-width:0;color:var(--muted);background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:3px 0;font-size:9px;font-weight:700;display:flex}.mobile-navigation button span{font-size:18px}.mobile-navigation button.active{color:var(--primary)}}@media (width<=480px){.page-header{align-items:flex-start}.page-actions{flex-direction:column-reverse;align-items:flex-end}.manage-button{min-height:34px}}@media (width<=420px){.main-content{padding-inline:12px}.exercise-card{gap:11px;padding:12px}.exercise-information small,.sort-label{display:none}}.brand{width:100%;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0}.placeholder-page{border:1px solid var(--border);background:var(--surface);max-width:850px;box-shadow:var(--shadow);border-radius:24px;margin:90px auto;padding:40px}.placeholder-page p:last-child{color:var(--muted);margin-bottom:0;line-height:1.6}.add-icon{fill:none;stroke:currentColor;stroke-width:2.5px;stroke-linecap:round;flex:none;width:22px;height:22px;display:block}.add-button-label{display:inline}@media (width<=760px){.add-button{width:48px;min-width:48px;height:48px;min-height:48px;font-size:inherit;border-radius:50%;justify-content:center;align-items:center;padding:0;display:inline-flex}.add-button-label{display:none}.add-button .add-icon{width:25px;height:25px}}button.sidebar-profile{width:100%;font:inherit;text-align:left;cursor:pointer;border:0}button.sidebar-profile:hover{background:var(--surface-muted)}button.sidebar-profile:focus-visible{outline:3px solid var(--primary-soft);outline-offset:2px}:root{--background:#f5f6fa;--surface:#fff;--surface-muted:#f8f9fc;--text:#1b2430;--muted:#6d7684;--border:#e2e6ee;--primary:#2f7d57;--primary-dark:#225f41;--primary-soft:#e9f5ef;--accent-blue:#526fd1;--accent-blue-dark:#3e57ad;--accent-blue-soft:#edf1ff;--accent-violet:#7859b5;--accent-violet-dark:#5f4397;--accent-violet-soft:#f3effc;--accent-gold:#b47a21;--accent-gold-dark:#8b5a16;--accent-gold-soft:#fff6df;--accent-coral:#c55c50;--accent-coral-dark:#9e443b;--accent-coral-soft:#fff0ed;--accent-teal:#247f83;--accent-teal-dark:#196468;--accent-teal-soft:#e8f6f6;--danger:#aa4549;--danger-soft:#fff0f1;--success:#246d4a;--success-soft:#e9f5ef;--shadow:0 18px 50px #28304412, 0 2px 8px #28304406}.app-shell{background:radial-gradient(circle at 87% 4%, #526fd112, transparent 25%), radial-gradient(circle at 42% 100%, #b47a210e, transparent 26%), var(--background)}.sidebar{background:linear-gradient(#fff 0%,#fbfcff 100%);overflow:hidden}.sidebar:before{background:linear-gradient(to bottom, var(--primary), var(--accent-blue), var(--accent-violet), var(--accent-gold), var(--accent-coral));content:"";width:3px;position:absolute;inset:0 auto 0 0}.brand-icon{background:linear-gradient(135deg, var(--primary) 0%, var(--accent-teal) 55%, var(--accent-blue) 100%);box-shadow:0 9px 20px #30695b33}.profile-avatar{background:linear-gradient(135deg, var(--accent-blue-soft), var(--accent-violet-soft));color:var(--accent-violet-dark)}.desktop-navigation .nav-link:first-child .nav-icon{color:var(--accent-blue)}.desktop-navigation .nav-link:nth-child(2) .nav-icon{color:var(--primary)}.desktop-navigation .nav-link:nth-child(3) .nav-icon{color:var(--accent-teal)}.desktop-navigation .nav-link:nth-child(4) .nav-icon{color:var(--accent-gold)}.desktop-navigation .nav-link:nth-child(5) .nav-icon{color:var(--accent-violet)}.desktop-navigation .nav-link:nth-child(6) .nav-icon{color:var(--accent-coral)}.desktop-navigation .nav-link:first-child.active{background:var(--accent-blue-soft);color:var(--accent-blue-dark)}.desktop-navigation .nav-link:nth-child(2).active{background:var(--primary-soft);color:var(--primary-dark)}.desktop-navigation .nav-link:nth-child(3).active{background:var(--accent-teal-soft);color:var(--accent-teal-dark)}.desktop-navigation .nav-link:nth-child(4).active{background:var(--accent-gold-soft);color:var(--accent-gold-dark)}.desktop-navigation .nav-link:nth-child(5).active{background:var(--accent-violet-soft);color:var(--accent-violet-dark)}.desktop-navigation .nav-link:nth-child(6).active{background:var(--accent-coral-soft);color:var(--accent-coral-dark)}.primary-button{background:linear-gradient(135deg, var(--primary), var(--accent-teal));box-shadow:0 10px 24px #2b6f5533}.primary-button:hover:not(:disabled){background:linear-gradient(135deg, var(--primary-dark), var(--accent-teal-dark))}.exercise-library,.form-panel,.placeholder-page{border-color:#e1e5ed}.exercise-library{border-top:3px solid var(--accent-teal)}.form-panel{border-top:3px solid var(--accent-blue)}.category-tab:nth-child(4n+2):not(.active){background:var(--accent-blue-soft);color:var(--accent-blue-dark)}.category-tab:nth-child(4n+3):not(.active){background:var(--accent-violet-soft);color:var(--accent-violet-dark)}.category-tab:nth-child(4n+4):not(.active){background:var(--accent-gold-soft);color:var(--accent-gold-dark)}.category-tab:nth-child(4n+5):not(.active){background:var(--accent-teal-soft);color:var(--accent-teal-dark)}.category-tab.active{background:linear-gradient(135deg, var(--primary), var(--accent-teal))}.favorite-star{color:#d29a2f;text-shadow:0 2px 8px #d29a2f2e}.message.success-message{background:linear-gradient(90deg, var(--primary-soft), var(--accent-teal-soft));border-color:#b7d9ca}@media (width<=760px){.mobile-navigation{background:#fffffff0;box-shadow:0 -10px 35px #2d344812}.mobile-navigation button:first-child.active{color:var(--accent-blue)}.mobile-navigation button:nth-child(2).active{color:var(--primary)}.mobile-navigation button:nth-child(3).active{color:var(--accent-teal)}.mobile-navigation button:nth-child(4).active{color:var(--accent-gold)}.mobile-navigation button:nth-child(5).active{color:var(--accent-violet)}.mobile-navigation button:nth-child(6).active{color:var(--accent-coral)}}.exercise-library,.form-panel,.placeholder-page{border-top:1px solid var(--border)}.auth-page{background:radial-gradient(circle at top left, #509c7029, transparent 34%), var(--background);place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{border:1px solid var(--border);background:var(--surface);border-radius:26px;width:min(460px,100%);padding:30px;box-shadow:0 24px 80px #162a1d21}.auth-brand{align-items:center;gap:10px;margin-bottom:28px;display:flex}.auth-brand>span{background:var(--primary);color:#fff;border-radius:13px;place-items:center;width:40px;height:40px;font-size:18px;font-weight:900;display:grid}.auth-brand strong{font-size:17px}.auth-heading h1{margin:4px 0 8px;font-size:clamp(27px,6vw,34px)}.auth-heading>p:last-child{color:var(--muted);margin:0 0 22px;font-size:13px;line-height:1.6}.auth-error{background:var(--danger-soft);color:var(--danger);border:1px solid #efb9b9;border-radius:12px;margin-bottom:15px;padding:12px 14px;font-size:12px;font-weight:700}.auth-form{gap:15px;display:grid}.auth-form>label:not(.remember-login){gap:7px;display:grid}.auth-form>label>span{font-size:12px;font-weight:750}.auth-form input[type=text],.auth-form input[type=password]{border:1px solid var(--border);background:var(--background);width:100%;height:48px;color:var(--text);font:inherit;border-radius:12px;outline:none;padding:0 13px}.auth-form input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.remember-login{color:var(--muted);align-items:flex-start;gap:9px;font-size:11px;line-height:1.45;display:flex}.remember-login input{width:17px;height:17px;accent-color:var(--primary);margin:0}.remember-login span{font-size:11px!important;font-weight:650!important}.auth-submit{background:var(--primary);color:#fff;border:0;border-radius:12px;min-height:48px;font-size:13px;font-weight:850}.auth-submit:hover:not(:disabled){filter:brightness(.95)}.auth-submit:disabled{cursor:wait;opacity:.7}.auth-security-note{border-top:1px solid var(--border);color:var(--muted);text-align:center;margin:18px 0 0;padding-top:17px;font-size:10px;line-height:1.55}@media (width<=520px){.auth-page{align-items:end;padding:0}.auth-card{border-radius:28px 28px 0 0;width:100%;min-height:92vh;padding:24px 20px}}.auth-mode-switch{color:var(--muted);justify-content:center;align-items:center;gap:7px;margin-top:17px;font-size:12px;display:flex}.auth-mode-switch button{color:var(--primary);text-underline-offset:3px;background:0 0;border:0;padding:4px 2px;font-size:12px;font-weight:800;text-decoration:underline}.auth-mode-switch button:disabled{cursor:not-allowed;opacity:.55}.auth-page{background:radial-gradient(circle at 12% 10%, #526fd126, transparent 30%), radial-gradient(circle at 88% 18%, #b47a211f, transparent 28%), radial-gradient(circle at 70% 92%, #7859b51f, transparent 30%), var(--background)}.auth-card{border-top:4px solid var(--accent-blue);box-shadow:0 28px 90px #323c5c24,0 4px 18px #323c5c0d}.auth-brand>span{background:linear-gradient(135deg, var(--primary), var(--accent-blue), var(--accent-violet))}.auth-submit{background:linear-gradient(135deg, var(--primary), var(--accent-teal));box-shadow:0 10px 24px #2b6f552e}.auth-mode-switch button{color:var(--accent-blue)}.auth-card{border-top:1px solid var(--border)}.category-modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#131f187a;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.category-modal{border:1px solid var(--border);background:var(--surface);border-radius:24px;width:min(720px,100%);max-height:min(780px,100vh - 40px);padding:24px;overflow-y:auto;box-shadow:0 28px 90px #101f1547}.category-modal-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:22px;display:flex}.category-modal-header h2{margin-bottom:7px;font-size:24px}.category-modal-header p:last-child{max-width:540px;color:var(--muted);margin-bottom:0;font-size:13px;line-height:1.5}.category-error{background:var(--danger-soft);color:var(--danger);border:1px solid #efb9b9;border-radius:12px;margin-bottom:16px;padding:12px 14px;font-size:13px;font-weight:600}.category-create-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin-bottom:22px;display:grid}.category-create-form label{gap:8px;display:grid}.category-create-form label>span{font-size:13px;font-weight:700}.category-create-form input,.category-edit-input,.category-delete-controls select{border:1px solid var(--border);background:var(--surface-muted);width:100%;height:44px;color:var(--text);border-radius:12px;outline:none;padding:0 13px}.category-create-form input:focus,.category-edit-input:focus,.category-delete-controls select:focus{border-color:var(--primary);box-shadow:0 0 0 4px var(--primary-soft)}.category-list{gap:9px;display:grid}.category-row{border:1px solid var(--border);border-radius:14px;padding:13px 14px}.category-row-content{min-width:0}.category-row-top{justify-content:space-between;align-items:center;gap:18px;min-height:42px;display:flex}.category-row-main{flex:1;min-width:0}.category-row-main strong,.category-row-main span{display:block}.category-row-main strong{margin-bottom:4px;font-size:14px}.category-row-main span{color:var(--muted);font-size:11px}.category-actions{flex:none;gap:7px;display:flex}.category-delete-panel{background:#fff9f9;border:1px solid #f0c6c6;border-radius:12px;margin-top:13px;padding:13px}.category-delete-panel p{color:var(--danger);margin-bottom:10px;font-size:12px;font-weight:700}.category-delete-controls{grid-template-columns:minmax(0,1fr) auto auto;gap:8px;display:grid}@media (width<=640px){.category-modal-backdrop{align-items:end;padding:0}.category-modal{border-radius:24px 24px 0 0;width:100%;max-height:92vh}.category-create-form{grid-template-columns:1fr}.category-row-top{flex-direction:column;align-items:flex-start}.category-actions{width:100%}.category-actions button{flex:1}.category-delete-controls{grid-template-columns:1fr}}.rest-preset-backdrop{z-index:150;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#131f1885;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.rest-preset-manager{border:1px solid var(--border);background:var(--surface);border-radius:24px;width:min(650px,100%);max-height:calc(100vh - 40px);padding:24px;overflow-y:auto;box-shadow:0 28px 90px #101f154d}.rest-preset-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px;display:flex}.rest-preset-header h2{margin-bottom:6px;font-size:23px}.rest-preset-header p:last-child{color:var(--muted);margin-bottom:0;font-size:12px}.rest-preset-error{background:var(--danger-soft);color:var(--danger);border:1px solid #efb9b9;border-radius:12px;margin-bottom:14px;padding:12px 14px;font-size:12px;font-weight:700}.rest-preset-list{gap:9px;display:grid}.rest-preset-row{border:1px solid var(--border);background:var(--surface-muted);border-radius:13px;grid-template-columns:78px 74px auto 74px 58px auto;align-items:end;gap:8px;padding:12px;display:grid}.rest-preset-row>strong{align-self:center;font-size:12px}.rest-preset-row label{gap:4px;display:grid}.rest-preset-row label span{color:var(--muted);text-transform:uppercase;font-size:8px;font-weight:800}.rest-preset-row input{border:1px solid var(--border);background:var(--surface);border-radius:9px;width:100%;height:38px;padding:0 8px}.rest-preset-colon{padding-bottom:9px;font-weight:800}.rest-preset-preview{color:var(--primary-dark);align-self:center;font-size:12px;font-weight:800}.remove-rest-preset{min-height:36px;color:var(--danger);background:#fff7f7;border:1px solid #efcaca;border-radius:9px;padding:0 10px;font-size:10px;font-weight:800}.add-rest-preset{background:var(--primary-soft);width:100%;min-height:40px;color:var(--primary-dark);border:1px dashed #aac7b7;border-radius:11px;margin-top:10px;font-size:11px;font-weight:800}.rest-preset-actions{border-top:1px solid var(--border);justify-content:flex-end;gap:9px;margin-top:20px;padding-top:17px;display:flex}@media (width<=640px){.rest-preset-backdrop{align-items:end;padding:0}.rest-preset-manager{border-radius:24px 24px 0 0;width:100%;max-height:92vh;padding:17px}.rest-preset-row{grid-template-columns:72px 1fr auto 1fr}.rest-preset-preview{grid-column:2/4}.remove-rest-preset{grid-column:4}.rest-preset-actions{grid-template-columns:1fr 1fr;display:grid}}.rest-time-selector{gap:11px;margin-bottom:17px;display:grid}.rest-time-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.rest-time-heading>span{font-size:13px;font-weight:700}.rest-time-heading button{color:var(--primary);background:0 0;border:0;padding:0;font-size:11px;font-weight:800}.rest-preset-buttons{scrollbar-width:none;gap:7px;padding-bottom:2px;display:flex;overflow-x:auto}.rest-preset-buttons::-webkit-scrollbar{display:none}.rest-preset-button{border:1px solid var(--border);background:var(--surface);min-height:38px;color:var(--muted);border-radius:999px;flex:none;padding:0 13px;font-size:12px;font-weight:800}.rest-preset-button.active{border-color:var(--primary);background:var(--primary);color:#fff}.custom-rest-time{border:1px solid var(--border);background:var(--surface-muted);border-radius:13px;grid-template-columns:1fr auto 1fr auto;align-items:end;gap:8px;padding:12px;display:grid}.custom-rest-time label{gap:5px;display:grid}.custom-rest-time label span{color:var(--muted);text-transform:uppercase;font-size:9px;font-weight:800}.custom-rest-time input{border:1px solid var(--border);background:var(--surface);width:100%;height:40px;color:var(--text);border-radius:10px;outline:none;padding:0 9px}.custom-rest-time input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.custom-time-separator{padding-bottom:9px;font-weight:800}.apply-custom-time-button{background:var(--primary-soft);min-height:40px;color:var(--primary-dark);border:0;border-radius:10px;padding:0 12px;font-size:10px;font-weight:800}.selected-rest-time{color:var(--muted);margin:0;font-size:11px}.selected-rest-time strong{color:var(--text)}.rest-time-error{color:var(--danger);margin:0;font-size:10px;font-weight:700}@media (width<=480px){.custom-rest-time{grid-template-columns:1fr auto 1fr}.apply-custom-time-button{grid-column:1/-1}}.exercise-editor-backdrop{z-index:110;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#131f1880;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.exercise-editor{border:1px solid var(--border);background:var(--surface);border-radius:24px;width:min(560px,100%);max-height:min(820px,100vh - 40px);padding:24px;overflow-y:auto;box-shadow:0 28px 90px #101f154d}.exercise-editor-header{justify-content:space-between;align-items:flex-start;gap:22px;margin-bottom:22px;display:flex}.exercise-editor-header h2{margin-bottom:7px;font-size:24px}.exercise-editor-header p:last-child{color:var(--muted);margin-bottom:0;font-size:12px;line-height:1.55}.exercise-editor-error{background:var(--danger-soft);color:var(--danger);border:1px solid #efb9b9;border-radius:12px;margin-bottom:16px;padding:12px 14px;font-size:13px;font-weight:600}.exercise-in-use-panel{background:#fffaf0;border:1px solid #e8c98d;border-radius:14px;margin-bottom:18px;padding:15px}.exercise-in-use-panel strong{color:#755313;margin-bottom:7px;font-size:13px;display:block}.exercise-in-use-panel p{color:#75664a;margin-bottom:8px;font-size:12px;line-height:1.5}.archive-button{color:#684b0f;background:#fff4d8;border:1px solid #d8b871;border-radius:10px;min-height:38px;margin-top:4px;padding:0 13px;font-size:12px;font-weight:800}.exercise-editor-actions{justify-content:space-between;align-items:center;gap:14px;margin-top:24px;display:flex}.editor-main-actions{gap:9px;display:flex}.editor-delete-button{min-height:42px;color:var(--danger);background:#fff5f5;border:1px solid #efb9b9;border-radius:12px;padding:0 14px;font-weight:700}@media (width<=600px){.exercise-editor-backdrop{align-items:end;padding:0}.exercise-editor{border-radius:24px 24px 0 0;width:100%;max-height:93vh}.exercise-editor-actions{flex-direction:column-reverse;align-items:stretch}.editor-main-actions{grid-template-columns:1fr 1.3fr;display:grid}.editor-delete-button{width:100%}}.picker-backdrop{z-index:120;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#131f1880;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.exercise-picker{border:1px solid var(--border);background:var(--surface);border-radius:24px;width:min(680px,100%);max-height:min(820px,100vh - 40px);padding:24px;overflow-y:auto;box-shadow:0 28px 90px #101f154d}.picker-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px;display:flex}.picker-header h2{margin-bottom:0}.picker-search{width:100%}.picker-categories{scrollbar-width:none;gap:8px;margin:16px 0;padding-bottom:4px;display:flex;overflow-x:auto}.picker-categories::-webkit-scrollbar{display:none}.picker-list{gap:9px;display:grid}.picker-exercise-row{border:1px solid var(--border);background:var(--surface);width:100%;min-height:66px;color:var(--text);text-align:left;border-radius:14px;justify-content:space-between;align-items:center;gap:18px;padding:13px 15px;display:flex}.picker-exercise-row:hover:not(:disabled){background:var(--primary-soft);border-color:#aac7b7}.picker-exercise-copy strong,.picker-exercise-copy small{display:block}.picker-exercise-copy strong{margin-bottom:5px;font-size:14px}.picker-exercise-copy small{color:var(--muted);text-transform:capitalize;font-size:11px}.picker-add-symbol{color:var(--primary);font-size:24px}.picker-empty{color:var(--muted);text-align:center;padding:40px 18px;font-size:13px}@media (width<=640px){.picker-backdrop{align-items:end;padding:0}.exercise-picker{border-radius:24px 24px 0 0;width:100%;max-height:92vh}}.workout-exercise-card{border:1px solid var(--border);background:var(--surface);border-radius:20px;padding:20px;box-shadow:0 10px 34px #1d2d230f}.workout-exercise-header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.workout-exercise-header h2{margin-bottom:0;font-size:20px}.workout-exercise-category{color:var(--primary);letter-spacing:.08em;text-transform:uppercase;margin-bottom:5px;font-size:11px;font-weight:800}.remove-exercise-button{min-height:34px;color:var(--danger);background:#fff7f7;border:1px solid #efcaca;border-radius:10px;padding:0 11px;font-size:11px;font-weight:700}.set-table-header,.workout-set-row{grid-template-columns:48px minmax(110px,1fr) minmax(90px,.8fr) 58px 38px;align-items:center;gap:10px;display:grid}.set-table-header{color:var(--muted);text-transform:uppercase;padding:0 8px 8px;font-size:10px;font-weight:800}.workout-set-list{gap:8px;display:grid}.workout-set-row{border:1px solid var(--border);background:var(--surface-muted);border-radius:13px;padding:9px 8px;position:relative}.workout-set-row.completed{background:#f1faf5;border-color:#a9d8bf}.set-number{background:var(--surface);border-radius:10px;place-items:center;width:32px;height:32px;font-size:12px;font-weight:800;display:grid}.set-input-wrap{align-items:center;display:flex;position:relative}.set-input-wrap input{border:1px solid var(--border);background:var(--surface);width:100%;height:40px;color:var(--text);border-radius:10px;outline:none;padding:0 42px 0 11px}.reps-input input{padding-right:11px}.set-input-wrap input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.set-input-wrap small{color:var(--muted);pointer-events:none;font-size:10px;position:absolute;right:10px}.mobile-field-label{display:none}.set-complete-control{place-items:center;display:grid}.set-complete-control input{opacity:0;pointer-events:none;position:absolute}.set-complete-control span{border:1px solid var(--border);background:var(--surface);color:#a4aca7;cursor:pointer;border-radius:11px;place-items:center;width:34px;height:34px;font-weight:800;display:grid}.set-complete-control input:checked+span{border-color:var(--primary);background:var(--primary);color:#fff}.set-delete-button{width:32px;height:32px;color:var(--muted);background:0 0;border:0;border-radius:9px;font-size:20px}.set-delete-button:hover:not(:disabled){color:var(--danger);background:#fff0f0}.set-row-error{color:var(--danger);grid-column:2/-1;font-size:10px;font-weight:600}.add-set-button{background:var(--primary-soft);min-height:40px;color:var(--primary-dark);border:1px dashed #aac7b7;border-radius:11px;margin-top:12px;padding:0 13px;font-size:12px;font-weight:800}.no-sets-message{border:1px dashed var(--border);color:var(--muted);text-align:center;border-radius:12px;padding:18px;font-size:12px}@media (width<=640px){.workout-exercise-card{padding:15px}.set-table-header{display:none}.workout-set-row{grid-template-columns:36px minmax(0,1fr) minmax(0,.8fr) 38px 30px;gap:7px;padding:9px 7px}.set-number{width:30px;height:30px}.set-input-wrap{padding-top:14px}.mobile-field-label{color:var(--muted);text-transform:uppercase;font-size:8px;font-weight:800;display:block;position:absolute;top:0;left:2px}.set-input-wrap input{min-width:0;height:38px;padding-left:8px}.set-row-error{grid-column:1/-1}}.workout-exercise-actions{align-items:center;gap:8px;display:flex}.workout-rest-time{background:var(--primary-soft);min-height:34px;color:var(--primary-dark);border:1px solid #b9d9c8;border-radius:999px;align-items:center;padding:0 11px;font-size:10px;font-weight:800;display:inline-flex}@media (width<=480px){.workout-exercise-actions{flex-direction:column;align-items:flex-end}}button.workout-rest-time{cursor:pointer;gap:7px}button.workout-rest-time>span{font-size:8px}.active-rest-time-editor{background:#f5faf7;border:1px solid #bdd8ca;border-radius:15px;margin-bottom:17px;padding:15px}.active-rest-time-editor .rest-time-selector{margin-bottom:0}.active-rest-time-error{color:var(--danger);margin:10px 0 0;font-size:11px;font-weight:700}.close-rest-time-editor{background:var(--surface);width:100%;min-height:38px;color:var(--primary-dark);border:1px solid #b9d9c8;border-radius:10px;margin-top:12px;font-size:11px;font-weight:800}.workout-exercise-card:nth-child(4n+1){border-top:3px solid var(--primary)}.workout-exercise-card:nth-child(4n+2){border-top:3px solid var(--accent-blue)}.workout-exercise-card:nth-child(4n+3){border-top:3px solid var(--accent-violet)}.workout-exercise-card:nth-child(4n+4){border-top:3px solid var(--accent-gold)}.workout-rest-time{background:var(--accent-blue-soft);color:var(--accent-blue-dark);border-color:#c9d4f0}button.workout-rest-time:hover,button.workout-rest-time.active{border-color:var(--accent-blue);background:linear-gradient(135deg, var(--accent-blue), var(--accent-violet));color:#fff}.active-rest-time-editor{background:linear-gradient(145deg, var(--accent-violet-soft), var(--accent-blue-soft));border-color:#d5caed}.workout-exercise-card:nth-child(4n+1),.workout-exercise-card:nth-child(4n+2),.workout-exercise-card:nth-child(4n+3),.workout-exercise-card:nth-child(4n+4){border-top:1px solid var(--border)}.completed-workout-backdrop{z-index:100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#131f1880;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.completed-workout-editor{border:1px solid var(--border);background:var(--background);border-radius:24px;width:min(1080px,100%);max-height:calc(100vh - 40px);padding:24px;overflow-y:auto;box-shadow:0 28px 90px #101f154d}.completed-workout-editor-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:18px;display:flex}.completed-workout-editor-header h2{margin-bottom:6px;font-size:25px}.completed-workout-editor-header p:last-child{max-width:630px;color:var(--muted);margin-bottom:0;font-size:12px;line-height:1.5}.editor-error,.editor-success{border:1px solid;border-radius:12px;margin-bottom:14px;padding:12px 14px;font-size:12px;font-weight:700}.editor-error{background:var(--danger-soft);color:var(--danger);border-color:#efb9b9}.editor-success{background:var(--success-soft);color:var(--success);border-color:#a9d8bf}.completed-editor-loading{min-height:300px;color:var(--muted);align-content:center;place-items:center;gap:15px;font-size:12px;display:grid}.completed-workout-details{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:20px;grid-template-columns:1.5fr .8fr .65fr 1fr;gap:12px;padding:20px;display:grid}.completed-workout-details .form-field{margin-bottom:0}.completed-name-field{grid-column:span 2}.completed-notes-field{grid-column:1/-1}.completed-details-actions{grid-column:1/-1;justify-content:space-between;align-items:center;gap:16px;padding-top:2px;display:flex}.completed-details-actions>span{color:var(--muted);font-size:11px;font-weight:700}.completed-exercise-heading{justify-content:space-between;align-items:flex-end;gap:18px;margin:22px 0 12px;display:flex}.completed-exercise-heading h3{margin-bottom:4px;font-size:19px}.completed-exercise-heading p{color:var(--muted);margin-bottom:0;font-size:11px}.completed-exercise-list{gap:13px;display:grid}.completed-workout-editor-footer{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;margin-top:20px;padding-top:18px;display:flex}.delete-workout-button{min-height:44px;color:var(--danger);background:#fff4f4;border:1px solid #efb9b9;border-radius:12px;padding:0 15px;font-size:12px;font-weight:800}@media (width<=780px){.completed-workout-backdrop{align-items:end;padding:0}.completed-workout-editor{border-radius:24px 24px 0 0;width:100%;max-height:94vh;padding:17px}.completed-workout-details{grid-template-columns:1fr 1fr;padding:16px}.completed-name-field,.completed-notes-field{grid-column:1/-1}.completed-details-actions{flex-direction:column;align-items:stretch}.completed-details-actions .primary-button{width:100%}.completed-exercise-heading{flex-direction:column;align-items:stretch}.completed-workout-editor-footer{flex-direction:column-reverse;align-items:stretch}.completed-workout-editor-footer button{width:100%}}@media (width<=480px){.completed-workout-details{grid-template-columns:1fr}.completed-name-field,.completed-notes-field{grid-column:auto}}.completed-set-legend{color:var(--muted);align-items:center;gap:7px;margin-top:8px;font-size:10px;font-weight:650;display:flex}.completed-set-legend>span{background:#f1faf5;border:1px solid #a9d8bf;border-radius:4px;flex:none;width:13px;height:13px}.workout-summary-backdrop{z-index:100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#131f1880;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.workout-summary-modal{border:1px solid var(--border);background:var(--background);border-radius:24px;width:min(900px,100%);max-height:calc(100vh - 40px);padding:24px;overflow-y:auto;box-shadow:0 28px 90px #101f154d}.workout-summary-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:18px;display:flex}.workout-summary-header h2{margin-bottom:7px;font-size:25px}.workout-summary-header p:last-child{color:var(--muted);margin-bottom:0;font-size:12px}.workout-summary-error{background:var(--danger-soft);color:var(--danger);border:1px solid #efb9b9;border-radius:12px;margin-bottom:14px;padding:12px 14px;font-size:12px;font-weight:700}.workout-summary-loading{min-height:300px;color:var(--muted);align-content:center;place-items:center;gap:15px;font-size:12px;display:grid}.workout-summary-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px;display:grid}.workout-summary-stats-grid span{border:1px solid var(--border);background:var(--surface);color:var(--muted);border-radius:14px;gap:4px;padding:14px;font-size:10px;font-weight:700;display:grid}.workout-summary-stats-grid strong{color:var(--text);font-size:20px}.workout-summary-notes{border:1px solid var(--border);background:var(--surface);border-radius:14px;margin-bottom:16px;padding:15px}.workout-summary-notes strong{margin-bottom:6px;font-size:12px;display:block}.workout-summary-notes p{color:var(--muted);white-space:pre-wrap;margin-bottom:0;font-size:12px;line-height:1.6}.workout-summary-exercise-list{gap:13px;display:grid}.workout-summary-exercise-card{border:1px solid var(--border);background:var(--surface);border-radius:18px;padding:18px;box-shadow:0 8px 28px #1d2d230d}.workout-summary-exercise-card>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:13px;display:flex}.workout-summary-exercise-card header p{color:var(--primary);letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px;font-size:10px;font-weight:800}.workout-summary-exercise-card header h3{margin-bottom:0;font-size:17px}.workout-summary-exercise-card header>span{color:var(--muted);font-size:10px;font-weight:750}.workout-summary-set-table{gap:7px;display:grid}.workout-summary-set-header,.workout-summary-set-row{grid-template-columns:54px minmax(90px,1fr) minmax(70px,.8fr);align-items:center;gap:10px;display:grid}.workout-summary-set-header{color:var(--muted);text-transform:uppercase;padding:0 9px 2px;font-size:9px;font-weight:800}.workout-summary-set-row{border:1px solid var(--border);background:var(--surface-muted);border-radius:11px;min-height:43px;padding:8px 9px;font-size:11px}.workout-summary-set-row>strong{background:var(--surface);border-radius:9px;place-items:center;width:28px;height:28px;display:grid}.workout-summary-no-sets{border:1px dashed var(--border);color:var(--muted);text-align:center;border-radius:11px;padding:16px;font-size:11px}.workout-summary-footer{border-top:1px solid var(--border);justify-content:flex-end;gap:9px;margin-top:20px;padding-top:18px;display:flex}@media (width<=680px){.workout-summary-backdrop{align-items:end;padding:0}.workout-summary-modal{border-radius:24px 24px 0 0;width:100%;max-height:94vh;padding:17px}.workout-summary-set-header,.workout-summary-set-row{grid-template-columns:42px minmax(82px,1fr) minmax(62px,.8fr);gap:8px}.workout-summary-set-header{display:grid}.workout-summary-footer{grid-template-columns:1fr 1fr;display:grid}}@media (width<=420px){.workout-summary-stats-grid{grid-template-columns:1fr 1fr}.workout-summary-exercise-card{padding:14px}}.workout-summary-stats-grid span:first-child{background:var(--accent-blue-soft)}.workout-summary-stats-grid span:nth-child(2){background:var(--accent-violet-soft)}.workout-summary-exercise-card:nth-child(4n+1){border-left:3px solid var(--primary)}.workout-summary-exercise-card:nth-child(4n+2){border-left:3px solid var(--accent-blue)}.workout-summary-exercise-card:nth-child(4n+3){border-left:3px solid var(--accent-violet)}.workout-summary-exercise-card:nth-child(4n+4){border-left:3px solid var(--accent-gold)}.workout-summary-modal{border-top:1px solid var(--border)}.history-page{width:100%}.history-layout{grid-template-columns:320px minmax(0,1fr);align-items:start;gap:24px;max-width:1380px;margin:0 auto;display:grid}.history-filter-panel,.history-results{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:24px}.history-filter-panel{padding:22px;position:sticky;top:24px}.history-filter-heading,.history-results-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.history-filter-heading{margin-bottom:18px}.history-filter-heading h2,.history-results-heading h2{margin-bottom:0;font-size:21px}.active-filter-badge{background:var(--primary-soft);color:var(--primary-dark);text-transform:uppercase;border-radius:999px;padding:6px 9px;font-size:9px;font-weight:800}.history-filter-grid{gap:14px;display:grid}.history-filter-grid label{gap:7px;display:grid}.history-filter-grid label>span{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:10px;font-weight:800}.history-filter-grid input,.history-filter-grid select{border:1px solid var(--border);background:var(--surface-muted);width:100%;min-height:44px;color:var(--text);border-radius:11px;outline:none;padding:0 12px}.history-filter-grid input:focus,.history-filter-grid select:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.history-filter-actions{border-top:1px solid var(--border);grid-template-columns:1fr 1fr;gap:9px;margin-top:20px;padding-top:18px;display:grid}.history-filter-actions button{min-width:0;padding-inline:11px}.history-results{min-width:0;padding:24px}.history-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:24px;display:grid}.history-summary-grid article{border:1px solid var(--border);background:var(--surface-muted);border-radius:15px;gap:4px;padding:16px;display:grid}.history-summary-grid strong{font-size:24px;line-height:1}.history-summary-grid span{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:750}.history-results-heading{align-items:end;margin-bottom:15px}.history-results-heading>span{color:var(--muted);font-size:11px;font-weight:700}.history-loading,.history-empty-state{border:1px dashed var(--border);min-height:350px;color:var(--muted);text-align:center;border-radius:18px;align-content:center;place-items:center;gap:12px;display:grid}.history-empty-state>span{background:var(--primary-soft);width:52px;height:52px;color:var(--primary);border-radius:16px;place-items:center;font-size:25px;display:grid}.history-empty-state h3{color:var(--text);margin-bottom:0}.history-empty-state p{max-width:360px;margin-bottom:4px;font-size:12px;line-height:1.6}.history-workout-list{gap:11px;display:grid}.history-workout-card{border:1px solid var(--border);background:var(--surface);border-radius:17px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:11px;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid}.history-workout-card:hover{border-color:#bfd5c8;transform:translateY(-1px);box-shadow:0 12px 32px #1d2d2314}.history-workout-main{min-width:0;color:inherit;text-align:left;background:0 0;border:0;border-radius:13px;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:14px;padding:5px;display:grid}.history-workout-main:focus-visible{outline:3px solid var(--primary-soft);outline-offset:2px}.history-workout-date{background:var(--primary-soft);width:54px;height:58px;color:var(--primary-dark);border-radius:14px;align-content:center;place-items:center;display:grid}.history-workout-date strong{font-size:20px;line-height:1}.history-workout-date span{text-transform:uppercase;margin-top:4px;font-size:9px;font-weight:800}.history-workout-copy{min-width:0}.history-workout-copy h3{text-overflow:ellipsis;white-space:nowrap;margin-bottom:5px;font-size:16px;overflow:hidden}.history-workout-copy>p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-bottom:8px;font-size:11px;overflow:hidden}.history-exercise-preview{gap:5px;display:flex;overflow:hidden}.history-exercise-preview span{background:var(--surface-muted);min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;padding:4px 7px;font-size:9px;font-weight:700;overflow:hidden}.history-workout-counts{gap:7px;display:flex}.history-workout-counts>span{background:var(--surface-muted);min-width:68px;color:var(--muted);text-align:center;text-transform:uppercase;border-radius:12px;gap:3px;padding:10px;font-size:8px;font-weight:750;display:grid}.history-workout-counts strong{color:var(--text);font-size:16px}.history-workout-actions{gap:7px;padding-right:3px;display:flex}.history-pagination{border-top:1px solid var(--border);justify-content:center;align-items:center;gap:16px;margin-top:20px;padding-top:18px;display:flex}.history-pagination>span{color:var(--muted);font-size:11px}@media (width<=1050px){.history-layout{grid-template-columns:1fr}.history-filter-panel{position:static}.history-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.history-filter-actions{justify-content:flex-end;display:flex}}@media (width<=760px){.history-results{padding:16px}.history-workout-card{grid-template-columns:1fr}.history-workout-main{grid-template-columns:50px minmax(0,1fr)}.history-workout-date{width:48px;height:52px}.history-workout-counts{grid-column:1/-1;padding-left:64px}.history-workout-counts>span{flex:1;min-width:0}.history-workout-actions{justify-content:flex-end;padding:0 5px 4px}}@media (width<=560px){.history-filter-panel{padding:17px}.history-filter-grid{grid-template-columns:1fr}.history-filter-actions{display:grid}.history-summary-grid{grid-template-columns:1fr 1fr 1fr}.history-summary-grid article{text-align:center;padding:12px 8px}.history-workout-main{align-items:start}.history-workout-counts{padding-left:0}.history-exercise-preview span:nth-child(n+3){display:none}.history-pagination{grid-template-columns:1fr 1fr;display:grid}.history-pagination>span{text-align:center;grid-area:1/1/auto/-1}}.history-workout-actions .small-secondary-button,.history-workout-actions .small-danger-button{border-radius:9px;min-height:34px;padding:0 11px;font-size:10px;font-weight:800}.history-workout-actions .small-secondary-button{border:1px solid var(--border);background:var(--surface);color:var(--text)}.history-workout-actions .small-danger-button{color:var(--danger);background:#fff7f7;border:1px solid #efcaca}.history-loading .loading-spinner{border:3px solid var(--border);border-top-color:var(--primary);border-radius:50%;width:28px;height:28px;animation:.7s linear infinite history-spin}@keyframes history-spin{to{transform:rotate(360deg)}}.history-filter-panel{border-top:3px solid var(--accent-gold)}.history-results{border-top:3px solid var(--accent-blue)}.active-filter-badge{background:var(--accent-gold-soft);color:var(--accent-gold-dark)}.history-summary-grid article:first-child{background:var(--accent-blue-soft);border-color:#d6def7}.history-summary-grid article:first-child strong{color:var(--accent-blue-dark)}.history-summary-grid article:nth-child(2){background:var(--accent-violet-soft);border-color:#ded4f3}.history-summary-grid article:nth-child(2) strong{color:var(--accent-violet-dark)}.history-summary-grid article:nth-child(3){background:var(--accent-coral-soft);border-color:#f0d0ca}.history-summary-grid article:nth-child(3) strong{color:var(--accent-coral-dark)}.history-workout-date{background:linear-gradient(145deg, var(--accent-gold-soft), var(--accent-coral-soft));color:var(--accent-coral-dark)}.history-workout-card:hover{border-color:#c8d3ef;box-shadow:0 12px 32px #42538717}.history-empty-state>span{background:linear-gradient(145deg, var(--accent-gold-soft), var(--accent-blue-soft));color:var(--accent-gold-dark)}.history-filter-panel,.history-results{border-top:1px solid var(--border)}.home-page{width:100%;max-width:1380px;margin:0 auto}.home-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.home-heading h1{margin-bottom:7px}.home-heading>div>p:last-child{color:var(--muted);margin-bottom:0;font-size:12px}.home-loading{border:1px dashed var(--border);min-height:520px;color:var(--muted);background:var(--surface);border-radius:24px;align-content:center;place-items:center;gap:14px;display:grid}.home-workout-hero{background:radial-gradient(circle at 92% 15%, #ffffffe6, transparent 32%), linear-gradient(135deg, var(--primary-soft), #f7fbf8);box-shadow:var(--shadow);border:1px solid #b9d9c8;border-radius:26px;justify-content:space-between;align-items:center;gap:24px;margin-bottom:22px;padding:30px;display:flex}.home-workout-hero.active{border-color:var(--primary)}.home-workout-hero h2{margin-bottom:8px;font-size:clamp(24px,3vw,34px)}.home-workout-hero>div>p:last-child{color:var(--muted);margin-bottom:0;font-size:12px}.home-primary-action{background:var(--primary);color:#fff;border:0;border-radius:14px;flex:none;justify-content:center;align-items:center;gap:12px;min-height:50px;padding:0 20px;font-size:12px;font-weight:850;display:inline-flex;box-shadow:0 12px 28px #256d473d}.home-primary-action span{font-size:17px}.home-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.home-panel{border:1px solid var(--border);background:var(--surface);min-width:0;box-shadow:var(--shadow);border-radius:22px;padding:22px}.home-panel-heading{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:17px;display:flex}.home-panel-heading h2{margin-bottom:0;font-size:20px}.home-panel-heading>button{color:var(--primary);background:0 0;border:0;padding:3px 0;font-size:10px;font-weight:800}.home-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;display:grid}.home-stat-grid>span{border:1px solid var(--border);background:var(--surface-muted);min-width:0;color:var(--muted);text-transform:uppercase;border-radius:14px;gap:5px;padding:15px;font-size:9px;font-weight:800;display:grid}.home-stat-grid strong{color:var(--text);text-overflow:ellipsis;font-size:19px;line-height:1.15;overflow:hidden}.home-last-panel{padding:0;overflow:hidden}.home-last-workout-card{width:100%;height:100%;min-height:190px;color:inherit;text-align:left;background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:17px;padding:22px;display:grid}.home-last-workout-card:hover{background:var(--surface-muted)}.home-last-workout-card h3{margin-bottom:8px;font-size:20px}.home-last-workout-card>div:first-child>p:last-child{color:var(--muted);margin-bottom:0;font-size:11px;line-height:1.6}.home-last-workout-counts{gap:7px;display:flex}.home-last-workout-counts span{background:var(--surface-muted);min-width:72px;color:var(--muted);text-align:center;text-transform:uppercase;border-radius:12px;gap:4px;padding:11px;font-size:8px;font-weight:800;display:grid}.home-last-workout-counts strong{color:var(--text);font-size:17px}.home-view-summary{color:var(--primary);grid-column:1/-1;align-self:end;font-size:10px;font-weight:800}.home-empty-panel{align-content:center;justify-items:start;min-height:190px;padding:22px;display:grid}.home-empty-panel h2{margin-bottom:7px;font-size:20px}.home-empty-panel>p:last-of-type{color:var(--muted);font-size:11px}.home-activity-days{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;display:grid}.home-activity-day{border:1px solid var(--border);background:var(--surface-muted);border-radius:13px;place-items:center;gap:5px;min-width:0;padding:11px 5px;display:grid}.home-activity-day small{color:var(--muted);text-transform:uppercase;font-size:9px;font-weight:800}.home-activity-day strong{font-size:14px}.home-activity-day i{background:#cfd5d1;border-radius:50%;width:8px;height:8px}.home-favorite-list{gap:8px;display:grid}.home-favorite-list>button{border:1px solid var(--border);background:var(--surface-muted);width:100%;color:inherit;text-align:left;border-radius:13px;justify-content:space-between;align-items:center;gap:14px;padding:11px 12px;display:flex}.home-favorite-list>button:hover{background:var(--primary-soft);border-color:#b8d5c4}.home-favorite-list>button>span{gap:4px;min-width:0;display:grid}.home-favorite-list strong,.home-favorite-list small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.home-favorite-list strong{font-size:12px}.home-favorite-list small{color:var(--muted);font-size:9px}.home-favorite-list em{background:var(--surface);color:var(--primary-dark);border-radius:999px;flex:none;padding:5px 8px;font-size:9px;font-style:normal;font-weight:800}.home-favorites-empty{align-content:center;justify-items:start;min-height:145px;display:grid}.home-favorites-empty p{color:var(--muted);font-size:11px}@media (width<=1100px){.home-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-last-workout-card{grid-template-columns:1fr}}@media (width<=800px){.home-dashboard-grid{grid-template-columns:1fr}.home-workout-hero{flex-direction:column;align-items:stretch}.home-primary-action{width:100%}}@media (width<=560px){.home-heading{flex-direction:column;align-items:stretch}.home-heading .refresh-button{width:100%}.home-workout-hero,.home-panel{border-radius:19px;padding:17px}.home-last-panel{padding:0}.home-last-workout-card{padding:17px}.home-activity-days{gap:5px}.home-activity-day{padding:9px 2px}.home-last-workout-counts{grid-template-columns:1fr 1fr;display:grid}}.home-workout-hero{background:radial-gradient(circle at 90% 18%, #fff6dff2, transparent 28%), radial-gradient(circle at 74% 95%, #edf1ffe6, transparent 34%), linear-gradient(135deg, var(--primary-soft), #f8fbff);border-color:#c8d5ee}.home-workout-hero.active{background:radial-gradient(circle at 92% 10%, #e8f6f6f5, transparent 32%), linear-gradient(135deg, var(--primary-soft), var(--accent-blue-soft));border-color:#9ccab2}.home-primary-action{background:linear-gradient(135deg, var(--primary), var(--accent-teal))}.home-panel{position:relative;overflow:hidden}.home-dashboard-grid>.home-panel:first-child{border-top:3px solid var(--accent-blue)}.home-dashboard-grid>.home-panel:nth-child(2){border-top:3px solid var(--accent-violet)}.home-dashboard-grid>.home-panel:nth-child(3){border-top:3px solid var(--accent-teal)}.home-dashboard-grid>.home-panel:nth-child(4){border-top:3px solid var(--accent-gold)}.home-stat-grid>span:first-child{background:var(--accent-blue-soft);border-color:#d6def7}.home-stat-grid>span:first-child strong{color:var(--accent-blue-dark)}.home-stat-grid>span:nth-child(2){background:var(--accent-violet-soft);border-color:#ded4f3}.home-stat-grid>span:nth-child(2) strong{color:var(--accent-violet-dark)}.home-stat-grid>span:nth-child(3){background:var(--accent-gold-soft);border-color:#ecd9b3}.home-stat-grid>span:nth-child(3) strong{color:var(--accent-gold-dark)}.home-stat-grid>span:nth-child(4){background:var(--accent-coral-soft);border-color:#f0d0ca}.home-stat-grid>span:nth-child(4) strong{color:var(--accent-coral-dark)}.home-last-workout-counts span:first-child{background:var(--accent-blue-soft)}.home-last-workout-counts span:nth-child(2){background:var(--accent-violet-soft)}.home-view-summary{color:var(--accent-violet)}.home-activity-day.completed{background:linear-gradient(145deg, var(--accent-teal-soft), var(--primary-soft));border-color:#a8d1d2}.home-activity-day.completed i{background:var(--accent-teal);box-shadow:0 0 0 4px #247f831f}.home-favorite-list>button:nth-child(4n+1):hover{background:var(--accent-blue-soft);border-color:#c8d3f3}.home-favorite-list>button:nth-child(4n+2):hover{background:var(--accent-violet-soft);border-color:#d9ccf0}.home-favorite-list>button:nth-child(4n+3):hover{background:var(--accent-gold-soft);border-color:#ead5aa}.home-favorite-list>button:nth-child(4n+4):hover{background:var(--accent-teal-soft);border-color:#c8e0e1}.home-favorite-list em{background:var(--accent-gold-soft);color:var(--accent-gold-dark)}.home-dashboard-grid>.home-panel:first-child,.home-dashboard-grid>.home-panel:nth-child(2),.home-dashboard-grid>.home-panel:nth-child(3),.home-dashboard-grid>.home-panel:nth-child(4){border-top:1px solid var(--border)}.profile-page{width:min(1050px,100%);margin:0 auto}.profile-page-header{margin-bottom:22px}.profile-page-header h1{margin:5px 0;font-size:31px}.profile-page-header>p:last-child{color:var(--muted);margin:0;font-size:13px}.profile-message{border-radius:12px;margin-bottom:15px;padding:12px 14px;font-size:12px;font-weight:700}.profile-message.error{background:var(--danger-soft);color:var(--danger);border:1px solid #efb9b9}.profile-message.success{background:var(--primary-soft);color:var(--primary-dark);border:1px solid #b7dac6}.profile-grid{grid-template-columns:minmax(260px,.75fr) minmax(360px,1.25fr);gap:17px;display:grid}.profile-account-card,.password-card{border:1px solid var(--border);background:var(--surface);border-radius:20px;box-shadow:0 8px 30px #1a2b200d}.profile-account-card{text-align:center;flex-direction:column;align-items:center;padding:28px 22px;display:flex}.profile-large-avatar{background:var(--primary);color:#fff;border-radius:23px;place-items:center;width:74px;height:74px;margin-bottom:15px;font-size:23px;font-weight:900;display:grid}.profile-account-card span{color:var(--muted);text-transform:uppercase;margin-bottom:4px;font-size:10px;font-weight:750;display:block}.profile-account-card strong{overflow-wrap:anywhere;margin-bottom:9px;font-size:19px;display:block}.profile-account-card p{color:var(--muted);margin:0;font-size:11px;line-height:1.55}.profile-logout-button{width:100%;min-height:42px;color:var(--danger);background:#fff7f7;border:1px solid #e7bcbc;border-radius:11px;margin-top:auto;padding:0 15px;font-size:11px;font-weight:850}.password-card{padding:24px}.password-card h2{margin:0 0 5px;font-size:20px}.password-card>div>p{color:var(--muted);margin:0 0 20px;font-size:11px}.password-form{gap:14px;display:grid}.password-form label{gap:6px;display:grid}.password-form label span{font-size:11px;font-weight:750}.password-form input{border:1px solid var(--border);background:var(--background);width:100%;height:44px;color:var(--text);font:inherit;border-radius:11px;outline:none;padding:0 12px}.password-form input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}@media (width<=760px){.profile-grid{grid-template-columns:1fr}.profile-account-card{min-height:320px}}.profile-account-card{border-top:3px solid var(--accent-violet);background:radial-gradient(circle at 50% 0%, #f3effce6, transparent 45%), var(--surface)}.password-card{border-top:3px solid var(--accent-teal)}.profile-large-avatar{background:linear-gradient(135deg, var(--accent-blue), var(--accent-violet));box-shadow:0 12px 28px #604a9738}.profile-message.success{background:linear-gradient(90deg, var(--primary-soft), var(--accent-teal-soft));color:var(--accent-teal-dark);border-color:#badcdf}.profile-account-card,.password-card{border-top:1px solid var(--border)}.progress-page{width:100%}.progress-range-panel,.progress-panel,.progress-overview-grid article{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow)}.progress-range-panel{border-radius:20px;gap:15px;max-width:1380px;margin:0 auto 20px;padding:20px;display:grid}.progress-range-panel>p{color:var(--muted);margin:0;font-size:11px;font-weight:700}.progress-range-presets{justify-content:space-between;align-items:center;gap:18px;display:flex}.progress-range-presets>span{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:10px;font-weight:800}.progress-range-presets>div,.progress-segmented-control,.progress-unit-toggle{border:1px solid var(--border);background:var(--surface-muted);border-radius:12px;gap:5px;padding:4px;display:inline-flex}.progress-range-presets button,.progress-segmented-control button,.progress-unit-toggle button{min-height:34px;color:var(--muted);background:0 0;border:0;border-radius:9px;padding:0 12px;font-size:10px;font-weight:800}.progress-range-presets button.active,.progress-segmented-control button.active,.progress-unit-toggle button.active{background:var(--surface);color:var(--primary-dark);box-shadow:0 4px 12px #1d2d2314}.progress-custom-range{grid-template-columns:minmax(150px,220px) minmax(150px,220px) auto;align-items:end;gap:10px;display:grid}.progress-custom-range label{gap:6px;display:grid}.progress-custom-range label span{color:var(--muted);text-transform:uppercase;font-size:9px;font-weight:800}.progress-custom-range input{border:1px solid var(--border);background:var(--surface-muted);width:100%;min-height:42px;color:var(--text);border-radius:10px;outline:none;padding:0 11px}.progress-custom-range input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.progress-loading,.progress-exercise-loading{min-height:340px;color:var(--muted);align-content:center;place-items:center;gap:12px;font-size:12px;display:grid}.progress-loading{border:1px dashed var(--border);border-radius:22px;max-width:1380px;margin:0 auto}.progress-overview-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;max-width:1380px;margin:0 auto 20px;display:grid}.progress-overview-grid article{border-radius:18px;gap:6px;min-width:0;padding:20px;display:grid}.progress-overview-grid strong{text-overflow:ellipsis;font-size:clamp(21px,2.5vw,30px);line-height:1.1;overflow:hidden}.progress-overview-grid span{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:800}.progress-panel{border-radius:24px;max-width:1380px;margin:0 auto 20px;padding:24px}.progress-panel-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px;display:flex}.progress-panel-heading h2{margin-bottom:0;font-size:22px}.progress-weekly-bars{scrollbar-width:thin;align-items:end;gap:12px;min-height:260px;padding:22px 8px 4px;display:flex;overflow-x:auto}.progress-week-bar-column{text-align:center;flex:1 0 54px;grid-template-rows:22px 190px 22px;align-items:end;gap:7px;min-width:54px;display:grid}.progress-week-bar-value{color:var(--muted);font-size:9px;font-weight:800}.progress-week-bar-track{background:repeating-linear-gradient(to top, transparent, transparent 46px, var(--border) 47px), var(--surface-muted);border-radius:10px 10px 5px 5px;width:100%;height:190px;position:relative;overflow:hidden}.progress-week-bar-track>span{background:var(--primary);border-radius:7px 7px 3px 3px;min-height:0;transition:height .22s;position:absolute;inset:auto 8px 0}.progress-week-bar-column small{color:var(--muted);white-space:nowrap;font-size:9px;font-weight:700}.progress-unit-toggle{width:fit-content;margin:-10px 0 14px auto}.progress-exercise-panel{min-width:0}.progress-exercise-select{gap:6px;min-width:min(310px,42vw);display:grid}.progress-exercise-select span{color:var(--muted);text-transform:uppercase;font-size:9px;font-weight:800}.progress-exercise-select select{border:1px solid var(--border);background:var(--surface-muted);width:100%;min-height:42px;color:var(--text);border-radius:11px;outline:none;padding:0 11px}.progress-exercise-select select:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.progress-exercise-title{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.progress-exercise-title h3{margin-bottom:4px;font-size:24px}.progress-exercise-title p{color:var(--muted);margin-bottom:0;font-size:12px}.progress-exercise-title>span{background:var(--primary-soft);color:var(--primary-dark);border-radius:999px;padding:6px 10px;font-size:10px;font-weight:800}.progress-exercise-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:22px;display:grid}.progress-exercise-stat-grid article{border:1px solid var(--border);background:var(--surface-muted);border-radius:14px;gap:6px;min-width:0;padding:15px;display:grid}.progress-exercise-stat-grid span{color:var(--muted);text-transform:uppercase;font-size:9px;font-weight:800}.progress-exercise-stat-grid strong{text-overflow:ellipsis;font-size:15px;overflow:hidden}.progress-exercise-chart-heading{justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px;display:flex}.progress-exercise-chart-heading .progress-unit-toggle{margin:0}.progress-line-chart-scroll{border:1px solid var(--border);background:var(--surface-muted);border-radius:16px;overflow-x:auto}.progress-line-chart{width:100%;min-width:640px;color:var(--primary);display:block}.progress-chart-grid-line{stroke:#dfe5e1;stroke-width:1px}.progress-chart-axis-label,.progress-chart-date-label{fill:var(--muted);font-size:10px;font-weight:700}.progress-chart-line{stroke:currentColor;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.progress-chart-empty{border:1px dashed var(--border);min-height:230px;color:var(--muted);text-align:center;border-radius:16px;place-items:center;font-size:12px;display:grid}.progress-session-section{border-top:1px solid var(--border);margin-top:24px;padding-top:21px}.progress-session-heading{justify-content:space-between;align-items:end;gap:16px;margin-bottom:12px;display:flex}.progress-session-heading h3{margin-bottom:0;font-size:18px}.progress-session-heading span{color:var(--muted);font-size:10px}.progress-session-table-header,.progress-session-row{grid-template-columns:minmax(130px,1.2fr) minmax(150px,1.4fr) 70px minmax(120px,1fr) minmax(120px,1fr);align-items:center;gap:12px;display:grid}.progress-session-table-header{color:var(--muted);text-transform:uppercase;padding:0 12px 8px;font-size:9px;font-weight:800}.progress-session-list{gap:8px;display:grid}.progress-session-row{border:1px solid var(--border);background:var(--surface);width:100%;min-height:58px;color:var(--text);text-align:left;border-radius:13px;padding:10px 12px;font-size:11px}.progress-session-row:hover{background:var(--surface-muted);border-color:#bad2c4}.progress-session-row>span{text-overflow:ellipsis;min-width:0;overflow:hidden}.progress-session-row strong,.progress-session-row small{display:block}.progress-session-row small{color:var(--muted);margin-top:4px;font-size:9px}.progress-empty-state,.progress-small-empty{color:var(--muted);text-align:center;place-items:center;display:grid}.progress-empty-state{border:1px dashed var(--border);border-radius:17px;align-content:center;gap:8px;min-height:330px}.progress-empty-state>span{background:var(--primary-soft);width:48px;height:48px;color:var(--primary-dark);border-radius:14px;place-items:center;font-size:22px;display:grid}.progress-empty-state h3{margin-bottom:0}.progress-empty-state p{max-width:360px;margin-bottom:0;font-size:12px;line-height:1.6}.progress-bottom-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;max-width:1380px;margin:0 auto;display:grid}.progress-bottom-grid .progress-panel{width:100%;margin-bottom:0}.progress-best-list{gap:8px;display:grid}.progress-best-list button{border:1px solid var(--border);background:var(--surface);min-height:58px;color:var(--text);text-align:left;border-radius:13px;justify-content:space-between;align-items:center;gap:14px;padding:10px 12px;display:flex}.progress-best-list button:hover{background:var(--surface-muted);border-color:#bad2c4}.progress-best-list strong,.progress-best-list small{display:block}.progress-best-list small{color:var(--muted);margin-top:4px;font-size:9px}.progress-best-list em{color:var(--primary-dark);flex:none;font-size:12px;font-style:normal;font-weight:800}.progress-small-empty{border:1px dashed var(--border);border-radius:14px;min-height:240px;font-size:12px}.progress-consistency-day-labels,.progress-consistency-week{grid-template-columns:repeat(7,1fr);gap:7px;display:grid}.progress-consistency-day-labels{color:var(--muted);text-align:center;margin-bottom:7px;font-size:9px;font-weight:800}.progress-consistency-grid{gap:7px;display:grid}.progress-consistency-week span{aspect-ratio:1;border:1px solid var(--border);background:var(--surface-muted);border-radius:6px}.progress-consistency-week span.completed{border-color:var(--primary);background:var(--primary)}.progress-consistency-week span.outside-range{opacity:.3}.progress-consistency-legend{color:var(--muted);justify-content:flex-end;gap:15px;margin-top:14px;font-size:9px;display:flex}.progress-consistency-legend span{align-items:center;gap:6px;display:inline-flex}.progress-consistency-legend i{border:1px solid var(--border);background:var(--surface-muted);border-radius:4px;width:12px;height:12px}.progress-consistency-legend i.completed{border-color:var(--primary);background:var(--primary)}@media (width<=1050px){.progress-overview-grid,.progress-exercise-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.progress-session-table-header,.progress-session-row{grid-template-columns:minmax(120px,1fr) minmax(140px,1.2fr) 60px minmax(110px,1fr)}.progress-session-table-header>span:last-child,.progress-session-row>span:last-child{display:none}}@media (width<=820px){.progress-range-presets,.progress-panel-heading,.progress-exercise-chart-heading{flex-direction:column;align-items:stretch}.progress-range-presets>div,.progress-segmented-control{width:100%;overflow-x:auto}.progress-range-presets button,.progress-segmented-control button{flex:1 0 auto}.progress-unit-toggle{margin:0 0 14px}.progress-exercise-select{width:100%;min-width:0}.progress-bottom-grid{grid-template-columns:1fr}}@media (width<=640px){.progress-range-panel,.progress-panel{border-radius:18px;padding:16px}.progress-custom-range{grid-template-columns:1fr 1fr}.progress-custom-range .primary-button{grid-column:1/-1}.progress-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.progress-overview-grid article{padding:15px}.progress-overview-grid strong{font-size:20px}.progress-exercise-stat-grid{grid-template-columns:1fr 1fr}.progress-exercise-chart-heading{gap:10px}.progress-session-table-header{display:none}.progress-session-row{grid-template-columns:1fr auto;gap:7px 14px}.progress-session-row>span{display:block!important}.progress-session-row>span:nth-child(2),.progress-session-row>span:nth-child(4){text-align:right}.progress-session-row>span:nth-child(3):before{content:"Sets: ";color:var(--muted)}.progress-session-row>span:nth-child(5){color:var(--muted);grid-column:1/-1;font-size:9px}.progress-session-heading{flex-direction:column;align-items:flex-start}.progress-weekly-bars{min-height:230px}.progress-week-bar-column{grid-template-rows:22px 160px 22px}.progress-week-bar-track{height:160px}}@media (width<=420px){.progress-overview-grid,.progress-exercise-stat-grid,.progress-custom-range{grid-template-columns:1fr}.progress-custom-range .primary-button{grid-column:auto}.progress-best-list button{flex-direction:column;align-items:flex-start}.progress-best-list em{align-self:flex-end}}.progress-range-panel{border-top:3px solid var(--accent-violet)}.progress-overview-grid article:first-child{background:var(--accent-blue-soft);border-color:#d6def7}.progress-overview-grid article:first-child strong{color:var(--accent-blue-dark)}.progress-overview-grid article:nth-child(2){background:var(--accent-teal-soft);border-color:#cce4e5}.progress-overview-grid article:nth-child(2) strong{color:var(--accent-teal-dark)}.progress-overview-grid article:nth-child(3){background:var(--accent-gold-soft);border-color:#ead8b4}.progress-overview-grid article:nth-child(3) strong{color:var(--accent-gold-dark)}.progress-overview-grid article:nth-child(4){background:var(--accent-violet-soft);border-color:#ded4f3}.progress-overview-grid article:nth-child(4) strong{color:var(--accent-violet-dark)}.progress-panel:nth-of-type(odd){border-top:3px solid var(--accent-blue)}.progress-panel:nth-of-type(2n){border-top:3px solid var(--accent-violet)}.progress-week-bar-column:nth-child(5n+1) .progress-week-bar-track>span{background:var(--accent-blue)}.progress-week-bar-column:nth-child(5n+2) .progress-week-bar-track>span{background:var(--accent-teal)}.progress-week-bar-column:nth-child(5n+3) .progress-week-bar-track>span{background:var(--accent-violet)}.progress-week-bar-column:nth-child(5n+4) .progress-week-bar-track>span{background:var(--accent-gold)}.progress-week-bar-column:nth-child(5n+5) .progress-week-bar-track>span{background:var(--accent-coral)}.progress-exercise-title>span{background:var(--accent-violet-soft);color:var(--accent-violet-dark)}.progress-exercise-stat-grid article:first-child{background:var(--accent-blue-soft)}.progress-exercise-stat-grid article:nth-child(2){background:var(--accent-violet-soft)}.progress-exercise-stat-grid article:nth-child(3){background:var(--accent-gold-soft)}.progress-exercise-stat-grid article:nth-child(4){background:var(--accent-teal-soft)}.progress-line-chart{color:var(--accent-blue)}.progress-chart-point{fill:var(--surface);stroke:var(--accent-violet);stroke-width:2px}.progress-range-panel,.progress-panel:nth-of-type(odd),.progress-panel:nth-of-type(2n){border-top:1px solid var(--border)}.location-modal-backdrop{z-index:110;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#131f187a;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.location-modal{border:1px solid var(--border);background:var(--surface);border-radius:24px;width:min(720px,100%);max-height:min(780px,100vh - 40px);padding:24px;overflow-y:auto;box-shadow:0 28px 90px #101f1547}.location-modal-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:22px;display:flex}.location-modal-header h2{margin-bottom:7px;font-size:24px}.location-modal-header p:last-child{max-width:530px;color:var(--muted);margin-bottom:0;font-size:13px;line-height:1.5}.location-error{background:var(--danger-soft);color:var(--danger);border:1px solid #efb9b9;border-radius:12px;margin-bottom:16px;padding:12px 14px;font-size:13px;font-weight:600}.location-create-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin-bottom:22px;display:grid}.location-create-form label{gap:8px;display:grid}.location-create-form label>span{font-size:13px;font-weight:700}.location-create-form input,.location-edit-input{border:1px solid var(--border);background:var(--surface-muted);width:100%;height:44px;color:var(--text);border-radius:12px;outline:none;padding:0 13px}.location-create-form input:focus,.location-edit-input:focus{border-color:var(--primary);box-shadow:0 0 0 4px var(--primary-soft)}.location-list{gap:9px;display:grid}.location-row{border:1px solid var(--border);border-radius:14px;justify-content:space-between;align-items:center;gap:18px;min-height:68px;padding:13px 14px;display:flex}.location-row-main{flex:1;min-width:0}.location-row-main strong,.location-row-main span{display:block}.location-row-main strong{margin-bottom:4px;font-size:14px}.location-row-main span{color:var(--muted);font-size:11px}.location-row-main .default-star{color:#d89b1d;margin-right:7px;display:inline}.location-actions{flex:none;gap:7px;display:flex}.small-primary-button,.small-secondary-button,.small-danger-button{border-radius:10px;min-height:34px;padding:0 11px;font-size:11px;font-weight:700}.small-primary-button{background:var(--primary);color:#fff;border:0}.small-secondary-button{border:1px solid var(--border);background:var(--surface);color:var(--text)}.small-danger-button{color:var(--danger);background:#fff5f5;border:1px solid #f0c6c6}@media (width<=680px){.location-modal-backdrop{align-items:end;padding:0}.location-modal{border-radius:24px 24px 0 0;width:100%;max-height:92vh}.location-create-form{grid-template-columns:1fr}.location-row{flex-direction:column;align-items:flex-start}.location-actions{flex-wrap:wrap;width:100%}.location-actions button{flex:1}}.location-row.hidden-location{background:var(--surface-muted);opacity:.82;border-style:dashed}.location-row-meta{flex-wrap:wrap;align-items:center;gap:8px;display:flex!important}.location-row-meta>span{display:inline-flex}.location-status{text-transform:uppercase;border-radius:999px;width:fit-content;padding:3px 7px;font-weight:800;font-size:9px!important}.location-status.hidden{background:#e8ebea;color:var(--muted)!important}.location-visibility-toggle{align-items:center;gap:7px;min-height:34px;display:inline-flex}.location-visibility-toggle>span{color:var(--muted);font-size:10px;font-weight:800}.toggle-switch{background:#dfe3e1;border:1px solid #c8ceca;border-radius:999px;width:42px;height:24px;padding:0;position:relative}.toggle-switch>span{background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .16s;position:absolute;top:3px;left:3px;box-shadow:0 2px 6px #14201833}.toggle-switch.enabled{border-color:var(--primary);background:var(--primary)}.toggle-switch.enabled>span{transform:translate(18px)}.toggle-switch:disabled{cursor:not-allowed;opacity:.5}.location-row:nth-child(4n+1){border-left:3px solid var(--primary)}.location-row:nth-child(4n+2){border-left:3px solid var(--accent-blue)}.location-row:nth-child(4n+3){border-left:3px solid var(--accent-violet)}.location-row:nth-child(4n+4){border-left:3px solid var(--accent-gold)}.location-status.visible{background:var(--accent-teal-soft);color:var(--accent-teal-dark)!important}.location-modal{border-top:1px solid var(--border)}.workout-start-layout{grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);gap:24px;max-width:1180px;margin:0 auto;display:grid}.start-workout-card,.recent-workouts-card,.active-workout-summary,.workout-loading-card,.workout-empty-state{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:24px}.start-workout-card,.recent-workouts-card{padding:26px}.start-workout-card h2{margin-bottom:8px;font-size:26px}.start-card-description{color:var(--muted);margin-bottom:24px;font-size:13px;line-height:1.6}.start-workout-button{width:100%;margin-top:5px}.recent-workout-list{gap:9px;display:grid}.recent-workout-row{border:1px solid var(--border);border-radius:14px;justify-content:space-between;align-items:center;gap:15px;min-height:66px;padding:13px 14px;display:flex}.recent-workout-row strong,.recent-workout-row span{display:block}.recent-workout-row strong{margin-bottom:5px;font-size:14px}.recent-workout-row span,.recent-workout-row small{color:var(--muted);font-size:11px}.recent-workout-row small{text-align:right}.recent-empty{color:var(--muted);text-align:center;padding:50px 15px;font-size:13px}.active-workout-layout{max-width:1040px;margin:0 auto}.active-workout-summary{justify-content:space-between;align-items:center;gap:24px;margin-bottom:18px;padding:22px 24px;display:flex}.active-workout-summary h2{margin-bottom:5px;font-size:26px}.active-workout-summary p:last-child{color:var(--muted);margin-bottom:0;font-size:12px}.workout-summary-stats{gap:10px;display:flex}.workout-summary-stats span{background:var(--surface-muted);min-width:112px;color:var(--muted);text-align:center;border-radius:14px;gap:4px;padding:12px 14px;font-size:10px;font-weight:700;display:grid}.workout-summary-stats strong{color:var(--text);font-size:21px}.active-workout-exercises{gap:14px;display:grid}.workout-empty-state{text-align:center;align-content:center;place-items:center;min-height:330px;padding:35px;display:grid}.workout-empty-state h2{margin:17px 0 8px}.workout-empty-state p{max-width:430px;color:var(--muted);margin-bottom:20px;font-size:13px;line-height:1.55}.add-workout-exercise-button{background:var(--primary-soft);width:100%;min-height:52px;color:var(--primary-dark);border:1px dashed #8fbca3;border-radius:15px;margin-top:14px;font-size:13px;font-weight:800}.workout-loading-card{text-align:center;align-content:center;place-items:center;max-width:720px;min-height:300px;margin:80px auto;padding:30px;display:grid}.workout-loading-card h2{margin:16px 0 7px}.workout-loading-card p{color:var(--muted);margin-bottom:0;font-size:12px}.mobile-workout-actions{display:none}@media (width<=980px){.workout-start-layout{grid-template-columns:1fr}}@media (width<=760px){.workout-page-header .page-actions{display:none}.active-workout-summary{flex-direction:column;align-items:flex-start}.workout-summary-stats{width:100%}.workout-summary-stats span{flex:1;min-width:0}.start-workout-card,.recent-workouts-card,.active-workout-summary{border-radius:20px;padding:18px}.recent-workout-row{flex-direction:column;align-items:flex-start}.recent-workout-row small{text-align:left}.mobile-workout-actions{z-index:30;background:linear-gradient(#f4f6f800,#f4f6f8fa 32%);grid-template-columns:.7fr 1.3fr;gap:8px;margin:16px -4px 0;padding:10px 4px;display:grid;position:sticky;bottom:78px}}.location-field{gap:9px;margin-bottom:17px;display:grid}.location-field-heading,.workout-name-heading{justify-content:space-between;align-items:center;gap:12px;font-size:13px;font-weight:700;display:flex}.location-field-heading button,.workout-name-heading button{color:var(--primary);background:0 0;border:0;padding:0;font-size:11px;font-weight:800}.location-options{scrollbar-width:none;gap:8px;padding:1px 1px 5px;display:flex;overflow-x:auto}.location-options::-webkit-scrollbar{display:none}.location-option{border:1px solid var(--border);background:var(--surface);min-height:40px;color:var(--muted);border-radius:999px;flex:none;align-items:center;gap:6px;padding:0 15px;font-size:12px;font-weight:750;display:inline-flex}.location-option span{color:#d89b1d;font-size:11px}.location-option.active{border-color:var(--primary);background:var(--primary);color:#fff}.location-option.active span{color:#fff}.empty-location-button{background:var(--primary-soft);min-height:44px;color:var(--primary-dark);border:1px dashed #8fbca3;border-radius:13px;font-size:12px;font-weight:800}.workout-timezone-hint{color:var(--muted);margin-top:-2px;font-size:10px;line-height:1.4;display:block}.recent-workout-copy{flex:1;min-width:0}.recent-workout-copy small{text-align:left;margin-top:5px;display:block}.recent-workout-actions{flex:none;gap:7px;display:flex}.recent-edit-button,.recent-delete-button{border-radius:10px;min-height:34px;padding:0 11px;font-size:11px;font-weight:750}.recent-edit-button{border:1px solid var(--border);background:var(--surface);color:var(--text)}.recent-delete-button{color:var(--danger);background:#fff7f7;border:1px solid #efcaca}@media (width<=760px){.recent-workout-actions{width:100%}.recent-workout-actions button{flex:1}}button.recent-workout-copy{min-width:0;color:inherit;font:inherit;text-align:left;background:0 0;border:0;border-radius:10px;flex:1;padding:3px 5px;display:block}button.recent-workout-copy:hover{background:var(--surface-muted)}button.recent-workout-copy:focus-visible{outline:3px solid var(--primary-soft);outline-offset:2px}.recent-workout-copy em{color:var(--primary);margin-top:7px;font-size:10px;font-style:normal;font-weight:800;display:inline-block}@media (width<=760px){button.recent-workout-copy{width:100%}}.start-workout-card{border-top:3px solid var(--primary)}.recent-workouts-card{border-top:3px solid var(--accent-blue)}.active-workout-summary{border-top:3px solid var(--accent-teal);background:radial-gradient(circle at 92% 15%, #edf1ffb3, transparent 34%), var(--surface)}.workout-summary-stats span:first-child{background:var(--accent-blue-soft);color:var(--accent-blue-dark)}.workout-summary-stats span:nth-child(2){background:var(--accent-violet-soft);color:var(--accent-violet-dark)}.location-option:nth-child(4n+1):not(.active){background:var(--primary-soft);color:var(--primary-dark)}.location-option:nth-child(4n+2):not(.active){background:var(--accent-blue-soft);color:var(--accent-blue-dark)}.location-option:nth-child(4n+3):not(.active){background:var(--accent-violet-soft);color:var(--accent-violet-dark)}.location-option:nth-child(4n+4):not(.active){background:var(--accent-gold-soft);color:var(--accent-gold-dark)}.location-option.active{background:linear-gradient(135deg, var(--primary), var(--accent-teal))}.recent-workout-row:hover{background:linear-gradient(90deg, var(--surface), var(--accent-blue-soft));border-color:#cad5f0}.recent-workout-copy em{color:var(--accent-blue)}.add-workout-exercise-button{background:linear-gradient(135deg, var(--accent-violet-soft), var(--accent-blue-soft));color:var(--accent-violet-dark);border-color:#bca9de}.start-workout-card,.recent-workouts-card,.active-workout-summary{border-top:1px solid var(--border)}
