:root{color-scheme:dark;--bg:#101311;--panel:#191d1a;--panel2:#202521;--border:#2b322c;--muted:#929b93;--text:#eff2eb;--green:#b5ef74;--green-dark:#293c20;--orange:#e3b583;font-family:Inter,Arial,Helvetica,sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--green);outline-offset:4px}button:disabled{opacity:.4;cursor:not-allowed}.sidebar{position:fixed;inset:0 auto 0 0;width:232px;border-right:1px solid var(--border);padding:32px 20px 18px;display:flex;flex-direction:column;background:#131714;z-index:20}.brand{font-size:36px;font-weight:800;letter-spacing:-2px;display:flex;align-items:center;gap:9px;margin:0 12px 50px}.brand-icon{font-size:33px;color:var(--green);font-weight:400}.brand-dot{color:var(--green);margin-left:-8px}.workspace-label{font-size:9px;letter-spacing:1.3px;color:#738076;margin:0 12px 20px}nav{display:grid;gap:8px}.nav-item{display:flex;align-items:center;gap:13px;color:#a0aaa1;padding:13px 15px;border-radius:7px;font-size:13px;font-weight:500}.nav-item.active{background:var(--green-dark);color:var(--green)}.nav-item svg{width:19px;height:19px}.sidebar-bottom{margin:auto 12px 25px;padding-top:60px}.mini-line{height:3px;width:26px;background:var(--green);margin-bottom:18px}.sidebar-bottom p{font-size:12px;line-height:1.8;color:var(--muted)}.sidebar-bottom strong{font-weight:500;color:#c0c8bf}.version{display:block;letter-spacing:1.6px;font-size:9px;color:#647168;margin-top:25px}.profile{display:flex;align-items:center;gap:10px;padding:17px 5px 0;background:none;border:0;border-top:1px solid var(--border);text-align:left}.avatar{display:grid;place-items:center;flex-shrink:0;border:1px solid #4a5542;width:36px;height:36px;background:#303a2b;border-radius:50%;color:#d9edca;font-size:13px;font-weight:600}.profile strong{font-size:12px;font-weight:500}.profile small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.profile-settings{margin-left:auto;color:var(--muted)}.app-shell{margin-left:232px}.topbar{height:78px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 42px;font-size:11px}.breadcrumb{color:var(--muted)}.breadcrumb span{margin:0 12px;color:#4c564d}.breadcrumb strong{font-weight:400;color:#d1d8ce}.topbar-right{display:flex;align-items:center;gap:24px}.small{width:30px;height:30px;font-size:11px}.save-status{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:7px}.save-status i{width:5px;height:5px;background:var(--green);border-radius:50%}main{max-width:1440px;margin:0 auto;padding:36px 42px 32px;min-height:calc(100vh - 132px)}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:30px}.eyebrow{color:var(--green);font-size:10px;letter-spacing:1.5px;font-weight:600;margin:0 0 12px}.page-heading h1{font-size:30px;letter-spacing:-1.1px;font-weight:550;margin:0 0 10px}.page-heading p{font-size:12px;color:var(--muted);margin:0;line-height:1.7}.date-pill{border:1px solid var(--border);padding:10px 13px;border-radius:7px;color:#b4bdb4;font-size:11px;white-space:nowrap;display:flex;gap:9px;align-items:center}.date-pill svg{width:14px;height:14px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:26px}.stat{border:1px solid var(--border);background:var(--panel);padding:20px 22px;border-radius:10px}.stat-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}.stat-top svg{width:17px;height:17px;color:#81917e}.stat-value{display:flex;align-items:baseline;gap:8px;font-size:30px;letter-spacing:-1px;margin:16px 0 10px;font-weight:500}.stat-value small{font-size:12px;letter-spacing:0;color:var(--muted);font-weight:400}.stat-bottom{font-size:10px;color:var(--muted)}.accent{color:var(--green)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:22px}.card{border:1px solid var(--border);background:var(--panel);border-radius:11px;padding:23px}.card h2,.section-heading h2{font-size:15px;font-weight:500;margin:0;letter-spacing:-.2px}.card-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.text-link{color:var(--green);font-size:11px;border:0;background:none;padding:0}.hero{position:relative;overflow:hidden;min-height:303px;background:linear-gradient(115deg,#243321 0%,#1c271b 65%,#233420);border-color:#3c4f32}.hero:after{content:'↗';position:absolute;right:5px;top:13px;font-size:240px;font-weight:600;line-height:1;color:#b5ef7409;pointer-events:none}.hero .eyebrow{font-size:9px;display:flex;gap:8px;align-items:center}.status-dot{width:5px;height:5px;display:inline-block;background:var(--green);border-radius:50%}.hero h2{font-size:29px;letter-spacing:-.9px;margin:18px 0 10px;position:relative;z-index:1}.hero-description{font-size:12px;color:#b0bca9;margin-bottom:23px}.workout-tags{display:flex;gap:16px;flex-wrap:wrap;font-size:10px;color:#aebda4;margin-bottom:28px}.workout-tags span{display:flex;gap:5px;align-items:center}.workout-tags svg{width:13px;height:13px}.btn{border:1px solid var(--border);background:var(--panel2);border-radius:7px;padding:11px 16px;font-weight:500;font-size:12px;display:inline-flex;gap:10px;align-items:center;justify-content:center;min-height:42px}.btn svg{width:16px;height:16px}.btn.primary{background:var(--green);border-color:var(--green);color:#1b2913}.btn.primary:hover{background:#c9fc93}.btn.ghost{background:transparent}.btn.danger{color:#f2ad9d}.hero .btn{position:relative;z-index:1}.hero-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.hero-bottom small{font-size:10px;color:#91a285}.week-days{display:flex;justify-content:space-between;gap:5px;margin:25px 0 21px}.day{display:flex;flex-direction:column;align-items:center;gap:12px;font-size:9px;color:var(--muted)}.day-circle{border:1px solid var(--border);width:32px;height:36px;display:grid;place-items:center;border-radius:7px;font-size:12px;color:#79857b}.day-circle.done{background:var(--green-dark);color:var(--green);border-color:#425a33}.day-circle.today{border:1px solid var(--green);color:var(--green)}.progress-track{height:5px;background:#2d362e;border-radius:4px;overflow:hidden}.progress-track span{height:100%;display:block;background:var(--green);border-radius:4px}.week-summary{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin:12px 0 22px}.micro-note{border-top:1px solid var(--border);padding-top:17px;display:flex;gap:8px;font-size:10px;line-height:1.6;color:#a0ad98}.micro-note svg{width:15px;height:15px;flex-shrink:0;color:var(--green)}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:28px 0 16px}.recent-list{padding:0 20px}.recent-row{display:flex;align-items:center;gap:14px;padding:17px 0;border-bottom:1px solid var(--border)}.recent-row:last-child{border:0}.workout-letter{width:40px;height:40px;flex-shrink:0;border-radius:8px;display:grid;place-items:center;color:var(--green);background:#283323;border:1px solid #3a4932;font-size:16px}.recent-copy{flex:1}.recent-copy strong{display:block;font-weight:500;font-size:12px;margin-bottom:6px}.recent-copy small{font-size:10px;color:var(--muted)}.recent-right{text-align:right;font-size:11px}.recent-right small{display:block;font-size:9px;color:var(--muted);margin-top:6px}.tag{border:1px solid #3b4a32;background:#25301f;color:var(--green);padding:5px 8px;font-size:9px;border-radius:5px}.chart-card{margin-top:22px}.chart-legend{font-size:10px;color:var(--muted);display:flex;gap:8px;align-items:center}.chart-legend i{width:6px;height:6px;background:var(--green);border-radius:50%}.chart{width:100%;height:auto;display:block;overflow:visible}.chart text{fill:#7e8c7e;font-family:Arial;font-size:9px}.chart-empty{height:190px;display:grid;place-items:center;color:var(--muted);font-size:12px}.page-footer{border-top:1px solid var(--border);padding:20px 42px;display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.2px;color:#718074}.page-footer>span:last-child{letter-spacing:0}.muted{color:var(--muted)}.demo-note{display:flex;align-items:center;gap:8px;font-size:10px;color:#a2ada0;margin:23px 0 0;line-height:1.6}.demo-note span{color:var(--green)}.training-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.training-card{display:flex;flex-direction:column}.training-card .workout-letter{margin-bottom:20px;width:48px;height:48px;font-size:22px}.training-card h2{font-size:20px;margin-bottom:9px}.training-card p{color:var(--muted);font-size:12px;line-height:1.7}.exercise-preview{list-style:none;margin:10px 0 24px;padding:0;flex:1}.exercise-preview li{border-bottom:1px solid var(--border);padding:12px 0;display:flex;justify-content:space-between;gap:10px;font-size:11px}.exercise-preview li span{color:var(--muted);white-space:nowrap}.card-actions{display:flex;gap:8px}.card-actions .primary{flex:1}.toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.field{display:grid;gap:8px;font-size:11px;color:#b6c0b2}.field input,.field select,.field textarea,select.filter{border:1px solid #3b453b;background:#121713;color:var(--text);border-radius:6px;padding:11px 12px;min-width:0;width:100%}.field textarea{min-height:80px;resize:vertical}.filter{width:auto!important;font-size:12px}.session-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:22px}.exercise-card{margin-bottom:16px}.exercise-number{font-size:10px;color:var(--green);margin-right:7px}.exercise-card .card-head{margin-bottom:10px}.prescription{font-size:11px;color:var(--muted);margin-bottom:12px}.previous{background:#222b20;color:#b0c0a5;border-radius:6px;padding:10px 13px;font-size:11px;margin:15px 0}.sets-table{width:100%;border-collapse:collapse;text-align:left;table-layout:fixed}.sets-table th{font-size:9px;font-weight:400;letter-spacing:.6px;color:var(--muted);padding:12px 5px}.sets-table td{padding:6px 5px;font-size:12px}.sets-table th:first-child{width:14%}.sets-table th:last-child{width:18%;text-align:center}.sets-table td:last-child{text-align:center}.set-input{width:100%;min-height:40px;padding:9px 8px;color:var(--text);border:1px solid #3b453b;background:#111612;border-radius:5px;text-align:center}.completed .set-input{color:var(--green);background:#24301e;border-color:#405633}.check-btn{width:39px;height:40px;border:1px solid #3d483c;background:#222a21;border-radius:6px;color:#85927f}.check-btn.checked{color:#1a2712;background:var(--green);border-color:var(--green)}.session-aside{height:max-content;position:sticky;top:20px}.session-time{font-size:36px;letter-spacing:-1px;margin:20px 0}.session-info{display:flex;justify-content:space-between;margin:17px 0;color:var(--muted);font-size:12px}.session-aside .btn{width:100%;margin-top:20px}.empty{padding:50px 20px;text-align:center;color:var(--muted)}.empty h2{color:var(--text);font-size:22px;margin-bottom:12px}.empty p{line-height:1.7;font-size:12px;margin-bottom:25px}.history-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.history-card{cursor:pointer;text-align:left;color:inherit;width:100%}.history-card:hover{border-color:#647a51}.history-top{display:flex;align-items:center;gap:13px}.history-details{display:flex;gap:25px;border-top:1px solid var(--border);padding-top:18px;margin-top:20px;color:var(--muted);font-size:11px}.history-details strong{color:var(--text);font-weight:400}.demo-badge{font-size:8px;text-transform:uppercase;letter-spacing:.5px;background:#2d3028;border-radius:4px;padding:4px 6px;color:#b0b69d;margin-left:auto}.full-chart{height:auto;max-height:320px}.insight{display:flex;gap:15px;align-items:flex-start;margin-top:20px;background:#24301e;border:1px solid #3b4f30;border-radius:8px;padding:18px;color:#c2d9ae;font-size:12px;line-height:1.8}.insight svg{width:22px;height:22px;flex-shrink:0;color:var(--green)}.insight strong{color:var(--green)}.evolution-stats{margin-top:22px}.evolution-controls{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.record-list{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.record-card{display:flex;align-items:center;gap:12px}.record-card svg{width:22px;height:22px;color:var(--green)}.record-card strong{font-size:18px;display:block;margin:6px 0}.record-card small{color:var(--muted);font-size:10px}#toast{position:fixed;bottom:25px;left:calc(50% + 116px);transform:translateX(-50%);background:var(--green);color:#192513;box-shadow:0 8px 30px #0006;border-radius:8px;padding:13px 20px;font-size:12px;z-index:80;display:none;max-width:90vw}#rest-timer{position:fixed;bottom:24px;right:24px;padding:17px 20px;background:#24331f;border:1px solid #58773c;border-radius:10px;z-index:40;box-shadow:0 8px 30px #0006;min-width:230px}#rest-timer strong{font-size:23px;color:var(--green);margin:0 14px}#rest-timer button{background:none;border:0;font-size:11px;color:#c1d5b1}dialog{width:min(660px,calc(100% - 30px));max-height:85vh;border:1px solid #414c3d;border-radius:13px;background:#191f19;color:var(--text);padding:27px}dialog::backdrop{background:#000b;backdrop-filter:blur(4px)}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.modal-head h2{font-size:21px;margin:0}.icon-btn{background:transparent;border:1px solid var(--border);border-radius:6px;width:32px;height:32px;font-size:20px;color:#aabb9f}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:16px}.editor-exercise{border-top:1px solid var(--border);padding:18px 0}.editor-exercise .form-row{grid-template-columns:2fr 1fr 1fr;gap:8px;margin-bottom:10px}.editor-exercise .remove-exercise{border:0;background:none;color:#dba092;font-size:10px;padding:6px 0}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.detail-exercise{border-top:1px solid var(--border);padding:16px 0;font-size:12px}.detail-exercise p{color:var(--muted);line-height:1.7}.detail-badges{display:flex;gap:12px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.settings-actions{display:flex;gap:10px;flex-wrap:wrap}.form-help{font-size:11px;color:var(--muted);line-height:1.8}.mobile-label{display:none}[hidden]{display:none!important}
@media(min-width:1550px){main{padding-top:48px}.hero{min-height:325px}.card{padding:27px}.recent-list{padding:0 23px}}
@media(max-width:1150px){.sidebar{width:200px;padding-left:14px;padding-right:14px}.app-shell{margin-left:200px}main{padding:28px 25px}.topbar{padding:0 25px}.dashboard-grid{grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr);gap:16px}.hero h2{font-size:25px}.training-grid{grid-template-columns:1fr}.training-card .exercise-preview{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.session-layout{grid-template-columns:1fr 225px}.record-list{grid-template-columns:1fr}.page-footer{padding:20px 25px}#toast{left:calc(50% + 100px)}}
@media(max-width:800px){.sidebar{width:78px;padding:25px 10px}.brand{font-size:0;margin:0 10px 35px;gap:0}.brand-dot{display:none}.brand-icon{font-size:33px}.workspace-label,.nav-item span,.sidebar-bottom,.profile>span:not(.avatar){display:none}.nav-item{padding:14px;justify-content:center}.nav-item svg{width:22px;height:22px}.profile{margin-top:auto;justify-content:center}.app-shell{margin-left:78px}.topbar{height:63px}.dashboard-grid{grid-template-columns:1fr}.week-card{min-height:230px}.chart-card{margin-top:16px}.session-layout{grid-template-columns:1fr}.session-aside{position:static;grid-row:1}.session-aside .session-time{display:inline-block;font-size:26px;margin:15px 0}.session-aside .session-info{display:inline-flex;margin:0 15px}.session-aside .btn{margin-top:10px}.stats{gap:10px}.stat{padding:17px}.stat-value{font-size:26px}.record-list{grid-template-columns:1fr 1fr}.history-grid{grid-template-columns:1fr}#toast{left:calc(50% + 39px)}}
@media(max-width:560px){body{font-size:13px}.sidebar{position:fixed;inset:auto 0 0;width:auto;height:71px;border-right:0;border-top:1px solid var(--border);padding:6px 8px;background:#141a15f5;backdrop-filter:blur(12px)}.sidebar .brand,.sidebar .profile{display:none}.sidebar nav{display:flex;gap:2px;justify-content:space-between}.nav-item{display:flex;flex-direction:column;gap:5px;padding:8px 3px;border-radius:6px;flex:1;font-size:8px}.nav-item span{display:block;white-space:nowrap}.nav-item svg{width:18px;height:18px}.app-shell{margin-left:0;padding-bottom:71px}.topbar{padding:0 20px;height:56px}.topbar-right{gap:10px}.save-status{font-size:8px}.topbar .avatar{display:none}main{padding:27px 18px 25px}.page-heading{align-items:flex-start;margin-bottom:25px}.page-heading h1{font-size:27px}.page-heading p{font-size:11px}.page-heading .date-pill{display:none}.page-heading .toolbar .btn{font-size:10px;padding:8px 10px}.stats{grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:18px}.stat{padding:13px 10px}.stat-top{font-size:9px;line-height:1.6;min-height:28px}.stat-top svg{display:none}.stat-value{font-size:24px;gap:4px;margin:9px 0 8px;flex-wrap:wrap}.stat-value small{font-size:9px}.stat-bottom{font-size:8px;line-height:1.6}.card{padding:20px}.hero{min-height:290px}.hero h2{font-size:28px}.hero-bottom{align-items:flex-start;flex-direction:column;gap:13px}.hero-bottom .btn{width:100%}.hero-bottom small{align-self:center}.workout-tags{gap:13px}.recent-list{padding:0 16px}.recent-row{gap:10px}.recent-copy strong{font-size:11px}.recent-copy small{font-size:9px}.recent-right{font-size:10px}.recent-right small{font-size:8px}.page-footer{padding:17px 18px;font-size:7px;letter-spacing:.7px}.page-footer>span:last-child{display:none}.training-card .exercise-preview{display:block}.training-card h2{font-size:21px}.session-aside .session-info{margin:8px 12px 0 0}.sets-table td{padding:5px 3px}.sets-table th{font-size:8px}.check-btn{width:34px}.set-input{font-size:12px}.prescription{font-size:10px}.card-head{gap:8px}.card h2{font-size:14px}.record-list{grid-template-columns:1fr}.evolution-controls .field{width:100%}.form-row{grid-template-columns:1fr}.editor-exercise .form-row{grid-template-columns:1fr 1fr}.editor-exercise .form-row .field:first-child{grid-column:1/-1}dialog{padding:20px}#rest-timer{bottom:85px;left:18px;right:18px;display:flex;align-items:center;justify-content:space-between}#toast{left:50%;bottom:85px;width:max-content;text-align:center}.demo-note{font-size:9px}.history-details{gap:13px;font-size:10px}.full-chart{min-height:210px}.breadcrumb{font-size:10px}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background .15s,border-color .15s}main{animation:appear .25s ease}@keyframes appear{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}

.top-profile{padding:0;background:none;border:0;border-radius:50%}.top-profile .avatar{display:grid!important}
.auth-locked>.sidebar,.auth-locked>.app-shell,.auth-locked>#rest-timer{display:none!important}.auth-gate{min-height:100vh;display:grid;place-items:center;padding:30px 20px;background:radial-gradient(ellipse at 20% 10%,#2d43244d,transparent 65%),#101311}.auth-wrap{width:100%;max-width:430px}.auth-wrap .brand{margin:0 0 65px;font-size:43px}.auth-wrap h1{font-size:33px;letter-spacing:-1px;line-height:1.2;margin:0 0 18px}.auth-wrap>p{font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:25px}.auth-wrap .field{margin:17px 0}.auth-wrap input{min-height:46px}.auth-wrap .btn{width:100%;margin:10px 0;min-height:48px}.auth-toggle{margin:20px 0}.auth-error{font-size:12px;line-height:1.7;color:#f0ad9d;min-height:16px;margin:12px 0}.auth-wrap .form-help{font-size:11px}.auth-locked #toast{left:50%}
