.tfm-location-tools {
  margin: 12px 0 18px;
  padding: 16px;
  border: 1px solid #cbd8e2;
  background: #f8fafc;
  border-radius: 10px;
  color: #1c2b38;
}
.tfm-location-title {
  display: block;
  font-size: 16px;
  margin-bottom: 7px;
}
.tfm-location-intro,
.tfm-location-note {
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 12px;
}
.tfm-location-actions,
.tfm-location-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.tfm-location-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid #b7c8d7;
  border-radius: 7px;
  background: #fff;
  color: #17486e !important;
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none !important;
  cursor: pointer;
  box-sizing: border-box;
}
.tfm-location-action:hover,
.tfm-location-action:focus-visible {
  background: #eaf2f7;
  border-color: #5581a0;
  color: #10374d !important;
}
.tfm-location-action:focus-visible {
  outline: 2px solid #356b91;
  outline-offset: 2px;
}
.tfm-location-action:disabled {
  opacity: .65;
  cursor: progress;
}
.tfm-location-instructions {
  margin: 12px 0 0;
  padding: 12px;
  background: #fff;
  border-left: 3px solid #527c9b;
  border-radius: 4px;
}
.tfm-location-instructions[hidden] { display: none !important; }
.tfm-location-instructions p {
  margin: 0 0 7px;
  font-size: 14px;
  line-height: 1.6;
}
.tfm-location-status {
  min-height: 16px;
  margin: 9px 0 0;
  font-size: 14px;
}
.tfm-location-map-tip {
  margin: 9px 0 15px;
  font-size: 13px;
  color: #485c6b;
  line-height: 1.6;
}
#tfm-location-map .tfm-location-navigation {
  padding: 6px 15px 12px;
}
.tfm-location-not-set .lsingle-block-content {
  padding: 17px;
}
.tfm-location-not-set p { margin: 0 0 12px; }
@media (max-width: 650px) {
  .tfm-location-tools { padding: 12px; }
  .tfm-location-actions .tfm-location-action,
  .tfm-location-navigation .tfm-location-action {
    flex: 1 1 100%;
  }
}

/* Keep extra navigation inside the native TownHub sidebar card. */
.tfm-location-guide-card .tfm-location-navigation {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  padding: 12px 14px 16px;
}
.tfm-location-guide-card .tfm-location-action {
  width: 100%;
}
.tfm-location-guide-card .tfm-location-note {
  flex-basis: 100%;
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}
