.warming-map-page { padding-bottom: 52px; }
.warming-map-hero { width: 100%; }
.warming-map-card { padding: 26px; }
.warming-map-card-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 22px; }
.warming-map-card-heading h2 { margin: 0; }
.warming-map-controls { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.warming-map-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 10px; border: 1px solid #ded4d1; border-radius: 999px; background: #fff; color: var(--muted); font-size: .74rem; font-weight: 700; cursor: pointer; }
.warming-map-toggle .trend-metric-icon { width: 15px; height: 15px; flex: 0 0 15px; padding: 0; color: currentColor; }
.warming-map-toggle .trend-metric-icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.warming-map-toggle.metric-hot .trend-metric-icon svg { fill: currentColor; stroke: none; }
.warming-map-toggle.metric-summer { border-color: #e9c58e; background: #fffaf0; color: #9a5700; }
.warming-map-toggle.metric-hot { border-color: #efb8bc; background: #fff5f5; color: #a80712; }
.warming-map-toggle.metric-temperature { border-color: #c7ccd1; background: #f4f5f6; color: #555c64; }
.warming-map-toggle[aria-pressed="false"] { box-shadow: none; opacity: .66; }
.warming-map-toggle[aria-pressed="true"] { border-width: 2px; padding: 6px 9px; box-shadow: 0 2px 8px rgba(25,28,30,.08); }
.warming-map-layout { display: grid; grid-template-columns: minmax(0, 660px) minmax(360px, 1fr); gap: 40px; align-items: start; }
.warming-map-visual { min-width: 0; }
.warming-map-canvas-wrap { position: relative; width: min(100%, 660px); margin: 0 auto; aspect-ratio: 11 / 15; overflow: visible; }
#warming-map-canvas, .warming-map-preview { display: block; width: 100%; height: 100%; image-rendering: auto; }
#warming-map-canvas { touch-action: pan-y; }
#warming-map-canvas[hidden], .warming-map-preview[hidden] { display: none; }
.warming-map-preview { object-fit: contain; }
.warming-map-status { position: absolute; inset: 50% auto auto 50%; margin: 0; padding: 9px 12px; transform: translate(-50%, -50%); background: rgba(255,255,255,.94); border: 1px solid var(--line); }
.warming-map-tooltip { position: absolute; z-index: 3; width: min(400px, calc(100vw - 24px)); padding: 13px 14px; color: #fff; background: rgba(25,28,30,.96); box-shadow: 0 8px 24px rgba(0,0,0,.24); pointer-events: none; font-size: .84rem; line-height: 1.45; white-space: normal; }
.warming-map-tooltip.is-pinned { pointer-events: auto; }
.warming-map-tooltip-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.warming-map-tooltip-header > strong { display: block; font-size: .96rem; }
.warming-map-tooltip-section { display: grid; gap: 5px; padding-top: 9px; margin-top: 9px; border-top: 1px solid rgba(255,255,255,.16); }
.warming-map-tooltip-header + .warming-map-tooltip-section { margin-top: 7px; }
.warming-map-tooltip-row { display: grid; grid-template-columns: 145px minmax(0,1fr); gap: 16px; align-items: baseline; justify-content: start; }
.warming-map-tooltip-row > span { color: rgba(255,255,255,.74); }
.warming-map-tooltip-row > strong { min-width: 0; font-weight: 700; text-align: left; overflow: visible; overflow-wrap: anywhere; }
.warming-map-tooltip-place-link { color: inherit; text-decoration: none; }
.warming-map-tooltip-place-link:hover, .warming-map-tooltip-place-link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.warming-map-tooltip-close { appearance: none; flex: 0 0 auto; width: 24px; height: 24px; margin: -3px -4px 0 0; display: inline-grid; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; font: inherit; line-height: 1; }
.warming-map-tooltip-close:hover, .warming-map-tooltip-close:focus-visible { background: rgba(255,255,255,.22); outline: none; }
.warming-map-selection-marker { position: absolute; z-index: 2; width: 18px; height: 18px; border: 2px solid #191c1e; border-radius: 50%; background: rgba(255,255,255,.35); box-shadow: 0 0 0 3px rgba(255,255,255,.86), 0 3px 10px rgba(0,0,0,.22); pointer-events: none; transform: translate(-50%, -50%); }
.warming-map-selection-marker[hidden] { display: none; }
.warming-map-legend { display: grid; grid-template-columns: auto minmax(130px,1fr) auto; align-items: center; gap: 10px; width: min(100%, 520px); margin: 14px auto 0; font-size: .78rem; color: var(--muted); }
.warming-map-legend-bar { height: 12px; border-radius: 999px; background: linear-gradient(90deg,#f5f6f7,#d9dde1,#8f969e,#555c64); }
.warming-map-legend-bar.metric-summer { background: linear-gradient(90deg,#f1f2f4,#fff0cf,#eba633,#d87900); }
.warming-map-legend-bar.metric-hot { background: linear-gradient(90deg,#f1f2f4,#ffe5e7,#df5864,#a80712); }
.warming-map-touch-readout { display: none; max-width: 660px; margin: 12px auto 0; border-left-color: #d87900; }
.warming-map-touch-readout.metric-summer { border-left-color: #d87900; }
.warming-map-touch-readout.metric-hot { border-left-color: #a80712; }
.warming-map-touch-readout.metric-temperature { border-left-color: #5f6468; }
.warming-map-touch-readout .warming-map-readout-title { display: block; margin-bottom: 8px; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 1rem; }
.warming-map-touch-readout .warming-map-readout-lines { display: grid; gap: 5px 14px; }
.warming-map-touch-readout .warming-map-readout-row { display: grid; grid-template-columns: minmax(120px, auto) minmax(0, 1fr); gap: 12px; align-items: baseline; }
.warming-map-touch-readout .warming-map-readout-row span { color: var(--muted); }
.warming-map-touch-readout .warming-map-readout-row strong { min-width: 0; text-align: right; }
.warming-map-mobile-location-link { display: none; margin-top: 10px; color: #a80712; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.warming-map-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; max-width: 660px; margin: 16px auto 0; }
.warming-map-actions p { max-width: 430px; margin: 0; color: var(--muted); font-size: .85rem; }
.warming-map-action-buttons { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.warming-map-download, .warming-map-share { min-height: 40px; padding: 8px 13px; border: 1px solid var(--line); background: #fff; color: var(--red); font-weight: 700; cursor: pointer; }
.warming-map-share { display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.warming-map-share-icon { width: 15px; height: 15px; flex: 0 0 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.warming-map-download:hover, .warming-map-share:hover { border-color: var(--red); background: #fff6f4; }
.warming-map-download:focus-visible, .warming-map-share:focus-visible { outline: 2px solid #b00020; outline-offset: 3px; }
.warming-map-summary { min-width: 0; }
.warming-map-summary-intro { margin: 0 0 16px; padding: 13px 15px; border-left: 3px solid #b9081c; background: #f7f8f9; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.warming-map-summary-intro p { margin: 0; }
.warming-map-summary-intro .eyebrow { margin: 0 0 5px; color: #a80712; font-size: .68rem; }
.warming-map-summary h3 { margin: 0 0 6px; color: var(--muted); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: .82rem; font-weight: 800; line-height: 1.25; }
.warming-map-summary-note { margin: -2px 0 10px; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.warming-map-trend-summary { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0; }
.warming-map-trend-summary > .warming-map-summary-control { position: relative; min-width: 0; min-height: 196px; padding: 18px 20px 18px 22px; display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 4px; overflow: hidden; border: 1px solid #e1d8d6; border-left-width: 4px; border-radius: 6px; background: linear-gradient(145deg,#fff 0%,#fff 68%,#fbf7f6 100%); box-shadow: 0 3px 12px rgba(69,10,10,.045); }
.warming-map-summary-control { width: 100%; appearance: none; text-align: left; color: inherit; cursor: pointer; font: inherit; }
.warming-map-summary-control:focus-visible { outline: 2px solid #b00020; outline-offset: 3px; }
.warming-map-trend-summary .trend-metric-icon { width: 43px; height: 43px; }
.warming-map-trend-summary .trend-metric-icon svg { width: 26px; height: 26px; }
.warming-map-trend-summary .trend-delta { display: block; }
.warming-map-trend-summary .trend-metric-summer { background: linear-gradient(145deg,#fffdf8 0%,#fff7e9 100%); }
.warming-map-trend-summary .trend-metric-hot { background: linear-gradient(145deg,#fffafa 0%,#fff0ef 100%); }
.warming-map-trend-summary .trend-metric-temperature { border-left-color: #5f6468!important; background: linear-gradient(145deg,#fbfbfc 0%,#f3f4f5 100%); }
.warming-map-trend-summary .trend-metric-temperature .trend-metric-icon { background: #e6e8ea; color: #5f6468; }
.warming-map-trend-summary .trend-metric-summer .trend-delta,
.warming-map-trend-summary .trend-metric-summer .trend-delta-value,
.warming-map-trend-summary .trend-metric-summer .trend-period { color: #9a5700; }
.warming-map-trend-summary .trend-metric-hot .trend-delta,
.warming-map-trend-summary .trend-metric-hot .trend-delta-value,
.warming-map-trend-summary .trend-metric-hot .trend-period { color: #a80712; }
.warming-map-trend-summary .trend-metric-temperature .trend-delta,
.warming-map-trend-summary .trend-metric-temperature .trend-delta-value,
.warming-map-trend-summary .trend-metric-temperature .trend-period { color: #5f6468; }
.warming-map-context { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 12px; margin-top: 16px; padding: 15px 18px; border: 1px solid #b8d4f2; border-left-width: 4px; border-left-color: #2f6fa8; background: #eff7ff; color: #334e68; font-size: .84rem; line-height: 1.55; }
.warming-map-context-icon { width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 50%; background: #2f6fa8; color: #fff; font-size: .78rem; font-weight: 800; line-height: 1; }
.warming-map-context .eyebrow { margin: 0 0 6px; color: #2f6fa8; }
.warming-map-context h4 { margin: 0 0 8px; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; line-height: 1.2; }
.warming-map-context p { margin: 0; }
.warming-map-context p + p { margin-top: 9px; }
.warming-map-findings, .warming-map-table-section { margin-top: 42px; }
.warming-map-finding-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.warming-map-finding-grid .card { position: relative; padding: 22px; border-top-width: 3px; }
.warming-map-finding-grid .card.metric-temperature { border-top-color: #5f6468; }
.warming-map-finding-grid .card.metric-temperature .trend-metric-icon { background: #e6e8ea; color: #5f6468; }
.warming-map-finding-grid .card.metric-summer { border-top-color: #dc7c00; }
.warming-map-finding-grid .card.metric-hot { border-top-color: #b9081c; }
.warming-map-finding-grid h3 { margin: 0 0 10px; }
.warming-map-finding-grid p { margin: 0; line-height: 1.65; }
.warming-map-finding-icon { position: absolute; top: 18px; right: 18px; }
.warming-map-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.warming-map-table { width: 100%; border-collapse: collapse; min-width: 690px; }
.warming-map-table th, .warming-map-table td { padding: 13px 16px; border-bottom: 1px solid #e3e3e3; text-align: right; }
.warming-map-table th:first-child { text-align: left; }
.warming-map-table thead th { background: #f0f2f4; font-size: .82rem; }
.warming-map-table tbody tr:last-child th, .warming-map-table tbody tr:last-child td { border-bottom: 0; }
.warming-map-table a { color: inherit; text-decoration: none; }
.warming-map-table a:hover, .warming-map-table a:focus-visible { text-decoration: underline; }
.warming-map-sort { appearance: none; border: 0; background: transparent; color: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; justify-content: flex-end; width: 100%; padding: 0; font: inherit; font-weight: 800; text-align: inherit; }
.warming-map-table th:first-child .warming-map-sort { justify-content: flex-start; }
.warming-map-sort:hover, .warming-map-sort:focus-visible { text-decoration: underline; }
.warming-map-sort:focus-visible { outline: 2px solid #b00020; outline-offset: 3px; }
.warming-map-sort-indicator { color: #b00020; display: inline-block; min-width: 1em; text-align: center; font-size: .82em; line-height: 1; }
@media (min-width: 981px) {
    .warming-map-trend-summary > .warming-map-summary-control { min-height: 158px; grid-template-columns: minmax(0,1.05fr) minmax(0,1.05fr) 52px; grid-template-rows: auto auto 1fr auto; column-gap: 22px; }
    .warming-map-trend-summary .trend-label, .warming-map-trend-summary .trend-definition, .warming-map-trend-summary .trend-current-value, .warming-map-trend-summary .trend-current-period { grid-column: 1; }
    .warming-map-trend-summary .trend-definition { padding-right: 0; }
    .warming-map-trend-summary .trend-metric-icon { right: 20px; grid-column: 3; grid-row: 1 / 3; justify-self: end; }
    .warming-map-trend-summary .trend-delta { grid-column: 2; grid-row: 3 / 5; align-self: end; justify-self: start; margin-top: 0; padding: 0 0 0 18px; border-top: 0; border-left: 1px solid rgba(99,39,39,.14); }
    .warming-map-trend-summary .trend-delta-value { font-size: clamp(2rem,2.25vw,2.5rem); font-weight: 700; line-height: 1; letter-spacing: -.045em; }
    .warming-map-trend-summary .trend-period { margin-left: 0; }
}
@media (max-width: 980px) {
    .warming-map-card-heading { display: block; }
    .warming-map-controls { justify-content: flex-start; margin-top: 16px; }
    .warming-map-layout { grid-template-columns: 1fr; }
    .warming-map-trend-summary { grid-template-columns: 1fr; }
    .warming-map-finding-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .warming-map-page { overflow-x: clip; }
    .warming-map-card { padding: 18px 16px; }
    .warming-map-controls { display: grid; grid-template-columns: 1fr; }
    .warming-map-toggle { justify-content: center; width: 100%; border-radius: 999px; }
    .warming-map-canvas-wrap { width: calc(100% + 32px); margin-left: -16px; }
    .warming-map-selection-marker:not([hidden]) { display: block; }
    .warming-map-actions { display: block; margin-top: 8px; }
    .warming-map-actions p { font-size: .78rem; line-height: 1.45; }
    .warming-map-action-buttons { display: grid; grid-template-columns: 1fr; margin-top: 8px; gap: 6px; }
    .warming-map-download, .warming-map-share { width: 100%; }
    .warming-map-tooltip { display: none!important; }
    .warming-map-touch-readout:not([hidden]) { display: block; }
    .warming-map-touch-readout .warming-map-readout-row { grid-template-columns: minmax(105px, auto) minmax(0, 1fr); gap: 10px; }
    .warming-map-touch-readout .warming-map-readout-row strong { text-align: right; }
    .warming-map-mobile-location-link { display: inline-flex; }
}
