* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0px; background: rgb(245, 244, 238); color: rgb(25, 59, 52); font: 15px system-ui, sans-serif; }
header { background: rgb(25, 63, 54); color: rgb(255, 255, 255); padding-right: max(5%, 50% - 580px); padding-left: max(5%, 50% - 580px); }
nav { font-size: 12px; letter-spacing: 2px; font-weight: 700; }
h1 { font: clamp(30px, 4vw, 46px) Georgia; margin: 22px 0px 8px; }
header p { margin: 0px; color: rgb(209, 224, 212); }
main { max-width: 1200px; padding-right: 22px; padding-bottom: 22px; padding-left: 22px; margin: auto; }
h2 { font: 30px Georgia; margin: 20px 0px 12px; }
button, select { font: inherit; padding: 9px 13px; border: 1px solid rgb(189, 206, 194); background: rgb(255, 255, 255); border-radius: 7px; color: rgb(25, 59, 52); cursor: pointer; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: rgb(195, 108, 50) solid 3px; outline-offset: 3px; }
.mapwrap { position: relative; overflow: hidden; }
.maptools { position: absolute; right: 12px; top: 12px; display: flex; gap: 6px; }
.caption { position: absolute; bottom: 10px; left: 14px; font-size: 12px; background: rgba(245, 244, 238, 0.867); padding: 6px 9px; border-radius: 6px; pointer-events: none; }
.pin { cursor: pointer; }
.pin text { font: 600 15px system-ui; paint-order: stroke; stroke: rgb(243, 244, 233); stroke-width: 5px; stroke-linejoin: round; fill: rgb(21, 61, 51); }
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 16px 0px; }
.muted, small { color: rgb(97, 116, 106); }
small { font-size: 11px; }
.card:focus { outline: rgb(199, 139, 80) solid 3px; }
.tag { color: rgb(169, 86, 39); font-weight: 650; font-size: 12px; }
.hour { display: grid; grid-template-columns: 48px 30px 1fr 45px; align-items: center; gap: 8px; border-top: 1px solid rgb(230, 236, 229); padding: 13px 0px; font-size: 13px; }
.icon { font-size: 25px; }
.temp { text-align: right; font-weight: 700; }
.condition { font-weight: 550; }
.confidence { display: block; margin-top: 4px; font-size: 11px; color: rgb(100, 117, 106); }
.note { padding: 12px 16px; background: rgb(231, 237, 226); border-radius: 8px; line-height: 1.6; font-size: 13px; }
.source { font-size: 11px; line-height: 1.6; margin-top: 12px; color: rgb(98, 116, 105); }
details { margin-top: 22px; line-height: 1.7; }
summary { cursor: pointer; font-weight: 650; }
footer { padding: 24px; text-align: center; font-size: 12px; color: rgb(98, 116, 105); }
a { color: inherit; }
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .hour { grid-template-columns: 65px 36px 1fr 60px; }
  #map { height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.card { background: linear-gradient(145deg, rgb(40, 91, 112), rgb(23, 62, 83)); color: rgb(244, 248, 252); border: 0px; padding: 24px; border-radius: 22px; }
.card .tag, .card small, .card .source { color: rgb(195, 215, 223); }
.card h3 { font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-weight: 500; font-stretch: normal; font-size: 25px; font-family: system-ui; margin: 8px 0px; }
.current { display: flex; align-items: center; gap: 16px; font-size: 38px; }
.current strong { font-size: 48px; font-weight: 300; }
.panel { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 14px; padding: 14px; margin-top: 14px; }
.paneltitle { font-size: 11px; letter-spacing: 1px; color: rgb(188, 211, 223); display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.arrows { display: flex; gap: 4px; }
.arrows button { padding: 0px 9px; background: rgba(255, 255, 255, 0.082); border: 0px; color: white; font-size: 23px; }
.hourstrip { display: flex; overflow-x: auto; gap: 8px; scroll-snap-type: x; scrollbar-width: thin; scrollbar-color: rgb(126, 171, 188) transparent; }
.hourcell { min-width: 84px; max-width: 84px; text-align: center; display: flex; align-items: center; flex-direction: column; gap: 10px; scroll-snap-align: start; font-size: 13px; }
.hourcell strong { font-size: 21px; font-weight: 500; }
.hourdesc { font-size: 10px; line-height: 1.4; color: rgb(207, 222, 229); min-height: 42px; }
.dayrow { display: grid; grid-template-columns: 64px 26px 46px 1fr 46px; gap: 8px; align-items: center; border-top: 1px solid rgba(255, 255, 255, 0.094); padding: 12px 0px; font-size: 14px; }
.dayrow small { display: block; font-size: 10px; }
.track { height: 5px; position: relative; background: rgb(16, 46, 66); border-radius: 8px; overflow: hidden; }
.track i { position: absolute; height: 100%; background: linear-gradient(90deg, rgb(120, 212, 237), rgb(246, 210, 124)); border-radius: 8px; }
.mountain { cursor: pointer; outline: none; }
.mountain text { font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-weight: 600; font-stretch: normal; line-height: normal; font-family: system-ui; fill: rgb(38, 75, 59); paint-order: stroke; stroke-linejoin: round; }
#map { display: block; }
.mapwrap { border: 0px; border-radius: 20px; }
@media (max-width: 800px) {
  .cards { grid-template-columns: 1fr; }
  .card { padding: 16px; }
  .dayrow { gap: 5px; }
  .mountain text { font-size: 14px; }
}
.mapwrap { max-width: 760px; margin: 0px auto 20px; background: rgb(168, 213, 219); }
#map { width: 100%; height: auto; aspect-ratio: 1080 / 500; max-height: 352px; }
.mountain text { stroke: rgb(233, 240, 215); stroke-width: 4px; }
@media (max-width: 600px) {
  .mapwrap { overflow-x: auto; }
  #map { min-width: 660px; }
  .mountain text { font-size: 18px; }
}
.top-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pick { text-align: left; background: rgb(225, 235, 223); padding: 18px; }
.pick h3 { font: 23px Georgia; margin: 10px 0px; }
.table-scroll { overflow: auto; }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
td, th { text-align: left; padding: 10px; border-bottom: 1px solid rgb(214, 223, 210); white-space: nowrap; }
.weekpanel { border-radius: 16px; }
.weekcell { font-size: 12px; }
.weekcell.good { background: rgb(215, 235, 219); }
.forecast-detail { margin: 18px 0px; }
.forecast-detail summary { padding: 16px; background: rgb(230, 236, 226); border-radius: 10px; }
@media (max-width: 700px) {
  .top-picks { grid-template-columns: 1fr; }
}
.cards { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 24px; align-items: start; }
.card { min-width: 0px; }
@media (max-width: 800px) {
  .cards { grid-template-columns: 1fr; }
}
.temperature-chart { flex: 0 0 auto; max-width: none; }
.temperature-chart text { text-anchor: middle; fill: rgb(241, 246, 250); font-family: system-ui; }
.chart-hour { font-size: 13px; font-weight: 600; }
.chart-date { font-size: 11px; fill: rgb(197, 218, 227) !important; }
.chart-icon { font-size: 30px; }
.chart-temp { font-size: 16px; }
.visibility-day { display: grid; gap: 8px; align-items: center; border-top: 1px solid rgba(255, 255, 255, 0.094); padding: 14px 0px; font-size: 12px; }
.daily-icon { font-size: 25px; }
.lowhigh { line-height: 1.8; white-space: nowrap; text-align: right; color: rgb(216, 231, 237); }
.good { background: rgb(215, 235, 219); }
@media (max-width: 400px) {
  .visibility-day { grid-template-columns: 44px 25px 1fr; }
  .lowhigh { grid-column: 3; text-align: left; }
}
.map-popup { position: fixed; z-index: 100; width: min(560px, -24px + 100vw); max-height: calc(100dvh - 24px); overflow: auto; box-shadow: rgba(16, 46, 66, 0.333) 0px 14px 48px; padding: 18px; }
.map-popup[hidden] { display: none; }
.popup-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.popup-top h3 { margin: 0px; }
.popup-close { color: white; background: rgba(255, 255, 255, 0.082); border: 0px; padding: 4px 10px; }
.popup-link { color: rgb(217, 233, 238); background: transparent; border: 1px solid rgba(255, 255, 255, 0.25); margin-top: 12px; font-size: 12px; }
.map-popup .panel { margin-top: 10px; }
.map-popup .hourstrip { overscroll-behavior: contain; }
.brand-row { display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; font: 600 clamp(25px, 3.2vw, 38px) Georgia; letter-spacing: -0.7px; }
.brand-mark { width: 74px; height: 74px; flex: 0 0 auto; }
.brand small { display: block; }
.location-control label { display: block; color: rgb(193, 214, 202); font: 10px system-ui; letter-spacing: 1.5px; margin-bottom: 7px; }
.location-select { display: flex; align-items: center; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.043); border-radius: 10px; }
.location-select select { background: transparent; color: rgb(255, 255, 255); border: 0px; font-size: 14px; }
.location-select option { color: rgb(25, 59, 52); }
header h1 { font-size: 23px; margin: 16px 0px 0px; color: rgb(216, 228, 218); }
#sun-times { display: flex; flex-wrap: wrap; align-items: center; }
.today-date { margin-right: auto; }
.visibility-day { grid-template-columns: 74px 30px 1fr 72px; }
.mountain { transition: filter 0.18s; }
.mountain:hover, .mountain:focus-visible { filter: brightness(1.18) drop-shadow(rgb(255, 244, 173) 0px 0px 3px); }
.weekpanel { background: transparent; padding: 0px; }
.week-cards { display: grid; gap: 18px; }
.week-card h3 button { padding: 0px; border: 0px; background: none; color: inherit; font: inherit; text-align: left; }
.week-strip { display: flex; overflow-x: auto; gap: 10px; scrollbar-width: thin; scrollbar-color: rgb(126, 171, 188) transparent; padding-bottom: 8px; }
.week-day { flex: 1 0 150px; margin-top: 8px; min-width: 150px; display: flex; flex-direction: column; font-size: 12px; line-height: 1.5; }
.week-weather { font-size: 32px; margin: 12px 0px 4px; }
.week-day p { min-height: 54px; margin: 4px 0px 10px; }
.week-temps { color: rgb(212, 228, 235); white-space: nowrap; font-size: 11px; }
.week-windows { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.125); line-height: 1.8; }
.map-popup { overscroll-behavior: contain; }
@media (max-width: 600px) {
  .brand-row { gap: 10px; align-items: flex-start; }
  .brand { gap: 8px; font-size: 25px; }
  .brand-mark { width: 48px; height: 48px; }
  .brand small { font-size: 8px; letter-spacing: 1px; }
  .location-control label { font-size: 8px; }
  .location-select { padding-left: 6px; gap: 0px; }
  .location-select select { font-size: 11px; padding: 9px 4px; }
  .today-date { flex-basis: 100%; }
  header h1 { font-size: 20px; }
  .visibility-day { grid-template-columns: 66px 28px 1fr 64px; gap: 5px; }
}
@media (max-width: 400px) {
  .visibility-day { grid-template-columns: 66px 28px 1fr; }
  .lowhigh { grid-column: 3; text-align: left; }
  .brand small { max-width: 125px; }
  .brand-row { flex-wrap: wrap; }
  .location-control { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .mountain { transition: none; }
}
.weekpanel { margin: 24px 0px 32px; }
.week-table-wrap { border-radius: 18px; border-width: 1px; border-style: solid; border-image: none; scrollbar-width: thin; }
.week-table { width: 100%; border-collapse: separate; border-spacing: 0px; table-layout: fixed; }
.week-table th, .week-table td { white-space: normal; border-bottom: 1px solid rgba(255, 255, 255, 0.125); border-right: 1px solid rgba(255, 255, 255, 0.086); vertical-align: top; }
.week-table thead th { background: rgb(33, 78, 97); color: rgb(215, 230, 237); font-size: 12px; font-weight: 600; white-space: nowrap; }
.week-table th:first-child { width: 138px; position: sticky; left: 0px; background: rgb(33, 78, 97); z-index: 2; }
.week-table tbody th { vertical-align: middle; }
.week-table th button { background: transparent; border: 0px; padding: 0px; font: 500 15px / 1.5 system-ui; text-align: left; }
.week-table tr > :last-child { border-right: 0px; }
.week-cell { display: flex; flex-direction: column; }
.week-cell .week-windows { border-top: 1px solid rgba(255, 255, 255, 0.125); }
.week-windows span { display: block; }
.week-cell .week-temps { font-size: 11px; line-height: 1.6; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0px; margin: -1px; overflow: hidden; clip: rect(0px, 0px, 0px, 0px); white-space: nowrap; border: 0px; }
@media (max-width: 600px) {
  .week-table th:first-child { width: 112px; }
  .week-table { min-width: 1148px; }
  .week-table th button { font-size: 13px; }
}
.week-table tbody th, .week-table tbody td { border-bottom-style: solid; border-bottom-color: rgb(123, 155, 166); }
.week-table tbody tr:last-child > * { border-bottom: 0px; }
.week-cell .week-windows { min-height: 0px; }
.week-cell .week-temps { margin-top: 0px; padding-top: 4px; white-space: nowrap; }
@media (max-width: 600px) {
  .week-table { min-width: 1148px; }
}
header { padding-top: 14px; padding-bottom: 14px; }
.brand small { font: 23px Georgia; letter-spacing: 0px; text-transform: none; color: rgb(216, 228, 218); margin-top: 6px; }
.location-select { padding: 0px 10px 0px 12px; gap: 8px; }
.location-select span { display: flex; align-items: center; justify-content: center; line-height: 1; font-size: 18px; }
.location-select select { padding: 10px 12px 10px 0px; }
#sun-times { justify-content: flex-start; font-size: 17px; }
#sun-times .today-date { margin-right: 0px; }
.date-controls { display: flex; align-items: center; gap: 10px; }
.date-controls button { padding: 2px 10px; font-size: 24px; line-height: 1.2; }
.date-controls button:disabled { opacity: 0.35; cursor: default; }
.sun-icon { font-size: 25px; vertical-align: middle; }
.sunset-icon { width: 27px; height: 27px; vertical-align: middle; }
.card-head { display: flex; align-items: flex-start; gap: 12px; }
.card h3 { line-height: 1.25; }
.peak-height { white-space: nowrap; }
.card-head .clear-windows { margin-top: 0px; margin-right: 0px; margin-bottom: 0px; padding: 10px 12px; }
.clear-windows p { font-size: 12px; line-height: 1.35; }
.clear-windows .paneltitle { margin-bottom: 5px; }
.hour-panel { margin-top: 12px; }
.hourstrip { padding-bottom: 2px; }
#wide-review { margin-top: 32px; }
#wide-cards { display: grid; gap: 16px; }
#wide-cards .card { width: 100%; }
@media (max-width: 600px) {
  .brand small { font-size: 18px; max-width: none; letter-spacing: 0px; }
  .card-head { flex-wrap: wrap; }
  .card-head .clear-windows { max-width: 100%; min-width: 0px; width: 100%; }
  #sun-times .today-date { flex-basis: auto; }
  #sun-times { font-size: 15px; }
  .date-controls { width: 100%; justify-content: flex-start; }
}
.region-forecasts { display: grid; }
.forecast-region { gap: 12px; }
.forecast-region > h3 { font: 25px Georgia; margin: 8px 0px 0px; }
.forecast-region .card { width: 100%; }
.card-head .clear-windows { max-width: none; min-width: 0px; }
.clear-windows { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 14px; }
.clear-windows .paneltitle { width: 100%; }
.clear-windows p { margin: 0px; white-space: nowrap; }
.peak-height { font-size: 16px; }
@media (max-width: 600px) {
  .card-head .clear-windows { width: 100%; }
  .clear-windows { justify-content: flex-start; }
  .clear-windows .paneltitle { justify-content: flex-start; }
  .peak-height { white-space: normal; }
}
.mountain text { font-size: 13px; }
@media (max-width: 600px) {
  .mountain text { font-size: 13px; }
}
.mountain:hover path, .mountain:focus path { filter: none; }
.map-layout { display: flex; align-items: flex-start; gap: 20px; }
.map-layout .mapwrap { flex: 1 1 760px; width: 100%; max-width: 760px; margin: 0px; background: rgb(168, 213, 219); overflow: hidden; }
.map-layout #map { width: 100%; min-width: 0px; max-height: none; aspect-ratio: 720 / 535; }
.filter-panel { flex: 1 1 290px; min-width: 240px; max-height: 528px; overflow: auto; padding: 18px; border-radius: 16px; }
.filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.filter-heading h2 { font: 22px Georgia; margin: 0px; }
.filter-heading button { font-size: 11px; padding: 6px 9px; }
.filter-panel > p { color: rgb(97, 116, 106); font-size: 12px; }
.filter-region { border-width: 1px 0px 0px; border-style: solid none none; border-right-color: currentcolor; border-bottom-color: currentcolor; border-left-color: currentcolor; border-image: none; padding: 10px 0px; margin: 0px; min-width: 0px; }
.filter-region legend { padding: 0px 3px 0px 0px; font-weight: 700; font-size: 12px; }
.filter-region label { display: flex; gap: 7px; align-items: flex-start; cursor: pointer; }
.filter-region input { accent-color: rgb(40, 114, 86); flex: 0 0 auto; margin: 3px 0px 0px; }
.filter-list { display: grid; gap: 7px; padding: 8px 0px 2px 20px; font-size: 12px; }
.card-head .clear-windows { justify-content: flex-start; text-align: left; }
.clear-windows .paneltitle { justify-content: flex-start; text-align: left; }
@media (max-width: 850px) {
  .map-layout { flex-wrap: wrap; }
  .map-layout .mapwrap { flex-basis: 100%; max-width: 760px; }
  .filter-panel { flex-basis: 100%; max-height: 300px; }
  .filter-list { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}
@media (max-width: 600px) {
  .card-head .clear-windows { margin-left: 0px; }
  .map-layout #map { min-width: 0px; }
}
.mountain text:not(.map-weather) { font-size: 11px; stroke-width: 3px; }
.card-head { justify-content: flex-start; }
.card-head .clear-windows { margin-left: 12px; }
.card-head h3 { flex: 0 1 auto; }
@media (max-width: 600px) {
  .card-head .clear-windows { margin-left: 0px; }
}
.card-weather { font-size: 26px; margin-right: 10px; vertical-align: middle; }
.map-popup .card-head { align-items: flex-start; }
.map-popup .card-head .clear-windows { max-width: 100%; }
.window-filter { border-block: 1px solid rgb(203, 218, 203); padding: 12px 0px; margin: 12px 0px; }
.window-check { display: flex; gap: 7px; align-items: flex-start; font-size: 12px; font-weight: 700; }
.window-check input { accent-color: rgb(40, 114, 86); }
.time-filter { display: flex; gap: 8px; margin-top: 10px; }
.time-filter label { display: grid; gap: 3px; font-size: 11px; }
.time-filter input { width: 100%; max-width: 112px; border: 1px solid rgb(189, 206, 194); border-radius: 6px; padding: 5px; color: rgb(25, 59, 52); background: white; font: inherit; }
#window-error { color: rgb(163, 59, 42); font-size: 11px; margin-top: 4px; }
.map-weather { font-size: 18px; stroke: none; }
.map-popup .popup-top { position: static; display: flex; justify-content: flex-end; margin-bottom: 8px; }
.map-popup .popup-close { position: static; flex: 0 0 auto; }
.map-popup .card-head { clear: both; }
.map-popup .card-head .clear-windows { margin-top: 0px; }
.header-actions { display: flex; align-items: flex-end; gap: 18px; }
.week-jump { display: inline-block; border: 1px solid rgb(183, 207, 194); border-radius: 9px; padding: 10px 14px; text-decoration: none; color: rgb(244, 248, 238); font-size: 13px; white-space: nowrap; }
.week-jump:hover { background: rgba(255, 255, 255, 0.094); }
.filter-details { margin: 4px 0px 0px 20px; line-height: 1.4; }
.filter-details summary { font-size: 11px; font-weight: 500; color: rgb(82, 110, 97); padding: 4px 0px; cursor: pointer; }
.region-line label { font-weight: 700; font-size: 12px; }
.window-help { display: block; line-height: 1.4; margin: 6px 0px 0px 22px; }
.time-filter input:disabled { background: rgb(220, 230, 220); color: rgb(130, 147, 136); opacity: 0.7; cursor: not-allowed; }
.clear-windows .window-available { font-size: 15px; font-weight: 700; color: rgb(255, 255, 255); }
.clear-windows .window-none { font-size: 12px; color: rgb(194, 212, 219); }
.peak-height { color: rgb(182, 205, 212); }
@media (max-width: 600px) {
  .header-actions { flex-wrap: wrap; gap: 10px; margin-left: auto; }
  .week-jump { font-size: 11px; padding: 8px; }
}
.vancouver-marker { pointer-events: none; }
.vancouver-marker text { font: 700 13px system-ui; fill: rgb(23, 63, 56); paint-order: stroke; stroke: rgb(233, 240, 215); stroke-width: 4px; stroke-linejoin: round; }
.sticky-nav { position: fixed; top: 0px; left: 0px; right: 0px; z-index: 90; background: rgb(25, 63, 54); color: rgb(255, 255, 255); display: flex; align-items: center; justify-content: space-between; padding: 10px max(5%, 50% - 580px); box-shadow: rgba(20, 53, 42, 0.18) 0px 3px 12px; }
.sticky-nav[hidden] { display: none; }
.sticky-brand { font: 600 21px Georgia; text-decoration: none; }
.sticky-week { font: 13px system-ui; text-decoration: none; border: 1px solid rgb(183, 207, 194); border-radius: 7px; padding: 7px 11px; }
.sticky-week:hover { background: rgba(255, 255, 255, 0.094); }
.card { scroll-margin-top: 70px; }
.map-zoom { position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.map-zoom button { width: 37px; height: 37px; padding: 0px; background: rgb(255, 255, 255); color: rgb(25, 63, 54); border: 1px solid rgb(169, 194, 174); border-radius: 7px; box-shadow: rgba(25, 63, 54, 0.157) 0px 2px 6px; font: 600 23px / 1 system-ui; }
.map-zoom button:disabled { opacity: 0.45; cursor: default; }
#sticky-nav.sticky-nav { position: fixed; top: 0px; left: 0px; right: 0px; z-index: 90; display: block; padding: 14px max(5%, 50% - 580px); background: rgb(25, 63, 54); color: white; box-shadow: rgba(20, 53, 42, 0.18) 0px 3px 12px; }
#sticky-nav.sticky-nav[hidden] { display: none; }
#map { cursor: grab; touch-action: pan-y; }
#map:active { cursor: grabbing; }
@media (max-width: 600px) {
  #sticky-nav.sticky-nav { padding: 10px 5%; }
}
.card, #weekly { scroll-margin-top: 125px; }
.filter-list label[hidden] { display: none; }
.forecast-region { display: block; margin: 0px; }
.forecast-region > summary { font: 25px Georgia; color: rgb(25, 59, 52); }
.forecast-region > summary::before { font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-weight: normal; font-stretch: normal; line-height: normal; font-family: system-ui; transition: transform 0.15s; }
.region-forecasts { gap: 12px; }
@media (prefers-reduced-motion: reduce) {
  .forecast-region > summary::before { transition: none; }
}
.time-slider { margin: 12px 0px 2px; }
.time-values { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: rgb(82, 110, 97); }
.time-values b { display: block; font-size: 14px; color: rgb(25, 59, 52); margin-top: 3px; }
.time-values span:last-child { text-align: right; }
.range-control { height: 32px; position: relative; margin: 6px 10px 0px; }
.range-track { position: absolute; top: 13px; left: 0px; right: 0px; height: 6px; border-radius: 6px; background: linear-gradient(to right,#c4d5c4 0%,#c4d5c4 var(--range-start),#287256 var(--range-start),#287256 var(--range-end),#c4d5c4 var(--range-end),#c4d5c4 100%); }
.range-control input[type="range"] { position: absolute; top: 0px; left: 0px; width: 100%; height: 32px; margin: 0px; background: transparent; appearance: none; pointer-events: none; }
.range-control input[type="range"]::-webkit-slider-runnable-track { height: 6px; background: transparent; }
.range-control input[type="range"]::-webkit-slider-thumb { appearance: none; pointer-events: auto; width: 20px; height: 20px; margin-top: -7px; border: 2px solid rgb(40, 114, 86); border-radius: 50%; background: rgb(255, 255, 255); box-shadow: rgba(23, 63, 56, 0.2) 0px 1px 4px; cursor: grab; }
.range-control input[type="range"]:focus-visible { outline: none; }
.range-control input[type="range"]:focus-visible::-webkit-slider-thumb { outline: rgb(195, 108, 50) solid 3px; outline-offset: 3px; }
.time-slider.is-disabled { opacity: 0.45; }
.time-slider.is-disabled input[type="range"]::-webkit-slider-thumb { cursor: not-allowed; }
.week-filter-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 14px 0px; }
.week-filter { position: relative; margin: 0px; line-height: 1.4; }
.week-filter > summary { list-style: none; cursor: pointer; border: 1px solid rgb(189, 206, 194); border-radius: 8px; background: white; padding: 9px 13px; font-size: 13px; }
.week-filter > summary::-webkit-details-marker { display: none; }
.week-filter > summary::after { content: " ▾"; }
.week-filter-panel { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0px; width: min(360px, 85vw); max-height: 55vh; overflow: auto; border-radius: 12px; padding: 14px; box-shadow: rgba(25, 63, 54, 0.19) 0px 8px 25px; }
.week-filter-actions { display: flex; gap: 8px; }
.week-filter-actions button { font-size: 11px; padding: 6px 8px; }
.week-filter-region { border-width: 1px 0px 0px; border-style: solid none none; border-color: rgb(203, 218, 203) currentcolor currentcolor; border-image: none; margin: 14px 0px 0px; padding: 8px 0px 0px; font-size: 12px; }
.week-filter-region legend { font-weight: 700; }
.week-filter-region input { accent-color: rgb(40, 114, 86); }
.week-filter-list { display: grid; gap: 6px; padding: 8px 0px 0px 20px; }
.week-filter-list label { display: flex; align-items: flex-start; gap: 6px; }
.week-table-wrap { max-height: 75vh; overflow: auto; overscroll-behavior: contain; }
.week-table thead th { position: sticky; z-index: 5; }
.week-table thead th:first-child { z-index: 7; }
.week-table .week-region-row th { position: static; width: auto; background: rgb(64, 110, 125); color: rgb(255, 255, 255); border-bottom: 2px solid rgb(162, 188, 194); }
.week-region-row th span { position: sticky; left: 12px; display: inline-block; }
.week-table tbody th[scope="row"] { z-index: 3; }
.filter-list label.unavailable { color: rgb(113, 129, 118); cursor: not-allowed; }
.filter-list label.unavailable input { accent-color: rgb(159, 169, 160); cursor: not-allowed; opacity: 0.75; }
.filter-list label.unavailable input[type="checkbox"] { appearance: none; width: 13px; height: 13px; margin-top: 3px; border: 1px solid rgb(164, 175, 166); border-radius: 2px; background: rgb(184, 193, 185); opacity: 1; flex: 0 0 auto; }
.week-table th, .week-table td { padding: 7px 9px; }
.week-table thead th { padding: 10px 9px; }
.week-table .week-region-row th { padding: 6px 9px; }
.week-cell { min-height: 0px; font-size: 11px; line-height: 1.3; }
.week-cell .week-weather { font-size: 23px; line-height: 1.1; margin: 0px 0px 3px; }
.week-cell .week-summary { min-height: 0px; margin: 0px 0px 4px; }
.week-cell .week-windows { margin: 0px; padding: 5px 0px 0px; line-height: 1.3; }
.week-table tbody th, .week-table tbody td { border-bottom-width: 3px; }
.arrival-planner { display: grid; background: rgb(231, 237, 226); border-radius: 16px; }
.arrival-planner label { display: block; font-size: 15px; }
.arrival-planner input[type="range"] { width: 100%; accent-color: rgb(40, 114, 86); }
.arrival-planner select { width: 100%; font-size: 13px; }
.arrival-planner small { display: block; margin-top: 6px; }
.arrival-ends { display: flex; justify-content: space-between; font-size: 11px; color: rgb(97, 116, 106); }
#arrival-status { grid-column: 1 / -1; margin: 0px; }
.arrival-summary { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.145); border-radius: 10px; padding: 12px; margin-top: 12px; display: grid; gap: 6px; font-size: 13px; }
.arrival-summary strong { font-size: 15px; }
.arrival-summary.nearby strong { color: rgb(246, 215, 119); }
.arrival-chart-label { font-size: 9px; fill: rgb(246, 215, 119) !important; }
.town-reference { pointer-events: none; fill: rgb(85, 114, 100); }
.town-reference text { font: 11px system-ui; paint-order: stroke; stroke: rgb(233, 240, 215); stroke-width: 3px; }
@media (max-width: 650px) {
  .arrival-planner { grid-template-columns: 1fr; }
  .arrival-planner select { max-width: 300px; }
}
.arrival-planner { grid-template-columns: 1fr 1fr; }
.arrival-time-control { grid-column: 1 / -1; }
.arrival-scale { margin: 0px 10px; }
.arrival-planner #arrival-time { appearance: none; height: 30px; background: transparent; margin: 0px; width: 100%; cursor: pointer; }
.arrival-planner #arrival-time::-webkit-slider-runnable-track { height: 5px; border-radius: 5px; }
.arrival-planner #arrival-time::-webkit-slider-thumb { appearance: none; width: 22px; height: 22px; margin-top: -8.5px; background: rgb(255, 255, 255); border: 3px solid rgb(40, 114, 86); border-radius: 50%; box-shadow: rgba(25, 63, 54, 0.19) 0px 1px 4px; }
.arrival-ticks { position: relative; margin: 0px 11px; }
.arrival-tick { position: absolute; top: 0px; transform: translateX(-50%); padding: 6px 0px 0px; background: none; border: 0px; border-radius: 0px; font-size: 12px; white-space: nowrap; text-align: center; }
.arrival-tick::before { content: ""; position: absolute; top: 0px; left: 50%; height: 4px; width: 1px; background: rgb(113, 139, 121); }
.arrival-tick small { font-size: 10px; margin-top: 2px; }
.arrival-tick.tick-first { transform: none; text-align: left; left: 0px !important; }
.arrival-tick.tick-first::before { left: 0px; }
.arrival-tick.tick-last { transform: translateX(-100%); text-align: right; }
.arrival-tick.tick-last::before { left: auto; right: 0px; }
.arrival-tick:hover span { text-decoration: underline; }
.arrival-flexibility { border-radius: 10px; }
.arrival-flexibility label { font-weight: 700; }
.arrival-flexibility select { background-size: initial; background-attachment: initial; background-origin: initial; background-clip: initial; font-weight: 600; }
.arrival-planner .window-filter { margin: 0px; border-radius: 10px; }
.arrival-planner .window-check input { width: 17px; height: 17px; flex: 0 0 auto; }
.arrival-planner .window-help { margin-left: 24px; }
@media (max-width: 650px) {
  .arrival-planner { grid-template-columns: 1fr; }
  .arrival-time-control { grid-column: 1; }
  .arrival-tick { font-size: 10px; }
  .arrival-scale { margin: 0px; }
  .arrival-flexibility select { max-width: none; }
}
main { padding-top: 14px; }
#sun-times { padding: 8px 14px; gap: 8px 20px; }
.arrival-planner { padding: 14px 18px; gap: 10px 18px; margin-bottom: 14px; }
.arrival-planner label { margin-bottom: 5px; }
.arrival-planner strong { font-size: 19px; }
.arrival-ticks { height: 36px; }
.arrival-flexibility { padding: 10px 12px; display: grid; grid-template-columns: auto minmax(160px, 1fr); align-items: center; gap: 5px 12px; }
.arrival-flexibility label { margin: 0px; font-size: 14px; }
.arrival-flexibility select { max-width: none; font-size: 14px; }
.arrival-flexibility small { grid-column: 1 / -1; margin: 0px; font-size: 11px; }
.arrival-planner .window-filter { padding: 10px 12px; }
.arrival-planner .window-check { font-size: 13px; line-height: 1.35; }
.arrival-planner .window-help { font-size: 11px; margin-top: 4px; line-height: 1.4; }
#arrival-status { font-size: 12px; line-height: 1.4; }
@media (max-width: 800px) {
  .arrival-flexibility { grid-template-columns: 1fr; }
  .arrival-flexibility small { grid-column: 1; }
}
@media (max-width: 650px) {
  .arrival-planner { padding: 14px; }
  .arrival-flexibility label { font-size: 14px; }
  .arrival-planner .window-help { font-size: 12px; }
  .arrival-planner .window-check { font-size: 14px; }
}
.arrival-match-ring { display: none; pointer-events: none; }
.mountain[data-arrival-match="exact"] .arrival-match-ring { display: block; }
.arrival-legend { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin: 0px; font-size: 12px; color: rgb(72, 98, 86); }
.legend-ring { display: inline-block; width: 16px; height: 16px; flex: 0 0 auto; border: 2px solid rgb(23, 102, 76); border-radius: 50%; }
.arrival-slider-rail { position: relative; height: 30px; }
.arrival-band-rail { position: absolute; inset: 0px 11px; pointer-events: none; z-index: 1; }
#arrival-band { position: absolute; top: 9px; height: 12px; background: rgba(226, 191, 98, 0.667); border: 1px solid rgb(188, 148, 55); border-radius: 8px; box-sizing: border-box; }
#arrival-band[hidden] { display: none; }
.arrival-planner #arrival-time { position: relative; z-index: 2; }
.arrival-planner #arrival-time::-webkit-slider-runnable-track { background: transparent; }
.arrival-slider-rail::before { content: ""; position: absolute; top: 12.5px; left: 0px; right: 0px; height: 5px; border-radius: 5px; background: rgb(174, 191, 177); }
.arrival-planner .window-filter { background: rgb(244, 234, 208); border: 1px solid rgb(214, 189, 120); }
.arrival-flexibility { border-width: 1px; border-style: solid; border-image: none; }
.arrival-flexibility label { color: rgb(25, 59, 52); }
.week-hover { cursor: pointer; }
.map-popup .preview-forecast { padding: 0px; border-radius: 0px; background: transparent; }
.preview-date { color: rgb(197, 218, 227); font-size: 13px; margin-bottom: 8px; }
.map-popup .card-head { flex-wrap: wrap; }
.map-popup .clear-windows { margin-left: 0px; }
.week-table th[scope="row"] { font-size: 14px; font-weight: 500; }
.arrival-heading { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.arrival-heading > label { margin: 0px; white-space: nowrap; }
.arrival-heading #sun-times { padding: 0px; background: none; font-size: 14px; gap: 10px 16px; }
.arrival-heading .sun-icon { font-size: 23px; }
.arrival-heading .date-controls { width: auto; }
.arrival-heading .sunset-icon { width: 24px; height: 24px; }
.week-summary { white-space: nowrap; min-height: 0px; font-size: 12px; margin: 0px 0px 7px; }
.week-cell .week-weather.no-window-weather { font-size: 40px; line-height: 1.2; }
.week-cell .week-windows { white-space: nowrap; }
.week-table { min-width: 1470px; }
.week-table thead th { top: 0px !important; }
header { position: static !important; }
#weekly { scroll-margin-top: 20px; }
.week-table td.selected-day { background: rgba(233, 201, 116, 0.086); box-shadow: rgba(233, 201, 116, 0.314) 1px 0px inset, rgba(233, 201, 116, 0.314) -1px 0px inset; }

.preview-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.preview-close { background: rgba(255, 255, 255, 0.094); color: white; border: 1px solid rgba(255, 255, 255, 0.25); font-size: 22px; line-height: 1; padding: 4px 10px; }
.preview-forecast:focus { outline: none; }
@media (max-width: 600px) {
  header { padding: 12px 16px; }
  .brand-row { align-items: center; flex-wrap: nowrap; gap: 8px; }
  .brand { font-size: 22px; line-height: 1.05; gap: 7px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand small { font-size: 12px; margin-top: 3px; }
  .header-actions { gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
  .week-jump { font-size: 11px; padding: 7px; }
  .location-control label { display: none; }
  .location-select { padding-left: 5px; }
  .location-select select { font-size: 11px; padding: 7px 4px; }
  .location-select span { font-size: 13px; }
  main { padding: 12px; }
  .arrival-planner { padding: 14px; gap: 8px; }
  .arrival-heading { gap: 6px; margin-bottom: 0px; }
  .arrival-heading > label { white-space: normal; font-size: 14px; }
  .arrival-heading #sun-times { gap: 4px 10px; font-size: 12px; }
  .arrival-heading .date-controls { width: auto; }
  .date-controls button { font-size: 20px; padding: 0px 8px; }
  .arrival-heading .sun-icon { font-size: 18px; }
  .arrival-heading .sunset-icon { width: 19px; height: 19px; }
  .arrival-tick { font-size: 10px; }
  .arrival-tick small { font-size: 9px; }
  .window-filter, .arrival-flexibility { padding: 9px 11px; }
  .window-check { font-size: 12px; }
  .window-help { font-size: 11px; }
  .arrival-flexibility label { font-size: 12px; }
  #arrival-status { font-size: 12px; margin: 2px 0px; }
  .map-weather-note { margin: 6px 0px; font-size: 11px; }
  .map-layout { gap: 8px; }
  .map-layout .mapwrap { width: 100%; }
  .map-popup { overflow: auto; border-radius: 18px; padding: 14px; z-index: 1000; position: fixed !important; inset: auto 8px max(8px,env(safe-area-inset-bottom)) !important; width: auto !important; max-height: min(78dvh, 680px) !important; }
  .map-popup .preview-forecast { padding: 0px; }
  .map-popup .card-head h3 { font-size: 20px; }
  .map-popup .panel { margin-top: 8px; }
  .map-popup .hour-panel::after { content: "Swipe left or right for more hours"; display: block; font-size: 11px; color: rgb(197, 220, 228); margin-top: 5px; }
  .map-popup .hourstrip { scroll-snap-type: none; touch-action: pan-x; }
  .map-popup .preview-close { min-width: 44px; min-height: 44px; }
  .weekpanel { margin-top: 20px; }
  .weekpanel h2 { font-size: 26px; }
  .weekpanel > p { font-size: 13px; }
  .mountain { cursor: pointer; }
  .map-layout #map { touch-action: pan-y; }
  .map-zoom button { min-width: 44px; min-height: 44px; }
}
#arrival-status strong { font-weight: 750; }
#arrival-status span { font-size: 0.92em; }
@media (max-width: 600px) {
  .arrival-tick small { display: none; }
}
@media (max-width: 600px) {
  .arrival-heading #sun-times { display: flex; align-items: center; gap: 6px 12px; width: 100%; }
  .arrival-heading .date-controls { flex: 0 0 100%; display: flex; align-items: center; gap: 8px; }
  .arrival-heading #sun-times > span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
  .arrival-ticks { font-size: 10px; }
  .arrival-tick { font-size: 9px; }
  .arrival-tick:nth-child(5) { display: block; }
  .arrival-tick:nth-child(5) span { display: inline-block; transform: translateX(-4px); }
  .window-filter .window-check { display: flex; align-items: flex-start; gap: 7px; line-height: 1.35; }
  .window-filter .window-check input { flex: 0 0 auto; margin: 2px 0px 0px; }
  .window-filter .window-help { display: block; margin: 5px 0px 0px 20px; line-height: 1.4; }
  #arrival-status strong, #arrival-status span { display: block; }
  #arrival-status span { margin-top: 3px; }
}
.forecast-region > summary { list-style: none; width: fit-content; cursor: pointer; }
.forecast-region > summary::-webkit-details-marker { display: none; }
.forecast-region > summary::before { font-size: 0.7em; }
.forecast-region > summary:hover span, .forecast-region > summary:focus-visible span { text-decoration: underline; text-underline-offset: 4px; }
.forecast-region-cards { display: grid; gap: 14px; }
.arrival-tick small { display: none; }
#arrival-status span { margin-left: 10px; }
.forecast-region > summary::before { display: inline-block; content: "▸" !important; transform: none !important; }
.forecast-region[open] > summary::before { content: "▾" !important; transform: none !important; }
@media (max-width: 600px) {
  #arrival-status span { margin-left: 0px; }
}
.card-verdict { display: block; font: 600 13px system-ui; margin-top: 6px; color: rgb(209, 229, 237); }
.card-verdict.exact { color: rgb(184, 240, 203); }
.card-verdict.nearby { color: rgb(244, 213, 118); }
.region-match-count { text-decoration: none; }
.forecast-region-cards > .card { padding: 16px 20px; }
.forecast-region-cards .hour-panel { padding: 10px 14px; margin-top: 8px; }
.forecast-region-cards .paneltitle { margin-bottom: 6px; }
.forecast-region-cards .card-head h3 { margin: 3px 0px; }
.forecast-region-cards .hourstrip { padding-bottom: 0px; }
.temperature-chart .night-cue { fill: rgb(197, 215, 237); font: 10px system-ui; letter-spacing: 0.4px; }
.region-match-count { display: inline-block; background: rgb(220, 233, 219); border: 1px solid rgb(177, 200, 177); border-radius: 20px; color: rgb(33, 79, 61); font: 650 14px system-ui; padding: 5px 11px; white-space: nowrap; }
#arrival-status { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
#arrival-status .match-badges { display: flex; flex-wrap: wrap; gap: 7px; margin: 0px; }
#arrival-status .match-badge { display: inline-flex; align-items: center; gap: 4px; margin: 0px; padding: 6px 10px; border-radius: 8px; font-size: 13px; font-weight: 500; line-height: 1.35; }
#arrival-status .match-exact { background: rgb(214, 234, 219); color: rgb(28, 88, 56); border: 1px solid rgb(169, 207, 181); }
#arrival-status .match-nearby { background: rgb(244, 231, 196); color: rgb(114, 83, 21); border: 1px solid rgb(217, 189, 115); }
#arrival-status small { flex-basis: 100%; font-size: 12px; }
@media (max-width: 600px) {
  .arrival-heading #sun-times { margin-top: 8px; row-gap: 10px; }
  .arrival-heading .date-controls { display: grid; grid-template-columns: 40px minmax(0px, 1fr) 40px; align-items: center; gap: 6px; width: 100%; padding: 5px; background: rgba(255, 255, 255, 0.396); border: 1px solid rgb(211, 223, 209); border-radius: 10px; margin: 0px 0px 2px; }
  .arrival-heading .date-controls .today-date { text-align: center; font-size: 13px; line-height: 1.3; margin: 0px; }
  .arrival-heading .date-controls button { width: 40px; height: 40px; min-height: 40px; padding: 0px; font-size: 25px; line-height: 1; border-radius: 7px; }
  .arrival-heading #sun-times > span { margin-bottom: 4px; }
}
@media (max-width: 600px) {
  .forecast-region > summary { display: grid; grid-template-columns: 12px minmax(0px, 1fr) auto; align-items: center; gap: 8px; width: 100%; padding: 8px 0px; }
  .forecast-region > summary::before { align-self: center; text-align: center; }
  .forecast-region > summary > span { min-width: 0px; line-height: 1.2; }
  .forecast-region > summary .region-match-count { justify-self: end; font-size: 12px; padding: 4px 8px; }
}
@media (max-width: 600px) {
  .arrival-tick:nth-last-child(2) { transform: translateX(-85%); }
}
.map-weather { pointer-events: none; }
input:focus-visible, select:focus-visible, summary:focus-visible { outline: rgb(195, 108, 50) solid 3px; outline-offset: 3px; }
@media (pointer: coarse) {
  .preview-close, .arrows button, .date-controls button { min-width: 44px; min-height: 44px; }
  .week-filter-list label { min-height: 36px; align-items: center; }
}
.hour-icon-note { font: 11px / 1.45 system-ui, sans-serif; color: rgb(197, 220, 228); margin: 10px 2px 0px; }
.temperature-key { display: flex; align-items: center; gap: 6px; margin-top: 5px; color: rgb(213, 228, 233); font: 11px / 1.3 system-ui, sans-serif; }
.temperature-key span { width: 18px; height: 2px; background: rgb(246, 215, 119); border-radius: 2px; }
.visibility-eye { pointer-events: none; }
.eye-outline { fill: none; stroke: rgb(255, 254, 242); stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.eye-pupil { fill: rgb(255, 254, 242); }
.eye-slash { fill: none; stroke: rgb(255, 254, 242); stroke-width: 1.65; stroke-linecap: round; display: none; }
.mountain[data-visibility="Mixed"] .eye-outline, .mountain[data-visibility="Poor"] .eye-outline, .eye-Mixed .eye-outline, .eye-Poor .eye-outline { stroke-dasharray: 0.6, 1.8; }
.mountain[data-visibility="Poor"] .eye-slash, .eye-Poor .eye-slash { display: block; }
.combined-icon { display: inline-block; vertical-align: middle; width: 54px; height: 46px; overflow: visible; }
.card-weather .combined-icon { width: 46px; height: 40px; }
.week-weather .combined-icon { width: 56px; height: 48px; }
.combined-haze { stroke: rgb(219, 230, 227); stroke-linecap: round; }
.combined-weather { font-family: system-ui, sans-serif; font-size: 21px; }
.arrival-summary .combined-icon { width: 42px; height: 36px; }
.temperature-chart .combined-icon { width: 64px; height: 46px; }
.card-heading { min-width: 0px; }
.daylight-summary { margin: 0px 0px 4px; color: rgb(210, 225, 232); font: 13px / 1.4 system-ui, sans-serif; }
.map-popup .daylight-summary { font-size: 12px; }
.map-fog { display: none; pointer-events: none; }
.mountain[data-fog="true"] .map-fog { display: block; }
.arrival-planner .arrival-flexibility { background: rgb(244, 234, 208); border: 1px solid rgb(214, 189, 120); }
.arrival-planner #arrival-status { grid-column: auto; place-self: center start; align-content: center; }
.map-window-filter { z-index: 3; top: 12px; right: 62px; }
.map-window-filter .window-check { display: flex; gap: 8px; margin: 0px; font-weight: 700; line-height: 1.3; cursor: pointer; }
.map-window-filter input { accent-color: rgb(40, 114, 86); width: 17px; height: 17px; flex: 0 0 auto; }
@media (max-width: 650px) {
  .arrival-planner #arrival-status { grid-column: 1; justify-self: stretch; }
  .map-window-filter { width: min(190px, 100% - 84px); font-size: 11px; }
  .map-window-filter .window-check { font-size: 11px; }
}
.mapwrap { display: flex; flex-direction: column; }
.map-window-filter { position: static; width: auto; padding: 10px 14px; border-width: 0px 0px 1px; border-style: none none solid; border-top-color: currentcolor; border-right-color: currentcolor; border-left-color: currentcolor; border-image: none; border-radius: 0px; box-shadow: none; background: rgb(246, 248, 237); color: rgb(25, 59, 52); }
.map-window-filter .window-check { font-size: 13px; align-items: center; }
.map-window-filter input { margin: 0px; }
.map-canvas { position: relative; width: 100%; flex: 0 0 auto; }
.map-weather-note { margin: 0px; padding: 10px 14px; background: rgb(246, 248, 237); color: rgb(66, 92, 80); font-size: 12px; line-height: 1.45; border-top: 1px solid rgb(195, 212, 183); }
@media (min-width: 1000px) {
  .arrival-planner { grid-template-columns: minmax(320px, 42%) minmax(0px, 1fr); }
  .arrival-flexibility { grid-template-columns: auto minmax(160px, 200px); justify-content: start; }
  .arrival-flexibility select { width: 100%; max-width: 200px; }
}
@media (max-width: 650px) {
  .map-window-filter { position: static; width: auto; }
  .map-window-filter .window-check { font-size: 12px; }
  .map-weather-note { font-size: 11px; }
}
.map-window-filter, .map-footer { background: rgb(200, 220, 203); color: rgb(25, 59, 52); }
.map-window-filter { border-bottom-color: rgb(157, 188, 164); }
.map-footer { padding: 10px 14px; border-top: 1px solid rgb(157, 188, 164); }
.map-footer .map-weather-note, .map-footer #forecast-source { margin: 0px; padding: 0px; background: none; border: 0px; border-radius: 0px; color: rgb(40, 73, 58); font-size: 12px; line-height: 1.45; }
.map-footer #forecast-source { margin-top: 6px; }
.map-footer #forecast-source button { margin-left: 4px; }
@media (max-width: 650px) {
  .map-footer .map-weather-note, .map-footer #forecast-source { font-size: 11px; }
}
.arrival-flexibility { background: rgb(248, 250, 246); border-color: rgb(203, 216, 202); }
.arrival-heading strong { font-size: 1.32em; }
.forecast-region > summary { display: grid; grid-template-columns: 18px minmax(0px, 1fr) auto; align-items: center; gap: 10px; border-bottom: 1px solid rgb(220, 228, 216); padding: 12px 4px; }
.forecast-region > summary::before { margin: 0px; }
.forecast-region > summary .region-match-count { justify-self: end; }
.region-match-count.is-empty { background: rgb(233, 236, 231); border-color: rgb(211, 218, 209); color: rgb(89, 107, 96); }
.map-footer .map-weather-note { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.legend-item { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.legend-item svg { width: 21px; height: 14px; background: rgb(40, 110, 85); border-radius: 4px; padding: 1px; }
.week-table-wrap { background: rgb(249, 250, 246); color: rgb(25, 59, 52); border-color: rgb(210, 222, 209); scrollbar-color: rgb(168, 189, 176) rgb(237, 242, 233); }
.week-table th, .week-table td, .week-table tbody th, .week-table tbody td { border-color: rgb(220, 229, 220); border-bottom-width: 1px; }
.week-table th button { color: rgb(25, 59, 52); }
.week-table td { background: rgb(250, 251, 248); color: rgb(25, 59, 52); }

.week-table .week-windows { border-color: rgb(220, 229, 220); color: rgb(35, 91, 66); font-weight: 600; }
.week-table .week-temps { color: rgb(82, 110, 97); }
.week-table .week-summary { min-height: 0px; margin-bottom: 5px; }
.week-table .selected-day { background: rgb(237, 244, 232); color: rgb(25, 59, 52); box-shadow: rgb(213, 181, 95) 0px -3px inset; }
.week-table .region-row th, .week-table .region-row td { background: rgb(220, 233, 221); color: rgb(25, 59, 52); }
@media (max-width: 600px) {
  .forecast-region > summary { grid-template-columns: 16px minmax(0px, 1fr) auto; gap: 7px; }
  .map-footer .map-weather-note { gap: 5px 10px; }
}
.filter-panel { background: rgb(244, 239, 228); border: 1px solid rgb(228, 221, 205); }
.filter-region { border-top-color: rgb(221, 214, 201); }
.week-table thead th, .week-table th:first-child { background: rgb(197, 218, 201); color: rgb(25, 59, 52); }
.week-table thead th.selected-day { background: rgb(182, 208, 189); color: rgb(25, 59, 52); box-shadow: rgb(178, 139, 52) 0px -3px inset; }
.arrival-flexibility select { appearance: none; min-height: 40px; padding: 8px 42px 8px 13px; border: 1px solid rgb(183, 205, 187); border-radius: 9px; background-color: rgb(255, 255, 255); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' fill='none' stroke='%23254d3d' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.arrival-flexibility select:focus-visible { outline: rgb(40, 114, 86) solid 2px; outline-offset: 2px; }
header .header-actions { gap: 12px; }
header .week-jump, header .location-select { height: 44px; border-radius: 11px; border: 1px solid rgb(171, 200, 182); background: rgba(255, 255, 255, 0.047); color: rgb(246, 248, 241); }
header .week-jump { display: inline-flex; align-items: center; justify-content: center; padding: 0px 16px; font: 500 13px system-ui, sans-serif; letter-spacing: normal; transition: background 0.16s, border-color 0.16s; }
header .week-jump:hover, header .location-select:hover { background: rgba(255, 255, 255, 0.11); border-color: rgb(212, 227, 213); }
header .week-jump:focus-visible, header .location-select:focus-within { outline: rgb(233, 201, 116) solid 2px; outline-offset: 3px; }
header .location-control label { margin: 0px 0px 6px 2px; color: rgb(199, 218, 204); font: 600 10px system-ui; letter-spacing: 0.12em; }
header .location-select { gap: 8px; padding: 0px 13px; transition: background 0.16s, border-color 0.16s; }
header .location-select span { color: rgb(200, 221, 207); font-size: 18px; }
header .location-select select { appearance: none; min-width: 116px; height: 100%; border: 0px; outline: 0px; padding-top: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(246, 248, 241); font: 500 13px system-ui, sans-serif; background-position: right center; background-size: initial; background-repeat: no-repeat; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; cursor: pointer; }
@media (max-width: 600px) {
  header .header-actions { display: flex; flex-flow: column; align-items: stretch; gap: 6px; }
  header .week-jump, header .location-select { height: 38px; border-radius: 9px; }
  header .week-jump { padding: 0px 11px; font-size: 11px; }
  header .location-select { padding: 0px 10px; gap: 6px; }
  header .location-select select { min-width: 0px; flex: 1 1 0%; font-size: 11px; padding-right: 19px; }
  header .location-control label { display: none; }
  header .location-select { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  header .week-jump, header .location-select { transition: none; }
}
header .location-select select { background-image: none; padding-right: 0px; text-align: center; }
.flex-menu { position: relative; min-width: 0px; width: 100%; }
.flex-menu #flex-trigger { width: 100%; min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 13px; border: 1px solid rgb(183, 205, 187); border-radius: 9px; background: rgb(255, 255, 255); color: rgb(25, 59, 52); font: 600 14px system-ui, sans-serif; text-align: left; cursor: pointer; }
.flex-menu #flex-trigger:hover, .flex-menu #flex-trigger[aria-expanded="true"] { border-color: rgb(109, 157, 124); box-shadow: rgba(25, 59, 52, 0.08) 0px 2px 8px; }
.flex-chevron { width: 8px; height: 8px; border-right: 2px solid rgb(40, 91, 67); border-bottom: 2px solid rgb(40, 91, 67); transform: rotate(45deg); margin: 0px 3px 4px 0px; }
.flex-options { position: absolute; top: calc(100% + 7px); right: 0px; z-index: 40; width: max(100%, 230px); max-width: calc(-44px + 100vw); padding: 5px; background: rgb(255, 254, 251); border: 1px solid rgb(198, 216, 201); border-radius: 12px; box-shadow: rgba(25, 59, 52, 0.157) 0px 10px 28px; }
.flex-options[hidden] { display: none; }
.flex-options button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 11px; border: 0px; border-radius: 7px; background: transparent; color: rgb(39, 74, 59); font: 500 13px system-ui, sans-serif; text-align: left; cursor: pointer; }
.flex-options button:hover, .flex-options button:focus-visible { background: rgb(239, 245, 235); outline: none; }
.flex-options button.selected { background: rgb(230, 241, 230); color: rgb(28, 88, 56); font-weight: 700; }
.flex-options button span { visibility: hidden; color: rgb(40, 114, 86); }
.flex-options button.selected span { visibility: visible; }
#flex-trigger:focus-visible { outline: rgb(40, 114, 86) solid 2px; outline-offset: 2px; }
header .header-actions { align-self: center; align-items: center; }
.map-window-filter { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; }
.map-tap-hint { margin: 0px; color: rgb(53, 92, 73); font: 500 12px / 1.4 system-ui, sans-serif; white-space: nowrap; }
@media (max-width: 650px) {
  .map-window-filter { align-items: flex-start; flex-direction: column; gap: 6px; }
  .map-tap-hint { padding-left: 25px; white-space: normal; font-size: 12px; }
}
#mobile-filter-open, #mobile-filter-close, #map-key-toggle, .mobile-filter-label { display: none; }
@media (max-width: 650px) {
  .arrival-planner { grid-template-columns: minmax(0px, 1fr) auto; gap: 8px; padding: 12px; }
  .arrival-time-control { grid-column: 1 / -1; }
  .arrival-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
  .arrival-heading #sun-times { display: contents; }
  .arrival-heading .date-controls { order: -3; width: 100%; margin: 0px 0px 3px; }
  .arrival-heading > label { order: -2; width: 100%; font-size: 14px; }
  .arrival-heading #sun-times > span { order: -1; font-size: 12px; }
  .arrival-scale { margin: 2px 0px 0px; }
  .arrival-flexibility { grid-column: 1; padding: 0px; background: transparent; border: 0px; display: block; }
  .arrival-flexibility > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0px, 0px, 0px, 0px); }
  .flex-menu #flex-trigger { font-size: 12px; min-height: 40px; padding: 8px 10px; }
  .flex-options { left: 0px; right: auto; }
  #mobile-filter-open { display: block; grid-column: 2; border: 1px solid rgb(183, 205, 187); border-radius: 9px; background: rgb(255, 255, 255); color: rgb(25, 59, 52); padding: 8px 12px; min-height: 40px; font: 600 12px system-ui; }
  #mobile-filter-count:empty { display: none; }
  #arrival-status { grid-column: 1 / -1; margin: 2px 0px; gap: 5px 8px; }
  #arrival-status strong { font-size: 16px; }
  #arrival-status .match-badge { padding: 4px 6px; font-size: 11px; }
  .map-window-filter { flex-flow: wrap; align-items: center; gap: 6px 10px; }
  .map-window-filter .window-check { align-items: center; font-size: 12px; }
  .desktop-filter-label { display: none; }
  .mobile-filter-label { display: inline; }
  .map-tap-hint { padding: 0px; margin-left: auto; font-size: 11px; }
  .map-layout #map { height: clamp(300px, 85vw, 390px); aspect-ratio: auto; }
  .map-layout .map-canvas { background: rgb(223, 233, 212); }
  #map-key-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0px; border: 0px; background: none; color: rgb(40, 73, 58); font: 600 12px system-ui; text-align: left; }
  #map-key-content { display: none; padding-top: 9px; }
  #map-key-toggle[aria-expanded="true"] + #map-key-content { display: block; }
  .filter-panel { display: none; position: fixed; z-index: 201; bottom: 0px; left: 0px; right: 0px; width: 100%; max-width: none; min-width: 0px; max-height: min(75dvh, 680px); margin: 0px; border-radius: 20px 20px 0px 0px; padding: 18px 18px max(18px,env(safe-area-inset-bottom)); box-shadow: rgba(25, 59, 52, 0.2) 0px -10px 35px; }
  .filter-panel.mobile-open { display: block; }
  #filter-backdrop:not([hidden]) { display: block; position: fixed; inset: 0px; background: rgba(16, 43, 35, 0.5); z-index: 200; }
  .filter-heading { display: flex; gap: 10px; }
  .filter-heading h2 { flex: 1 1 0%; }
  #mobile-filter-close { display: block; order: 3; background: rgb(255, 255, 255); border: 1px solid rgb(213, 223, 211); border-radius: 8px; width: 36px; height: 36px; color: rgb(25, 59, 52); font-size: 17px; }
  body.filters-open { overflow: hidden; }
}
@media (max-width: 650px) {
  .arrival-heading .date-controls { padding: 0px; background: transparent; border: 0px; border-radius: 0px; margin: 0px 0px 2px; grid-template-columns: 40px minmax(0px, 1fr) 40px; }
  .arrival-heading .date-controls button { width: 40px; min-width: 40px; height: 40px; min-height: 40px; padding: 0px; border: 0px; background: transparent; box-shadow: none; color: rgb(34, 83, 67); border-radius: 8px; font-size: 25px; }
  .arrival-heading .date-controls button:hover { background: rgb(213, 229, 213); }
  .arrival-heading .date-controls button:focus-visible { outline: rgb(40, 114, 86) solid 2px; outline-offset: 1px; }
  .arrival-heading .date-controls button:disabled { opacity: 0.35; }
  .arrival-heading #sun-times > span { margin-top: 5px; }
}
.arrival-planner .arrival-slider-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 10px 0px 2px; color: rgb(41, 77, 62); font: 500 13px / 1.35 system-ui, sans-serif; }
.arrival-slider-label strong { color: rgb(25, 59, 52); font-size: 18px; white-space: nowrap; }
@media (max-width: 650px) {
  .arrival-slider-label { margin: 10px 0px 2px; font-size: 12px; }
  .arrival-slider-label strong { font-size: 16px; }
  .arrival-heading #sun-times > span { margin-top: 5px; }
}
@media (max-width: 650px) {
  .arrival-heading .date-controls { max-width: 280px; margin: 0px auto 2px; }
  .arrival-heading .date-controls button { font-size: 28px; }
}
.week-filter-panel { background: rgb(244, 239, 228); border: 1px solid rgb(228, 221, 205); color: rgb(25, 59, 52); }
.week-filter-panel .filter-heading h2 { font: 22px Georgia; margin: 0px; }
.week-filter-panel > p { color: rgb(97, 116, 106); font: 12px / 1.4 system-ui; }
.week-filter-panel .week-filter-region { margin: 10px 0px 0px; padding: 10px 0px 0px; }
.week-filter-close { margin-left: auto; border: 1px solid rgb(213, 223, 211); border-radius: 8px; background: rgb(255, 255, 255); width: 36px; height: 36px; color: rgb(25, 59, 52); font-size: 17px; }
.week-filter-actions { margin: 10px 0px; }
.week-filter[open] .week-filter-panel { z-index: 201; }
@media (max-width: 650px) {
  .arrival-planner { grid-template-columns: minmax(0px, 1fr) auto; }
  #mobile-filter-open { white-space: nowrap; padding: 8px 10px; }
  .week-filter-panel { position: fixed; z-index: 201; inset: auto 0px 0px; width: 100%; max-width: none; max-height: min(75dvh, 680px); padding: 18px 18px max(18px,env(safe-area-inset-bottom)); overflow: auto; border-radius: 20px 20px 0px 0px; box-shadow: rgba(25, 59, 52, 0.2) 0px -10px 35px; }
  .week-filter[open]::before { content: ""; position: fixed; inset: 0px; background: rgba(16, 43, 35, 0.5); z-index: 200; }
  .week-filter-close { display: block; }
}
@media (max-width: 650px) {
  .arrival-heading { justify-content: center; }
  .arrival-heading #sun-times > span { margin-top: 5px; }
}
@media (max-width: 650px) {
  .arrival-planner #arrival-status { grid-column: 1 / -1; justify-self: stretch; width: 100%; }
  #arrival-status > strong { flex-basis: 100%; }
  #arrival-status .match-badges { width: 100%; gap: 5px; }
  #arrival-status .match-badge { font-size: 10px; padding: 4px 5px; white-space: nowrap; }
}
@media (min-width: 360px) and (max-width: 650px) {
  #arrival-status .match-badge { font-size: 11px; }
}
.arrival-planner #flex-trigger, .arrival-planner #mobile-filter-open { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
#forecast-notice { grid-column: 1 / -1; margin: 0px; padding: 9px 12px; background: rgb(244, 231, 196); border: 1px solid rgb(217, 189, 115); border-radius: 8px; color: rgb(114, 83, 21); font: 12px / 1.4 system-ui; }
#forecast-notice[hidden] { display: none; }
.week-scroll-hint { display: none; }
.week-hover:hover, .week-hover:focus-visible { outline: rgb(83, 130, 104) solid 2px; outline-offset: -2px; background: rgb(229, 239, 226) !important; }
@media (min-width: 1000px) {
  .arrival-flexibility { grid-template-columns: minmax(0px, 1fr) minmax(225px, 1.15fr); }
  .arrival-flexibility .flex-menu #flex-trigger { font-size: 13px; white-space: nowrap; }
  .arrival-flexibility label { font-size: 12px; }
  .forecast-region > summary { width: 100%; max-width: 620px; }
}
@media (max-width: 650px) {
  .week-scroll-hint { display: block; margin: 0px 0px 10px; color: rgb(82, 110, 97); font: 12px / 1.5 system-ui; }
}

/* Arrival flexibility and daylight summary cues. */
.arrival-scale{display:flex;flex-direction:column}.arrival-slider-label{order:0}.arrival-slider-rail{order:1}.arrival-ticks{order:2}#arrival-band-help{order:3;display:flex;align-items:center;gap:6px;margin:0 0 6px;color:#526e61;font:11px/1.4 system-ui,sans-serif}#arrival-band-help span{width:18px;height:7px;border:1px solid #c3a54c;border-radius:4px;background:#e9c97480;flex:none}.overview-label{color:#b9d0dc;font:600 10px/1.4 system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;margin:8px 0 3px}.map-choice-title{margin:0;font:24px Georgia}.map-choice-help{margin:8px 0 14px;font:13px/1.5 system-ui;color:#d4e4eb}.map-choices{display:grid;gap:8px}.map-choices button{display:grid;gap:4px;min-height:58px;padding:12px 14px;border:1px solid #ffffff40;border-radius:10px;background:#ffffff12;color:#fff;font:600 14px system-ui;text-align:left;cursor:pointer}.map-choices button small{color:#d4e4eb;font:12px system-ui}.map-choices button:hover,.map-choices button:focus-visible{background:#ffffff28;outline:2px solid #e9c974;outline-offset:1px}
@media(max-width:650px){#arrival-band-help{font-size:10px;margin-bottom:5px}}

#arrival-band-help[hidden]{display:none}
