:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #273d31;
  font-synthesis: none;
  font-size: 14px;
  --green: #315a46;
  --paper: #f7f5ed;
  --border: #dfe4d9;
  --shadow: 0 8px 30px #293e3020;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #eceee5;
}
button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,
a,
input {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #b18543;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
[hidden] {
  display: none !important;
}
#app {
  height: 100dvh;
  min-height: 480px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 65% 20%, #f8f8f0, #e6e9df);
}
#stage,
#flat-host,
#scene-labels {
  position: absolute;
  inset: 0;
}
#stage canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}
#flat-host {
  background: #edf1e7;
}
#flat-host svg {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}
#flat-host svg.dragging {
  cursor: grabbing;
}
.topbar {
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  z-index: 10;
}
.topbar > * {
  pointer-events: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #263f31;
  margin-right: auto;
}
.brand-mark,
.loading-brand {
  font-family: Georgia, serif;
  display: grid;
  place-items: center;
  width: 46px;
  height: 48px;
  background: #2f5342;
  color: #fff;
  border-radius: 14px 14px 14px 3px;
  font-size: 39px;
  box-shadow: 0 3px 10px #2f534219;
}
.brand strong {
  display: block;
  font-size: 11px;
  letter-spacing: 1.6px;
  font-weight: 750;
}
.brand small {
  display: block;
  font-size: 11px;
  margin-top: 5px;
  color: #617064;
}
.view-switch {
  display: flex;
  gap: 3px;
  padding: 5px;
  border: 1px solid #dce1d3;
  background: #fffffff0;
  border-radius: 11px;
  box-shadow: 0 4px 12px #263b2710;
}
.view-switch button {
  padding: 10px 14px;
  border-radius: 7px;
  font-size: 12px;
  white-space: nowrap;
}
.view-switch button[aria-pressed="true"] {
  background: #315a46;
  color: white;
  box-shadow: 0 2px 5px #14372720;
}
.icon-button {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 41px;
  height: 41px;
  font-size: 25px;
}
.search-panel {
  position: absolute;
  top: 94px;
  left: 20px;
  width: 280px;
  padding: 16px;
  background: #fffffff5;
  border: 1px solid #e3e6dc;
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 10;
}
.search-panel > label {
  display: block;
  letter-spacing: 1.6px;
  font-size: 9px;
  font-weight: 750;
  color: #738075;
  margin-bottom: 9px;
}
.search-box {
  display: flex;
  align-items: center;
  border: 1px solid #d7dfd4;
  background: #f5f7f2;
  border-radius: 8px;
  padding: 0 8px;
  gap: 6px;
  height: 43px;
}
.search-box > span {
  font-size: 27px;
  line-height: 1;
  color: #55745d;
}
.search-box input {
  font: inherit;
  font-size: 12px;
  min-width: 0;
  width: 100%;
  color: #263e30;
  background: none;
  border: 0;
  padding: 10px 0;
}
.search-box input:focus {
  outline: none;
}
.search-box:focus-within {
  outline: 2px solid #7c9c82;
}
.search-box button {
  font-size: 23px;
  color: #829083;
}
#suggestions {
  border-top: 1px solid var(--border);
  margin: 9px 0 0;
  max-height: 280px;
  overflow: auto;
}
.suggestion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 6px;
  text-align: left;
  border-radius: 5px;
}
.suggestion:hover,
.suggestion[aria-selected="true"] {
  background: #eef3e9;
}
.suggestion strong {
  font-size: 16px;
}
.suggestion small {
  font-size: 11px;
  color: #7a887a;
}
.no-result {
  font-size: 12px;
  color: #697665;
  padding: 8px;
}
.quick-nav {
  display: flex;
  gap: 4px;
  margin-top: 10px;
}
.quick-nav button {
  padding: 7px 8px;
  border: 1px solid #e1e6da;
  border-radius: 7px;
  font-size: 10px;
  white-space: nowrap;
  flex: 1;
}
.quick-nav button:hover {
  background: #ecf2e7;
}
.district-toggle {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  font-size: 11px;
  padding: 13px 1px 0;
}
.district-toggle > span:last-child {
  margin-left: auto;
}
.colour-dots {
  display: flex;
}
.colour-dots i {
  height: 8px;
  width: 8px;
  border: 1px solid #fff;
  border-radius: 50%;
  margin-right: -2px;
  background: #b29051;
}
.colour-dots i:nth-child(2) {
  background: #a493af;
}
.colour-dots i:nth-child(3) {
  background: #71a6b8;
}
#district-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding-top: 12px;
  max-height: min(380px, 55vh);
  overflow: auto;
}
.district-item {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e8eade;
  border-radius: 7px;
  padding: 8px 6px;
  text-align: left;
  font-size: 11px;
}
.district-item:hover {
  background: #f2f5ed;
}
.district-item .letter {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 5px;
  background: var(--q);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.district-item small {
  margin-left: auto;
  color: #8a9286;
  font-size: 9px;
}
.detail-panel {
  position: absolute;
  top: 94px;
  right: 20px;
  width: 285px;
  max-height: calc(100% - 230px);
  overflow: auto;
  z-index: 12;
  background: #fffffff7;
  border: 1px solid #e2e6da;
  border-radius: 14px;
  padding: 21px;
  box-shadow: var(--shadow);
}
.detail-close {
  position: absolute;
  right: 10px;
  top: 8px;
  font-size: 24px;
  color: #84907f;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #7c897a;
  text-transform: uppercase;
  margin: 1px 0 10px;
}
.address {
  font-family: Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  margin: 0;
  line-height: 1.08;
  color: var(--green);
}
.detail-panel h2.poi-title {
  font-family: Georgia, serif;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 400;
  margin: 8px 0;
}
.district-name {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 9px 0 16px;
  font-size: 12px;
}
.district-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--q);
}
.detail-separator {
  height: 1px;
  background: #e7eade;
  margin: 15px 0;
}
.detail-panel p {
  font-size: 12px;
  line-height: 1.55;
}
.detail-panel h3 {
  font-size: 10px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #7e8c79;
  margin: 14px 0 8px;
}
.nearby {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  width: 100%;
  padding: 8px 0;
  font-size: 11px;
  line-height: 1.4;
}
.nearby small {
  margin-left: auto;
  color: #82907d;
  white-space: nowrap;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}
.detail-actions button,
.primary {
  padding: 10px 12px;
  background: var(--green);
  border-radius: 8px;
  font-size: 11px;
  text-align: center;
  color: white;
  text-decoration: none;
}
.detail-actions button.secondary {
  background: #edf3e8;
  color: #3d644b;
}
.note {
  font-size: 10px !important;
  color: #859080;
}
.district-homes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin: 12px 0;
}
.district-homes button {
  padding: 8px 2px;
  background: #f0f4e9;
  border-radius: 6px;
  font-size: 11px;
}
#scene-labels {
  pointer-events: none;
  z-index: 4;
  overflow: hidden;
}
.scene-label {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  pointer-events: auto;
  padding: 4px 7px;
  background: #fffffff0;
  border: 1px solid #e2e6d3;
  border-radius: 5px;
  box-shadow: 0 2px 8px #21382b15;
  line-height: 1.2;
  color: #304637;
  font-size: 10px;
  font-weight: 650;
  cursor: pointer;
}
.scene-label.district {
  border-left: 3px solid var(--q);
}
.scene-label.poi {
  font-size: 10px;
  background: #f9fcf5f2;
  padding: 3px 6px;
}
.scene-label.selected {
  background: #315a46;
  color: white;
  font-size: 13px;
  border-color: #315a46;
  padding: 6px 10px;
}
.scene-label.poi.parking {
  color: white;
  background: #426b76;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  text-align: center;
  padding: 4px;
}
.scene-label.poi.water {
  color: #285e69;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-shadow: 0 1px 3px #e0ffff;
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 21px;
  letter-spacing: 2px;
  pointer-events: none;
}
.scene-label.restriction {
  color: #984d44;
  border-color: #d7b9af;
}
.label-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-right: 5px;
  background: currentColor;
}
.map-tools {
  position: absolute;
  right: 20px;
  bottom: 107px;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 8px;
}
.tool-label {
  display: flex;
  gap: 5px;
  align-items: center;
  background: #fffffff4;
  border: 1px solid var(--border);
  box-shadow: 0 4px 10px #2b3d2910;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 10px;
}
.tool-label > span:first-child {
  font-size: 18px;
  line-height: 1;
}
.tool-label[aria-pressed="false"] {
  opacity: 0.6;
}
.zoom-tools {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--border);
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 4px 14px #2b3d2920;
}
.zoom-tools button {
  width: 39px;
  height: 37px;
  font-size: 22px;
  border-bottom: 1px solid #ecede8;
}
.zoom-tools button:last-child {
  border: 0;
}
.bottom-bar {
  position: absolute;
  bottom: 32px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
  z-index: 8;
}
.bottom-bar > * {
  pointer-events: auto;
}
.map-caption {
  background: #fffffff0;
  padding: 10px 12px;
  border: 1px solid #e4e7dd;
  border-radius: 9px;
  font-size: 10px;
  box-shadow: 0 3px 10px #20372809;
}
.live-dot {
  width: 5px;
  height: 5px;
  background: #577b4f;
  display: inline-block;
  border-radius: 50%;
  margin-right: 5px;
}
.map-caption small {
  display: block;
  font-size: 9px;
  color: #8b9387;
  margin: 5px 0 0 11px;
}
.export-tools {
  display: flex;
  gap: 5px;
  align-items: center;
}
.export-tools button {
  background: white;
  border: 1px solid var(--border);
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 3px 10px #20372809;
}
.export-tools button span {
  font-size: 10px;
  margin-left: 4px;
}
.credits {
  position: absolute;
  bottom: 9px;
  left: 22px;
  right: 22px;
  font-size: 8px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #6c7a65;
  z-index: 7;
  pointer-events: none;
}
.preview-label {
  white-space: nowrap;
}
.loading {
  position: absolute;
  inset: 0;
  background: #f1f3eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 50;
}
.loading-brand {
  width: 60px;
  height: 66px;
  font-size: 54px;
}
.loading p {
  font-family: Georgia, serif;
  font-size: 27px;
  margin: 24px 0 10px;
}
.loading small {
  color: #8a9381;
  font-size: 12px;
}
.loading-track {
  width: 190px;
  height: 3px;
  background: #dce2d3;
  margin-top: 24px;
  border-radius: 2px;
  overflow: hidden;
}
.loading-track i {
  display: block;
  height: 100%;
  width: 40%;
  background: #849b70;
  animation: loading 1.5s ease-in-out infinite;
}
@keyframes loading {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(350%);
  }
}
.toast {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 18px;
  max-width: 90%;
  border-radius: 9px;
  background: #304e3f;
  color: white;
  font-size: 12px;
  box-shadow: var(--shadow);
  z-index: 80;
  text-align: center;
}
dialog {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  max-width: min(92vw, 700px);
  max-height: 90dvh;
  color: #324632;
  background: #fffffb;
  box-shadow: 0 20px 90px #18322240;
}
dialog::backdrop {
  background: #20362650;
  backdrop-filter: blur(4px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.dialog-head h2 {
  font:
    26px Georgia,
    serif;
  margin: 0;
}
.dialog-head button {
  font-size: 27px;
  color: #7a8775;
}
dialog p {
  font-size: 12px;
  line-height: 1.7;
}
dialog a {
  color: #315a46;
}
#export-preview {
  max-height: 60vh;
  max-width: 100%;
  display: block;
  margin: 15px auto;
  border: 1px solid #e5e6df;
}
#save-image {
  display: block;
  color: white;
  font-size: 13px;
}
.source-links {
  font-size: 10px !important;
}
#about-dialog {
  max-width: 530px;
}
.print-only {
  display: none;
}
@media (max-width: 850px) {
  .brand small {
    display: none;
  }
  .brand strong {
    font-size: 10px;
    letter-spacing: 1.1px;
  }
  .brand-mark {
    width: 38px;
    height: 42px;
    font-size: 34px;
  }
  .topbar {
    left: 14px;
    right: 14px;
    top: 13px;
    gap: 6px;
  }
  .view-switch button {
    padding: 9px 10px;
    font-size: 11px;
  }
  .search-panel {
    left: 14px;
    top: 78px;
    width: 250px;
    padding: 13px;
  }
  .detail-panel {
    right: 14px;
    top: 78px;
    width: 245px;
    max-height: calc(100% - 225px);
  }
  .detail-panel .address {
    font-size: 39px;
  }
  .bottom-bar {
    left: 14px;
    right: 14px;
  }
  .map-tools {
    right: 14px;
  }
  .map-caption {
    max-width: 230px;
  }
  .export-tools button {
    padding: 10px 8px;
  }
  .export-tools #print-map span {
    display: none;
  }
}
@media (max-width: 580px) {
  .brand strong {
    font-size: 8px;
    letter-spacing: 0.8px;
    max-width: 90px;
    line-height: 1.55;
  }
  .brand {
    gap: 7px;
  }
  .brand-mark {
    width: 31px;
    height: 35px;
    font-size: 29px;
    border-radius: 10px 10px 10px 2px;
  }
  .view-switch {
    padding: 3px;
    gap: 1px;
  }
  .view-switch button {
    padding: 9px 7px;
    font-size: 10px;
  }
  .icon-button {
    width: 33px;
    height: 35px;
    font-size: 23px;
  }
  .topbar {
    gap: 5px;
    left: 10px;
    right: 10px;
  }
  .search-panel {
    top: 64px;
    left: 10px;
    width: calc(100% - 20px);
    padding: 10px 12px;
    border-radius: 12px;
  }
  .search-panel > label {
    display: none;
  }
  .search-box {
    height: 37px;
  }
  .quick-nav {
    margin-top: 8px;
  }
  .district-toggle {
    padding-top: 9px;
    font-size: 10px;
  }
  #district-list {
    max-height: 38vh;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }
  .district-item {
    padding: 6px 4px;
    font-size: 10px;
    gap: 4px;
  }
  .district-item small {
    display: none;
  }
  .detail-panel {
    top: auto;
    bottom: 83px;
    left: 10px;
    right: 58px;
    width: auto;
    max-height: 32vh;
    padding: 17px;
  }
  .detail-panel .address {
    font-size: 37px;
  }
  .detail-panel h3,
  .detail-panel .detail-separator {
    margin-top: 10px;
  }
  .map-tools {
    right: 10px;
    bottom: 104px;
    gap: 6px;
  }
  .tool-label {
    padding: 8px;
    border-radius: 8px;
  }
  .tool-label > span:last-child {
    display: none;
  }
  .zoom-tools button {
    width: 36px;
    height: 34px;
  }
  .bottom-bar {
    left: 10px;
    right: 10px;
    bottom: 30px;
    gap: 5px;
  }
  .map-caption {
    padding: 8px;
    max-width: 170px;
    font-size: 9px;
  }
  .map-caption small {
    font-size: 8px;
    max-width: 133px;
    line-height: 1.3;
    margin-left: 0;
  }
  .export-tools {
    gap: 4px;
  }
  .export-tools button {
    padding: 10px 9px;
    font-size: 15px;
  }
  .export-tools button span {
    display: none;
  }
  .credits {
    font-size: 7px;
    left: 11px;
    right: 11px;
  }
  .credits .preview-label {
    display: none;
  }
  .scene-label {
    font-size: 9px;
    padding: 3px 5px;
  }
  .scene-label.poi {
    font-size: 9px;
  }
  .scene-label.selected {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .loading-track i {
    animation: none;
  }
}
@media print {
  body {
    background: white;
  }
  #app {
    height: 100vh;
    min-height: 0;
  }
  #stage,
  #scene-labels,
  .topbar,
  .search-panel,
  .detail-panel,
  .map-tools,
  .bottom-bar,
  .loading,
  .toast {
    display: none !important;
  }
  #flat-host {
    display: block !important;
    inset: 30px 0 30px;
    background: white;
  }
  .credits {
    color: #555;
    font-size: 8px;
  }
  .print-only {
    display: block;
  }
}

.home-name {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-family: Georgia, serif;
  color: #285245;
}
.home-link {
  display: inline-block;
  margin: 6px 0;
  color: #285245;
  text-underline-offset: 3px;
  font-weight: 600;
}

/* Le trajet reste lisible indépendamment de la densité des arbres. */
.route-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;
}
.route-open {
  width: 100%;
  padding: 11px 8px;
  margin-top: 10px;
  border-radius: 8px;
  background: #315a46;
  color: white;
  font-weight: 600;
  font-size: 12px;
}
.route-panel {
  position: absolute;
  top: 94px;
  left: 20px;
  width: 290px;
  max-height: calc(100% - 195px);
  overflow: auto;
  z-index: 12;
  padding: 18px;
  background: #fffffbf7;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.route-panel h2 {
  font:
    23px Georgia,
    serif;
  margin: 5px 0 15px;
}
.route-panel summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  padding: 7px 0;
}
.route-panel label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 9px 0 5px;
}
.route-panel input:not([type="checkbox"]) {
  width: 100%;
  min-height: 42px;
  border: 1px solid #c6d5c9;
  border-radius: 7px;
  padding: 9px;
  font-size: 14px;
  color: #273d31;
  background: white;
}
.route-panel .primary {
  width: 100%;
  padding: 12px;
  margin-top: 12px;
  background: #315a46;
  border-radius: 8px;
  color: white;
}
#route-swap {
  font-size: 12px;
  padding: 8px 0;
  float: right;
}
.avoid-details {
  clear: both;
  margin-top: 9px;
}
.avoid-details p,
#route-legend {
  font-size: 11px;
  line-height: 1.45;
  color: #607361;
}
#avoid-roads {
  max-height: 170px;
  overflow: auto;
  padding: 0 4px;
}
#avoid-roads label {
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.4;
  min-height: 30px;
}
#avoid-roads input {
  accent-color: #315a46;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
#route-summary p {
  font-size: 12px;
  line-height: 1.5;
  margin: 7px 0;
}
#route-summary strong {
  display: block;
  font-size: 15px;
  margin-top: 14px;
}
.route-a,
.route-b {
  display: inline-block;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 11px;
  line-height: 21px;
  width: 21px;
  background: #286744;
  margin-right: 4px;
}
.route-b {
  background: #1156a7;
}
.route-buttons {
  display: flex;
  gap: 5px;
}
.route-buttons button,
.route-card-actions button:not(.primary) {
  border: 1px solid #c6d5c9;
  border-radius: 6px;
  padding: 9px;
  font-size: 11px;
  background: white;
}
#route-directions {
  padding-left: 21px;
  font-size: 12px;
  line-height: 1.5;
}
#route-directions li {
  margin-bottom: 9px;
}
.route-clear {
  font-size: 11px;
  text-decoration: underline;
  margin-top: 10px;
}
#route-error {
  color: #9c4031;
  font-size: 12px;
  line-height: 1.5;
}
#route-status:empty {
  display: none;
}
#route-status {
  font-size: 11px;
}
.route-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}
.route-card-actions .primary {
  width: 100%;
  padding: 11px;
  border-radius: 7px;
  background: #315a46;
  color: white;
}
.route-mode #stage,
.route-mode #scene-labels,
.route-mode #flat-host {
  left: 315px;
  right: 65px;
  top: 78px;
  bottom: 95px;
}
@media (max-width: 850px) and (min-width: 581px) {
  .route-panel {
    left: 14px;
    top: 78px;
    width: 250px;
  }
  .route-mode #stage,
  .route-mode #scene-labels,
  .route-mode #flat-host {
    left: 274px;
    right: 55px;
  }
}
@media (max-width: 580px) {
  .route-panel {
    top: 64px;
    left: 10px;
    width: calc(100% - 20px);
    max-height: 48dvh;
    padding: 12px 15px;
  }
  .route-panel h2 {
    font-size: 20px;
    margin: 0 0 5px;
  }
  .route-panel .eyebrow {
    display: none;
  }
  #route-summary p {
    margin: 3px 0;
  }
  #route-summary strong {
    margin-top: 7px;
  }
  #route-legend {
    margin: 7px 0;
  }
  .route-mode #stage,
  .route-mode #scene-labels,
  .route-mode #flat-host {
    left: 0;
    right: 52px;
    top: var(--route-top, 320px);
    bottom: 94px;
  }
  .route-open {
    padding: 8px;
    margin-top: 8px;
  }
}
@media print {
  #print-route {
    position: absolute;
    top: 0;
    left: 15px;
    right: 15px;
    font: 12px Arial;
    margin: 0;
  }
  .route-panel {
    display: none !important;
  }
  .route-mode #flat-host {
    inset: 50px 0 30px;
  }
}
#route-avoid-note {
  font-size: 11px;
  color: #91502a;
  line-height: 1.4;
}
#route-avoid-note:empty {
  display: none;
}
.route-mode #stage,
.route-mode #flat-host {
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: 580px) {
  .route-panel input:not([type="checkbox"]) {
    font-size: 16px;
  }
}
