:root{
  --bg:#0b0f0e; --panel:#121816; --panel2:#18211e; --text:#f3f6f4;
  --muted:#98a49f; --line:#26312d; --accent:#b8ff4d; --accent2:#8fd934;
}
*{box-sizing:border-box} body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,input{font:inherit}.sidebar{position:fixed;inset:0 auto 0 0;width:240px;background:#0e1311;border-right:1px solid var(--line);padding:28px 18px;display:flex;flex-direction:column}
.brand{font-size:22px;font-weight:900;letter-spacing:1px;padding:0 12px 40px}.brand span{color:var(--accent)}
nav{display:grid;gap:8px}.nav-btn,.ghost{border:0;background:transparent;color:var(--muted);padding:13px 14px;text-align:left;border-radius:10px;cursor:pointer}.nav-btn:hover,.nav-btn.active{background:var(--panel2);color:var(--text)}.nav-btn.active{box-shadow:inset 3px 0 var(--accent)}
.sidebar-bottom{margin-top:auto}.ghost{font-size:13px}
.main{margin-left:240px;padding:34px 5vw 60px;max-width:1500px}.topbar{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:28px}.eyebrow{font-size:11px;letter-spacing:1.7px;color:var(--accent);font-weight:800;margin:0 0 7px}.topbar h1{font-size:34px;margin:0}.date{color:var(--muted);font-size:14px}
.page{display:none}.page.active{display:block}.card{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:22px}.hero{display:flex;justify-content:space-between;align-items:center;min-height:210px;background:linear-gradient(135deg,#15201b,#101512)}
.hero h2{font-size:30px;margin:4px 0 8px}.hero p:not(.eyebrow){color:var(--muted);max-width:600px}.hero-stat{text-align:center;padding:20px 35px;border-left:1px solid var(--line)}.hero-stat strong{display:block;font-size:48px;color:var(--accent)}.hero-stat span{color:var(--muted)}
.primary{border:0;background:var(--accent);color:#10150e;padding:12px 18px;border-radius:9px;font-weight:800;cursor:pointer;margin-top:14px}.primary:hover{background:#caff78}.full{width:100%}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:16px 0}.stat span,.stat small{display:block;color:var(--muted)}.stat strong{font-size:28px;display:block;margin:8px 0 4px}.stat small{font-size:12px}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.section-head h2,.section-head h3{margin:0}.section-head span{font-size:12px;color:var(--muted)}
.bars{height:190px;display:flex;align-items:end;justify-content:space-around;gap:10px}.bar-wrap{height:100%;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:8px;flex:1}.bar{width:100%;max-width:42px;background:var(--accent);border-radius:7px 7px 2px 2px;min-height:8px}.bar-wrap span{font-size:11px;color:var(--muted)}
.exercise{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line)}.exercise:last-child{border:0}.exercise strong{font-size:14px}.exercise small{display:block;color:var(--muted);margin-top:3px}
.page-section{margin-bottom:20px}.workout-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.workout-card{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:22px}.workout-card .tag{display:inline-block;background:var(--panel2);color:var(--accent);font-size:11px;padding:6px 9px;border-radius:99px}.workout-card h3{margin:18px 0 6px}.workout-card p{color:var(--muted);font-size:14px}.workout-meta{display:flex;gap:15px;color:var(--muted);font-size:12px;margin:16px 0}
.chart{height:260px;display:flex;align-items:flex-end;gap:10px;border-bottom:1px solid var(--line);padding:15px 5px}.point-wrap{flex:1;height:100%;display:flex;flex-direction:column;justify-content:end;align-items:center}.point{width:12px;height:12px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 5px rgba(184,255,77,.12)}.line-fill{height:3px;background:var(--accent);width:100%;transform:rotate(-4deg);transform-origin:center}.point-wrap label{font-size:10px;color:var(--muted);margin-top:10px}.progress-log{margin-top:16px}.input-row{display:flex;gap:10px}.input-row input{flex:1;background:#0d1210;border:1px solid var(--line);color:var(--text);border-radius:9px;padding:12px}.input-row .primary{margin:0}
.modal{position:fixed;inset:0;background:rgba(0,0,0,.7);display:grid;place-items:center;padding:20px;z-index:5}.modal.hidden{display:none}.modal-box{position:relative;background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:28px;width:min(520px,100%);max-height:85vh;overflow:auto}.close{position:absolute;right:18px;top:14px;border:0;background:transparent;color:var(--muted);font-size:28px;cursor:pointer}.modal-box h2{margin:0 0 18px}.check{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.check input{accent-color:var(--accent);width:18px;height:18px}
@media(max-width:900px){.sidebar{position:static;width:auto;height:auto;border-right:0;border-bottom:1px solid var(--line);padding:15px}.brand{padding:5px 10px 12px}.sidebar nav{display:flex}.sidebar-bottom{display:none}.main{margin:0;padding:24px 16px}.stats-grid{grid-template-columns:repeat(2,1fr)}.two-col,.workout-grid{grid-template-columns:1fr}.hero{align-items:flex-start;gap:15px;flex-direction:column}.hero-stat{border-left:0;border-top:1px solid var(--line);width:100%;padding:14px}.topbar{align-items:flex-start;gap:10px}.date{display:none}}
