/* P-store occupies Main Street's accepted sheet. It creates no shade or renderer. */
html body[data-perspective="CUSTOMER"] #map-workspace .my-bitemapp-map-sheet[data-pstore-active="true"]
  .my-bitemapp-sheet-body > :not([data-pstore-main-street-host]) {
  display:none !important;
}

html body[data-perspective="CUSTOMER"] #map-workspace
  .my-bitemapp-map-sheet.is-collapsed[data-pstore-active="true"] {
  height:calc(min(22rem,44vh) + var(--viewport-vendor-rail-height,6.7rem) + env(safe-area-inset-bottom,0px)) !important;
  max-height:calc(min(22rem,44vh) + var(--viewport-vendor-rail-height,6.7rem) + env(safe-area-inset-bottom,0px)) !important;
}

html body[data-perspective="CUSTOMER"] #map-workspace
  .my-bitemapp-map-sheet.is-collapsed[data-pstore-active="true"] .my-bitemapp-sheet-body {
  display:block !important;
  height:min(22rem,44vh) !important;
  max-height:min(22rem,44vh) !important;
  overflow:auto !important;
}

[data-pstore-main-street-host] {
  min-width:0;
  color:var(--ink,#102d38);
}

.pstore-result {
  display:grid;
  gap:.68rem;
  padding:.35rem .15rem .8rem;
}

.pstore-result :is(h2,h3,p,ol,ul) { margin:0; }
.pstore-result :is(ol,ul) { padding-left:1.3rem; }
.pstore-result li + li { margin-top:.42rem; }

.pstore-result-header {
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:.15rem .52rem;
  align-items:center;
}
.pstore-result-header .pstore-pearl-icon { grid-row:1 / 3;font-size:1.55rem;color:#b83270; }
.pstore-result-header p { font-size:.72rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#52636a; }
.pstore-result-header h2 { font-size:1.12rem;line-height:1.2; }

.pstore-furniture {
  min-width:0;
  border-radius:.78rem;
  background:color-mix(in srgb,var(--paper,#fff) 92%,transparent);
}
.pstore-furniture[data-layout-zone="CONTENT"],
.pstore-furniture[data-layout-zone="SUPPORTING"] { padding:.72rem .78rem;border:1px solid rgb(4 21 52 / 14%); }
.pstore-furniture h3 { margin-bottom:.32rem;font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;color:#52636a; }
.pstore-result-summary { font-size:1rem;line-height:1.45; }
.pstore-result-caution { border-left:.25rem solid #b56b00;padding-left:.58rem; }
.pstore-source-currentness { font-size:.78rem;color:#405764; }
.pstore-field-state { font-weight:800;letter-spacing:.04em; }

.pstore-result-actions { display:flex;flex-wrap:wrap;gap:.48rem;align-items:center; }
.pstore-result-actions button,.pstore-return {
  min-height:2.55rem;
  border:1px solid #1769aa;
  border-radius:999px;
  padding:.5rem .84rem;
  background:#fff;
  color:#143d62;
  font:inherit;
  font-weight:800;
}
.pstore-return { border-color:#687b83;color:#314c58; }
.pstore-discovery-status[data-discovery-disposition="UNKNOWN"] { border-left:.3rem solid #9a6c00; }
.pstore-discovery-status[data-discovery-disposition="PENDING"] { border-left:.3rem solid #1769aa; }

@media (max-width:28rem) {
  .pstore-result { gap:.55rem; }
  .pstore-result-header h2 { font-size:1.02rem; }
}
