@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750&display=swap");

:root {
  color-scheme: light;
  --paper: #f5f4ed;
  --card: #fffefa;
  --ink: #20302b;
  --muted: #88908a;
  --line: #e7e7de;
  --forest: #25423b;
  --forest-dark: #19332e;
  --yellow: #f5c77d;
  --coral: #e59170;
  --mint: #cfdfcf;
  --sans: "DM Sans", "Avenir Next", Avenir, sans-serif;
  --display: "Manrope", "Avenir Next", Avenir, sans-serif;
}

* { box-sizing: border-box; }

html { min-width: 320px; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid #e8ad61;
  outline-offset: 4px;
}

.topbar {
  height: 74px;
  padding: 0 clamp(22px, 7.3vw, 112px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--forest);
}

.brand-mark svg { width: 25px; stroke: var(--yellow); stroke-width: 1.5; stroke-linecap: round; }
.brand-name, .footer-brand { font: 750 17px var(--display); letter-spacing: -0.8px; }
.brand-dot { color: #d29d57; }

.topbar-note, .footer-sources {
  color: #747d76;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.35px;
}

.topbar-note { display: flex; align-items: center; gap: 9px; }
.live-dot, .update-indicator { border-radius: 50%; background: #79a27c; }
.live-dot { width: 7px; height: 7px; }

.location-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  color: var(--forest);
  border: 1px solid #dfe1d7;
  border-radius: 7px;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background .16s, border-color .16s;
}

.location-button:hover { border-color: #b6c8b7; background: #eef0e7; }
.location-button svg { width: 16px; height: 16px; stroke: #527362; stroke-width: 1.6; stroke-linecap: round; }

main { width: min(1054px, calc(100% - 48px)); margin: 0 auto; }
.intro { min-height: 207px; padding: 45px 0 33px; display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.eyebrow { margin: 0; color: #868c80; font-size: 9px; font-weight: 650; letter-spacing: 1.45px; }
.eyebrow-dash { display: inline-block; width: 15px; height: 1px; margin-right: 7px; vertical-align: 3px; background: #b9925b; }

h1, h2, h3, p { margin-top: 0; }
h1 { margin: 17px 0 8px; font: 700 clamp(33px, 4vw, 47px)/1.13 var(--display); letter-spacing: -2px; }
h1 > span { color: #647d67; }
.intro-copy { margin-bottom: 0; color: #858b82; font-size: 12px; }

.search {
  position: relative;
  flex: 0 1 361px;
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 5px 0 40px;
  border: 1px solid #e4e3d9;
  border-radius: 7px;
  background: var(--card);
  box-shadow: 0 4px 16px #45463506;
}

.search:focus-within { border-color: #bdc9b9; }
.search-icon { position: absolute; left: 14px; width: 17px; stroke: #92958a; stroke-width: 1.6; stroke-linecap: round; }
.search input { width: 100%; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.search input::placeholder { color: #9c9e94; }
.search input:focus-visible { outline: none; }
.search button[type="submit"] {
  height: 36px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: white;
  background: var(--forest);
  border: 0;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}

.search button[type="submit"]:hover { background: #355a4e; }
.search button[type="submit"] svg { width: 13px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.search-results { position: absolute; z-index: 3; inset: calc(100% + 6px) 0 auto; padding: 5px; background: var(--card); border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 12px 30px #17231b16; }
.search-result { width: 100%; display: flex; align-items: flex-start; gap: 11px; padding: 10px; text-align: left; background: transparent; border: 0; border-radius: 5px; cursor: pointer; }
.search-result:hover, .search-result:focus-visible { background: #f1f2eb; }
.result-pin { width: 28px; height: 28px; display: grid; flex: 0 0 28px; place-items: center; border-radius: 50%; color: #6b826e; background: #edf0e7; }
.result-pin svg { width: 14px; stroke: currentColor; stroke-width: 1.5; }
.result-copy { display: grid; gap: 3px; }
.result-name { font-size: 11px; font-weight: 600; }
.result-address { color: #898e85; font-size: 10px; line-height: 1.45; }
.result-message { padding: 12px 10px; color: #727a70; font-size: 11px; line-height: 1.55; }
.page-rule { border-top: 1px solid var(--line); }

.weather-section { padding-top: 33px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; gap: 18px; }
.place-name { margin: 9px 0 3px; font: 700 25px/1.2 var(--display); letter-spacing: -0.8px; }
.place-detail { margin-bottom: 0; color: #858b81; font-size: 10px; }
.place-detail > span:first-child { padding: 0 3px; }
.update-note { display: flex; align-items: center; gap: 7px; padding-bottom: 4px; color: #898d82; font-size: 10px; }
.update-indicator { width: 7px; height: 7px; }
.update-indicator.is-loading { background: #dfa966; animation: breathe 1.1s ease-in-out infinite alternate; }
.update-indicator.is-error { background: #cc816c; }
@keyframes breathe { to { opacity: .35; } }

.weather-grid { display: grid; grid-template-columns: minmax(265px, .84fr) minmax(0, 1.68fr); gap: 14px; align-items: stretch; }
.current-card {
  position: relative;
  min-height: 342px;
  overflow: hidden;
  padding: 23px 24px 20px;
  color: #fffdf6;
  background: var(--forest);
  border-radius: 8px;
}

.current-card::after { position: absolute; inset: 0; background: radial-gradient(ellipse at 86% 74%, #95ab7830 0, transparent 53%); content: ""; pointer-events: none; }
.current-card-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.card-kicker { margin: 0; color: #d0d5c9; font-size: 9px; font-weight: 550; letter-spacing: 1.2px; }
.card-kicker > span:first-child { margin: 0 3px; color: #bdc7b5; }
.current-weather-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #fff3da18; }
.current-weather-mark svg { width: 29px; color: #f2c87f; stroke: #f2c87f; stroke-width: 1.35; stroke-linecap: round; }
.current-temperature { position: relative; z-index: 1; display: flex; align-items: flex-start; margin: -1px 0 -7px; }
.temperature-value { font: 500 91px/.99 var(--display); letter-spacing: -8px; }
.temperature-unit { margin: 13px 0 0 6px; color: #f5cc88; font: 400 31px/1 var(--display); }
.current-condition { position: relative; z-index: 1; margin: 5px 0 4px; color: #f5f1e7; font-size: 14px; font-weight: 550; }
.feels-like { position: relative; z-index: 1; color: #c4cdc1; font-size: 10px; }
.feels-like strong { color: #f4eee0; font-weight: 550; }
.current-divider { position: relative; z-index: 1; height: 1px; margin: 20px 0 13px; background: #ffffff2b; }
.current-range { position: relative; z-index: 1; display: flex; justify-content: space-between; color: #e1e4d8; font-size: 10px; }
.current-range > span + span { font-size: 11px; font-weight: 600; }
.range-slash { padding: 0 4px; color: #aab4a5; font-weight: 400; }
.card-decoration { position: absolute; right: 0; bottom: 0; left: 0; height: 83px; opacity: .65; }
.card-decoration svg { width: 100%; height: 100%; }
.card-decoration path { fill: none; stroke: #e5ddb754; stroke-width: 1; }

.details-column { display: grid; grid-template-rows: 1fr auto; gap: 12px; min-width: 0; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.metric-card { min-width: 0; min-height: 147px; padding: 15px 11px 11px; display: flex; flex-direction: column; align-items: flex-start; background: var(--card); border: 1px solid #ecebe3; border-radius: 7px; }
.metric-icon { width: 29px; height: 29px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 8px; }
.metric-icon svg { width: 17px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.humidity-icon { color: #668f99; background: #edf3f1; }
.wind-icon { color: #7d8c68; background: #eff1e9; }
.rain-icon { color: #6d849a; background: #edf2f4; }
.uv-icon { color: #d59a53; background: #fbf2df; }
.metric-label { min-height: 15px; color: #7d8378; font-size: 9px; line-height: 1.4; }
.metric-value { display: flex; flex-wrap: wrap; align-items: baseline; margin-top: 4px; }
.metric-value strong { color: var(--ink); font: 650 21px/1 var(--display); letter-spacing: -.8px; }
.metric-value small { margin-left: 2px; color: #81867d; font-size: 9px; }
.metric-caption { margin-top: auto; padding-top: 8px; color: #9a9b91; font-size: 8px; }
.uv-title { width: 100%; display: flex; align-items: center; gap: 6px; }
.uv-title .metric-icon { flex: 0 0 29px; margin-bottom: 0; }
.uv-title .metric-label { min-height: auto; }
.uv-card > .metric-value { gap: 5px; margin-top: 8px; }
.uv-card > .metric-value small { margin-left: 0; font-size: 8px; }
.uv-track { width: 100%; height: 3px; overflow: hidden; margin-top: 9px; border-radius: 4px; background: #eee9dc; }
.uv-track span { width: 0; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #96b17e 0%, #efc06e 55%, #de8570 100%); transition: width .4s; }
.uv-card .metric-caption { padding-top: 7px; }

.hourly-card { min-height: 181px; padding: 16px 16px 10px; background: var(--card); border: 1px solid #ecebe3; border-radius: 7px; }
.forecast-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.forecast-heading h3 { margin: 5px 0 0; font: 650 15px/1.3 var(--display); letter-spacing: -.4px; }
.hourly-unit { margin-top: 4px; color: #999c91; font-size: 8px; font-weight: 600; letter-spacing: .9px; white-space: nowrap; }
.hourly-unit > span { color: #657f64; }
.hourly-list { min-height: 91px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: center; gap: 3px; padding-top: 9px; }
.hour-item { min-width: 0; display: grid; justify-items: center; gap: 6px; color: #848980; font-size: 9px; }
.hour-item > svg { width: 23px; height: 23px; color: #c9975b; }
.hour-item:nth-child(3n) > svg { color: #748982; }
.hour-item strong { color: #35413a; font: 600 12px var(--display); }
.hour-rain { color: #7395a0; font-size: 8px; }
.empty-note { color: #94968e; font-size: 11px; }
.hourly-list > .empty-note { grid-column: 1 / -1; }

.forecast-section { padding: 52px 0 59px; }
.forecast-main-heading { align-items: flex-end; margin-bottom: 19px; }
.forecast-main-heading h2 { margin: 7px 0 0; font: 650 20px/1.3 var(--display); letter-spacing: -.8px; }
.forecast-tabs { display: flex; gap: 3px; padding: 3px; border: 1px solid #e6e5dc; border-radius: 6px; background: #efefe7; }
.forecast-tab { padding: 8px 11px; color: #777e74; border: 0; border-radius: 4px; background: transparent; font-size: 9px; font-weight: 550; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .16s, color .16s, box-shadow .16s; }
.forecast-tab:hover { color: var(--ink); }
.forecast-tab.is-active, .forecast-tab[aria-current="page"] { color: #263d32; background: var(--card); box-shadow: 0 1px 3px #363b2912; }

.forecast-summary { margin: 0 0 15px; padding: 17px 19px; background: #eeefe6; border-left: 2px solid #8a9d7e; border-radius: 0 6px 6px 0; }
.summary-copy { max-width: 860px; margin: 9px 0 0; color: #4f5c50; font-size: 12px; line-height: 1.8; }
.summary-copy p { margin: 0; }
.summary-copy p + p { margin-top: 7px; }
.forecast-content { min-height: 131px; padding: 7px 17px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.forecast-empty { padding-top: 39px; }
.forecast-day { min-height: 65px; display: grid; grid-template-columns: 1.2fr 45px 1.1fr 1fr 80px 105px; align-items: center; column-gap: 13px; border-bottom: 1px solid #eae9e1; }
.forecast-day:last-child { border-bottom: 0; }
.day-label { display: grid; gap: 3px; }
.day-label strong { color: #354139; font-size: 11px; font-weight: 600; }
.day-label small { color: #93968d; font-size: 9px; }
.day-weather svg { width: 25px; height: 25px; display: block; }
.day-weather--clear svg, .day-weather--partly svg { color: #d4a65f; }
.day-weather--cloudy svg, .day-weather--fog svg { color: #819087; }
.day-weather--rain svg, .day-weather--storm svg, .day-weather--snow svg { color: #76919b; }
.day-condition { color: #747b72; font-size: 10px; }
.day-temperatures { display: flex; align-items: center; gap: 9px; }
.day-temperatures strong { color: #354139; font: 600 12px var(--display); }
.day-temperatures span { color: #a0a297; font-size: 10px; }
.day-rain { color: #83929a; font-size: 9px; text-align: center; }
.day-rain > span { margin-right: 3px; color: #7197a0; }
.day-sun { color: #888d82; font-size: 9px; text-align: right; white-space: nowrap; }
.forecast-day--focus { min-height: 89px; grid-template-columns: 1fr 64px 1fr 1fr 1fr; }
.focus-condition { display: grid; gap: 4px; color: #45554a; font-size: 13px; font-weight: 550; }
.focus-condition small { color: #888e83; font-size: 9px; font-weight: 400; }
.focus-range { display: grid; gap: 4px; }
.focus-range strong { font: 550 28px var(--display); letter-spacing: -1.3px; }
.focus-range small { color: #8d9187; font-size: 9px; }
.focus-rain { color: #75818a; font-size: 10px; text-align: right; }
.focus-rain strong { display: block; margin-bottom: 4px; color: #627f89; font: 650 17px var(--display); }

.footer {
  min-height: 79px;
  padding: 17px clamp(22px, 7.3vw, 112px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.footer-brand { text-decoration: none; font-size: 14px; }
.footer-copy { margin: 0; color: #91948a; font-size: 9px; }
.footer-sources { display: grid; justify-items: end; gap: 5px; font-size: 8px; letter-spacing: .8px; }
.footer-sources a { color: #637565; text-decoration-color: #a9b4a3; text-underline-offset: 2px; }
.footer-sources > span + span { color: #9a9b90; font-size: 7px; }
.toast { position: fixed; z-index: 5; right: 20px; bottom: 20px; max-width: min(360px, calc(100% - 40px)); padding: 11px 15px; color: white; background: #263d33; border-radius: 6px; box-shadow: 0 8px 25px #1a251a26; font-size: 11px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

@media (min-width: 1350px) {
  main { width: min(1054px, calc(100% - 100px)); }
}

@media (max-width: 760px) {
  .topbar { height: 64px; padding-inline: 23px; }
  .topbar-note { display: none; }
  main { width: calc(100% - 40px); }
  .intro { min-height: auto; padding: 36px 0 25px; align-items: flex-start; flex-direction: column; gap: 19px; }
  h1 { margin-top: 13px; font-size: clamp(32px, 8vw, 41px); }
  .intro-copy { font-size: 11px; }
  .search { width: 100%; flex-basis: 48px; }
  .weather-section { padding-top: 27px; }
  .weather-grid { grid-template-columns: 1fr; gap: 11px; }
  .current-card { min-height: 255px; padding: 18px 20px; }
  .current-weather-mark { width: 40px; height: 40px; }
  .current-weather-mark svg { width: 25px; }
  .current-temperature { margin-top: -6px; }
  .temperature-value { font-size: 82px; }
  .current-divider { margin: 16px 0 12px; }
  .details-column { gap: 10px; }
  .metric-grid { gap: 7px; }
  .metric-card { min-height: 129px; padding: 11px 9px 9px; }
  .metric-icon { margin-bottom: 7px; }
  .metric-value strong { font-size: 18px; }
  .uv-title { gap: 5px; }
  .uv-title .metric-icon { width: 25px; height: 25px; flex-basis: 25px; }
  .uv-title .metric-label { font-size: 8px; }
  .hourly-card { padding-inline: 12px; }
  .forecast-section { padding: 39px 0 43px; }
  .forecast-main-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .forecast-main-heading h2 { font-size: 18px; }
  .forecast-tabs { width: 100%; justify-content: space-between; }
  .forecast-tab { flex: 1; padding-inline: 3px; text-align: center; }
  .summary-copy { font-size: 11px; }
  .forecast-day { grid-template-columns: minmax(73px, 1fr) 32px minmax(0, 1.25fr) auto; gap: 7px; min-height: 61px; }
  .day-weather svg { width: 22px; height: 22px; }
  .day-condition { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
  .day-temperatures { gap: 5px; }
  .day-temperatures strong { font-size: 11px; }
  .day-temperatures span { font-size: 9px; }
  .day-rain { font-size: 8px; }
  .day-sun { display: none; }
  .forecast-day--focus { grid-template-columns: minmax(70px, 1fr) 33px minmax(90px, 1.25fr) auto; gap: 8px; }
  .forecast-day--focus .focus-condition small { font-size: 8px; }
  .focus-condition { font-size: 11px; }
  .focus-range strong { font-size: 25px; }
  .focus-rain { font-size: 9px; }
  .focus-rain strong { font-size: 15px; }
  .footer { grid-template-columns: auto 1fr; padding: 15px 20px; gap: 5px 14px; }
  .footer-copy { justify-self: end; text-align: right; font-size: 8px; }
  .footer-sources { grid-column: 1 / -1; display: flex; justify-content: space-between; justify-items: unset; gap: 8px; font-size: 7px; }
  .footer-sources > span + span { font-size: 7px; white-space: nowrap; }
}

@media (max-width: 390px) {
  .topbar { padding-inline: 19px; }
  main { width: calc(100% - 32px); }
  .place-name { font-size: 22px; }
  .place-detail, .update-note { font-size: 9px; }
  .metric-card { padding-inline: 7px; }
  .metric-label { font-size: 8px; }
  .metric-value strong { font-size: 17px; }
  .metric-value small { font-size: 8px; }
  .metric-caption { font-size: 7px; }
  .forecast-day--focus { grid-template-columns: 66px 27px minmax(86px, 1fr) auto; gap: 6px; }
  .focus-range strong { font-size: 23px; }
  .footer-copy { font-size: 7px; }
}

[hidden] { display: none !important; }

.topbar {
  position: relative;
  z-index: 4;
  height: 66px;
  padding-inline: max(20px, calc((100vw - 1054px) / 2));
  background: var(--paper);
}

.brand { gap: 9px; }
.brand-mark { width: 31px; height: 31px; border-radius: 10px; }
.brand-mark svg { width: 22px; }
.brand-name, .footer-brand { font-size: 19px; letter-spacing: -1px; }
.topbar-note { display: none; }

.province-picker { position: relative; }
.province-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  color: #53665b;
  border: 1px solid #e4e3d9;
  border-radius: 6px;
  background: var(--card);
  font-size: 11px;
  font-weight: 550;
  cursor: pointer;
  transition: background .16s, border-color .16s;
}
.province-trigger:hover, .province-trigger[aria-expanded="true"] { border-color: #b6c8b7; background: #eef0e7; }
.province-trigger > svg:first-child { width: 15px; height: 15px; stroke: #718675; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.province-trigger .province-chevron { width: 13px; height: 13px; stroke: #92958a; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.province-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 6;
  width: min(870px, calc(100vw - 32px));
  max-height: min(72vh, 590px);
  overflow: auto;
  padding: 22px 24px 25px;
  transform: translateX(-50%);
  border: 1px solid #e8e7de;
  border-radius: 9px;
  background: var(--card);
  box-shadow: 0 18px 48px #18251e20;
}
.province-menu-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.province-menu-heading h2 { margin: 5px 0 0; font: 650 19px/1.3 var(--display); letter-spacing: -.5px; }
.province-menu-close { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #f0f0e9; color: #687368; font-size: 22px; line-height: 1; cursor: pointer; }
.province-regions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.province-region { min-width: 0; }
.province-region h3 { margin: 0 0 10px; color: #788273; font-size: 9px; font-weight: 650; letter-spacing: 1.1px; text-transform: uppercase; }
.province-region-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 6px; }
.province-link { min-width: 0; padding: 7px 8px; overflow: hidden; color: #414f45; border-radius: 4px; font-size: 16px; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.province-link:hover, .province-link.is-current { color: #244336; background: #eef1e8; }
.province-link.is-current { font-weight: 650; }
.location-button { padding: 8px 10px; font-size: 10px; }

main { width: min(1054px, calc(100% - 48px)); }
.page-toolbar { min-height: 84px; padding: 18px 0 15px; display: grid; grid-template-columns: minmax(200px, 1fr) minmax(280px, 361px); align-items: center; gap: 24px; }
.page-heading .eyebrow { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-heading h1 { margin: 5px 0 0; font: 650 21px/1.3 var(--display); letter-spacing: -.7px; }
.search { flex-basis: auto; width: 100%; }
.forecast-tabs--top { margin: 2px 0 22px; }
.forecast-section { padding: 17px 0 23px; }
.forecast-main-heading { align-items: center; margin-bottom: 9px; }
.forecast-main-heading h2 { margin: 0; font: 600 15px/1.4 var(--display); letter-spacing: -.25px; }
.forecast-content { min-height: 0; padding: 0 15px; }
.forecast-content:empty { display: none; }
.forecast-day { grid-template-columns: minmax(100px, 1.2fr) 38px minmax(110px, 1.2fr) minmax(92px, .8fr) 58px 98px; min-height: 58px; column-gap: 9px; }
.day-sun { font-size: 8px; }
.weather-section { padding-top: 6px; }
.section-heading { align-items: center; margin-bottom: 11px; }
.place-name { margin: 0 0 3px; font-size: 19px; }
.place-detail { font-size: 9px; }
.current-card { min-height: 310px; }
.metric-card { min-height: 137px; }
.hourly-card { min-height: 162px; }

.hourly-forecast-list { width: 100%; }
.hourly-row { min-height: 53px; display: grid; grid-template-columns: minmax(90px, .7fr) minmax(140px, 1.5fr) minmax(55px, .4fr) minmax(60px, .5fr); align-items: center; gap: 15px; border-bottom: 1px solid #eae9e1; }
.hourly-row:last-child { border-bottom: 0; }
.hourly-row time { color: #717a70; font-size: 11px; }
.hourly-row-condition { display: flex; align-items: center; gap: 10px; color: #667266; font-size: 11px; }
.hourly-row-condition svg { width: 24px; height: 24px; color: #c9975b; }
.hourly-row > strong { color: #344239; font: 600 14px var(--display); }
.hourly-row-rain { color: #7e9298; font-size: 10px; }

.area-section { padding: 18px 0 48px; }
.area-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.area-heading h2 { margin: 0; font: 600 15px/1.4 var(--display); letter-spacing: -.25px; }
.area-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.area-link { min-height: 43px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 9px; color: #4a594d; border: 1px solid #e8e7de; border-radius: 5px; background: var(--card); font-size: 16px; text-decoration: none; transition: border-color .15s, background .15s; }
.area-link > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.area-link:hover, .area-link.is-current { border-color: #bdc9b9; background: #eef1e8; color: #244336; }
.area-arrow { color: #999e91; font-size: 11px; }

.footer { min-height: 58px; padding-block: 12px; }
.footer-sources { display: flex; align-items: center; gap: 18px; font-size: 7px; }
.footer-sources > span + span { font-size: 7px; }

@media (max-width: 760px) {
  .topbar { height: 61px; padding-inline: 16px; }
  .brand { gap: 7px; }
  .brand-mark { width: 29px; height: 29px; }
  .brand-name { font-size: 17px; }
  .province-trigger { gap: 5px; padding: 8px 7px; font-size: 10px; }
  .province-menu { position: fixed; top: 68px; left: 50%; width: calc(100vw - 24px); max-height: calc(100vh - 84px); padding: 18px 15px; }
  .province-menu-heading { margin-bottom: 14px; }
  .province-menu-heading h2 { font-size: 17px; }
  .province-regions { grid-template-columns: 1fr; gap: 18px; }
  .province-region-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .province-link { padding: 8px 5px; font-size: 15px; }
  .location-button { width: 34px; height: 34px; justify-content: center; padding: 8px; }
  .location-button > span { display: none; }
  main { width: calc(100% - 32px); }
  .page-toolbar { min-height: 0; padding: 17px 0 13px; grid-template-columns: 1fr auto; gap: 11px 8px; }
  .page-heading { grid-column: 1 / -1; }
  .page-heading h1 { font-size: 19px; }
  .search { grid-column: 1 / -1; height: 43px; }
  .forecast-tabs--top { margin: 1px 0 17px; }
  .forecast-tab { padding: 8px 7px; font-size: 9px; }
  .weather-grid { grid-template-columns: 1fr; }
  .current-card { min-height: 250px; }
  .metric-card { min-height: 122px; }
  .forecast-section { padding-block: 13px 18px; }
  .forecast-content { padding-inline: 7px; }
  .forecast-day { grid-template-columns: minmax(68px, 1fr) 27px minmax(60px, 1.2fr) auto; gap: 6px; min-height: 57px; }
  .day-sun { display: none; }
  .day-condition { font-size: 9px; }
  .day-temperatures { gap: 5px; }
  .day-temperatures strong { font-size: 11px; }
  .forecast-day--focus { grid-template-columns: minmax(64px, 1fr) 30px minmax(78px, 1.1fr) minmax(72px, 1fr) auto; gap: 6px; }
  .focus-condition { font-size: 10px; }
  .focus-condition small { font-size: 7px; }
  .focus-range strong { font-size: 22px; }
  .focus-range small { font-size: 7px; }
  .focus-rain { font-size: 8px; }
  .focus-rain strong { font-size: 13px; }
  .hourly-row { grid-template-columns: 66px minmax(90px, 1fr) 40px 42px; gap: 7px; min-height: 49px; }
  .hourly-row time, .hourly-row-condition { font-size: 9px; }
  .hourly-row-condition { gap: 5px; }
  .hourly-row-condition svg { width: 21px; height: 21px; }
  .hourly-row > strong { font-size: 12px; }
  .hourly-row-rain { font-size: 8px; }
  .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .area-link { min-height: 41px; padding: 8px 9px; font-size: 15px; }
  .footer { grid-template-columns: 1fr; justify-items: start; gap: 8px; padding-inline: 16px; }
  .footer-sources { width: 100%; justify-content: space-between; gap: 8px; font-size: 6px; letter-spacing: .45px; }
}

@media (max-width: 370px) {
  .province-trigger > svg:first-child { display: none; }
  .province-trigger { font-size: 9px; }
  .forecast-tab { padding-inline: 4px; font-size: 8px; }
  .forecast-day--focus { grid-template-columns: 58px 24px minmax(70px, 1fr) minmax(58px, .9fr) auto; gap: 4px; }
  .focus-range strong { font-size: 19px; }
  .focus-rain { font-size: 7px; }
}

body { font-size: 16px; }
.brand-name { font-size: 20px; }
.province-trigger, .location-button { font-size: 13px; }
.page-heading h1 { font-size: 25px; }
.page-heading .eyebrow, .eyebrow { font-size: 11px; }
.search input { font-size: 14px; }
.search button[type="submit"] { font-size: 13px; }
.forecast-tab { font-size: 12px; }
.forecast-main-heading h2, .area-heading h2 { font-size: 18px; }
.day-label strong { font-size: 14px; }
.day-label small { font-size: 11px; }
.day-condition, .hourly-row-condition { font-size: 12px; }
.day-temperatures strong { font-size: 14px; }
.day-temperatures span, .day-rain, .hourly-row-rain { font-size: 11px; }
.day-sun { font-size: 10px; }
.focus-condition { font-size: 15px; }
.focus-condition small, .focus-range small { font-size: 11px; }
.focus-rain { font-size: 12px; }
.hourly-row time { font-size: 13px; }
.hourly-row > strong { font-size: 16px; }
.area-link { font-size: 16px; }
.province-link { font-size: 16px; }
.result-name { font-size: 16px; }
.result-address { font-size: 13px; }
.metric-label { font-size: 11px; }
.metric-value small { font-size: 11px; }
.metric-caption { font-size: 10px; }
.place-name { font-size: 23px; }
.place-detail, .update-note { font-size: 12px; }
.current-condition { font-size: 16px; }
.feels-like, .current-range { font-size: 12px; }
.current-range > span + span { font-size: 13px; }

.weather-summary { max-width: 860px; padding: 3px 0 15px; }
.weather-summary h2 { margin: 0 0 10px; font: 650 20px/1.35 var(--display); letter-spacing: -.4px; }
.weather-summary p { margin: 0 0 8px; color: #58645a; font-size: 16px; line-height: 1.75; }
.weather-summary p:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
  .brand-name { font-size: 18px; }
  .province-trigger { font-size: 12px; }
  .page-heading h1 { font-size: 22px; }
  .forecast-tab { font-size: 11px; }
  .forecast-main-heading h2, .area-heading h2 { font-size: 17px; }
  .day-label strong { font-size: 12px; }
  .day-label small { font-size: 10px; }
  .day-condition, .hourly-row-condition { font-size: 11px; }
  .day-temperatures strong { font-size: 12px; }
  .day-temperatures span, .day-rain, .hourly-row-rain { font-size: 10px; }
  .focus-condition { font-size: 12px; }
  .focus-condition small, .focus-range small { font-size: 9px; }
  .focus-rain { font-size: 10px; }
  .focus-rain strong { font-size: 14px; }
  .hourly-row time { font-size: 11px; }
  .hourly-row > strong { font-size: 14px; }
  .area-link, .province-link { font-size: 15px; }
  .result-name { font-size: 15px; }
  .metric-label { font-size: 10px; }
  .metric-caption { font-size: 9px; }
  .place-name { font-size: 21px; }
  .weather-summary { padding-bottom: 10px; }
  .weather-summary h2 { font-size: 18px; }
  .weather-summary p { font-size: 15px; line-height: 1.65; }
}

.forecast-tabs--top {
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.forecast-tabs--top::-webkit-scrollbar { display: none; }
.forecast-tabs--top .forecast-tab { flex: 0 0 auto; }
.hourly-card--list { min-height: 0; }
.hourly-card--list .hourly-list { min-height: 0; display: block; padding-top: 9px; }
.forecast-availability { margin: 0 0 10px; padding: 10px 12px; color: #667366; background: #eeefe6; border-radius: 5px; font-size: 14px; line-height: 1.55; }
