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:#f5f7fb;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:1px solid #e5e7eb}.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}}.navbar{width:100%}.navbar__inner{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}.navbar__brand{font-size:1.25rem;font-weight:800;color:#111827;text-decoration:none}.navbar__nav{display:flex;align-items:center;gap:24px}.navbar__link{color:#4b5563;text-decoration:none;font-size:.95rem}.navbar__link:hover{color:#111827}.navbar__link--active{color:#111827;font-weight:700}@media(max-width:700px){.navbar__inner{min-height:0;padding:14px 0;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:12px}.navbar__brand{width:100%;text-align:center}.navbar__nav{width:100%;justify-content:center;flex-wrap:wrap;gap:10px 16px}.navbar__link{line-height:1.4}}.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-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}.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:12px 0 8px}.page-hero h1{font-size:1.42rem;line-height:1.15}.page-hero p:last-child{white-space:normal}.day-selector-panel{padding:9px;border-radius:12px;margin-bottom:9px}.day-selector-header{align-items:flex-start;flex-direction:column;gap:3px}.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;gap:8px}.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:52px;margin-top:16px;box-shadow:0 12px 28px #11182738}.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:56px 1fr;gap:12px;align-items:center;padding:10px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;color:#111827;text-align:right;cursor:pointer;transition:.2s ease}.exercise-row:hover{border-color:#111827;box-shadow:0 8px 18px #11182714}.exercise-row:active{transform:scale(.98)}.exercise-row-image{width:56px;height:56px;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}@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}}.workout-item{position:relative;display:flex;flex-direction:column;gap:7px;padding:9px 10px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.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-text h3{margin:0;font-size:.98rem;line-height:1.15}.workout-item-text p{margin:2px 0 0;color:#6b7280;font-size:.78rem;line-height:1.15}.workout-item-menu-wrap{position:relative;flex:0 0 auto}.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:20;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-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:6px;padding:8px 9px;border-radius:11px}.workout-item-controls{gap:6px}.workout-stepper-control{grid-template-columns:27px minmax(30px,1fr) 27px;min-height:30px}}.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}}
