.trip-stories-link {
  text-decoration: none;
}
.nav-app .nav-workspace {
  height: auto;
  min-height: 0;
  flex: 1 1 auto;
}
.map-credits {
  flex: 0 0 auto;
  min-height: 20px;
  display: none;
  align-items: center;
  justify-content: flex-end;
  padding: 2px 8px;
  background: #fff;
  border-top: 1px solid #dce3ec;
  color: #526075;
  font:
    10px/1.25 Arial,
    sans-serif;
}
.map-credits .maplibregl-ctrl-attrib {
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  font: inherit;
}
.map-credits .maplibregl-ctrl-attrib-inner {
  white-space: normal;
  text-align: right;
}
.map-credits .maplibregl-ctrl-attrib a {
  color: #0754b8;
}
.trip-share-modal[hidden],
.trip-share-link[hidden],
.trip-share-actions [hidden] {
  display: none !important;
}
.trip-share-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: grid;
  place-items: center;
  padding: 16px;
}
.trip-share-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 27, 51, 0.56);
}
.trip-share-dialog {
  position: relative;
  width: min(100%, 430px);
  padding: 22px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.24);
  color: #172033;
}
.trip-share-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}
.trip-share-heading h2 {
  margin: 3px 0 0;
  color: #083b79;
  font-size: 22px;
}
.trip-share-close {
  width: 34px;
  height: 34px;
  border: 1px solid #dce3ec;
  border-radius: 5px;
  background: #fff;
  color: #083b79;
}
.trip-share-dialog p {
  font-size: 14px;
  line-height: 1.5;
  color: #526075;
}
.trip-share-link {
  display: flex;
  gap: 6px;
  margin: 16px 0;
}
.trip-share-link input {
  flex: 1;
  min-width: 0;
  padding: 10px;
  border: 1px solid #dce3ec;
  border-radius: 5px;
  color: #172033;
  font-size: 13px;
}
.trip-share-link button {
  width: 42px;
  border: 1px solid #0754b8;
  border-radius: 5px;
  background: #eaf3ff;
  color: #0754b8;
}
.trip-share-message {
  min-height: 20px;
}
.trip-share-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.trip-share-actions button {
  min-height: 42px;
  padding: 0 14px;
}
.navigation-status {
  grid-template-columns: 52px minmax(0, 1fr) 48px 54px 48px;
}
@media (max-width: 820px) {
  .map-credits {
    font-size: 9px;
    padding: 2px 6px;
  }
  .trip-share-modal {
    align-items: end;
    padding: 0;
  }
  .trip-share-dialog {
    width: 100%;
    padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
  }
  .navigation-status {
    grid-template-columns: 42px minmax(0, 1fr) 42px 48px 42px;
    gap: 4px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .navigation-status-button {
    width: 42px;
    height: 42px;
    min-width: 0;
  }
  .navigation-steps-toggle {
    width: 48px;
    height: 48px;
  }
  .navigation-trip-summary strong {
    font-size: 22px;
  }
}
