@media (min-width: 769px) {
  .trip-page .trip-content-card .map-tools.desktop-golden-map-tools {
    --desktop-filter-gap: 24px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 39px;
    min-height: 39px;
    display: flex;
    grid-template-columns: none;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: var(--desktop-filter-gap);
    padding: 0 var(--desktop-filter-right-inset, 20px) 0 var(--desktop-filter-left-inset, 20px);
    border-bottom: 0;
    background: #fff;
  }

  .trip-page .trip-content-card .map-tools.desktop-golden-map-tools > .desktop-golden-map-filter-tabs {
    width: auto;
    min-width: 0;
    flex: 0 1 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    gap: var(--desktop-filter-gap);
    overflow: visible;
  }

  .trip-page .trip-content-card .desktop-golden-map-filter {
    position: relative;
    height: 38px;
    min-height: 38px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #101828;
    padding: 0;
    font-size: 18px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .trip-page .trip-content-card .desktop-golden-map-filter:hover,
  .trip-page .trip-content-card .desktop-golden-map-filter:focus-visible {
    color: var(--ink);
    outline: 0;
  }

  .trip-page .trip-content-card .desktop-golden-map-filter.active {
    color: var(--cat-tab-text, var(--blue));
    font-weight: 800;
  }

  .desktop-golden-filter-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transform: translateY(-4px);
  }

  .desktop-golden-filter-indicator {
    position: absolute;
    top: calc(100% + 3px);
    right: 0;
    left: 0;
    height: 3px;
    display: none;
    border-radius: 999px;
    background: var(--cat, var(--blue));
    pointer-events: none;
  }

  .trip-page .trip-content-card .desktop-golden-map-filter.active .desktop-golden-filter-indicator {
    display: block;
  }

  .trip-page .trip-content-card .desktop-golden-map-filter.map-favorites-modifier.active .desktop-golden-filter-indicator {
    display: none;
  }

  .trip-page .trip-content-card .desktop-golden-map-filter .map-filter-heart-icon {
    width: 22px;
    height: 22px;
  }

  .trip-page .trip-content-card .desktop-golden-map-tools > .map-today-filter {
    margin-left: auto;
    color: var(--today-color);
  }

  .trip-page .trip-content-card .desktop-golden-map-tools > .map-today-filter::before {
    position: absolute;
    inset: -3px 0;
    content: "";
  }

  .trip-page .trip-content-card .desktop-golden-map-tools > .map-today-filter .desktop-golden-filter-label {
    gap: 5px;
  }

  .trip-page .trip-content-card .desktop-golden-map-tools > .map-today-filter .today-calendar-icon {
    width: 22px;
    height: 22px;
  }

  .trip-page .trip-content-card .desktop-golden-map-tools .map-search-menu {
    align-self: center;
    flex: 0 0 auto;
    margin: 0;
  }

  .trip-page .trip-content-card .desktop-golden-map-tools .map-search-menu > summary {
    position: relative;
    width: 22px;
    min-width: 22px;
    height: 38px;
    min-height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    color: var(--blue);
  }

  .trip-page .trip-content-card .desktop-golden-map-tools .map-search-menu > summary::before {
    position: absolute;
    inset: -11px;
    content: "";
  }

  .trip-page .trip-content-card .desktop-golden-map-tools .map-search-icon {
    width: 22px;
    height: 22px;
    transform: translateY(-4px);
    stroke-width: 2.6;
  }

  @media (min-width: 1121px) {
    .trip-page .trip-content-card .map-tools.desktop-golden-map-tools {
      --desktop-filter-gap: 5px;
    }

    .trip-page .trip-content-card .desktop-golden-map-filter {
      font-size: 16px;
    }

    .trip-page .trip-content-card .desktop-golden-map-filter .map-filter-heart-icon,
    .trip-page .trip-content-card .desktop-golden-map-tools > .map-today-filter .today-calendar-icon,
    .trip-page .trip-content-card .desktop-golden-map-tools .map-search-icon {
      width: 20px;
      height: 20px;
    }

    .trip-page .trip-content-card .desktop-golden-map-tools > .map-today-filter .desktop-golden-filter-label {
      gap: 4px;
    }

    .trip-page .trip-content-card .desktop-golden-map-tools .map-search-menu > summary {
      width: 20px;
      min-width: 20px;
    }
  }

  @media (pointer: coarse) and (max-width: 1120px) {
    .trip-page .trip-content-card .map-tools.desktop-golden-map-tools {
      height: 49px;
      min-height: 49px;
    }
  }

  .map-search-panel[data-map-search-panel-layer] {
    box-sizing: border-box;
    width: min(420px, calc(100vw - 16px));
    gap: 14px;
    padding: 18px 20px;
    border: 1.5px solid #94a3b8;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .map-search-panel[data-map-search-panel-layer] .map-search-panel-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .map-search-panel[data-map-search-panel-layer] .map-search-field input {
    min-height: 52px;
    padding: 10px 48px 10px 14px;
    font-size: 17px;
  }

  .map-search-panel[data-map-search-panel-layer] .map-search-clear {
    height: 52px;
  }

  .map-search-panel[data-map-search-panel-layer] .map-search-status {
    color: #25314b;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
  }

  .trip-page {
    --desktop-trip-demarcation: #94a3b8;
    --trip-control-border-color: var(--desktop-trip-demarcation);
  }

  .trip-page .trip-page-menu-panel,
  .trip-card-menu-panel,
  .map-search-panel,
  .item-action-popover.item-action-popover-layer {
    border-color: #94a3b8;
  }
}

.trip-page .trip-content-card .saved-list > .map-tools {
  z-index: 9;
  border-bottom: 0;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .trip-page .trip-content-card .saved-list > .map-tools {
    transition: none;
  }
}
