/* SYDWALK STREETSCAPE LIVE R1 — presentation only; existing Owners retain all behavior. */
/* Shared C/V perspective Flower: clear the truth bar and remain in the safe top-left corner. */
html body .front-door .sydwalk-shell-flower.perspective-door[data-ear-side] {
  top:max(.35rem,env(safe-area-inset-top,0px));
  right:auto;
  left:max(.35rem,env(safe-area-inset-left,0px));
  width:3.2rem;
  height:3.2rem;
  min-width:3.2rem;
  min-height:3.2rem;
  padding:.08rem;
}
html body .front-door .sydwalk-shell-flower.perspective-door img {width:100%;height:100%;object-fit:contain}
/* One existing MAIN_STREET_VENDOR_CARD, dressed in both compact and Directory modes. */
html body[data-perspective="CUSTOMER"] #map-workspace .map-sheet-card[data-public-vendor-id] {
  position: relative;
  isolation: isolate;
  border: clamp(.38rem,.9vw,.56rem) solid var(--streetscape-cobalt) !important;
  border-radius: 1.18rem !important;
  background:
    radial-gradient(circle at 27% 10%,#fff 0 8%,transparent 29%),
    linear-gradient(142deg,#fffef9 0%,var(--streetscape-ivory) 62%,#f4ead7 100%) !important;
  box-shadow:
    inset 0 0 0 1px #fff,
    inset 0 .2rem .32rem #ffffffd9,
    inset 0 -.24rem .42rem #8f754429,
    0 .3rem .13rem #04153442,
    0 .68rem 1rem #04153428 !important;
}
html body[data-perspective="CUSTOMER"] #map-workspace .map-sheet-card[data-public-vendor-id]::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -.22rem;
  border-top: 3px solid #5d8ec4;
  border-left: 2px solid #376da8;
  border-radius: 1.14rem;
  box-shadow: inset 0 0 .36rem #001d45;
  pointer-events: none;
}
html body[data-perspective="CUSTOMER"] #map-workspace .map-sheet-card[data-public-vendor-id].status-open { border-bottom-color: var(--streetscape-open) !important; border-bottom-width: .58rem !important; }
html body[data-perspective="CUSTOMER"] #map-workspace .map-sheet-card[data-public-vendor-id].status-closed { border-bottom-color: var(--streetscape-closed) !important; border-bottom-width: .58rem !important; }
html body[data-perspective="CUSTOMER"] #map-workspace .map-sheet-card[data-public-vendor-id]:is(.status-moving,.status-standby,.status-caution) { border-bottom-color: var(--streetscape-caution) !important; border-bottom-width: .58rem !important; }
html body[data-perspective="CUSTOMER"] #map-workspace .map-sheet-card[data-public-vendor-id].is-selected {
  outline: .28rem solid var(--streetscape-cyan) !important;
  outline-offset: .24rem !important;
  box-shadow: inset 0 0 0 1px #fff,0 0 0 .14rem var(--streetscape-cyan-edge),0 0 .78rem var(--streetscape-cyan-glow),0 .76rem 1.15rem #0415343d !important;
}
html body[data-perspective="CUSTOMER"] #map-workspace .map-sheet-card[data-public-vendor-id]:focus-within { outline: .22rem solid var(--streetscape-cyan); outline-offset: .22rem; }

/* Existing Map controls: individual safety-yellow enamel pills. */
html body[data-perspective="CUSTOMER"] #map-workspace .map-board :is(.map-tools,.map-zoom-controls) {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
html body[data-perspective="CUSTOMER"] #map-workspace .map-board :is(.map-tool,.map-zoom-controls button) {
  border: .15rem solid var(--streetscape-cobalt) !important;
  border-radius: 999px !important;
  background:
    radial-gradient(circle at 34% 22%,#fff7b8 0 11%,transparent 32%),
    linear-gradient(145deg,var(--streetscape-safety-yellow-light),var(--streetscape-safety-yellow) 58%,#e5aa00) !important;
  color: var(--streetscape-navy) !important;
  text-shadow: 0 1px 0 #fff8;
  box-shadow: inset 0 0 0 1px #fff4,inset 0 -.18rem .3rem #8d620052,0 .17rem .12rem #04153435,0 .38rem .62rem #04153425 !important;
}
html body[data-perspective="CUSTOMER"] #map-workspace .map-board :is(.map-tool,.map-zoom-controls button):is(:focus-visible,.is-active),
html body[data-perspective="CUSTOMER"] #map-workspace .map-board .map-tool[data-layers-toggle][aria-expanded="true"] {
  outline: .2rem solid var(--streetscape-cyan) !important;
  outline-offset: .16rem !important;
  box-shadow: inset 0 0 0 1px #fff4,0 0 0 .1rem var(--streetscape-cyan-edge),0 0 .62rem var(--streetscape-cyan-glow),0 .3rem .55rem #04153430 !important;
}

/* The existing Layers palette is one aluminum street sign beside its pill opener. */
html body[data-perspective="CUSTOMER"] #map-workspace .map-board .layers-palette {
  inset: 7.15rem auto auto 4.35rem !important;
  width: min(15rem,calc(100% - 5.2rem));
  padding: .9rem .72rem;
  border: .22rem solid var(--streetscape-cobalt) !important;
  border-radius: .48rem !important;
  background: linear-gradient(145deg,#eef1f0 0,#c2c9ca 48%,#a6b0b2 100%) !important;
  box-shadow: inset 0 0 0 2px #edf1f0,inset 0 0 0 3px #63717680,inset 0 -.22rem .32rem #56616435,0 .35rem .9rem #04153452 !important;
  backdrop-filter: none !important;
}
html body[data-perspective="CUSTOMER"] #map-workspace .map-board .layers-palette::before,
html body[data-perspective="CUSTOMER"] #map-workspace .map-board .layers-palette::after {
  content: "";
  position: absolute;
  top: .34rem;
  width: .34rem;
  height: .34rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%,#f8faf9,#788487 72%);
  box-shadow: 0 1px 1px #26343880;
}
html body[data-perspective="CUSTOMER"] #map-workspace .map-board .layers-palette::before { left: .38rem; }
html body[data-perspective="CUSTOMER"] #map-workspace .map-board .layers-palette::after { right: .38rem; }

/* Existing upper C-Store shade leading edge: concrete tread, light edge, dark riser. */
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-tab {
  box-sizing:border-box;
  width:var(--syd-step-width);
  max-width:none;
  border: .12rem solid var(--syd-concrete-edge) !important;
  border-top: .32rem solid var(--syd-concrete-cap) !important;
  background-color: var(--syd-concrete) !important;
  background-image:
    linear-gradient(90deg,transparent calc(20% - .75px),rgb(43 58 65 / 24%) calc(20% - .75px) calc(20% + .75px),transparent calc(20% + .75px) calc(80% - .75px),rgb(43 58 65 / 24%) calc(80% - .75px) calc(80% + .75px),transparent calc(80% + .75px)),
    linear-gradient(178deg,var(--syd-concrete-light) 0,var(--syd-concrete) 60%,var(--syd-concrete-mid) 61%,var(--syd-concrete-dark) 100%) !important;
  color: var(--streetscape-maplibre-blue) !important;
  box-shadow: inset 0 1px #f1f3f1aa,inset 0 -.42rem 0 var(--syd-concrete-riser),0 .28rem .7rem #04153455 !important;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-grip { background: #3f4b4e; box-shadow: 0 1px #dce1df; }
/* Hardware census R1: C-Store is a doorway step, not a drawer. The whole tab
   remains the gesture target; reserve visible grips for true sliding drawers. */
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-tab {
  grid-template-rows:1fr !important;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-tab[data-tab-mode="MAP_RETURN"] {
  grid-template-columns:auto auto !important;
  justify-content:center;
  align-content:center;
  column-gap:.42rem;
  padding-top:.42rem;
  padding-bottom:.25rem;
  text-align:center;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-tab[data-tab-mode="MAP_RETURN"] .customer-vendor-experience-logo {
  grid-column:1 !important;
  align-self:center;
  transform:none;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-tab[data-tab-mode="MAP_RETURN"] .customer-vendor-experience-tab-copy {
  grid-column:2 !important;
  align-self:center;
  overflow:visible;
  transform:translateY(.1rem);
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-tab[data-tab-mode="MAP_RETURN"] .customer-vendor-experience-tab-copy strong {
  display:inline-flex;
  overflow:visible;
  align-items:baseline;
  justify-content:center;
  color:var(--syd-skin-navy) !important;
  font-size:1.12rem !important;
  white-space:nowrap;
  text-shadow:none;
  -webkit-text-stroke:0;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-tab[data-tab-mode="MAP_RETURN"] .customer-vendor-experience-tab-copy strong::before,
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-tab[data-tab-mode="MAP_RETURN"] .customer-vendor-experience-tab-copy strong::after {
  display:none !important;
  content:none !important;
}
html body[data-perspective="CUSTOMER"] #map-workspace :is([data-customer-map-return-label],[data-customer-store-entry-label]) {display:none;}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-grip {
  display:none !important;
}
html body[data-perspective="CUSTOMER"] #map-workspace :is(.customer-vendor-experience-logo,.customer-vendor-experience-tab-copy) {
  grid-row:1 !important;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-tab-copy strong,
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-tab-copy small {
  color: var(--streetscape-maplibre-blue) !important;
  text-shadow: 0 1px 1px #fff,0 0 .14rem #fff;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-tab-copy small {
  color: var(--syd-skin-door-blue) !important;
  text-shadow: 0 1px 1px #eaf8ff,0 0 .14rem #b9f2ff;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet[data-occupant="FEATURED_VENDOR"] .customer-vendor-experience-tab-copy strong {
  color: var(--syd-skin-door-blue) !important;
  font-size: clamp(1.12rem,4vw,1.35rem);
  line-height: 1.05;
  text-shadow: 0 1px 1px #eaf8ff,0 0 .14rem #b9f2ff;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet[data-occupant="SYDWALK_STORE"] .customer-vendor-experience-tab-copy strong {
  font-size: 0;
  color: transparent !important;
  text-shadow: none;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet[data-occupant="SYDWALK_STORE"] .customer-vendor-experience-tab-copy strong::before,
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet[data-occupant="SYDWALK_STORE"] .customer-vendor-experience-tab-copy strong::after {
  display: inline;
  font-size: 1rem;
  -webkit-text-stroke: .8px var(--syd-skin-text-outline);
  paint-order: stroke fill;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet[data-occupant="SYDWALK_STORE"] .customer-vendor-experience-tab-copy strong::before {
  content: "Syd";
  color: var(--streetscape-safety-yellow);
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet[data-occupant="SYDWALK_STORE"] .customer-vendor-experience-tab-copy strong::after {
  content: "Walk";
  color: #fff;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet[data-occupant="SYDWALK_STORE"] .customer-vendor-experience-tab-copy small {
  color: #0f6f3b !important;
  -webkit-text-stroke: .3px #054523;
  paint-order: stroke fill;
  text-shadow: 0 1px 0 #a8dbba,0 0 .14rem #249b52;
}
/* MAP_RETURN is a navigation identity, so it must win after every Store-occupant
   wordmark treatment. Both real words remain in the DOM and the painted WA-null
   Syd/Walk pseudo-wordmark is disabled only for this return face. */
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet .customer-vendor-experience-tab[data-tab-mode="MAP_RETURN"] .customer-vendor-experience-tab-copy strong {
  display:inline-flex;
  color:var(--syd-skin-navy) !important;
  font-size:1.12rem !important;
  text-shadow:none;
  -webkit-text-stroke:0;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet .customer-vendor-experience-tab[data-tab-mode="MAP_RETURN"] [data-featured-vendor-name] {display:none;}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet .customer-vendor-experience-tab[data-tab-mode="MAP_RETURN"] [data-customer-map-return-label] {
  display:inline !important;
  font-size:1.12rem;
  font-weight:900;
  white-space:nowrap;
}
html body[data-perspective="CUSTOMER"] #map-workspace .sydwalk-return-syd {
  color:var(--syd-skin-safety);
  -webkit-text-stroke:.8px var(--syd-skin-text-outline);
  paint-order:stroke fill;
}
html body[data-perspective="CUSTOMER"] #map-workspace .sydwalk-return-walk {
  color:#fff;
  -webkit-text-stroke:.8px var(--syd-skin-text-outline);
  paint-order:stroke fill;
}
html body[data-perspective="CUSTOMER"] #map-workspace .sydwalk-return-map {
  color:var(--syd-skin-map-blue);
  -webkit-text-stroke:.8px var(--syd-skin-text-outline);
  paint-order:stroke fill;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet[data-occupant="SYDWALK_STORE"] .customer-vendor-experience-tab[data-tab-mode="STORE_ENTRY"] [data-featured-vendor-name] {display:none;}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet[data-occupant="SYDWALK_STORE"] .customer-vendor-experience-tab[data-tab-mode="STORE_ENTRY"] {
  grid-template-columns:auto auto !important;
  justify-content:center;
  align-content:center;
  column-gap:.42rem;
  text-align:center;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet[data-occupant="SYDWALK_STORE"] .customer-vendor-experience-tab[data-tab-mode="STORE_ENTRY"] .customer-vendor-experience-tab-copy {
  grid-column:2 !important;
  align-self:center;
  overflow:visible;
  transform:none;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet[data-occupant="SYDWALK_STORE"] .customer-vendor-experience-tab[data-tab-mode="STORE_ENTRY"] .customer-vendor-experience-tab-copy strong::before,
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet[data-occupant="SYDWALK_STORE"] .customer-vendor-experience-tab[data-tab-mode="STORE_ENTRY"] .customer-vendor-experience-tab-copy strong::after {
  display:none !important;
  content:none !important;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet[data-occupant="SYDWALK_STORE"] .customer-vendor-experience-tab[data-tab-mode="STORE_ENTRY"] [data-customer-store-entry-label] {
  display:inline !important;
  font-size:1.12rem;
  font-weight:900;
  white-space:nowrap;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet[data-occupant="SYDWALK_STORE"] .customer-vendor-experience-tab[data-tab-mode="STORE_ENTRY"] .customer-vendor-experience-logo {
  grid-column:1 !important;
  align-self:center;
  width:1.9rem;
  height:1.9rem;
  transform:none;
}
html body[data-perspective="CUSTOMER"] #map-workspace .sydwalk-entry-store {
  color:var(--syd-skin-map-blue);
  -webkit-text-stroke:.8px var(--syd-skin-text-outline);
  paint-order:stroke fill;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet[data-occupant="FEATURED_VENDOR"] .customer-vendor-experience-tab[data-tab-mode="STORE_ENTRY"] {
  grid-template-columns:auto auto !important;
  justify-content:center;
  align-content:center;
  column-gap:.42rem;
  text-align:center;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet[data-occupant="FEATURED_VENDOR"] .customer-vendor-experience-tab[data-tab-mode="STORE_ENTRY"] .customer-vendor-experience-logo {
  grid-column:1 !important;
  align-self:center;
  width:1.9rem;
  height:1.9rem;
  transform:none;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet[data-occupant="FEATURED_VENDOR"] .customer-vendor-experience-tab[data-tab-mode="STORE_ENTRY"] .customer-vendor-experience-tab-copy {
  grid-column:2 !important;
  align-self:center;
  overflow:visible;
  transform:none;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet[data-occupant="FEATURED_VENDOR"] .customer-vendor-experience-tab[data-tab-mode="STORE_ENTRY"] [data-featured-vendor-name] {
  color:var(--syd-skin-door-blue) !important;
  -webkit-text-stroke:.8px var(--syd-skin-text-outline);
  paint-order:stroke fill;
  text-shadow:none;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet .customer-vendor-experience-tab[data-tab-mode="MAP_RETURN"] .customer-vendor-experience-tab-copy strong::before,
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet .customer-vendor-experience-tab[data-tab-mode="MAP_RETURN"] .customer-vendor-experience-tab-copy strong::after {
  display:none !important;
  content:none !important;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-logo,
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-tab-copy {
  transform: translateY(-.38rem);
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet[data-occupant="FEATURED_VENDOR"] :is(.customer-vendor-experience-logo,.customer-vendor-experience-tab-copy) {
  transform: translateY(0);
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-logo {
  width: 2.2rem;
  height: 2.2rem;
}
@media (max-width:30rem) {
  html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-tab {
    grid-template-columns:auto minmax(0,1fr) !important;
  }
  html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-logo {
    display:grid !important;
  }
  html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-tab-copy {
    grid-column:2 !important;
    text-align:left;
  }
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet[data-occupant="SYDWALK_STORE"] .customer-vendor-experience-logo {
  border-color: transparent;
  background: transparent url("../assets/sydwalk/sydwalk-icon-r1.png") center/contain no-repeat;
}
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet[data-occupant="SYDWALK_STORE"] .customer-vendor-experience-logo > * {
  visibility: hidden !important;
}

/* C Map and Store return tabs share the same jointed concrete step. */
html.store-look-global-dress body[data-perspective="CUSTOMER"] :is(.map-reminder-tab,.map-return-tab) {
  border:.12rem solid var(--syd-concrete-edge) !important;
  border-top:.32rem solid var(--syd-concrete-cap) !important;
  background-color:var(--syd-concrete) !important;
  background-image:
    linear-gradient(90deg,transparent calc(20% - .75px),rgb(43 58 65 / 24%) calc(20% - .75px) calc(20% + .75px),transparent calc(20% + .75px) calc(80% - .75px),rgb(43 58 65 / 24%) calc(80% - .75px) calc(80% + .75px),transparent calc(80% + .75px)),
    linear-gradient(178deg,var(--syd-concrete-light) 0,var(--syd-concrete) 60%,var(--syd-concrete-mid) 61%,var(--syd-concrete-dark) 100%) !important;
  color:var(--streetscape-maplibre-blue) !important;
  box-shadow:inset 0 1px #f1f3f1aa,inset 0 -.42rem 0 var(--syd-concrete-riser),0 .28rem .7rem #04153455 !important;
}
html.store-look-global-dress body[data-perspective="CUSTOMER"] .map-reminder-tab {
  box-sizing:border-box;
  width:var(--syd-step-width);
  max-width:none;
}
html.store-look-global-dress body[data-perspective="CUSTOMER"] :is(.map-reminder-tab,.map-return-tab) .pull-tab-grip {
  background:#3f4b4e !important;
  box-shadow:0 1px #dce1df;
}

/* Accepted lower Main Street sidewalk: concrete tread with two broad slab joints. */
html body[data-perspective="CUSTOMER"] #map-workspace .viewport-vendor-rail,
html body[data-perspective="CUSTOMER"] #map-workspace .my-bitemapp-sheet-handle {
  background-color: #87979e !important;
  background-image: linear-gradient(90deg,
    transparent calc(20% - .75px),rgb(43 58 65 / 24%) calc(20% - .75px) calc(20% + .75px),
    transparent calc(20% + .75px) calc(80% - .75px),rgb(43 58 65 / 24%) calc(80% - .75px) calc(80% + .75px),
    transparent calc(80% + .75px)) !important;
  color: #041534 !important;
}

/* The authenticated C-map return door carries the qualified Vendor logo.
   Keep its circular hit/focus geometry, but remove the legacy white plate so
   transparent artwork composes directly over the Map. */
html body[data-perspective="CUSTOMER"] #map-workspace .map-corner-brand[data-eye-intent="RETURN"] {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
html body[data-perspective="CUSTOMER"] #map-workspace .map-corner-brand[data-eye-intent="RETURN"]:focus-visible {
  outline: .2rem solid #00aaff;
  outline-offset: .12rem;
}
html body[data-perspective="CUSTOMER"] #map-workspace .viewport-vendor-rail {
  position:relative;
  z-index:2 !important;
  inset:auto;
  width:100%;
  box-sizing:border-box;
  border-top-color: #c8d0d3 !important;
  box-shadow: inset 0 .12rem #fff9,inset 0 -.25rem #4859604d,0 -.25rem .9rem #0415343d !important;
  backdrop-filter: none !important;
  transform:translateY(0);
  transition:transform 240ms ease,visibility 0s linear;
  will-change:transform;
}
/* The populated PEEK grows as one assembly so its curb, results notice, and
   card lane retain their established spacing while gaining a 12px floor. The
   FULL page keeps the paired 4px track drop toward that same visual line. */
html body[data-perspective="CUSTOMER"] #map-workspace .viewport-vendor-rail[data-main-street-dock="PEEK"][data-content-source="SPATIAL_DISCOVERY"] {
  height:calc(var(--viewport-vendor-rail-height,6.7rem) + .75rem + env(safe-area-inset-bottom,0px));
  padding-bottom:max(1.1rem,env(safe-area-inset-bottom,0px));
}
html body[data-perspective="CUSTOMER"] #map-workspace .viewport-vendor-rail[data-main-street-dock="FULL"] .viewport-vendor-rail-track {
  transform:translateY(.25rem);
}
/* One MAIN_STREET_DOORS furniture instance serves as the curb peek and the
   expanded page's bottom dock. The sheet keeps the matching rail-height socket. */
html body[data-perspective="CUSTOMER"] #map-workspace .viewport-vendor-rail[data-main-street-dock="FULL"] {
  z-index:10;
  box-shadow:inset 0 .12rem #fff9,inset 0 -.25rem #4859604d,0 -.34rem 1.05rem #04153452 !important;
}
html body[data-perspective="CUSTOMER"] #map-workspace .viewport-vendor-rail[data-landing-state="SLEEPING"] {
  display:none;
  transform:none;
  pointer-events:none;
}
@media(prefers-reduced-motion:reduce){
  html body[data-perspective="CUSTOMER"] #map-workspace .viewport-vendor-rail{transition:none!important;will-change:auto;}
  html body[data-perspective="CUSTOMER"] #map-workspace .viewport-vendor-rail + .my-bitemapp-map-sheet::before{animation:none!important;}
  html body[data-perspective="CUSTOMER"] #map-workspace .my-bitemapp-map-sheet{transition:none!important;}
}
html body[data-perspective="CUSTOMER"] #map-workspace .viewport-vendor-rail-heading {
  color: #eef3f5 !important;
  text-shadow: 0 1px 1px #334750;
}
html body[data-perspective="CUSTOMER"] #map-workspace .main-street-bounded-results {
  display:grid;
  gap:.3rem;
  margin:.25rem .1rem .65rem;
  padding:.65rem .75rem;
  border:.12rem solid #075f86;
  border-radius:.7rem;
  background:#fff9e8;
  color:#173b49;
}
html body[data-perspective="CUSTOMER"] #map-workspace .main-street-bounded-results span {font-size:.82rem;}
html body[data-perspective="CUSTOMER"] #map-workspace .main-street-bounded-results div {display:flex;gap:.45rem;flex-wrap:wrap;}
html body[data-perspective="CUSTOMER"] #map-workspace .main-street-bounded-results button {
  min-height:2.35rem;padding:.35rem .7rem;border:2px solid #075f86;border-radius:.55rem;background:#ffd447;color:#041534;font-weight:800;
}
html body[data-perspective="CUSTOMER"] #map-workspace .viewport-vendor-rail[data-rail-mode="MAIN_STREET_PAGES"] .viewport-main-street-page > span[aria-hidden="true"] {
  display: none;
}
html body[data-perspective="CUSTOMER"] #map-workspace .viewport-vendor-rail[data-rail-mode="MAIN_STREET_PAGES"] .viewport-main-street-page:not(.viewport-account-door) {
  grid-template-columns: minmax(0,1fr);
  grid-template-rows: 1fr 1fr;
  padding-inline: .85rem;
  text-align: center;
}
html body[data-perspective="CUSTOMER"] #map-workspace .viewport-vendor-rail[data-rail-mode="MAIN_STREET_PAGES"] .viewport-main-street-page:not(.viewport-account-door) > strong,
html body[data-perspective="CUSTOMER"] #map-workspace .viewport-vendor-rail[data-rail-mode="MAIN_STREET_PAGES"] .viewport-main-street-page:not(.viewport-account-door) > small {
  grid-column: 1;
  white-space: nowrap;
}

/* Compact Discovery storefronts stay inside their glaze on an ivory ceramic sheet. */
html body[data-perspective="CUSTOMER"] #map-workspace .viewport-vendor-rail .map-sheet-card[data-public-vendor-id] {
  box-sizing: border-box;
  height: 4.3rem;
  max-height: calc(100% - .08rem);
  padding: .18rem .24rem;
  overflow: hidden;
}
html body[data-perspective="CUSTOMER"] #map-workspace .viewport-vendor-rail .map-sheet-card[data-public-vendor-id] .map-sheet-identity {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: .12rem .18rem;
  overflow: hidden;
  border-radius: .58rem;
  background: linear-gradient(142deg,#fffef9 0%,#fffaf0 68%,#f4ead7 100%) !important;
}
html body[data-perspective="CUSTOMER"] #map-workspace .viewport-vendor-rail .map-sheet-card[data-public-vendor-id] .map-sheet-avatar {
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 2.15rem;
}
html body[data-perspective="CUSTOMER"] #map-workspace .viewport-vendor-rail .map-sheet-card[data-public-vendor-id] .map-sheet-identity > span {
  min-width: 0;
  overflow: hidden;
}
html body[data-perspective="CUSTOMER"] #map-workspace .viewport-vendor-rail .map-sheet-card[data-public-vendor-id] .map-sheet-identity > span > strong,
html body[data-perspective="CUSTOMER"] #map-workspace .viewport-vendor-rail .map-sheet-card[data-public-vendor-id] .map-sheet-identity > span > small:first-of-type {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html body[data-perspective="CUSTOMER"] #map-workspace .viewport-vendor-rail .map-sheet-card[data-public-vendor-id] .new-vendor-badge {
  float: right;
  margin-right: .08rem;
  margin-left: .35rem;
}
html body[data-perspective="CUSTOMER"] #map-workspace .viewport-vendor-rail .map-sheet-card[data-public-vendor-id] .map-sheet-identity > span > small:nth-of-type(n+2),
html body[data-perspective="CUSTOMER"] #map-workspace .viewport-vendor-rail .map-sheet-card[data-public-vendor-id] .vendor-reputation.compact {
  display: none !important;
}

/* Existing Main Street sheet becomes the curb; its geometry and travel stay unchanged. */
html body[data-perspective="CUSTOMER"] #map-workspace .my-bitemapp-map-sheet {
  z-index: 8 !important;
  border-top: 0 !important;
  box-shadow: 0 -.26rem 0 #d7dfe2,0 -.4rem 0 #f5f7f7,0 .16rem .35rem #04153442,0 .65rem 1.15rem #04153433 !important;
  top:max(4.15rem,calc(env(safe-area-inset-top,0px) + 3.9rem));
  bottom:0;
  height:auto;
  max-height:none;
  transform:translateY(0);
  transition:transform 300ms cubic-bezier(.2,.75,.25,1);
}
html body[data-perspective="CUSTOMER"] #map-workspace .my-bitemapp-map-sheet.is-collapsed {
  right:0;
  left:0;
  width:100%;
  max-width:none;
  top:auto;
  height:calc(3.05rem + var(--viewport-vendor-rail-height,6.7rem) + env(safe-area-inset-bottom,0px));
  max-height:calc(3.05rem + var(--viewport-vendor-rail-height,6.7rem) + env(safe-area-inset-bottom,0px));
  border-radius:1.05rem 1.05rem 0 0;
  transform:none;
}
html body[data-perspective="CUSTOMER"] #map-workspace .my-bitemapp-map-sheet.is-collapsed[data-rail-peek="ACTIVE"]:has(> .viewport-vendor-rail[data-main-street-dock="PEEK"][data-content-source="SPATIAL_DISCOVERY"]) {
  height:calc(3.05rem + var(--viewport-vendor-rail-height,6.7rem) + .75rem + env(safe-area-inset-bottom,0px));
  max-height:calc(3.05rem + var(--viewport-vendor-rail-height,6.7rem) + .75rem + env(safe-area-inset-bottom,0px));
}
html body[data-perspective="CUSTOMER"] #map-workspace .my-bitemapp-map-sheet.is-collapsed[data-rail-peek="SLEEPING"] {
  height:3.05rem;
  max-height:3.05rem;
}
html body[data-perspective="CUSTOMER"] #map-workspace .my-bitemapp-map-sheet.is-expanded {
  bottom:0;
  transform:translateY(0);
}
html body[data-perspective="CUSTOMER"] #map-workspace .my-bitemapp-map-sheet.is-expanded > .viewport-vendor-rail {
  position:absolute;
  right:0;
  bottom:0;
  left:0;
}
html body[data-perspective="CUSTOMER"] #map-workspace .my-bitemapp-map-sheet.is-expanded .my-bitemapp-sheet-body {
  height:calc(100% - 3.05rem - var(--viewport-vendor-rail-height,6.7rem));
}
html body[data-perspective="CUSTOMER"] #map-workspace .my-bitemapp-map-sheet.is-collapsed .my-bitemapp-sheet-handle {
  box-sizing:border-box;
  min-height:3.05rem;
  padding:.18rem .85rem .22rem;
  border-bottom-width:.5rem !important;
}
html body[data-perspective="CUSTOMER"] #map-workspace .my-bitemapp-map-sheet.is-collapsed .my-bitemapp-sheet-brand {
  height:1.8rem;
}
html body[data-perspective="CUSTOMER"] #map-workspace .my-bitemapp-map-sheet::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: .5rem;
  border-radius: 1.8rem 1.8rem 0 0;
  background: linear-gradient(180deg,#f4f6f6 0%,#b7c2c7 72%,#93a2a9 100%);
  pointer-events: none;
}
/* The curb remains anchored. Its cap/riser briefly compresses as the separate
   Discovery rail passes beneath it. */
@keyframes syd-curb-rail-rise {
  0% { transform:scaleY(1);filter:brightness(1);box-shadow:0 -.18rem .28rem #04153429; }
  46% { transform:scaleY(.56);filter:brightness(.9);box-shadow:0 -.06rem .12rem #0415341f; }
  100% { transform:scaleY(1);filter:brightness(1);box-shadow:0 -.18rem .28rem #04153429; }
}
@keyframes syd-curb-rail-drop {
  0% { transform:scaleY(1);filter:brightness(1);box-shadow:0 -.18rem .28rem #04153429; }
  54% { transform:scaleY(.7);filter:brightness(.94);box-shadow:0 -.09rem .16rem #04153424; }
  100% { transform:scaleY(1);filter:brightness(1);box-shadow:0 -.18rem .28rem #04153429; }
}
html body[data-perspective="CUSTOMER"] #map-workspace .my-bitemapp-map-sheet[data-rail-peek="ACTIVE"]::before {
  transform-origin:bottom center;
  animation:syd-curb-rail-rise 320ms ease-out both;
}
html body[data-perspective="CUSTOMER"] #map-workspace .my-bitemapp-map-sheet[data-rail-peek="SLEEPING"]::before {
  transform-origin:bottom center;
  animation:syd-curb-rail-drop 240ms ease-in both;
}
html body[data-perspective="CUSTOMER"] #map-workspace .my-bitemapp-sheet-handle {
  position: relative;
  z-index: 1;
  border-bottom: .65rem solid #56676f !important;
  box-shadow: inset 0 .22rem #ffffff4d,inset 0 -.28rem #2b3a4138 !important;
}

@media (max-width:390px) {
  body[data-perspective="CUSTOMER"] .map-board .layers-palette { top: 5.25rem !important; right: auto !important; left: 4rem !important; width: min(13.5rem,calc(100% - 4.8rem)); }
}
@media (prefers-reduced-motion:reduce) {
  body[data-perspective="CUSTOMER"] :is(.map-sheet-card,.customer-vendor-experience-sheet) { transition: none !important; animation: none !important; }
}
@media (forced-colors:active) {
  html.store-look-global-dress body[data-perspective="CUSTOMER"] .map-board :is(.map-tool,.map-zoom-controls button,.layers-palette),
  html.store-look-global-dress body[data-perspective="CUSTOMER"] .customer-vendor-experience-tab { forced-color-adjust: auto; border-color: ButtonText !important; background: ButtonFace !important; color: ButtonText !important; text-shadow: none; }
}

/* Concrete Map-step lettering keeps its dark road-sign edge. This final skin
   rule wins over the historical MAP_RETURN rule that reset the stroke. */
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-tab-copy :is(
  strong,
  [data-customer-map-return-label],
  [data-customer-store-entry-label],
  [data-featured-vendor-name]
) {
  -webkit-text-stroke:.65px var(--syd-skin-text-outline) !important;
  paint-order:stroke fill;
}
html body[data-perspective="CUSTOMER"] :is(.map-reminder-tab,.map-return-tab) :is(
  .sydwalk-return-map,
  .sydwalk-return-destination
) {
  -webkit-text-stroke:.65px var(--syd-skin-text-outline) !important;
  paint-order:stroke fill;
}

/* Generic Store/place lettering explicitly reuses the approved boot-pulldown
   word treatment. The Concrete material and existing return face stay intact. */
html body[data-perspective="CUSTOMER"] #map-workspace .customer-vendor-experience-sheet:is(
  [data-occupant="PUBLIC_MAP_STORE"],
  [data-occupant="PUBLIC_MAP_PLACE"]
) .customer-vendor-experience-tab[data-tab-mode="STORE_ENTRY"] [data-featured-vendor-name] {
  color:var(--syd-skin-map-blue) !important;
  -webkit-text-stroke:.65px var(--syd-skin-text-outline) !important;
  paint-order:stroke fill;
  text-shadow:none;
}
