*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*
! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

.container {
  width: 100%;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.mx-12 {
  margin-left: 12px;
  margin-right: 12px;
}

.my-auto {
  margin-top: auto;
  margin-bottom: auto;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-8 {
  margin-bottom: 8px;
}

.ml-24 {
  margin-left: 24px;
}

.ml-4 {
  margin-left: 4px;
}

.ml-auto {
  margin-left: auto;
}

.mr-12 {
  margin-right: 12px;
}

.mr-4 {
  margin-right: 4px;
}

.mr-auto {
  margin-right: auto;
}

.mt-8 {
  margin-top: 8px;
}

.mt-auto {
  margin-top: auto;
}

.inline-block {
  display: inline-block;
}

.flex {
  display: flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.h-20 {
  height: 20px;
}

.h-24 {
  height: 24px;
}

.h-full {
  height: 100%;
}

.w-20 {
  width: 20px;
}

.w-24 {
  width: 24px;
}

.w-\[100\%\] {
  width: 100%;
}

.w-full {
  width: 100%;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.flex-row {
  flex-direction: row;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.items-baseline {
  align-items: baseline;
}

.justify-between {
  justify-content: space-between;
}

.gap-12 {
  gap: 12px;
}

.gap-4 {
  gap: 4px;
}

.gap-8 {
  gap: 8px;
}

.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-r {
  border-right-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-\[\#000\] {
  --tw-border-opacity: 1;
  border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));
}

.border-gray-400 {
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
}

.p-4 {
  padding: 4px;
}

.p-8 {
  padding: 8px;
}

.px-12 {
  padding-left: 12px;
  padding-right: 12px;
}

.px-8 {
  padding-left: 8px;
  padding-right: 8px;
}

.py-4 {
  padding-top: 4px;
  padding-bottom: 4px;
}

.py-8 {
  padding-top: 8px;
  padding-bottom: 8px;
}

.pb-12 {
  padding-bottom: 12px;
}

.text-justify {
  text-align: justify;
}

.text-end {
  text-align: end;
}

.text-base {
  font-size: 16px;
  line-height: 24px;
}

.text-lg {
  font-size: 20px;
  line-height: 28px;
}

.text-md {
  font-size: 14px;
  line-height: 18px;
}

.text-sm {
  font-size: 12px;
  line-height: 16px;
}

.text-xl {
  font-size: 24px;
  line-height: 32px;
}

.font-\[300\] {
  font-weight: 300;
}

.font-\[400\] {
  font-weight: 400;
}

.font-light {
  font-weight: 300;
}

.font-medium {
  font-weight: 500;
}

.text-\[\#00000091\] {
  color: #00000091;
}

.opacity-0 {
  opacity: 0;
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

@font-face {
  font-family: "Hanken Grotesk";

  src: url("../fonts/HankenGrotesk-VariableFont_wght.ttf") format("truetype");
}

:root {
  --baseW: rgba(255, 255, 255, 0.9);
  --hgHover: rgba(86, 84, 83, 0.138);
  --hgSelected: rgba(2, 2, 2, 0.163);
  --boxShadow: 0 0 10px rgba(0, 0, 0, 0.1);
  --boxBorderR: 8px;
}

html {
  overflow: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Hanken Grotesk", sans-serif;
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  /* optional, to prevent horizontal scroll */
  max-width: 100vw;
}

#map {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  z-index: 1;
}

#sidebar {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 340px;
  display: grid;
  grid-template-rows: min-content 1fr;
  gap: 12px;
}

#title-bar {
  background: var(--baseW);
  border-radius: var(--boxBorderR);
  box-shadow: var(--boxShadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  z-index: 2;
}

#menu-button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 40px;
  height: 40px;
  border-radius: var(--boxBorderR);
  transition: background-color 0.2s;
}

#menu-button:hover {
  background-color: var(--hgHover);
}

#menu-button.active {
  background-color: var(--hgSelected);
}

#menu-button div {
  width: 20px;
  height: 2px;
  background-color: #333;
  margin: 2px 0;
  transition: all 0.3s;
  display: block;
}

.custom-searchbar {
  position: relative;
  width: 100%;
}

.custom-searchbar input {
  width: 100%;
  border-radius: 0.5rem;
  border-width: 1px;
  font-size: 14px;
  line-height: 18px;
  padding: 8px 35px 8px 8px;
}

.custom-searchbar input:focus {
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
  outline: none;
}

.custom-searchbar input.error {
  border-color: #dc2626;
  animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shake {
  10%,
  90% {
    transform: translateX(-1px);
  }

  20%,
  80% {
    transform: translateX(2px);
  }

  30%,
  50%,
  70% {
    transform: translateX(-4px);
  }

  40%,
  60% {
    transform: translateX(4px);
  }
}

.custom-searchbar button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}

#searchpopup {
  border-radius: var(--boxBorderR);
  box-shadow: var(--boxShadow);
  background: var(--baseW);
  position: absolute;
  left: 340px;
  margin-left: 8px;
  color: rgba(255, 58, 58, 0.9);
  width: 80px;
  transform: translateX(-20%);
  opacity: 0;
  transition: all 2s ease;
  pointer-events: none;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 8px;
  padding-right: 8px;
  font-size: 12px;
  line-height: 16px;
}

#searchpopup.error {
  transform: translateX(0);
  opacity: 1;
  transition: all 0.1s ease-in-out;
}

#theme-menu {
  background: var(--baseW);
  border-radius: var(--boxBorderR);
  box-shadow: var(--boxShadow);
  flex-direction: column;
  transform: translateX(-120%);
  transition: transform 0.3s ease-in-out;
  pointer-events: none;
  z-index: 2;
  display: grid;
  grid-template-rows: min-content 1fr min-content;
  max-height: calc(100vh - 140px);
  height: -moz-fit-content;
  height: fit-content;
}

#theme-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  transition: transform 0.3s ease-in-out;
  z-index: 2;
}

#theme-menu [class*="-option"] {
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
}

.theme-menu-section.map {
  min-height: 0;
  display: grid;
  grid-template-rows: min-content 1fr;
}

.theme-menu-section.map menu {
  min-height: 0;
  height: auto;
  overflow-y: scroll;
  &::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 6px;
  }
  &::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.5);
  }
}

.theme-menu-section h3 {
  border-top-width: 1px;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 20px;
  line-height: 28px;
}

.menu-section-title {
  margin-left: 12px;
  margin-right: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 14px;
  line-height: 18px;
  color: #00000091;
}

.theme-option {
  margin-left: 24px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 4px;
  padding-bottom: 4px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
}

.theme-option.sub {
  padding-top: 4px;
  padding-bottom: 4px;
  font-size: 14px;
  line-height: 18px;
}

.base-option {
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 8px;
  padding-bottom: 4px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 300;
}

.base-option:hover {
  background: var(--hgHover);
  opacity: 0.8;
}

.base-option.active {
  background: var(--hgSelected);
  border: 1px solid #00000091 !important;
}

#theme-menu [class*="-option"]:hover {
  background: var(--hgHover);
  border-radius: var(--boxBorderR);
}

#theme-menu [class*="-option"].active {
  background: var(--hgSelected);
  border-radius: var(--boxBorderR);
}

.option-icon {
  display: inline-block;
  height: 20px;
  width: 20px;
  border-radius: 0.25rem;
  --tw-bg-opacity: 1;
  background-color: rgb(253 224 71 / var(--tw-bg-opacity, 1));
}

.hoverinfo {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--boxBorderR);
  font-size: 13px;
  font-weight: 400;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
  white-space: nowrap;
  width: -moz-fit-content;
  width: fit-content;
  align-items: center;
}

.maplibregl-popup {
  max-width: none !important;
}

.maplibregl-popup-content {
  background: rgba(0, 0, 0, 0.7);
  color: var(--baseW);
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 3px;
  box-shadow: none;
}

#info-panel {
  width: 380px;
  background: var(--baseW);
  box-shadow: var(--boxShadow);
  border-radius: var(--boxBorderR);
  transform: translateX(calc(100% + 30px));
  transition: transform 0.3s ease;
  position: absolute;
  right: 10px;
  top: 109px;
  overflow: hidden;
  z-index: 1;
}

#info-panel.active {
  transform: translateX(0);
}

/* Only new styles needed for carousel */

.carousel-container {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 600px;
}

.carousel-wrapper {
  flex: 1;
  display: flex;
  transition: transform 0.3s ease;
}

.carousel-page {
  min-width: 380px;
  width: 380px;
  max-height: 475px;
}

.carousel-page.scroll {
  overflow-y: scroll;
  &::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 6px;
  }
  &::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.5);
  }
}

.pagination {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  color: rgba(0, 0, 0, 0.57);
  font-size: 14px;
}

.close-button {
  width: 60px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: background-color 0.2s;
  border-radius: var(--boxBorderR);
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-button:hover {
  background-color: var(--hgHover);
}

.pagination-arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: rgba(0, 0, 0, 0.57);
  transition: background-color 0.2s;
  border-radius: var(--boxBorderR);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-arrow:hover {
  background-color: var(--hgHover);
}

.pagination-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pagination-arrow svg {
  width: 16px;
  height: 16px;
}

#toggleRuler,
#rulerResetButton {
  border-radius: var(--boxBorderR);
}

#toggleRuler:hover,
#rulerResetButton:hover {
  background-color: var(--hgHover);
}

#toggleRuler.active,
#rulerResetButton:active {
  background-color: var(--hgSelected);
}

#rulerResetButton.show {
  opacity: 1;
}

#rulerinfo {
  background: rgba(255, 255, 255, 0.9);
  border-top-left-radius: var(--boxBorderR);
  border-top-right-radius: var(--boxBorderR);
}

#rulerinfo.active {
  width: 100%;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
  gap: 12px;
}

#rulervalue {
  display: grid;
  grid-template-columns: 1fr auto;
}

.rulerhint {
  height: 100%;
  white-space: normal;
  border-left-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
  padding: 8px;
  text-align: right;
  font-size: 12px;
  line-height: 16px;
  color: #00000091;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.row-top {
  display: grid;
  grid-template-areas:
    "parcelID parcelID planning"
    "area area area"
    "usage usage usage";
  grid-template-rows: repeat(3, min-content);
  height: -moz-min-content;
  height: min-content;
}

.parcel-id {
  border-right-width: 1px;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.planning,
.area,
.usage {
  display: flex;
  flex-direction: column;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.cell-label {
  font-size: 12px;
  line-height: 16px;
  color: #00000091;
}

.cell-value {
  text-align: end;
  font-size: 20px;
  line-height: 28px;
}

.inner-table {
  margin-left: 8px;
  margin-right: 8px;
  margin-top: 12px;
  margin-bottom: 12px;
  border-left-width: 1px;
  border-right-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
  height: -moz-min-content;
  height: min-content;
  display: grid;
  grid-template-rows: repeat(7, min-content);
}

.kb,
.bar,
.far,
.capacity,
.density {
  display: flex;
  align-items: center;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
}

.left-label {
  display: flex;
  width: 140px;
  flex-shrink: 0;
  flex-direction: column;
  gap: 4px;
  border-right-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
  padding: 8px;
}

.left-label p:nth-child(1) {
  font-size: 12px;
  line-height: 16px;
  color: #00000091;
}

.left-label p:nth-child(2) {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: #00000091;
}

.right-value {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: flex-start;
  padding-left: 8px;
  padding-right: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.res-com {
  font-size: 12px;
  line-height: 16px;
  color: #00000091;
}

.capacity,
.density,
.res-com {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: -moz-min-content;
  height: min-content;
}

#legend {
  position: absolute;
  bottom: 46px;
  right: 10px;
  background: var(--baseW);
  box-shadow: var(--boxShadow);
  border-radius: var(--boxBorderR);
  background-color: var(--baseW);
  overflow: hidden;
  width: auto;
  pointer-events: none;
  z-index: 0;
}

#legend.active {
  pointer-events: auto;
  z-index: 2;
}

.legend-wrapper {
  display: grid;
  grid-template-columns: 240px 120px;
}

.legend-left {
  border-right-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.item {
  display: flex;
  gap: 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
}

.legend-right {
  padding: 12px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 300;
  color: #00000091;
  display: grid;
  background-color: rgba(201, 198, 196, 0.5);
}

.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: "Hanken Grotesk", sans-serif;
}

.login-container {
  background: rgba(255, 255, 255, 0.8);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-header h1 {
  font-size: 24px;
  color: #232221;
  margin-bottom: 8px;
}

.login-header p {
  color: rgba(0, 0, 0, 0.57);
  font-size: 14px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.form-group label {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.57);
}

.password-container {
  position: relative;
  display: flex;
  align-items: center;
}

.form-group input {
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.3);
}

.toggle-password {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.5);
  padding: 0;
  display: flex;
  align-items: center;
}

.toggle-password:hover {
  color: rgba(0, 0, 0, 0.8);
}

.login-button {
  background-color: #232221;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 12px;
}

.login-button:hover {
  background-color: #000000;
}

.logout-button {
  position: fixed;
  top: 10px;
  right: 50px;
  background: white;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 14px;
  color: #232221;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s;
  z-index: 2;
}

.logout-button:hover {
  background-color: var(--hgHover);
}

.logout-icon {
  width: 16px;
  height: 16px;
}

.parcel-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.parcel-image {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parcel-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.parcel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.parcel-name {
  font-size: 18px;
  color: #232221;
}

.parcel-link {
  font-size: 14px;
  color: #00000091;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: auto;
}

.parcel-description {
  font-size: 14px;
  color: #00000091;
  line-height: 1.6;
  text-align: justify;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 14px;
}

td {
  padding: 12px 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

td:first-child {
  width: 200px;
  color: #232221;
  text-align: left;
}

td:last-child {
  text-align: right;
  color: rgba(0, 0, 0, 0.57);
}

.distance-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 768px) {
  :root {
    transform: scale(0.5);
    transform-origin: top left;
    width: 200%;
    /* Compensate for scale (1/0.6 = ~166.66%) */
    height: 200%;
  }

  body {
    overflow: hidden;
    touch-action: none;
    /* Prevents all touch scrolling */
    -webkit-overflow-scrolling: none;
  }
}