*{box-sizing:border-box}body{margin:0;background:#f2f7f7;color:#18313a;font-family:system-ui,Arial}.app{max-width:620px;margin:auto;min-height:100vh;padding-bottom:88px;background:#f8fbfb}header{height:68px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid #e5eeee}.logo{display:flex;gap:9px;align-items:center;color:#087f8c}header small{color:#788b90;font-size:11px}main{padding:20px}.hero{padding:25px;border-radius:23px;background:linear-gradient(135deg,#087f8c,#15596a);color:#fff}.hero small{letter-spacing:1px;color:#cce8e8}.hero h1{font-size:34px;line-height:1.1;margin:15px 0}.hero p{font-size:13px}h1{font-size:27px;margin:8px 0 12px}h2{font-size:20px;margin:25px 0 12px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.stats button{border:1px solid #e2ebeb;background:#fff;border-radius:16px;padding:14px 5px;display:grid;justify-items:start;gap:7px;color:#087f8c;font-size:11px}.stats b{font-size:23px;color:#18313a}.welcome-card,.builder,.routine-card{background:#fff;border:1px solid #e2ebeb;border-radius:18px;padding:17px;margin-top:16px}.welcome-card h2,.builder h2{margin:0 0 8px}.welcome-card p,.intro{color:#657b80;font-size:13px;line-height:1.5}.primary{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#087f8c;color:#fff;border:0;padding:10px 13px;border-radius:12px;font-weight:600;font-size:12px}.primary:disabled{opacity:.45}.secondary{background:#eaf4f3;color:#087f8c;border:0;padding:10px 13px;border-radius:12px;font-weight:600;font-size:12px}aside{background:#e7f2f1;color:#526d70;padding:15px;border-radius:15px;margin-top:17px;font-size:12px;line-height:1.5}.heading{display:flex;align-items:center;justify-content:space-between}.count{font-size:12px;color:#71868a}.item{display:flex;align-items:center;gap:13px;width:100%;padding:15px;margin:10px 0;background:#fff;border:1px solid #e5eeee;border-radius:16px;text-align:left;color:#087f8c}.item span{display:grid;gap:5px;flex:1;color:#18313a}.item small{font-size:12px;color:#75888d;line-height:1.4}.chosen{border:1px solid #087f8c;background:#eef8f7}.search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #dce8e8;border-radius:13px;padding:0 12px;color:#71868a;margin:14px 0}.search input{border:0!important;margin:0!important;padding:13px 0!important;outline:none}.filters{display:flex;gap:7px;overflow-x:auto;padding:2px 0 12px}.filter{white-space:nowrap;border:1px solid #dce8e8;background:#fff;color:#5e7479;border-radius:20px;padding:7px 11px;font-size:11px}.active-filter{background:#e4f2f1;border-color:#087f8c;color:#087f8c;font-weight:700}.exercise-card{display:flex;gap:12px;background:#fff;border:1px solid #e5eeee;border-radius:17px;padding:14px;margin:10px 0}.exercise-icon{width:38px;height:38px;flex:none;border-radius:12px;background:#eaf4f3;color:#087f8c;display:grid;place-items:center}.exercise-content{min-width:0;flex:1}.exercise-top,.exercise-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px}.category,.level{font-size:10px;color:#71868a}.level{background:#edf5ef;color:#53765b;padding:4px 7px;border-radius:10px}.exercise-card h3,.routine-card h3{font-size:15px;margin:8px 0}.exercise-card p{font-size:12px;line-height:1.5;color:#61777c;margin:0 0 9px}.tags{display:flex;gap:5px;flex-wrap:wrap}.tags span{font-size:10px;background:#f0f5f5;color:#63797d;padding:4px 7px;border-radius:8px}.exercise-bottom{margin-top:12px}.exercise-bottom small,.routine-heading small{font-size:11px;color:#71868a}.add{display:inline-flex;align-items:center;gap:4px;border:1px solid #cfe3e1;background:#fff;color:#087f8c;border-radius:10px;padding:7px 9px;font-size:11px}.selected-add{background:#e7f4f0}.selection-bar{position:sticky;bottom:78px;background:#183f48;color:#fff;padding:12px;border-radius:14px;display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-top:12px}.builder label{font-size:12px;color:#5c7378}.builder-actions{display:flex;justify-content:space-between;gap:8px}.routine-heading{display:flex;align-items:center;gap:10px;color:#087f8c}.routine-heading div{flex:1;color:#18313a}.routine-heading h3{margin:0 0 4px}.remove{border:0;background:transparent;color:#9a6c6c;font-size:22px}.routine-card ul{padding-left:20px;color:#61777c;font-size:12px;line-height:1.8}.empty,.empty-state{color:#71868a;text-align:center;padding:24px 10px;font-size:13px}.empty-state{display:grid;justify-items:center;gap:8px;background:#fff;border:1px dashed #cbdcdb;border-radius:16px;margin-top:20px}.empty-state svg{color:#087f8c}.empty-state p{margin:0 0 8px}.builder input{width:100%;padding:12px;border:1px solid #dce8e8;border-radius:11px;font-size:14px;margin:8px 0 12px}nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:min(620px,100%);height:76px;background:#fff;border-top:1px solid #e5eeee;display:grid;grid-template-columns:repeat(5,1fr)}nav button{border:0;background:#fff;color:#829397;display:grid;justify-items:center;align-content:center;gap:4px}nav .on{color:#087f8c;font-weight:700}nav small{font-size:10px}@media(min-width:620px){main{padding:24px}}.edit-routine{display:grid;place-items:center;border:0;background:#eaf4f3;color:#087f8c;border-radius:9px;width:30px;height:30px;cursor:pointer}.remove{cursor:pointer}.video-link,.routine-exercises a{font-size:11px;color:#087f8c;text-decoration:none;font-weight:600}.routine-progress{margin:14px 0 8px;font-size:11px;color:#71868a}.progress-track{height:7px;background:#eaf1f1;border-radius:9px;overflow:hidden;margin-top:7px}.progress-track span{display:block;height:100%;background:#087f8c;border-radius:9px}.routine-exercises{list-style:none;padding:0!important}.routine-exercises li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 0;border-bottom:1px solid #edf2f2}.routine-exercises label{display:flex;align-items:center;gap:8px;font-size:12px}.routine-exercises input{accent-color:#087f8c}.done-exercise{text-decoration:line-through;color:#819294}.metric-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.metric-form label,.builder>label{display:grid;gap:6px;font-size:12px;color:#5c7378}.metric-form input,.metric-form select,.builder>label input{width:100%;min-width:0;padding:11px;border:1px solid #dce8e8;border-radius:10px;background:#fff;font:inherit}.builder h2{display:flex;align-items:center;gap:8px}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}.metric-grid article{background:#fff;border:1px solid #e2ebeb;border-radius:14px;padding:12px;display:grid;gap:7px}.metric-grid small{font-size:10px;color:#71868a}.metric-grid b{font-size:19px}.history-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #edf2f2;font-size:12px}.history-row span{display:grid;gap:4px}.history-row small{color:#71868a;font-size:11px;line-height:1.4}@media(max-width:390px){nav small{font-size:9px}.metric-grid b{font-size:16px}.metric-grid small{font-size:9px}}.mini-chart{height:155px;display:flex;align-items:flex-end;gap:8px;padding:18px 4px 0;border-bottom:1px solid #dce8e8}.chart-column{height:100%;flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px}.chart-column b{font-size:10px;color:#526c70;font-weight:600}.chart-column span{display:block;width:min(28px,75%);min-height:6px;background:#168b91;border-radius:7px 7px 2px 2px}.chart-column small{font-size:9px;color:#71868a;white-space:nowrap}.chart-caption{font-size:10px;color:#71868a;margin:9px 0 0}.training-panel{background:#fff;border:1px solid #b9d9d6;border-radius:18px;padding:17px;margin:14px 0;box-shadow:0 8px 24px #174b4b12}.training-top,.training-actions{display:flex;align-items:center;justify-content:space-between;gap:9px}.training-top span{font-size:10px;letter-spacing:1px;color:#087f8c;font-weight:800}.training-panel h2{margin:12px 0 4px}.training-panel h3{font-size:19px;margin:16px 0 6px}.training-panel>p:not(.intro){font-size:12px;line-height:1.5;color:#61777c}.training-panel .metric-form{margin:18px 0}.set-counter{background:#edf6f5;padding:12px;border-radius:12px}.set-button{width:100%;min-height:48px;font-size:14px}.rest-timer{display:grid;justify-items:center;gap:8px;padding:16px;background:#eaf4f3;border-radius:14px;margin:12px 0}.rest-timer b{font-size:34px;color:#087f8c;font-variant-numeric:tabular-nums}.rest-timer span{font-size:12px;color:#61777c}.training-actions{margin-top:16px}.start-training{width:100%;margin:6px 0 8px;min-height:42px}nav{grid-template-columns:repeat(6,1fr)}@media(max-width:390px){nav small{font-size:8px}}
