[v-cloak] {
  display: none !important;
}

.top-nav { position: sticky; top: 0; z-index: 100; padding: 0 40px; border-bottom: 1px solid rgba(255,255,255,.09); background: rgba(10,10,10,.9); backdrop-filter: blur(12px); }
.top-nav > nav { display: flex; align-items: center; gap: 24px; min-height: 66px; max-width: 1200px; margin: auto; }
.top-nav .brand { color: #ff7a00; font: 900 20px/1 Inter,Arial,sans-serif; letter-spacing: 1px; text-decoration: none; white-space: nowrap; }
.top-nav .nav-links { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; }
.top-nav .nav-links::-webkit-scrollbar { display: none; }
.top-nav .nav-links a { color: #999; font: 600 14px/1 Inter,Arial,sans-serif; text-decoration: none; white-space: nowrap; }
.top-nav .nav-links a:hover { color: #ff7a00; }
.top-nav > nav > button { flex: 0 0 auto; }
@media (max-width: 720px) { .top-nav { padding: 0 16px; }.top-nav > nav { min-height: 100px; flex-wrap: wrap; gap: 12px; padding: 14px 0; }.top-nav .nav-links { order: 3; width: 100%; gap: 17px; }.top-nav .max { margin-left: auto; } }

.overlay {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1em;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: white;
}

main {
  overflow-x: visible !important;
}

body:has(dialog[open])::after {
  content: '';
  position: absolute;
  z-index: 1049;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  backdrop-filter: blur(10px);
}

dialog {
  z-index: 1050;
  padding: 15px;
  max-height: 80vh;
  width: 750px;
}

.tooltip {
  position: absolute;
  z-index: 1010;
}

.tooltip a {
  text-decoration: underline !important;
}

.actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.dual-pane {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  /* max-height: 100vh; */
  gap: 10px;
}

#map {
  width: 100%;
  min-width: 400px;
  height: 400px;

}

.dual-pane fieldset {
  margin-block-start: 0;
}

.field {
  margin-block-end: 0.5rem;
}

.byte-counter {
  font-size: 0.85em;
}

.console-output {
  background: #0d0d0d !important;
  color: #ccc !important;
  font-family: 'Courier New', Courier, monospace !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  padding: 0.75em !important;
  border-radius: 0.25rem !important;
  height: 400px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.console-output * {
  font-family: 'Courier New', Courier, monospace !important;
  font-size: 13px !important;
}

.console-cmd {
  color: #7cb3ff !important;
}

.console-reply {
  color: #ccc !important;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.console-error {
  color: #ff6b6b !important;
}

.console-input-line {
  display: flex !important;
  align-items: center !important;
  margin-top: 0.25em !important;
  width: 100%;
  cursor: text;
}

.console-prompt {
  color: #7cb3ff !important;
  flex-shrink: 0;
}

.console-input-line input {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  color: #7cb3ff !important;
  font-family: 'Courier New', Courier, monospace !important;
  font-size: 13px !important;
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  flex: 0 0 auto !important;
}

.console-ghost {
  color: #555 !important;
  font-family: 'Courier New', Courier, monospace !important;
  font-size: 13px !important;
  pointer-events: none;
  white-space: pre;
}

.console-input-line progress {
  flex-shrink: 0;
  margin-left: 0.5em;
}

@media (max-width: 800px) {
  .dual-pane {
    max-height: none;
  }
  .dual-pane > * {
    width: 100%;
  }
  dialog {
    width: 95%;
    max-height: 100vh;
  }
}

.leaflet-map-pane {
  cursor: crosshair
}

.leaflet-bottom {
  position: absolute !important;
}
.leaflet-control-layers-list {
  margin-block-start: 0 !important;
}
.leaflet-bottom .leaflet-control-layers {
  margin-bottom: 55px !important;
}
