html,body{height:100%}body{margin:0;font-family:system-ui,Arial,sans-serif;background:#f6f7fb}#root{min-height:100%}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{font-family:Arial,Helvetica,sans-serif;background:#f4f6f3;color:#111827;direction:rtl}.app-shell{min-height:100vh;display:flex;flex-direction:column}.site-main{flex:1}.container{width:min(1280px,calc(100% - 32px));margin:0 auto}.site-header{position:sticky;top:0;z-index:100;background:#ffffffeb;border-bottom:0;box-shadow:0 1px #1118270e}.site-footer{border-top:1px solid #e5e7eb;background:#fff;padding:24px 0}.panel{background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:24px;box-shadow:0 16px 40px #1118270f}@media(max-width:700px){html,body,#root{overflow-x:hidden}.container{width:min(100%,calc(100% - 24px))}.panel{border-radius:18px;padding:16px}.site-main{padding-bottom:calc(68px + env(safe-area-inset-bottom))}}.navbar{width:100%}.navbar__inner{position:relative;min-height:72px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}.navbar__brand{justify-self:start;color:#111827;font-size:1.2rem;font-weight:900;letter-spacing:-.02em;text-decoration:none}.navbar__primary-nav{display:flex;align-items:center;gap:6px;border:0;border-radius:16px;background:#f2f5f1;padding:4px}.navbar__tab{min-height:40px;display:inline-flex;align-items:center;gap:7px;border-radius:10px;padding:0 14px;color:#6b7280;font-size:.91rem;font-weight:700;text-decoration:none}.navbar__tab svg{width:17px;height:17px}.navbar__tab:hover{color:#111827}.navbar__tab--active{background:#fff;color:#15803d;box-shadow:0 5px 14px #1f2d2417}.navbar__account{position:relative;justify-self:end}.navbar__account-button{min-height:40px;display:inline-flex;align-items:center;gap:7px;border:0;border-radius:12px;background:#fff;padding:0 12px;color:#4b5563;cursor:pointer;font:inherit;font-size:.9rem;font-weight:700;box-shadow:0 4px 14px #1f2d2412}.navbar__account-menu{position:absolute;top:calc(100% + 9px);left:0;z-index:120;width:180px;display:grid;gap:4px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;padding:7px;box-shadow:0 18px 45px #11182724}.navbar__account-menu button{min-height:40px;display:flex;align-items:center;gap:9px;border:0;border-radius:9px;background:transparent;padding:0 10px;color:#374151;cursor:pointer;font:inherit;text-align:right}.navbar__account-menu button:hover{background:#f3f4f6}.navbar__account-menu .navbar__account-danger{color:#b91c1c}.navbar__public-nav{grid-column:3;justify-self:end;display:flex;align-items:center;gap:12px}.navbar__public-nav a{color:#4b5563;font-weight:700;text-decoration:none}.navbar__public-nav .navbar__register-link{border-radius:10px;background:#15803d;padding:10px 15px;color:#fff}.account-delete-backdrop{position:fixed;inset:0;z-index:500;display:flex;align-items:center;justify-content:center;padding:18px;background:#11182785}.account-delete-modal{width:min(100%,420px);direction:rtl;border:1px solid #e5e7eb;border-radius:18px;background:#fff;color:#111827;padding:22px;box-shadow:0 24px 60px #1118273d}.account-delete-modal h2{margin:0 0 8px;font-size:1.25rem}.account-delete-modal p{margin:0;color:#4b5563;line-height:1.6}.account-delete-error{margin-top:10px!important;color:#b91c1c!important;font-weight:700}.account-delete-actions{display:flex;gap:10px;margin-top:18px}.account-delete-actions button{flex:1;min-height:44px;border:0;border-radius:12px;cursor:pointer;font:inherit;font-weight:800}.account-delete-actions button:disabled{cursor:not-allowed;opacity:.7}.account-delete-cancel{background:#f3f4f6;color:#111827}.account-delete-confirm{background:#b91c1c;color:#fff}@media(max-width:700px){.navbar__inner{min-height:62px;grid-template-columns:1fr auto}.navbar__brand{font-size:1.08rem}.navbar__account-button span{display:none}.navbar__account-button{width:40px;justify-content:center;padding:0}.navbar__primary-nav{position:fixed;right:0;bottom:0;left:0;z-index:300;min-height:calc(68px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(3,1fr);gap:0;border:0;border-top:0;border-radius:0;background:#fffffff7;padding:6px 12px env(safe-area-inset-bottom);box-shadow:0 -10px 30px #1f2d2417;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.navbar__tab{min-height:56px;flex-direction:column;justify-content:center;gap:3px;padding:0;font-size:.76rem}.navbar__tab svg{width:21px;height:21px}.navbar__tab--active{background:transparent;box-shadow:none}.navbar__account-menu{left:0}.navbar__public-nav{grid-column:2;gap:10px;font-size:.88rem}.account-delete-actions{flex-direction:column}}.layout{display:grid;grid-template-columns:1.7fr 1fr;gap:24px;align-items:start;direction:ltr}.layout>*{direction:rtl}.personal-list{flex:0 0 400px}.personal-list img{width:100%;height:100px;object-fit:cover;border-radius:8px}.exercise-list{flex:1;display:flex;flex-direction:column;gap:14px}.panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.panel-header h3{margin:0;font-size:1.08rem;line-height:1.2}.panel-header p{margin:2px 0 0;color:#6b7280;font-size:.84rem}.day-control{margin-bottom:16px;display:flex;flex-direction:column;gap:6px}.day-pills{display:flex;flex-wrap:wrap;gap:12px}.exercise-filters{display:flex;flex-wrap:wrap;gap:8px}.desktop-picker-header h3{margin:0 0 4px;font-size:1.2rem}.desktop-picker-header p{margin:0;color:#6b7280}.exercise-search-label{display:block;margin-bottom:6px;color:#374151;font-size:.9rem;font-weight:700}.exercise-search-input{width:100%;min-height:44px;border:1px solid #d1d5db;border-radius:12px;background:#fff;color:#111827;padding:0 12px;font:inherit}.exercise-search-input:focus{border-color:#111827;outline:none;box-shadow:0 0 0 3px #1118271a}.exercise-row-list{display:flex;flex-direction:column;gap:10px}.empty-state{margin:0;color:#6b7280}.exercise-feedback{margin:0;padding:10px 12px;border-radius:12px;background:#dcfce7;color:#166534;font-weight:700}.exercise-filter-chip{min-height:32px;border:1px solid #d1d5db;background:#fff;color:#374151;padding:6px 12px;border-radius:999px;cursor:pointer;font-size:.9rem;line-height:1;transition:.2s ease}.exercise-filter-chip:hover{border-color:#7c3aed;color:#7c3aed}.exercise-filter-chip-active{background:#111827;color:#fff;border-color:#111827}.exercise-filter-select-wrap{display:none}.exercise-filter-label{display:block;margin-bottom:6px;color:#374151;font-size:.9rem;font-weight:600}.exercise-filter-select{width:100%;min-height:40px;border:1px solid #d1d5db;border-radius:12px;background:#fff;color:#111827;padding:0 12px;font:inherit}.day-pill{border:1px solid #d1d5db;background:#fff;color:#374151;padding:10px 16px;border-radius:999px;cursor:pointer;transition:.2s ease}.day-pill:hover{border-color:#7c3aed;color:#7c3aed}.day-pill-active{background:#111827;color:#fff;border-color:#111827}.day-meta{display:flex;gap:6px;margin-bottom:9px}.day-meta span{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;background:#f3f4f6;color:#6b7280;padding:0 9px;font-size:.8rem;font-weight:700}.confirm-box{margin-bottom:16px;padding:16px;border:1px solid #e5e7eb;border-radius:16px;background:#f9fafb}.confirm-box p{margin:0 0 12px}.confirm-box__actions{display:flex;gap:12px}.page-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:22px 0 12px}.page-hero h1{margin:0;font-size:clamp(1.55rem,2.6vw,2.05rem);line-height:1.1}.page-hero p:last-child{margin:0;color:#6b7280;font-weight:700;white-space:nowrap}.page-hero-actions{display:flex;align-items:center;gap:12px}.page-hero-actions p{margin:0;color:#6b7280;font-weight:700;white-space:nowrap}.progress-entry-button{flex:0 0 auto;min-height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:#111827;color:#fff;padding:0 13px;text-decoration:none;font-size:.9rem;font-weight:800}.page-description{margin:16px 0 0;max-width:700px;color:#6b7280;font-size:1.05rem;line-height:1.7}.eyebrow{margin:0 0 4px;color:#7c3aed;font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:.68rem}.day-selector-panel{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:11px;margin-bottom:12px;box-shadow:0 16px 40px #1118270f}.day-selector-header h2{margin:0;font-size:1rem}.day-selector-header span{color:#6b7280;font-size:.82rem}.day-selector-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.btn{border:none;border-radius:12px;padding:12px 16px;cursor:pointer;transition:.2s ease}.btn-danger{background:#fee2e2;color:#b91c1c}.btn-danger:hover{background:#fecaca}.btn-danger:active{transform:scale(.96)}.btn-secondary{background:#f3f4f6;color:#111827}.btn-secondary:hover{background:#e5e7eb}.btn-secondary:active{transform:scale(.96)}.btn-primary{background:#111827;color:#fff}.add-exercise-mobile,.exercise-sheet-backdrop,.exercise-sheet{display:none}.save-btn-wrapper{margin-top:8px}.start-workout-button{width:100%;min-height:46px;margin-bottom:10px}.tracking-entry-copy{margin:2px 0 8px}.tracking-entry-copy span{display:block;color:#111827;font-size:.88rem;font-weight:800}.tracking-entry-copy p{margin:2px 0 0;color:#6b7280;font-size:.84rem;line-height:1.45}.planned-workout-label{margin:2px 0 6px;color:#6b7280;font-size:.82rem;font-weight:800}.active-workout-layout{max-width:760px;margin:0 auto}.selected-list{display:flex;flex-direction:column;gap:6px}.btn-disable{background-color:#9ca3af;color:#f9fafb;cursor:not-allowed;opacity:.75;transform:none}.btn-disable:hover{transform:none}.btn:disabled{cursor:not-allowed}@media(max-width:700px){.layout{grid-template-columns:1fr;gap:10px}.personal-list{order:1;min-width:0}.exercise-list{display:none;order:2;grid-template-columns:1fr;gap:16px;min-width:0}.personal-list img{height:auto;max-height:220px}.page-hero{align-items:flex-start;flex-direction:column;gap:4px;padding:8px 0 6px}.eyebrow{display:none}.page-hero h1{font-size:1.42rem;line-height:1.15}.page-hero p:last-child{white-space:normal}.page-hero-actions{width:100%;align-items:flex-start;flex-direction:column;gap:8px}.page-hero-actions p{white-space:normal}.day-selector-panel{padding:9px;border-radius:12px;margin-bottom:8px}.day-selector-header{align-items:flex-start;flex-direction:column;gap:3px}.day-selector-header span{display:none}.day-pills{flex-wrap:nowrap;gap:6px;margin-inline:-9px;padding:0 9px 2px;overflow-x:auto}.day-pill{flex:0 0 auto;min-height:32px;padding:6px 10px;font-size:.82rem}.panel-header{align-items:center;flex-direction:row;justify-content:flex-end;gap:8px;margin-bottom:4px}.panel-header>div,.day-meta{display:none}.save-btn-wrapper .btn{width:100%}.panel-header .btn{flex:0 0 auto;min-height:34px;padding:7px 10px;font-size:.84rem}.confirm-box{padding:14px;border-radius:14px}.confirm-box__actions{flex-direction:column;gap:8px}.confirm-box__actions .btn{width:100%}.exercise-filter-select-wrap{grid-column:1 / -1;display:block}.exercise-filter-select{min-height:44px}.add-exercise-mobile{position:sticky;bottom:12px;z-index:20;display:block;width:100%;min-height:46px;margin-top:12px;border:1px solid #d1d5db;box-shadow:0 10px 24px #1118271f}.tracking-entry-copy{margin:0 0 6px}.tracking-entry-copy span{font-size:.82rem}.tracking-entry-copy p{margin-top:1px;font-size:.78rem;line-height:1.3}.start-workout-button{min-height:46px;margin-bottom:7px}.planned-workout-label{margin-top:0}.exercise-sheet-backdrop{position:fixed;inset:0;z-index:200;display:block;background:#11182773}.exercise-sheet{position:fixed;inset:12px 0 0;display:flex;flex-direction:column;gap:14px;width:100%;height:calc(100dvh - 12px);padding:18px 16px calc(18px + env(safe-area-inset-bottom));overflow:hidden;background:#fff;color:#111827;border-radius:18px 18px 0 0}.exercise-sheet-header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px;background:#fff;flex:0 0 auto}.exercise-sheet-header h2{margin:0;font-size:1.2rem;line-height:1.25}.exercise-sheet-close{min-height:40px;border:1px solid #d1d5db;border-radius:12px;background:#fff;color:#111827;padding:0 12px;cursor:pointer}.exercise-sheet .exercise-search-label,.exercise-sheet .exercise-search-input,.exercise-sheet .exercise-feedback{flex:0 0 auto}.exercise-sheet .exercise-filters{display:flex;flex-wrap:nowrap;gap:8px;margin-inline:-16px;padding:0 16px 8px;overflow-x:auto;overflow-y:hidden;direction:rtl;flex:0 0 auto;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.exercise-sheet .exercise-filter-chip{flex:0 0 auto;min-height:38px;white-space:nowrap}.exercise-sheet .exercise-row-list{flex:1 1 auto;min-height:0;overflow-y:auto;padding-bottom:8px;-webkit-overflow-scrolling:touch}}.exercise-card{border:1px solid #e5e7eb;border-radius:20px;overflow:hidden;transition:.2s ease;background:#fbfcfe}.exercise-image-wrap{height:180px;overflow:hidden}.exercise-image{width:100%;height:100%;display:block;object-fit:cover}.exercise-card-body h3{margin:0;font-size:1.15rem}.exercise-card-body p{margin:0;color:#6b7280;line-height:1.6}.exercise-card .btn{width:fit-content}.exercise-image-wrap img{width:100%;display:block}.exercise-card-body{padding:16px;display:flex;flex-direction:column;gap:12px}.exercise-card:hover{transform:translateY(-2px);box-shadow:0 16px 24px #11182714}.exercise-row{width:100%;min-height:72px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;color:#111827;text-align:right;transition:.2s ease}.exercise-row:hover{border-color:#111827;box-shadow:0 8px 18px #11182714}.exercise-row:active{transform:scale(.98)}.exercise-row-preview{min-width:0;display:grid;grid-template-columns:56px minmax(0,1fr);gap:12px;align-items:center;border:0;background:transparent;color:inherit;padding:0;text-align:right;cursor:pointer;font:inherit}.exercise-row-image{width:56px;height:56px;display:block;border-radius:12px;object-fit:cover}.exercise-row-content{min-width:0;display:flex;flex-direction:column;gap:4px}.exercise-row-title{font-size:1rem;font-weight:700;line-height:1.25}.exercise-row-meta{color:#6b7280;font-size:.88rem;line-height:1.35}.exercise-row-add{min-height:36px;border:1px solid #111827;border-radius:999px;background:#111827;color:#fff;padding:0 12px;cursor:pointer;font:inherit;font-size:.86rem;font-weight:800;white-space:nowrap}.exercise-row-add:active{transform:scale(.96)}@media(max-width:700px){.exercise-card{width:100%;border-radius:16px}.exercise-image-wrap{height:auto;aspect-ratio:16 / 10}.exercise-card-body{padding:14px}.exercise-card-body h3{font-size:1.05rem}.exercise-card .btn{width:100%;min-height:44px}}.exercise-media-frame{position:relative;width:100%;height:100%;background:#0f172a}.exercise-media-asset{width:100%;height:100%;display:block;object-fit:cover;background:#f3f4f6}.exercise-media-video{position:relative;z-index:1;object-fit:contain;background:#0f172a}.exercise-media-poster{position:absolute;inset:0;object-fit:cover}.exercise-media-video-loading{opacity:0}.exercise-media-loading{position:absolute;z-index:2;right:12px;bottom:12px;display:inline-flex;align-items:center;gap:8px;min-height:30px;border-radius:999px;background:#0f172ad1;color:#fff;padding:0 12px;font-size:.78rem;font-weight:800}.exercise-media-loading span{width:10px;height:10px;border:2px solid rgba(255,255,255,.42);border-top-color:#fff;border-radius:999px;animation:exercise-media-spin .8s linear infinite}@keyframes exercise-media-spin{to{transform:rotate(360deg)}}.exercise-preview-backdrop{position:fixed;inset:0;z-index:260;display:flex;align-items:flex-end;justify-content:center;background:#11182780}.exercise-preview-sheet{width:min(100%,620px);max-height:min(88dvh,760px);display:flex;flex-direction:column;gap:14px;padding:10px 16px calc(18px + env(safe-area-inset-bottom));overflow-y:auto;border-radius:20px 20px 0 0;background:#fff;color:#111827;direction:rtl;box-shadow:0 -18px 48px #11182738}.exercise-preview-handle{width:42px;height:4px;margin:0 auto 2px;border-radius:999px;background:#d1d5db}.exercise-preview-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.exercise-preview-header p{margin:0 0 3px;color:#6b7280;font-size:.78rem;font-weight:800}.exercise-preview-header h2{margin:0;font-size:1.35rem;line-height:1.2}.exercise-preview-header button{flex:0 0 auto;min-height:38px;border:1px solid #d1d5db;border-radius:12px;background:#fff;color:#111827;padding:0 12px;cursor:pointer;font:inherit}.exercise-preview-media{overflow:hidden;border-radius:14px;background:#f3f4f6;aspect-ratio:16 / 10}.exercise-preview-body{display:flex;flex-direction:column;gap:12px}.exercise-preview-chip{width:fit-content;display:inline-flex;align-items:center;min-height:28px;border-radius:999px;background:#f3f4f6;color:#374151;padding:0 10px;font-size:.82rem;font-weight:800}.exercise-preview-body h3{margin:0 0 6px;font-size:1rem}.exercise-preview-body p{margin:0;color:#374151;font-size:.96rem;line-height:1.7}@media(min-width:701px){.exercise-preview-backdrop{align-items:center;padding:24px}.exercise-preview-sheet{border-radius:18px}}.active-workout{width:100%;display:flex;flex-direction:column;gap:12px;direction:rtl}.active-workout-top,.active-workout-summary{border:1px solid #e5e7eb;border-radius:16px;background:#fff;padding:14px}.active-workout-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.active-workout-kicker{margin:0 0 4px;color:#6b7280;font-size:.78rem;font-weight:800}.active-workout h2,.active-workout h3{margin:0;color:#111827}.active-workout-top span{display:block;margin-top:4px;color:#6b7280;font-weight:700}.active-workout-close{min-height:38px;border:1px solid #d1d5db;border-radius:12px;background:#fff;color:#111827;padding:0 12px;cursor:pointer;font:inherit}.active-workout-list{display:flex;flex-direction:column;gap:10px}.active-exercise{border:1px solid #e5e7eb;border-radius:14px;background:#fff;padding:12px}.active-exercise-header{margin-bottom:10px}.active-exercise-header h3{font-size:1.02rem;line-height:1.2}.active-exercise-header p{margin:4px 0 0;color:#6b7280;font-size:.86rem;font-weight:700}.active-set-list{display:flex;flex-direction:column;gap:8px}.active-set-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.active-set-action{min-height:34px;border:1px solid #d1d5db;border-radius:999px;background:#fff;color:#374151;padding:0 12px;cursor:pointer;font:inherit;font-size:.82rem;font-weight:800}.active-set-action:hover{border-color:#111827;color:#111827}.active-set-action:disabled{color:#9ca3af;cursor:not-allowed;background:#f9fafb}.active-set-row{display:grid;grid-template-columns:54px minmax(0,1fr) minmax(0,.8fr);gap:8px;align-items:end;padding:8px;border-radius:12px;background:#f9fafb}.active-set-number{align-self:center;color:#374151;font-size:.84rem;font-weight:900}.active-set-row label{min-width:0;display:flex;flex-direction:column;gap:4px}.active-set-row label span{color:#6b7280;font-size:.72rem;font-weight:800}.active-set-row input{width:100%;min-width:0;min-height:42px;border:1px solid #d1d5db;border-radius:10px;background:#fff;color:#111827;padding:0 10px;font:inherit;font-size:1rem;font-weight:800}.active-set-row input:focus{border-color:#111827;outline:none;box-shadow:0 0 0 3px #11182714}.active-input-wrap{position:relative}.active-input-wrap input{padding-left:36px}.active-input-wrap em{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:#6b7280;font-size:.78rem;font-style:normal;font-weight:800}.active-workout-actions{position:sticky;bottom:10px;z-index:15;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:8px;border:1px solid #e5e7eb;border-radius:14px;background:#fffffff5;padding:8px;box-shadow:0 12px 28px #11182714}.active-save-status{grid-column:1 / -1;margin:0;color:#6b7280;font-size:.78rem;font-weight:800;line-height:1.2;text-align:right}.active-save-status-saving{color:#4b5563}.active-save-status-error{color:#b91c1c}.active-workout-actions .btn,.active-workout-summary .btn{width:100%;min-height:48px}.active-workout-summary{text-align:right}.active-workout-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0}.active-workout-summary-grid span{display:flex;flex-direction:column;gap:2px;border-radius:12px;background:#f3f4f6;color:#6b7280;padding:12px;font-size:.82rem;font-weight:800}.active-workout-summary-grid strong{color:#111827;font-size:1.35rem}@media(max-width:420px){.active-workout{gap:9px}.active-workout-top,.active-exercise{padding:10px;border-radius:12px}.active-exercise-header{margin-bottom:8px}.active-set-list{gap:6px}.active-set-actions{gap:6px;margin-top:7px}.active-set-action{min-height:32px;padding:0 10px;font-size:.78rem}.active-set-row{grid-template-columns:1fr 1fr;gap:6px;padding:7px}.active-set-number{grid-column:1 / -1}.active-workout-actions{grid-template-columns:1fr}}.workout-item{position:relative;z-index:1;display:flex;flex-direction:column;gap:7px;padding:9px 10px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.workout-item-menu-open{z-index:120}.workout-item-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.workout-item-title-wrap{min-width:0;display:flex;align-items:flex-start;gap:8px}.workout-item-index{flex:0 0 auto;min-width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#f3f4f6;color:#374151;font-size:.78rem;font-weight:800}.workout-item-text{min-width:0}.workout-item-title-button{margin:0;border:0;background:transparent;color:#111827;padding:0;text-align:right;cursor:pointer;font:inherit;font-size:.98rem;font-weight:800;line-height:1.15}.workout-item-title-button:hover{text-decoration:underline;text-underline-offset:3px}.workout-item-text p{margin:2px 0 0;color:#6b7280;font-size:.78rem;line-height:1.15}.workout-item-menu-wrap{position:relative;z-index:121;flex:0 0 auto}.workout-item-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}.workout-preview-button{min-height:30px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;color:#374151;padding:0 10px;cursor:pointer;font:inherit;font-size:.78rem;font-weight:800;display:inline-flex;align-items:center;gap:5px}.workout-preview-button:hover{border-color:#111827;color:#111827}.workout-preview-icon{width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#111827;color:#fff;font-size:.54rem;line-height:1}.workout-item-menu-button{width:30px;height:30px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;color:#111827;cursor:pointer;font-size:1.12rem;line-height:1}.workout-item-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:122;min-width:142px;overflow:hidden;border:1px solid #e5e7eb;border-radius:12px;background:#fff;box-shadow:0 12px 30px #1118271f}.workout-item-menu button{width:100%;min-height:40px;border:0;background:#fff;color:#111827;padding:0 12px;text-align:right;cursor:pointer;font:inherit}.workout-item-menu button:hover{background:#f9fafb}.workout-item-menu button:disabled{color:#9ca3af;cursor:not-allowed}.workout-item-menu .workout-item-menu-danger{color:#b91c1c}.workout-item-plan-row{display:none}.workout-last-performance{margin:-1px 0 0;color:#6b7280;font-size:.78rem;font-weight:700;line-height:1.25}.workout-item-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.workout-stepper{min-width:0;display:flex;align-items:center;gap:6px}.workout-stepper>span{flex:0 0 auto;color:#4b5563;font-size:.76rem;font-weight:700}.workout-stepper-control{display:grid;grid-template-columns:28px minmax(32px,1fr) 28px;min-height:30px;flex:1 1 auto;overflow:hidden;border:1px solid #d1d5db;border-radius:9px;background:#fff;direction:ltr}.workout-stepper-control button{border:0;background:#f9fafb;color:#111827;cursor:pointer;font:inherit;font-size:.92rem;font-weight:800}.workout-stepper-control button:disabled{color:#c7cbd1;cursor:not-allowed}.workout-stepper-control input{min-width:0;width:100%;border:0;border-inline:1px solid #e5e7eb;background:#fff;color:#111827;text-align:center;font:inherit;font-size:.92rem;font-weight:800;appearance:textfield}.workout-stepper-control input:focus{outline:none;background:#f9fafb}.workout-stepper-control input::-webkit-outer-spin-button,.workout-stepper-control input::-webkit-inner-spin-button{margin:0;appearance:none}@media(max-width:700px){.workout-item{gap:4px;padding:8px;border-radius:11px}.workout-item-header{gap:8px}.workout-item-title-wrap{gap:7px}.workout-item-index{min-width:22px;height:22px;font-size:.72rem}.workout-item-title-button{font-size:.94rem}.workout-item-text p{margin-top:1px;font-size:.74rem}.workout-preview-button{min-height:27px;padding:0 7px;font-size:.74rem;gap:4px}.workout-preview-icon{width:14px;height:14px;font-size:.48rem}.workout-item-menu-button{width:28px;height:28px}.workout-item-plan-row{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#374151;font-size:.82rem;font-weight:800}.workout-last-performance{overflow:hidden;color:#6b7280;font-size:.74rem;white-space:nowrap;text-overflow:ellipsis}.workout-item-plan-row button{min-height:27px;border:1px solid #e5e7eb;border-radius:999px;background:#f9fafb;color:#374151;padding:0 8px;cursor:pointer;font:inherit;font-size:.76rem;font-weight:800}.workout-item-controls{display:none;gap:5px;padding-top:5px;border-top:1px solid #f3f4f6}.workout-item-controls-open{display:grid}.workout-stepper-control{grid-template-columns:25px minmax(28px,1fr) 25px;min-height:28px}.workout-stepper>span{font-size:.72rem}.workout-stepper-control button,.workout-stepper-control input{font-size:.84rem}}.progress-page{direction:rtl;display:flex;flex-direction:column;gap:14px;padding-bottom:28px}.progress-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0 4px}.progress-header p{margin:0 0 4px;color:#7c3aed;font-size:.72rem;font-weight:800}.progress-header h1{margin:0;color:#111827;font-size:1.7rem;line-height:1.1}.progress-header-action{flex:0 0 auto;min-height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:#111827;color:#fff;padding:0 14px;text-decoration:none;font-weight:800}.progress-state,.progress-empty{margin:0;border:1px solid #e5e7eb;border-radius:14px;background:#fff;color:#6b7280;padding:16px;line-height:1.6}.progress-state-error{border-color:#fecaca;background:#fef2f2;color:#b91c1c;font-weight:800}.progress-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.progress-stat-card,.progress-last-card,.progress-highlight,.progress-list-card{border:1px solid #e5e7eb;border-radius:14px;background:#fff;color:#111827;box-shadow:0 14px 32px #1118270f}.progress-stat-card{overflow:hidden;padding:14px}.progress-stat-card span{display:block;color:#6b7280;font-size:.82rem;font-weight:800}.progress-stat-card strong{display:block;margin-top:6px;font-size:1.55rem;line-height:1}.progress-stat-card i{height:5px;display:block;margin-top:12px;border-radius:999px;background:#111827}.progress-last-card{display:grid;gap:14px;padding:16px}.progress-last-card span,.progress-highlight span{display:block;color:#6b7280;font-size:.82rem;font-weight:800}.progress-last-card h2{margin:4px 0;font-size:1.2rem;line-height:1.2}.progress-last-card time,.progress-list-item time{color:#6b7280;font-size:.82rem}.progress-last-card dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}.progress-last-card dl div{border-radius:12px;background:#f3f4f6;padding:10px}.progress-last-card dt{margin:0 0 4px;color:#6b7280;font-size:.78rem;font-weight:800}.progress-last-card dd{margin:0;font-size:1.05rem;font-weight:900}.progress-highlight{padding:16px;background:#111827;color:#fff}.progress-highlight span,.progress-highlight p{color:#ffffffc7}.progress-highlight strong{display:block;margin-top:6px;font-size:1.15rem}.progress-highlight p{margin:6px 0 0}.progress-lists{display:grid;gap:12px}.progress-list-card{padding:16px}.progress-list-card h2{margin:0 0 12px;font-size:1.1rem}.progress-list-card ul{display:flex;flex-direction:column;gap:9px;margin:0;padding:0;list-style:none}.progress-list-card>p{margin:0;color:#6b7280;line-height:1.6}.progress-list-item{display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:12px;background:#f9fafb;padding:11px}.progress-list-item div{min-width:0}.progress-list-item strong,.progress-list-item span{display:block}.progress-list-item strong{line-height:1.25}.progress-list-item span{margin-top:3px;color:#6b7280;font-size:.84rem}.progress-list-item em{flex:0 0 auto;border-radius:999px;background:#dcfce7;color:#166534;padding:5px 9px;font-size:.78rem;font-style:normal;font-weight:900}@media(min-width:760px){.progress-page{gap:18px}.progress-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.progress-last-card{grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);align-items:center}.progress-lists{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.progress-header{align-items:flex-start;flex-direction:column}.progress-header-action{width:100%}.progress-stat-grid,.progress-last-card dl{grid-template-columns:1fr}}.progress-page{width:min(920px,calc(100% - 32px));gap:34px;padding-top:42px;padding-bottom:96px}.progress-header{align-items:center;gap:28px;border-radius:30px;background:radial-gradient(circle at 10% 10%,rgba(255,255,255,.72),transparent 36%),linear-gradient(135deg,#e8f8ed,#f9fbf7 72%);padding:38px 40px;box-shadow:0 24px 60px #1f452d17}.progress-header p{margin-bottom:12px;color:#167342;font-size:.9rem}.progress-header h1{font-size:clamp(2.35rem,6vw,3.55rem);line-height:1.04;letter-spacing:-.04em}.progress-header span{display:block;margin-top:14px;color:#526059;line-height:1.6}.progress-header-action{min-height:48px;border:1px solid rgba(23,107,58,.18);border-radius:15px;background:#ffffffb8;color:#176b3a;padding:0 18px}.progress-stat-grid{gap:12px}.progress-stat-card,.progress-last-card,.progress-highlight,.progress-list-card{border:0;border-radius:22px;box-shadow:0 10px 30px #1f2d240f}.progress-stat-card{padding:20px}.progress-stat-card strong{margin-top:10px;font-size:2rem}.progress-stat-card i{height:3px;margin-top:18px;background:#3e8f5e}.progress-last-card{gap:24px;padding:26px}.progress-last-card h2{margin:7px 0;font-size:1.45rem}.progress-last-card dl div{border-radius:15px;background:#f1f5f1;padding:13px}.progress-highlight{padding:26px;background:linear-gradient(135deg,#142a1d,#1f4930);box-shadow:0 18px 42px #142a1d33}.progress-highlight strong{margin-top:9px;font-size:1.35rem}.progress-lists{gap:30px}.progress-list-card{border-radius:0;background:transparent;padding:0;box-shadow:none}.progress-list-card h2{margin:0 3px 16px;font-size:1.3rem}.progress-list-card ul{gap:10px}.progress-list-item{border-radius:17px;background:#fff;padding:15px 16px;box-shadow:0 8px 24px #1f2d240d}.progress-list-card>p,.progress-empty,.progress-state{border:0;border-radius:20px;background:#fff;padding:28px;box-shadow:0 10px 30px #1f2d240d}@media(max-width:700px){.progress-page{width:min(100%,calc(100% - 24px));gap:28px;padding-top:20px;padding-bottom:52px}.progress-header{align-items:stretch;flex-direction:column;gap:24px;border-radius:26px;padding:28px 23px 24px}.progress-header-action{width:100%}.progress-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.progress-last-card dl{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:420px){.progress-stat-grid,.progress-last-card dl{grid-template-columns:1fr}}.templates-page{min-height:calc(100vh - 145px);padding:52px 0 80px;background:radial-gradient(circle at 85% 5%,rgba(74,222,128,.12),transparent 34%),#f5f7fb}.templates-page{padding:42px 0 96px;background:#f4f6f3}.templates-page__header{align-items:center;gap:32px;margin-bottom:42px;border-radius:30px;background:radial-gradient(circle at 10% 10%,rgba(255,255,255,.72),transparent 36%),linear-gradient(135deg,#e8f8ed,#f9fbf7 72%);padding:38px 40px;box-shadow:0 24px 60px #1f452d17}.templates-page__hero-copy{min-width:0}.templates-page__greeting{margin-bottom:12px;color:#167342;font-size:1.05rem}.templates-page__header h1{font-size:clamp(2.35rem,6vw,3.55rem);line-height:1.04;letter-spacing:-.04em}.templates-page__summary{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:24px;color:#526059;font-size:.92rem}.templates-page__summary strong{color:#13291c;font-size:1.08rem}.templates-page__create{min-height:52px;border-radius:16px;background:#176b3a;padding:0 22px;box-shadow:0 12px 24px #176b3a2e;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.templates-page__create:hover{transform:translateY(-1px);background:#125b31;box-shadow:0 15px 30px #176b3a3b}.templates-page__status,.templates-page__empty{border:0;border-radius:24px;padding:48px 28px;box-shadow:0 12px 34px #1f2d240e}.templates-page__workouts{margin-top:2px}.templates-page__section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin:0 4px 16px}.templates-page__section-heading h2{margin:0;font-size:1.32rem;letter-spacing:-.02em}.templates-page__section-heading span{color:#7a857f;font-size:.88rem;font-weight:700}.template-card__index{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#edf7ef;color:#176b3a;font-size:.78rem;font-weight:900}.template-card strong{font-size:1.22rem;letter-spacing:-.01em}@media(max-width:700px){.templates-page{padding:20px 0 52px}.templates-page__header{gap:28px;margin-bottom:36px;border-radius:26px;padding:28px 23px 24px}.template-card{min-height:94px;grid-template-columns:42px minmax(0,1fr) auto;padding:18px 16px}}.templates-page__container{width:min(780px,calc(100% - 32px))}.templates-page__header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.templates-page__eyebrow{margin:0 0 8px;color:#15803d!important;font-size:.82rem;font-weight:800;letter-spacing:.04em}.templates-page__greeting{margin:0 0 7px;color:#374151;font-size:1rem;font-weight:800}.templates-page__header h1{margin:0;color:#111827;font-size:clamp(2rem,5vw,3rem);line-height:1.1}.templates-page__header p:last-child{max-width:580px;margin:12px 0 0;color:#6b7280;line-height:1.6}.templates-page__create{min-height:47px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:13px;background:#15803d;padding:0 18px;color:#fff;cursor:pointer;font:inherit;font-weight:900;white-space:nowrap}.templates-page__status,.templates-page__empty{margin:0;border:1px solid #e5e7eb;border-radius:20px;background:#fff;padding:30px 24px;color:#6b7280;text-align:center}.templates-page__error,.workout-create-error{color:#b91c1c}.templates-page__success{margin:0 0 18px;border:1px solid #bbf7d0;border-radius:12px;background:#f0fdf4;padding:12px 14px;color:#166534;font-weight:800}.templates-page__empty{display:grid;justify-items:center}.templates-page__empty h2{margin:0;color:#111827}.templates-page__empty p{max-width:440px;margin:9px 0 20px;line-height:1.6}.templates-list{display:grid;gap:14px}.template-card{min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #e5e7eb;border-radius:20px;background:#fff;padding:20px 24px;color:inherit;text-decoration:none;box-shadow:0 12px 30px #1118270d;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.template-card:hover{transform:translateY(-2px);border-color:#bbf7d0;box-shadow:0 16px 36px #15803d17}.template-card>span{display:grid;gap:7px}.template-card strong{color:#111827;font-size:1.15rem}.template-card small{color:#6b7280;font-size:.92rem}.template-card>svg{color:#15803d;font-size:1.35rem}.workout-create-backdrop{position:fixed;inset:0;z-index:500;display:flex;align-items:center;justify-content:center;padding:18px;background:#11182780}.workout-create-dialog{width:min(100%,460px);border-radius:22px;background:#fff;padding:22px;box-shadow:0 24px 70px #1118273d}.workout-create-dialog header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:22px}.workout-create-dialog header p{margin:0 0 4px;color:#15803d;font-size:.8rem;font-weight:800}.workout-create-dialog h2{margin:0}.workout-create-dialog header button{width:38px;height:38px;display:grid;place-items:center;border:0;border-radius:10px;background:#f3f4f6;color:#4b5563;cursor:pointer}.workout-create-dialog label{display:grid;gap:8px;color:#374151;font-weight:800}.workout-create-dialog input{min-height:48px;border:1px solid #d1d5db;border-radius:12px;padding:0 13px;font:inherit}.workout-create-error{margin:11px 0 0;font-size:.9rem;font-weight:700}.workout-create-submit{width:100%;min-height:48px;margin-top:20px;border:0;border-radius:12px;background:#15803d;color:#fff;cursor:pointer;font:inherit;font-weight:900}.workout-create-submit:disabled{opacity:.6}@media(max-width:700px){.templates-page{padding:34px 0 56px}.templates-page__container{width:min(100%,calc(100% - 24px))}.templates-page__header{display:grid;align-items:stretch;gap:20px}.templates-page__create{width:100%}.template-card{min-height:84px;padding:18px}.workout-create-backdrop{align-items:flex-end;padding:0}.workout-create-dialog{max-width:none;border-radius:24px 24px 0 0;padding-bottom:calc(22px + env(safe-area-inset-bottom))}}.templates-page__header{align-items:center;gap:32px;margin-bottom:42px}.templates-page__greeting{margin:0 0 12px;color:#167342;font-size:1.05rem}.templates-page__header h1{font-size:clamp(2.35rem,6vw,3.55rem);line-height:1.04}.templates-page__header p:last-child{color:#526059}.templates-page__create{min-height:52px;border-radius:16px;background:#176b3a;padding:0 22px}.templates-page__status,.templates-page__empty{border:0;border-radius:24px;padding:48px 28px}.templates-list{gap:12px}.template-card{min-height:104px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;border:0;border-radius:22px;padding:21px 24px;box-shadow:0 10px 30px #1f2d2411}.template-card:hover{border-color:transparent;box-shadow:0 18px 38px #1f452d1f}.template-card__content{display:grid;gap:6px}@media(max-width:700px){.templates-page{padding:20px 0 52px}.templates-page__header{gap:28px;margin-bottom:36px;padding:28px 23px 24px}.template-card{min-height:94px;grid-template-columns:42px minmax(0,1fr) auto;padding:18px 16px}}.workout-editor-page{min-height:calc(100vh - 145px);padding:38px 0 80px;background:radial-gradient(circle at 88% 2%,rgba(16,185,129,.1),transparent 30%),#f5f7fb}.workout-editor-page__container{width:min(860px,calc(100% - 32px))}.workout-editor-back{min-height:42px;display:inline-flex;align-items:center;gap:7px;margin-bottom:20px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;padding:0 13px;color:#4b5563;cursor:pointer;font:inherit;font-weight:800}.workout-editor-state{border:1px solid #e5e7eb;border-radius:18px;background:#fff;padding:24px;text-align:center}.workout-editor-error,.exercise-builder-error{color:#b91c1c}.workout-editor-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:16px;border:1px solid #d1fae5;border-radius:22px;background:linear-gradient(145deg,#fff,#f0fdf4);padding:24px}.workout-name-field{display:grid;gap:8px}.workout-name-field label{color:#15803d;font-size:.82rem;font-weight:900}.workout-name-field input{width:100%;border:0;border-bottom:2px solid transparent;background:transparent;padding:2px 0 6px;color:#111827;font:inherit;font-size:clamp(1.7rem,5vw,2.6rem);font-weight:900}.workout-name-field input:focus{outline:none;border-bottom-color:#86efac}.workout-save-name,.workout-editor-section-heading button,.workout-editor-empty button,.exercise-builder-submit{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:12px;background:#15803d;padding:0 17px;color:#fff;cursor:pointer;font:inherit;font-weight:900}.workout-save-name:disabled,.exercise-builder-submit:disabled{opacity:.6}.workout-editor-feedback{margin:14px 0 0;border:1px solid #bbf7d0;border-radius:12px;background:#f0fdf4;padding:11px 14px;color:#166534;font-weight:800}.workout-editor-exercises{margin-top:26px}.workout-editor-section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:15px}.workout-editor-section-heading h2{margin:0}.workout-editor-section-heading p{margin:5px 0 0;color:#6b7280}.workout-editor-empty{display:grid;justify-items:center;border:1px dashed #bbf7d0;border-radius:20px;background:#fffc;padding:34px 22px;text-align:center}.workout-editor-empty h3{margin:0}.workout-editor-empty p{margin:8px 0 19px;color:#6b7280}.workout-editor-item-list{display:grid;gap:11px}.workout-editor-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;border:1px solid #e5e7eb;border-radius:17px;background:#fff;padding:17px 19px;box-shadow:0 9px 24px #1118270a}.workout-editor-item h3{margin:0 0 5px;font-size:1.05rem}.workout-editor-item>div:first-child span{color:#6b7280;font-size:.86rem}.workout-editor-item>strong{direction:ltr;border-radius:999px;background:#ecfdf5;padding:7px 11px;color:#15803d}.workout-editor-item-actions{display:flex;gap:5px}.workout-editor-item-actions button{width:38px;height:38px;display:grid;place-items:center;border:0;border-radius:10px;background:#f3f4f6;color:#4b5563;cursor:pointer}.workout-editor-item-actions .workout-editor-remove{color:#b91c1c}.workout-remove-button{margin:0;border:1px solid #fecaca;border-radius:12px;background:transparent;color:#b91c1c;padding:0 17px;cursor:pointer;font:inherit;font-weight:800}.workout-editor-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:26px;padding-top:22px;border-top:1px solid #e5e7eb}.workout-editor-actions button{min-height:48px}.exercise-builder-backdrop{position:fixed;inset:0;z-index:520;display:flex;align-items:center;justify-content:center;padding:18px;background:#1118278a}.workout-editor-page .exercise-preview-backdrop{z-index:620}.exercise-builder-sheet{width:min(100%,680px);max-height:min(88vh,780px);overflow:auto;border-radius:24px;background:#fff;padding:22px;box-shadow:0 28px 80px #11182742}.exercise-builder-sheet>header{position:sticky;top:-22px;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;margin:-2px -2px 20px;background:#fff;padding:2px 2px 12px}.exercise-builder-sheet header p{margin:0 0 4px;color:#15803d;font-size:.8rem;font-weight:900}.exercise-builder-sheet h2{margin:0}.exercise-builder-sheet>header button{width:39px;height:39px;display:grid;place-items:center;border:0;border-radius:11px;background:#f3f4f6;color:#4b5563;cursor:pointer}.exercise-builder-picker>input{width:100%;min-height:47px;border:1px solid #d1d5db;border-radius:12px;padding:0 13px;font:inherit}.exercise-builder-filters{display:flex;gap:7px;overflow-x:auto;margin:13px 0;padding-bottom:3px}.exercise-builder-filters button{min-height:36px;flex:0 0 auto;border:1px solid #e5e7eb;border-radius:999px;background:#fff;padding:0 11px;color:#4b5563;cursor:pointer;font:inherit;font-size:.84rem}.exercise-builder-filters button.active{border-color:#15803d;background:#ecfdf5;color:#15803d;font-weight:800}.exercise-builder-results{display:grid;gap:9px}.exercise-builder-config>article{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #d1fae5;border-radius:15px;background:#f0fdf4;padding:15px}.exercise-builder-config article>div{display:grid;gap:5px}.exercise-builder-config article span{color:#6b7280;font-size:.86rem}.exercise-builder-config article button{border:0;background:transparent;color:#15803d;cursor:pointer;font:inherit;font-weight:800}.exercise-builder-inputs{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:20px}.exercise-builder-inputs label{display:grid;gap:8px;color:#374151;font-weight:800}.exercise-builder-inputs input{min-height:50px;border:1px solid #d1d5db;border-radius:12px;padding:0 12px;font:inherit;text-align:center}.exercise-builder-error{margin:12px 0 0;font-weight:700}.exercise-builder-submit{width:100%;margin-top:20px}@media(max-width:700px){.workout-editor-page{padding:28px 0 56px}.workout-editor-page__container{width:min(100%,calc(100% - 24px))}.workout-editor-header{grid-template-columns:1fr;padding:19px 17px}.workout-save-name{width:100%}.workout-editor-actions{grid-template-columns:1fr}.workout-editor-item{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:15px}.workout-editor-item-actions{grid-column:1 / -1;justify-content:flex-end;border-top:1px solid #f3f4f6;padding-top:10px}.workout-editor-section-heading{align-items:flex-end}.exercise-builder-backdrop{align-items:flex-end;padding:0}.exercise-builder-sheet{max-height:92vh;border-radius:24px 24px 0 0;padding-bottom:calc(22px + env(safe-area-inset-bottom))}.exercise-builder-inputs{grid-template-columns:1fr}}.workout-editor-page{padding:34px 0 96px;background:#f4f6f3}.workout-editor-back{margin:0 2px 22px;border:0;background:transparent;padding:0;color:#526059}.workout-editor-header{display:block;border:0;border-radius:30px;background:radial-gradient(circle at 8% 10%,rgba(255,255,255,.72),transparent 38%),linear-gradient(135deg,#e8f8ed,#f9fbf7 72%);padding:36px 38px;box-shadow:0 24px 60px #1f452d17}.workout-name-field{gap:9px}.workout-name-field label{color:#167342;font-size:.88rem;letter-spacing:.02em}.workout-name-field input{font-size:clamp(2.25rem,6vw,3.35rem);line-height:1.08;letter-spacing:-.04em}.workout-name-field p{margin:4px 0 0;color:#66716b;font-size:.9rem;line-height:1.6}.workout-editor-exercises{margin-top:46px}.workout-editor-section-heading{margin-bottom:18px}.workout-editor-section-heading h2{font-size:1.34rem;letter-spacing:-.02em}.workout-editor-section-heading button,.workout-editor-empty button{border:1px solid #b8dec4;background:#fff;color:#176b3a;box-shadow:none}.workout-editor-empty{border:0;border-radius:24px;background:#fff;padding:50px 24px;box-shadow:0 12px 34px #1f2d240e}.workout-editor-item-list{gap:12px}.workout-editor-item{min-height:92px;border:0;border-radius:20px;padding:19px 21px;box-shadow:0 10px 30px #1f2d240f}.workout-editor-item h3{font-size:1.12rem}.workout-editor-item>strong{background:#edf7ef;padding:8px 12px}.workout-editor-item-actions button{background:transparent;color:#68736d}.workout-editor-actions{margin-top:38px;padding:22px;border:0;border-radius:22px;background:#ffffffb3}.workout-save-name{min-height:52px;border-radius:15px;background:#176b3a;box-shadow:0 12px 24px #176b3a29}.workout-remove-button{min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-color:transparent;border-radius:15px;background:transparent}.workout-remove-button:disabled{cursor:not-allowed;opacity:.58}.exercise-builder-sheet{border-radius:28px;box-shadow:0 32px 90px #11182747}@media(max-width:700px){.workout-editor-page{padding:20px 0 52px}.workout-editor-header{border-radius:26px;padding:28px 22px}.workout-editor-exercises{margin-top:38px}.workout-editor-item{padding:17px}.workout-editor-item-actions{border-top-color:#edf0ed}.workout-editor-actions{padding:14px}}.journal-page{min-height:calc(100vh - 145px);padding:52px 0 80px;background:radial-gradient(circle at 88% 3%,rgba(16,185,129,.11),transparent 32%),#f5f7fb}.journal-page__container{width:min(880px,calc(100% - 32px))}.journal-page__header{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:30px}.journal-page__eyebrow{margin:0 0 8px!important;color:#15803d!important;font-size:.82rem;font-weight:800;letter-spacing:.03em}.journal-page__header h1{margin:0;font-size:clamp(2rem,5vw,3rem);line-height:1.1}.journal-page__header p:last-child{margin:11px 0 0;color:#6b7280;line-height:1.6}.journal-page__header-actions{display:flex;align-items:center;gap:10px}.journal-page__primary-action,.journal-page__calendar{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:13px;padding:0 17px;font:inherit;font-weight:800;text-decoration:none}.journal-page__primary-action{border:1px solid #15803d;background:#15803d;color:#fff}.journal-page__primary-action:hover{background:#166534}.journal-page__calendar{border:1px solid #d1d5db;background:#fffc;color:#6b7280}.journal-page__calendar:disabled{cursor:not-allowed;opacity:.62}.journal-timeline{position:relative;display:grid;gap:14px}.journal-timeline:before{content:"";position:absolute;top:26px;right:18px;bottom:26px;width:2px;background:#d1fae5}.journal-card{position:relative;display:grid;grid-template-columns:126px 1fr;gap:20px;border:1px solid #e5e7eb;border-radius:20px;background:#fffffff5;padding:22px 24px 22px 54px;box-shadow:0 12px 30px #1118270d;color:inherit;text-decoration:none;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.journal-card:hover{transform:translateY(-2px);border-color:#bbf7d0;box-shadow:0 16px 34px #15803d1a}.journal-card__arrow{position:absolute;top:50%;left:20px;color:#9ca3af;transform:translateY(-50%)}.journal-card:before{content:"";position:absolute;top:29px;right:13px;width:12px;height:12px;border:3px solid #ffffff;border-radius:50%;background:#16a34a;box-shadow:0 0 0 2px #bbf7d0}.journal-card__date{padding:3px 18px 0 0;color:#15803d;font-size:.9rem;font-weight:800}.journal-card__content h2{margin:0 0 13px;color:#111827;font-size:1.18rem}.journal-card__metrics{display:flex;flex-wrap:wrap;gap:8px}.journal-card__metrics span{border-radius:999px;background:#f3f4f6;padding:7px 11px;color:#6b7280;font-size:.86rem}.journal-card__metrics strong{color:#374151}.journal-page__state,.journal-empty{border:1px solid #e5e7eb;border-radius:22px;background:#fff;padding:36px 24px;text-align:center}.journal-page__error{color:#b91c1c}.journal-page__success{margin:0 0 18px;border:1px solid #bbf7d0;border-radius:14px;background:#f0fdf4;padding:13px 16px;color:#166534;font-weight:800}.journal-empty{display:grid;justify-items:center}.journal-empty__icon{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:#ecfdf5;color:#15803d;font-size:1.5rem}.journal-empty h2{margin:18px 0 8px}.journal-empty p{max-width:430px;margin:0 0 22px;color:#6b7280;line-height:1.6}.journal-skeletons{display:grid;gap:14px}.journal-skeletons span{height:116px;border:1px solid #e5e7eb;border-radius:20px;background:linear-gradient(90deg,#fff 25%,#f3f4f6,#fff 75%);background-size:200% 100%;animation:journal-shimmer 1.4s infinite}@keyframes journal-shimmer{to{background-position:-200% 0}}@media(max-width:700px){.journal-page{padding:34px 0 48px}.journal-page__container{width:min(100%,calc(100% - 24px))}.journal-page__header{display:grid;align-items:stretch;gap:20px}.journal-page__header-actions{display:grid;grid-template-columns:auto 1fr}.journal-page__calendar span{display:none}.journal-card{grid-template-columns:1fr;gap:10px;padding:19px 18px 19px 46px}.journal-timeline:before,.journal-card:before{display:none}.journal-card__date{padding:0}.journal-card__arrow{left:14px}}.journal-page{padding:42px 0 96px;background:#f4f6f3}.journal-page__header{align-items:center;gap:32px;margin-bottom:42px;border-radius:30px;background:radial-gradient(circle at 10% 10%,rgba(255,255,255,.72),transparent 36%),linear-gradient(135deg,#e8f8ed,#f9fbf7 72%);padding:38px 40px;box-shadow:0 24px 60px #1f452d17}.journal-page__hero-copy{min-width:0}.journal-page__eyebrow{margin-bottom:12px!important;font-size:.9rem}.journal-page__header h1{font-size:clamp(2.35rem,6vw,3.55rem);line-height:1.04;letter-spacing:-.04em}.journal-page__header p:last-child{color:#526059}.journal-page__summary{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:24px;color:#526059;font-size:.92rem}.journal-page__summary strong{color:#13291c;font-size:1.08rem}.journal-page__primary-action,.journal-page__calendar{min-height:52px;border-radius:16px;padding:0 20px}.journal-page__primary-action{border:0;background:#176b3a;box-shadow:0 12px 24px #176b3a2e}.journal-page__calendar{border:0;background:#ffffffb8}.journal-page__section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin:0 4px 16px}.journal-page__section-heading h2{margin:0;font-size:1.32rem}.journal-page__section-heading span{color:#7a857f;font-size:.88rem;font-weight:700}.journal-timeline{gap:12px}.journal-timeline:before,.journal-card:before{display:none}.journal-card{border:0;border-radius:22px;padding:24px 26px 24px 54px;box-shadow:0 10px 30px #1f2d2411}.journal-card:hover{border-color:transparent;box-shadow:0 18px 38px #1f452d1f}.journal-card__date{padding:3px 0 0}.journal-card__metrics{gap:7px 16px}.journal-card__metrics span{background:transparent;padding:0}.journal-page__state,.journal-empty{border:0;border-radius:24px;padding:48px 28px;box-shadow:0 12px 34px #1f2d240e}@media(max-width:700px){.journal-page{padding:20px 0 52px}.journal-page__header{gap:28px;margin-bottom:36px;border-radius:26px;padding:28px 23px 24px}.journal-page__header-actions{grid-template-columns:auto 1fr}.journal-card{padding:21px 19px 21px 44px}}.journal-entry-page{min-height:calc(100vh - 145px);padding:42px 0 120px;background:radial-gradient(circle at 88% 2%,rgba(16,185,129,.1),transparent 30%),#f5f7fb}.journal-entry-page__container{width:min(880px,calc(100% - 32px))}.journal-entry-header{display:flex;align-items:center;gap:20px;margin-bottom:24px}.journal-entry-header>div p{margin:0 0 5px;color:#15803d;font-size:.82rem;font-weight:800}.journal-entry-header h1{margin:0;font-size:clamp(1.8rem,5vw,2.7rem)}.journal-entry-back{min-height:42px;display:inline-flex;align-items:center;gap:7px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;padding:0 13px;color:#4b5563;cursor:pointer;font:inherit;font-weight:700}.journal-entry-date{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #e5e7eb;border-radius:16px;background:#fffffff0;padding:14px 17px}.journal-entry-date>span{display:inline-flex;align-items:center;gap:8px;color:#374151;font-weight:800}.journal-entry-date input{min-height:40px;border:1px solid #d1d5db;border-radius:10px;background:#fff;padding:0 11px;color:#111827;font:inherit}.journal-entry-error{margin:15px 0 0;border:1px solid #fecaca;border-radius:13px;background:#fef2f2;padding:12px 15px;color:#b91c1c;font-weight:700}.template-choice{margin-top:30px}.template-choice__heading h2{margin:0;font-size:1.35rem}.template-choice__heading p{margin:7px 0 0;color:#6b7280}.template-choice__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}.template-choice__grid button{min-height:112px;display:grid;align-content:center;gap:7px;border:1px solid #e5e7eb;border-radius:19px;background:#fff;padding:20px;color:#111827;cursor:pointer;font:inherit;text-align:right;box-shadow:0 10px 26px #1118270d;transition:border-color .15s ease,transform .15s ease}.template-choice__grid button:hover:not(:disabled){transform:translateY(-2px);border-color:#86efac}.template-choice__grid button:disabled{cursor:not-allowed;opacity:.55}.template-choice__grid strong{font-size:1.12rem}.template-choice__grid span,.template-choice__grid small{color:#6b7280}.journal-entry-state{min-height:130px;display:grid;place-content:center;gap:7px;margin-top:20px;border:1px solid #e5e7eb;border-radius:19px;background:#fff;padding:24px;color:#6b7280;text-align:center}.journal-exercise-list{display:grid;gap:18px;margin-top:26px}.journal-exercise-card{border:1px solid #e5e7eb;border-radius:21px;background:#fff;padding:22px;box-shadow:0 12px 30px #1118270d}.journal-exercise-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.journal-exercise-card h2{margin:0;font-size:1.18rem}.journal-exercise-card header p{margin:6px 0 3px;color:#6b7280;font-size:.9rem}.journal-exercise-card header small{color:#15803d;font-size:.82rem;font-weight:700}.journal-exercise-card>header button{min-height:39px;display:inline-flex;align-items:center;gap:6px;border:1px solid #d1d5db;border-radius:11px;background:#fff;padding:0 11px;color:#4b5563;cursor:pointer;font:inherit;font-size:.86rem;font-weight:700}.journal-set-table{display:grid;gap:8px}.journal-set-table__labels,.journal-set-row{display:grid;grid-template-columns:44px minmax(0,1fr) minmax(0,1fr) 38px;align-items:center;gap:10px}.journal-set-table__labels{padding:0 3px;color:#6b7280;font-size:.78rem;font-weight:700}.journal-set-row{border-radius:13px;background:#f9fafb;padding:9px}.journal-set-row>strong{color:#6b7280;text-align:center}.journal-set-row label span{display:none}.journal-set-row input{width:100%;min-height:42px;border:1px solid #d1d5db;border-radius:10px;background:#fff;padding:0 10px;color:#111827;font:inherit;text-align:center}.journal-set-row>button{width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:9px;background:transparent;color:#9ca3af;cursor:pointer}.journal-set-row>button:hover{background:#fee2e2;color:#b91c1c}.journal-add-set{min-height:41px;display:inline-flex;align-items:center;gap:6px;margin-top:13px;border:0;border-radius:10px;background:#ecfdf5;padding:0 13px;color:#15803d;cursor:pointer;font:inherit;font-weight:800}.journal-save-bar{position:sticky;bottom:18px;z-index:80;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:24px;border:1px solid #d1fae5;border-radius:17px;background:#fffffff5;padding:12px 14px 12px 18px;box-shadow:0 18px 48px #11182726;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.journal-save-bar span{color:#6b7280;font-size:.9rem}.journal-save-bar button{min-height:48px;border:0;border-radius:12px;background:#15803d;padding:0 24px;color:#fff;cursor:pointer;font:inherit;font-weight:900}.journal-save-bar button:disabled{cursor:not-allowed;opacity:.5}@media(max-width:700px){.journal-entry-page{padding:28px 0 105px}.journal-entry-page__container{width:min(100%,calc(100% - 24px))}.journal-entry-header{align-items:flex-start}.journal-entry-back{min-width:42px;padding:0 10px}.journal-entry-date{align-items:stretch;flex-direction:column;gap:10px}.template-choice__grid{grid-template-columns:1fr}.journal-exercise-card{padding:17px 14px}.journal-exercise-card>header{gap:10px}.journal-set-table__labels,.journal-set-row{grid-template-columns:32px minmax(0,1fr) minmax(0,1fr) 34px;gap:6px}.journal-set-row{padding:7px 5px}.journal-save-bar{bottom:calc(76px + env(safe-area-inset-bottom));display:grid;gap:8px;padding:11px}.journal-save-bar button{width:100%}}.journal-details-page{min-height:calc(100vh - 145px);padding:38px 0 80px;background:radial-gradient(circle at 88% 2%,rgba(16,185,129,.1),transparent 30%),#f5f7fb}.journal-details-page__container{width:min(820px,calc(100% - 32px))}.journal-details-back{min-height:42px;display:inline-flex;align-items:center;gap:7px;margin-bottom:22px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;padding:0 13px;color:#4b5563;font-weight:800;text-decoration:none}.journal-details-header{border:1px solid #d1fae5;border-radius:24px;background:linear-gradient(145deg,#fff 25%,#f0fdf4);padding:28px;box-shadow:0 16px 38px #15803d14}.journal-details-header>p{margin:0 0 7px;color:#15803d;font-size:.82rem;font-weight:900}.journal-details-header h1{margin:0;color:#111827;font-size:clamp(2rem,6vw,3rem);line-height:1.1}.journal-details-header time{display:block;margin-top:10px;color:#6b7280}.journal-details-summary{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}.journal-details-summary span{display:inline-flex;align-items:center;gap:6px;border:1px solid #dcfce7;border-radius:999px;background:#ffffffd6;padding:8px 12px;color:#4b5563;font-size:.88rem}.journal-details-summary svg{color:#16a34a}.journal-details-summary strong{color:#111827}.journal-details-exercises{display:grid;gap:16px;margin-top:20px}.journal-details-exercise{border:1px solid #e5e7eb;border-radius:20px;background:#fff;padding:22px;box-shadow:0 10px 28px #1118270b}.journal-details-exercise>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:17px;border-bottom:1px solid #f3f4f6}.journal-details-exercise h2{margin:0 0 7px;color:#111827;font-size:1.18rem}.journal-details-exercise header span{display:inline-block;border-radius:999px;background:#ecfdf5;padding:5px 9px;color:#15803d;font-size:.78rem;font-weight:800}.journal-details-exercise header p{margin:3px 0 0;color:#6b7280;font-size:.88rem;text-align:left}.journal-details-sets{margin:0;padding:5px 0 0;list-style:none}.journal-details-sets li{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 4px;border-bottom:1px solid #f3f4f6}.journal-details-sets li:last-child{border-bottom:0}.journal-details-sets span{color:#6b7280;font-size:.9rem}.journal-details-sets strong{direction:ltr;color:#374151;font-variant-numeric:tabular-nums}.journal-details-no-sets{margin:16px 0 0;color:#6b7280}.journal-details-state,.journal-details-empty{border:1px solid #e5e7eb;border-radius:20px;background:#fff;padding:32px 22px;text-align:center}.journal-details-error{color:#b91c1c}.journal-details-empty{margin-top:20px}.journal-details-empty h2{margin:0;font-size:1.15rem}.journal-details-empty p{margin:9px 0 0;color:#6b7280;line-height:1.6}@media(max-width:700px){.journal-details-page{padding:26px 0 48px}.journal-details-page__container{width:min(100%,calc(100% - 24px))}.journal-details-header{border-radius:20px;padding:22px 18px}.journal-details-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.journal-details-summary span{justify-content:center;gap:4px;padding:8px 5px;font-size:.76rem}.journal-details-exercise{padding:18px 15px}.journal-details-exercise>header{display:grid;gap:10px}.journal-details-exercise header p{text-align:right}}.general-page{padding:24px}.muscle-section{margin-bottom:48px}.muscle-title{margin:0 0 16px}.cardsGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,360px));gap:24px;justify-content:start}@media(max-width:1024px){.cardsGrid{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.cardsGrid{grid-template-columns:1fr}}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:linear-gradient(145deg,#f8fafc,#eef2ff)}.login-card{width:100%;max-width:420px;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:28px;box-shadow:0 20px 45px #0f172a14;display:flex;flex-direction:column;gap:16px}.login-card h1{margin:0;font-size:1.75rem;color:#0f172a;line-height:1.2}.login-subtitle{margin:0;color:#64748b;font-size:.95rem}.login-field{display:flex;flex-direction:column;gap:8px}.login-field label{font-size:.92rem;font-weight:600;color:#334155}.login-field input{height:44px;border:1px solid #cbd5e1;border-radius:10px;padding:0 12px;font:inherit;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}.login-field input:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e529}.login-error{margin:0;color:#b91c1c;font-size:.9rem}.login-success{margin:0;color:#15803d;font-size:.9rem}.login-button{height:46px;border:none;border-radius:10px;background:#4f46e5;color:#fff;font-weight:600;font-size:.98rem;cursor:pointer;transition:background-color .2s ease,transform .1s ease}.login-button:hover:not(:disabled){background:#4338ca}.login-button:active:not(:disabled){transform:translateY(1px)}.login-button:disabled{background:#a5b4fc;cursor:not-allowed}@media(max-width:540px){.login-page{padding:16px}.login-card{padding:22px;border-radius:14px}}
