.home-dashboard{max-width:1040px;margin:auto}.home-date{display:flex;align-items:center;gap:12px;margin:12px 0 22px}.home-date>div{flex:1}.home-date strong{display:block;font-size:clamp(19px,4vw,28px);text-transform:capitalize}.home-date span{display:block;color:#65797c;font-size:12px}.home-date input{margin-top:8px;max-width:180px}.home-dashboard .card{border-radius:24px;margin:18px 0;box-shadow:0 6px 22px #183a4010}.home-summary{background:linear-gradient(130deg,#e6f5ef,#f6faf9);padding:22px}.home-summary>strong{font-size:21px}.home-summary p{margin-bottom:0}.home-stress{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:10px;margin:20px 0}.home-stress>div{display:flex;flex-direction:column;justify-content:center;border-right:1px solid #e1e9e7}.home-stress>div:last-child{border:0}.home-stress strong{font-size:29px;color:#226f67}.home-stress span,.home-stress small{font-size:12px;color:#617579}.home-battery{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin:20px 0}.home-battery>strong{margin-left:auto;font-size:24px}.home-battery>div{width:100%;height:18px;border-radius:12px;background:#e5ebea;overflow:hidden}.home-battery i{display:block;height:100%;background:linear-gradient(90deg,#6ba9a0,#4daf81);border-radius:12px}.home-monitor-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.home-metric{text-align:left;border:1px solid #e0e9e6;border-radius:20px;padding:18px;background:#fafdfc;display:flex;flex-direction:column;gap:8px;color:#183a40;min-width:0}.home-metric>strong{font-size:clamp(22px,4vw,30px)}.home-metric small{font-size:11px;color:#607779}.home-metric>span{font-size:13px}.home-range{height:8px;border-radius:8px;background:linear-gradient(90deg,#e7bd65 0%,#8db7dc 20%,#80c7a1 35%,#80c7a1 65%,#e7bd65 80%,#ca7272 100%);position:relative;margin:8px 3px}.home-range i{position:absolute;top:-4px;width:4px;height:16px;background:#183a40;transform:translateX(-50%);border:1px solid white;border-radius:3px}.home-metric.lower>span:nth-of-type(2){color:#3a73a8}.home-metric.outside>span:nth-of-type(2){color:#946700}.home-metric.marked>span:nth-of-type(2){color:#a93f43}.home-metric.unknown .home-range{background:#d9e2e1}.home-timeline>button{display:flex;flex-direction:column;width:100%;gap:6px;border:0;border-bottom:1px solid #e0e9e6;background:transparent;text-align:left;padding:16px 4px;color:#183a40}.home-timeline>button strong{font-size:18px}.home-timeline>button span,.home-timeline>button small{font-size:12px;color:#607779}.home-dashboard details>summary{cursor:pointer;font-size:14px;padding:9px 0}.home-dashboard details p{font-size:14px;line-height:1.6}.home-dashboard .daily-three{margin-top:12px}.home-dashboard .daily-ring-item p{font-size:12px}@media(max-width:650px){.home-monitor-grid{grid-template-columns:repeat(2,1fr)}.home-monitor-grid .home-metric{padding:15px}.home-stress{gap:7px}.home-stress strong{font-size:25px}.home-dashboard .card{padding:20px}.home-date{gap:8px}.home-date>button{padding:10px 14px}}

@media(max-width:650px){body:has(.home-dashboard) aside .brand{justify-content:center;text-align:center;width:100%}body:has(.home-dashboard) aside .brand img{margin:auto}.home-date strong{font-size:21px}.home-date input{max-width:155px}.home-dashboard .health-banner{padding:14px 18px}.home-dashboard .daily-three{padding:16px 10px}}

.home-stress.home-stress-oura{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;cursor:pointer}.home-stress-oura>div{min-width:0;padding:4px 8px 4px 0}.home-stress-oura>div:nth-child(2){border:0}.home-stress-oura strong{font-size:clamp(22px,5vw,29px);line-height:1.25;overflow-wrap:normal}.home-stress-oura .oura-summary-note{grid-column:1/-1;font-size:12px;line-height:1.5}

.stress-zone-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.stress-zone{border:1px solid #dce6e2;border-top:4px solid #8aaba2;border-radius:18px;padding:16px;min-width:0;background:#f8fbfa}.stress-zone>span,.stress-zone>strong{display:block}.stress-zone>strong{font-size:25px;margin:10px 0;overflow-wrap:anywhere}.stress-zone.stress{border-top-color:#c47972}.stress-zone.engaged{border-top-color:#d3ae53}.stress-zone.relaxed{border-top-color:#79b5b1}.stress-zone.restored{border-top-color:#60aa8c}.stress-zone details{font-size:13px}.stress-week-day{padding:12px 0;border-bottom:1px solid #e0e9e6}.stress-week-line{display:grid;grid-template-columns:80px minmax(0,1fr) 80px;gap:8px;align-items:center;font-size:13px;margin:8px 0}.stress-week-line>strong{text-align:right}.stress-week-track{height:9px;background:#edf1ef;border-radius:8px;overflow:hidden}.stress-week-track i{display:block;height:100%;background:#c47972}.stress-week-line.restored i{background:#60aa8c}
