/* Start Here remains a presentation doorway over existing Account and Store Owners. */
dialog.start-here-pullout {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(50vw, 42rem);
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(1.15rem, 3vw, 2rem);
  border: 0;
  border-left: .42rem solid var(--syd-concrete-riser);
  border-radius: 1.35rem 0 0 1.35rem;
  background-color: var(--syd-concrete);
  background-image:
    linear-gradient(0deg,transparent calc(20% - .75px),rgb(43 58 65 / 20%) calc(20% - .75px) calc(20% + .75px),transparent calc(20% + .75px) calc(80% - .75px),rgb(43 58 65 / 20%) calc(80% - .75px) calc(80% + .75px),transparent calc(80% + .75px)),
    linear-gradient(92deg,var(--syd-concrete-light) 0,var(--syd-concrete) 60%,var(--syd-concrete-mid) 61%,var(--syd-concrete-dark) 100%);
  box-shadow: inset .42rem 0 var(--syd-concrete-riser),inset 1px 0 #f1f3f1aa,-.9rem 0 2rem rgb(17 32 39 / 38%);
  overscroll-behavior: contain;
}
dialog.start-here-pullout[open] { animation: start-here-pullout-enter 220ms ease-out both; }
/* Start Here is an edge drawer, not a centered blocking card. Keep the live
   Customer surface visible while the drawer is open; the drawer itself still
   owns focus and dismissal through the native modal contract. */
dialog.start-here-pullout::backdrop { background: transparent; }
dialog.start-here-pullout::before {
  content: "START HERE";
  display: inline-block;
  margin: 0 3.5rem .8rem 0;
  padding: .48rem .85rem;
  border: .12rem solid var(--syd-concrete-edge);
  border-left: .32rem solid var(--syd-concrete-cap);
  border-radius: 0 .75rem .75rem 0;
  color: #006bb6;
  background: linear-gradient(92deg,var(--syd-concrete-light),var(--syd-concrete) 62%,var(--syd-concrete-dark));
  box-shadow: inset -1px 0 #f1f3f1aa,inset -.32rem 0 var(--syd-concrete-riser),.2rem .2rem .6rem #04153455;
  text-shadow: 0 1px 1px #fff,0 0 .14rem #fff;
  font: 950 .78rem/1 system-ui,sans-serif;
  letter-spacing: .08em;
}
.start-here-pullout .dialog-close { position: sticky; top: 0; z-index: 2; float: right; }
.start-here-pullout > :is(h2,p,form,section,div,output) { position: relative; }
.start-here-pullout > form,
.start-here-pullout > [data-device-establishment-continuation] {
  padding: clamp(.8rem,2vw,1.2rem);
  border: 2px solid #405764;
  border-radius: 1rem;
  background: #f7f0dd;
  box-shadow: 0 .35rem .85rem rgb(17 32 39 / 22%);
}
.move-in-category-fit { margin: -.15rem 0 .15rem; color: #405764; font-size: .88rem; }
.move-in-readiness {
  display: block;
  padding: .7rem .8rem;
  border: 2px solid #b8272f;
  border-radius: .7rem;
  color: #fff;
  background: #9f2028;
  font-weight: 900;
}
.move-in-readiness[data-state="PARTIAL"] { border-color: #ffd33d; color: #382c00; background: #f4c430; }
.move-in-readiness[data-state="READY"] { border-color: #73ff9f; background: #168a48; box-shadow: 0 0 .75rem rgb(73 255 148 / 48%); }
.move-in-go-live { border-color: #73ff9f; background: #168a48; box-shadow: 0 0 .85rem rgb(73 255 148 / 42%); }
.location-permission-recovery { width:min(30rem,calc(100vw - 2rem)); }
.location-permission-recovery [data-location-permission-instructions] {
  padding:.85rem 1rem;border:2px solid #405764;border-radius:.8rem;background:#f7f0dd;color:#173b49;font-weight:750;
}
/* In C, Start Here itself is the right-edge pull tab—not a floating round ear. */
body[data-perspective="CUSTOMER"] :is(.map-corner-brand,.front-door .sydwalk-shell-flower)[data-eye-intent="START_HERE"] {
  box-sizing: border-box;
  position: fixed;
  z-index: 95;
  top: var(--start-here-ear-top,50%) !important;
  right: 0 !important;
  left: auto !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  width: 3.45rem;
  height: auto;
  min-height: 8.6rem;
  max-height: calc(100dvh - 2rem);
  padding: .55rem .4rem;
  border: .12rem solid var(--syd-concrete-edge);
  border-right: 0;
  border-radius: 1rem 0 0 1rem;
  background: linear-gradient(92deg,var(--syd-concrete-light),var(--syd-concrete) 60%,var(--syd-concrete-dark));
  box-shadow: inset 0 1px #f1f3f1aa,inset 0 -.35rem var(--syd-concrete-riser),-.25rem .25rem .7rem #04153455;
  filter: none;
  transform: translateY(-50%) !important;
}
body[data-perspective="CUSTOMER"] :is(.map-corner-brand,.front-door .sydwalk-shell-flower)[data-eye-intent="START_HERE"] img {
  width: 2.65rem;
  height: 2.65rem;
  margin: 0;
  flex: 0 0 auto;
  border-radius: 50%;
  filter: drop-shadow(0 .18rem .22rem rgb(4 21 52 / 48%));
}
body[data-perspective="CUSTOMER"] :is(.map-corner-brand,.front-door .sydwalk-shell-flower)[data-eye-intent="START_HERE"]::after {
  position: static;
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  opacity: 1;
  color: var(--streetscape-maplibre-blue,#1769aa);
  background: transparent;
  box-shadow: none;
  writing-mode: vertical-rl;
  transform: rotate(180deg) !important;
  animation: none;
  -webkit-text-stroke: .65px var(--syd-skin-text-outline,#07131f);
  paint-order: stroke fill;
  text-shadow: none;
  font-weight: 900;
}
body[data-perspective="CUSTOMER"] :is(.map-corner-brand,.front-door .sydwalk-shell-flower)[data-eye-intent="START_HERE"][data-start-here-authorized="true"]::after {
  content: attr(data-start-here-label);
}
/* The shell-owned doorway takes over while C-Store covers the Map.  It must be
   the same pull-tab as the Map-owned doorway, not the generic rotated Ear. */
html body[data-perspective="CUSTOMER"] .front-door .sydwalk-shell-flower.perspective-door[data-eye-intent="START_HERE"] {
  box-sizing: border-box !important;
  top: var(--start-here-ear-top,50%) !important;
  right: 0 !important;
  left: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .38rem !important;
  width: 3.45rem !important;
  min-width: 3.45rem !important;
  max-width: 3.45rem !important;
  height: auto !important;
  min-height: 8.6rem !important;
  max-height: calc(100dvh - 2rem) !important;
  padding: .55rem .4rem !important;
  border: .12rem solid var(--syd-concrete-edge) !important;
  border-right: 0 !important;
  border-radius: 1rem 0 0 1rem !important;
  background: linear-gradient(92deg,var(--syd-concrete-light),var(--syd-concrete) 60%,var(--syd-concrete-dark)) !important;
  box-shadow: inset 0 1px #f1f3f1aa,inset 0 -.35rem var(--syd-concrete-riser),-.25rem .25rem .7rem #04153455 !important;
  filter: none !important;
  transform: translateY(-50%) !important;
}
html body[data-perspective="CUSTOMER"] .front-door .sydwalk-shell-flower.perspective-door[data-eye-intent="START_HERE"] img {
  flex: 0 0 2.65rem !important;
  width: 2.65rem !important;
  min-width: 2.65rem !important;
  height: 2.65rem !important;
  min-height: 2.65rem !important;
  margin: 0 !important;
  border-radius: 50% !important;
  object-fit: contain !important;
  transform: none !important;
}
html body[data-perspective="CUSTOMER"] .front-door .sydwalk-shell-flower.perspective-door[data-eye-intent="START_HERE"]::after {
  position: static !important;
  content: "Start Here";
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  color: var(--streetscape-maplibre-blue,#1769aa) !important;
  -webkit-text-stroke: .65px var(--syd-skin-text-outline,#07131f) !important;
  paint-order: stroke fill !important;
  text-shadow: none !important;
  font-weight: 900 !important;
  writing-mode: vertical-rl !important;
  transform: rotate(180deg) !important;
}
html body[data-perspective="CUSTOMER"] .front-door .sydwalk-shell-flower.perspective-door[data-eye-intent="START_HERE"][data-start-here-authorized="true"]::after {
  content: attr(data-start-here-label);
}
@keyframes start-here-pullout-enter { from { transform: translateX(102%); } to { transform: translateX(0); } }
@media (max-width: 48rem) {
  dialog.start-here-pullout { width: 100vw; border-right: 0; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  dialog.start-here-pullout[open] { animation: none; }
}
