.town-weather { display:flex; align-items:center; gap:14px; position:relative; padding:16px 20px; margin:0 0 22px; border:1px solid #d8e5e8; border-radius:16px; background:linear-gradient(115deg,#edf8f6,#fff 75%); color:#163948; }
.weather-emblem { display:grid; place-items:center; flex:none; width:44px; height:52px; border-radius:14px; color:#147d75; background:#d7eeea; }
.weather-emblem svg { width:30px; height:30px; }
.weather-reading { min-width:0; flex:1; }
.weather-city { font-size:14px; font-weight:700; }
.weather-value { display:flex; align-items:baseline; flex-wrap:wrap; gap:8px; }
.weather-value strong { font-size:28px; line-height:1.4; font-weight:750; letter-spacing:-.7px; font-variant-numeric:tabular-nums; }
.weather-value span,.weather-reference { font-size:13px; font-weight:550; color:#48626e; }
.weather-credit { align-self:flex-start; }
.weather-credit summary { display:grid; place-items:center; list-style:none; cursor:pointer; min-width:44px; min-height:44px; border-radius:10px; }
.weather-credit summary::-webkit-details-marker { display:none; }
.weather-credit summary:focus-visible { outline:3px solid #147d75; outline-offset:2px; }
.weather-credit>span { position:absolute; z-index:20; top:calc(100% - 5px); right:8px; padding:14px; width:min(320px,calc(100% - 16px)); border:1px solid #b6cdd2; border-radius:12px; background:#fff; box-shadow:0 8px 24px #10253820; font-size:14px; line-height:1.6; }
.weather-credit a { color:#056c69; text-decoration:underline; }
.home-content>.town-weather { margin-top:18px; margin-bottom:18px; }
.admin-dashboard>.town-weather { max-width:440px; }
.dark .town-weather { background:linear-gradient(115deg,#123c43,#142e40); border-color:#355467; color:#f2f7fa; }
.dark .weather-emblem { background:#215451; color:#8ce0d1; }
.dark .weather-value span,.dark .weather-reference { color:#c4d6df; }
.dark .weather-credit>span { background:#173345; border-color:#557389; }
.dark .weather-credit a { color:#97e1d3; }
@media(max-width:599px) { .town-weather { padding:14px; gap:10px; } .weather-value strong { font-size:27px; } }
