/* Keep map movement reachable while the other map controls are closed. */
.globe-intro .map-navigation {
  --target: 28px;
  position: absolute;
  z-index: 8;
  right: 167px;
  bottom: 28px;
  display: grid;
  gap: 4px;
  padding: 0;
  border: 0;
  background: none;
}
.globe-intro:has(#globe-panel:not([hidden])) .map-navigation { right: 222px; }
.globe-intro .map-navigation > span { display: none; }
.globe-intro .map-navigation .compass-grid { display: grid; grid-template-columns: repeat(3,var(--target)); gap: 2px; }
.globe-intro .map-navigation .zoom-buttons { display: flex; justify-content: flex-end; gap: 4px; }
.globe-intro .map-navigation button {
  display: grid;
  place-items: center;
  width: var(--target);
  min-width: var(--target);
  height: var(--target);
  min-height: var(--target);
  padding: 0;
  border: 1px solid #e2d398;
  border-radius: 50%;
  background: #12382b;
  color: white;
  font: 700 15px/1 system-ui,sans-serif;
  cursor: pointer;
}
.phone-map-actions { display: none; }
.company-logo-tile {
  box-sizing: border-box;
  width: 54px;
  height: 54px;
  min-width: 0;
  min-height: 0;
  border-radius: 50%;
}
.company-logos-large .company-logo-tile img { width: 42px!important; height: 27px!important; }
.company-logo-tile span { display: none; font-size: 9px; max-width: 48px; }
.company-logo-tile[data-brand="microsoft"] span { display: block; }
.industrial-company-label > img { pointer-events: none; }
.company-acquisition-details { margin-top: .5rem; }
.company-acquisition-details summary { cursor: pointer; }
.sale-hover-card .sale-card-close { float: right; margin: 0 0 8px 8px; min-height: 36px; }
@media (hover:none), (pointer:coarse) {
  .globe-intro .map-navigation { --target: 44px; }
  .industrial-company-label, .globe-intro .industrial-company-label { width: 36px; height: 36px; padding: 11px; }
}
@media (max-width: 700px), (max-height: 500px) and (pointer:coarse) {
  .globe-intro { height: calc(100svh - 55px); min-height: 285px; }
  .globe-intro.expanded-map { position: fixed; inset: 0; width: 100vw; height: 100dvh; min-height: 0; z-index: 5000; }
  .globe-intro .globe-title, .globe-intro[data-stage="3"] .globe-title {
    top: 10px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: 420px;
  }
  .globe-intro .globe-title h1, .globe-intro[data-stage="3"] .globe-title h1 {
    font-size: clamp(18px,5vw,24px);
    margin: 2px 0;
  }
  .globe-intro .globe-title p { font-size: 11px; }
  .globe-intro .map-navigation, .globe-intro:has(#globe-panel:not([hidden])) .map-navigation {
    --target: 44px;
    right: max(10px, env(safe-area-inset-right));
    bottom: calc(62px + env(safe-area-inset-bottom));
  }
  .globe-intro .map-navigation button { font-size: 18px; }
  .phone-map-actions {
    position: absolute;
    z-index: 12;
    bottom: calc(10px + env(safe-area-inset-bottom));
    right: max(10px, env(safe-area-inset-right));
    display: flex;
    gap: 6px;
  }
  .phone-map-actions button {
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #e2d398;
    border-radius: 6px;
    background: #12382b;
    color: white;
    font: 700 14px system-ui,sans-serif;
  }
  .phone-map-actions button[aria-expanded="true"] { background: #f0cf75; color: #12382b; }
  .globe-intro .globe-control-dock,
  .globe-intro.expanded-map .globe-control-dock,
  .globe-intro:is(:fullscreen) .globe-control-dock {
    display: none;
    position: absolute;
    z-index: 11;
    top: auto!important;
    bottom: calc(60px + env(safe-area-inset-bottom));
    right: max(10px, env(safe-area-inset-right));
    width: min(370px,calc(100% - 20px));
    max-height: min(65%,450px);
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .globe-intro[data-controls-open] .globe-control-dock { display: flex; }
  .globe-intro .globe-control-dock:has(#globe-panel:not([hidden])) .command-parcel-action { order: -12; }
  .globe-intro .globe-control-dock:has(#globe-panel:not([hidden])) .return-animation { position: static; }
  .globe-intro .globe-control-dock .command-parcel-action #globe-panel { max-height: none; overflow: visible; }
  .globe-control-dock button,.globe-control-dock a,.globe-control-dock summary { min-height: 44px!important; }
  .globe-control-dock .command-parcel-search input { min-height: 44px; font-size: 16px; }
  .globe-control-dock #globe-close { width: 44px; }
  .nevada-caption { left: 10px; bottom: 64px; max-width: calc(100% - 165px); font-size: 17px; }
  .nevada-caption span { font-size: 12px; }
  .globe-intro .topo-elevation-key { left: 8px; bottom: 155px; max-width: calc(100% - 160px); font-size: 11px; }
  .globe-intro .sales-map-key { top: 94px; bottom: auto; }
  .globe-intro .sales-map-key input { min-width: 20px; min-height: 20px; }
  .globe-intro .sale-hover-card { width: min(315px,calc(100% - 16px)); box-sizing: border-box; max-height: 48%; }
  .parcel-detail-dialog[open] { display: grid; grid-template-rows: auto minmax(0,1fr); }
  .parcel-detail-dialog { box-sizing: border-box; width: calc(100% - 12px); height: 92dvh; }
  .parcel-detail-dialog > header { padding: 7px 8px; gap: 6px; min-height: 44px; font-size: 13px; }
  .parcel-detail-dialog header > div { gap: 4px; }
  .parcel-detail-dialog button,.parcel-detail-minibar button { padding: 5px 8px; min-height: 44px; }
  .parcel-detail-dialog iframe { height: 100%; min-height: 0; }
  .tric-companies-panel { box-sizing: border-box; inset: 8px 8px max(8px,env(safe-area-inset-bottom)); width: auto; padding: 10px; overflow-wrap: anywhere; }
  .tric-companies-panel table { width: 100%; table-layout: fixed; }
  .tric-companies-panel th:first-child { width: 52%; }
  .tric-companies-panel th,.tric-companies-panel td { padding: 5px; }
  .tric-panel-close { min-height: 44px; }
  .site-command-dock { position: relative; top: auto; }
}

.globe-animation-actions {
  position: absolute;
  top: 100px;
  left: 12px;
  z-index: 8;
  display: flex;
  gap: 6px;
}
.globe-animation-actions button {
  min-height: 36px;
  padding: 4px 10px;
  border: 1px solid #e2d398;
  border-radius: 5px;
  background: #12382b;
  color: white;
  font: 700 14px system-ui,sans-serif;
  cursor: pointer;
}
.globe-animation-actions button:disabled { opacity: .55; }
@media (max-width: 700px), (max-height: 500px) and (pointer:coarse) {
  .globe-animation-actions { top: auto; bottom: calc(199px + env(safe-area-inset-bottom)); }
  .globe-animation-actions button { min-height: 44px; }
  .globe-intro .topo-elevation-key { bottom: 248px; }
}
