/* Legible metric labels and a compact, seven-day temperature chart. */
.main-content:has(#page-weather.active){--page-bottom-space:8px}
#page-weather .weather-metrics>div>span{font-size:14px;font-weight:600;color:#425d52;line-height:1.5}
.weekly-weather{margin-top:12px}
.weekly-weather>.section-heading{margin-bottom:8px;gap:8px}
.weekly-forecast{--week-high:#c47b39;--week-low:#298879;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px;overflow:hidden}
.week-legend{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-bottom:10px;font-size:11px;color:#70837a}
.week-legend>span{display:inline-flex;align-items:center;gap:5px}
.week-legend>span:before{content:'';width:16px;border-top:2px solid var(--week-high)}
.week-legend>.low:before{border-top:2px dashed var(--week-low)}
.week-legend>small{font-size:10px;color:#8b9a92}
.week-days,.week-rain>div{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.week-days>div{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;text-align:center}
.week-days strong{font-size:12px;font-weight:500;color:#50665b;white-space:nowrap}
.week-days>div:first-child strong{color:var(--green);font-weight:600}
.week-days time{font-size:10px;color:#8b9b91;font-variant-numeric:tabular-nums}
.week-weather-icon{font-size:23px;line-height:30px;color:#bfad77}
.week-condition{font-size:11px;color:#6f8377}
.week-temperature-chart{position:relative;height:192px;margin-top:4px}
.week-temperature-chart>svg{display:block;width:100%;height:100%;overflow:visible}
.week-chart-guide{stroke:#edf1ed;stroke-width:1;stroke-dasharray:3 5;vector-effect:non-scaling-stroke}
.week-line{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.week-line.high{stroke:var(--week-high)}
.week-line.low{stroke:var(--week-low);stroke-dasharray:5 4}
.week-temp{position:absolute;transform:translateX(-50%);font-size:13px;line-height:18px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.week-temp.high{color:var(--week-high)}
.week-temp.low{color:var(--week-low)}
.week-chart-dot{position:absolute;width:7px;height:7px;transform:translate(-50%,-50%);border:2px solid var(--week-high);border-radius:50%;background:#fff}
.week-chart-dot.low{border-color:var(--week-low)}
.week-rain{border-top:1px solid #edf1ed;padding-top:8px}
.week-rain>span{display:block;margin-bottom:6px;font-size:10px;color:#87968c}
.week-rain>div{font-size:11px;line-height:1.5;text-align:center;color:#708b85;font-variant-numeric:tabular-nums}
@media(max-width:680px){
 .main-content:has(#page-weather.active){--page-bottom-space:calc(65px + env(safe-area-inset-bottom) + 8px)}
 #page-weather .weather-metrics>div>span{font-size:13px}
 .weekly-forecast{padding:10px 8px}
 .week-legend{margin-bottom:8px;gap:10px}
 .week-days strong{font-size:11px}
 .week-weather-icon{font-size:20px;line-height:26px}
 .week-condition{font-size:10px}
 .week-temp{font-size:12px}
}
