.mn-weather { position: relative; z-index: 8; width: fit-content; max-width: min(100%, 480px); color: #17283e; font-family: inherit; text-align: left; }
.mn-weather * { box-sizing: border-box; }
.mn-weather button { font: inherit; cursor: pointer; }
.mn-weather button:focus-visible, .mn-weather a:focus-visible { outline: 3px solid #f37938; outline-offset: 4px; }
.mn-weather-toggle { display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 480px; min-height: 48px; padding: 10px 14px; background: #fff; color: #17283e; border: 1px solid #e2e8ee; border-radius: 9px; box-shadow: 0 9px 26px #07152624; text-align: left; transition: transform 160ms ease, box-shadow 160ms ease; }
.mn-weather-toggle:hover { transform: translateY(-2px); box-shadow: 0 12px 30px #07152633; }
.mn-weather-icon { display: block; flex: 0 0 24px; width: 24px; height: 24px; filter: brightness(0) saturate(100%) invert(45%) sepia(94%) saturate(1716%) hue-rotate(343deg) brightness(101%) contrast(89%); }
.mn-weather-toggle-text { display: flex; align-items: center; gap: 18px; flex: 1; }
.mn-weather-toggle-text strong { font-size: 14px; line-height: 1.25; font-weight: 750; }
.mn-weather-teaser { display: inline-flex; align-items: center; gap: 7px; color: #546577; font-size: 12px; line-height: 1.4; white-space: nowrap; }
.mn-weather-teaser::after { content: ''; width: 13px; height: 13px; flex: 0 0 13px; background: url('assets/icons/arrow-right.svg') center / contain no-repeat; filter: brightness(0) saturate(100%) invert(45%) sepia(94%) saturate(1716%) hue-rotate(343deg) brightness(101%) contrast(89%); }
.mn-weather-temperature { color: #17283e; font-weight: 800; font-size: 14px; }
.mn-weather-panel { position: absolute; top: auto; bottom: calc(100% + 12px); left: 0; right: auto; z-index: 30; width: min(344px, calc(100vw - 32px)); max-height: min(560px, calc(100dvh - 130px)); overflow-y: auto; padding: 22px; color: #17283e; background: #fff; border: 1px solid #e6e9ed; border-radius: 18px; box-shadow: 0 16px 56px #07152638; }
.mn-weather-panel[hidden] { display: none; }
.mn-weather-panel { z-index:65; }
.mn-weather-panel button { font:inherit; cursor:pointer; }
.mn-weather-panel :focus-visible { outline:3px solid #f0522d; outline-offset:3px; }
.mn-weather-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.mn-weather-kicker { margin: 0 0 3px; color: #a54824; text-transform: uppercase; letter-spacing: .1em; font-size: 9px; font-weight: 800; line-height: 1.4; }
.mn-weather-heading h2 { margin: 0; color: #17283e; font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -.03em; }
.mn-weather-close { padding: 7px 8px; border: 0; border-radius: 6px; background: #f2f4f6; color: #586575; font-size: 11px !important; }
.mn-weather-close { flex: 0 0 auto; }
.mn-weather-heading > div { min-width: 0; }
.mn-weather-heading h2 { overflow-wrap: anywhere; }
.mn-weather-search { margin: 0 0 8px; padding: 0; }
.mn-weather-search label { display: block; margin: 0 0 7px; color: #526274; font-size: 11px; font-weight: 700; }
.mn-weather-search-row { display: flex; align-items: stretch; gap: 7px; }
.mn-weather-search input { display: block; width: 100%; min-width: 0; padding: 10px 9px; border: 1px solid #ced7df; border-radius: 7px; color: #17283e; background: #fff; font-family: inherit; font-size: 13px; line-height: 1.4; }
.mn-weather-search input:focus-visible { outline: 3px solid #f37938; outline-offset: 2px; }
.mn-weather-search-button { flex: 0 0 auto; padding: 9px 10px; background: #19344b; border: 0; border-radius: 7px; color: #fff; font-size: 11px !important; font-weight: 700 !important; }
.mn-weather-search-button:disabled { opacity: .6; cursor: wait; }
.mn-weather-search-status { margin: 7px 0 0; color: #697383; font-size: 11px; line-height: 1.5; }
.mn-weather-search-status:empty { display: none; }
.mn-weather-city-results { list-style: none; display: grid; gap: 5px; max-height: 240px; overflow-y: auto; margin: 10px 0 15px; padding: 2px; }
.mn-weather-city-results[hidden], .mn-weather-home[hidden] { display: none; }
.mn-weather-city-choice { display: grid; gap: 3px; width: 100%; padding: 10px; border: 1px solid #e0e6ed; border-radius: 7px; background: #f7f9fb; color: #17283e; text-align: left; }
.mn-weather-city-choice:hover { background: #edf2f7; border-color: #aabac8; }
.mn-weather-city-choice strong { font-size: 12px; }
.mn-weather-city-choice span { color: #697383; font-size: 10px; }
.mn-weather-home, .mn-weather-search-retry { display: inline-block; margin: 8px 0 10px; padding: 4px 0; border: 0; color: #a74321; background: transparent; font-size: 11px !important; text-decoration: underline; text-underline-offset: 3px; }
.mn-weather-search-retry { margin: 3px 0 0 8px; }
.mn-weather-current { display: flex; align-items: center; gap: 20px; padding: 4px 0 18px; }
.mn-weather-current-temp { font-size: 42px; font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.mn-weather-current-detail { display: grid; gap: 4px; font-size: 11px; color: #697383; line-height: 1.3; }
.mn-weather-current-detail strong { color: #17283e; font-size: 14px; }
.mn-weather-days { display: grid; padding: 0; margin: 0; list-style: none; border-top: 1px solid #e8ebef; }
.mn-weather-day { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid #e8ebef; }
.mn-weather-day-info { display: grid; gap: 3px; }
.mn-weather-day-info strong { font-size: 12px; font-weight: 750; }
.mn-weather-day-info span { color: #697383; font-size: 11px; }
.mn-weather-day-range { color: #17283e; font-size: 13px; font-weight: 750; white-space: nowrap; }
.mn-weather-method, .mn-weather-updated, .mn-weather-stale { margin: 11px 0 0; color: #697383; font-size: 10px; line-height: 1.5; }
.mn-weather-stale { color: #92511a; background: #fff6e8; border-radius: 6px; padding: 8px; }
.mn-weather-attribution { padding-top: 12px; margin: 12px 0 0; border-top: 1px solid #e8ebef; color: #697383; font-size: 9px; line-height: 1.7; }
.mn-weather-attribution a { color: #344d65; text-decoration: underline; text-underline-offset: 2px; }
.mn-weather-loading, .mn-weather-unavailable { margin: 18px 0; font-size: 13px; line-height: 1.6; color: #586575; }
.mn-weather-retry { border: 0; border-radius: 7px; padding: 9px 14px; color: #fff; background: #b94820; font-size: 12px !important; font-weight: 700 !important; }
@media (max-width: 600px) {
  .mn-weather { width: fit-content; max-width: 100%; }
  .mn-weather-toggle { min-height: 48px; max-width: 100%; padding: 10px 12px; }
  .mn-weather-toggle-text { flex-wrap: wrap; gap: 3px 12px; }
  .mn-weather-panel { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .mn-weather-toggle { transition: none; } .mn-weather-toggle:hover { transform: none; } }
