:root{font-family:Arial,Helvetica,sans-serif;color:#252b28;background:#dfe6e0;font-size:16px;--muted:#69726c;--lime:#dfefa4;--card:rgba(255,255,255,.74);--line:#e4e9e3}*{box-sizing:border-box}body{margin:0;padding:20px}button,input,textarea,select{font:inherit}button,select,.upload{cursor:pointer}button,a,input,textarea,select{touch-action:manipulation}button{color:inherit;border:0;background:none}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #8eaa54;outline-offset:3px}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.shell{max-width:1500px;margin:auto;border:7px solid #282d29;border-radius:34px;background:#eaf0eb;padding:24px 26px 15px;min-height:calc(100vh - 40px)}header{display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:600;letter-spacing:-.7px}.logo{font-size:36px;font-weight:400}nav{display:flex;padding:5px;background:#f8faf7;border-radius:30px;gap:3px}nav button{padding:10px 20px;border-radius:25px;font-size:14px}nav button.active{background:#292e29;color:white}.avatar{width:40px;height:40px;display:grid;place-items:center;background:#dce8cd;border-radius:50%;font-size:16px}.heading{display:flex;justify-content:space-between;align-items:center;margin:34px 0 26px}.eyebrow{font-size:12px;letter-spacing:2px;color:#69746b;margin-bottom:11px}h1{font-size:36px;font-weight:500;letter-spacing:-1.5px;margin:0 0 9px}p{color:var(--muted);font-size:14px;line-height:1.65;margin:9px 0 16px}.heading p{font-size:16px;margin:0}h2{font-size:18px;font-weight:500;margin:0 0 14px;letter-spacing:-.4px}h3{font-size:16px;font-weight:500}.date{font-size:14px;background:#f7faf5;padding:11px 16px;border-radius:24px}.dashboard{display:grid;grid-template-columns:minmax(210px,.9fr) minmax(340px,1.7fr) minmax(265px,1.05fr);gap:16px}.card{background:var(--card);border:1px solid rgba(255,255,255,.7);border-radius:20px;padding:22px}.metrics,aside{display:flex;flex-direction:column;gap:15px}.metric{flex:1;min-height:174px}.card-label{display:flex;justify-content:space-between;align-items:center;font-size:17px;letter-spacing:-.4px;gap:12px}.card-label>span{font-size:22px;color:#75816c}.metric-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:29px}.metric small{display:block;color:var(--muted);font-size:13px;line-height:1.6}strong{font-size:35px;font-weight:500;letter-spacing:-1px;display:block}.gauge{height:55px;width:104px;border-radius:100px 100px 0 0;border:16px solid #d8e7da;border-bottom:0;position:relative}.gauge span{position:absolute;bottom:0;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:10px;color:#61735e}.sleep-bars{display:flex;height:57px;align-items:end;gap:4px}.sleep-bars i{width:13px;background:#d3e2ca;border-radius:5px;height:40%}.sleep-bars i:nth-child(2){height:65%}.sleep-bars i:nth-child(3){height:100%;background:#b9d4bd}.sleep-bars i:nth-child(4){height:85%;background:repeating-linear-gradient(130deg,#d3dfd4 0px,#d3dfd4 1px,transparent 1px,transparent 4px)}.sleep-bars i:nth-child(5){height:55%}.body-meta{display:flex;flex-direction:column;text-align:right;padding-bottom:5px}.body-meta b{font-size:21px;font-weight:500}.fresh{font-size:12px;color:#747e74;margin-top:12px;line-height:1.5}.center{display:flex;flex-direction:column;gap:16px;min-width:0}.hero{height:300px;position:relative;overflow:hidden;border-radius:20px;padding:22px 16px}.hero-copy{position:relative;z-index:2}.pill{background:rgba(255,255,255,.8);border-radius:30px;padding:8px 12px;font-size:12px;display:inline-block}.hero h2{font-size:33px;line-height:1.16;font-weight:400;letter-spacing:-1.5px;margin:24px 0 12px;max-width:300px}.hero p{color:#526653}.hero-foot{position:absolute;bottom:12px;left:16px;font-size:11px;color:#637761;letter-spacing:.2px}.orb{position:absolute;width:240px;height:240px;right:-30px;top:27px;transform:rotate(-28deg);opacity:.8}.orb-core{position:absolute;inset:25px;border-radius:50%;background:radial-gradient(circle at 25% 20%,#fff 0%,#e7f4db 25%,#b8cda7 50%,#d3e0bf 66%,#eff4e7 80%);box-shadow:inset -8px -12px 20px #8ea88a66,0 25px 35px #75906c20}.orbit{position:absolute;inset:3px;z-index:1;border:1px solid #fbfff0;border-radius:50%;box-shadow:3px 3px 9px #9eae8366}.orbit.one{transform:rotateX(57deg) rotateY(20deg);background:#eef7db22}.orbit.two{transform:rotateY(60deg) rotateX(-10deg)}.orbit.three{inset:35px -15px;transform:rotate(35deg)}.trend{flex:1;min-height:248px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.section-head h2{margin:0}select{border:1px solid var(--line);border-radius:20px;padding:9px 30px 9px 12px;background:#fff;color:#394237;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8'%3E%3Cpath d='m1 2 4 4 4-4' stroke='%23555' fill='none'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;font-size:13px}.legend{display:flex;align-items:center;gap:6px;color:#788174;font-size:12px;margin:20px 0 8px}.dot{width:6px;height:6px;background:#93aa78;border-radius:50%}.chart{height:156px;position:relative;background:repeating-linear-gradient(to bottom,transparent 0,transparent 37px,#e8ede7 38px,transparent 39px);display:flex;align-items:center;justify-content:center}.chart svg{width:100%;height:100%}.empty-chart{text-align:center;color:#7b8576;font-size:14px;line-height:1.6;background:#f8faf6b8;padding:12px}.insight-intro{flex:1}.insight-icon{font-size:35px;margin:20px 0 15px;color:#526c3a}.insight-intro h2{font-size:22px;line-height:1.25}.text-button{font-size:14px;padding:8px 0;text-decoration:underline;text-underline-offset:4px;color:#4f6240}.quick{flex:1}.quick>p{font-size:13px}.chips{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0}.chips button{font-size:13px;background:#f4f7ef;border:1px solid #e1e8da;border-radius:30px;padding:9px 12px}.chips button:hover{background:#e4edce}.primary{background:var(--lime);border:1px solid #d4e396;border-radius:26px;font-size:14px;padding:13px 17px}.secondary{border:1px solid #d9e1d5;border-radius:26px;padding:12px 17px;background:#f7faf4;font-size:14px;margin-top:10px}.wide{width:100%;display:block}.bottom-strip{display:flex;justify-content:space-between;align-items:center;margin-top:16px;color:#77816f;font-size:12px}footer{display:flex;justify-content:space-between;margin-top:25px;padding-top:15px;border-top:1px solid #dce4d8;font-size:12px;color:#74816d}.journal-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.sources-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.source-logo{width:55px;height:55px;border-radius:16px;background:#252c26;color:white;display:grid;place-items:center;font-size:30px;margin-bottom:22px}.source-logo.health{background:#fde9e6;color:#eb867e}.source-logo.scale{background:#e2edc8;color:#6e8858}.status{display:inline-block;font-size:13px;padding:7px 10px;border-radius:20px;background:#edf0e8;margin:6px 0 16px}.hint{font-size:13px}.upload{display:block;text-align:center}.upload input{display:block;width:100%;margin-top:10px;font-size:12px}.method{border-radius:15px;background:#f0f4e9;padding:15px 18px;margin-top:22px}.method h3{margin:0 0 7px}.method p{margin:0}.footnote{font-size:13px;text-align:center}form label{display:block;margin:18px 0 8px;font-size:14px}form select,textarea,input[type=datetime-local]{width:100%;font-size:16px;padding:12px;border:1px solid #dce3d7;border-radius:12px;background:#fbfcfa}textarea{resize:vertical}form button{margin-top:18px}.event{padding:16px 0;border-bottom:1px solid #e3e9df}.event time{font-size:12px;color:#77816f}.event p{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 0;color:#3a4536}.event b{font-weight:500;font-size:15px;display:block;margin-top:5px}#notice{background:#e4edce;border-radius:12px;padding:12px 16px;font-size:14px;margin-top:16px;line-height:1.5}#notice.error{background:#f8e4dc}.empty{padding:36px 12px;color:#74806b;text-align:center;line-height:1.7}.insight-row{border-bottom:1px solid #e3e9df;padding:22px 0}.insight-row strong{font-size:26px}.insight-row p{margin-bottom:0}@media(min-width:1450px){.hero{height:330px}.metric{min-height:185px}}@media(max-width:1050px){.dashboard{grid-template-columns:230px 1fr}.dashboard aside{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.orb{right:-55px}.sources-grid{grid-template-columns:1fr}.heading{margin-top:25px}}@media(max-width:650px){body{padding:0;background:#eaf0eb}.shell{border:0;border-radius:0;padding:19px 16px 90px;min-height:100vh}header{gap:12px}.brand{font-size:18px}.logo{font-size:30px}.avatar{width:35px;height:35px}nav{position:fixed;bottom:max(12px,env(safe-area-inset-bottom));left:12px;right:12px;z-index:10;box-shadow:0 4px 30px #3f50352b;justify-content:space-between;border:1px solid #e1e8dc;background:#fafcf7}nav button{padding:13px 12px;font-size:13px;flex:1}.heading{margin:30px 0 22px;align-items:start}h1{font-size:30px}.eyebrow{font-size:10px;letter-spacing:1.8px}.heading p{font-size:14px;max-width:230px}.date{font-size:11px;padding:7px 9px;margin-top:26px}.dashboard{display:flex;flex-direction:column;gap:13px}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px}.metric{padding:16px;min-height:157px}.metric:last-child{grid-column:1/-1;min-height:120px}.metric:last-child .metric-bottom{margin-top:14px}.card-label{font-size:14px}.card-label>span{font-size:20px}.metric-bottom{margin-top:23px;gap:5px}.metric small{font-size:11px}strong{font-size:28px}.gauge{width:65px;height:37px;border-width:10px}.gauge span{font-size:8px}.sleep-bars{height:37px;gap:3px}.sleep-bars i{width:8px}.fresh{font-size:10px}.center{gap:13px}.hero{height:250px;padding:20px 14px}.hero h2{font-size:30px;margin-top:20px}.hero p{font-size:13px}.hero .pill{font-size:10px}.hero-foot{font-size:10px;bottom:10px}.orb{width:210px;height:210px;right:-36px;top:33px;opacity:.65}.dashboard aside{display:flex;gap:13px}.card{border-radius:18px}.insight-intro{display:block}.insight-icon{float:right;margin:18px 0}.insight-intro h2{margin-top:20px}.quick{padding:20px}.chips button{padding:11px 14px;font-size:14px}.bottom-strip{align-items:start;gap:15px;font-size:11px}.bottom-strip span{max-width:140px;line-height:1.6}.bottom-strip button{font-size:12px}.journal-grid{grid-template-columns:1fr}.section-head h2{font-size:16px}.section-head select{font-size:12px}.sources-grid{gap:13px}footer{font-size:10px;gap:12px}footer span{text-align:right}p{font-size:14px}.metric .body-meta small{font-size:12px}.trend{padding:19px}.chart{height:175px}.page>.card{padding:20px}}

.vitals{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px}.vital{background:#f8faf5b5;border-radius:16px;padding:16px}.vital small{font-size:13px;color:#6b7861}.vital strong{font-size:24px;margin-top:8px}.vital span{display:block}@media(max-width:650px){.vitals{grid-template-columns:1fr 1fr}.vital{padding:14px}.vital strong{font-size:21px}}

/* Timeline: true time intervals, scrollable 24-hour grid, no inferred duration. */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.optional{font-size:13px;color:#74806c;margin-left:6px}.metrics-details,.recent-workouts,.day-metrics-card{margin-top:18px}.metrics-details summary{font-size:17px;cursor:pointer;padding:2px 0;line-height:1.5}.day-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin-top:20px}.day-metric{background:#f1f5ec;border:1px solid #e5ecde;border-radius:14px;padding:16px;min-width:0}.day-metric-label{font-size:14px;line-height:1.5;display:block;color:#4e5f45}.day-metric strong{font-size:24px;margin:9px 0;letter-spacing:-.5px}.day-metric small{display:block;font-size:12px;line-height:1.6;color:#6b7861;overflow-wrap:anywhere}.workout-row{width:100%;text-align:left;display:flex;align-items:center;gap:16px;border-bottom:1px solid #e4ebde;padding:17px 2px;line-height:1.5}.workout-row b{font-size:16px;font-weight:500;min-width:160px}.workout-row>span:not(.pill){font-size:14px;color:#6a7860;flex:1}.workout-row:hover{background:#f1f6e9}.timeline-heading{align-items:flex-start;flex-wrap:wrap}.timeline-heading p{margin-bottom:0}.timeline-date-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.timeline-date-controls .secondary{margin:0;padding:10px 14px}.timeline-date-controls input{font:inherit;color:#34412e;background:#f8faf5;border:1px solid #dce4d5;border-radius:20px;padding:9px 12px;min-width:152px;min-height:42px}.day-button{width:42px;height:42px;border-radius:50%;border:1px solid #dce4d5;background:#f8faf5;font-size:24px;line-height:1}.timeline-key{display:flex;gap:16px;flex-wrap:wrap;margin-top:24px;font-size:14px;color:#5d6b55}.timeline-key>span:not(:last-child)::before{content:'';display:inline-block;width:11px;height:11px;border-radius:4px;margin-right:7px;background:#dce9bc}.timeline-key .key-sleep::before{background:#cddce9!important}.timeline-key .key-workout::before{background:#c4ddbd!important}.timeline-help{font-size:13px;margin:17px 0;color:#687961}.timeline-scroll{overflow-x:auto;border:1px solid #e0e8d9;border-radius:15px;background:#fbfcf8;scrollbar-color:#b7c8a7 #edf2e7;overscroll-behavior-x:contain}.timeline-grid{min-width:1100px}.timeline-row{display:grid;grid-template-columns:140px minmax(0,1fr);border-bottom:1px solid #e7eddf;align-items:stretch}.timeline-row:last-child{border-bottom:0}.timeline-label{position:sticky;left:0;z-index:2;background:#f1f5ec;display:flex;align-items:center;padding:13px 14px;font-size:14px;line-height:1.5;color:#4c5f42;box-shadow:1px 0 #e0e8d9}.timeline-axis .timeline-label{font-size:12px;color:#708064;background:#edf3e7}.timeline-axis{background:#edf3e7}.timeline-row svg{display:block;width:100%;overflow:visible}.timeline-axis text{font-size:12px;fill:#65765a}.timeline-gridline{stroke:#dce6d2;stroke-width:1}.timeline-gridline.minor{stroke:#edf1e8}.timeline-no-data{font-size:12px;fill:#98a28e}.timeline-mark{cursor:pointer;outline:0}.timeline-mark .timeline-shape{fill:#dfebbd;stroke:#bccb9d;stroke-width:1}.timeline-mark.sleep .timeline-shape{fill:#d1dfec;stroke:#afc5d7}.timeline-mark.workout .timeline-shape{fill:#c9dfc0;stroke:#a8c59b}.timeline-mark.selected .timeline-shape,.timeline-mark:focus .timeline-shape{stroke:#344c29;stroke-width:3}.timeline-mark:hover .timeline-shape{filter:brightness(.97)}.timeline-bar-label{font-size:12px;fill:#34472c;pointer-events:none}.timeline-summary{font-size:13px;margin:15px 0 0;line-height:1.65}.timeline-lower{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(0,1.7fr);gap:18px;margin-top:18px;align-items:start}.timeline-list-item{display:block;text-align:left;width:100%;padding:15px 12px;border:1px solid #e0e7d8;border-left:4px solid #cfdfaa;border-radius:12px;margin-top:10px;background:#f8faf4;line-height:1.55}.timeline-list-item.sleep{border-left-color:#bacfe2}.timeline-list-item.workout{border-left-color:#a9ca9a}.timeline-list-item.selected{background:#eef5df;border-color:#a2b77e}.timeline-list-item b{display:block;font-size:15px;font-weight:500}.timeline-item-time{display:block;font-size:12px;color:#6c7b60;margin-top:5px}.timeline-note{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;display:block;margin-top:7px;color:#45563b;line-height:1.6}.timeline-detail-time{font-size:13px}.timeline-comparison-note{font-size:13px;background:#f0f5e7;border-radius:12px;padding:12px 14px}.comparison-scroll{overflow-x:auto;max-width:100%;margin-top:20px}.comparison-table{border-collapse:collapse;width:100%;min-width:520px;text-align:left;font-size:14px}.comparison-table th,.comparison-table td{border-bottom:1px solid #e3eadb;padding:13px 10px;vertical-align:top}.comparison-table thead th{font-size:12px;font-weight:500;color:#77876c;background:#f1f5ec}.comparison-table tbody th{font-weight:400;min-width:160px;width:35%}.comparison-table b{display:block;font-size:13px;font-weight:500;line-height:1.5}.comparison-table small{display:block;font-size:11px;font-weight:400;color:#74826a;line-height:1.5;margin-top:6px}.comparison-table td{min-width:110px}.comparison-table td:last-child{min-width:85px}.comparison-table td:last-child b{font-size:15px;color:#3d5231}.day-metrics-card h2{margin:0}@media(max-width:1050px){nav button{padding:10px 13px}.timeline-lower{grid-template-columns:1fr}.timeline-date-controls{margin-top:10px}.workout-row{flex-wrap:wrap;gap:8px}.workout-row b{min-width:150px}.workout-row>span:not(.pill){min-width:220px}}@media(max-width:650px){nav{left:6px;right:6px;padding:4px;gap:0}nav button{padding:13px 5px;font-size:11px;letter-spacing:-.2px}.timeline-card{padding:16px!important}.timeline-heading h2{font-size:18px}.timeline-heading p{font-size:14px}.timeline-date-controls{width:100%;justify-content:space-between;gap:5px}.timeline-date-controls input{padding:9px 8px;min-width:135px;font-size:14px}.timeline-date-controls .secondary{font-size:12px;padding:10px 12px}.day-button{width:36px;height:38px}.timeline-key{gap:10px;font-size:12px}.timeline-help,.timeline-summary{font-size:12px}.timeline-scroll{margin-left:-7px;margin-right:-7px}.timeline-grid{min-width:1068px}.timeline-row{grid-template-columns:108px minmax(0,1fr)}.timeline-label{font-size:12px;padding:12px 10px}.timeline-axis .timeline-label{font-size:10px}.timeline-lower{gap:13px;margin-top:13px}.timeline-lower>.card{padding:18px}.day-metrics{grid-template-columns:1fr 1fr;gap:9px}.day-metric{padding:12px}.day-metric-label{font-size:12px}.day-metric strong{font-size:20px}.day-metric small{font-size:10px}.workout-row{display:block;padding:15px 0}.workout-row>span{display:block;margin-top:7px}.workout-row .pill{display:inline-block}.workout-row b{font-size:15px}.workout-row>span:not(.pill){font-size:12px}.metrics-details,.recent-workouts,.day-metrics-card{padding:18px}.recent-workouts .section-head{align-items:start}.recent-workouts .text-button{font-size:12px;padding-top:0;max-width:115px;text-align:right}.timeline-item-time{font-size:12px}.comparison-table{min-width:510px}.comparison-table th,.comparison-table td{padding:12px 8px}.metrics-details summary{font-size:16px}.timeline-list-item{padding:14px 11px}.optional{display:block;margin:4px 0 0}.timeline-heading .secondary{margin:0}}

.timeline-metric-row{background:#fafbf7}.timeline-metric-label{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;background:#edf2e8}.timeline-metric-label b{font-size:12px;font-weight:500;line-height:1.45}.timeline-metric-label small{font-size:10px;line-height:1.4;color:#77816f;overflow-wrap:anywhere}.timeline-measurement-dot{fill:#66844d;stroke:#fff;stroke-width:1.5}.timeline-measurement-value{font-size:12px;font-weight:500;fill:#4b6636}.metric-hrv .timeline-measurement-dot{fill:#6c78a0}.metric-hrv .timeline-measurement-value{fill:#56618a}.metric-hrv_sdnn .timeline-measurement-dot{fill:#8f75a4}.metric-hrv_sdnn .timeline-measurement-value{fill:#765b8b}.metric-rhr .timeline-measurement-dot{fill:#b27b72}.metric-rhr .timeline-measurement-value{fill:#995e55}.metric-spo2 .timeline-measurement-dot{fill:#628da0}.metric-spo2 .timeline-measurement-value{fill:#4c7587}.metric-skin_temp .timeline-measurement-dot{fill:#ad8a50}.metric-skin_temp .timeline-measurement-value{fill:#8b6c38}.metric-weight .timeline-measurement-dot{fill:#718e80}.metric-weight .timeline-measurement-value{fill:#527162}.measurement-count{grid-column:1/-1;margin:0 0 2px;font-size:13px;color:#617354;line-height:1.6}@media(max-width:650px){.timeline-metric-label b{font-size:11px}.timeline-metric-label small{font-size:9px}.measurement-count{font-size:12px}}
