:root {
  --hm-shell-bg: #090d12;
  --hm-panel-bg: rgba(10, 14, 19, 0.94);
  --hm-panel-soft: rgba(14, 18, 24, 0.92);
  --hm-border: rgba(255, 255, 255, 0.08);
  --hm-text: #eef2f6;
  --hm-muted: #96a0ad;
  --hm-accent: #c5934c;
  --hm-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
  --hm-sidebar-width: 430px;
  --hm-radius: 18px;
}

html,
body,
.hm-page-body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--hm-shell-bg);
  color: var(--hm-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hm-page-body * { box-sizing: border-box; }
.hm-page-body a { color: #6c6c6c; text-decoration: none; }
.hm-page-body button,
.hm-page-body input,
.hm-page-body select { font: inherit; }

.hm-app-shell {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background: #070b10;
}

#map.hm-map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100dvh;
  background: #10161c;
}

#map.hm-map-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 300;
  background:
    radial-gradient(circle at 18% 24%, rgba(186, 127, 52, 0.18), transparent 22%),
    radial-gradient(circle at 78% 30%, rgba(84, 105, 47, 0.14), transparent 20%),
    radial-gradient(circle at 62% 72%, rgba(128, 53, 26, 0.16), transparent 24%),
    radial-gradient(circle at center, transparent 44%, rgba(0, 0, 0, 0.4) 100%);
}

.hm-map-topbar,
.hm-map-badge {
  position: absolute;
  z-index: 900;
  border: 1px solid var(--hm-border);
  background: rgba(8, 11, 16, 0.8);
  box-shadow: var(--hm-shadow);
  backdrop-filter: blur(12px);
}

.hm-map-topbar {
  top: 18px;
  left: 18px;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 16px;
}

.hm-mobile-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--hm-border);
  border-radius: 12px;
  background: rgba(13, 17, 23, 0.9);
  color: var(--hm-text);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}
.hm-mobile-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 2px 0;
  background: currentColor;
  border-radius: 999px;
}

.hm-topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.hm-topbar-brand__mark,
.hm-brand-block__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: .04em;
  color: #11151b;
  background: linear-gradient(135deg, #efcb95, #b47c33);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
}
.hm-topbar-brand__copy,
.hm-brand-block__copy {
  display: grid;
  min-width: 0;
}
.hm-topbar-brand__copy strong,
.hm-brand-block__copy strong {
  font-size: 15px;
  line-height: 1.1;
}
.hm-topbar-brand__copy span,
.hm-brand-block__copy span {
  font-size: 12px;
  color: var(--hm-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hm-map-badge {
  padding: 11px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--hm-muted);
}
.hm-map-badge strong { color: var(--hm-text); font-size: 14px; }
.hm-map-badge__label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--hm-accent);
  margin-bottom: 3px;
}
.hm-map-badge--top-left { top: 18px; left: 438px; }
.hm-map-badge--bottom-left { left: 18px; bottom: 18px; }

.hm-sidebar {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 950;
  width: var(--hm-sidebar-width);
  display: flex;
  transform: translateX(0);
  transition: transform .28s ease;
}
.hm-sidebar.is-collapsed {
  transform: translateX(calc(-1 * var(--hm-sidebar-width) + 20px));
}

.hm-sidebar-handle-wrap {
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hm-sidebar-handle {
  width: 20px;
  height: 96px;
  border: 1px solid var(--hm-border);
  border-left: 0;
  border-radius: 0 18px 18px 0;
  background: rgba(8, 11, 16, 0.96);
  box-shadow: var(--hm-shadow);
  cursor: pointer;
}
.hm-sidebar-handle span {
  display: block;
  width: 6px;
  height: 38px;
  margin: 0 auto;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,.08));
}

.hm-sidebar-shell {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 14px 0 14px 14px;
}

.hm-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 22px 22px 0 0;
  border: 1px solid var(--hm-border);
  border-bottom: 0;
  background: rgba(12, 16, 21, 0.96);
  backdrop-filter: blur(14px);
}

.hm-round-action {
  width: 40px;
  height: 40px;
  border: 1px solid var(--hm-border);
  border-radius: 12px;
  background: rgba(13, 17, 23, 0.92);
  color: var(--hm-text);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.hm-round-action svg { width: 18px; height: 18px; }

.hm-sidebar-body {
  height: calc(100% - 73px);
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--hm-border);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  background:
    linear-gradient(180deg, rgba(13,17,23,.96), rgba(9,12,16,.98)),
    linear-gradient(90deg, rgba(197,147,76,.06), transparent 30%);
  box-shadow: var(--hm-shadow);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.18) transparent;
}
.hm-sidebar-body::-webkit-scrollbar { width: 8px; }
.hm-sidebar-body::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.16);
  border-radius: 999px;
}

.hm-panel {
  padding: 18px;
  border-radius: var(--hm-radius);
  border: 1px solid var(--hm-border);
  background: var(--hm-panel-soft);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.hm-panel + .hm-panel { margin-top: 14px; }
.hm-panel--hero {
  background:
    linear-gradient(180deg, rgba(18,22,28,.96), rgba(12,15,20,.98)),
    radial-gradient(circle at top right, rgba(197,147,76,.14), transparent 35%);
}
.hm-panel--muted { color: var(--hm-muted); }
.hm-panel h1,
.hm-panel h2 {
  margin: 0;
  line-height: 1.15;
}
.hm-panel h1 { font-size: 24px; margin-bottom: 10px; }
.hm-panel h2 { font-size: 15px; }
.hm-panel p { margin: 10px 0 0; color: var(--hm-muted); line-height: 1.55; }
.hm-eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  color: var(--hm-accent);
}
.hm-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.hm-field-grid {
  display: grid;
  gap: 14px;
}
.hm-field-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--hm-muted);
}
.hm-select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,.04);
  color: var(--hm-text);
  outline: none;
}
.hm-panel-note {
  font-size: 13px;
  color: var(--hm-muted);
}

.hm-filter-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.hm-filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  color: var(--hm-text);
  cursor: pointer;
}
.hm-filter-item input {
  width: 16px;
  height: 16px;
  accent-color: var(--hm-accent);
}
.hm-filter-item span {
  font-size: 13px;
  line-height: 1.3;
}

.hm-legend-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.hm-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.hm-legend-item img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}
.hm-legend-item span {
  font-size: 13px;
  color: var(--hm-text);
}

.hm-link-list {
  display: grid;
  gap: 10px;
}
.hm-link-list a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  transition: background .2s ease, border-color .2s ease;
}
.hm-link-list a:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(197,147,76,.35);
}

.hm-sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 940;
  background: rgba(0, 0, 0, 0.52);
}

.leaflet-top.leaflet-right {
  top: 18px;
  right: 18px;
}
.leaflet-left .leaflet-control,
.leaflet-right .leaflet-control {
  margin: 0 0 12px;
}
.leaflet-top .leaflet-control:last-child,
.leaflet-bottom .leaflet-control:last-child {
  margin-bottom: 0;
}
.leaflet-top .leaflet-control {
  margin-top: 0;
}

#lang-fab {
  left: auto;
  right: 16px;
  bottom: 72px;
  display: none;
}

@media (max-width: 991px) {
  .hm-map-topbar {
    display: flex;
  }

  .hm-map-badge--top-left {
    top: 86px;
    left: 18px;
    right: 18px;
    width: auto;
    border-radius: 16px;
  }

  .hm-map-badge--bottom-left {
    left: 18px;
    right: 18px;
    bottom: 18px;
    width: auto;
    border-radius: 16px;
  }

  .hm-sidebar {
    width: min(92vw, 404px);
    transform: translateX(-100%);
  }
  .hm-sidebar.is-open,
  .hm-sidebar.is-open.is-collapsed {
    transform: translateX(0);
  }
  .hm-sidebar.is-collapsed {
    transform: translateX(-100%);
  }
  .hm-sidebar-shell { padding-left: 0; }
  .hm-sidebar-handle-wrap { display: none; }

  .hm-filter-list,
  .hm-legend-grid {
    grid-template-columns: 1fr;
  }

  .leaflet-top.leaflet-right {
    top: 150px;
  }

  #lang-fab {
    right: 16px;
    bottom: 132px;
  }
}


.hm-sidebar-reopen {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 92px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hm-border);
  border-radius: 0 18px 18px 0;
  border-left: 0;
  background: rgba(8, 11, 16, 0.96);
  color: var(--hm-text);
  box-shadow: var(--hm-shadow);
  cursor: pointer;
  z-index: 940;
}

.hm-sidebar-reopen svg {
  width: 22px;
  height: 22px;
}

.hm-sidebar-reopen.is-visible {
  display: inline-flex;
}

.hm-sidebar.is-collapsed .hm-sidebar-handle {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .hm-sidebar-reopen {
    display: none !important;
  }
}


.hm-control-slot {
  display: grid;
  gap: 10px;
}

.hm-control-slot .map-search,
.hm-control-slot > * {
  width: 100%;
}

.hm-control-slot .map-search-input,
.hm-tool-actions button,
#sidebarFullscreenSlot .fullscreen-button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: var(--hm-text);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.hm-control-slot .map-search-input,
#sidebarFullscreenSlot .fullscreen-button {
  justify-content: space-between;
}

.hm-tool-actions {
  display: grid;
  gap: 10px;
}

.hm-tool-actions button:hover,
#sidebarFullscreenSlot .fullscreen-button:hover,
.hm-control-slot .map-search-input:hover,
.hm-control-slot .map-search-input:focus,
.hm-tool-actions button:focus,
#sidebarFullscreenSlot .fullscreen-button:focus {
  border-color: rgba(197,147,76,.38);
  background: rgba(255,255,255,.06);
}

.hm-tool-button__icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  flex: 0 0 18px;
  font-size: 16px;
  line-height: 1;
}

.hm-tool-button__label {
  flex: 1 1 auto;
  text-align: left;
}

.hm-tool-actions button[style*="display:none"] {
  display: none !important;
}


.hm-map-badge--bottom-left { display: none; }
@media (min-width: 992px) {
  .hm-map-badge--top-left { display: none; }
}

.hm-sidebar-head {
  padding: 10px 14px;
  border-radius: 20px 20px 0 0;
}

.hm-sidebar-body {
  height: calc(75% - 65px);
  padding: 12px;
}

.hm-panel {
  padding: 14px;
  border-radius: 16px;
}
.hm-panel + .hm-panel { margin-top: 12px; }
.hm-panel h1 { font-size: 19px; margin-bottom: 0; }
.hm-panel h2 { font-size: 14px; }
.hm-panel p { margin-top: 8px; line-height: 1.45; }
.hm-panel-header { margin-bottom: 10px; }
.hm-panel-header--tight { margin-bottom: 8px; }
.hm-eyebrow { margin-bottom: 6px; }

.hm-panel--summary {
  background:
    linear-gradient(180deg, rgba(18,22,28,.97), rgba(12,15,20,.98)),
    radial-gradient(circle at top right, rgba(197,147,76,.12), transparent 34%);
}

.hm-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hm-summary-chip {
  min-height: 74px;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  display: grid;
  gap: 6px;
}

.hm-summary-chip span,
.hm-field-group label {
  font-size: 11px;
  letter-spacing: .08em;
}

.hm-summary-chip span {
  text-transform: uppercase;
  color: var(--hm-muted);
}

.hm-summary-chip strong {
  color: var(--hm-text);
  font-size: 15px;
  line-height: 1.2;
}

.hm-summary-copy {
  font-size: 13px;
  color: var(--hm-muted);
}

.hm-field-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hm-field-group--span {
  grid-column: 1 / -1;
}

.hm-select,
.hm-control-slot .map-search-input,
.hm-tool-actions button,
#sidebarFullscreenSlot .fullscreen-button {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
}

.hm-control-slot { gap: 8px; }

.hm-tool-actions--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hm-tool-actions--compact button {
  min-height: 46px;
  justify-content: flex-start;
  padding: 10px 12px;
}

.hm-tool-button__label {
  font-size: 13px;
  line-height: 1.2;
}

.hm-filter-list {
  gap: 8px;
}

.hm-filter-item {
  min-height: 42px;
  padding: 0 10px;
}

.hm-filter-item span,
.hm-legend-item span,
.hm-link-list a {
  font-size: 12px;
}

.hm-legend-grid {
  gap: 8px;
}

.hm-legend-item {
  min-height: 46px;
  padding: 8px 10px;
}

.hm-legend-item img {
  width: 28px;
  height: 28px;
}

.hm-link-list--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hm-link-list--compact a {
  padding: 10px 12px;
  min-height: 44px;
  display: flex;
  align-items: center;
}

@media (max-width: 991px) {
  .hm-sidebar-body {
    height: calc(100% - 65px);
    padding: 10px;
  }

  .hm-summary-grid,
  .hm-field-grid--compact,
  .hm-tool-actions--compact,
  .hm-link-list--compact,
  .hm-filter-list,
  .hm-legend-grid {
    grid-template-columns: 1fr;
  }

  .hm-panel {
    padding: 12px;
  }

  .hm-panel h1 { font-size: 18px; }
}


.hm-sidebar-head--variant-b {
  align-items: stretch;
  gap: 12px;
}

.hm-sidebar-head--logo-layout {
  display: grid;
  grid-template-columns: 1fr;
}

.hm-sidebar-brand-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hm-brand-logo-wrap {
  min-width: 0;
  flex: 1 1 auto;
  padding: 10px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}

.hm-brand-logo {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
}

.hm-round-action--head {
  flex: 0 0 40px;
  margin-top: 4px;
}

.hm-head-map-card--full {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
}

.hm-head-tools {
  margin-left: auto;
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.hm-head-map-card {
  min-width: 144px;
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  display: grid;
  align-content: center;
  gap: 4px;
}

.hm-head-map-card__label {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hm-accent);
}

.hm-head-map-card strong {
  font-size: 14px;
  line-height: 1.2;
  color: var(--hm-text);
}

.hm-panel--variant-b-head {
  background:
    linear-gradient(180deg, rgba(18,22,28,.97), rgba(12,15,20,.98)),
    radial-gradient(circle at top right, rgba(197,147,76,.10), transparent 36%);
}

.hm-field-grid--duo {
  grid-template-columns: 1fr;
  gap: 10px;
}

.hm-accordion {
  padding: 0;
  overflow: hidden;
}

.hm-accordion__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  cursor: pointer;
}

.hm-accordion__summary::-webkit-details-marker {
  display: none;
}

.hm-accordion__summary h2 {
  margin: 0;
}

.hm-accordion__text {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--hm-muted);
}

.hm-accordion__chevron {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: var(--hm-text);
}

.hm-accordion__chevron svg {
  width: 18px;
  height: 18px;
  transition: transform .2s ease;
}

.hm-accordion[open] .hm-accordion__chevron svg {
  transform: rotate(180deg);
}

.hm-accordion__body {
  padding: 0 14px 14px;
  border-top: 1px solid rgba(255,255,255,.06);
}

@media (max-width: 991px) {
  .hm-sidebar-head--variant-b {
    align-items: stretch;
  }

  .hm-sidebar-brand-row {
    align-items: center;
  }

  .hm-brand-logo-wrap {
    padding: 10px 12px;
  }

  .hm-brand-logo {
    max-width: 232px;
  }

  .hm-head-map-card {
    min-width: 0;
  }

  .hm-field-grid--duo {
    grid-template-columns: 1fr;
  }
}


.hm-panel-title,
.hm-hero-title,
.hm-field-label {
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.hm-panel-title h2,
.hm-hero-title h1,
.hm-field-label span:last-child {
  min-width:0;
}

.hm-panel-title__icon,
.hm-field-label__icon,
.hm-link-icon {
  width:18px;
  height:18px;
  flex:0 0 18px;
  display:inline-grid;
  place-items:center;
  color:var(--hm-accent);
}

.hm-hero-title .hm-panel-title__icon {
  width:22px;
  height:22px;
  flex-basis:22px;
}

.hm-panel-title__icon svg,
.hm-field-label__icon svg,
.hm-link-icon svg {
  width:100%;
  height:100%;
  display:block;
}

.hm-field-card {
  display:grid;
  align-content:start;
  gap:8px;
}

.hm-field-grid--duo {
  align-items:stretch;
}

.hm-field-grid--duo > .hm-field-card {
  min-width:0;
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.07);
  background:rgba(255,255,255,.025);
}

.hm-field-label {
  margin:0;
  min-height:20px;
  color:var(--hm-muted);
}

.hm-field-label__icon {
  opacity:.95;
}

.hm-field-card .hm-select {
  width:100%;
  min-width:0;
  font-size:14px;
}

#map-select.hm-select,
#markerSearch.hm-select {
  text-overflow:ellipsis;
}

.hm-accordion__summary .hm-panel-title {
  flex:1 1 auto;
}

.hm-link-list--compact a {
  gap:10px;
}

.hm-link-list--compact a span:last-child {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.hm-tool-actions .hm-tool-button__icon {
  width:20px;
  height:20px;
  flex:0 0 20px;
}

.hm-tool-actions .hm-tool-button__icon svg {
  width:100%;
  height:100%;
  display:block;
}


.hm-field-grid--duo > .hm-field-card {
  width: 100%;
}

.hm-field-card .hm-select {
  min-height: 46px;
}

@media (max-width: 991px) {
  .hm-field-grid--duo > .hm-field-card {
    padding:10px;
  }
}
