/* Small, source-preserving UI refinements for map feedback surfaces. */
.nemap-ai-entry button.nemap-ai-launcher {
  min-height: 44px;
  padding: 8px 12px;
  font-size: 14px;
}

/* The assistant occupies the row below the toolbar (up to 116px). */
.map-area .leaflet-container > .routes-panel.routes-panel--protocols {
  top: 124px !important;
  max-height: calc(100% - 136px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.map-area .routes-panel--protocols > div {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.map-area .routes-panel--protocols > div > div:first-child {
  flex: 0 0 auto;
}

.map-area .routes-panel--protocols .proto-v-list {
  flex: 1 1 auto;
  min-height: 0;
}

@media (max-width: 600px) {
  .sidebar.closed + .map-area .leaflet-container > .routes-panel.routes-panel--protocols {
    left: 120px !important;
    margin-left: 0 !important;
    width: calc(100% - 168px) !important;
    max-width: 320px;
  }
}

.ne-news-card .ne-news-media-preview {
  display: block;
  width: min(100%, 320px);
  height: auto;
  max-height: 320px;
  object-fit: contain;
}
