/* Cartões do mapa: contato acessível e dimensões adaptadas ao telefone. */
#ordersPanelPage .bb-courier-popup-v526.bb-map-person-217,
#ordersPanelPage .bb-store-popup-v5660.bb-map-store-217 {
  box-sizing:border-box!important;
  width:min(310px,calc(100vw - 76px))!important;
  min-width:0!important;
  max-width:100%!important;
  overflow-wrap:anywhere;
}
#ordersPanelPage .bb-map-person-217 {gap:12px!important; padding:3px 2px!important}
#ordersPanelPage .bb-map-person-217 .bb-courier-popup-head {grid-template-columns:48px minmax(0,1fr)!important;gap:10px!important}
#ordersPanelPage .bb-map-person-217 .bb-courier-avatar {width:46px!important;height:46px!important;box-sizing:border-box!important}
#ordersPanelPage .bb-map-person-217 .bb-courier-main strong {white-space:normal!important;overflow:visible!important;line-height:1.3!important;font-size:14px!important}
#ordersPanelPage .bb-map-person-217 .bb-courier-main {grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important}
#ordersPanelPage .bb-map-person-217 .bb-courier-orders span {overflow-wrap:anywhere!important;white-space:normal!important}
#ordersPanelPage .bb-map-person-217 .bb-courier-metrics span {white-space:normal!important;overflow-wrap:anywhere!important}
#ordersPanelPage .bb-map-person-footer-217 {display:flex;gap:8px;justify-content:space-between;align-items:center;flex-wrap:wrap}
#ordersPanelPage .bb-map-contact-217 {
 display:inline-flex!important;align-items:center;justify-content:center;gap:7px;
 min-height:34px;box-sizing:border-box;padding:7px 11px;border-radius:5px;
 background:#078b53;color:#fff!important;text-decoration:none!important;
 font-family:inherit;font-size:12px;font-weight:700;line-height:1.15;white-space:nowrap;cursor:pointer
}
#ordersPanelPage .bb-map-contact-217:hover {background:#057545}
#ordersPanelPage .bb-map-contact-217:focus-visible {outline:2px solid #ff9b25;outline-offset:2px}
#ordersPanelPage .bb-map-contact-217 svg {width:17px;height:17px;flex:none}
#ordersPanelPage .bb-map-store-217 .bb-store-popup-head-v5660 {
 display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;gap:10px!important;align-items:center
}
#ordersPanelPage .bb-map-store-217 .bb-store-popup-title-v5660 {min-width:0!important}
#ordersPanelPage .bb-map-store-217 .bb-store-popup-title-v5660 strong,
#ordersPanelPage .bb-map-store-217 .bb-store-popup-title-v5660 small {white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.35!important}
#ordersPanelPage .bb-map-store-217 .bb-store-popup-badge-v5660 {grid-column:2;justify-self:start}
#ordersPanelPage .bb-map-store-217 .bb-store-popup-metrics-v5660 {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
#ordersPanelPage .bb-map-store-217 .bb-store-popup-metric-v5660 {min-width:0!important}
#ordersPanelPage .bb-map-store-217 > .bb-map-contact-217 {margin-top:10px}
#ordersPanelPage .gm-style .gm-style-iw-c:has(.bb-map-person-217),
#ordersPanelPage .gm-style .gm-style-iw-c:has(.bb-map-store-217) {max-width:calc(100vw - 30px)!important;box-sizing:border-box!important}
#ordersPanelPage .leaflet-popup:has(.bb-map-person-217),
#ordersPanelPage .leaflet-popup:has(.bb-map-store-217) {max-width:calc(100vw - 25px)!important}
#ordersPanelPage .leaflet-popup-content:has(.bb-map-person-217),
#ordersPanelPage .leaflet-popup-content:has(.bb-map-store-217) {width:min(310px,calc(100vw - 76px))!important;max-width:100%!important}
body.boxboy-theme-light #ordersPanelPage .bb-map-person-217 .bb-courier-main strong,
body.boxboy-theme-light #ordersPanelPage .bb-map-person-217 .bb-courier-orders span,
body.boxboy-theme-light #ordersPanelPage .bb-map-person-217 .bb-courier-metrics span {color:#152b3c!important}
body.boxboy-theme-light #ordersPanelPage .bb-map-person-217 .bb-courier-orders {background:#f1f6fa!important;border-color:#d4e1eb!important}
body.boxboy-theme-light #ordersPanelPage .bb-map-person-217 .bb-courier-main small,
body.boxboy-theme-light #ordersPanelPage .bb-map-person-217 .bb-courier-updated {color:#526e82!important}
body.boxboy-theme-light #ordersPanelPage .gm-style .gm-style-iw-c:has(.bb-map-person-217),
body.boxboy-theme-light #ordersPanelPage .bb-courier-leaflet-popup .leaflet-popup-content-wrapper,
body.boxboy-theme-light #ordersPanelPage .bb-courier-leaflet-popup .leaflet-popup-tip {background:#fff!important;color:#152b3c!important}
body.boxboy-theme-light #ordersPanelPage .gm-style .gm-style-iw-tc:has(+ .gm-style-iw-c .bb-map-person-217)::after {background:#fff!important}
body.boxboy-theme-light #ordersPanelPage .gm-style .gm-style-iw-c:has(.bb-map-person-217) button.gm-ui-hover-effect {filter:none!important}
@media(max-width:380px) {
 #ordersPanelPage .bb-map-person-217 .bb-courier-main {grid-template-columns:1fr!important}
 #ordersPanelPage .bb-map-person-217 .bb-courier-load {justify-self:start}
 #ordersPanelPage .bb-map-person-217 .bb-courier-main small {grid-column:1}
 #ordersPanelPage .bb-map-person-217 .bb-courier-metrics {grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

body.boxboy-theme-light #ordersPanelPage .bb-map-store-217 {color:#152b3c!important}
body.boxboy-theme-light #ordersPanelPage .bb-map-store-217 .bb-store-popup-title-v5660 strong,
body.boxboy-theme-light #ordersPanelPage .bb-map-store-217 .bb-store-popup-metric-v5660 b {color:#152b3c!important}
body.boxboy-theme-light #ordersPanelPage .bb-map-store-217 .bb-store-popup-title-v5660 small,
body.boxboy-theme-light #ordersPanelPage .bb-map-store-217 .bb-store-popup-metric-v5660 small {color:#526e82!important}
body.boxboy-theme-light #ordersPanelPage .bb-map-store-217 .bb-store-popup-metric-v5660 {background:#f1f6fa!important;border-color:#d4e1eb!important}
body.boxboy-theme-light #ordersPanelPage .gm-style .gm-style-iw-c:has(.bb-map-store-217),
body.boxboy-theme-light #ordersPanelPage .leaflet-popup-content-wrapper:has(.bb-map-store-217) {background:#fff!important;color:#152b3c!important}
body.boxboy-theme-light #ordersPanelPage .gm-style .gm-style-iw-tc:has(+ .gm-style-iw-c .bb-map-store-217)::after {background:#fff!important}
body.boxboy-theme-light #ordersPanelPage .gm-style .gm-style-iw-c:has(.bb-map-store-217) button.gm-ui-hover-effect {filter:none!important}

/* Keep the content reachable on short mobile screens; the map close control stays visible. */
#ordersPanelPage .gm-style-iw-d:has(.bb-map-person-217),
#ordersPanelPage .gm-style-iw-d:has(.bb-map-store-217) {max-height:max(64px,calc(var(--bb-map-height-217, 100vh) - 90px))!important;overflow-y:auto!important;overscroll-behavior:contain}
#ordersPanelPage .leaflet-popup-content:has(.bb-map-person-217),
#ordersPanelPage .leaflet-popup-content:has(.bb-map-store-217) {max-height:max(64px,calc(var(--bb-map-height-217, 100vh) - 110px))!important;overflow-y:auto!important;overscroll-behavior:contain}
