:root {
  --gn-command-width: 152px;
  --gn-command-height: 324px;
  --gn-command-top: calc(max(8px, env(safe-area-inset-top)) + 50px);
  --gn-command-right: max(12px, env(safe-area-inset-right));
}
.gn-command {
  position: fixed;
  z-index: 11000;
  inset: var(--gn-command-top) var(--gn-command-right) auto auto;
  width: var(--gn-command-width);
  box-sizing: border-box;
  display: grid;
  grid-template-rows: repeat(9, 26px) 52px;
  gap: 3px;
  padding: 5px;
  border: 1px solid #9baaa1;
  border-radius: 8px;
  background: #10281f;
  box-shadow: 0 3px 12px #0005;
}
.gn-command > a, .gn-command button {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 0 2px;
  margin: 0;
  border: 1px solid #c5d2c9;
  border-radius: 4px;
  background: #f6faf7;
  color: #17382b;
  font: 700 12px/1.1 system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.gn-command > a:hover, .gn-command button:hover,
.gn-command button[aria-pressed="true"], .gn-command button[aria-expanded="true"] {
  background: #ffebae;
}
.gn-command > a:focus-visible, .gn-command button:focus-visible {
  outline: 2px solid #ffd66e;
  outline-offset: 1px;
}
.gn-compass {
  display: grid;
  grid-template: repeat(3, 16px) / repeat(3, 31px);
  justify-content: center;
  gap: 1px 3px;
  align-content: center;
}
.gn-compass [data-pan="north"] { grid-area: 1 / 2; }
.gn-compass [data-pan="west"] { grid-area: 2 / 1; }
.gn-compass [data-pan="center"] { grid-area: 2 / 2; }
.gn-compass [data-pan="east"] { grid-area: 2 / 3; }
.gn-compass [data-pan="south"] { grid-area: 3 / 2; }
.gn-has-command .globe-control-dock[hidden], .gn-has-command .phone-map-actions,
.gn-has-command .map-navigation, .gn-has-command .site-command-dock {
  display: none !important;
}
.gn-has-command #globe-panel[hidden] { display: none !important; }
.gn-has-command #globe-panel {
  position: fixed;
  z-index: 10999;
  inset: var(--gn-command-top) calc(var(--gn-command-width) + var(--gn-command-right) + 8px) auto auto;
  width: min(330px, calc(100vw - var(--gn-command-width) - 32px));
  max-height: calc(100vh - 30px);
  max-height: calc(100dvh - 30px);
  box-sizing: border-box;
  overflow: auto;
  background: #f7faf7;
  color: #17382b;
  border: 1px solid #a8baac;
}

.gn-has-command .gn-playback {
  position: absolute;
  z-index: 6;
  left: max(12px, env(safe-area-inset-left));
  bottom: max(12px, env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  max-width: calc(100% - 24px);
}
.gn-playback #county-tour:not([hidden]) { position: static; display: flex; align-items: center; gap: 5px; }
.gn-playback #county-tour[hidden] { display: none; }
.gn-playback #county-tour-label, .gn-playback button {
  padding: 5px 7px;
  color: #fff;
  background: #10281f;
  border: 1px solid #9baaa1;
  border-radius: 4px;
  font: 600 12px/1.2 system-ui, sans-serif;
}
.gn-playback button { cursor: pointer; min-height: 28px; }
.gn-has-command #nevada-caption {
  left: 12px;
  bottom: 48px;
  width: max-content;
  max-width: min(610px, calc(100% - 24px));
  box-sizing: border-box;
  max-height: 44%;
  overflow: auto;
  padding: 8px 11px;
  border-radius: 6px;
  background: #0c211ef2;
  font-size: clamp(17px, 2vw, 25px);
  letter-spacing: normal;
  color: #fff;
  pointer-events: auto;
}
#nevada-caption span { font-size: clamp(13px, 1.5vw, 15px); line-height: 1.4; }
#nevada-caption a { color: #f7d57a; text-decoration: underline; }
#nevada-caption ul { margin: .3em 0 0; padding-left: 1.2em; font-size: 14px; line-height: 1.4; }
.gn-sold-badge { display: inline-block; padding: 1px 5px; margin-block: 1px; border-radius: 3px; background: #9c2929; color: white; }
#world-map .gn-sold { background: #8b2222; color: #fff; border-color: #fff; }
#world-map .gn-region-companies {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  width: 232px;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #93a99c;
  background: #f7faf7;
  color: #17382b;
  text-align: center;
  font: 700 10px/1.1 system-ui, sans-serif;
  pointer-events: none;
}
.gn-region-companies span { display: grid; justify-items: center; gap: 2px; }
.gn-region-companies img { width: 40px; height: 20px; object-fit: contain; }
.gn-reading-fullscreen .simple-header { display: none; }
@media (min-width: 701px) {
  body.gn-document-page { padding-right: calc(var(--gn-command-width) + 24px); }
}
@media (max-width: 700px) {
  body.gn-document-page { padding-top: calc(var(--gn-command-top) + var(--gn-command-height) + 7px); }
  .gn-has-command #nevada-caption { max-height: 42%; }
  .gn-has-command #globe-panel {
    inset: auto 8px 8px 8px;
    width: auto;
    max-height: min(54vh, calc(100vh - var(--gn-command-height) - 8px));
    max-height: min(54dvh, calc(100dvh - var(--gn-command-height) - 8px));
  }
  #world-map .gn-region-companies { width: 156px; font-size: 9px; }
  .gn-region-companies img { width: 32px; height: 16px; }
}
@media (max-height: 360px) {
  .gn-command { max-height: calc(100vh - 16px); overflow-y: auto; }
}

.gn-map-zoom {
  position: absolute;
  z-index: 6;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(30px, env(safe-area-inset-bottom));
  display: grid;
  gap: 3px;
}
.gn-map-zoom button {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  padding: 0;
  border: 1px solid #9baaa1;
  border-radius: 4px;
  background: #f6faf7;
  color: #17382b;
  font: 700 21px/1 system-ui, sans-serif;
  cursor: pointer;
}
.gn-has-command #nevada-caption { max-width: min(610px, calc(100% - 60px)); }

.gn-utility-legend {
  position: fixed;
  z-index: 8;
  right: var(--gn-command-right);
  top: calc(var(--gn-command-top) + var(--gn-command-height) + 8px);
  width: var(--gn-command-width);
  box-sizing: border-box;
  display: grid;
  gap: 5px;
  padding: 8px 7px;
  border: 1px solid #9baaa1;
  border-radius: 6px;
  background: #10281f;
  color: #fff;
  font: 600 12px/1.3 system-ui, sans-serif;
}
.gn-utility-legend[hidden], .gn-company-hover[hidden] { display: none; }
.gn-utility-legend span { display: flex; align-items: center; gap: 5px; }
.gn-utility-legend a { color: #9afff6; }
.gn-utility-legend small { color: #d5ded8; }
.gn-utility-legend i { width: 15px; flex: 0 0 15px; border-top: 3px solid; }
.gn-utility-legend .gn-power { color: #ef8cff; }
.gn-utility-legend .gn-gas { color: #60d9a0; }
.gn-utility-legend .gn-i80 { color: #ffb340; }
.gn-utility-legend .gn-us50 { color: #58ceff; }
.gn-utility-legend .gn-fiber { color: #00e8e0; border-top-style: dashed; }
@media (max-height: 505px) {
  .gn-utility-legend { right: calc(var(--gn-command-width) + var(--gn-command-right) + 8px); top: var(--gn-command-top); }
}
#world-map .gn-company-hover {
  position: absolute;
  z-index: 1900;
  width: max-content;
  max-width: min(315px, calc(100% - 12px));
  max-height: calc(100% - 12px);
  overflow: hidden;
  box-sizing: border-box;
  pointer-events: none;
  background: #fff;
  color: #132d23;
  border: 1px solid #355d48;
  border-radius: 6px;
  padding: 7px 8px;
  box-shadow: 0 2px 12px #0005;
  text-shadow: none;
  font: 500 12px/1.25 system-ui, sans-serif;
}
.gn-company-hover strong { display: block; font-size: 13px; }
.gn-company-hover section + section { margin-top: 7px; }
.gn-company-hover section > div { margin-top: 2px; }
.globe-intro:is([data-parcel-finale], [data-parcel-focus]) :is(.gn-sales-markers, .sale-hover-card) { display: none; }
#world-map .gn-company-popup .maplibregl-popup-content,
#world-map .gn-company-popup .leaflet-popup-content-wrapper,
#world-map .gn-dodge-flat-info {
  background: #fff;
  color: #132d23;
  opacity: 1;
}
.gn-project-facts { display: grid; grid-template-columns: minmax(72px, 29%) 1fr; gap: 4px 6px; margin: 5px 0; }
.gn-project-facts dt { font-weight: 700; }
.gn-project-facts dd { margin: 0; }
#world-map .gn-company-marker.industrial-company-label { min-width: 25px; min-height: 25px; }

.globe-intro[data-tour-scene="7"] .globe-title,
.globe-intro[data-tour-scene="8"] .globe-title { display: none; }
#world-map .company-info { max-height: min(390px, 55vh); overflow-y: auto; overscroll-behavior: contain; }
#world-map .gn-company-marker:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.gn-purchase-deeds { margin: 8px 0; }
.gn-purchase-deeds ul { margin: 4px 0 0; padding-inline-start: 16px; }
.gn-purchase-deeds li { margin-block: 4px; }

#world-map .gn-route-tag { border-width: 2px; white-space: nowrap; font-weight: 750; }
#world-map .gn-route-tag[data-utility="i80"] { border-color: #ffb340; }
#world-map .gn-route-tag[data-utility="us50"] { border-color: #58ceff; }
#world-map .gn-route-tag[data-utility="fiber"] { border-color: #00bdb7; border-style: dashed; }
#world-map .gn-route-tag[data-utility="gas"] { border-color: #18905c; }
#world-map .gn-route-tag[data-utility="power"] { border-color: #ba57cf; }

#world-map .gn-company-marker[data-spotlight] {
  border-radius: 7px;
  outline: 2px solid #ffda64;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #19271f, 0 0 9px 3px #ffe48b;
}

:root { --gn-paper: #f7f2e8; --gn-navy: #142b47; }
body.gn-has-command { background-color: var(--gn-paper); }
.gn-has-command .simple-header { background: var(--gn-paper); border-bottom: 0; }
.gn-has-command .simple-header .brand, .gn-has-command .simple-header .brand span { color: var(--gn-navy); }
.gn-has-command .simple-footer { background: var(--gn-navy); color: #fff8ec; }
.gn-has-command .simple-footer a { color: #fff8ec; }
.gn-command { background: var(--gn-navy); border-color: #7f92a6; border-radius: 5px; }
.gn-command > a, .gn-command button { background: #fffaf0; color: var(--gn-navy); }
.gn-command > a:hover, .gn-command button:hover, .gn-command button[aria-pressed="true"] { background: #f2dfc0; }
.gn-has-command .gn-parcel-heading h1, .gn-has-command .about-main h1 { color: var(--gn-navy); font-family: Georgia,serif; letter-spacing: -.025em; }
.gn-has-command .gn-parcel-views button[aria-pressed="true"], .gn-has-command .gn-playback button { background: var(--gn-navy); }
#world-map .gn-sold strong { display: block; letter-spacing: .12em; font-size: 14px; margin-bottom: 1px; }
.gn-has-command #nevada-caption {
  right: auto;
  width: min(350px, calc(100% - 68px));
  max-width: none;
  max-height: 40%;
  padding: 8px 11px;
  border: 1px solid #90a2b1;
  border-radius: 4px;
  background: #142b47;
  color: #fff8ec;
  text-shadow: none;
}
#nevada-caption h2 { margin: 0; color: inherit; font: 600 clamp(18px,2.2vw,25px)/1.1 Georgia,serif; }
#nevada-caption p { margin: 4px 0 0; color: inherit; font: 500 14px/1.35 system-ui,sans-serif; }
.gn-scene-actions { display: flex; flex-wrap: wrap; gap: 3px 11px; margin-top: 5px; }
#nevada-caption .gn-scene-actions a, #nevada-caption details { font: 600 13px/1.35 system-ui,sans-serif; }
#nevada-caption details { margin-top: 5px; }
#nevada-caption details summary { cursor: pointer; }
#nevada-caption details span { max-width: none; }
@media (max-width: 700px) {
  .gn-has-command #nevada-caption { bottom: 48px; width: min(320px,calc(100% - 60px)); }
  #nevada-caption p { font-size: 13px; }
}
:root { --gn-command-height: 412px; }
.gn-command { grid-template-rows: repeat(2,26px) 42px 26px 42px repeat(6,26px) 52px; }
.gn-command > [data-action="replay"] { width: 100%; height: 100%; touch-action: manipulation; }
@media (max-width: 470px) {
  .gn-has-command #nevada-caption { bottom: 78px; }
}
#nevada-caption details summary { color: #fff8ec; }
#globe[data-tour-scene] .globe-title { display: none; }

#nevada-caption .gn-transaction-workbook {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 7px;
  padding: 6px 12px;
  border: 1px solid #fff1c2;
  border-radius: 5px;
  background: #f7d678;
  color: #142b47;
  font: 700 16px/1.2 system-ui, sans-serif;
  text-decoration: none;
}
#nevada-caption .gn-transaction-workbook:hover { background: #fff1bd; }
#nevada-caption .gn-transaction-workbook:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.gn-transaction-workbook-icon {
  flex: none;
  width: 19px;
  height: 21px;
  box-sizing: border-box;
  border: 2px solid currentColor;
  border-radius: 2px;
  background:
    linear-gradient(currentColor, currentColor) 3px 4px / 9px 1px no-repeat,
    linear-gradient(currentColor, currentColor) 3px 8px / 9px 1px no-repeat,
    linear-gradient(currentColor, currentColor) 3px 12px / 9px 1px no-repeat,
    linear-gradient(currentColor, currentColor) 7px 4px / 1px 9px no-repeat;
}
@media (max-width: 700px), (max-height: 500px) {
  .gn-has-command #globe[data-parcel-finale] #nevada-caption { max-height: 53%; }
}

.gn-command > .gn-major-sales-link {
  background: #f7d678;
  color: #142b47;
  font-size: 13px;
  min-height: 40px;
  margin-bottom: 4px;
}
.gn-command > .gn-major-sales-link:hover { background: #fff1bd; }

:root { --gn-command-height: 452px; --gn-command-width: 134px; }
.gn-command { display: block; max-height: calc(100dvh - var(--gn-command-top) - 8px); overflow: auto; }
.gn-command .gn-dock-toggle { display: none; }
.gn-command-links { display: grid; gap: 4px; }
.gn-command-links > :is(a, button) { min-height: 28px; }
.gn-command-links > a {
  display: grid;
  place-items: center;
  padding: 3px 4px;
  border: 1px solid #c5d2c9;
  border-radius: 4px;
  background: #fffaf0;
  color: #142b47;
  font: 700 12px/1.15 system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
}
.gn-command-links > a:hover { background: #f2dfc0; }
.gn-command-links > a:focus-visible { outline: 2px solid #ffd66e; outline-offset: 1px; }
.gn-command :is(.gn-page-zoom, .gn-map-zoom) {
  position: static;
  display: flex;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  gap: 3px;
}
.gn-command :is(.gn-page-zoom, .gn-map-zoom) button { flex: 1; min-width: 0; min-height: 32px; height: auto; font-size: 17px; }
.gn-command .gn-page-zoom button[data-zoom-reset] { font-size: 12px; min-width: 45px; }
@media (max-width: 700px), (max-height: 500px) and (pointer: coarse) {
  body.gn-document-page { padding-top: 0; }

  body.gn-document-page .simple-header { padding-block: 55px 12px; }
  .gn-command .gn-dock-toggle { display: grid; width: 100%; min-height: 38px; }
  .gn-command-links { display: none; margin-top: 4px; }
  .gn-command-open .gn-command-links { display: grid; }
  .gn-command-links > :is(a, button) { min-height: 39px; }
  .gn-has-command #globe-panel { max-height: min(70dvh, calc(100dvh - 80px)); }
  .gn-utility-legend { top: 68px; right: var(--gn-command-right); }
}
.gn-command > [data-action="replay"] {
  min-height: 38px;
  margin-bottom: 4px;
  background: #f7d678;
  color: #142b47;
}
.gn-command > [data-action="replay"]:hover { background: #fff1bd; }

.gn-has-command #globe[data-parcel-finale] #nevada-caption {
  bottom: clamp(112px, 20%, 164px);
}
@media (max-width: 700px), (max-height: 500px) and (pointer: coarse) {
  .gn-has-command #globe[data-parcel-finale] #nevada-caption {
    bottom: 96px;
    max-height: 36%;
  }
}

/* Keep the Bay Area summary above the satellite map's parcel and city labels. */
.gn-has-command #globe:is([data-tour-scene="3"], [data-overview="true"]:not([data-overview-scope])) #nevada-caption {
  top: max(14px, env(safe-area-inset-top));
  bottom: auto;
  width: min(325px, calc(100% - 68px));
  max-height: 35%;
}
.gn-has-command #globe[data-overview="true"]:not([data-overview-scope]) #nevada-caption {
  top: max(90px, calc(env(safe-area-inset-top) + 76px));
}
#nevada-caption { cursor: grab; }
#nevada-caption h2 { touch-action: none; }
#nevada-caption a { cursor: pointer; }
