
:root{--bg:#f7f6fb;--ink:#292738;--muted:#716c80;--card:#ffffff;--line:#e7e3ee;--accent:#68549b;--soft:#eee8f7;--shadow:0 15px 45px #36244808;color-scheme:light}
:root[data-theme=dark]{--bg:#171722;--ink:#f2eff9;--muted:#b3aec3;--card:#242432;--line:#393747;--accent:#c6b4ee;--soft:#343044;--shadow:0 15px 45px #0002;color-scheme:dark}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button,select{cursor:pointer}button,select,input{color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:13px;min-height:44px;padding:10px 14px}button:hover{border-color:var(--accent);background:var(--soft)}button:disabled{opacity:.5;cursor:wait}a{color:var(--accent)}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.wrap{width:min(1100px,100% - 48px);margin:auto}.header{display:flex;align-items:center;gap:30px;padding:28px 0 42px}.brand{display:flex;align-items:center;gap:10px;font-size:25px;font-weight:750;letter-spacing:-1px;text-decoration:none;color:var(--ink)}.brand-sun{color:#bd8b43;font-size:32px}nav{display:flex;gap:24px;margin-right:auto}nav a{text-decoration:none;color:var(--muted);padding:8px 0}nav a[aria-current=page]{color:var(--ink);box-shadow:0 2px var(--accent)}.preferences{display:flex;gap:8px}.preferences select{max-width:145px}h1{font-size:clamp(32px,5vw,52px);line-height:1.12;letter-spacing:-1.8px;font-weight:650;margin:0 0 14px}h2{font-size:21px;letter-spacing:-.5px;margin:0 0 22px}p{margin:0 0 16px}.muted,.eyebrow{color:var(--muted)}.eyebrow{text-transform:uppercase;font-size:12px;letter-spacing:2px;font-weight:650}.intro{margin:8px 0 30px;max-width:680px}.controls{display:flex;gap:10px;flex-wrap:wrap;margin:30px 0 12px}form{display:flex;flex:1;min-width:240px;gap:8px}input{width:100%;min-width:0}form button{background:var(--soft)}#notice{font-size:14px;color:var(--muted);min-height:24px;margin:14px 0}.results{display:flex;flex-wrap:wrap;gap:8px}.results button{text-align:left}.dashboard{display:grid;grid-template-columns:1.35fr 1fr;gap:20px}.card{background:var(--card);border:1px solid var(--line);border-radius:26px;padding:28px;box-shadow:var(--shadow);min-width:0;animation:appear .4s ease both}.hero{background:radial-gradient(ellipse at 95% 0%,#c4b3e43b,transparent 65%),var(--card)}.location{font-size:22px;font-weight:650;margin-bottom:4px}.current-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:25px 0}.temperature{font-size:clamp(65px,10vw,100px);font-weight:550;line-height:1;letter-spacing:-6px}.weather-icon{width:64px;height:64px;display:inline-block;flex-shrink:0}.current-row .weather-icon{width:110px;height:110px}.condition{font-size:19px;margin:14px 0 4px}.chips{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.chip{font-size:13px;background:var(--soft);border-radius:25px;padding:7px 12px}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:22px}.metric{border-bottom:1px solid var(--line);padding-bottom:16px}.metric small{display:block;color:var(--muted);font-size:13px}.metric strong{font-size:22px;font-weight:550}.span{grid-column:1/-1}.section-top{display:flex;justify-content:space-between;align-items:center;gap:16px}.section-top button{font-size:13px}.hourly{display:flex;gap:10px;overflow:auto;padding:0 0 14px;scroll-snap-type:x proximity}.hour{min-width:87px;text-align:center;padding:16px 10px;border-radius:18px;background:var(--bg);scroll-snap-align:start}.hour .weather-icon{width:37px;height:37px;display:block;margin:12px auto}.hour strong{display:block;font-size:21px}.hour small{color:var(--accent);font-size:12px}.week{display:flex;flex-direction:column}.day{border-top:1px solid var(--line)}.day summary{cursor:pointer;display:grid;grid-template-columns:130px 42px 1fr 150px 52px;gap:15px;align-items:center;padding:16px 0;list-style:none}.day summary::-webkit-details-marker{display:none}.day .weather-icon{width:34px;height:34px}.day-label strong{display:block;font-weight:600}.day-label small{color:var(--muted)}.range{display:flex;align-items:center;gap:10px}.range span{width:32px;font-variant-numeric:tabular-nums}.track{height:6px;background:var(--line);flex:1;border-radius:10px;overflow:hidden}.bar{display:block;height:100%;background:linear-gradient(90deg,#aabbdc,#c3a7d8,#e6bd96);border-radius:10px}.rain{color:var(--accent);text-align:right;font-size:14px}.day-detail{display:flex;flex-wrap:wrap;gap:12px 25px;padding:4px 0 20px;color:var(--muted);font-size:14px}.summary-text{background:var(--soft);padding:16px 20px;border-radius:16px;margin-top:22px}.updated{font-size:12px;color:var(--muted)}.skeleton{height:300px;background:linear-gradient(100deg,var(--card) 30%,var(--soft) 50%,var(--card) 70%);background-size:200% 100%;animation:shimmer 1.6s infinite}.error{max-width:650px}.error button{margin:8px 8px 0 0}.about{max-width:740px}.about p{color:var(--muted)}.footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;color:var(--muted);font-size:12px;padding:40px 0 30px;margin-top:25px}.footer a{color:inherit}.sr,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip:focus{display:block;padding:12px}@keyframes appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes shimmer{to{background-position:-200% 0}}@media(max-width:720px){.wrap{width:calc(100% - 32px)}.header{flex-wrap:wrap;gap:16px;padding:18px 0 30px}.preferences{margin-left:auto}nav{order:3;width:100%;gap:26px;font-size:14px}.dashboard{grid-template-columns:1fr}.card{padding:22px;border-radius:21px}.controls>button,.controls>select{flex:1}.day summary{grid-template-columns:85px 30px 1fr 48px;gap:9px}.day-cond{display:none}.day-label{font-size:14px}.day-label small{font-size:11px}.range{gap:4px}.range span{width:28px}.current-row .weather-icon{width:90px;height:90px}form{flex-basis:100%}.footer{padding-bottom:26px}.preferences select{max-width:130px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
[hidden]{display:none!important}
