*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--bg: #F5F4EF;--surface: #FFFFFF;--border: #E0DED8;--border-faint: rgba(224, 222, 216, .35);--text: #111111;--muted: #888888;--green: #22C55E;--red: #EF4444;--amber: #F59E0B}body.night{--bg: #0F0F0F;--surface: #1A1A1A;--border: #2A2A2A;--border-faint: rgba(42, 42, 42, .35);--text: #F5F4EF;--muted: #666666}body{font-family:Inter,sans-serif;background:var(--bg);color:var(--text);min-height:100vh;transition:background .2s,color .2s;-webkit-font-smoothing:antialiased}.shell{min-height:100vh}.nav{display:flex;align-items:center;justify-content:space-between;padding:0 24px;height:56px;background:var(--surface);border-bottom:.5px solid var(--border);position:sticky;top:0;z-index:100}.nav-logo{height:26px;display:block}.nav-right{display:flex;align-items:center;gap:10px}.lang-toggle{display:flex;background:var(--bg);border-radius:99px;padding:3px;gap:2px}.lang-toggle button{padding:4px 10px;border-radius:99px;border:none;cursor:pointer;font-size:11px;font-weight:700;letter-spacing:.04em;background:transparent;color:var(--muted);font-family:Inter,sans-serif;transition:background .15s,color .15s}.lang-toggle button.active{background:var(--text);color:var(--bg)}.icon-btn{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;border:.5px solid var(--border);background:transparent;color:var(--text);cursor:pointer;font-family:Inter,sans-serif;transition:background .15s}.page-body{padding:20px 24px 48px;display:flex;flex-direction:column;gap:20px;max-width:1200px;margin:0 auto}.hero{display:flex;align-items:center;gap:16px;padding:8px 0 4px}.avatar{width:48px;height:48px;border-radius:50%;background:var(--text);color:var(--bg);display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;flex-shrink:0;letter-spacing:.02em}.hero-text h1{font-size:20px;font-weight:700;margin-bottom:5px}.hero-text p{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}.level-pill{background:var(--text);color:var(--bg);border-radius:99px;padding:2px 10px;font-size:10px;font-weight:600;letter-spacing:.04em;white-space:nowrap}.card{background:var(--surface);border:.5px solid var(--border);border-radius:14px;box-shadow:0 2px 12px #0000000f;padding:22px 26px}.top-row{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.mid-row{display:grid;grid-template-columns:2fr 1fr;gap:20px;align-items:start}.right-stack{display:flex;flex-direction:column;gap:20px}.bottom-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.label{font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin-bottom:10px}.num{font-variant-numeric:tabular-nums}.big-num{font-size:36px;font-weight:700;line-height:1;margin-bottom:6px;font-variant-numeric:tabular-nums}.unit{font-size:15px;font-weight:400;color:var(--muted)}.sub{font-size:12px;color:var(--muted)}.delta-up{color:var(--green);font-weight:500}.delta-down{color:var(--red);font-weight:500}.num-red{color:var(--red)}.num-amber{color:var(--amber)}.num-green{color:var(--green)}.momentum-xp{font-size:12px;font-weight:500;color:var(--green);margin-bottom:4px}.level-progress{height:3px;background:var(--border);border-radius:99px;overflow:hidden;margin:10px 0 8px}.level-progress div{height:100%;background:var(--green);border-radius:99px;transition:width .4s ease}.level-badge{display:inline-block;background:var(--text);color:var(--bg);border-radius:99px;padding:3px 9px;font-size:10px;font-weight:600;letter-spacing:.03em;white-space:nowrap}.row-flex{display:flex;align-items:center;gap:8px}.cal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:12px;flex-wrap:wrap}.cal-head h3{font-size:14px;font-weight:600}.cal-legend{display:flex;gap:10px;flex-wrap:wrap}.legend-item{display:flex;align-items:center;gap:4px;font-size:10px;color:var(--muted)}.legend-swatch{width:8px;height:8px;border-radius:2px;display:inline-block;flex-shrink:0}.legend-swatch.score-rough{background:#ef444466}.legend-swatch.score-ok{background:#f59e0b80}.legend-swatch.score-good{background:#22c55e73}.legend-swatch.score-elite{background:#22c55ed9}.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.cal-dow{text-align:center;font-size:10px;color:var(--muted);font-weight:500;padding-bottom:6px}.cal-cell{min-height:36px;display:flex;align-items:flex-start;justify-content:flex-start;padding:4px;border-radius:6px;font-size:11px;font-weight:500;font-variant-numeric:tabular-nums;transition:background .2s}.cal-cell.empty{background:transparent}.cal-cell.future{background:var(--border-faint);color:var(--muted)}.cal-cell.score-rough{background:#ef444459;color:#7f1d1d}.cal-cell.score-ok{background:#f59e0b66;color:#78350f}.cal-cell.score-good{background:#22c55e59;color:#14532d}.cal-cell.score-elite{background:#22c55ed9;color:#14532d}.cal-cell.today{outline:1.5px solid var(--text);outline-offset:-1px}body.night .cal-cell.score-rough{color:#fca5a5}body.night .cal-cell.score-ok{color:#fcd34d}body.night .cal-cell.score-good{color:#86efac}body.night .cal-cell.score-elite{color:#bbf7d0}.card-head{display:flex;justify-content:space-between;align-items:center}.tabs{display:flex;background:var(--bg);border-radius:99px;padding:3px;gap:2px}.tabs button{padding:5px 14px;border-radius:99px;font-size:11px;font-weight:600;letter-spacing:.03em;border:none;cursor:pointer;font-family:Inter,sans-serif;background:transparent;color:var(--muted);transition:background .15s,color .15s}.tabs button.active{background:var(--text);color:var(--bg)}.activity-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.activity-name{font-size:11px;font-weight:500;color:var(--muted)}.activity-count{font-size:11px;font-weight:600;color:var(--text)}.week-bars{display:flex;gap:4px;margin-bottom:16px}.week-bar{flex:1;height:28px;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:600;color:var(--muted);background:var(--border);transition:background .2s,color .2s}.week-bar.done{background:var(--green);color:#fff}.week-bar.today-marker{outline:1.5px solid var(--text);outline-offset:-1px}.fiber-row{display:flex;align-items:center;gap:10px;margin-bottom:8px}.fiber-day{width:32px;font-size:10px;color:var(--muted);font-weight:500;flex-shrink:0}.fiber-track{flex:1;height:8px;background:var(--border);border-radius:99px;overflow:hidden}.fiber-fill{height:100%;background:var(--green);border-radius:99px;transition:width .3s ease}.fiber-credits{width:28px;font-size:10px;color:var(--muted);text-align:right;flex-shrink:0;font-variant-numeric:tabular-nums}.if-times{display:flex;align-items:center;gap:8px;margin-bottom:12px}.if-time{font-size:20px;font-weight:700;font-variant-numeric:tabular-nums}.if-arrow{color:var(--muted);font-size:14px;flex:1;text-align:center}.if-track{height:6px;background:var(--border);border-radius:3px;overflow:visible;position:relative;margin-bottom:10px}.if-fill{height:100%;background:var(--green);border-radius:3px;transition:width .4s ease}.if-marker{position:absolute;top:50%;transform:translate(-50%,-50%);width:10px;height:10px;border-radius:50%;background:var(--surface);border:2px solid var(--green);pointer-events:none}.bar-chart{display:flex;align-items:flex-end;gap:6px;height:80px;margin:14px 0 8px}.bar-col{display:flex;flex-direction:column;align-items:center;flex:1;height:100%;justify-content:flex-end}.bar{width:100%;border-radius:4px 4px 0 0;background:var(--border);transition:background .2s}.bar.current{background:var(--text)}.bar-label{font-size:9px;color:var(--muted);margin-top:4px}.weight-foot{display:flex;justify-content:space-between;align-items:flex-end}.label-tiny{font-size:10px;color:var(--muted);margin-bottom:2px}.summary-body{font-size:13px;line-height:1.65;color:var(--text)}.summary-divider{border:none;border-top:.5px solid var(--border);margin:14px 0}.focus-label{font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}.focus-text{font-size:13px;line-height:1.65;color:var(--text)}.pill-tab{padding:5px 14px;border-radius:99px;font-size:12px;font-weight:500;border:none;cursor:pointer;transition:background .15s,color .15s}.pill-tab.active{background:var(--text);color:var(--bg)}.pill-tab:not(.active){background:transparent;color:var(--muted)}
