.life-icon{width:20px;height:20px;flex:none}.weather-card{border:1px solid var(--line);border-radius:14px;padding:16px 18px;margin:18px 0 26px;background:var(--panel)}.weather-top,.weather-main,.life-heading,.life-card header,.life-row,.life-footer{display:flex;align-items:center;gap:10px}.weather-top{justify-content:space-between}.weather-label{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);font-weight:600}.weather-top select{max-width:150px;font-size:12px;padding:5px 8px;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--text)}.weather-main{margin:13px 0;gap:12px}.weather-main>.life-icon{width:44px;height:44px;color:var(--accent)}.weather-main>strong{font-size:36px;font-weight:550;letter-spacing:-2px}.weather-main small,.weather-credit{display:block;color:var(--muted);font-size:11px;line-height:1.5}.weather-main b{font-size:13px}.weather-days{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding-top:9px;border-top:1px solid var(--line);margin-bottom:8px}.weather-days span{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}.weather-days .life-icon{width:16px;height:16px}.weather-days b{color:var(--text)}.weather-credit a{color:inherit}.life-panel{border:1px solid var(--line);border-radius:15px;margin:24px 0;background:var(--panel)}.life-panel>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:16px 18px;cursor:pointer}.life-panel>summary::-webkit-details-marker{display:none}.life-heading>.life-icon{color:var(--accent);width:24px;height:24px}.life-heading strong,.life-heading small{display:block}.life-heading small{font-size:11px;color:var(--muted);margin-top:3px}.life-body{padding:0 16px 16px}.life-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.life-card{border:1px solid var(--line);border-radius:12px;padding:14px;margin:0 0 10px;min-width:0}.life-card header{margin-bottom:14px}.life-card header .life-icon{color:var(--accent);width:18px;height:18px}.life-card header b{font-size:13px}.life-card header span{margin-left:auto;font-size:11px;color:var(--muted);text-align:right}.life-card form{display:grid;gap:10px}.life-card label{font-size:11px;color:var(--muted);display:grid;gap:5px;min-width:0}.life-card input,.life-card select{min-width:0;width:100%;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:8px;padding:9px;font:inherit;font-size:13px}.life-card form>button{justify-self:start}.life-actions{display:flex;gap:6px;flex-wrap:wrap}.life-actions .btn{flex:1;font-size:12px;padding:8px}.water-track{height:7px;background:#459fc525;border-radius:99px;margin:17px 0;overflow:hidden}.water-track i{display:block;background:#459fc5;height:100%;border-radius:99px;transition:width .32s ease}.life-goal{margin-top:12px;grid-template-columns:1fr 75px;align-items:center}.life-scores{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.life-row{justify-content:space-between;border-top:1px solid var(--line);padding:10px 0;gap:8px;margin-top:6px;overflow-wrap:anywhere}.life-row strong{font-size:12px;font-weight:550;display:block}.life-row small{font-size:11px;color:var(--muted);display:block;margin-top:3px}.life-remove{border:0;background:transparent;color:var(--muted);padding:5px;cursor:pointer}.life-empty{font-size:12px;color:var(--muted);margin-bottom:0}.nutrition-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-bottom:12px}.nutrition-summary span{background:var(--soft);padding:9px 6px;border-radius:7px}.nutrition-summary small,.nutrition-summary b{display:block;font-size:11px}.nutrition-summary small{color:var(--muted);margin-bottom:5px}.nutrition-fields summary,.trend summary{font-size:12px;color:var(--muted);cursor:pointer;margin:6px 0}.nutrition-fields .life-grid{margin-top:8px}.trend-svg{width:100%;max-width:500px;display:block;font-size:9px;fill:var(--muted)}.trend-key{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:11px;text-transform:capitalize}.trend-key i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:4px}.life-footer{flex-wrap:wrap}.life-footer small{font-size:11px;color:var(--muted)}.life-panel[open] .life-body{animation:hqReveal .23s ease-out}.btn,.quiet,.task-check,.nav button,.mobilebar button,.life-remove{transition:background-color .17s,color .17s,border-color .17s,transform .14s}.btn:active,.task-check:active,.mobilebar button:active,.life-remove:active{transform:scale(.96)}.task-sheet[open],dialog[open]{animation:hqSheet .24s cubic-bezier(.2,.75,.25,1)}#toast{animation:hqReveal .2s ease-out}@keyframes hqReveal{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes hqSheet{from{opacity:.3;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media(max-width:550px){.life-body{padding:0 10px 10px}.life-grid{grid-template-columns:1fr}.life-card .life-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.weather-card{padding:12px}.life-card{padding:12px}.life-card input,.life-card select{font-size:16px}.weather-main>strong{font-size:30px}.weather-main>.life-icon{width:34px;height:34px}.weather-main{gap:8px}.life-panel>summary{padding:13px}.weather-top select{font-size:16px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}

/* Compact, swipeable hourly forecast. */
.weather-hourly{min-width:0;margin:15px 0 13px;border-top:1px solid var(--line);padding-top:11px}.weather-hourly-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:7px}.weather-hourly-head b{font-size:12px;font-weight:600}.weather-hourly-head small,.weather-hourly-note{color:var(--muted);font-size:11px}.weather-hours{display:flex;gap:0;overflow-x:auto;max-width:100%;scrollbar-width:thin;scrollbar-color:var(--line) transparent;scroll-snap-type:x proximity;overscroll-behavior-x:contain;padding:2px 0 9px; -webkit-overflow-scrolling:touch}.weather-hour{flex:0 0 70px;min-width:0;display:flex;flex-direction:column;align-items:center;gap:6px;padding:5px 4px;scroll-snap-align:start;border-radius:8px}.weather-hour:hover{background:var(--soft)}.weather-hour.new-day{border-left:1px solid var(--line);border-radius:0}.weather-hour-time{font-size:11px;color:var(--muted);white-space:nowrap}.weather-hour>span>.life-icon{width:23px;height:23px;color:var(--accent)}.weather-hour strong{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}.weather-hour-rain{font-size:11px;display:flex;gap:3px;align-items:center;color:var(--muted);font-variant-numeric:tabular-nums}.weather-hour-rain .life-icon{width:12px;height:12px;color:#459fc5}@media(max-width:550px){.weather-hour{flex-basis:60px}.weather-hour.new-day{flex-basis:68px}}

/* Hourly forecast disclosure; the forecast remains mounted during transitions. */
.weather-hourly-head{width:100%;min-height:38px;padding:7px 0;margin:0;border:0;background:transparent;color:var(--text);text-align:left;cursor:pointer;font:inherit;border-radius:6px;touch-action:manipulation}.weather-hourly-head:hover{color:var(--accent)}.weather-hourly-head:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.weather-hourly-right{display:flex;align-items:center;gap:8px}.weather-hourly-right .ui-icon{width:16px;height:16px;color:var(--muted);transition:transform .24s cubic-bezier(.2,.75,.25,1)}.weather-hourly.is-open .weather-hourly-right .ui-icon{transform:rotate(180deg)}.weather-hourly-reveal{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .26s cubic-bezier(.2,.75,.25,1),opacity .2s ease;min-width:0}.weather-hourly.is-open .weather-hourly-reveal{grid-template-rows:1fr;opacity:1}.weather-hourly-inner{min-height:0;min-width:0;overflow:hidden}.weather-hourly.is-open .weather-hours{padding-top:8px}
