body.sma-if-dashboard-active {
  overflow: hidden !important;
}
.sma-if-dashboard {
  --sma-green: #008d62;
  --sma-green-dark: #006c4c;
  --sma-yellow: #f5c400;
  position: relative;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  width: 100%;
  height: 720px;
  overflow: hidden;
  background: #e8efec;
  color: #182622;
  font-family: Arial, sans-serif;
  transition: grid-template-columns 0.22s ease;
}
.sma-if-dashboard-fullscreen {
  position: fixed;
  z-index: 99999;
  inset: var(--wp-admin--admin-bar--height, 0px) 0 0 0;
  width: 100vw;
  height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
}
.admin-bar .sma-if-dashboard-fullscreen {
  top: 32px;
  height: calc(100dvh - 32px);
}
.sma-if-dashboard.sidebar-collapsed {
  grid-template-columns: 0 minmax(0, 1fr);
}
.sma-if-dashboard-sidebar {
  position: relative;
  z-index: 7;
  display: flex;
  width: 340px;
  min-width: 340px;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  box-shadow: 3px 0 14px rgba(18, 39, 32, 0.2);
  transition: transform 0.22s ease;
}
.sma-if-dashboard.sidebar-collapsed .sma-if-dashboard-sidebar {
  transform: translateX(-100%);
}
.sma-if-sidebar-header {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  padding: 11px 13px 11px 16px;
  background: var(--sma-green-dark);
  color: #fff;
}
.sma-if-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.sma-if-sidebar-brand > span:last-child {
  min-width: 0;
}
.sma-if-sidebar-brand strong,
.sma-if-sidebar-brand small {
  display: block;
}
.sma-if-sidebar-brand strong {
  font-size: 16px;
  line-height: 1.15;
}
.sma-if-sidebar-brand small {
  margin-top: 3px;
  color: #d7eee6;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sma-if-brand-flame {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  font-size: 23px;
}
.sma-if-sidebar-close {
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}
.sma-if-sidebar-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 18px;
}
.sma-if-home-link {
  display: block;
  padding: 10px 15px;
  border-bottom: 1px solid #dce7e2;
  color: var(--sma-green-dark) !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}
.sma-if-map-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 10px 12px;
  border-bottom: 1px solid #dce7e2;
  background: #f3f7f5;
}
.sma-if-map-mode button {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #b7c9c1;
  border-radius: 9px;
  background: #fff;
  color: #40544c;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.sma-if-map-mode button span {
  font-size: 15px;
}
.sma-if-map-mode button.is-active {
  border-color: var(--sma-green);
  background: var(--sma-green);
  color: #fff;
  box-shadow: 0 3px 9px rgba(0, 141, 98, 0.22);
}
.sma-if-incidents-ui[hidden],
.sma-if-hotspots-ui[hidden] {
  display: none !important;
}
.sma-if-sidebar-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #dce7e2;
  border-bottom: 1px solid #dce7e2;
}
.sma-if-sidebar-stats article {
  padding: 12px 10px;
  background: #f7faf8;
  text-align: center;
}
.sma-if-sidebar-stats strong,
.sma-if-sidebar-stats span {
  display: block;
}
.sma-if-sidebar-stats strong {
  color: var(--sma-green-dark);
  font-size: 19px;
}
.sma-if-sidebar-stats span {
  margin-top: 2px;
  color: #65736e;
  font-size: 10px;
  text-transform: uppercase;
}
.sma-if-sidebar-section {
  padding: 14px 15px;
  border-bottom: 1px solid #dce7e2;
}
.sma-if-sidebar-section h2 {
  margin: 0 0 9px;
  color: #263832;
  font-size: 13px;
}
.sma-if-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sma-if-section-title h2 {
  margin: 0;
}
.sma-if-visible-count {
  color: #73817c;
  font-size: 10px;
}
.sma-if-search {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #afc3ba;
  border-radius: 8px;
  padding: 0 9px;
  background: #fff;
}
.sma-if-search span {
  color: #718079;
  font-size: 19px;
}
.sma-if-search input {
  width: 100%;
  height: 39px !important;
  min-height: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font:
    13px Arial,
    sans-serif !important;
}
.sma-if-status-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}
.sma-if-status-filters button {
  border: 1px solid #b9cac2;
  border-radius: 999px;
  padding: 5px 9px;
  background: #fff;
  color: #40534c;
  font-size: 10px;
  cursor: pointer;
}
.sma-if-status-filters button.is-active {
  border-color: var(--sma-green);
  background: var(--sma-green);
  color: #fff;
  font-weight: 700;
}
.sma-if-incidents-section {
  padding-right: 7px;
}
.sma-if-incident-list {
  max-height: 330px;
  margin-top: 8px;
  padding-right: 6px;
  overflow-y: auto;
}
.sma-if-incident-list-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 9px;
  padding: 10px 5px;
  border: 0;
  border-top: 1px solid #e3ebe7;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.sma-if-incident-list-item:first-child {
  border-top: 0;
}
.sma-if-incident-list-item:hover,
.sma-if-incident-list-item:focus {
  background: #eff8f4;
  outline: 0;
}
.sma-if-list-flame {
  display: block;
  width: 24px;
  height: 33px;
  flex: 0 0 24px;
}
.sma-if-list-copy {
  min-width: 0;
}
.sma-if-list-copy strong,
.sma-if-list-copy small,
.sma-if-list-copy em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sma-if-list-copy strong {
  color: #20352e;
  font-size: 12px;
}
.sma-if-list-copy small {
  margin-top: 2px;
  color: #60716a;
  font-size: 10px;
}
.sma-if-list-copy em {
  margin-top: 3px;
  color: #00805a;
  font-size: 9px;
  font-style: normal;
}
.sma-if-list-empty {
  padding: 12px 4px;
  color: #6d7b76;
  font-size: 11px;
  line-height: 1.35;
}
.sma-if-map-style-label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  color: #53635d;
  font-size: 11px;
}
.sma-if-map-style {
  width: 100%;
  min-height: 36px;
  padding: 5px 8px;
  border: 1px solid #afc3ba;
  border-radius: 7px;
  background: #fff;
  font-size: 11px;
}
.sma-if-hotspots-options {
  display: grid;
  gap: 7px;
  margin-top: 11px;
}
.sma-if-hotspots-option {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px;
  border: 1px solid #d7e3dd;
  border-radius: 8px;
  background: #f7faf8;
  color: #2e4039;
  cursor: pointer;
}
.sma-if-hotspots-option input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--sma-green);
}
.sma-if-hotspots-option span {
  min-width: 0;
}
.sma-if-hotspots-option strong,
.sma-if-hotspots-option small {
  display: block;
}
.sma-if-hotspots-option strong {
  font-size: 11px;
}
.sma-if-hotspots-option small {
  margin-top: 3px;
  color: #6a7973;
  font-size: 9px;
  line-height: 1.3;
}
.sma-if-hotspots-status {
  margin: 6px 1px 0;
  color: #6a7973;
  font-size: 9px;
  line-height: 1.35;
}
.sma-if-hotspots-status[data-state="ready"] {
  color: #007352;
}
.sma-if-hotspots-status[data-state="error"] {
  color: #a12b23;
}
.sma-if-hotspot-filter-group {
  margin-top: 13px;
}
.sma-if-hotspot-filter-group > strong {
  display: block;
  color: #41544d;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.sma-if-hotspot-filter-group .sma-if-hotspots-options {
  margin-top: 6px;
}
.sma-if-hotspot-satellites {
  grid-template-columns: 1fr 1fr;
}
.sma-if-hotspot-satellites .sma-if-hotspots-option {
  padding: 9px 7px;
}
.sma-if-history-toggle {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid #a9c9bb;
  border-radius: 8px;
  background: #edf7f2;
  color: #294139;
  cursor: pointer;
}
.sma-if-history-toggle input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--sma-green);
}
.sma-if-history-toggle strong,
.sma-if-history-toggle small {
  display: block;
}
.sma-if-history-toggle strong {
  font-size: 11px;
}
.sma-if-history-toggle small {
  margin-top: 2px;
  color: #65766f;
  font-size: 9px;
}
.sma-if-hotspot-history-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 8px;
  padding: 10px;
  border-radius: 8px;
  background: #f2f5f3;
}
.sma-if-hotspot-history-fields[hidden] {
  display: none;
}
.sma-if-hotspot-history-fields label {
  color: #4c5e57;
  font-size: 9px;
  font-weight: 700;
}
.sma-if-hotspot-history-fields input {
  display: block;
  width: 100%;
  height: 34px;
  margin-top: 4px;
  padding: 4px 5px;
  border: 1px solid #afc3ba;
  border-radius: 6px;
  background: #fff;
  color: #283b34;
  font-size: 10px;
}
.sma-if-history-apply {
  grid-column: 1/-1;
  border: 0;
  border-radius: 7px;
  padding: 8px;
  background: var(--sma-green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.sma-if-hotspot-history-fields > small {
  grid-column: 1/-1;
  color: #6b7974;
  font-size: 8px;
  text-align: center;
}
.sma-if-hotspot-coverage {
  margin-top: 12px;
  padding: 10px 11px;
  border: 1px solid #b9d3c8;
  border-radius: 8px;
  background: #edf7f2;
  color: #294139;
}
.sma-if-hotspot-coverage strong,
.sma-if-hotspot-coverage small {
  display: block;
}
.sma-if-hotspot-coverage strong {
  font-size: 11px;
}
.sma-if-hotspot-coverage small {
  margin-top: 3px;
  color: #65766f;
  font-size: 9px;
  line-height: 1.35;
}
.sma-if-hotspot-categories {
  grid-template-columns: 1fr 1fr;
}
.sma-if-hotspot-categories .sma-if-hotspots-option {
  min-height: 60px;
  padding: 8px;
}
.sma-if-hotspot-categories .sma-if-hotspots-option span {
  position: relative;
  padding-left: 17px;
}
.sma-if-category-symbol {
  position: absolute;
  left: 0;
  top: 1px;
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: radial-gradient(
    circle at 42% 38%,
    #fff 0 12%,
    #ff5b35 14% 38%,
    #b90d2c 40% 68%,
    rgba(185, 13, 44, 0.15) 70%
  );
  box-shadow:
    0 0 0 1px #b6c7bf,
    0 0 7px rgba(239, 51, 64, 0.35);
}
.sma-if-category-note {
  display: block;
  margin: 7px 1px 0;
  color: #65766f;
  font-size: 8px;
  line-height: 1.35;
}
.sma-if-hotspot-clusters {
  grid-template-columns: repeat(3, 1fr);
}
.sma-if-hotspot-clusters .sma-if-hotspots-option {
  min-width: 0;
  padding: 8px 6px;
}
.sma-if-hotspot-clusters .sma-if-hotspots-option span {
  position: relative;
  padding-left: 17px;
}
.sma-if-cluster-symbol {
  position: absolute;
  left: 0;
  top: 1px;
  width: 12px;
  height: 10px;
  border: 2px solid #ef3340;
  border-radius: 45% 55% 55% 45%;
  background: rgba(239, 51, 64, 0.12);
  transform: rotate(-12deg);
}
.sma-if-cluster-symbol.is-30 {
  border-color: #f5a400;
  background: rgba(245, 164, 0, 0.12);
}
.sma-if-cluster-symbol.is-annual {
  border-color: #00a6c7;
  background: rgba(0, 166, 199, 0.12);
}
.sma-if-hotspots-help {
  margin: 8px 0 0;
  padding: 8px 9px;
  border-left: 3px solid var(--sma-yellow);
  background: #fff8d9;
  color: #5d562f;
  font-size: 9px;
  line-height: 1.4;
}
.sma-if-sidebar-action {
  width: 100%;
  margin-top: 9px;
  border: 0;
  border-radius: 7px;
  padding: 9px 10px;
  background: var(--sma-green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.sma-if-sidebar-legend .sma-if-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 7px 0;
  line-height: 1.15;
}
.sma-if-sidebar-legend .sma-if-legend-item > span:last-child {
  min-width: 0;
}
.sma-if-sidebar-legend strong,
.sma-if-sidebar-legend small {
  display: block;
}
.sma-if-sidebar-legend strong {
  color: #2e4039;
  font-size: 10px;
}
.sma-if-sidebar-legend small {
  margin-top: 1px;
  color: #718079;
  font-size: 9px;
}
.sma-if-legend-icon {
  display: block;
  width: 19px;
  height: 27px;
  flex: 0 0 19px;
}
.sma-if-sidebar-legend > p {
  margin: 9px 0 0;
  color: #718079;
  font-size: 9px;
  line-height: 1.3;
}
.sma-if-map-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
}
.sma-if-map {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #e9efec;
}
.sma-if-sidebar-toggle {
  position: absolute;
  z-index: 6;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 8px;
  padding: 9px 12px;
  background: #fff;
  color: #20332d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.sma-if-dashboard.sidebar-collapsed .sma-if-sidebar-toggle {
  opacity: 1;
  pointer-events: auto;
}

/* Control de reapertura por encima de Leaflet y aislado del tema (v3.0.7). */
.sma-if-dashboard .sma-if-map-stage > .sma-if-sidebar-toggle {
  position: absolute !important;
  z-index: 1200 !important;
  top: max(14px, env(safe-area-inset-top)) !important;
  left: max(14px, env(safe-area-inset-left)) !important;
  display: inline-flex !important;
  visibility: hidden !important;
  min-width: 94px !important;
  min-height: 46px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0 !important;
  border: 2px solid #fff !important;
  border-radius: 12px !important;
  padding: 9px 14px !important;
  background: #006c4c !important;
  color: #fff !important;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.36) !important;
  opacity: 0 !important;
  font:
    700 13px/1 Arial,
    sans-serif !important;
  text-indent: 0 !important;
  pointer-events: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}
.sma-if-dashboard.sidebar-collapsed .sma-if-map-stage > .sma-if-sidebar-toggle {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
.sma-if-dashboard .sma-if-map-stage > .sma-if-sidebar-toggle > span {
  display: inline-grid !important;
  width: 22px !important;
  height: 22px !important;
  place-items: center !important;
  color: #ffd52f !important;
  font-size: 20px !important;
  line-height: 1 !important;
}
.sma-if-dashboard .sma-if-map-stage > .sma-if-sidebar-toggle:hover {
  background: #008d62 !important;
}
.sma-if-dashboard .sma-if-map-stage > .sma-if-sidebar-toggle:focus-visible {
  outline: 3px solid #ffd52f !important;
  outline-offset: 3px !important;
}
.sma-if-fire-marker {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.sma-if-flame {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 2px 2px rgba(23, 37, 34, 0.35));
}
.sma-if-flame.state-active-low .flame-outer {
  fill: #e94b35;
}
.sma-if-flame.state-active-low .flame-middle {
  fill: #ff8a22;
}
.sma-if-flame.state-active-low .flame-core {
  fill: #ffc72c;
}
.sma-if-flame.state-active-progress .flame-outer {
  fill: #747474;
}
.sma-if-flame.state-active-progress .flame-middle {
  fill: #f07d22;
}
.sma-if-flame.state-active-progress .flame-core {
  fill: #ffc72c;
}
.sma-if-flame.state-mostly-contained .flame-outer {
  fill: #777;
}
.sma-if-flame.state-mostly-contained .flame-middle {
  fill: #aaa;
}
.sma-if-flame.state-mostly-contained .flame-core {
  fill: #e6bd39;
}
.sma-if-flame.state-contained .flame-outer {
  fill: #676767;
}
.sma-if-flame.state-contained .flame-middle {
  fill: #929292;
}
.sma-if-flame.state-contained .flame-core {
  fill: #bcbcbc;
}
.sma-if-flame.state-inactive {
  opacity: 0.78;
  filter: grayscale(1) drop-shadow(0 2px 2px rgba(23, 37, 34, 0.25));
}
.sma-if-flame.state-inactive .flame-outer {
  fill: #a7a7a7;
}
.sma-if-flame.state-inactive .flame-middle {
  fill: #b9b9b9;
}
.sma-if-flame.state-inactive .flame-core {
  fill: #c9c9c9;
}
.sma-if-popup-content {
  color: #23322d;
  font:
    13px/1.42 Arial,
    sans-serif;
}
.sma-if-popup-title {
  color: #007f5a;
  font-size: 15px;
}
.sma-if-popup-responders {
  margin: 3px 0 5px 17px;
  padding: 0;
  max-height: 125px;
  overflow: auto;
}
.sma-if-popup-responders li {
  margin: 1px 0;
}
.sma-if-map .maplibregl-popup-content {
  max-height: 72vh;
  overflow: auto;
  padding: 13px 15px;
  border-radius: 9px;
}
.sma-if-map .maplibregl-ctrl-attrib {
  font-size: 10px;
}
.sma-if-map-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 25px;
  text-align: center;
  color: #7a241d;
  background: #fff4f3;
}
.sma-if-map canvas:focus {
  outline: 2px solid var(--sma-green);
  outline-offset: -2px;
}
.sma-if-hotspot-marker {
  filter: drop-shadow(0 0 5px rgba(255, 212, 42, 0.95));
  animation: sma-if-hotspot-pulse 2.2s ease-in-out infinite;
}
.sma-if-hotspot-popup {
  color: #263832;
  font:
    12px/1.45 Arial,
    sans-serif;
}
.sma-if-hotspot-title {
  display: block;
  margin-bottom: 4px;
  color: #9a4e00;
  font-size: 14px;
}
.sma-if-hotspot-popup p {
  margin: 9px 0 5px;
  padding: 7px;
  border-left: 3px solid #f5c400;
  background: #fff8d8;
  font-size: 10px;
}
.sma-if-hotspot-popup small {
  color: #6c7874;
  font-size: 9px;
}
@keyframes sma-if-hotspot-pulse {
  50% {
    stroke-width: 4;
    fill-opacity: 0.72;
  }
}
.sma-if-hotspot-detail-card {
  margin-top: 8px;
  padding: 9px;
  border: 1px solid #d9e4df;
  border-radius: 8px;
  background: #f7faf8;
}
.sma-if-hotspot-detail-card > strong,
.sma-if-hotspot-detail-card > span,
.sma-if-hotspot-detail-card > small {
  display: block;
}
.sma-if-hotspot-detail-card > strong {
  color: #007b57;
  font-size: 13px;
}
.sma-if-hotspot-detail-card > span {
  margin: 1px 0 5px;
  color: #915000;
  font-size: 10px;
  font-weight: 700;
}
.sma-if-hotspot-detail-card > small {
  margin-top: 2px;
  color: #4e5e58;
  font-size: 10px;
}
.sma-if-hotspot-loading {
  min-width: 210px;
}
.sma-if-popup-media {
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid #dce6e2;
}
.sma-if-public-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 6px;
  max-height: 260px;
  overflow: auto;
}
.sma-if-public-gallery a,
.sma-if-public-gallery video {
  display: block;
  width: 100%;
  min-width: 0;
  border-radius: 6px;
  background: #16211e;
}
.sma-if-public-gallery a {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.sma-if-public-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sma-if-public-gallery video {
  grid-column: 1/-1;
  max-height: 210px;
}
.sma-if-incident-panel[hidden] {
  display: none !important;
}
.sma-if-incident-panel {
  position: absolute;
  z-index: 9;
  right: 0;
  top: 0;
  display: flex;
  width: min(440px, 100%);
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: #292627;
  color: #f6f4f4;
  box-shadow: -5px 0 18px rgba(0, 0, 0, 0.35);
  font:
    14px/1.38 Arial,
    sans-serif;
}
.sma-if-panel-header {
  position: relative;
  padding: 20px 18px 14px;
}
.sma-if-panel-close {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 31px;
  line-height: 1;
  cursor: pointer;
}
.sma-if-panel-header h2 {
  margin: 0 42px 2px 0;
  color: #fff;
  font-size: 21px;
}
.sma-if-panel-header > p {
  margin: 0 42px 0 0;
  color: #e4e0e1;
}
.sma-if-panel-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 19px;
  border-top: 1px solid #484445;
  border-bottom: 1px solid #484445;
}
.sma-if-panel-metrics span {
  padding: 12px;
  text-align: center;
}
.sma-if-panel-metrics span + span {
  border-left: 1px solid #484445;
}
.sma-if-panel-metrics small,
.sma-if-panel-metrics strong {
  display: block;
}
.sma-if-panel-metrics small {
  color: #c7c2c3;
  font-size: 11px;
}
.sma-if-panel-metrics strong {
  margin-top: 3px;
  color: #fff;
  font-size: 18px;
}
.sma-if-panel-status {
  margin-top: 13px !important;
  color: #d8d4d5 !important;
  font-size: 12px;
}
.sma-if-panel-status strong {
  color: #fff;
}
.sma-if-panel-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #484445;
  border-bottom: 1px solid #484445;
  background: #211f20;
}
.sma-if-panel-tabs button {
  min-height: 46px;
  border: 0;
  border-top: 3px solid transparent;
  background: transparent;
  color: #dedadb;
  font-size: 14px;
  cursor: pointer;
}
.sma-if-panel-tabs button.is-active {
  border-top-color: var(--sma-yellow);
  background: #302d2e;
  color: #fff;
  font-weight: 700;
}
.sma-if-panel-section {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sma-if-panel-section[hidden] {
  display: none;
}
.sma-if-panel-reports article {
  padding: 16px 18px;
  border-bottom: 1px solid #484445;
}
.sma-if-panel-reports header strong {
  color: #fff;
  font-size: 14px;
}
.sma-if-panel-reports header span {
  color: #d5d0d1;
  font-size: 12px;
}
.sma-if-panel-reports header small {
  display: block;
  margin-top: 2px;
  color: #bdb7b9;
  font-size: 11px;
}
.sma-if-panel-reports article p {
  margin: 8px 0 0;
  color: #f0eded;
}
.sma-if-no-reports {
  padding: 28px 20px;
  text-align: center;
  color: #d8d4d5;
}
.sma-if-no-reports strong {
  color: #fff;
  font-size: 16px;
}
.sma-if-panel-information {
  padding: 17px 18px;
}
.sma-if-panel-information > p {
  margin: 0 0 9px;
}
.sma-if-panel-information .sma-if-popup-responders {
  max-height: none;
}
.sma-if-panel-information .sma-if-popup-media {
  border-top-color: #484445;
}
.sma-if-panel-information .sma-if-public-gallery {
  max-height: none;
}
.sma-if-panel-responders {
  margin: 12px 0;
}
.sma-if-panel-close:focus,
.sma-if-panel-tabs button:focus {
  outline: 2px solid var(--sma-yellow);
  outline-offset: -3px;
}
body.elementor-editor-active .sma-if-dashboard-fullscreen {
  position: relative;
  z-index: auto;
  inset: auto;
  width: 100%;
  height: 720px;
}
@media (max-width: 800px) {
  .sma-if-dashboard {
    display: block;
    height: 100dvh;
  }
  .sma-if-dashboard:not(.sma-if-dashboard-fullscreen) {
    height: 650px;
  }
  .sma-if-dashboard-sidebar {
    position: absolute;
    inset: 0 auto 0 0;
    width: min(360px, 90vw);
    min-width: 0;
  }
  .sma-if-dashboard.sidebar-collapsed .sma-if-dashboard-sidebar {
    transform: translateX(-105%);
  }
  .sma-if-map-stage {
    width: 100%;
    height: 100%;
  }
  .sma-if-incident-panel {
    width: 100%;
  }
  .sma-if-panel-header {
    padding: 15px 15px 10px;
  }
  .sma-if-panel-header h2 {
    font-size: 18px;
  }
  .sma-if-panel-metrics {
    margin-top: 12px;
  }
  .sma-if-panel-metrics span {
    padding: 8px;
  }
  .sma-if-panel-status {
    margin-top: 9px !important;
  }
  .sma-if-panel-reports article {
    padding: 14px 15px;
  }
  .sma-if-public-gallery {
    max-height: 220px;
  }
  .sma-if-public-gallery video {
    max-height: 180px;
  }
  .sma-if-map .maplibregl-ctrl-bottom-right {
    max-width: 74%;
  }
}
@media (max-width: 782px) {
  .admin-bar .sma-if-dashboard-fullscreen {
    top: 46px;
    height: calc(100dvh - 46px);
  }
}

/* Navegación operativa compacta (v2.11.0). */
@media (min-width: 801px) {
  .sma-if-dashboard {
    grid-template-columns: 380px minmax(0, 1fr);
  }
  .sma-if-dashboard-sidebar {
    width: 380px;
    min-width: 380px;
  }
}
.sma-if-sidebar-scroll {
  background: #f1f4f2;
  padding-bottom: 22px;
}
.sma-if-home-link {
  padding: 8px 18px;
  border-color: #dce4e0;
  background: #fff;
  color: #315148 !important;
  font-size: 10px;
  font-weight: 700;
}
.sma-if-map-mode {
  position: sticky;
  z-index: 5;
  top: 0;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 11px 14px;
  background: rgba(244, 247, 245, 0.96);
  backdrop-filter: blur(8px);
}
.sma-if-map-mode button {
  min-height: 58px;
  justify-content: flex-start;
  padding: 9px 11px;
  text-align: left;
}
.sma-if-map-mode button > span:first-child {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  background: #edf2ef;
  font-size: 16px;
}
.sma-if-map-mode button > span:last-child {
  min-width: 0;
}
.sma-if-map-mode button strong,
.sma-if-map-mode button small {
  display: block;
}
.sma-if-map-mode button strong {
  font-size: 11px;
}
.sma-if-map-mode button small {
  margin-top: 2px;
  color: #74827d;
  font-size: 8px;
  font-weight: 500;
}
.sma-if-map-mode button.is-active > span:first-child {
  background: rgba(255, 255, 255, 0.18);
}
.sma-if-map-mode button.is-active small {
  color: #d7eee5;
}
.sma-if-sidebar-stats {
  margin: 0 14px 10px;
  overflow: hidden;
  border: 1px solid #dbe4df;
  border-radius: 11px;
  background: #dbe4df;
}
.sma-if-sidebar-stats article {
  padding: 10px 8px;
}
.sma-if-sidebar-stats strong {
  font-size: 17px;
}
.sma-if-sidebar-stats span {
  font-size: 8px;
}
.sma-if-sidebar-section {
  padding: 12px 14px;
  border: 0;
  background: transparent;
}
.sma-if-sidebar-section + .sma-if-sidebar-section {
  padding-top: 0;
}
.sma-if-incidents-section {
  margin: 0 14px 10px;
  padding: 13px !important;
  border: 1px solid #dbe4df;
  border-radius: 12px;
  background: #fff;
}
.sma-if-incidents-ui.sma-if-sidebar-section:not(.sma-if-incidents-section) {
  margin: 0 14px 10px;
  padding: 13px;
  border: 1px solid #dbe4df;
  border-radius: 12px;
  background: #fff;
}
.sma-if-map-tools {
  display: grid;
  gap: 9px;
}
.sma-if-hotspots-ui {
  display: grid;
  gap: 9px;
}
.sma-if-hotspots-ui[hidden] {
  display: none !important;
}
.sma-if-tool-drawer {
  overflow: hidden;
  border: 1px solid #d7e1dc;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(25, 46, 38, 0.04);
}
.sma-if-tool-drawer summary {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 9px;
  min-height: 55px;
  padding: 8px 11px;
  list-style: none;
  color: #263b34;
  cursor: pointer;
  user-select: none;
}
.sma-if-tool-drawer summary::-webkit-details-marker {
  display: none;
}
.sma-if-tool-drawer summary > span:nth-child(2) {
  min-width: 0;
}
.sma-if-tool-drawer summary strong,
.sma-if-tool-drawer summary small {
  display: block;
}
.sma-if-tool-drawer summary strong {
  font-size: 11px;
}
.sma-if-tool-drawer summary small {
  margin-top: 2px;
  color: #718079;
  font-size: 8px;
}
.sma-if-tool-drawer summary > b {
  color: #718079;
  font-size: 22px;
  font-weight: 400;
  transform: rotate(90deg);
  transition: transform 0.18s;
}
.sma-if-tool-drawer[open] summary > b {
  transform: rotate(-90deg);
}
.sma-if-tool-drawer[open] summary {
  border-bottom: 1px solid #e2e9e5;
}
.sma-if-drawer-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: #edf5f1;
  color: #007957;
  font-size: 17px;
  font-style: normal;
}
.sma-if-drawer-icon.is-heat {
  background: #fff0eb;
  color: #ef4a35;
}
.sma-if-drawer-icon.is-cluster {
  background: #f5edff;
  color: #7d31b8;
}
.sma-if-drawer-icon.is-calendar {
  background: #fff7db;
  color: #9b7200;
}
.sma-if-drawer-icon.is-legend {
  background: #eaf4ff;
  color: #2479aa;
}
.sma-if-drawer-body {
  padding: 11px;
}
.sma-if-hotspot-context {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #006c4c, #008d62);
  color: #fff;
  box-shadow: 0 5px 13px rgba(0, 108, 76, 0.18);
}
.sma-if-hotspot-context > i {
  display: block;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #ffbd22;
  box-shadow: 0 0 0 5px rgba(255, 189, 34, 0.18);
}
.sma-if-hotspot-context strong,
.sma-if-hotspot-context small {
  display: block;
}
.sma-if-hotspot-context strong {
  font-size: 11px;
}
.sma-if-hotspot-context small {
  margin-top: 2px;
  color: #d8f1e8;
  font-size: 8px;
}
.sma-if-control-label {
  margin: 2px 0 6px;
  color: #50625b;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sma-if-control-label:not(:first-child) {
  margin-top: 13px;
}
.sma-if-hotspots-options {
  gap: 7px;
  margin-top: 0;
}
.sma-if-hotspots-option {
  min-height: 48px;
  padding: 8px;
  border-color: #dce5e1;
  border-radius: 9px;
  background: #f8faf9;
}
.sma-if-hotspots-option:has(input:checked) {
  border-color: #68ad93;
  background: #edf8f3;
  box-shadow: inset 0 0 0 1px rgba(0, 141, 98, 0.08);
}
.sma-if-hotspots-option input {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}
.sma-if-hotspots-option strong {
  font-size: 10px;
}
.sma-if-hotspots-option small {
  font-size: 8px;
}
.sma-if-hotspot-categories .sma-if-hotspots-option {
  min-height: 42px;
}
.sma-if-hotspot-clusters {
  grid-template-columns: 1fr;
}
.sma-if-hotspot-clusters .sma-if-hotspots-option {
  align-items: center;
  min-height: 48px;
  padding: 8px 10px;
}
.sma-if-hotspot-clusters .sma-if-hotspots-option span {
  padding-left: 22px;
}
.sma-if-cluster-symbol {
  width: 16px;
  height: 12px;
}
.sma-if-category-note {
  margin-top: 8px;
}
.sma-if-history-toggle {
  margin: 0;
  padding: 10px;
  border-color: #d8e2dd;
  background: #f7faf8;
}
.sma-if-hotspot-history-fields {
  margin-top: 9px;
  padding: 10px;
  background: #eef3f0;
}
.sma-if-hotspot-history-fields input {
  font-size: 9px;
}
.sma-if-history-apply {
  background: #007f59;
}
.sma-if-layer-feedback {
  padding: 10px 11px;
  border: 1px solid #d8e3de;
  border-radius: 11px;
  background: #fff;
}
.sma-if-hotspots-status {
  margin: 0;
  color: #275347;
  font-weight: 700;
}
.sma-if-hotspots-help {
  margin-top: 7px;
  border-radius: 7px;
}
.sma-if-legend-section {
  padding-top: 0 !important;
}
.sma-if-legend-section .sma-if-drawer-body {
  max-height: 420px;
  overflow: auto;
}
.sma-if-legend-heading.sma-if-cluster-heading {
  margin-top: 14px !important;
  padding-top: 11px;
  border-top: 1px solid #e1e9e5;
}
.sma-if-active-cluster-legend {
  display: grid;
  gap: 6px;
}
.sma-if-active-cluster-legend > div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4c5d57;
  font-size: 9px;
}
.sma-if-active-cluster-legend i {
  display: block;
  width: 24px;
  height: 13px;
  border: 3px solid #f500d0;
  background: rgba(245, 0, 208, 0.08);
}
.sma-if-active-cluster-legend i.is-30 {
  border-color: #008743;
  background: rgba(0, 135, 67, 0.08);
}
.sma-if-active-cluster-legend i.is-annual {
  border-color: #5c158e;
  background: rgba(92, 21, 142, 0.08);
}
.sma-if-cluster-year-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 8px;
}
.sma-if-cluster-year-grid > div {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #5f6e68;
  font-size: 8px;
}
.sma-if-cluster-year {
  display: block;
  width: 20px;
  height: 10px;
  border: 3px solid #eb00df;
  background: rgba(235, 0, 223, 0.06);
}
.sma-if-cluster-year.year-1 {
  border-color: #00a978;
}
.sma-if-cluster-year.year-2 {
  border-color: #79a900;
}
.sma-if-cluster-year.year-3 {
  border-color: #8b139d;
}
.sma-if-cluster-year.year-4 {
  border-color: #b9dc00;
}
.sma-if-cluster-year.year-5 {
  border-color: #e2d600;
}
.sma-if-cluster-year.year-6 {
  border-color: #4c2daa;
}
.sma-if-cluster-year.year-7 {
  border-color: #f09a00;
}
.sma-if-cluster-year.year-8 {
  border-color: #f04000;
}
.sma-if-cluster-year.year-9 {
  border-color: #ef1600;
}
.sma-if-cluster-year.year-old {
  border-color: #71105d;
}
@media (max-width: 800px) {
  .sma-if-dashboard-sidebar {
    width: min(390px, 94vw);
  }
  .sma-if-map-mode {
    padding: 9px 11px;
  }
  .sma-if-map-mode button {
    min-height: 54px;
  }
  .sma-if-legend-section .sma-if-drawer-body {
    max-height: none;
  }
}

/* Leaflet, imagen institucional y apoyo aéreo (v2.2.0). */
.sma-if-sidebar-header {
  min-height: 105px;
  padding: 8px 11px 8px 13px;
  background: #fff;
  border-bottom: 4px solid var(--sma-green);
  color: #15231f;
}
.sma-if-institutional-logos {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}
.sma-if-logo-sma {
  display: block;
  width: 112px;
  height: 43px;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center;
}
.sma-if-logo-coahuila {
  display: block;
  width: 130px;
  height: auto;
  max-height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
}
.sma-if-sidebar-close {
  flex: 0 0 34px;
  background: #e7f2ed;
  color: var(--sma-green-dark);
}
.sma-if-map .leaflet-popup-content-wrapper {
  max-height: 72vh;
  overflow: auto;
  border-radius: 9px;
}
.sma-if-map .leaflet-popup-content {
  margin: 13px 15px;
}
.sma-if-map .leaflet-control-attribution {
  max-width: min(70vw, 560px);
  font-size: 9px;
}
.sma-if-map .leaflet-control-layers {
  font:
    12px/1.35 Arial,
    sans-serif;
}
.sma-if-map .leaflet-control-layers-expanded {
  padding: 7px 10px;
  color: #263832;
}
.sma-if-map-stage {
  z-index: 1;
  isolation: isolate;
}
.sma-if-fire-marker {
  border: 0 !important;
  background: transparent !important;
}
.sma-if-marker-scene {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}
.sma-if-marker-flame {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  width: var(--sma-flame-width);
  height: var(--sma-flame-height);
  transform: translateX(-50%);
  pointer-events: none;
}
.sma-if-aircraft-orbit {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: -2px;
  width: 74px;
  height: 74px;
  margin-left: -37px;
  border: 2px dashed rgba(239, 51, 64, 0.82);
  border-radius: 50%;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.65));
  pointer-events: none;
  animation: sma-if-aircraft-orbit 4.5s linear infinite;
}
.sma-if-aircraft-glyph {
  position: absolute;
  left: 50%;
  top: -14px;
  display: grid;
  width: 38px;
  height: 30px;
  place-items: center;
  border: 2px solid #ef3340;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  line-height: 1;
  animation: sma-if-aircraft-counter-orbit 4.5s linear infinite;
}
.sma-if-aircraft-vector {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.sma-if-aircraft-glyph .sma-if-aircraft-vector {
  width: 34px;
  height: 23px;
}
.sma-if-inline-aircraft {
  display: inline-block;
  width: 34px;
  height: 21px;
  margin-right: 4px;
  vertical-align: middle;
}
.sma-if-aircraft-count {
  position: absolute;
  z-index: 4;
  right: 0;
  top: 3px;
  display: grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 10px;
  background: #008d62;
  color: #fff;
  font:
    700 10px/1 Arial,
    sans-serif;
}
@keyframes sma-if-aircraft-orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes sma-if-aircraft-counter-orbit {
  to {
    transform: rotate(-360deg);
  }
}
.sma-if-popup-aircraft {
  margin: 4px 0 6px 17px;
  padding: 0;
}
.sma-if-popup-aircraft li {
  margin: 2px 0;
}
.sma-if-panel-aircraft {
  margin: 12px 0;
  padding: 10px;
  border: 1px solid #4b4748;
  border-radius: 7px;
  background: #242223;
}
.sma-if-panel-metrics {
  grid-template-columns: repeat(3, 1fr);
}
.sma-if-panel-metrics span {
  padding: 12px 7px;
}
.sma-if-legend-aircraft,
.sma-if-legend-boundary {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.sma-if-legend-aircraft > span:first-child {
  display: grid;
  width: 38px;
  height: 26px;
  place-items: center;
  background: transparent;
}
.sma-if-legend-aircraft strong,
.sma-if-legend-aircraft small,
.sma-if-legend-boundary strong,
.sma-if-legend-boundary small {
  display: block;
}
.sma-if-legend-aircraft strong,
.sma-if-legend-boundary strong {
  font-size: 10px;
}
.sma-if-legend-aircraft small,
.sma-if-legend-boundary small {
  font-size: 9px;
  color: #718079;
}
.sma-if-legend-boundary > span:first-child {
  display: block;
  width: 30px;
  height: 0;
  border-top: 5px solid rgba(0, 95, 61, 0.42);
  box-shadow:
    0 -1px 0 #00a650,
    0 1px 0 #00a650;
}
.sma-if-legend-heading {
  margin: 0 0 8px !important;
  color: #41544d !important;
  font-size: 9px !important;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.sma-if-age-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.sma-if-age-legend > div,
.sma-if-age-old {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sma-if-age-legend strong,
.sma-if-age-legend small,
.sma-if-age-old strong {
  display: block;
}
.sma-if-age-dot {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  background: #f5353e;
  box-shadow:
    0 0 0 1px rgba(38, 56, 50, 0.28),
    0 2px 5px rgba(22, 39, 33, 0.3);
}
.sma-if-age-dot:after {
  position: absolute;
  content: "";
  inset: -5px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.25;
}
.sma-if-age-dot.age-0 {
  color: #ef3340;
  background: radial-gradient(
    circle at 38% 32%,
    #fff 0 10%,
    #ff5345 12% 46%,
    #c90d2e 48%
  );
}
.sma-if-age-dot.age-1 {
  color: #ff8b1f;
  background: #ff8b1f;
}
.sma-if-age-dot.age-2 {
  color: #ffd62c;
  background: #ffd62c;
}
.sma-if-age-dot.age-3 {
  color: #20d45a;
  background: #20d45a;
}
.sma-if-age-dot.age-60 {
  color: #6d155f;
  background: #6d155f;
}
.sma-if-age-gradient {
  margin: 11px 0 8px;
}
.sma-if-age-gradient > span {
  display: block;
  height: 8px;
  border: 1px solid rgba(34, 57, 49, 0.2);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #42df64 0%,
    #b8ee91 18%,
    #3adbd2 38%,
    #2a86d3 56%,
    #6558c8 73%,
    #c33bb4 88%,
    #6d155f 100%
  );
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.55);
}
.sma-if-age-gradient > div {
  display: flex;
  justify-content: space-between;
  margin-top: 3px;
  color: #718079;
  font-size: 7px;
}
.sma-if-legend-cluster {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px solid #e1e9e5;
}
.sma-if-legend-cluster > span:first-child {
  display: block;
  width: 25px;
  height: 16px;
  flex: 0 0 25px;
  border: 3px solid #ef3340;
  border-radius: 44% 56% 51% 49%;
  background: rgba(239, 51, 64, 0.1);
  transform: rotate(-8deg);
}
.sma-if-legend-cluster strong,
.sma-if-legend-cluster small {
  display: block;
}
.sma-if-legend-cluster strong {
  font-size: 10px;
}
.sma-if-legend-cluster small {
  margin-top: 1px;
  color: #718079;
  font-size: 9px;
}
.sma-if-hotspot-wms-tile {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.95))
    drop-shadow(0 1px 1px rgba(15, 31, 25, 0.38)) saturate(1.12) contrast(1.04);
}
.sma-if-cluster-wms-tile {
  filter: drop-shadow(0 1px 1px rgba(15, 31, 25, 0.38)) saturate(1.08);
}
.sma-if-cluster-detail-card {
  border-color: #f2b0a8;
  background: #fff7f5;
}
.sma-if-cluster-detail-card > strong {
  color: #b52a25;
}
@media (max-width: 800px) {
  .sma-if-sidebar-header {
    min-height: 95px;
  }
  .sma-if-logo-sma {
    width: 105px;
    height: 40px;
  }
  .sma-if-logo-coahuila {
    width: 122px;
  }
  .sma-if-panel-metrics small {
    font-size: 9px;
  }
  .sma-if-panel-metrics strong {
    font-size: 15px;
  }
  .sma-if-map .leaflet-control-attribution {
    max-width: 74vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sma-if-aircraft-orbit,
  .sma-if-aircraft-glyph {
    animation-duration: 12s;
  }
  .sma-if-hotspot-marker {
    animation: none;
  }
}
.sma-if-aircraft-glyph {
  top: -13px;
  width: 48px;
  height: 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.sma-if-aircraft-glyph .sma-if-aircraft-vector {
  width: 48px;
  height: 30px;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.45));
}
.sma-if-popup-title {
  display: block;
  font-size: 16px;
}
.sma-if-popup-id {
  display: block;
  margin: 1px 0 5px;
  color: #66756f;
  font-size: 10px;
  font-weight: 700;
}
.sma-if-panel-id {
  color: #f5b400;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.sma-if-panel-reports article {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}
.sma-if-panel-report-icon {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
}
.sma-if-panel-report-icon .sma-if-aircraft-vector {
  width: 36px;
  height: 25px;
}
.sma-if-panel-report-copy {
  min-width: 0;
  flex: 1;
}
.sma-if-report-icon-svg {
  display: block;
  width: 29px;
  height: 29px;
}
.sma-if-sidebar-header {
  min-height: 84px;
  padding: 8px 13px;
  border-bottom-width: 3px;
}
.sma-if-logo-coahuila {
  width: 126px;
  max-height: 38px;
}
.sma-if-logo-sma {
  width: 105px;
  height: 39px;
}
@media (max-width: 800px) {
  .sma-if-sidebar-header {
    min-height: 78px;
  }
  .sma-if-logo-coahuila {
    width: 118px;
  }
  .sma-if-logo-sma {
    width: 98px;
    height: 36px;
  }
}

/* Tres módulos cartográficos independientes (incendios, puntos y conglomerados). */
.sma-if-map-mode {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sma-if-map-mode button {
  display: grid;
  min-width: 0;
  place-items: center;
  align-content: center;
  padding: 7px 4px;
  text-align: center;
}
.sma-if-map-mode button > span:first-child {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}
.sma-if-map-mode button strong,
.sma-if-map-mode button small {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sma-if-incidents-ui[hidden],
.sma-if-points-ui[hidden],
.sma-if-clusters-ui[hidden] {
  display: none !important;
}
.sma-if-points-ui,
.sma-if-clusters-ui {
  display: grid;
  gap: 9px;
}
.sma-if-point-history-fields,
.sma-if-cluster-history-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 9px;
  padding: 10px;
  border-radius: 8px;
  background: #eef3f0;
}
.sma-if-point-history-fields[hidden],
.sma-if-cluster-history-fields[hidden] {
  display: none !important;
}
.sma-if-point-history-fields label,
.sma-if-cluster-history-fields label {
  color: #4c5e57;
  font-size: 9px;
  font-weight: 700;
}
.sma-if-point-history-fields input,
.sma-if-cluster-history-fields input {
  display: block;
  width: 100%;
  height: 34px;
  margin-top: 4px;
  padding: 4px 5px;
  border: 1px solid #afc3ba;
  border-radius: 6px;
  background: #fff;
  color: #283b34;
  font-size: 9px;
}
.sma-if-point-history-apply,
.sma-if-cluster-history-apply {
  grid-column: 1/-1;
  border: 0;
  border-radius: 7px;
  padding: 8px;
  background: #007f59;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.sma-if-point-history-fields > small,
.sma-if-cluster-history-fields > small {
  grid-column: 1/-1;
  color: #6b7974;
  font-size: 8px;
  text-align: center;
}
.sma-if-points-status,
.sma-if-clusters-status {
  margin: 0;
  color: #275347;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.35;
}
.sma-if-points-status[data-state="error"],
.sma-if-clusters-status[data-state="error"] {
  color: #a12b23;
}
.sma-if-points-status[data-state="loading"] {
  color: #8c6500;
}
.sma-if-points-status[data-state="loading"]:before {
  display: inline-block;
  margin-right: 7px;
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid #e2c45c;
  border-top-color: #8c6500;
  border-radius: 50%;
  vertical-align: -2px;
  animation: sma-if-loading-spin 0.8s linear infinite;
}
@keyframes sma-if-loading-spin {
  to {
    transform: rotate(360deg);
  }
}
.sma-if-hotspot-wms-image,
.sma-if-cluster-wms-image {
  image-rendering: auto;
  filter: drop-shadow(0 1px 1px rgba(15, 31, 25, 0.32)) saturate(1.08);
  transition: opacity 0.18s linear;
}
@media (max-width: 800px) {
  .sma-if-map-mode {
    gap: 5px;
    padding: 8px;
  }
  .sma-if-map-mode button {
    min-height: 58px;
    padding: 6px 2px;
  }
  .sma-if-map-mode button strong {
    font-size: 9px;
  }
  .sma-if-map-mode button small {
    font-size: 7px;
  }
}

/* Navegación y consulta histórica simplificadas (v2.13.0). */
@media (min-width: 801px) {
  .sma-if-dashboard {
    grid-template-columns: 430px minmax(0, 1fr);
  }
  .sma-if-dashboard-sidebar {
    width: 430px;
    min-width: 430px;
  }
}
.sma-if-map-mode {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 13px 16px;
}
.sma-if-map-mode button {
  min-height: 72px;
  padding: 10px 8px;
  border-radius: 13px;
}
.sma-if-map-mode button > span:first-child {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  font-size: 19px;
}
.sma-if-map-mode button strong {
  font-size: 14px;
  line-height: 1.15;
}
.sma-if-map-mode button small {
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.2;
}
.sma-if-map-tools {
  gap: 12px;
}
.sma-if-hotspot-context {
  justify-content: center;
  min-height: 66px;
  padding: 13px 16px;
  text-align: center;
}
.sma-if-hotspot-context strong {
  font-size: 15px;
}
.sma-if-hotspot-context small {
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.35;
}
.sma-if-tool-drawer {
  border-radius: 14px;
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
.sma-if-tool-drawer[open] {
  border-color: #b9d3c7;
  box-shadow: 0 5px 15px rgba(25, 55, 44, 0.08);
}
.sma-if-tool-drawer summary {
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  min-height: 70px;
  gap: 11px;
  padding: 11px 14px;
}
.sma-if-tool-drawer summary strong {
  font-size: 14px;
  line-height: 1.2;
}
.sma-if-tool-drawer summary small {
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.3;
}
.sma-if-drawer-icon {
  width: 39px;
  height: 39px;
  border-radius: 11px;
  font-size: 19px;
}
.sma-if-drawer-body {
  padding: 14px;
}
.sma-if-control-label {
  margin: 3px 0 9px;
  font-size: 10px;
  letter-spacing: 0.09em;
}
.sma-if-control-label:not(:first-child) {
  margin-top: 18px;
}
.sma-if-hotspot-satellites,
.sma-if-hotspot-categories {
  gap: 9px;
}
.sma-if-hotspots-option {
  min-height: 60px;
  align-items: center;
  padding: 10px 11px;
  border-radius: 11px;
  transition:
    transform 0.16s,
    border-color 0.16s,
    background 0.16s,
    box-shadow 0.16s;
}
.sma-if-hotspots-option:hover {
  transform: translateY(-1px);
  border-color: #74b29a;
  box-shadow: 0 4px 10px rgba(0, 108, 76, 0.08);
}
.sma-if-hotspots-option input {
  width: 19px;
  height: 19px;
  flex-basis: 19px;
}
.sma-if-hotspots-option strong {
  font-size: 12px;
  line-height: 1.2;
}
.sma-if-hotspots-option small {
  margin-top: 4px;
  font-size: 9px;
  line-height: 1.25;
}
.sma-if-hotspot-categories .sma-if-hotspots-option {
  min-height: 66px;
}
.sma-if-hotspot-categories .sma-if-hotspots-option span {
  padding-left: 20px;
}
.sma-if-category-symbol {
  top: 2px;
  width: 13px;
  height: 13px;
}
.sma-if-category-note {
  margin-top: 10px;
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}
.sma-if-period-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.sma-if-point-current-button,
.sma-if-period-choice .sma-if-history-toggle {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px;
  border: 1px solid #c8d8d1;
  border-radius: 11px;
  background: #f7faf8;
  color: #334940;
  text-align: center;
  cursor: pointer;
  transition: 0.16s;
}
.sma-if-point-current-button {
  font: inherit;
}
.sma-if-point-current-button strong,
.sma-if-point-current-button small,
.sma-if-period-choice .sma-if-history-toggle strong,
.sma-if-period-choice .sma-if-history-toggle small {
  display: block;
}
.sma-if-point-current-button strong,
.sma-if-period-choice .sma-if-history-toggle strong {
  font-size: 13px;
}
.sma-if-point-current-button small,
.sma-if-period-choice .sma-if-history-toggle small {
  margin-top: 4px;
  color: #718079;
  font-size: 9px;
}
.sma-if-period-choice .sma-if-history-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sma-if-point-current-button.is-active,
.sma-if-period-choice .sma-if-history-toggle:has(input:checked) {
  border-color: #008d62;
  background: #008d62;
  color: #fff;
  box-shadow: 0 5px 12px rgba(0, 141, 98, 0.2);
}
.sma-if-point-current-button.is-active small,
.sma-if-period-choice .sma-if-history-toggle:has(input:checked) small {
  color: #d9f1e8;
}
.sma-if-point-history-fields {
  gap: 10px;
  margin-top: 11px;
  padding: 12px;
  border: 1px solid #d5e1db;
  border-radius: 11px;
}
.sma-if-history-types {
  grid-column: 1/-1;
}
.sma-if-history-types > strong {
  display: block;
  margin-bottom: 8px;
  color: #385048;
  font-size: 11px;
  text-align: center;
}
.sma-if-history-types > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}
.sma-if-history-types button {
  min-height: 38px;
  padding: 7px;
  border: 1px solid #c8d8d1;
  border-radius: 8px;
  background: #fff;
  color: #50615b;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.15s;
}
.sma-if-history-types button.is-active {
  border-color: #008d62;
  background: #e5f6ef;
  color: #006f4f;
  box-shadow: inset 0 0 0 1px #65b497;
}
.sma-if-point-history-fields label {
  font-size: 10px;
}
.sma-if-point-history-fields input {
  height: 42px;
  padding: 7px 8px;
  font-size: 11px;
}
.sma-if-point-history-apply {
  min-height: 44px;
  border-radius: 9px;
  font-size: 12px;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.sma-if-point-history-apply:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(0, 127, 89, 0.2);
}
.sma-if-point-history-fields > small {
  font-size: 9px;
  line-height: 1.4;
}
.sma-if-layer-feedback {
  padding: 13px 14px;
  border-radius: 12px;
}
.sma-if-points-status {
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}
.sma-if-hotspots-help {
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}
@media (max-width: 800px) {
  .sma-if-dashboard-sidebar {
    width: min(420px, 96vw);
  }
  .sma-if-map-mode {
    padding: 10px;
  }
  .sma-if-map-mode button {
    min-height: 68px;
  }
  .sma-if-map-mode button strong {
    font-size: 12px;
  }
  .sma-if-map-mode button small {
    font-size: 9px;
  }
  .sma-if-tool-drawer summary {
    min-height: 64px;
    padding: 9px 11px;
  }
  .sma-if-tool-drawer summary strong {
    font-size: 13px;
  }
  .sma-if-hotspot-categories {
    grid-template-columns: 1fr;
  }
  .sma-if-hotspot-categories .sma-if-hotspots-option {
    min-height: 58px;
  }
}

/* Alineación visual corregida (v2.13.1). */
.sma-if-sidebar-header {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
}
.sma-if-institutional-logos {
  justify-content: center;
  justify-self: center;
  width: max-content;
  max-width: calc(100% - 90px);
}
.sma-if-sidebar-close {
  position: absolute;
  top: 50%;
  right: 13px;
  margin: 0;
  transform: translateY(-50%);
}
.sma-if-map-mode button {
  grid-template-columns: minmax(0, 1fr);
  grid-auto-flow: row;
  justify-content: stretch;
  justify-items: center;
  align-content: center;
  align-items: center;
  row-gap: 7px;
  text-align: center;
}
.sma-if-map-mode button > span:first-child {
  justify-self: center;
  margin: 0;
}
.sma-if-map-mode button > span:last-child {
  display: block;
  width: 100%;
  min-width: 0;
  text-align: center;
}
.sma-if-map-mode button strong,
.sma-if-map-mode button small {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
@media (max-width: 480px) {
  .sma-if-institutional-logos {
    gap: 7px;
    max-width: calc(100% - 76px);
  }
  .sma-if-logo-coahuila {
    width: 110px;
  }
  .sma-if-logo-sma {
    width: 92px;
    height: 34px;
  }
  .sma-if-sidebar-close {
    right: 9px;
  }
  .sma-if-map-mode {
    gap: 8px;
    padding: 10px 12px;
  }
}
