@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

.site-tabs {
  display: flex;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
  padding-bottom: 12px;
}
.site-tabs a {
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 6px;
  color: var(--muted);
}
.site-tabs [aria-current] {
  background: #16364b;
  color: var(--blue);
}
.s-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 25px;
  border-radius: 10px;
}
.s-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.s-metric {
  padding: 16px 12px;
  border-left: 2px solid #31566c;
}
.s-metric strong {
  display: block;
  font-size: 30px;
  font-variant-numeric: tabular-nums;
}
.s-metric span,
.s-metric small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.s-context {
  margin: 18px 0 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 15px;
  color: #b8cbdc;
  line-height: 1.7;
}
.s-chart {
  display: flex;
  gap: 5px;
  align-items: end;
  height: 190px;
  margin-top: 25px;
  overflow-x: auto;
}
.s-bar {
  min-width: 30px;
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}
.s-bar i {
  display: block;
  width: 75%;
  margin: 6px auto;
  background: linear-gradient(#e7b563, #6e583b);
  border-radius: 3px 3px 0 0;
}
.s-models {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.s-models article {
  padding: 20px;
  border-top: 3px solid #38bdf8;
  background: #0a1525;
}
.s-models article:last-child {
  border-color: #eda554;
}
.s-models strong {
  display: block;
  font-size: 33px;
}
.s-models h3 {
  color: var(--blue);
}
#dustmap {
  height: 500px;
  z-index: 0;
  background: #071525;
}
.plume-map {
  position: relative;
  isolation: isolate;
}
.plume-legend {
  position: absolute;
  z-index: 500;
  right: 18px;
  bottom: 54px;
  width: min(330px, calc(100% - 36px));
  padding: 14px 16px 12px;
  border: 1px solid #ffffff24;
  border-radius: 8px;
  background: #06101dde;
  box-shadow: 0 14px 35px #0008;
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.plume-legend strong {
  display: block;
  margin-bottom: 9px;
  font-size: 12px;
  letter-spacing: 1px;
}
.plume-scale {
  display: block;
  height: 12px;
  border: 1px solid #ffffff45;
  background: linear-gradient(
    90deg,
    #fff0c3 0%,
    #f3b84e 38%,
    #dc741f 67%,
    #7f2a0b 100%
  );
}
.plume-legend > div {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  color: #eef4fa;
  font-size: 11px;
}
.plume-legend small {
  display: block;
  margin-top: 8px;
  color: #9fb2c4;
  font-size: 10px;
}
.satellite {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  background: #050b13;
  margin: 20px 0;
}
.s-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  font-size: 14px;
}
details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
summary {
  cursor: pointer;
  font-size: 15px;
}
details p {
  line-height: 1.8;
}
.s-panel > p {
  font-size: 15px;
}
.stat .s-label {
  font-size: 14px;
  font-weight: 650;
  margin: 8px 0;
}
.s-empty {
  color: var(--muted);
  padding: 20px;
}
.leaflet-popup-content {
  color: #edf3fc;
}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: #102033;
}
@media (max-width: 700px) {
  .s-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .s-metric strong {
    font-size: 26px;
  }
  .s-panel {
    padding: 18px;
  }
  .s-models {
    grid-template-columns: 1fr;
  }
  .s-chart {
    gap: 4px;
  }
  #dustmap {
    height: 380px;
  }
  .plume-legend {
    position: static;
    width: 100%;
    padding: 12px 14px;
    border-width: 1px 0;
    border-radius: 0;
    background: #071321;
    box-shadow: none;
    backdrop-filter: none;
  }
  .plume-legend strong {
    font-size: 11px;
  }
  .plume-legend small {
    margin-top: 6px;
  }
  .site-tabs a {
    padding: 9px 12px;
  }
  .heading h1 {
    font-size: 28px;
  }
}
.dust-basemap {
  filter: brightness(0.58) saturate(0.82) contrast(1.18) hue-rotate(-4deg);
}
.dust-point {
  background: transparent !important;
  border: 0 !important;
  display: grid !important;
  place-items: center;
}
.dust-point span {
  display: block;
  width: 18px;
  height: 18px;
  background: var(--dot, #f3bd68);
  border: 3px solid #fff7e8;
  border-radius: 50%;
  box-shadow:
    0 0 0 5px #07111e99,
    0 4px 16px #000b;
}
.point-readings {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.point-reading {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #0b1726;
}
.point-reading span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.point-reading i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--dot);
}
.point-reading strong {
  display: block;
  margin-top: 4px;
  color: #f5f8fc;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}
.point-reading small {
  margin-left: 3px;
  color: var(--muted);
  font-size: 11px;
}
.plume-arrow-icon {
  background: transparent !important;
  border: 0 !important;
  pointer-events: none !important;
}
.plume-arrow {
  display: block;
  color: #ffd08a;
  font-size: 29px;
  font-weight: 300;
  line-height: 1;
  text-shadow:
    0 2px 5px #4d1e00,
    0 0 12px #f5a623;
  animation: plumePulse 2.4s ease-in-out infinite;
}
.leaflet-plume-pane path {
  filter: drop-shadow(0 0 8px #bd5b1b66);
}
@keyframes plumePulse {
  50% {
    opacity: 0.45;
    transform: translateX(-5px);
  }
}
.ai-panel {
  border-color: #2d5870;
  background: linear-gradient(135deg, #10263a, #0c1727);
}
.ai-panel .section-heading {
  margin-bottom: 18px;
}
.ai-panel button {
  white-space: nowrap;
}
.ai-output {
  white-space: normal;
  color: #dceafb;
  font-size: 16px;
  line-height: 1.75;
  border-left: 3px solid var(--blue);
  padding: 18px 20px;
  background: #07111f;
  border-radius: 0 7px 7px 0;
  min-height: 110px;
}

.analysis-intro{max-width:720px;margin:5px 0 0;color:#9eb5b8;font-size:13px}.analysis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.analysis-card{position:relative;min-height:142px;padding:18px 19px;background:#020b0d;border:1px solid rgba(41,187,191,.22);border-top:3px solid var(--analysis-tone,var(--turquoise));border-radius:9px;overflow:hidden}.analysis-card:after{content:"";position:absolute;inset:auto -45px -65px auto;width:130px;height:130px;border-radius:50%;background:var(--analysis-tone,var(--turquoise));opacity:.055;filter:blur(2px)}.analysis-card-head{display:flex;align-items:center;gap:9px;margin-bottom:11px}.analysis-card-head h3{margin:0;color:#fff;font:700 14px/1.25 Poppins,sans-serif}.analysis-icon{width:31px;height:31px;display:grid;place-items:center;border-radius:8px;background:color-mix(in srgb,var(--analysis-tone) 16%,transparent);color:var(--analysis-tone)}.analysis-icon .ui-icon{width:18px;height:18px}.analysis-card p{position:relative;z-index:1;margin:0;color:#bfd0d2;font-size:14px;line-height:1.65}.analysis-now{--analysis-tone:var(--honey)}.analysis-next{--analysis-tone:var(--turquoise)}.analysis-action{--analysis-tone:#45c77b}.analysis-confidence{--analysis-tone:#8ea4aa}.analysis-sources{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:11px;padding:11px 0 0;border-top:1px solid rgba(41,187,191,.18)}.analysis-sources>span{margin-right:3px;color:#8fa8ad;font-size:10px;font-weight:700;letter-spacing:1px;text-transform:uppercase}.analysis-sources b{padding:4px 8px;border:1px solid rgba(41,187,191,.25);border-radius:99px;background:rgba(5,124,144,.12);color:#bce7e8;font-size:10px;font-weight:600}.analysis-message{min-height:76px;display:flex;align-items:center;color:#b9c9cc;font-size:14px}.analysis-foot{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-top:11px}.analysis-foot .note{margin:0}.analysis-foot .note:last-child{text-align:right;max-width:430px}
@media(max-width:700px){.analysis-grid{grid-template-columns:1fr}.analysis-card{min-height:0;padding:15px}.analysis-card p{font-size:14px}.analysis-foot{display:block}.analysis-foot .note:last-child{text-align:left;margin-top:5px}.ai-panel .section-heading button{width:100%;margin-top:8px}.analysis-intro{font-size:12px}}

.satellite[hidden] {
  display: none;
}
@media (max-width: 700px) {
  .point-readings {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }
  .point-reading {
    flex: 0 0 142px;
    scroll-snap-align: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .plume-arrow {
    animation: none;
  }
}

/* Caribbean identity system */
:root {
  --bg: #000000;
  --panel: #061315;
  --panel-raised: #092126;
  --line: rgba(41, 187, 191, 0.24);
  --muted: #a8bec0;
  --blue: #29bbbf;
  --amber: #f4b210;
  --caribe-deep: #057c90;
  --turquoise: #29bbbf;
  --honey: #f4b210;
  --nectar: #c8822a;
  --hive-amber: #c06e2a;
  --success: #45c77b;
  --warning: #ef8f2f;
  --danger: #e6533f;
}

html {
  background: #000;
}

body,
button,
select,
.leaflet-popup-content {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background:
    radial-gradient(circle at 92% -5%, rgba(5, 124, 144, 0.23), transparent 34rem),
    radial-gradient(circle at 8% 42%, rgba(41, 187, 191, 0.07), transparent 30rem),
    linear-gradient(180deg, #000 0%, #031012 46%, #000 100%);
  color: #fff;
}

h1,
h2,
h3,
.brand,
.value,
.watch,
.network-count,
.s-metric strong,
.s-models strong {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
}

header {
  background: rgba(0, 0, 0, 0.94);
  border-bottom-color: rgba(244, 178, 16, 0.3);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.4);
}

.brand {
  color: #fff;
  letter-spacing: 0.04em;
}

.brand > span:not(.radar-logo) {
  color: var(--honey);
}

.radar-logo,
a,
.link {
  color: var(--turquoise);
}

.brand small {
  border-left-color: rgba(41, 187, 191, 0.28);
}

/* Encabezado de marca */
header .header-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  letter-spacing: 0;
}

header .header-brand .radar-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  margin: 0;
  color: var(--turquoise);
  border: 1px solid rgba(41, 187, 191, 0.5);
  border-radius: 12px;
  background: radial-gradient(circle at 50% 50%, rgba(41, 187, 191, 0.2), rgba(5, 124, 144, 0.08) 58%, transparent 60%);
  box-shadow: inset 0 0 18px rgba(41, 187, 191, 0.08), 0 0 22px rgba(41, 187, 191, 0.11);
}

header .header-brand .radar-logo::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(244, 178, 16, 0.22);
  border-radius: 9px;
  pointer-events: none;
}

header .header-brand .radar-logo .ui-icon {
  width: 27px;
  height: 27px;
  stroke-width: 1.65;
}

header .header-brand .brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: #fff;
}

header .header-brand .brand-name {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #fff;
  font-size: 22px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.055em;
  white-space: nowrap;
}

header .header-brand .brand-name strong {
  color: var(--honey);
  font-weight: 800;
}

header .header-brand small {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  color: #83a3aa;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

@media (max-width: 600px) {
  header .header-brand {
    gap: 9px;
  }

  header .header-brand .radar-logo {
    width: 39px;
    height: 39px;
    flex-basis: 39px;
    border-radius: 10px;
  }

  header .header-brand .radar-logo .ui-icon {
    width: 22px;
    height: 22px;
  }

  header .header-brand .brand-name {
    gap: 4px;
    font-size: 17px;
  }

  header .header-brand small {
    display: block;
    font-size: 7px;
    letter-spacing: 0.13em;
  }
}

.badge {
  border-color: rgba(244, 178, 16, 0.46);
  color: #f8d470;
  background: rgba(244, 178, 16, 0.08);
}

.eyebrow,
.stat-label,
.source-tag {
  color: #77d6d8;
}

.site-tabs {
  border-bottom-color: rgba(41, 187, 191, 0.22);
}

.site-tabs a {
  border: 1px solid transparent;
}

.site-tabs a:hover {
  color: #fff;
  background: rgba(41, 187, 191, 0.08);
}

.site-tabs [aria-current] {
  color: #fff;
  background: linear-gradient(135deg, #057c90, #086370);
  border-color: rgba(41, 187, 191, 0.55);
  box-shadow: 0 8px 24px rgba(5, 124, 144, 0.22);
}

select,
button {
  background: #071719;
  border-color: rgba(41, 187, 191, 0.3);
  color: #fff;
}

button:hover {
  border-color: var(--turquoise);
  background: #0a2427;
}

button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline-color: var(--honey);
}

.brief {
  background: linear-gradient(110deg, rgba(5, 124, 144, 0.32), rgba(2, 12, 13, 0.96));
  border-color: rgba(41, 187, 191, 0.34);
  border-left-color: var(--honey);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.brief-icon {
  color: var(--honey);
}

.stat,
.two-columns section,
.s-panel,
.hourly,
.week {
  background: linear-gradient(145deg, #071719, #020909);
  border-color: rgba(41, 187, 191, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 12px 32px rgba(0, 0, 0, 0.22);
}

.stats .stat:nth-child(2) {
  box-shadow: inset 0 3px 0 var(--turquoise), 0 12px 32px rgba(0, 0, 0, 0.22);
}

.stats .stat:nth-child(3) {
  box-shadow: inset 0 3px 0 var(--honey), 0 12px 32px rgba(0, 0, 0, 0.22);
}

.stats .stat:nth-child(4) {
  box-shadow: inset 0 3px 0 var(--caribe-deep), 0 12px 32px rgba(0, 0, 0, 0.22);
}

.blue,
.precip {
  color: var(--turquoise);
}

.amber {
  color: var(--honey);
}

.watch {
  color: #fff;
}

.map-shell {
  background: #020909;
  border-color: rgba(41, 187, 191, 0.3);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

.map-toolbar {
  background: #041113;
  border-bottom-color: rgba(41, 187, 191, 0.22);
}

.map-toolbar button.active {
  color: #001011;
  background: var(--turquoise);
  border-color: var(--turquoise);
  font-weight: 700;
}

.hour,
.day {
  border-color: rgba(41, 187, 191, 0.16);
}

.hour:first-child {
  background: linear-gradient(180deg, rgba(5, 124, 144, 0.34), rgba(5, 124, 144, 0.08));
}

.weather-symbol .wx-cloud {
  fill: rgba(255, 255, 255, 0.045);
  stroke: #fff;
}

.weather-symbol .wx-rain {
  stroke: var(--turquoise);
}

.weather-symbol .wx-sun,
.weather-symbol .wx-lightning {
  stroke: var(--honey);
}

.weather-symbol .wx-lightning {
  fill: var(--honey);
}

.day .range,
.gradient {
  background: linear-gradient(90deg, var(--caribe-deep), var(--turquoise), var(--honey), var(--hive-amber));
}

.dust-bar,
.s-bar i {
  background: linear-gradient(180deg, var(--honey), var(--nectar));
}

.community {
  background: linear-gradient(120deg, rgba(5, 124, 144, 0.28), #031011 62%, rgba(244, 178, 16, 0.08));
  border-color: rgba(41, 187, 191, 0.32);
}

.connection,
.network-count {
  color: var(--honey);
}

.ai-panel {
  background: linear-gradient(135deg, rgba(5, 124, 144, 0.24), #020909 62%);
  border-color: rgba(41, 187, 191, 0.4);
}

.ai-output {
  color: #e9f7f7;
  background: rgba(0, 0, 0, 0.58);
  border-left-color: var(--honey);
}

.s-metric {
  border-left-color: var(--turquoise);
}

.s-context,
.s-models article {
  background: rgba(0, 0, 0, 0.34);
  border-color: rgba(41, 187, 191, 0.24);
}

.s-models article:first-child {
  border-top-color: var(--turquoise);
}

.s-models article:last-child {
  border-top-color: var(--hive-amber);
}

.s-models h3 {
  color: var(--turquoise);
}

.transport-summary{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:22px;margin:20px 0 12px;padding:22px;border:1px solid rgba(41,187,191,.34);border-radius:10px;background:linear-gradient(120deg,rgba(5,124,144,.2),rgba(0,0,0,.5))}.transport-summary span,.s-models article>span{display:block;color:#77d6d8;font-size:11px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase}.transport-summary strong{display:block;margin:3px 0;color:#fff;font-size:28px}.transport-summary p{margin:0;max-width:760px;font-size:14px;line-height:1.6}.transport-arrow{width:78px;height:78px;display:grid;place-items:center;border:1px solid rgba(244,178,16,.45);border-radius:50%;background:rgba(244,178,16,.09);color:var(--honey);font-size:45px;line-height:1;transform:rotate(var(--direction));transition:transform .35s ease}.s-models{gap:10px}.s-models article{border:1px solid rgba(41,187,191,.22);border-top:2px solid var(--turquoise);border-radius:8px}.s-models article>strong{margin:7px 0 2px;font-size:30px}.s-models article>strong small{font-size:13px;color:#a8bec0}.s-models article>p{margin:0 0 8px;color:#d8e5e6}.s-models article>small{color:#81999d;font-size:11px}.model-agreement{display:flex;align-items:center;gap:14px;margin-top:10px;padding:14px 16px;border:1px solid rgba(41,187,191,.2);border-radius:8px;background:rgba(0,0,0,.32)}.model-agreement>span{flex:0 0 auto;padding:6px 9px;border-radius:99px;font-size:11px;font-weight:700}.model-agreement strong,.model-agreement small{display:block}.model-agreement strong{font-size:13px}.model-agreement small{margin-top:3px;color:#8fa7aa;font-size:11px}.agreement-high{background:rgba(69,199,123,.15);color:#64da94}.agreement-medium{background:rgba(244,178,16,.14);color:#f6c84f}.agreement-low{background:rgba(230,83,63,.14);color:#ef7a69}.transport-help{margin-top:10px;padding:13px 0 0}.transport-help summary{color:#9fc0c2;font-size:13px}.transport-help p{font-size:13px}
@media(max-width:700px){.transport-summary{grid-template-columns:1fr;gap:12px;padding:17px}.transport-arrow{width:58px;height:58px;font-size:34px}.transport-summary strong{font-size:24px}.model-agreement{align-items:flex-start;flex-direction:column}.model-agreement>span{font-size:10px}}

.plume-scale {
  background: linear-gradient(90deg, #fff4c9 0%, var(--honey) 38%, var(--hive-amber) 68%, var(--danger) 100%);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: #041416;
}

#dustmap .dust-model-popup .leaflet-popup-content-wrapper{padding:0!important;overflow:hidden;border:1px solid rgba(41,187,191,.48)!important;border-radius:11px!important;background:linear-gradient(145deg,#071719,#020909)!important;color:#fff!important;box-shadow:0 18px 45px rgba(0,0,0,.72),inset 0 1px 0 rgba(255,255,255,.04)!important}#dustmap .dust-model-popup .leaflet-popup-tip{background:#041416!important;border-right:1px solid rgba(41,187,191,.38);border-bottom:1px solid rgba(41,187,191,.38);box-shadow:none!important}#dustmap .dust-model-popup .leaflet-popup-content{min-width:0;margin:0!important;color:#fff!important;font-family:"Poppins",sans-serif!important}.dust-popup{padding:18px}.dust-popup-kicker{display:block;margin-right:28px;color:#77d6d8;font-size:10px;font-weight:700;letter-spacing:1.4px}.dust-popup-place{display:block;margin:4px 28px 13px 0;color:#fff;font-size:19px;line-height:1.2}.dust-popup-reading{padding:13px 14px;border:1px solid rgba(41,187,191,.2);border-radius:8px;background:rgba(0,0,0,.34)}.dust-popup-reading>span{display:block;color:#9db2b5;font-size:11px}.dust-popup-reading>b{display:block;margin-top:1px;color:var(--popup-tone);font-size:29px;line-height:1.2;font-variant-numeric:tabular-nums}.dust-popup-reading>b small{margin-left:5px;color:#d9e5e6;font-size:12px;font-weight:600}.dust-popup-reading>em{display:inline-block;margin-top:7px;padding:3px 7px;border:1px solid color-mix(in srgb,var(--popup-tone) 48%,transparent);border-radius:99px;color:var(--popup-tone);font-size:10px;font-style:normal;font-weight:700}.dust-popup-time{display:flex;align-items:center;gap:9px;margin-top:13px;color:#eef5f5}.dust-popup-time .ui-icon{flex:none;color:var(--honey);font-size:18px}.dust-popup-time>span{font-size:12px;font-weight:600}.dust-popup-time small{display:block;color:#81999d;font-size:10px;font-weight:400}.dust-popup>p{margin:12px 0 0!important;padding-top:10px;border-top:1px solid rgba(41,187,191,.16);color:#829b9e!important;font-size:10px!important}.leaflet-container .dust-model-popup a.leaflet-popup-close-button{top:9px!important;right:9px!important;width:28px!important;height:28px!important;border:1px solid rgba(41,187,191,.24)!important;border-radius:50%!important;background:#061719!important;color:#b8d4d5!important;font:20px/25px Arial,sans-serif!important}.leaflet-container .dust-model-popup a.leaflet-popup-close-button:hover{border-color:var(--turquoise)!important;color:#fff!important;background:#0a292b!important}

.leaflet-control-zoom a {
  background: #041416 !important;
  color: #fff !important;
  border-color: rgba(41, 187, 191, 0.3) !important;
}

footer {
  border-top-color: rgba(244, 178, 16, 0.24);
}

.windy-panel {
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid rgba(41, 187, 191, 0.3);
  border-radius: 10px;
  background: #020909;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

.windy-heading {
  margin-top: 38px;
}

.windy-layers {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid rgba(41, 187, 191, 0.22);
  background: #041113;
}

.windy-layers button {
  min-height: 42px;
}

.windy-layers button.active {
  color: #001011;
  border-color: var(--turquoise);
  background: var(--turquoise);
  font-weight: 700;
}

#windy-map {
  display: block;
  width: 100%;
  height: 560px;
  border: 0;
  background: #000;
}

.windy-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 14px 16px;
  border-top: 1px solid rgba(41, 187, 191, 0.2);
}

.windy-caption p {
  margin: 0;
}

.windy-caption a {
  flex: 0 0 auto;
  font-size: 13px;
}

.corridor-tools {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin: 30px 0 14px;
}

.corridor-tools h3 {
  margin-bottom: 0;
}

.corridor-tools label {
  color: var(--muted);
  font-size: 13px;
}

.corridor-tools select {
  display: block;
  margin-top: 6px;
}

@media (max-width: 700px) {
  .windy-layers {
    overflow-x: auto;
  }
  .windy-layers button {
    flex: 0 0 auto;
  }
  #windy-map {
    height: 460px;
  }
  .windy-caption,
  .corridor-tools {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .corridor-tools label,
  .corridor-tools select {
    width: 100%;
    max-width: none;
  }
}

.plume-arrow {
  color: var(--honey);
  text-shadow: 0 2px 5px #4a2200, 0 0 12px rgba(244, 178, 16, 0.68);
}

.info-button {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(41, 187, 191, 0.58);
  border-radius: 50%;
  background: rgba(5, 124, 144, 0.14);
  color: #dffeff;
  font: 700 14px/1 Poppins, sans-serif;
  text-transform: lowercase;
}

.info-button:hover {
  color: #001011;
  background: var(--turquoise);
}

.risk-stat {
  border-top-color: var(--risk-color);
  box-shadow: inset 0 3px 0 var(--risk-color);
}

.risk-stat .value,
.risk-stat .s-label {
  color: var(--risk-color);
}

.risk-stat .value small {
  color: #f4f8f8;
}

.metric-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.s-metric {
  border-left-color: var(--risk-color);
  background: linear-gradient(100deg, color-mix(in srgb, var(--risk-color) 9%, transparent), transparent 72%);
}

.s-metric strong {
  color: var(--risk-color);
}

.s-metric em {
  display: block;
  margin-top: 7px;
  color: var(--risk-color);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.info-dialog {
  width: min(620px, calc(100% - 28px));
  max-height: min(760px, calc(100vh - 40px));
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(41, 187, 191, 0.48);
  border-radius: 14px;
  background: linear-gradient(145deg, #0a2226, #020909 58%);
  color: #fff;
  box-shadow: 0 30px 90px #000c;
}

.info-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
}

.info-dialog-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px 17px;
  border-bottom: 1px solid rgba(41, 187, 191, 0.22);
  background: rgba(2, 9, 9, 0.94);
  backdrop-filter: blur(12px);
}

.info-dialog-head h2 {
  margin: 5px 0 0;
  font-size: 24px;
}

.info-close {
  width: 38px;
  height: 38px;
  min-height: 0;
  padding: 0;
  border-radius: 50%;
  font-size: 25px;
  line-height: 1;
}

.info-dialog-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 22px 24px;
}

.info-dialog-body section {
  margin: 0;
  padding: 0 18px;
  border-left: 1px solid rgba(41, 187, 191, 0.2);
}

.info-dialog-body section:first-child {
  padding-left: 0;
  border-left: 0;
}

.info-dialog-body h3 {
  margin: 0 0 8px;
  color: var(--honey);
  font-size: 13px;
}

.info-dialog-body p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
}

.info-dialog-source {
  margin: 0 24px 22px;
  padding: 13px 15px;
  border: 1px solid rgba(244, 178, 16, 0.25);
  border-radius: 8px;
  background: rgba(244, 178, 16, 0.06);
  font-size: 11px;
}

@media (max-width: 620px) {
  .info-dialog-body {
    grid-template-columns: 1fr;
  }
  .info-dialog-body section,
  .info-dialog-body section:first-child {
    padding: 14px 0;
    border-left: 0;
    border-top: 1px solid rgba(41, 187, 191, 0.2);
  }
  .info-dialog-body section:first-child {
    padding-top: 0;
    border-top: 0;
  }
}
