.nabu-fm {
  background: #f8fbfd;
  border: 1px solid #d3e5f5;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  color: #1f2937;
  font-family: "Open Sans", Arial, sans-serif;
  margin: 24px 0;
  overflow: hidden;
}

.nabu-fm * {
  box-sizing: border-box;
}

.nabu-fm__header {
  padding: 22px 22px 16px;
}

.nabu-fm__eyebrow {
  color: #0069b3;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.nabu-fm__title {
  color: #003b6f;
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 0 0 10px;
}

.nabu-fm__intro {
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.55;
  margin: 0;
  max-width: 980px;
}


.nabu-fm__map-shell {
  margin: 0 22px 14px;
  position: relative;
}

.nabu-fm__map {
  background: #e5edf4;
  border: 1px solid #c9ddec;
  border-radius: 14px;
  min-height: 360px;
  overflow: hidden;
  width: 100%;
}

.nabu-fm__legend {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d8e6f0;
  border-radius: 999px;
  bottom: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  color: #334155;
  display: flex;
  font-size: 0.8rem;
  gap: 8px;
  left: 12px;
  padding: 6px 10px;
  position: absolute;
  z-index: 500;
}

.nabu-fm__pin-demo,
.nabu-fm-marker {
  align-items: center;
  background: #fff;
  border: 2px solid #0069b3;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.34);
  color: #0069b3;
  display: flex;
  font-size: 9px;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  letter-spacing: -0.03em;
  line-height: 1;
  width: 34px;
}

.nabu-fm__pin-demo {
  box-shadow: none;
  flex: 0 0 24px;
  font-size: 7px;
  height: 24px;
  width: 24px;
}

.nabu-fm__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 22px 18px;
}

.nabu-fm__control-group {
  background: #fff;
  border: 1px solid #d8e6f0;
  border-radius: 12px;
  color: #334155;
  flex: 1 1 220px;
  font-size: 0.86rem;
  line-height: 1.45;
  min-width: 190px;
  padding: 12px;
}

.nabu-fm__control-group strong {
  color: #003b6f;
  display: block;
  margin-bottom: 6px;
}

.nabu-fm__control-group label {
  cursor: pointer;
  display: block;
  margin-top: 4px;
}

.nabu-fm__control-group input {
  margin-right: 6px;
}

.nabu-fm__control-group--note span {
  display: block;
}

.nabu-fm__list {
  background: #fff;
  border-top: 1px solid #d3e5f5;
  padding: 18px 22px 22px;
}

.nabu-fm__list-head {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.nabu-fm__list-head h4 {
  color: #003b6f;
  font-size: 1.04rem;
  margin: 0;
}

.nabu-fm__search {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  font-size: 0.9rem;
  min-width: 260px;
  padding: 8px 13px;
}

.nabu-fm__table-wrap {
  overflow-x: auto;
}

.nabu-fm__table {
  border-collapse: collapse;
  font-size: 0.9rem;
  width: 100%;
}

.nabu-fm__table th,
.nabu-fm__table td {
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 9px;
  text-align: left;
  vertical-align: top;
}

.nabu-fm__table th {
  background: #e2effc;
  color: #003b6f;
  font-weight: 700;
}

.nabu-fm__table tbody tr {
  cursor: pointer;
}

.nabu-fm__table tbody tr:hover {
  background: #f3f8fc;
}

.nabu-fm__num {
  text-align: right !important;
  white-space: nowrap;
}

.nabu-fm-popup {
  color: #1f2937;
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.42;
  min-width: 220px;
}

.nabu-fm-popup__title {
  color: #003b6f;
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.nabu-fm-popup__meta {
  color: #334155;
  margin-bottom: 6px;
}

.nabu-fm-popup__desc {
  color: #475569;
  font-size: 0.86rem;
  margin: 8px 0;
}

.nabu-fm-popup__facts {
  border-top: 1px solid #e2e8f0;
  font-size: 0.84rem;
  margin-top: 8px;
  padding-top: 7px;
}

.nabu-fm-popup__facts div {
  display: flex;
  gap: 8px;
  justify-content: space-between;
}


@media (max-width: 680px) {
  .nabu-fm__header,
  .nabu-fm__controls,
  .nabu-fm__list {
    padding-left: 14px;
    padding-right: 14px;
  }

  .nabu-fm__map-shell {
    margin-left: 14px;
    margin-right: 14px;
  }

  .nabu-fm__map {
    min-height: 420px;
  }

  .nabu-fm__legend {
    align-items: flex-start;
    border-radius: 12px;
    bottom: 8px;
    flex-direction: column;
    gap: 4px;
    max-width: 190px;
  }

  .nabu-fm__search {
    min-width: 100%;
    width: 100%;
  }
}

.nabu-fm__reserves {
  background: linear-gradient(180deg, #ffffff 0%, #f6fbf8 100%);
  border-top: 1px solid #d3e5f5;
  padding: 20px 22px 22px;
}

.nabu-fm__reserves-head h4 {
  color: #003b6f;
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.nabu-fm__reserves-head p {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
  max-width: 980px;
}

.nabu-fm__reserve-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 16px 0;
}

.nabu-fm__reserve-stats div {
  background: #fff;
  border: 1px solid #d8e6f0;
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  padding: 14px;
}

.nabu-fm__reserve-stats strong {
  color: #0069b3;
  display: block;
  font-size: 1.25rem;
  line-height: 1.1;
  margin-bottom: 4px;
}

.nabu-fm__reserve-stats span {
  color: #475569;
  font-size: 0.84rem;
}

.nabu-fm__reserve-feature {
  align-items: flex-start;
  background: #eef7ed;
  border: 1px solid #cfe6ca;
  border-radius: 16px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(220px, 0.75fr) minmax(260px, 1.25fr);
  margin-bottom: 16px;
  padding: 16px;
}

.nabu-fm__reserve-feature h5 {
  color: #285f28;
  font-size: 1rem;
  margin: 0 0 6px;
}

.nabu-fm__reserve-feature p {
  color: #3f5f3f;
  font-size: 0.88rem;
  line-height: 1.48;
  margin: 0;
}

.nabu-fm__reserve-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nabu-fm__reserve-chips span {
  background: #fff;
  border: 1px solid #cfe6ca;
  border-radius: 999px;
  color: #244b24;
  font-size: 0.82rem;
  padding: 7px 10px;
}

.nabu-fm__reserve-chips em {
  color: #64748b;
  font-style: normal;
  margin-left: 4px;
}

.nabu-fm__reserve-details {
  background: #fff;
  border: 1px solid #d8e6f0;
  border-radius: 14px;
  overflow: hidden;
}

.nabu-fm__reserve-details summary {
  color: #003b6f;
  cursor: pointer;
  font-weight: 700;
  padding: 13px 15px;
}

.nabu-fm__reserve-grid {
  border-top: 1px solid #e2e8f0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 14px;
}

.nabu-fm__reserve-card {
  background: #fbfdff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
}

.nabu-fm__reserve-card-top {
  align-items: center;
  color: #64748b;
  display: flex;
  font-size: 0.78rem;
  justify-content: space-between;
  margin-bottom: 8px;
}

.nabu-fm__reserve-badge {
  background: #e2effc;
  border-radius: 999px;
  color: #0069b3;
  font-weight: 800;
  padding: 3px 7px;
}

.nabu-fm__reserve-card h5 {
  color: #003b6f;
  font-size: 0.92rem;
  line-height: 1.25;
  margin: 0 0 6px;
}

.nabu-fm__reserve-card p {
  color: #475569;
  font-size: 0.83rem;
  line-height: 1.38;
  margin: 0 0 8px;
}

.nabu-fm__reserve-card small {
  color: #64748b;
  font-size: 0.76rem;
}

.nabu-fm__source {
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.4;
  margin: 12px 2px 0;
}

@media (max-width: 900px) {
  .nabu-fm__reserve-stats,
  .nabu-fm__reserve-feature,
  .nabu-fm__reserve-grid {
    grid-template-columns: 1fr;
  }
}
