  html.bs-quick-capture-redirect,
  html.bs-quick-capture-redirect body {
    background: rgba(15, 23, 42, .62) !important;
  }
  @media (orientation: landscape) and (max-height: 560px) and (max-width: 980px) and (pointer: coarse) {
    html,
    body {
      background: rgba(15, 23, 42, .62) !important;
    }
    body {
      overflow: hidden !important;
    }
    body::before {
      content: "";
      position: fixed;
      inset: 0;
      z-index: 2147483647;
      background: rgba(15, 23, 42, .62);
    }
    body > .site-header,
    body > main,
    body > .site-footer,
    body > #offline-banner,
    body > .flash-stack {
      opacity: 0 !important;
      pointer-events: none !important;
    }
  }
  html.bs-quick-capture-redirect body {
    overflow: hidden !important;
  }
  html.bs-quick-capture-redirect body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    background: rgba(15, 23, 42, .62);
  }
  html.bs-quick-capture-redirect body > .site-header,
  html.bs-quick-capture-redirect body > main,
  html.bs-quick-capture-redirect body > .site-footer,
  html.bs-quick-capture-redirect body > #offline-banner,
  html.bs-quick-capture-redirect body > .flash-stack {
    opacity: 0 !important;
    pointer-events: none !important;
  }

/* Override widget layout while global CSS cache se actualiza */
.prob-widget {
  position: relative;
  display: block;
  padding: 1.2rem 1.6rem 1.25rem;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #1976d2, #64b5f6);
  box-shadow: 0 10px 28px rgba(37,99,235,.28);
  overflow: visible;
  isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease;
}
.prob-widget::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: var(--prob-ghost, 0%);
  width: max(6%, var(--prob-ghost, 0%));
  background: #fff;
  opacity: .18;
  border-radius: 0 999px 999px 0;
  pointer-events: none;
  transition: width .6s ease-out;
}
.prob-widget:active { transform: scale(.99); box-shadow: 0 8px 18px rgba(37,99,235,.25); }
.prob-stack { display: grid; gap: 10px; position: relative; z-index: 1; }
.prob-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; width: 100%; }
.prob-row > * { min-width: 0; }
.hero-compact h2 { display: inline-flex; align-items: center; gap: 8px; }
.hero-title-icon { width: 25px; height: 25px; object-fit: contain; display: inline-block; }
.prob-header { display: grid; gap: 4px; }
.prob-header-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.prob-locality-form {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  opacity: .92;
}
.prob-locality-form select {
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.14);
  color: #fff;
  border-radius: 8px;
  padding: 3px 8px;
  font: inherit;
}
.prob-locality-form option {
  color: #0f172a;
}
.locality-gps-gate {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}
.locality-gps-gate__actions {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}
.locality-gps-gate__actions .chip {
  flex: 1 1 0;
  min-width: 0;
  min-height: 34px;
  padding: 6px 10px;
  font-size: .92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.locality-gps-gate__msg {
  min-height: 1.2em;
  font-size: .82rem;
  opacity: .85;
}
.locality-manual-wrap {
  margin-top: 10px;
}
.prob-icon { width: 22px; height: 22px; object-fit: contain; }
.prob-header-title { font-weight: 700; letter-spacing: .02em; font-size: .95rem; min-width: 0; }
.prob-header-sub { font-size: .8rem; opacity: .75; }
.prob-map-cta {
  border: 0;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.92);
  padding: 0;
  margin-left: auto;
  font: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
.prob-map-cta__icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  display: block;
}
.prob-map-cta::before { content: ""; }
.prob-map-cta:hover { color: #fff; background: rgba(255,255,255,.22); }
.prob-map-cta:focus-visible { outline: 2px solid rgba(255,255,255,.7); outline-offset: 2px; }
.prob-row--main { display: grid; gap: 10px; justify-items: start; }
.prob-row--phrase { justify-content: flex-start; }
.prob-row--groups { justify-content: flex-start; gap: 16px; }
.prob-row--metrics { justify-content: flex-start; gap: 16px; }
.prob-row--meta { justify-content: flex-end; flex-direction: column; align-items: flex-end; gap: 2px; }
.prob-caption { font-weight: 700; letter-spacing: .01em; line-height: 1.1; }
.prob-main-group { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; flex: 0 0 100%; width: 100%; }
.prob-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  opacity: .8;
}
.prob-sep::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
}
.prob-main-value { display: inline-flex; align-items: center; justify-content: flex-start; gap: 8px; flex-wrap: wrap; flex: 0 0 100%; width: 100%; text-align: left; }
.prob-phrase { font-size: .85rem; opacity: .85; text-align: left; max-width: 520px; }
.prob-value { font-size: clamp(2.2rem, 4.5vw, 2.8rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.prob-level { font-weight: 700; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
.prob-mini {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  row-gap: 6px;
  column-gap: 10px;
  align-items: center;
  width: 100%;
}
.prob-mini__label { font-weight: 600; opacity: .92; white-space: nowrap; grid-column: 1; grid-row: 1; }
.prob-mini__value { font-weight: 700; letter-spacing: .01em; white-space: nowrap; grid-column: 2; grid-row: 1; justify-self: end; }
.prob-mini__bar {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
  overflow: visible;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.12);
}
.prob-mini__bar .fill {
  display: block;
  height: 100%;
  width: var(--value, 0%);
  background: #fff;
  transition: width .6s ease-out;
}
.prob-section {
  width: 100%;
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  overflow: visible;
}
.prob-section__head { display: grid; gap: 2px; }
.prob-section__title { font-size: .85rem; font-weight: 700; letter-spacing: .01em; }
.prob-section__note { font-size: .75rem; opacity: .8; }
.prob-recent-list { display: grid; gap: 10px; }
.prob-recent-item { display: grid; gap: 2px; font-size: .85rem; }
.prob-recent-label { font-weight: 600; }
.prob-recent-meta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; flex-wrap: wrap; }
.prob-recent-sep { opacity: .75; }
.prob-tag,
.prob-badge { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.2); font-size: .7rem; font-weight: 800; line-height: 1.25; letter-spacing: .02em; text-transform: uppercase; }
.prob-source { font-size: .74rem; opacity: .62; text-align: right; }
.prob-section--recent-home { margin-top: 14px; }
.prob-section--scan-home { margin-top: 8px; }
.prob-scan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.prob-scan-item { display: grid; gap: 2px; padding: 8px 9px; border-radius: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); }
.prob-scan-label { font-size: .68rem; font-weight: 800; line-height: 1.2; letter-spacing: .05em; text-transform: uppercase; opacity: .72; }
.prob-scan-value { font-size: .92rem; font-weight: 800; line-height: 1.2; }
.prob-info-wrap { position: relative; display: inline-flex; align-items: center; z-index: 0; }
.prob-info-wrap.is-open { z-index: 6; }
.prob-info-target {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  touch-action: manipulation;
}
.prob-tooltip {
  position: fixed;
  left: 0;
  top: 0;
  transform: translateY(-4px);
  width: 220px;
  max-width: 70vw;
  padding: 6px 8px;
  border-radius: 8px;
  background: #0f172a;
  color: #fff;
  font-size: .75rem;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: break-word;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 16px rgba(15,23,42,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 999;
}
.prob-tooltip.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.prob-info-target:focus-visible {
  outline: 2px solid rgba(255,255,255,.7);
  outline-offset: 2px;
}
.prob-updated { font-size: .78rem; opacity: .65; text-align: right; margin-top: 0; }
@media (max-width: 640px) {
  .prob-row--main { flex-direction: column; align-items: flex-start; }
  .prob-main-value { align-items: center; gap: 8px; flex-wrap: wrap; }
  .prob-row--groups,
  .prob-row--metrics { flex-direction: column; align-items: stretch; }
  .prob-mini { width: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; row-gap: 6px; column-gap: 10px; }
  .prob-mini__bar { grid-column: 1 / -1; min-width: 0; width: 100%; }
  .prob-mini__label,
  .prob-mini__value { white-space: normal; }
  .prob-phrase { font-size: .8rem; max-width: 100%; order: 2; flex: 0 0 100%; }
  .prob-map-cta { order: 1; font-size: .8rem; width: 26px; height: 26px; }
  .prob-updated { text-align: left; }
  .prob-source { text-align: left; }
  .prob-row--meta { align-items: flex-start; }
  .prob-scan-grid { grid-template-columns: 1fr; }
  .locality-gps-gate__actions {
    gap: 6px;
  }
  .locality-gps-gate__actions .chip {
    min-height: 32px;
    padding: 5px 8px;
    font-size: .86rem;
  }
}
@media (min-width: 641px) {
  .prob-main-value { flex-wrap: nowrap; align-items: center; }
  .prob-phrase { font-size: .95rem; line-height: 1.1; opacity: .85; font-weight: 600; }
  .prob-phrase::before { content: "\00b7"; opacity: .7; margin: 0 6px 0 4px; }
  .prob-icon { width: 25px; height: 25px; }
  .prob-header-title { font-size: 24px; }
}
@media (min-width: 1280px) {
  .dashboard--map-has-side .home-map-panel-card .prob-main-value {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;
    row-gap: 4px;
  }
  .dashboard--map-has-side .home-map-panel-card .prob-value {
    grid-column: 1;
  }
  .dashboard--map-has-side .home-map-panel-card .prob-sep {
    grid-column: 2;
  }
  .dashboard--map-has-side .home-map-panel-card .prob-level {
    grid-column: 3;
  }
  .dashboard--map-has-side .home-map-panel-card .prob-map-cta {
    grid-column: 4;
    grid-row: 1;

    margin-left: 0;
  }
  .dashboard--map-has-side .home-map-panel-card .prob-phrase {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
    line-height: 1.22;
  }
  .dashboard--map-has-side .home-map-panel-card .prob-phrase::before {
    content: none;
  }
  .dashboard--map-has-side .home-map-panel-card .prob-header-line {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 10px;
    flex-wrap: nowrap;
  }
  .dashboard--map-has-side .home-map-panel-card .prob-icon {
    grid-column: 1;
    width: 28px;
    height: 28px;
  }
  .dashboard--map-has-side .home-map-panel-card .prob-header-title {
    grid-column: 2;
    min-width: 0;
    font-size: clamp(1.05rem, 1.35vw, 1.25rem);
    line-height: 1.08;
    white-space: nowrap;
  }
}
@media (max-width: 400px) {
  .prob-widget { padding: 1rem 1.1rem; }
}
.prob-widget.is-hot .prob-value { animation: probPulse 8s ease-in-out infinite; }
.prob-widget.is-fresh .prob-updated { animation: probFade 0.45s ease-out 0.1s both; }
@keyframes probPulse {
  0%, 80%, 100% { transform: translateY(0); text-shadow: 0 6px 18px rgba(0,0,0,.16); }
  45% { transform: translateY(-1px) scale(1.01); text-shadow: 0 10px 24px rgba(0,0,0,.2); }
}
@keyframes probFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: .82; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .prob-widget,
  .prob-mini__bar .fill,
  .prob-widget.is-hot .prob-value,
  .prob-widget.is-fresh .prob-updated { animation: none !important; transition: none !important; }
}
/* Home-only spacing adjustments for map layout */
main {
  padding: 0;
  max-width: none;
  width: 100%;
  margin: 0;
  gap: 0;
  --home-nav-offset: var(--home-nav-offset-desktop, 72px);
}
.site-footer { margin-top: 0; }
/* Home-only sticky header above the map */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  border-bottom-color: transparent;
  margin-bottom: 0;
}
/* Keep sticky map visible below header while cards scroll. */
main .dashboard--map .map-section {
  top: var(--home-nav-offset, 0px);
  height: calc(100vh - var(--home-nav-offset, 0px));
  min-height: calc(100vh - var(--home-nav-offset, 0px));
}
@supports (height: 100svh){
  main .dashboard--map .map-section {
    height: calc(100svh - var(--home-nav-offset, 0px));
    min-height: calc(100svh - var(--home-nav-offset, 0px));
  }
}
@media (min-width: 1280px) {
  main .dashboard--map.dashboard--map-has-side .map-section {
    position: relative;
    top: auto;
    height: auto;
    min-height: max(640px, calc(100vh - var(--home-nav-offset, 0px) - 36px));
  }
  @supports (height: 100svh){
    main .dashboard--map.dashboard--map-has-side .map-section {
      height: auto;
      min-height: max(640px, calc(100svh - var(--home-nav-offset, 0px) - 36px));
    }
  }
}
/* Keep flash over the map without shifting layout. */
main .flash-stack {
  position: fixed;
  top: 96px;
  left: 0;
  right: 0;
  width: min(760px, calc(100% - 24px));
  z-index: 1350;
  margin: 0 auto;
  padding: 0;
  pointer-events: none;
}
main .flash-stack .flash {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-left-width: 3px;
  box-shadow: 0 16px 34px rgba(2, 6, 23, .46);
}
main .flash-stack .flash[data-tone="success"]{
  --flash-accent: var(--accent, #16a34a);
  --flash-accent-soft: rgba(255,255,255,.16);
  --flash-bg: #166534;
  --flash-border: #22c55e;
  --flash-ink: #ffffff;
}
main .flash-stack .flash[data-tone="info"]{
  --flash-bg:#0b2a4a;
  --flash-border:#1d4ed8;
  --flash-ink:#dbeafe;
}
main .flash-stack .flash[data-tone="warning"]{
  --flash-bg:#422006;
  --flash-border:#b45309;
  --flash-ink:#ffedd5;
}
main .flash-stack .flash[data-tone="error"]{
  --flash-bg:#450a0a;
  --flash-border:#b91c1c;
  --flash-ink:#fee2e2;
}
main .flash-stack .flash__icon {
  display: none;
}
main .flash-stack .flash__body {
  text-shadow: none;
  text-align: left;
  color: var(--flash-ink);
}
main .flash-stack .flash__close {
  position: relative;
  flex: 0 0 26px;
  top: auto;
  right: auto;
  margin-left: 4px;
  color: rgba(255, 255, 255, .9);
}
main .flash-stack .flash__close:hover {
  background: rgba(255,255,255,.14);
  color: #ffffff;
}
@media (max-width: 900px) {
  main .flash-stack { top: 88px; }
}
.home-desktop-hero {
  position: relative;
  display: none;
  min-height: calc(100vh - var(--home-hero-header-offset, 72px) + 2px);
  box-sizing: border-box;
  overflow: hidden;
  isolation: isolate;
  color: var(--silk-text);
  background: var(--silk-surface);
}
.home-desktop-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(141, 223, 255, .18), transparent);
  pointer-events: none;
}
.home-desktop-hero__inner {
  width: min(1440px, calc(100% - 96px));
  min-height: inherit;
  padding-block: clamp(48px, 8vh, 96px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, .4fr);
  align-items: center;
  gap: clamp(64px, 8vw, 124px);
}
.home-desktop-hero__device {
  align-self: center;
  justify-self: center;
  width: auto;
  height: min(480px, calc(100vh - var(--home-hero-header-offset, 72px) - 180px));
  max-width: min(250px, 20vw);
  object-fit: contain;
  filter: brightness(.76) saturate(.82) drop-shadow(0 26px 32px rgba(0, 0, 0, .38));
}
.home-desktop-hero__device-wrap {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
}
.home-desktop-hero__copy {
  display: grid;
  justify-items: start;
  align-content: center;
  align-self: center;
  gap: 0;
  width: min(100%, 960px);
  max-width: 960px;
  padding: 0;
}
.home-desktop-hero__brand {
  margin: 0 0 24px;
  color: var(--silk-muted);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.home-desktop-hero__headline {
  margin: 0 0 38px;
  max-width: none;
  color: var(--silk-text);
  font-size: clamp(2.1rem, 8vw, 4.8rem);
  line-height: .98;
  font-weight: 600;
  letter-spacing: -.055em;
}
.home-desktop-hero__headline-accent {
  color: var(--silk-blue);
}
.home-desktop-hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 52px;
}
.home-desktop-hero__cta {
  margin-right: 0;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  background: radial-gradient(circle at 28% 16%, #66b4ff, #3b82f6 52%, #1462d2 100%);
  color: #fff;
  box-shadow: 5px 6px 13px rgba(20,98,210,.3), inset 1px 1px 0 rgba(255,255,255,.28);
  font: inherit;
  font-size: .9rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.home-desktop-hero__cta--secondary {
  background: var(--silk-surface);
  color: var(--silk-text);
  box-shadow: var(--silk-raised-sm);
}
.home-desktop-hero__cta:hover,
.home-desktop-hero__cta:focus-visible {
  transform: translateY(-2px);
  background: radial-gradient(circle at 28% 16%, #78bfff, #4c8df7 52%, #1d6ddd 100%);
  box-shadow: 7px 8px 17px rgba(20,98,210,.34), inset 1px 1px 0 rgba(255,255,255,.3);
}
.home-desktop-hero__cta--secondary:hover,
.home-desktop-hero__cta--secondary:focus-visible {
  background: var(--silk-surface);
  color: var(--silk-text);
  box-shadow: var(--silk-inset);
}
.home-desktop-hero__facts {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.home-desktop-hero__fact {
  min-height: 72px;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: var(--silk-surface);
  box-shadow: var(--silk-inset);
}
.home-desktop-hero__fact-label,
.home-desktop-hero__fact-value {
  display: block;
}
.home-desktop-hero__fact-label {
  margin-bottom: 8px;
  color: var(--silk-muted);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-desktop-hero__fact-value {

  color: var(--silk-blue);
  font-size: 1.3rem;
  line-height: 1;
  font-weight: 800;
}
#charts-grid {
  scroll-margin-top: calc(var(--home-nav-offset, 72px) + 24px);
}
.chart-insight-card {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
  padding: 20px !important;
}
.chart-insight-card__head h3 {
  margin: 0;
}
.chart-insight-card__head {
  text-align: center;
}
.chart-insight-card__eyebrow {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.species-insight-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(170px, .8fr);
  align-items: center;
  gap: 20px;
}
.species-insight-layout .chart-aspect {
  min-width: 0;
}
.donut-center-stat {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  pointer-events: none;
}
.donut-center-stat__value {
  color: var(--fg);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  line-height: 1;
  font-weight: 800;
}
.donut-center-stat__label {
  margin-top: 6px;
  color: var(--muted);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.species-insight-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.species-insight-item {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}
.species-insight-swatch {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 50%;
}
.species-insight-name,
.species-insight-meta {
  display: block;
}
.species-insight-name {
  color: var(--fg);
  font-size: .82rem;
  font-weight: 700;
}
.species-insight-meta {
  margin-top: 2px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
}
.chart-insight-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.chart-insight-stat {
  min-width: 0;
  padding: 0 16px;
  border-right: 1px solid var(--border);
}
.chart-insight-stat:first-child { padding-left: 0; }
.chart-insight-stat:last-child {
  padding-right: 0;
  border-right: 0;
}
.chart-insight-stat__label,
.chart-insight-stat__value {
  display: block;
}
.chart-insight-stat__label {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.chart-insight-stat__value {
  overflow: hidden;
  color: #60a5fa;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#species-dominant {
  font-size: .95rem;
}
.daily-insight-head {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}
.daily-insight-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
}
.daily-insight-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.daily-insight-legend__line {
  width: 22px;
  height: 3px;
  border-radius: 999px;
}
.daily-insight-legend__line--daily { background: rgba(22,163,74,.75); }
.daily-insight-legend__line--trend { background: #2563eb; }
.daily-insight-footer {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
#daily-peak-date {
  font-size: 1rem;
}
@media (min-width: 1101px) {
  .chart-grid--trends > .chart-insight-card {
    min-height: 660px;
  }
  .chart-insight-card > .chart-aspect,
  .species-insight-layout {
    height: 430px;
    min-height: 0;
  }
  .chart-insight-card > .chart-aspect,
  .species-insight-layout .chart-aspect {
    padding-top: 0 !important;
  }
  .species-insight-layout .donut-fit {
    top: 50%;
    bottom: auto;
    width: min(100%, 390px);
    height: auto;
    transform: translate(-50%, -50%);
  }
}
@media (max-width: 1100px) {
  .species-insight-layout {
    grid-template-columns: 1fr;
  }
  .species-insight-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .chart-insight-card { padding: 14px !important; }
  .species-insight-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 14px;
    width: min(100%, 250px);
    margin-inline: auto;
  }
  .species-insight-name {
    font-size: .72rem;
    line-height: 1.25;
  }
  .species-insight-meta {
    font-size: .64rem;
    line-height: 1.25;
  }
  .chart-insight-footer {
    align-items: stretch;
  }
  .chart-insight-stat {
    display: grid;
    align-content: start;
    justify-items: center;
    padding: 0 6px;
    text-align: center;
  }
  .chart-insight-stat__label {
    min-height: 2.6em;
    margin-bottom: 5px;
    font-size: .56rem;
    line-height: 1.3;
    letter-spacing: .04em;
  }
  .chart-insight-stat__value {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.15;
  }
  #species-dominant {
    display: -webkit-box;
    overflow: hidden;
    font-size: .78rem;
    line-height: 1.2;
    text-overflow: clip;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .daily-insight-head {
    align-items: center;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .daily-insight-legend {
    justify-content: center;
  }
  .daily-insight-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }
  .daily-insight-footer .chart-insight-stat:nth-child(2) {
    border-right: 0;
  }
  .daily-insight-footer .chart-insight-stat:nth-child(3),
  .daily-insight-footer .chart-insight-stat:nth-child(4) {
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }
}
@media (min-width: 1024px) and (min-height: 620px) {
  .home-desktop-hero { display: block; }
  body.home-hero-at-top .dashboard--map {
    visibility: hidden;
  }
}
@media (min-width: 1024px) and (max-height: 760px) {
  .home-desktop-hero__inner {
    grid-template-columns: minmax(0, 1.6fr) minmax(240px, .4fr);
  }
  .home-desktop-hero__device {
    height: min(400px, calc(100vh - var(--home-hero-header-offset, 72px) - 130px));
    max-width: min(240px, 20vw);
  }
  .home-desktop-hero__headline {
    margin-bottom: 28px;
  }
  .home-desktop-hero__brand { margin-bottom: 18px; }
  .home-desktop-hero__actions { margin-bottom: 34px; }
  .home-desktop-hero__fact { min-height: 64px; }
}
