:root{font-family:Inter,"Microsoft YaHei","PingFang SC",sans-serif;color:#eef1ec;background:#0c100f;font-synthesis:none;--muted:#a2aaa5;--line:#29302c;--green:#bef264;--purple:#b9a6f9;--blue:#7cbdf3}*{box-sizing:border-box}body{margin:0}button,input,a{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--green);outline-offset:4px}[hidden]{display:none!important}#shell{display:grid;grid-template-columns:226px 1fr;min-height:100vh}aside{border-right:1px solid var(--line);padding:34px 22px;display:flex;flex-direction:column;background:#111613}.brand{display:flex;gap:12px;align-items:center;font-weight:700;font-size:20px}.brand-icon{display:grid;place-items:center;width:40px;height:40px;background:var(--green);color:#15200e;border-radius:12px;font-size:36px;line-height:1}.brand small{display:block;font-size:10px;letter-spacing:1.5px;color:var(--muted);margin-top:6px}.nav-label{font-size:12px;color:var(--muted);margin:55px 14px 16px}nav{display:grid;gap:8px}nav a{display:flex;gap:14px;align-items:center;padding:14px;border-radius:9px;color:var(--muted);font-size:18px}nav a span{font-size:15px}nav a.active{background:#27351c;color:var(--green)}nav a:hover{background:#202822}.sidebar-bottom{margin-top:auto;padding-top:80px;font-size:14px;color:var(--muted);line-height:1.8}.privacy{border-top:1px solid var(--line);padding-top:22px;color:#dae1d9}main{padding:0 42px;min-width:0;max-width:1600px;width:100%;margin:auto}header{height:88px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:16px;font-size:14px}.breadcrumb{color:var(--muted)}.breadcrumb span{margin-left:14px}.breadcrumb span:last-child{color:#eef1ec}.header-right{display:flex;align-items:center;gap:18px;color:var(--muted)}.secondary,.primary{border:1px solid var(--line);border-radius:8px;padding:11px 16px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;background:#1a211d;color:#eef1ec;white-space:nowrap}.primary{background:var(--green);border-color:var(--green);color:#16210d;font-weight:700}.secondary:hover{background:#2d382e}.primary:hover{background:#d0fc86}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:34px 0 26px}.eyebrow{font-size:12px;color:var(--green);letter-spacing:1.3px;margin:0 0 12px}h1{font-size:30px;letter-spacing:-1px;margin:0 0 12px;font-weight:650}h2{font-size:18px;margin:0;font-weight:600}h3{font-size:15px;font-weight:500;margin:0;color:#d4dbd4}.muted{color:var(--muted);font-size:14px;line-height:1.7;margin:0}.banner{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #394c25;background:#1a2416;padding:16px 20px;border-radius:10px;margin-bottom:24px}.banner strong{font-size:14px;color:#d9ebb9}.banner p{margin:7px 0 0;font-size:13px;color:#adbba0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card,.panel{background:#151b17;border:1px solid var(--line);border-radius:14px;padding:24px}.card-top,.panel-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.tag{font-size:12px;background:#232e20;color:#bbd69d;padding:5px 8px;border-radius:5px}.card-body{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:24px 0}.big-number{font-size:46px;font-weight:600;letter-spacing:-2px;line-height:1.15;font-variant-numeric:tabular-nums}.unit{font-size:14px;color:var(--muted);margin-left:7px;letter-spacing:0}.card-note{font-size:13px;color:var(--muted);margin:8px 0 0}.ring{width:94px;height:94px;flex-shrink:0;transform:rotate(-90deg)}.ring circle{fill:none;stroke:#2b332d;stroke-width:7}.ring .fill{stroke:var(--green);stroke-linecap:round}.purple .ring .fill{stroke:var(--purple)}.blue .ring .fill{stroke:var(--blue)}.card-foot{border-top:1px solid var(--line);padding-top:14px;font-size:13px;color:var(--muted);line-height:1.6}.green .big-number{color:var(--green)}.purple .big-number{color:var(--purple)}.blue .big-number{color:var(--blue)}.grid{display:grid;grid-template-columns:1.65fr 1fr;gap:20px;margin-top:22px}.panel-top{margin-bottom:22px}.switch{display:flex;background:#0e1410;padding:3px;border-radius:7px}.switch button{font-size:12px;padding:6px 10px;background:transparent;border:0;color:var(--muted);border-radius:5px}.switch button.selected{background:#303a2b;color:var(--green)}.chart{width:100%;height:190px;overflow:visible}.chart .gridline{stroke:#2a322c;stroke-dasharray:4 5}.chart text{fill:#abb3ad;font-size:12px}.chart polyline{fill:none;stroke:var(--green);stroke-width:3;stroke-linejoin:round}.chart circle{fill:var(--green);stroke:#182219;stroke-width:2}.chart-labels{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;margin-left:32px;margin-top:4px}.legend{font-size:13px;color:var(--muted);margin:20px 0 0}.legend::before{content:'';display:inline-block;background:var(--green);width:8px;height:8px;border-radius:50%;margin-right:8px}.vitals{display:grid;grid-template-columns:repeat(2,1fr);gap:0 20px}.vital{padding:13px 0;border-bottom:1px solid var(--line)}.vital:nth-last-child(-n+2){border:0}.vital p{font-size:13px;color:var(--muted);margin:0 0 10px}.vital strong{font-size:24px;font-weight:500;font-variant-numeric:tabular-nums}.vital small{font-size:12px;color:var(--muted);margin-left:6px}.sleep-bar{display:flex;height:24px;border-radius:6px;overflow:hidden;margin:22px 0}.sleep-bar svg{width:100%;height:24px}.stage-row{display:flex;justify-content:space-between;margin:14px 0;font-size:14px;color:#c1c8c2}.stage-row i{display:inline-block;width:8px;height:8px;margin-right:10px;border-radius:2px;background:#b9a6f9}.stage-row:nth-child(2) i{background:#8670cc}.stage-row:nth-child(3) i{background:#d2c4fb}.stage-row:nth-child(4) i{background:#536050}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:12px;font-weight:400;color:var(--muted);padding:0 14px 15px 0}td{border-top:1px solid var(--line);padding:18px 14px 18px 0;font-size:14px}td small{display:block;color:var(--muted);font-size:12px;margin-top:6px}.workout-icon{display:inline-grid;place-items:center;background:#253220;color:var(--green);height:34px;width:34px;border-radius:8px;margin-right:10px}.metric-choice{display:flex;gap:8px;margin-bottom:22px;flex-wrap:wrap}.metric-choice button.selected{color:var(--green);border-color:#5d713d}.empty,.loading{padding:40px 20px;text-align:center;color:var(--muted);line-height:1.8}.full{margin-top:22px}footer{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#8b978d;line-height:1.8;padding:28px 0}.text-button{border:0;background:none;padding:0;color:var(--muted);font-size:14px}#notice{margin-top:20px;padding:14px 18px;background:#302b1a;border:1px solid #65562b;border-radius:8px;font-size:14px;line-height:1.7}dialog{width:min(570px,calc(100% - 32px));background:#1a221c;color:#eef1ec;border:1px solid #43513b;border-radius:16px;padding:32px}dialog::backdrop{background:#000b}dialog li{font-size:15px;line-height:1.9;margin:14px 0}dialog ol{padding-left:22px}dialog .primary{margin-top:20px}code{overflow-wrap:anywhere;color:var(--green);font-size:13px}.close{float:right;border:0;background:none;color:#bcc7bd;font-size:28px}#login{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(420px,100%);padding:38px;border:1px solid var(--line);border-radius:18px;background:#151d16}.login-card .brand-icon{margin-bottom:30px}.login-card label{display:block;margin:28px 0 10px;font-size:14px}.login-card input{width:100%;padding:13px;color:white;background:#0b110c;border:1px solid #3a4835;border-radius:8px}.login-card button{width:100%;margin-top:18px}#loginError{color:#ffc5ab;font-size:14px}.help{margin-top:16px;color:var(--muted);font-size:14px;line-height:1.9}.panel .big-number{margin:24px 0 12px}
@media(min-width:1600px){main{padding:0 54px}}@media(max-width:1150px){#shell{grid-template-columns:180px 1fr}aside{padding:30px 16px}main{padding:0 24px}.card{padding:18px}.ring{width:70px;height:70px}.big-number{font-size:38px}.grid{grid-template-columns:1.3fr 1fr}}@media(max-width:900px){#shell{display:block}aside{padding:18px 22px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:18px}.brand small,.nav-label,.sidebar-bottom{display:none}nav{display:flex;margin-top:20px;gap:6px}nav a{padding:10px 12px;flex:1;justify-content:center;white-space:nowrap}nav a span{font-size:14px}.brand-icon{width:32px;height:32px}.grid{grid-template-columns:1fr 1fr}header{height:72px}.cards{gap:12px}.card-body{flex-wrap:wrap}.ring{width:62px;height:62px}}@media(max-width:640px){main{padding:0 18px}aside{padding:18px}nav a{gap:7px;padding:10px 5px}nav a span{font-size:13px}.breadcrumb{display:none}header{justify-content:space-between;height:66px}.header-right{width:100%;justify-content:space-between;gap:10px}.page-heading{margin:28px 0 22px;align-items:flex-start;flex-direction:column;gap:16px}h1{font-size:27px}.page-heading .primary{align-self:stretch}.banner{align-items:flex-start;flex-direction:column}.cards{grid-template-columns:1fr}.card{padding:20px}.card-body{margin:18px 0}.big-number{font-size:46px}.ring{width:85px;height:85px}.grid{grid-template-columns:1fr}.panel{padding:20px}.panel-top{flex-wrap:wrap}.card-foot{font-size:14px}.card-note{font-size:14px}footer{flex-direction:column}.stage-row{font-size:14px}}

.panel,.card{min-width:0}@media(max-width:380px){nav{display:grid;grid-template-columns:1fr 1fr}.header-right{flex-wrap:wrap}header{height:auto;min-height:66px;padding:14px 0}}

.report-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}.report-metric{padding:18px;background:#111711;border:1px solid var(--line);border-radius:12px}.report-metric strong{font-size:28px;color:var(--green)}#reportPreview{margin-top:18px;min-height:46px}@media(max-width:640px){.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.report-metric{padding:14px}#shell nav{grid-template-columns:repeat(5,minmax(0,1fr))}#shell nav a span{font-size:12px}}

.report-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.9;margin-top:24px}.report-consent{display:flex;gap:12px;align-items:center;font-size:14px;line-height:1.7;margin:20px 0}.report-consent input{width:20px;height:20px;flex-shrink:0}
