/* finesse · register=h5 · morph=A-app-shell · A=navy+cool-slate · B=system-750/400
 * C=full-height map+foot dock · D=geographic-density · E=Nanchang directory
 * SOUL=6 SPECTACLE=2 DENSITY=7 */
#root :is(.gr-map-entry, .gr-map-browser) {
  --gr-map-paper: #fcfdff;
  --gr-map-ink: #162c4b;
  --gr-map-secondary: #505f75;
  --gr-map-brand: #254f91;
  --gr-map-border: #dce5ef;
  --gr-map-tint: #e9effa;
  --gr-map-shadow: 0 2px 10px rgb(25 46 78 / 13%);
  --gr-map-low: rgb(22 180 219 / 40%);
  --gr-map-medium: rgb(255 208 66 / 52%);
  --gr-map-warm: rgb(245 124 45 / 58%);
  --gr-map-high: rgb(230 30 100 / 65%);
  color: var(--gr-map-ink);
}

#root .gr-map-entry {
  --gr-map-banner-rpx: calc(min(100vw, var(--gr-pro-shell-width, 430px)) / 750);
  margin: 12px 16px 0;
  padding: calc(16 * var(--gr-map-banner-rpx));
  border-radius: calc(16 * var(--gr-map-banner-rpx));
  background: #fff;
  color: #222;
}

#root .gr-map-entry-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 39%;
  background: url("../local-brand/assets/mine-reference-map-banner.png") right center / auto 100% no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 16%);
  pointer-events: none;
}

#root .gr-map-entry-open {
  position: relative;
  isolation: isolate;
  display: flex;
  width: 100%;
  min-height: calc(132 * var(--gr-map-banner-rpx));
  align-items: center;
  gap: calc(13 * var(--gr-map-banner-rpx));
  overflow: hidden;
  border: 0;
  border-radius: calc(14 * var(--gr-map-banner-rpx));
  padding: 0 calc(14 * var(--gr-map-banner-rpx));
  background: linear-gradient(90deg, #eaf7ff, #f2f7fb);
  color: inherit;
  text-align: start;
  text-decoration: none;
}

#root :is(.gr-map-business-icon, .gr-map-roster-entry-icon) {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 11px;
  background: var(--gr-map-tint);
  color: var(--gr-map-brand);
}

#root .gr-map-entry-icon {
  width: calc(64 * var(--gr-map-banner-rpx));
  flex: none;
}

#root .gr-map-entry-icon img {
  display: block;
  width: 100%;
  height: auto;
  mask-image: radial-gradient(ellipse at center, #000 55%, transparent 100%);
}

#root :is(.gr-map-roster-copy, .gr-map-business-copy) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

#root .gr-map-entry-label {
  display: grid;
  min-width: 0;
  gap: calc(3 * var(--gr-map-banner-rpx));
  line-height: 1.35;
}

#root .gr-map-entry-label strong {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: max(0.875rem, calc(28 * var(--gr-map-banner-rpx)));
  font-weight: 650;
}

#root .gr-map-entry-arrow svg { display: block; width: 12px; height: 12px; }
#root .gr-map-entry-label small { color: #4d6070; font-size: max(0.75rem, calc(23 * var(--gr-map-banner-rpx))); }

#root .gr-map-browser {
  --gr-map-paper: #fffcf7;
  --gr-map-ink: #2b2625;
  --gr-map-secondary: #665c59;
  --gr-map-brand: #a4272d;
  --gr-map-border: rgb(89 61 49 / 16%);
  --gr-map-tint: #f7eae4;
  --gr-map-shadow: 0 2px 8px rgb(61 48 32 / 12%);
  --gr-map-glass: rgb(255 252 247 / 95%);
  display: grid;
  height: 100vh;
  height: 100dvh;
  min-height: 360px;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 0;
  background: #f5f0e8 !important;
}

#root .gr-map-browser.gr-amap-page:is([data-view="map"], [data-view="place"]) {
  --gr-map-ink: #172f52;
  --gr-map-brand: #23569c;
  --gr-map-secondary: #435774;
  --gr-map-border: #d5e0ee;
  --gr-map-tint: #e8f0fb;
  --gr-map-shadow: 0 3px 10px rgb(30 59 95 / 15%);
}

#root .gr-map-appbar {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: calc(48px + env(safe-area-inset-top, 0px));
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  padding: env(safe-area-inset-top, 0px) max(8px, env(safe-area-inset-right, 0px)) 0 max(8px, env(safe-area-inset-left, 0px));
  border-bottom: 1px solid var(--gr-map-border);
  background: var(--gr-map-glass);
}

#root .gr-map-appbar h1 {
  margin: 0;
  color: var(--gr-map-ink);
  overflow-wrap: anywhere;
  font-size: 1.0625rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
}

#root .gr-map-appbar button {
  display: flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  justify-self: start;
  gap: 4px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--gr-map-brand);
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}

#root .gr-map-appbar .gr-map-view-switch { justify-self: end; }

#root .gr-map-browser[data-view="map"] .gr-map-appbar h1 {
  font-size: 1.125rem;
  font-weight: 750;
}

#root .gr-map-browser[data-view="map"] .gr-map-appbar button {
  color: var(--gr-map-brand);
}

#root .gr-map-workspace {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  isolation: isolate;
}

#root .gr-map-browser-stage {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #eef0e9;
}

#root .gr-map-browser[data-view="list"] .gr-map-browser-stage { visibility: hidden; }

#root .gr-map-browser .gr-map-browser-stage > .gr-amap-surface {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
}

#root .gr-map-overlays {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
  padding: 10px max(10px, env(safe-area-inset-right, 0px)) 0 max(10px, env(safe-area-inset-left, 0px));
  pointer-events: none;
}

#root .gr-map-open-amap,
#root .gr-map-scopes {
  display: flex;
  align-items: center;
  border: 1px solid var(--gr-map-border);
  border-radius: 999px;
  background: var(--gr-map-glass);
  box-shadow: var(--gr-map-shadow);
}

#root .gr-map-open-amap {
  min-height: 44px;
  gap: 4px;
  padding-inline: 10px;
  color: var(--gr-map-brand);
  font-size: 0.8125rem;
  font-weight: 700;
  pointer-events: auto;
  white-space: nowrap;
}

#root .gr-map-scopes {
  gap: 1px;
  padding: 2px;
}

#root .gr-map-scopes button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--gr-map-secondary);
  font-size: 0.8125rem;
  font-weight: 700;
  pointer-events: auto;
  white-space: nowrap;
}

#root .gr-map-scopes button[aria-pressed="true"] {
  background: var(--gr-map-brand);
  color: #fff;
}

#root .gr-map-scopes button[aria-pressed="true"]:focus-visible {
  outline-color: #fff;
  outline-offset: -4px;
}

#root .gr-map-tools {
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: 8px max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px));
  pointer-events: none;
}

#root .gr-map-browser[data-view="list"] .gr-map-tools { padding-block-end: 10px; }

#root .gr-map-browser-search {
  display: grid;
  min-width: 0;
  min-height: 46px;
  grid-template-columns: 19px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding-inline: 13px 5px;
  border: 1px solid var(--gr-map-border);
  border-radius: 999px;
  background: var(--gr-map-glass);
  box-shadow: var(--gr-map-shadow);
  color: var(--gr-map-secondary);
  pointer-events: auto;
}

#root .gr-map-browser-search input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gr-map-ink);
  font-size: 1rem;
}

#root .gr-map-browser-search input::placeholder { color: var(--gr-map-secondary); }
#root .gr-map-browser-search input::-webkit-search-cancel-button { display: none; }

#root .gr-map-search-actions {
  display: flex;
  min-width: 0;
  align-items: center;
}

#root .gr-map-browser-search button,
#root .gr-map-company-controls button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--gr-map-brand);
}

#root .gr-map-browser-search .gr-map-search-submit {
  width: auto;
  min-width: 48px;
  padding-inline: 7px;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}

#root .gr-map-filters {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

#root .gr-map-filter {
  position: relative;
  display: grid;
  min-width: 0;
  max-width: 50%;
  color: var(--gr-map-ink);
  pointer-events: auto;
}

#root .gr-map-filter select {
  appearance: none;
  width: 100%;
  min-height: 44px;
  padding: 0 30px 0 13px;
  overflow: hidden;
  border: 1px solid var(--gr-map-border);
  border-radius: 999px;
  background: var(--gr-map-glass);
  box-shadow: var(--gr-map-shadow);
  color: inherit;
  font-size: 0.8125rem;
  font-weight: 650;
  text-overflow: ellipsis;
}

#root .gr-map-filter svg {
  position: absolute;
  inset: 50% 9px auto auto;
  transform: translateY(-50%);
  pointer-events: none;
}

#root .gr-map-directory-entry,
#root .gr-map-directory-action {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--gr-map-border);
  border-radius: 999px;
  background: var(--gr-map-glass);
  color: var(--gr-map-brand);
  font-size: 0.8125rem;
  font-weight: 700;
}

#root .gr-map-directory-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: var(--gr-map-shadow);
  pointer-events: auto;
}

#root .gr-map-directory-action {
  display: block;
  margin: 8px auto;
}

#root .gr-map-directory-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: start;
  gap: 9px;
  padding: 12px 10px;
  color: var(--gr-map-ink);
  text-decoration: none;
}

#root .gr-map-directory-row .gr-map-business-icon { width: 42px; height: 42px; }
#root .gr-map-directory-row .gr-map-roster-copy { overflow-wrap: anywhere; }
#root .gr-map-directory-row .gr-map-directory-location { margin-top: 2px; font-weight: 600; }
#root .gr-map-directory-row > svg { align-self: center; color: var(--gr-map-brand); }
#root .gr-map-directory-row:focus-visible { outline-offset: -2px; }

#root .gr-map-browser :is(.gr-map-directory-entry, .gr-map-directory-action, .gr-map-directory-row):active {
  background: var(--gr-map-tint);
}

@media (hover: hover) {
  #root .gr-map-browser :is(.gr-map-directory-entry, .gr-map-directory-action, .gr-map-directory-row):hover {
    background: var(--gr-map-tint);
  }
}

#root .gr-map-browser .gr-amap-controls {
  position: absolute;
  z-index: 7;
  inset: auto max(10px, env(safe-area-inset-right, 0px)) 29px auto;
  display: flex;
  gap: 6px;
  align-items: center;
}

#root .gr-map-browser .gr-amap-zoom,
#root .gr-map-browser .gr-amap-recenter {
  position: static;
  display: flex;
  overflow: hidden;
  border: 1px solid var(--gr-map-border);
  border-radius: 999px;
  background: var(--gr-map-glass);
  box-shadow: var(--gr-map-shadow);
  color: var(--gr-map-ink);
}

#root .gr-map-browser .gr-amap-zoom button { color: var(--gr-map-ink); }

#root .gr-map-browser .gr-amap-zoom button + button {
  border-top: 0;
  border-inline-start: 1px solid var(--gr-map-border);
}

#root .gr-map-browser .gr-amap-recenter {
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--gr-map-brand);
}

#root .gr-map-browser[data-view="map"] .gr-amap-recenter { border-radius: 14px; }

#root .gr-map-browser .gr-amap-surface > .gr-amap-legend {
  position: absolute;
  z-index: 6;
  inset: auto auto 29px max(10px, env(safe-area-inset-left, 0px));
  gap: 1px;
  padding: 5px 7px;
  border: 1px solid var(--gr-map-border);
  border-radius: 9px;
  background: var(--gr-map-paper);
  box-shadow: var(--gr-map-shadow);
  color: #203452;
  pointer-events: none;
}

#root .gr-map-browser .gr-amap-legend ul { gap: 3px 5px; font-variant-numeric: tabular-nums; }
#root .gr-map-browser .gr-amap-legend li { gap: 2px; }
#root .gr-map-browser .gr-amap-swatch { width: 7px; height: 7px; border-radius: 50%; }
#root .gr-map-browser .gr-amap-swatch.warm { background: var(--gr-map-warm); }

#root .gr-map-browser .gr-amap-status-note {
  position: absolute;
  z-index: 6;
  inset: auto auto 82px 10px;
  display: flex;
  max-width: calc(100% - 20px);
  flex-wrap: wrap;
  gap: 2px 8px;
  align-items: center;
  margin: 0;
  padding: 5px 7px;
  border-radius: 8px;
  background: var(--gr-map-paper);
  box-shadow: var(--gr-map-shadow);
  color: var(--gr-map-secondary);
  font-size: 0.75rem;
  pointer-events: none;
}

#root .gr-map-browser .gr-amap-status-note button {
  display: inline-grid;
  min-height: 44px;
  place-items: center;
  padding: 0 6px;
  border: 0;
  background: transparent;
  color: var(--gr-map-brand);
  text-decoration: underline;
  pointer-events: auto;
}

#root .gr-map-roster {
  min-width: 0;
  min-height: 0;
  padding: 2px 12px max(18px, env(safe-area-inset-bottom, 0px));
  overflow: auto;
  overscroll-behavior: contain;
}

#root .gr-map-roster-heading {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 5px 2px 13px;
}

#root .gr-map-roster-heading h2 { margin: 0; font-size: 1.25rem; font-weight: 750; line-height: 1.3; }
#root .gr-map-roster-heading p,
#root .gr-map-roster-heading > span { margin: 3px 0 0; color: var(--gr-map-secondary); font-size: 0.8125rem; }
#root .gr-map-roster-heading > span { flex: none; font-variant-numeric: tabular-nums; }

#root .gr-map-roster-rows {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--gr-map-border);
  border-radius: 15px;
  background: var(--gr-map-paper);
  list-style: none;
}

#root .gr-map-roster-rows li + li { border-top: 1px solid var(--gr-map-border); }

#root .gr-map-roster-rows button {
  display: grid;
  width: 100%;
  min-height: 68px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: var(--gr-map-ink);
  text-align: start;
}

#root .gr-map-roster-rows button > .gr-map-business-icon { width: 42px; height: 42px; }

#root :is(.gr-map-roster-copy, .gr-map-business-copy) strong {
  overflow-wrap: anywhere;
  font-size: 0.9375rem;
  font-weight: 750;
  line-height: 1.37;
}

#root :is(.gr-map-roster-copy, .gr-map-business-copy) > :is(span, small) {
  color: var(--gr-map-secondary);
  font-size: 0.75rem;
  line-height: 1.35;
}

#root :is(.gr-map-roster-copy, .gr-map-business-copy) > small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#root .gr-map-roster-distance {
  display: grid;
  justify-items: end;
  gap: 4px;
  color: var(--gr-map-brand);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

#root .gr-map-roster-empty {
  padding: 26px 14px;
  border: 1px solid var(--gr-map-border);
  border-radius: 15px;
  background: var(--gr-map-paper);
  color: var(--gr-map-secondary);
  text-align: center;
  font-size: 0.875rem;
}

#root .gr-map-roster-empty button {
  min-height: 44px;
  margin-top: 8px;
  padding-inline: 12px;
  color: var(--gr-map-brand);
}

#root .gr-map-data-note {
  margin: 8px 2px 0;
  color: var(--gr-map-secondary);
  font-size: 0.8125rem;
  line-height: 1.55;
}

#root .gr-map-data-note summary {
  min-height: 44px;
  padding-block: 11px;
  color: var(--gr-map-brand);
  cursor: pointer;
}

#root .gr-map-data-note p { margin: 0 0 8px; }

#root .gr-map-footer {
  z-index: 2;
  min-width: 0;
  margin-block-start: -5px;
  padding: 0 max(10px, env(safe-area-inset-right, 0px)) max(6px, env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px));
  background: transparent;
}

#root .gr-map-footer-links {
  display: flex;
  align-items: stretch;
  gap: 6px;
}

#root .gr-map-footer-links .gr-map-roster-entry { min-width: 0; }

#root .gr-map-footer-links .gr-map-directory-entry {
  padding-inline: 10px;
  border-radius: 14px;
  white-space: nowrap;
}

#root .gr-map-footer :is(.gr-map-roster-entry, .gr-map-company) {
  border: 1px solid var(--gr-map-border);
  border-radius: 16px;
  background: var(--gr-map-glass);
  box-shadow: 0 3px 12px rgb(61 48 32 / 14%);
}

#root .gr-map-roster-entry {
  display: grid;
  width: 100%;
  min-height: 54px;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 4px 9px;
  border: 0;
  color: var(--gr-map-ink);
  text-align: start;
}

#root .gr-map-roster-entry :is(strong, small) { display: block; }
#root .gr-map-roster-entry strong { font-size: 0.875rem; font-weight: 720; }
#root .gr-map-roster-entry small { margin-block-start: 2px; color: var(--gr-map-secondary); font-size: 0.75rem; }
#root .gr-map-roster-entry-action { display: flex; align-items: center; gap: 2px; color: var(--gr-map-brand); font-size: 0.8125rem; font-weight: 700; white-space: nowrap; }

#root .gr-map-browser :is(.gr-map-roster-entry-icon, .gr-map-company-main .gr-map-business-icon) {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

#root .gr-map-company {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1px;
  padding: 2px 3px;
}

#root .gr-map-company-main {
  display: grid;
  min-width: 0;
  min-height: 50px;
  grid-template-columns: 36px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 8px;
  padding: 2px 4px;
  border-radius: 11px;
  color: var(--gr-map-ink);
  text-decoration: none;
}

#root .gr-map-company-main > svg { color: var(--gr-map-brand); }

#root .gr-map-company .gr-map-business-copy strong,
#root .gr-map-company .gr-map-business-copy > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#root .gr-map-company-controls {
  display: flex;
  align-items: center;
}

#root .gr-map-company-controls a {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  align-content: center;
  justify-items: center;
  gap: 1px;
  padding: 3px;
  border-radius: 999px;
  background: var(--gr-map-tint);
  color: var(--gr-map-brand);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
}

#root .gr-map-company-controls .gr-map-visit {
  min-width: 61px;
  margin-inline-end: 4px;
  padding: 0 7px;
  background: var(--gr-map-brand);
  color: var(--gr-map-paper);
  white-space: nowrap;
}

#root .gr-map-browser .gr-map-company-controls .gr-map-visit:active { background: #85222a; }

#root .gr-map-company:has(.gr-map-visit) .gr-map-business-copy strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
}

#root .gr-map-location-note {
  margin: 3px;
  color: var(--gr-map-secondary);
  font-size: 0.8125rem;
}

#root :is(.gr-map-browser, .gr-map-entry) :is(button, select, a, summary):focus-visible {
  outline: 2px solid var(--gr-map-brand);
  outline-offset: -2px;
}

#root .gr-map-browser-search input:focus-visible { outline-offset: -2px; }

#root :is(.gr-map-browser, .gr-map-entry) :is(button, a, select) {
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

#root .gr-map-browser :is(.gr-map-appbar button, .gr-map-browser-search button, .gr-map-roster-rows button, .gr-map-roster-entry, .gr-map-company a, .gr-map-company button, .gr-amap-controls button):active {
  background: var(--gr-map-tint);
}

#root .gr-map-entry-open:active { background-color: rgb(33 83 148 / 9%); }

#root .gr-map-browser.gr-amap-page[data-view="place"] { background: #fff !important; }
#root .gr-map-browser[data-view="place"] .gr-map-appbar { background: white; }
#root .gr-map-browser[data-view="place"] .gr-map-appbar h1:focus { outline: none; }

#root .gr-office-back {
  display: grid;
  width: 44px;
  min-height: 44px;
  place-items: center;
  border-radius: 999px;
  color: var(--gr-map-brand);
}

#root .gr-map-browser[data-view="place"] .gr-map-workspace {
  display: block;
  overflow: auto;
  overscroll-behavior: contain;
}

#root .gr-office-place {
  display: grid;
  min-height: 100%;
  grid-template-rows: minmax(230px, 1fr) auto;
}

#root .gr-office-preview {
  position: relative;
  display: grid;
  min-height: clamp(235px, 47dvh, 425px);
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #eaf1e8;
}

#root .gr-office-preview::before,
#root .gr-office-preview::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

#root .gr-office-preview::before {
  inset: -50%;
  transform: rotate(-27deg);
  background:
    repeating-linear-gradient(0deg, transparent 0 41px, #fff 41px 44px, transparent 44px 75px, #f8faf6 75px 78px),
    repeating-linear-gradient(90deg, transparent 0 54px, #fff 54px 58px, transparent 58px 95px, #f8faf6 95px 98px);
}

#root .gr-office-preview::after {
  inset: auto -18% 8% -24%;
  height: 82px;
  transform: rotate(13deg);
  border-block: 3px solid white;
  border-radius: 50%;
  background: #d9eaf3;
}

#root .gr-office-preview-status {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: calc(100% - 32px);
  padding: 15px 20px;
  border: 1px solid var(--gr-map-border);
  border-radius: 15px;
  background: white;
  color: var(--gr-map-secondary);
  font-size: 0.875rem;
}

#root .gr-office-preview-status > svg { color: var(--gr-map-brand); }

#root .gr-office-preview-live::before,
#root .gr-office-preview-live::after { content: none; }

#root .gr-office-preview-live .gr-amap-surface {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

#root .gr-office-preview-live .gr-amap-controls { bottom: 32px; }
#root .gr-office-preview-live .gr-featured-credit { bottom: 22px; }
#root .gr-office-verified-pin path { fill: #138b52; stroke: #fff; stroke-width: 2px; }
#root .gr-featured-annotations .gr-office-verified-pin circle { fill: #fff; stroke: none; }

#root .gr-office-locate {
  display: inline-flex;
  min-height: 36px;
  margin: -4px 0 9px;
  align-items: center;
  color: var(--gr-map-brand);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: underline;
}

#root .gr-office-sheet {
  position: relative;
  margin-top: -17px;
  padding: 18px 20px max(22px, env(safe-area-inset-bottom, 0px));
  border-radius: 19px 19px 0 0;
  background: white;
}

#root .gr-office-sheet::before {
  display: block;
  width: 30px;
  height: 4px;
  margin: -10px auto 15px;
  border-radius: 4px;
  background: #d5dfe9;
  content: "";
}

#root .gr-office-sheet h2 {
  margin: 0 0 13px;
  overflow-wrap: anywhere;
  color: var(--gr-map-ink);
  font-size: 1.1875rem;
  line-height: 1.45;
}

#root .gr-office-address { margin: 0 0 17px; }
#root .gr-office-address dt { margin-bottom: 4px; color: var(--gr-map-secondary); font-size: 0.8125rem; }
#root .gr-office-address dd {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-line;
  user-select: text;
  -webkit-user-select: text;
  font-size: 0.9375rem;
  line-height: 1.65;
}

#root .gr-office-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
}

#root :is(.gr-office-copy, .gr-office-map-open) {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid var(--gr-map-border);
  border-radius: 10px;
  background: var(--gr-map-tint);
  color: var(--gr-map-ink);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

#root .gr-office-map-open {
  border-color: var(--gr-map-brand);
  background: var(--gr-map-brand);
  color: white;
}

#root .gr-office-map-options > summary::-webkit-details-marker { display: none; }
#root .gr-office-map-options > ul {
  margin: 6px 0 0;
  padding: 0;
  border: 1px solid var(--gr-map-border);
  border-radius: 10px;
  list-style: none;
}

#root .gr-office-map-options li + li { border-top: 1px solid var(--gr-map-border); }
#root .gr-office-map-options li > a {
  display: grid;
  min-height: 44px;
  align-items: center;
  padding: 0 10px;
  color: var(--gr-map-brand);
  font-size: 0.875rem;
  font-weight: 650;
  text-decoration: none;
}

#root .gr-office-copy-status { margin: 9px 0 0; color: var(--gr-map-secondary); font-size: 0.8125rem; }
#root .gr-office-copy-status:empty { margin: 0; }
#root .gr-office-load { margin: 18px 12px; }
#root .gr-office-map-options summary:focus-visible { outline: 2px solid var(--gr-map-brand); outline-offset: 2px; }

@media (max-width: 345px) {
  #root .gr-map-footer-links:has(.gr-map-directory-entry) .gr-map-roster-entry {
    grid-template-columns: 36px minmax(0, 1fr);
  }
  #root .gr-map-footer-links:has(.gr-map-directory-entry) .gr-map-roster-entry-action { display: none; }
  #root .gr-map-company-main { grid-template-columns: 36px minmax(0, 1fr); }
  #root .gr-map-company-main > svg { display: none; }
  #root .gr-map-company:has(.gr-map-visit) .gr-map-company-main { grid-template-columns: minmax(0, 1fr); padding-inline-start: 7px; }
  #root .gr-map-company:has(.gr-map-visit) .gr-map-company-main .gr-map-business-icon { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  #root :is(.gr-map-browser, .gr-map-entry) * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
