/* Selected sectors stay docked; transient hover cards keep their existing layout. */
#map-hover-panel.guest-sector-panel-active.sector-side-panel {
  position: fixed !important;
  inset: 12px auto 12px 12px !important;
  width: min(410px, calc(100vw - 76px)) !important;
  height: auto !important;
  max-height: none !important;
  transform: none !important;
  overflow: auto !important;
  overscroll-behavior: contain;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 32px #18213226;
}
body.map-search-page #map-hover-panel.guest-sector-panel-active.sector-side-panel > .hover-card {
  min-height: 100%;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: inherit !important;
  background: #fff !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
#map-hover-panel.sector-side-panel .guest-sector-panel {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}
#map-hover-panel.sector-side-panel .hover-card::before,
#map-hover-panel.sector-side-panel .hover-card::after { display: none !important; }
.sector-side-content { color: #171a20; padding: 20px; font-size: 14px; line-height: 1.45; }
.sector-side-content * { box-sizing: border-box; min-width: 0; }
.sector-side-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; position: sticky; top: -20px; margin: -20px -20px 0; padding: 20px; background: #fff; z-index: 2; border-bottom: 1px solid #e8eaee; }
.sector-side-header p { margin: 0 0 4px; color: #646c78; font-size: 12px; }
.sector-side-header h3 { margin: 0; font-size: 24px; line-height: 1.2; overflow-wrap: anywhere; }
.sector-side-header button { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border: 1px solid #e3e5e9; border-radius: 50%; background: #fff; color: #171a20; cursor: pointer; padding: 0; }
.sector-side-location { display: flex; align-items: flex-start; gap: 8px; color: #646c78; margin: 16px 0 20px; overflow-wrap: anywhere; }
.sector-side-location .material-symbols-outlined { font-size: 20px; flex-shrink: 0; }
.sector-side-locate { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; padding: 8px; background: #fff; color: #171a20; border: 1px solid #d9dde3; border-radius: 10px; cursor: pointer; font: inherit; font-weight: 600; }
.sector-side-locate:hover { background: #f5f6f8; }
.sector-side-locate .material-symbols-outlined { font-size: 20px; flex-shrink: 0; }
.sector-side-location-note { margin: 6px 0 16px; color: #646c78; font-size: 12px; }
.sector-side-intro { border-top: 1px solid #e8eaee; padding-top: 18px; }
.sector-side-intro h4 { margin: 0; font-size: 16px; }
.sector-side-intro p, .sector-side-footer p { margin: 4px 0 12px; color: #646c78; font-size: 12px; }
.sector-preview-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.sector-preview-list > li { margin: 0; padding: 0; border-bottom: 1px solid #e8eaee; }
.sector-preview-card { display: grid; grid-template-columns: 106px minmax(0, 1fr); gap: 12px; padding: 16px 0; color: inherit; text-decoration: none; border-radius: 8px; }
.sector-preview-card:hover { background: #f5f6f8; }
.sector-preview-media { align-self: start; height: 106px; border-radius: 12px; overflow: hidden; background: #f0f2f5; display: grid; place-items: center; }
.sector-preview-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sector-preview-placeholder { font-size: 32px; color: #7a828e; }
.sector-preview-copy { display: grid; gap: 4px; overflow-wrap: anywhere; font-size: 12px; color: #646c78; }
.sector-preview-copy strong { color: #171a20; font-size: 14px; font-weight: 600; line-height: 1.35; }
.sector-preview-copy .sector-preview-price { font-size: 16px; color: #005ce6; font-weight: 700; }
.sector-preview-action { color: #171a20; font-weight: 600; margin-top: 3px; }
.sector-side-footer { padding-top: 20px; }
.sector-side-more { display: flex; gap: 12px; align-items: center; justify-content: center; min-height: 46px; padding: 10px 14px; background: #171a20; color: #fff; border-radius: 12px; text-decoration: none; font-weight: 600; }
.sector-side-more:hover { background: #303641; color: #fff; }
.sector-side-content :is(a,button):focus-visible { outline: 3px solid #005ce6; outline-offset: 3px; }
@media (max-width: 767px) {
  #map-hover-panel.guest-sector-panel-active.sector-side-panel {
    inset: auto 6px calc(66px + env(safe-area-inset-bottom, 0px)) 6px !important;
    width: auto !important;
    max-height: 62vh !important;
    max-height: 62dvh !important;
    border-radius: 20px 20px 12px 12px;
  }
  .sector-side-content { padding: 16px; }
  .sector-side-header { top: -16px; margin: -16px -16px 0; padding: 16px; }
  .sector-side-header h3 { font-size: 20px; }
  .sector-preview-card { grid-template-columns: 90px minmax(0, 1fr); gap: 10px; }
  .sector-preview-media { height: 90px; }
}
