/* src/style.css */
:root {
  --bg: #15171a;
  --panel: #1e2125;
  --line: #3a3f45;
  --text: #e4e6e8;
  --muted: #8b9198;
  --accent: #f2b33d;
  --error: #ff6b6b;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #000;
  color: var(--text);
  font: 14px/1.4 system-ui, sans-serif;
}
#map {
  position: fixed;
  inset: 0;
}
.leaflet-container {
  background: #000;
}
.panel {
  position: fixed;
  z-index: 1100;
  top: 12px;
  right: 12px;
  width: 300px;
  max-width: calc(100vw - 16px);
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 6px 24px rgb(0 0 0 / 0.5);
}
.panelbar {
  display: flex;
  align-items: stretch;
  gap: 2px;
  padding: 0 8px 0 4px;
  cursor: grab;
  touch-action: none;
  user-select: none;
  border-bottom: 1px solid var(--line);
}
.panelbar:active {
  cursor: grabbing;
}
.panel.collapsed .panelbar {
  border-bottom: 0;
}
.panel.collapsed .panelbody {
  display: none;
}
.grip {
  color: var(--muted);
  padding: 0 4px;
  align-self: center;
  font-size: 16px;
}
.panelbar [role=tab] {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 8px 8px 6px;
  color: var(--muted);
  font-weight: 600;
}
.panelbar [role=tab]:hover {
  color: var(--text);
}
.panelbar [role=tab][aria-selected=true] {
  color: var(--text);
  border-bottom-color: var(--accent);
}
[role=tabpanel][hidden] {
  display: none;
}
.panelbody {
  overflow-y: auto;
  min-height: 0;
}
.section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--muted);
}
label.check {
  flex-direction: row;
  align-items: center;
  gap: 6px;
  color: var(--text);
}
label.inline {
  flex-direction: row;
  align-items: center;
  gap: 6px;
}
label.inline input {
  width: 4em;
}
input,
select,
button {
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 4px 6px;
}
button {
  cursor: pointer;
}
button:hover {
  border-color: var(--accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
input:invalid {
  border-color: var(--error);
}
.row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.row > * {
  flex: 1;
}
.row.spread {
  justify-content: space-between;
}
.row.spread button {
  flex: none;
}
.meta {
  color: var(--muted);
  margin: 0;
}
#waypoints {
  margin: 0;
  padding-left: 2.2em;
  font-variant-numeric: tabular-nums;
  max-height: 240px;
  overflow-y: auto;
}
#waypoints li {
  padding: 1px 0;
}
#waypoints li.gen {
  color: var(--muted);
}
#waypoints li button,
#triplegs li button {
  padding: 0 6px;
  margin-left: 6px;
}
#stats {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#stats[hidden] {
  display: none;
}
#profile {
  width: 100%;
  height: 80px;
  background: var(--bg);
  border-radius: 4px;
}
#profile .z {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.warn {
  color: var(--error);
  margin: 0;
}
.warn:empty {
  display: none;
}
#knownbox summary,
#gatherbox summary {
  cursor: pointer;
  color: var(--muted);
}
#known,
#gathertypes {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  max-height: 200px;
  overflow-y: auto;
}
#known li,
#gathertypes li {
  display: flex;
  align-items: center;
  gap: 6px;
}
#known label,
#gathertypes label {
  flex-direction: row;
  color: var(--text);
}
#known .cont {
  color: var(--muted);
  margin-top: 4px;
}
#triplegs {
  margin: 0;
  padding-left: 1.6em;
}
#triplegs:empty,
#tripsum:empty {
  display: none;
}
#triplegs .approx {
  color: var(--muted);
}
#reflist {
  margin: 0;
  padding: 0;
  list-style: none;
}
#reflist:empty {
  display: none;
}
#reflist li {
  display: flex;
  align-items: center;
  gap: 6px;
}
#reflist .swatch {
  width: 14px;
  height: 4px;
  flex: none;
}
#reflist li span:nth-child(2) {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
#reflist li button {
  padding: 0 6px;
}
#goto select {
  flex: none;
}
#goto input {
  flex: 1;
  min-width: 0;
}
#goto button {
  flex: none;
}
.banner,
.toast {
  position: fixed;
  z-index: 1100;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  max-width: calc(100vw - 32px);
  padding: 6px 14px;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.5);
}
.banner {
  top: 12px;
  background: var(--accent);
  color: #000;
  font-weight: 600;
}
.toast {
  top: 52px;
  background: var(--panel);
  border: 1px solid var(--line);
  cursor: pointer;
}
.toast.error {
  color: var(--error);
  border-color: var(--error);
}
.banner[hidden],
.toast[hidden] {
  display: none;
}
.cursor {
  position: fixed;
  z-index: 1100;
  left: 8px;
  bottom: 8px;
  margin: 0;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgb(21 23 26 / 0.8);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.cursor:empty {
  display: none;
}
.wp {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #000;
}
.wp.first {
  background: #6ee36e;
}
.wp.gen {
  width: 8px;
  height: 8px;
  border-width: 1px;
  opacity: 0.85;
}
@media (max-width: 640px) {
  .panel {
    top: auto !important;
    left: 0 !important;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: none;
    max-height: 50vh !important;
    border-radius: 8px 8px 0 0;
  }
  .panelbar {
    cursor: default;
  }
  .cursor {
    bottom: auto;
    top: 8px;
    left: 56px;
  }
}
/*# sourceMappingURL=style-L2DHYEGW.css.map */
