:root {
        font-family:
          system-ui,
          -apple-system,
          sans-serif;
        color: #172434;
      }
      * {
        box-sizing: border-box;
      }
      body {
        margin: 0;
        background: #ffffff;
      }
      .shell {
        max-width: 1350px;
        margin: auto;
        padding: 18px;
      }
      h1 {
        font-size: 1.5rem;
        margin: 0 0 12px;
      }
      .topbar {
        display: flex;
        align-items: center;
        gap: 14px;
        flex-wrap: wrap;
      }
      .search,
      .actions {
        display: flex;
        gap: 8px;
        align-items: center;
        flex-wrap: wrap;
      }
      .search {
        flex: 1 1 310px;
      }
      .search input {
        flex: 1 1 190px;
        min-width: 0;
        max-width: 40vw;
        padding: 12px;
        font: inherit;
        border: 1px solid #aab6c3;
        border-radius: 8px;
      }
      .search button {
        max-width: 40vw;
      }
      button,
      select {
        font: inherit;
        padding: 10px;
        border: 1px solid #9daebb;
        border-radius: 8px;
        background: white;
        cursor: pointer;
      }
      button.primary {
        background: #f29c23;
        color: #fff;
        border-color: #f29c23;
      }
      button:disabled {
        opacity: 0.55;
        cursor: wait;
      }
      .actions {
        flex: 1 1 430px;
        /* border: 2px solid orange;
        border-radius: 5px;
        padding: 2px; */
      }
      .actions label {
        display: flex;
        align-items: center;
        gap: 6px;
      }
      .actions a,
      .google-maps-link {
        padding: 10px;
        border: 1px solid #f29c23;
        border-radius: 8px;
        color: #f29c23;
        text-decoration: none;
        background: white;
      }
      .google-maps-link {
        text-align: center;
      }
      @media only screen and (min-width: 700px) {
        /* Styles */
        #google-maps-link_mobile {
          display: none;
        }
        #google-maps-link_desktop {
          display: inline-block;
        }
      }
      @media only screen and (max-width: 700px) {
        /* Styles */
        #google-maps-link_mobile {
          display: inline-block;
        }
        #google-maps-link_desktop {
          display: none;
        }
      }

      .actions a:hover {
        text-decoration: underline;
      }
      .selection {
        font-size: 0.9rem;
        color: #f29c23;
        margin: 10px 0 2px;
      }
      .legend {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        margin: 8px 0 12px;
        font-size: 0.85rem;
      }
      .legend span {
        display: flex;
        align-items: center;
        gap: 6px;
      }
      .dot {
        display: inline-grid;
        place-items: center;
        border-radius: 50%;
        width: 23px;
        height: 23px;
        color: white;
        font-size: 13px;
        font-weight: bold;
      }
      .layout {
        display: grid;
        grid-template-columns: minmax(260px, 350px) 1fr;
        gap: 12px;
        height: min(72vh, 740px);
        min-height: 480px;
      }
      .results {
        max-height: 500px;
        overflow: auto;
        background: white;
        border: 1px solid #d6dfe8;
        border-radius: 10px;
        padding: 12px;
        max-width: 100vw;
      }

      .results h2 {
        font-size: 1.05rem;
        margin: 0;
      }
      .item {
        width: 100%;
        text-align: left;
        display: block;
        margin: 6px 0;
        padding: 11px;
        border: 1px solid #dbe3ec;
        border-radius: 8px;
      }
      .item.active {
        border: 2px solid #c57e1b;
      }
      .item small {
        display: block;
        color: #536477;
        margin-top: 4px;
      }
      #map {
        min-height: 360px;
        border-radius: 10px;
      }
      #status {
        min-height: 1.5em;
        margin: 10px 0;
        color: #ad352b;
        text-align: right;
      }
      #status.ok {
        color: #245e38;
      }
      .note {
        font-size: 0.85rem;
        color: #526274;
      }
      @media (max-width: 730px) {
        .layout {
          display: flex;
          flex-direction: column;
          height: auto;
        }
        .results {
          max-height: 280px;
        }
        #map {
          height: 430px;
        }
        .actions {
          flex-basis: 100%;
        }
      }