.weather-panel { margin-top: 24px; min-width: 0; }
.weather-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 15px; }
.weather-heading h2 { margin-bottom: 10px; }
.weather-heading > div > p:last-child { font-size: 12px; color: var(--muted); margin: 0; }
.weather-demo-badge { padding: 7px 10px; border: 1px solid #bacdbe; border-radius: 4px; background: #eff4ea; font-size: 12px; white-space: nowrap; }
.weather-advisory { font-size: 13px; padding: 16px 18px; background: #eff3ea; border-radius: 4px; margin: 22px 0; }
.weather-evidence { padding: 22px; border: 1px solid var(--line); border-radius: 5px; background: #fafbf7; }
.weather-evidence-heading { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 14px; }
.weather-evidence-heading > div { flex: 1 1 260px; }
.weather-evidence-heading p { font-size: 12px; color: var(--muted); margin: 0; max-width: 610px; }
.weather-freshness { background: #e5eddf; color: #36573d; padding: 7px 9px; border-radius: 4px; font-size: 12px; white-space: nowrap; }
.weather-freshness.is-stale { background: #f4e7c9; color: #775725; }
.weather-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 25px 0; gap: 23px 20px; }
.weather-values dt { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.weather-values dd { margin: 0; font-family: Georgia, serif; font-size: 33px; }
.weather-values dd span { font-size: 14px; font-family: Arial, Helvetica, sans-serif; }
.weather-values .marine-value-detail { font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: var(--muted); line-height: 1.6; margin-top: 8px; }
.marine-sea-description { border-left: 3px solid #8aa791; padding-left: 13px; margin: 22px 0 0; font-size: 15px; }
.marine-sea-description > span { display: block; font-size: 12px; color: var(--muted); }
.marine-windy { margin-top: 24px; padding: 22px; border: 1px solid #c7d5d1; border-radius: 5px; background: #f2f6f4; }
.marine-windy-heading { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; }
.marine-windy-heading p:last-child { font-size: 12px; color: var(--muted); margin: 7px 0 0; }
.marine-windy-heading h3 { font-family: Georgia, serif; font-size: 24px; font-weight: normal; }
.marine-external-badge { font-size: 12px; padding: 6px 9px; border: 1px solid #b8cbc5; border-radius: 4px; white-space: nowrap; }
.marine-map-date-note { font-size: 13px; max-width: 820px; }
.marine-map-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 13px; margin: 19px 0 16px; }
.marine-layer-switch { display: flex; gap: 4px; background: #e2ebe5; border: 1px solid #c4d2ca; border-radius: 5px; padding: 4px; }
.marine-layer-switch button { min-height: 42px; padding: 9px 21px; border: 0; border-radius: 3px; background: transparent; color: var(--muted); font-size: 13px; }
.marine-layer-switch button[aria-pressed="true"] { background: white; color: var(--ink); font-weight: bold; box-shadow: 0 1px 4px #193e4012; }
.marine-map-link { font-size: 12px; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.marine-map-placeholder { min-height: 240px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: #e4efeb; border: 1px dashed #a4bdb3; border-radius: 5px; padding: 24px; }
.marine-map-placeholder > span { font-family: Georgia, serif; font-size: 39px; color: #658a7f; line-height: 1; }
.marine-map-placeholder h4 { font-family: Georgia, serif; font-size: 23px; font-weight: normal; margin: 13px 0 3px; }
.marine-map-placeholder p { font-size: 13px; max-width: 470px; color: var(--muted); margin: 8px 0 18px; }
.marine-windy-frame { display: block; width: 100%; height: 460px; border: 1px solid #bdcec5; border-radius: 5px; background: #dfeae5; }
.marine-map-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.marine-map-footer p { font-size: 12px; color: var(--muted); margin: 12px 0; }
.weather-timestamps { display: grid; gap: 9px; margin: 0; border-top: 1px solid var(--line); padding-top: 18px; }
.weather-timestamps > div { display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 10px; font-size: 12px; line-height: 1.6; }
.weather-timestamps dt { color: var(--muted); }
.weather-timestamps dd { margin: 0; }
.weather-stale-note { border-left: 3px solid #b8893b; background: #f7efdb; padding: 12px 15px; font-size: 12px; line-height: 1.65; }
.weather-simulation { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 19px; }
.weather-management { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; margin-top: 27px; }
.weather-management > section { min-width: 0; }
.weather-subheading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.weather-subheading h3 { margin: 0; }
.weather-watch form, .weather-proposal form { margin-top: 20px; }
.weather-panel textarea { min-height: 90px; }
.weather-watch form > button, .weather-proposal form > button { margin-top: 14px; }
.weather-panel .field-label { margin-top: 16px; }
.weather-operator-note { background: #f5f2e6; padding: 15px; border-radius: 4px; margin: 20px 0 16px; font-size: 12px; overflow-wrap: anywhere; }
.weather-operator-note p { margin: 5px 0 0; white-space: pre-line; }
.weather-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.weather-form-row input[type="time"] { width: 100%; min-width: 0; height: 46px; border: 1px solid #a6b7af; border-radius: 4px; padding: 10px; background: white; color: var(--ink); font-size: 16px; }
.weather-impact, .weather-saved-proposal { padding: 18px; margin-top: 20px; border: 1px solid #bdcdbb; border-radius: 5px; background: #f3f7ee; overflow-wrap: anywhere; }
.weather-impact h4, .weather-saved-proposal h4 { font-size: 15px; line-height: 1.55; margin: 0 0 12px; }
.weather-impact p:not(.op-kicker), .weather-saved-proposal p { font-size: 12px; }
.weather-preview-reason, .weather-saved-proposal > p { white-space: pre-line; }
.weather-impact-counts { display: flex; flex-wrap: wrap; gap: 14px 24px; margin: 20px 0; }
.weather-impact-counts dt { font-size: 12px; color: var(--muted); line-height: 1.6; }
.weather-impact-counts dd { font-size: 21px; font-family: Georgia, serif; margin: 5px 0 0; }
.weather-saved-proposal { background: #faf7ed; border-color: #dfd0ad; }
.weather-pending { display: block; font-size: 12px; color: #785b27; margin-bottom: 13px; font-weight: bold; line-height: 1.6; }
.weather-guest-notice { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 28px; }
.weather-guest-notice blockquote { margin: 16px 0; padding: 18px 20px; border-left: 3px solid #86a491; background: #f0f5eb; font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; white-space: pre-line; }
.weather-guest-notice > button { margin-top: 16px; }
.weather-history { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 18px; }
.weather-history summary { cursor: pointer; font-size: 14px; padding: 10px 0; line-height: 1.6; }
.weather-history summary span { margin-left: 10px; font-size: 12px; color: var(--muted); }
.weather-history summary:focus-visible { outline: 3px solid #a65b20; outline-offset: 3px; }
.weather-history ol { list-style: none; padding: 0; margin: 8px 0 0; }
.weather-history li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 10px 18px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.weather-history time { color: var(--muted); }
.weather-history > p { font-size: 12px; }
@media (max-width: 850px) {
  .weather-management { grid-template-columns: 1fr; gap: 27px; }
  .weather-proposal { border-top: 1px solid var(--line); padding-top: 25px; }
}
@media (max-width: 520px) {
  .weather-evidence { padding: 16px; }
  .weather-values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .weather-values dd { font-size: 30px; }
  .weather-timestamps > div { grid-template-columns: 1fr; gap: 2px; }
  .weather-form-row { grid-template-columns: 1fr; gap: 0; }
  .weather-history li { grid-template-columns: 1fr; gap: 5px; }
  .weather-simulation > .secondary, .weather-guest-notice > button { width: 100%; }
  .weather-impact, .weather-saved-proposal { padding: 15px; }
  .weather-impact > .primary { width: 100%; }
  .marine-windy { padding: 16px; }
  .marine-map-placeholder { padding: 23px 16px; }
  .marine-windy-frame { height: 400px; }
  .marine-map-toolbar { align-items: flex-start; gap: 5px; }
  .marine-map-placeholder .secondary { width: 100%; }
}
