/* Interactive OpenStreetMap route window. */
.maps-window {
  width: 1050px;
  height: 806px;
  min-width: 760px;
  min-height: 580px;
  border-radius: 12px;
}

.maps-titlebar {
  height: 48px;
  padding: 0 16px;
  gap: 14px;
  background: var(--sonoma-titlebar-surface, rgba(73, 71, 76, 0.78));
}

.maps-window.maximized .maps-titlebar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  height: 0;
  min-height: 0;
  padding: 0;
  gap: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  pointer-events: none;
}

.maps-window.maximized .maps-titlebar > .traffic-lights {
  position: absolute;
  top: calc(var(--menubar-h) + 14px);
  left: 15px;
  pointer-events: auto;
}

.maps-window.maximized .maps-window-title {
  display: none;
}

.maps-window-title {
  margin: 0;
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.15px;
}

.maps-toolbar-actions {
  height: 100%;
  display: flex;
  align-items: center;
}

.maps-info-button {
  width: 38px;
  height: 42px;
}

.maps-info-button.active {
  color: rgba(255,255,255,.96);
  background: rgba(255,255,255,.08);
}

.maps-content {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #202126;
}

.maps-live-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #063f43;
  font-family: inherit;
}

.maps-live-map .maplibregl-canvas {
  transition: filter 180ms ease;
}

.maps-live-map:hover .maplibregl-canvas {
  filter: brightness(1.09) saturate(1.04);
}

.maps-live-map .maplibregl-ctrl-bottom-left { display: none !important; }

.maps-info-panel {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 510;
  width: 238px;
  display: grid;
  gap: 6px;
  padding: 12px 13px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 10px;
  color: rgba(255,255,255,.72);
  background: rgba(55,59,61,.86);
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
  -webkit-backdrop-filter: blur(26px) saturate(130%);
  backdrop-filter: blur(26px) saturate(130%);
  font-size: 11px;
  line-height: 1.4;
}

.maps-window.maximized .maps-toolbar-actions {
  position: absolute;
  top: calc(var(--menubar-h) + 2px);
  right: 12px;
  height: 42px;
  pointer-events: auto;
}

.maps-info-panel.hidden { display: none; }
.maps-info-panel strong { color: rgba(255,255,255,.96); font-size: 12px; }
.maps-info-panel a { color: rgba(255,255,255,.88); text-underline-offset: 2px; }

/* Replace MapLibre's square compact attribution control with a Sonoma-like
   floating info button. The collapsed control is genuinely circular, so no
   part of the hidden attribution rectangle can protrude behind it. */
.maps-live-map .maplibregl-ctrl-bottom-left {
  left: 14px;
  bottom: 14px;
}

.maps-live-map .maplibregl-ctrl-bottom-left .maplibregl-ctrl {
  margin: 0;
  box-shadow: none;
}

.maps-live-map .maplibregl-ctrl-attrib.maplibregl-compact:not(.maplibregl-compact-show) {
  width: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border-radius: 50% !important;
}

.maps-live-map .maplibregl-ctrl-attrib.maplibregl-compact:not(.maplibregl-compact-show) .maplibregl-ctrl-attrib-inner {
  display: none !important;
}

.maps-live-map .maplibregl-ctrl-attrib-button {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  top: auto !important;
  bottom: 0 !important;
  z-index: 2;
  width: 28px !important;
  height: 28px !important;
  display: grid !important;
  place-items: center;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 50% !important;
  color: transparent !important;
  background: rgba(47, 54, 56, 0.88) !important;
  background-image: none !important;
  box-shadow: 0 5px 15px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.10) !important;
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}

.maps-live-map .maplibregl-ctrl-attrib-button::before {
  content: "i";
  display: block;
  color: rgba(255,255,255,.88);
  font: 600 17px/1 Georgia, serif;
  transform: translateY(-.5px);
}

.maps-live-map .maplibregl-ctrl-attrib-button:hover {
  background: rgba(73, 80, 82, 0.96) !important;
}

.maps-live-map .maplibregl-ctrl-attrib.maplibregl-compact.maplibregl-compact-show {
  position: relative;
  width: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
}

.maps-live-map .maplibregl-ctrl-attrib.maplibregl-compact.maplibregl-compact-show .maplibregl-ctrl-attrib-inner {
  position: absolute;
  left: 36px;
  bottom: 0;
  z-index: 1;
  width: 238px;
  padding: 10px 12px;
  white-space: normal;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(55, 59, 61, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
  backdrop-filter: blur(24px) saturate(125%);
  font-size: 9px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.maps-live-map .maplibregl-ctrl-attrib.maplibregl-compact.maplibregl-compact-show .maplibregl-ctrl-attrib-inner::after {
  content: "";
  position: absolute;
  left: -5px;
  bottom: 9px;
  width: 9px;
  height: 9px;
  background: rgba(55, 59, 61, 0.86);
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  transform: rotate(45deg);
}

.maps-live-map .maplibregl-ctrl-attrib a {
  color: rgba(255, 255, 255, 0.90);
  text-decoration: none;
}

.maps-live-map .maplibregl-ctrl-attrib a:hover {
  text-decoration: underline;
}

.maps-marker-icon {
  position: absolute;
  border: 0;
  background: transparent;
}

.maps-origin-marker {
  width: 34px;
  height: 34px;
}

.maps-destination-marker {
  width: 34px;
  height: 34px;
  cursor: pointer;
  transition: transform 150ms ease;
}

.maps-origin-marker::before {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: 1;
  border: 4px solid rgba(242, 248, 255, 0.94);
  border-radius: 50%;
  background: #0a84ff;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.38);
}

.maps-destination-marker::before {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: 1;
  border: 4px solid rgba(242, 248, 255, 0.94);
  border-radius: 50%;
  background: #3c8aca;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.38);
  animation: maps-exil-marker-colors 8s ease-in-out infinite;
}

.maps-origin-marker::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 50%;
  background: rgba(10, 132, 255, 0.24);
  animation: none;
  opacity: .72;
}

.maps-destination-marker::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 50%;
  background: rgba(60, 138, 202, 0.22);
  animation: maps-exil-halo-colors 8s ease-in-out infinite;
}

@keyframes maps-exil-marker-colors {
  0%, 100% { background: #3c8aca; }
  25% { background: #c25941; }
  50% { background: #fff204; }
  75% { background: #231f20; }
}

@keyframes maps-exil-halo-colors {
  0%, 100% { background: rgba(60, 138, 202, 0.22); }
  25% { background: rgba(194, 89, 65, 0.22); }
  50% { background: rgba(255, 242, 4, 0.20); }
  75% { background: rgba(35, 31, 32, 0.24); }
}

@keyframes maps-blue-marker-pulse {
  0% { opacity: 0.82; transform: scale(0.78); }
  70%, 100% { opacity: 0; transform: scale(1.28); }
}

.maps-destination-marker:hover {
  transform: scale(1.06);
}

.maps-place-popup .maplibregl-popup-content {
  min-width: 218px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.94);
  background: linear-gradient(180deg, rgb(79, 83, 85), rgb(63, 67, 69));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24), 0 1px 2px rgba(0,0,0,.16);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.maps-place-popup .maplibregl-popup-tip {
  border-top-color: rgba(63, 68, 70, .975) !important;
  border-bottom-color: rgba(63, 68, 70, .975) !important;
}

.maps-place-card {
  display: grid;
  gap: 0;
}

.maps-place-card strong {
  padding: 10px 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
}

.maps-place-card a,
.maps-place-address {
  color: rgba(255, 255, 255, 0.82);
  font-size: 11.5px;
  line-height: 1.25;
  text-decoration: none;
}

.maps-place-card a:hover,
.maps-place-address:hover {
  color: #fff;
}

.maps-place-card > a {
  width: auto;
  padding: 8px 12px 9px;
  border-top: 1px solid rgba(255,255,255,.10);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.48);
  text-underline-offset: 3px;
}

.maps-place-address {
  width: 100%;
  padding: 8px 12px;
  border: 0;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  font-family: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.maps-place-address:focus-visible {
  outline: 1px solid rgba(255,255,255,.42);
  outline-offset: -2px;
  background: rgba(255,255,255,.065);
}

.maps-place-card > :is(a, .maps-place-address):hover { background: rgba(255,255,255,.075); }

.maps-place-copy-status {
  min-height: 0;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  line-height: 1.2;
}
.maps-place-copy-status:not(:empty) { padding-top: 7px; padding-bottom: 8px; border-top: 1px solid rgba(255,255,255,.10); }

.maps-zoom-control {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 500;
  width: 70px;
  height: 32px;
  display: flex;
  overflow: hidden;
  border: 0;
  border-radius: 9px;
  background: rgba(48, 55, 57, 0.78);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  backdrop-filter: blur(20px) saturate(130%);
  transition: background 150ms ease, border-color 150ms ease;
}

.maps-zoom-control:has(button:hover) {
  background: rgba(78, 85, 87, 0.90);
}

.maps-zoom-control button {
  width: 35px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.84);
  background: transparent;
  font: 400 19px/1 -apple-system, BlinkMacSystemFont, sans-serif;
  cursor: pointer;
}

.maps-zoom-control button + button {
  border-left: 0;
}

#maps-zoom-out {
  padding: 0 0 3px;
}

#maps-zoom-in {
  padding: 0 0 1px;
}

.maps-live-map.maps-load-error::after {
  content: "OpenStreetMap konnte nicht geladen werden.";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.maps-route-panel {
  position: absolute;
  top: 16px;
  right: 16px;
  width: clamp(280px, 31.5%, 330px);
  max-height: calc(100% - 80px);
  z-index: 500;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: visible;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(65, 71, 72, 0.86);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
  backdrop-filter: blur(24px) saturate(135%);
  transition: background 160ms ease, border-color 160ms ease;
}

.maps-route-panel:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(78, 84, 85, 0.91);
}

.maps-route-panel.is-closed {
  display: none;
}

.maps-panel-toolbar {
  flex: 0 0 auto;
  height: 42px;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}

.maps-panel-close {
  position: relative;
  width: 18px;
  height: 24px;
  display: block;
  padding: 0;
  border: 0;
  color: transparent;
  background: transparent;
  font-size: 0;
  cursor: pointer;
  justify-self: start;
}

.maps-panel-close::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--traffic-size);
  height: var(--traffic-size);
  border-radius: 50%;
  background: rgba(242, 244, 244, 0.88);
  transform: translate(-50%, -50%);
}

.maps-panel-close::after {
  content: '×';
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--traffic-size);
  height: var(--traffic-size);
  color: rgba(39, 45, 47, 0.84);
  font: 700 10px/11px -apple-system, BlinkMacSystemFont, sans-serif;
  text-align: center;
  transform: translate(-50%, -50%);
}

.maps-panel-close:hover::before {
  background: rgba(255, 255, 255, 0.98);
}

.maps-mode-row {
  height: 42px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.08);
}

.maps-mode-button {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}

.maps-mode-button + .maps-mode-button {
  box-shadow: none;
}

.maps-mode-button + .maps-mode-button::before {
  content: "";
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 0;
  width: 1px;
  background: rgba(0, 0, 0, 0.20);
}

.maps-mode-button.active::before,
.maps-mode-button.active + .maps-mode-button::before {
  display: none;
}

.maps-mode-button:hover {
  background: rgba(255, 255, 255, 0.10);
}

.maps-mode-button.active {
  background: rgba(255, 255, 255, 0.26);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.maps-mode-button img {
  position: static;
  width: 24px;
  height: 24px;
  margin: auto;
  opacity: 0.72;
  filter: brightness(0) invert(1);
}

.maps-mode-button.active img {
  opacity: 1;
}

.maps-location-row {
  flex: 0 0 auto;
  min-height: 46px;
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.085);
  color: rgba(255,255,255,.92);
  font-size: 13px;
  font-weight: 600;
}

.maps-origin-control {
  position: relative;
  z-index: 20;
  flex: 0 0 auto;
}

.maps-location-suggestions {
  position: absolute;
  top: calc(100% + 3px);
  right: -1px;
  left: -1px;
  z-index: 30;
  max-height: 300px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(55, 60, 62, 0.88);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.38);
  -webkit-backdrop-filter: blur(26px) saturate(125%);
  backdrop-filter: blur(26px) saturate(125%);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.32) transparent;
  -webkit-overflow-scrolling: touch;
}

.maps-location-suggestions.hidden {
  display: none;
}

.maps-location-suggestions::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

.maps-location-suggestions::-webkit-scrollbar-track {
  background: transparent;
}

.maps-location-suggestions::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.maps-location-suggestion {
  width: 100%;
  min-height: 56px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.maps-location-suggestion:last-child {
  border-bottom: 0;
}

.maps-location-suggestion:hover,
.maps-location-suggestion:focus-visible {
  outline: 0;
  background: rgba(255, 255, 255, 0.13);
}

.maps-suggestion-icon {
  position: relative;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(220, 223, 223, 0.42);
}

.maps-suggestion-icon.current {
  background: #347ff2;
}

.maps-suggestion-icon.current::before {
  content: "";
  width: 12px;
  height: 12px;
  background: #fff;
  clip-path: polygon(0 42%, 100% 0, 59% 100%, 45% 58%);
  transform: rotate(5deg);
}

.maps-suggestion-icon.place::before {
  content: "";
  width: 12px;
  height: 14px;
  box-sizing: border-box;
  border: 2px solid currentColor;
  border-radius: 2px;
  background:
    linear-gradient(currentColor, currentColor) 2px 3px / 2px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 6px 3px / 2px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 2px 7px / 2px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 6px 7px / 2px 2px no-repeat;
}

.maps-suggestion-copy {
  min-width: 0;
}

.maps-suggestion-copy strong,
.maps-suggestion-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.maps-suggestion-copy strong {
  color: rgba(255, 255, 255, 0.93);
  font-size: 13px;
  line-height: 17px;
  font-weight: 650;
}

.maps-suggestion-copy small {
  color: rgba(255, 255, 255, 0.57);
  font-size: 11px;
  line-height: 15px;
  font-weight: 500;
}

.maps-location-row:first-of-type {
  border-radius: 8px 8px 0 0;
}

.maps-destination {
  border-bottom: 0;
  border-radius: 0 0 8px 8px;
  color: rgba(255,255,255,.48);
  background: rgba(255,255,255,.035);
  font-size: 13px;
  font-weight: 600;
  cursor: default;
}

.maps-location-row input {
  width: 100%;
  height: 42px;
  padding: 0;
  border: 0;
  outline: 0;
  border-radius: 0;
  color: #fff;
  background: transparent !important;
  caret-color: #fff;
  -webkit-appearance: none;
  appearance: none;
  -webkit-text-fill-color: #fff;
  font: 600 13px/1 inherit;
}

.maps-location-row input:focus,
.maps-location-row input:active {
  outline: 0;
  background: transparent !important;
  box-shadow: none;
}

.maps-location-row input:-webkit-autofill,
.maps-location-row input:-webkit-autofill:hover,
.maps-location-row input:-webkit-autofill:focus {
  border: 0;
  background: transparent !important;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  box-shadow: none;
  transition: background-color 9999s ease-out 0s;
}

.maps-location-row input::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.maps-location-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  transform-origin: center;
}

.maps-location-dot.start {
  position: relative;
  background: #0a84ff;
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.16);
  animation: none;
}

.maps-location-dot.start::before {
  content: none;
}

@keyframes maps-location-dot-breathe {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.16);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.10);
  }
}

.maps-location-dot.destination {
  background: #3c8aca;
  box-shadow: 0 0 0 3px rgba(255,255,255,.07);
  animation: maps-exil-color 8s ease-in-out infinite;
}

@keyframes maps-exil-color {
  0%, 100% {
    background: #3c8aca;
  }

  25% {
    background: #c25941;
  }

  50% {
    background: #fff204;
  }

  75% {
    background: #231f20;
  }
}

@media (prefers-reduced-motion: reduce) {
  .maps-origin-marker::after,
  .maps-destination-marker::before,
  .maps-destination-marker::after,
  .maps-location-dot.start,
  .maps-location-dot.destination {
    animation: none;
  }
}

.maps-guide-button {
  flex: 0 0 auto;
  width: 100%;
  height: 38px;
  margin-top: 14px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  font-size: 14px;
  font-weight: 720;
  cursor: pointer;
}

.maps-guide-button:hover {
  filter: brightness(1.08);
}

.maps-time-toggle {
  flex: 0 0 auto;
  height: 42px;
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 13px;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.11);
}

.maps-time-toggle button {
  border: 0;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.80);
  background: transparent;
  font: 700 14px/1 inherit;
  cursor: default;
}

.maps-time-toggle button.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.25);
}

.maps-schedule {
  flex: 0 0 auto;
  display: grid;
  gap: 13px;
  padding: 12px 2px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.maps-schedule.hidden {
  display: none;
}

.maps-schedule-direction,
.maps-schedule-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 18px;
}

.maps-schedule-direction button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  font: 600 13px/1 inherit;
  cursor: pointer;
}

.maps-schedule-direction button > span {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10);
}

.maps-schedule-direction button.active {
  color: rgba(255, 255, 255, 0.94);
}

.maps-schedule-direction button.active > span {
  background: var(--accent);
  box-shadow: none;
}

.maps-schedule-fields label {
  position: relative;
  min-width: 0;
  height: 20px;
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.maps-schedule-fields input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.maps-schedule-fields label > span {
  pointer-events: none;
}

.maps-calendar-icon,
.maps-clock-icon {
  position: relative;
  width: 15px;
  height: 15px;
  display: block;
  box-sizing: border-box;
  opacity: 0.70;
}

.maps-calendar-icon {
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

.maps-calendar-icon::before {
  content: "";
  position: absolute;
  top: 3px;
  right: 0;
  left: 0;
  border-top: 1.5px solid currentColor;
}

.maps-calendar-icon::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 3px;
  width: 1.5px;
  height: 4px;
  border-radius: 1px;
  background: currentColor;
  box-shadow: 6px 0 0 currentColor;
}

.maps-clock-icon {
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.maps-clock-icon::before,
.maps-clock-icon::after {
  content: "";
  position: absolute;
  border-radius: 1px;
  background: currentColor;
}

.maps-clock-icon::before {
  top: 3px;
  left: 6px;
  width: 1.5px;
  height: 4.5px;
}

.maps-clock-icon::after {
  top: 6px;
  left: 6px;
  width: 4px;
  height: 1.5px;
}

.maps-options {
  min-height: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  margin-top: 13px;
}

.maps-options.hidden {
  display: none;
}

.maps-options h3 {
  flex: 0 0 auto;
  margin: 0 0 7px 1px;
  color: var(--accent);
  font-size: 13px;
  line-height: 1;
  font-weight: 650;
}

.maps-options-list {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.34) transparent;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.08);
  -webkit-overflow-scrolling: touch;
}

.maps-options-list::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

.maps-options-list::-webkit-scrollbar-track {
  background: transparent;
}

.maps-options-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.maps-option {
  width: 100%;
  min-height: 52px;
  display: grid;
  grid-template-columns: 1fr 22px;
  align-items: center;
  padding: 7px 9px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.maps-option:last-child {
  border-bottom: 0;
}

.maps-option.active {
  color: #fff;
  background: var(--accent);
}

.maps-option strong,
.maps-option span {
  display: block;
}

.maps-option strong {
  font-size: 14px;
  line-height: 17px;
}

.maps-option span {
  color: rgba(255, 255, 255, 0.63);
  font-size: 11px;
  line-height: 14px;
}

.maps-option.active span {
  color: rgba(255, 255, 255, 0.90);
}

.maps-option small {
  color: rgba(255, 255, 255, 0.54);
  font: inherit;
}

.maps-option.active small {
  color: rgba(255, 255, 255, 0.86);
}

.maps-option-chevron {
  position: relative;
  width: 18px;
  height: 26px;
  display: block;
  justify-self: end;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
}

.maps-option-chevron::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 3px;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.maps-route-status {
  flex: 0 0 auto;
  min-height: 18px;
  margin: 10px 2px 0;
  color: rgba(255, 255, 255, 0.60);
  font-size: 11px;
  line-height: 1.35;
}

.maps-options:not(.hidden) + .maps-route-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px), (max-height: 700px) {
  .maps-window {
    width: min(1050px, calc(100vw - 32px));
    height: min(806px, calc(100vh - 78px));
  }

}
