*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  overflow: hidden;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 13px;
  color: #111827;
  background: #eef2f6;
  -webkit-font-smoothing: antialiased;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

[hidden] {
  display: none !important;
}

.app-layout {
  display: flex;
  height: calc(100vh - 44px);
  height: calc(100dvh - 44px);
  overflow: hidden;
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
}
.tag--link {
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
}
.tag--link:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}
.tag--link:active {
  opacity: 1;
  transform: translateY(0);
}

.tabs-nav {
  display: flex;
  align-items: stretch;
  height: 44px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 0 16px;
  position: relative;
  z-index: 10;
}
.tabs-nav__tab {
  position: relative;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s;
}
.tabs-nav__tab::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: #111827;
  opacity: 0;
  transition: opacity 0.15s;
}
.tabs-nav__tab:hover {
  color: #111827;
}
.tabs-nav__tab--active {
  color: #111827;
  font-weight: 500;
}
.tabs-nav__tab--active::after {
  opacity: 1;
}
.tabs-nav__tab[data-tab=corridors].tabs-nav__tab--active::after {
  background: #8b2fbe;
}
.tabs-nav__tab[data-tab=resources].tabs-nav__tab--active::after {
  background: #00bfa5;
}

@media (max-width: 768px) {
  .tabs-nav {
    padding: 0 4px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tabs-nav::-webkit-scrollbar {
    display: none;
  }
  .tabs-nav__tab {
    padding: 0 12px;
    font-size: 13px;
    flex-shrink: 0;
  }
  .tabs-nav__tab::after {
    left: 12px;
    right: 12px;
  }
}
.sidebar {
  width: 320px;
}
@media (max-width: 768px) {
  .sidebar {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
}
@media (max-width: 768px) {
  .sidebar--open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    z-index: 60;
  }
}
.sidebar__close {
  display: none;
}
@media (max-width: 768px) {
  .sidebar__close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    color: #9ca3af;
    border-radius: 6px;
    flex-shrink: 0;
    transition: color 0.1s, background 0.1s;
  }
  .sidebar__close svg {
    width: 14px;
    height: 14px;
  }
  .sidebar__close:hover {
    color: #111827;
    background: #eef2f6;
  }
}
.sidebar {
  flex-shrink: 0;
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sidebar__header {
  padding: 16px 14px 12px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}
.sidebar__label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #9ca3af;
  margin-bottom: 4px;
}
.sidebar__title {
  font-size: 12px;
  font-weight: 500;
  color: #111827;
  line-height: 1.4;
}
.sidebar__content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}
.sidebar__section-title {
  padding: 10px 14px 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #9ca3af;
  text-transform: uppercase;
}
.sidebar__org-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.1s;
}
.sidebar__org-item:hover {
  background: #eef2f6;
}
.sidebar__org-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.sidebar__org-abbr {
  flex-shrink: 0;
  width: 85px;
  font-size: 11px;
  font-weight: 600;
  color: #111827;
  transition: color 0.1s;
}
.sidebar__org-name {
  flex: 1;
  font-size: 11px;
  color: #6b7280;
  line-height: 1.3;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sidebar__org-count {
  flex-shrink: 0;
  font-size: 11px;
  color: #9ca3af;
}
.sidebar__corridor-item {
  padding: 10px 14px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background 0.1s;
}
.sidebar__corridor-item:hover {
  background: #eef2f6;
}
.sidebar__corridor-item--active {
  background: #f3f0ff;
}
.sidebar__corridor-name {
  font-size: 12px;
  font-weight: 500;
  color: #111827;
  margin-bottom: 2px;
}
.sidebar__corridor-meta {
  font-size: 11px;
  color: #6b7280;
}
.sidebar__resource-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background 0.1s;
}
.sidebar__resource-item:hover {
  background: #eef2f6;
}
.sidebar__resource-item--active {
  background: #00bfa5;
  border-left-color: transparent;
}
.sidebar__resource-item--active .sidebar__resource-name {
  font-weight: 600;
  color: #ffffff;
}
.sidebar__resource-item--active .sidebar__resource-count {
  color: #ffffff;
}
.sidebar__resource-name {
  font-size: 12px;
  color: #111827;
}
.sidebar__resource-count {
  font-size: 11px;
  color: #9ca3af;
}

.sidebar-toggle {
  display: none;
}
@media (max-width: 768px) {
  .sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 30;
    width: 36px;
    height: 36px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.1s;
  }
  .sidebar-toggle svg {
    width: 16px;
    height: 16px;
    color: #6b7280;
  }
  .sidebar-toggle:hover {
    background: #eef2f6;
  }
}

.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 50;
}
@media (max-width: 768px) {
  .sidebar-backdrop--visible {
    display: block;
  }
}

.overview-card {
  padding: 14px;
  border-bottom: 1px solid #e5e7eb;
}
.overview-card:last-child {
  border-bottom: none;
}
.overview-card__title {
  font-size: 12px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 3px;
}
.overview-card__meta {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.4;
  margin-bottom: 10px;
}
.overview-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  color: #111827;
  padding: 5px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.1s, border-color 0.1s;
}
.overview-card__btn svg {
  width: 12px;
  height: 12px;
}
.overview-card__btn:hover {
  background: #eef2f6;
  border-color: #d1d5db;
}

.map-wrap {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #eef2f6;
}

#map {
  position: absolute;
  inset: 0;
  background: #d0dce8;
  z-index: 1;
}

.leaflet-container {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: #d0dce8;
}

.leaflet-control-zoom {
  border: 1px solid #e5e7eb !important;
  border-radius: 6px !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden;
}
.leaflet-control-zoom a {
  background: #ffffff !important;
  color: #6b7280 !important;
  border-color: #e5e7eb !important;
  font-size: 16px !important;
  line-height: 26px !important;
  width: 28px !important;
  height: 28px !important;
}
.leaflet-control-zoom a:hover {
  background: #eef2f6 !important;
  color: #111827 !important;
}

.leaflet-control-attribution {
  display: none;
}

.resource-icon {
  width: 8px;
  height: 8px;
  background: #c2956a;
  transform: rotate(45deg);
  border-radius: 1px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.country-label {
  background: transparent;
  border: none;
  box-shadow: none;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: #555;
  white-space: nowrap;
  pointer-events: none;
}

.country-panel {
  width: 265px;
  flex-shrink: 0;
  background: #ffffff;
  border-left: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 5;
  position: relative;
}
.country-panel__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  border-radius: 4px;
  transition: color 0.1s, background 0.1s;
}
.country-panel__close svg {
  width: 14px;
  height: 14px;
}
.country-panel__close:hover {
  color: #111827;
  background: #eef2f6;
}
.country-panel__meta-label {
  padding: 16px 16px 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #9ca3af;
}
.country-panel__name {
  padding: 0 16px 12px;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
}
.country-panel__counts {
  display: flex;
  gap: 16px;
  padding: 0 16px 14px;
  border-bottom: 1px solid #e5e7eb;
}
.country-panel__count {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.country-panel__count-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #9ca3af;
}
.country-panel__count-value {
  font-size: 22px;
  font-weight: 600;
  color: #111827;
  line-height: 1;
}
.country-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 0 0 16px;
}
.country-panel__section {
  padding: 14px 16px 4px;
}
.country-panel__section-title {
  font-size: 12px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 10px;
}
.country-panel__org-group {
  margin-bottom: 12px;
}
.country-panel__org-type-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #9ca3af;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.country-panel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.country-panel__corridor {
  margin-bottom: 8px;
  padding: 8px 10px;
  background: #eef2f6;
  border-radius: 6px;
  border-left: 3px solid #8b5cf6;
}
.country-panel__corridor--link {
  cursor: pointer;
  transition: background 0.12s, transform 0.1s;
}
.country-panel__corridor--link:hover {
  background: #e2e8f0;
  transform: translateX(2px);
}
.country-panel__corridor--link:active {
  transform: translateX(0);
}
.country-panel__corridor-name {
  font-size: 12px;
  font-weight: 500;
  color: #8b5cf6;
  margin-bottom: 2px;
}
.country-panel__corridor-route {
  font-size: 11px;
  color: #6b7280;
}
.country-panel__resource-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.country-panel__handle {
  display: none;
}

@media (max-width: 768px) {
  .country-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 70vh;
    border-left: none;
    border-top: 1px solid #e5e7eb;
    border-radius: 14px 14px 0 0;
    z-index: 40;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  }
  .country-panel--open {
    transform: translateY(0);
  }
  .country-panel__handle {
    display: block;
    width: 36px;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    margin: 10px auto 2px;
    flex-shrink: 0;
  }
  .country-panel__body {
    -webkit-overflow-scrolling: touch;
  }
}
.search {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 20;
  width: 300px;
}
.search__box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 0 10px;
  height: 36px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.search__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.search__input {
  flex: 1;
  border: none;
  outline: none;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 12px;
  color: #111827;
  background: transparent;
}
.search__input::placeholder {
  color: #9ca3af;
}
.search__kbd {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 10px;
  color: #9ca3af;
  background: #eef2f6;
  border: 1px solid #e5e7eb;
  border-radius: 3px;
  padding: 1px 5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.search__dropdown {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: 4px;
  overflow: hidden;
  max-height: 320px;
  overflow-y: auto;
}
.search__result {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.1s;
}
.search__result:hover {
  background: #eef2f6;
}
.search__result-badge {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #6b7280;
  background: #eef2f6;
  border: 1px solid #e5e7eb;
  border-radius: 3px;
  padding: 2px 5px;
  margin-top: 1px;
}
.search__result-info {
  flex: 1;
  min-width: 0;
}
.search__result-name {
  font-size: 12px;
  font-weight: 500;
  color: #111827;
}
.search__result-abbr {
  font-size: 11px;
  color: #9ca3af;
  margin-left: 6px;
}
.search__result-type {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1px;
}
.search__empty {
  padding: 16px 12px;
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
}

@media (max-width: 768px) {
  .search {
    left: 58px;
    right: 12px;
    width: auto;
  }
  .search__kbd {
    display: none;
  }
}
.stats-bar {
  position: absolute;
  bottom: 20px;
  left: 30px;
  z-index: 15;
  display: flex;
  gap: 16px;
  font-size: 11px;
  color: #6b7280;
  pointer-events: none;
}
.stats-bar strong {
  font-weight: 600;
  color: #111827;
}

@media (max-width: 768px) {
  .stats-bar {
    left: 16px;
    bottom: 12px;
    gap: 10px;
  }
}
.info-card {
  position: absolute;
  bottom: 48px;
  left: 30px;
  z-index: 15;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 16px;
  min-width: 180px;
  max-width: 260px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.info-card__type {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 3px;
}
.info-card__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 3px;
}
.info-card__detail {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.5;
}
.info-card__read-more {
  color: #3b82f6;
}

@media (max-width: 768px) {
  .info-card {
    left: 16px;
    right: 16px;
    max-width: none;
    bottom: 16px;
  }
}
.hover-tooltip {
  position: absolute;
  z-index: 25;
  background: #1a1a1a;
  color: #ffffff;
  border-radius: 8px;
  padding: 14px 16px;
  min-width: 200px;
  max-width: 260px;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, calc(-100% - 12px));
}
.hover-tooltip--visible {
  pointer-events: auto;
}
.hover-tooltip__country {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}
.hover-tooltip__section {
  margin-bottom: 8px;
}
.hover-tooltip__label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-bottom: 4px;
}
.hover-tooltip__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.hover-tooltip__tags .tag {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.hover-tooltip__cta {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 0;
  font-size: 11px;
  color: #9ca3af;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  pointer-events: auto;
}
.hover-tooltip__cta:hover {
  color: #ffffff;
}

/*# sourceMappingURL=main.css.map */
