/* Weather detail only. Home hourly forecast keeps the existing six-column row. */
.weather-sheet-layer { position:absolute; inset:0 0 calc(var(--bottom-nav-height) + var(--app-bottom-inset)); z-index:10002; display:flex; align-items:flex-end; background:rgb(16 29 22 / .38); }
.weather-sheet { width:100%; max-height:88%; display:flex; flex-direction:column; background:var(--bg-white); color:var(--text-primary); border-radius:20px 20px 0 0; box-shadow:0 -8px 28px rgb(14 44 27 / .09); overflow:hidden; animation:weather-sheet-up 260ms cubic-bezier(.22,.78,.24,1); }
.weather-sheet-handle { width:40px; height:5px; background:#d5dcd7; border-radius:4px; margin:10px auto 7px; flex-shrink:0; }
.weather-sheet-header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:3px 16px 13px 20px; flex-shrink:0; }
.weather-sheet-header h2 { margin:0; font-size:22px; font-weight:800; line-height:1.4; letter-spacing:-.6px; }
.weather-sheet-close { width:44px; min-height:44px; flex-shrink:0; border:0; border-radius:var(--radius); background:#f5f7f5; color:#536158; font:400 26px var(--font); cursor:pointer; }
.weather-sheet-body { min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#c8d9cd transparent; padding:0 20px 16px; scroll-padding:16px; }
.weather-sheet-current { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px; border:1px solid var(--card-border); border-radius:var(--radius); background:#f1faf4; }
.weather-sheet-current > div:first-child { min-width:0; }
.weather-sheet-location { display:flex; align-items:center; gap:6px; font-size:14px; font-weight:700; overflow-wrap:anywhere; }
.weather-sheet-location .home-weather-location-pin { flex-shrink:0; }
.weather-sheet-temperature { margin:9px 0 0; display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.weather-sheet-temperature strong { font-size:44px; font-weight:800; letter-spacing:-2px; line-height:1.1; }
.weather-sheet-temperature span { font-size:14px; color:#56685d; }
.weather-sheet-current-art { display:grid; place-items:center; width:78px; height:78px; flex-shrink:0; }
.weather-sheet-current-art .weather-art { transform:scale(1.5); }
.weather-sheet-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:12px 0 22px; }
.weather-sheet-stat { padding:12px 5px; background:#f7f8f7; border-radius:var(--radius); text-align:center; overflow-wrap:anywhere; }
.weather-sheet-stat span { display:block; font-size:12px; color:#778079; margin-bottom:7px; }
.weather-sheet-stat strong { display:block; font-size:16px; font-weight:750; color:#244832; }
.weather-sheet-section-title { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; margin-bottom:8px; gap:6px 12px; }
.weather-sheet-section-title h3 { font-size:16px; margin:0; font-weight:800; }
.weather-sheet-section-title span { font-size:11px; color:#858c87; }
.weather-sheet-week { list-style:none; margin:0; padding:0; }
.weather-sheet-day { display:grid; grid-template-columns:minmax(60px,1fr) 28px 42px 76px; align-items:center; column-gap:6px; min-height:48px; border-bottom:1px solid #edf1ed; }
.weather-sheet-day:last-child { border-bottom:0; }
.weather-sheet-day-name { display:flex; flex-wrap:wrap; align-items:baseline; gap:6px; min-width:0; }
.weather-sheet-day-name strong { font-size:13px; font-weight:700; }
.weather-sheet-day-name small { color:#818981; font-size:11px; }
.weather-sheet-day.today .weather-sheet-day-name strong { color:#029844; }
.weather-sheet-day-icon { font-size:22px; text-align:center; }
.weather-sheet-rain { font-size:12px; color:#6f7e9b; text-align:end; font-variant-numeric:tabular-nums; }
.weather-sheet-range { display:flex; gap:9px; justify-content:flex-end; font-size:14px; font-weight:700; font-variant-numeric:tabular-nums; }
.weather-sheet-range .low { color:#829087; font-weight:500; }
.weather-sheet-empty { padding-block:16px; color:var(--text-secondary); font-size:13px; }
.weather-sheet-footer { flex-shrink:0; padding:12px 20px 16px; border-top:1px solid #edf1ed; background:#fff; }
.weather-sheet-footer .btn-primary { width:100%; min-height:48px; height:auto; padding:12px; border-radius:var(--radius); font-size:16px; }
.weather-sheet-close:focus-visible,.weather-sheet-footer button:focus-visible { outline:3px solid #008c3d; outline-offset:2px; }
@keyframes weather-sheet-up { from { transform:translateY(100%); } to { transform:translateY(0); } }
@media(prefers-reduced-motion:reduce) { .weather-sheet { animation:none; } }
@media(max-height:500px) { .weather-sheet { max-height:94%; }.weather-sheet-header { padding-block:0 8px; }.weather-sheet-footer { padding-block:8px; } }
