/* StuartLocal v3300 — calmer, map-first visitor experience */
:root {
  --sl-v3300-navy: #0b2d4d;
  --sl-v3300-ink: #17394d;
  --sl-v3300-teal: #087f86;
  --sl-v3300-teal-dark: #05666d;
  --sl-v3300-coral: #ef6c62;
  --sl-v3300-sand: #f4f0e7;
  --sl-v3300-mist: #f3f7f6;
  --sl-v3300-line: #dce7e5;
  --sl-v3300-shadow: 0 24px 70px rgba(11, 45, 77, .14);
}

body {
  background: #f7f8f5;
  color: var(--sl-v3300-ink);
}

.sl-header {
  border-bottom-color: rgba(11, 45, 77, .08);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 4px 24px rgba(11, 45, 77, .04);
  backdrop-filter: blur(14px);
}

.sl-header-inner {
  min-height: 70px;
}

.sl-brand img {
  width: 156px;
}

.sl-nav {
  gap: 28px;
}

.sl-nav a {
  color: #526979;
  font-size: 12px;
  letter-spacing: -.01em;
}

.sl-nav a:hover,
.sl-nav a.active {
  color: var(--sl-v3300-navy);
}

.sl-saved,
.sl-account-toggle {
  box-shadow: none;
}

/* Explore intro: a compact orientation, not a second homepage. */
.explore-page .sl-explore-intro {
  min-height: 188px;
  display: flex;
  align-items: center;
  padding: 28px 20px 48px;
  background-position: center 55%;
}

.explore-page .sl-explore-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 248, 245, .98) 0%, rgba(247, 248, 245, .92) 42%, rgba(247, 248, 245, .28) 78%, rgba(247, 248, 245, .06));
}

.explore-page .sl-explore-intro::after {
  opacity: .18;
}

.explore-page .sl-planner-hero-inner {
  width: min(1320px, 100%);
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  align-items: center;
  gap: clamp(28px, 6vw, 92px);
  margin: 0 auto;
  text-align: left;
}

.sl-explore-sponsor { width: 100%; height: 86px; overflow: hidden; border: 1px solid rgba(11,45,77,.14); border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: 0 10px 28px rgba(11,45,77,.1); transition: opacity .2s ease; }
.sl-explore-sponsor.is-loading { border-color: transparent; background: transparent; box-shadow: none; }
.sl-explore-sponsor.is-changing { opacity: .45; }
.sl-explore-sponsor-link { position: relative; display: grid; grid-template-columns: minmax(118px,38%) 1fr; align-items: stretch; width: 100%; height: 100%; color: var(--sl-v3300-navy); text-decoration: none; }
.sl-explore-sponsor-link.has-image { display: block; background: #fff; }
.sl-explore-sponsor img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.sl-explore-sponsor-link.has-image .sl-explore-sponsor-copy { display: none; }
.sl-explore-sponsor-copy,
.sl-explore-sponsor-placeholder { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 13px 17px; }
.sl-explore-sponsor-copy strong,
.sl-explore-sponsor-placeholder strong { font: 700 17px/1.05 Georgia,serif; }
.sl-explore-sponsor-copy small,
.sl-explore-sponsor-placeholder small { color: #607787; font-size: 10px; line-height: 1.3; }
.sl-explore-sponsor-label { position: absolute; z-index: 2; top: 6px; right: 7px; padding: 2px 6px; border-radius: 999px; background: rgba(255,255,255,.94); color: #607284; font-size: 8px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.sl-explore-sponsor-dot-nav { position: absolute; z-index: 2; right: 9px; bottom: 6px; display: flex; gap: 4px; }
.sl-explore-sponsor-dot { width: 5px; height: 5px; padding: 0; border: 0; border-radius: 50%; background: #b7c8ca; }
.sl-explore-sponsor-dot.active { background: var(--sl-v3300-teal); }

.explore-page .sl-explore-intro .sl-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--sl-v3300-teal-dark);
}

.explore-page .sl-explore-intro h1 {
  max-width: 680px;
  margin: 0;
  color: var(--sl-v3300-navy);
  font-size: clamp(34px, 4vw, 52px);
  line-height: .98;
  letter-spacing: -.035em;
}

.explore-page .sl-explore-intro p {
  max-width: 570px;
  margin: 10px 0 0;
  color: #587080;
  font-size: 14px;
  line-height: 1.5;
}

.explore-page .sl-explore-intro .sl-hero-actions {
  justify-content: flex-start;
  margin-top: 17px;
}

.explore-page .sl-explore-intro .sl-button {
  min-height: 42px;
  padding: 10px 17px;
  border-radius: 10px;
  box-shadow: none;
  font-size: 11px;
}

/* Main map shell */
.explore-page .sl-planner-page {
  position: relative;
  z-index: 4;
  margin-top: -26px;
  padding: 0 20px 52px;
}

.explore-page .sl-app-frame {
  width: min(1480px, 100%);
  margin: 0 auto;
  overflow: visible;
  border: 1px solid rgba(11, 45, 77, .1);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sl-v3300-shadow);
}

.explore-page .sl-app-toolbar {
  min-height: 72px;
  grid-template-columns: minmax(280px, 1.35fr) minmax(220px, .85fr) 116px 46px 112px;
  gap: 9px;
  padding: 12px;
  border-radius: 22px 22px 0 0;
  background: #fff;
}

.explore-page .sl-app-toolbar form,
.explore-page .sl-app-toolbar label,
.explore-page .sl-app-toolbar button {
  min-height: 46px;
  border-radius: 12px;
}

.explore-page .sl-app-toolbar .sl-search-box {
  border-color: #b8d7d4;
  background: #f8fcfb;
  box-shadow: inset 0 0 0 1px rgba(8, 127, 134, .04);
}

.explore-page .sl-app-toolbar input,
.explore-page .sl-app-toolbar select {
  font-size: 12px;
}

.explore-page .sl-app-toolbar .sl-locate {
  width: 46px;
  border-color: #b8d7d4;
  background: #edf8f6;
  color: var(--sl-v3300-teal);
  box-shadow: none;
}

.explore-page .sl-app-toolbar .sl-filter-button {
  border-color: var(--sl-v3300-teal);
  background: #fff;
  color: var(--sl-v3300-teal-dark);
  box-shadow: none;
}

.explore-page .sl-app-privacy {
  display: none;
}

/* Three primary modes; jobs and deals live in a quiet More menu. */
.explore-page .sl-app-tabs {
  width: auto;
  min-width: 0;
  display: flex;
  align-items: stretch;
  gap: 4px;
  padding: 7px 12px;
  border-top: 1px solid rgba(11, 45, 77, .06);
  border-bottom: 0;
  background: #fff;
}

.explore-page .sl-app-tabs .sl-mode-tab {
  min-width: 112px;
  min-height: 38px;
  flex: 0 0 auto;
  gap: 7px;
  padding: 8px 14px;
  overflow: visible;
  border: 0;
  border-radius: 10px;
  background: transparent !important;
  color: #5c7280 !important;
  box-shadow: none !important;
  cursor: pointer;
  font-size: 11px;
}

.explore-page .sl-app-tabs .sl-mode-tab::before {
  display: none;
}

.explore-page .sl-app-tabs .sl-mode-tab::after {
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
}

.explore-page .sl-app-tabs .sl-mode-tab.active {
  background: #edf8f6 !important;
  color: var(--sl-v3300-teal-dark) !important;
}

.explore-page .sl-app-tabs .sl-mode-tab span,
.explore-page .sl-app-tabs .sl-mode-tab[data-category] span,
.explore-page .sl-app-tabs .sl-mode-tab[data-show-plan] span {
  color: currentColor;
  filter: none;
}

.sl-more-local {
  position: relative;
  margin-left: auto;
}

.sl-more-local summary {
  min-width: 84px;
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 8px 14px;
  border: 1px solid #dce7e5;
  border-radius: 10px;
  background: #fff;
  color: #526979;
  font: 800 11px/1 Inter, sans-serif;
  cursor: pointer;
  list-style: none;
}

.sl-more-local summary::-webkit-details-marker {
  display: none;
}

.sl-more-local[open] summary {
  border-color: #94c5c1;
  color: var(--sl-v3300-teal-dark);
}

.sl-more-local > div {
  width: 238px;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1000;
  display: grid;
  gap: 5px;
  padding: 7px;
  border: 1px solid #dce7e5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(11, 45, 77, .18);
}

.sl-more-local button {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--sl-v3300-ink);
  text-align: left;
  cursor: pointer;
}

.sl-more-local button:hover,
.sl-more-local button.active {
  background: #edf8f6;
}

.sl-more-local button b {
  font-size: 11px;
}

.sl-more-local button small {
  color: #6b7f8c;
  font-size: 9px;
}

/* Four useful choices replace the category ribbon. */
.explore-page .sl-place-quickbar {
  min-height: 52px;
  gap: 10px;
  padding: 8px 12px 10px;
  border-top: 0;
  border-bottom: 1px solid var(--sl-v3300-line);
  background: #fff;
  box-shadow: none;
}

.explore-page .sl-place-quickbar-title {
  display: none;
}

.explore-page .sl-place-quickbar-scroll {
  width: 100%;
  gap: 7px;
  overflow: visible;
  padding: 0;
}

.explore-page .sl-place-quickbar button {
  min-height: 34px;
  padding: 8px 13px;
  border-color: #dce7e5;
  border-radius: 9px;
  box-shadow: none;
  color: #536b79;
  cursor: pointer;
  font-size: 10px;
}

.explore-page .sl-place-quickbar button:hover,
.explore-page .sl-place-quickbar button.active {
  transform: none;
  border-color: #91c3bf;
  background: #edf8f6;
  color: var(--sl-v3300-teal-dark);
  box-shadow: none;
}

.sl-category-more {
  flex: 0 0 auto;
}

.sl-category-more summary {
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 8px 13px;
  border: 1px dashed #b8cbc8;
  border-radius: 9px;
  background: #fff;
  color: #607583;
  font: 800 10px/1 Inter, sans-serif;
  cursor: pointer;
  list-style: none;
}

.sl-category-more summary::-webkit-details-marker {
  display: none;
}

.sl-category-more[open] {
  display: flex;
  align-items: center;
  gap: 7px;
}

.sl-category-more[open] summary {
  border-style: solid;
  border-color: #91c3bf;
  background: #edf8f6;
  color: var(--sl-v3300-teal-dark);
}

.sl-category-more > div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.explore-page .sl-layout-switch {
  display: none;
}

.explore-page .sl-app-body,
.explore-page .sl-app-body.layout-split {
  position: relative;
  height: clamp(650px, 69vh, 780px);
  grid-template-columns: minmax(310px, 34%) minmax(0, 66%);
  border-radius: 0 0 22px 22px;
  background: #eef4f2;
}

.explore-page .sl-app-loading {
  position: absolute;
  inset: 0;
  z-index: 900;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 30px;
  background:
    radial-gradient(circle at 72% 24%, rgba(18, 151, 157, .12), transparent 31%),
    linear-gradient(135deg, #f8fbfa, #eaf4f2);
  color: var(--sl-v3300-navy);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility 0s linear .22s;
}

.explore-page .sl-app-body.is-loading .sl-app-loading {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.explore-page .sl-app-loading strong {
  font-family: var(--sl-display);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.explore-page .sl-app-loading small {
  color: #607987;
  font-size: 12px;
}

.explore-page .sl-app-loading-mark {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(8, 127, 134, .16);
  border-top-color: #087f86;
  border-radius: 50%;
  animation: sl-map-loading-spin .8s linear infinite;
}

@keyframes sl-map-loading-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .explore-page .sl-app-loading-mark { animation-duration: 1.6s; }
}

.explore-page .sl-app-body .sl-results-panel {
  border-right: 1px solid #d8e4e2;
  background: #fff;
}

.explore-page .sl-app-body .sl-panel-title {
  min-height: 76px;
  padding: 15px 17px 12px;
  border-bottom-color: rgba(11, 45, 77, .07);
}

.explore-page .sl-app-body .sl-panel-title h2 {
  color: var(--sl-v3300-navy);
  font-size: 23px;
  letter-spacing: -.02em;
}

.explore-page .sl-app-body .sl-panel-title p {
  margin-top: 3px;
  color: #71838d;
  font-size: 9px;
}

.explore-page .sl-result-list {
  padding: 8px 10px 16px;
  background: #f7f9f8;
}

.explore-page .sl-result-card {
  min-height: 108px;
  margin-bottom: 8px;
  padding: 11px;
  border-color: #e0e8e6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(11, 45, 77, .05);
}

.explore-page .sl-result-card:hover {
  border-color: #9fc9c5;
  box-shadow: 0 10px 25px rgba(11, 45, 77, .09);
  transform: translateY(-1px);
}

.explore-page .sl-result-visual {
  border-radius: 11px;
  box-shadow: none;
}

.explore-page .sl-result-copy h2 {
  color: var(--sl-v3300-navy);
  font-size: 17px;
}

.explore-page .sl-app-body .sl-map-wrap {
  background: #dce9e6;
}

.explore-page .leaflet-tile-pane {
  filter: saturate(.72) contrast(.98) brightness(1.03);
}

.explore-page .sl-map-layer-switch {
  top: 14px;
  right: 14px;
  padding: 4px;
  border: 1px solid rgba(11, 45, 77, .08);
  border-radius: 11px;
  box-shadow: 0 8px 24px rgba(11, 45, 77, .13);
}

.explore-page .sl-map-layer-switch button {
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 9px;
}

.explore-page .sl-map-controls {
  right: 14px;
  bottom: 14px;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(11, 45, 77, .08);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(11, 45, 77, .14);
}

.explore-page .sl-map-controls button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 9px;
  box-shadow: none;
}

.explore-page .sl-map-status {
  left: 14px;
  bottom: 14px;
  padding: 10px 13px;
  border: 1px solid rgba(11, 45, 77, .08);
  border-radius: 11px;
  box-shadow: 0 8px 24px rgba(11, 45, 77, .12);
}

.explore-page .sl-map-legend {
  right: 76px;
  bottom: 64px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(11, 45, 77, .12);
}

/* One calm cluster language replaces overlapping logo bubbles. */
.explore-page .sl-cluster.sl-cluster-simple {
  width: 48px;
  height: 48px;
  display: grid;
  place-content: center;
  gap: 0;
  border: 3px solid rgba(255, 255, 255, .96);
  border-radius: 50%;
  background: linear-gradient(145deg, #159a9c, #05666d) !important;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(5, 102, 109, .22), 0 7px 18px rgba(11, 45, 77, .24);
  text-align: center;
  cursor: pointer;
  transition: box-shadow .14s ease, border-color .14s ease;
}

.explore-page .sl-cluster.sl-cluster-simple:hover,
.explore-page .sl-cluster.sl-cluster-simple:focus-within {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(8, 127, 134, .16), 0 7px 18px rgba(11, 45, 77, .24);
  transform: none !important;
  filter: none !important;
}

/* The guide links already contain their visible arrow. */
.sl-guide-grid-premium .card-link::after {
  content: none;
}

/* Keep the final About principle balanced instead of leaving an empty grid column. */
.sl-about-grid > .sl-about-principle:last-child {
  grid-column: 1 / -1;
  min-height: 0;
}

.explore-page .sl-cluster.sl-cluster-simple b {
  font: 900 15px/1 Inter, sans-serif;
}

.explore-page .sl-cluster.sl-cluster-simple small {
  margin-top: 2px;
  color: rgba(255, 255, 255, .82);
  font: 800 6px/1 Inter, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.explore-page .sl-pin {
  border-width: 2px;
  box-shadow: 0 0 0 1px rgba(11, 45, 77, .12), 0 6px 15px rgba(11, 45, 77, .22);
}

.explore-page .sl-leaflet-icon,
.explore-page .sl-leaflet-icon > * {
  animation: none !important;
}

.explore-page .sl-leaflet-icon {
  cursor: pointer !important;
  transition: none !important;
  animation: none !important;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

/* The rotated pin is wider than Leaflet's rectangular icon box. Let the
   visible pin itself receive the pointer so its entire painted shape remains
   one stable target. A separate invisible halo overlaps nearby pins and can
   make hover ownership jump between businesses in dense areas. */
.explore-page .sl-leaflet-icon::before {
  content: none;
}

.explore-page .sl-leaflet-icon > .sl-pin {
  pointer-events: auto;
  cursor: pointer;
}

.explore-page .leaflet-tooltip-pane,
.explore-page .leaflet-tooltip {
  pointer-events: none !important;
  transition: none !important;
  animation: none !important;
}

.explore-page .leaflet-tooltip.sl-business-hover-tooltip {
  pointer-events: none !important;
  will-change: auto;
}

.explore-page .sl-pin::before,
.explore-page .sl-pin::after,
.explore-page .sl-pin * {
  pointer-events: none;
  animation: none !important;
}

.explore-page .sl-cluster-popup-shell .leaflet-popup-content-wrapper {
  width: 286px;
  overflow: hidden;
  border: 1px solid rgba(11, 45, 77, .1);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(11, 45, 77, .22);
}

.explore-page .sl-cluster-popup-shell .leaflet-popup-content {
  width: 286px !important;
  margin: 0;
}

.sl-cluster-popup {
  display: grid;
  gap: 8px;
  padding: 14px;
  font-family: Inter, sans-serif;
}

.sl-cluster-popup > span {
  color: var(--sl-v3300-teal-dark);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sl-cluster-popup > strong {
  color: var(--sl-v3300-navy);
  font: 700 23px/1 "Cormorant Garamond", Georgia, serif;
}

.sl-cluster-popup > div {
  display: grid;
  gap: 4px;
}

.sl-cluster-popup > div button,
.sl-cluster-popup .sl-cluster-zoom {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border: 1px solid #e0e8e6;
  border-radius: 9px;
  background: #f8faf9;
  color: var(--sl-v3300-ink);
  text-align: left;
  cursor: pointer;
}

.sl-cluster-popup > div button:hover,
.sl-cluster-popup > div button:focus-visible {
  border-color: #91c3bf;
  background: #edf8f6;
  outline: none;
}

.sl-cluster-popup button b {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sl-cluster-popup button small {
  overflow: hidden;
  color: #70838d;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sl-cluster-popup .sl-cluster-zoom {
  display: block;
  border-color: #a8cfcb;
  background: #fff;
  color: var(--sl-v3300-teal-dark);
  font-size: 9px;
  font-weight: 850;
  text-align: center;
}

.explore-page .sl-map-legend[open] {
  width: 248px;
}

.explore-page .sl-map-legend > .sl-map-key-grid {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px 9px;
  align-items: center;
  padding: 4px 13px 14px;
}

.sl-map-key-grid > span {
  width: 28px !important;
  height: 28px !important;
  display: grid;
  place-items: center;
  margin: 0;
  box-sizing: border-box;
}

.sl-map-key-grid .cluster-key {
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--sl-v3300-teal) !important;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(8, 127, 134, .25);
  font-size: 9px;
  font-weight: 900;
}

.sl-map-key-grid .light-key {
  width: 7px !important;
  height: 7px !important;
  margin-left: 11px;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 50%;
  background: #fde047 !important;
  box-shadow: 0 0 0 4px rgba(253, 224, 71, .18), 0 0 11px 5px rgba(94, 234, 212, .34);
}

.sl-map-key-grid .place-key {
  width: 20px !important;
  height: 20px !important;
  margin-left: 4px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 8px;
  background: var(--sl-v3300-navy) !important;
  box-shadow: 0 0 0 1px rgba(11, 45, 77, .24);
  transform: rotate(-45deg);
}

.sl-map-key-grid .start-key {
  width: 16px !important;
  height: 16px !important;
  margin-left: 6px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--sl-v3300-teal) !important;
  box-shadow: 0 0 0 3px rgba(8, 127, 134, .18);
}

.sl-map-key-grid .route-key {
  width: 28px !important;
  height: 6px !important;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--sl-v3300-coral) !important;
  box-shadow: 0 0 0 1px rgba(239, 108, 98, .22);
}

.sl-map-key-grid p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.sl-map-key-grid b {
  color: var(--sl-v3300-navy);
  font-size: 9px;
}

.sl-map-key-grid small {
  color: #71838d;
  font-size: 8px;
  line-height: 1.3;
}

/* A small help affordance replaces the competing report bubble. */
.sl-feedback-launcher {
  min-width: 48px !important;
  min-height: 40px !important;
  padding: 9px 13px !important;
  border: 1px solid rgba(255, 255, 255, .55) !important;
  border-radius: 12px !important;
  background: rgba(11, 45, 77, .92) !important;
  box-shadow: 0 8px 22px rgba(11, 45, 77, .18) !important;
  font-size: 0 !important;
}

.sl-feedback-launcher::before {
  content: "Help";
  color: #fff;
  font: 800 10px/1 Inter, sans-serif;
}

/* Home: unmistakably Stuart, with three immediate visitor decisions. */
body[data-page="home"] .sl-home-hero {
  min-height: 590px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 92px;
  background: linear-gradient(90deg, rgba(248, 248, 244, .98) 0%, rgba(248, 248, 244, .92) 38%, rgba(248, 248, 244, .22) 74%), url("../../images/stuart-waterfront-premium.webp") center/cover no-repeat;
}

body[data-page="home"] .sl-home-hero::after {
  background: linear-gradient(180deg, transparent 58%, rgba(11, 45, 77, .15));
}

body[data-page="home"] .sl-home-copy {
  max-width: 650px;
}

body[data-page="home"] .sl-home-copy > .sl-eyebrow {
  align-self: center;
  justify-content: center;
}

/* Mobile install invitation stays in the page flow so it never covers the map,
   planner controls, consent choices, or bottom navigation. */
.sl-install-card.sl-install-inline {
  position: relative;
  z-index: 80;
  inset: auto;
  display: flex;
  width: 100%;
  max-width: none;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 10px max(18px, calc((100% - 1320px) / 2));
  border: 0;
  border-bottom: 1px solid rgba(11, 45, 77, .12);
  border-radius: 0;
  background: #eff8f7;
  box-shadow: none;
  backdrop-filter: none;
}

.sl-install-card.sl-install-inline > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.sl-install-card.sl-install-inline strong {
  font: 800 13px/1.2 Inter, Arial, sans-serif;
}

.sl-install-card.sl-install-inline p {
  margin: 0;
  font-size: 12px;
}

.sl-install-card.sl-install-inline .sl-install-actions {
  flex: 0 0 auto;
  margin: 0;
}

.sl-install-card.sl-install-inline .sl-install-actions button {
  min-height: 34px;
  padding: 0 12px;
}

.sl-install-card.sl-install-inline ~ .sl-feedback-launcher {
  bottom: 18px;
}

@media (max-width: 820px) {
  .sl-install-card.sl-install-inline {
    gap: 10px;
    justify-content: space-between;
    padding: 9px 14px;
  }

  .sl-install-card.sl-install-inline > div:first-child {
    display: block;
  }

  .sl-install-card.sl-install-inline strong {
    font-size: 12px;
  }

  .sl-install-card.sl-install-inline p {
    display: none;
  }

  .sl-install-card.sl-install-inline .sl-install-actions {
    gap: 5px;
  }

  .sl-install-card.sl-install-inline .sl-install-actions button {
    min-height: 32px;
    padding: 0 9px;
    font-size: 11px;
  }

  .sl-install-card.sl-install-inline ~ .sl-feedback-launcher {
    bottom: 72px;
  }
}

body[data-page="home"] .sl-home-copy h1 {
  margin-top: 10px;
  color: var(--sl-v3300-navy);
  font-size: clamp(58px, 7vw, 96px);
  line-height: .84;
  letter-spacing: -.055em;
}

body[data-page="home"] .sl-home-copy h1 em {
  color: var(--sl-v3300-teal);
}

body[data-page="home"] .sl-home-copy p {
  max-width: 550px;
  margin-top: 25px;
  color: #4d6575;
  font-size: 17px;
  line-height: 1.65;
}

body[data-page="home"] .sl-home-copy .sl-button {
  min-height: 48px;
  border-radius: 11px;
  box-shadow: none;
}

body[data-page="home"] .sl-home-facebook-link {
  display: inline-grid;
  grid-template-columns: 26px auto 16px;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 9px;
  margin-top: 15px;
  padding: 8px 12px;
  border: 1px solid rgba(11, 45, 77, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .76);
  color: #0b2d4d;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(11, 45, 77, .08);
  backdrop-filter: blur(8px);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

body[data-page="home"] .sl-home-facebook-link:hover,
body[data-page="home"] .sl-home-facebook-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(24, 119, 242, .42);
  background: rgba(255, 255, 255, .94);
}

body[data-page="home"] .sl-home-facebook-link > span {
  grid-row: 1 / 3;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
  font: 800 18px/1 Arial, sans-serif;
}

body[data-page="home"] .sl-home-facebook-link strong {
  font-size: 13px;
  line-height: 1.15;
}

body[data-page="home"] .sl-home-facebook-link small {
  color: #5d7180;
  font-size: 11px;
  line-height: 1.2;
}

body[data-page="home"] .sl-home-facebook-link b {
  grid-column: 3;
  grid-row: 1 / 3;
  font-size: 13px;
}

body[data-page="home"] .sl-home-map {
  border-color: rgba(255, 255, 255, .82);
  border-radius: 24px;
  box-shadow: 0 30px 75px rgba(11, 45, 77, .2);
  transform: rotate(.6deg);
}

body[data-page="home"] .sl-map-search,
body[data-page="home"] .sl-map-card {
  border-radius: 13px;
  box-shadow: 0 12px 30px rgba(11, 45, 77, .14);
}

body[data-page="home"] .sl-shortcuts {
  width: min(1240px, calc(100% - 40px));
  margin-top: -46px;
  border: 1px solid rgba(11, 45, 77, .09);
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 22px 55px rgba(11, 45, 77, .12);
}

body[data-page="home"] .sl-shortcut {
  min-height: 116px;
  padding: 20px;
  border-color: rgba(11, 45, 77, .07);
  background: transparent;
}

body[data-page="home"] .sl-shortcut:hover {
  background: #f1f8f6;
}

body[data-page="home"] .sl-shortcut-icon {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--sl-v3300-navy);
  color: #fff;
  font-size: 9px;
  letter-spacing: .08em;
}

body[data-page="home"] .sl-shortcut strong {
  color: var(--sl-v3300-navy);
  font-size: 13px;
}

body[data-page="home"] .sl-shortcut small {
  margin-top: 5px;
  color: #71838d;
  line-height: 1.45;
}

body[data-page="home"] .sl-section {
  padding-block: 76px;
}

body[data-page="home"] .sl-section h2 {
  color: var(--sl-v3300-navy);
}

body[data-page="home"] .sl-card {
  border-color: #e0e8e6;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(11, 45, 77, .05);
}

body[data-page="home"] .sl-card:hover {
  border-color: #a6cac7;
  box-shadow: 0 14px 34px rgba(11, 45, 77, .09);
}

@media (max-width: 960px) {
  .explore-page .sl-explore-intro {
    min-height: 152px;
    padding: 22px 12px 42px;
  }

  .explore-page .sl-explore-intro h1 {
    font-size: clamp(31px, 7vw, 44px);
  }

  .explore-page .sl-planner-page {
    margin-top: -22px;
    padding-inline: 12px;
  }

  .explore-page .sl-app-frame {
    border-radius: 18px;
  }

  .explore-page .sl-app-toolbar {
    grid-template-columns: minmax(0, 1fr) 46px;
    padding: 10px;
    border-radius: 18px 18px 0 0;
  }

  .explore-page .sl-app-toolbar .sl-search-box {
    grid-column: 1;
    grid-row: 1;
  }

  .explore-page .sl-app-toolbar .sl-location-field {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .explore-page .sl-app-toolbar .sl-radius-field {
    grid-column: 1;
    grid-row: 3;
  }

  .explore-page .sl-app-toolbar .sl-locate {
    grid-column: 2;
    grid-row: 1;
  }

  .explore-page .sl-app-toolbar .sl-filter-button {
    grid-column: 2;
    grid-row: 3;
    display: grid;
    width: 46px;
    padding: 0;
  }

  .explore-page .sl-app-toolbar .sl-filter-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .explore-page .sl-app-tabs {
    padding: 6px 9px;
  }

  .explore-page .sl-app-tabs .sl-mode-tab {
    min-width: 0;
    flex: 1 1 0;
    padding-inline: 8px;
  }

  .sl-more-local {
    flex: 0 0 auto;
  }

  .sl-more-local summary {
    min-width: 62px;
    padding-inline: 10px;
  }

  .explore-page .sl-place-quickbar-scroll {
    overflow-x: auto;
  }

  .explore-page .sl-app-body,
  .explore-page .sl-app-body.layout-split,
  .explore-page .sl-app-body.layout-map,
  .explore-page .sl-app-body.layout-list {
    height: min(720px, 76vh);
    min-height: 580px;
    display: block;
  }

  .explore-page .sl-app-body .sl-map-wrap {
    position: absolute;
    inset: 0;
  }

  .explore-page .sl-app-body .sl-results-panel {
    width: auto;
    height: 46%;
    min-height: 132px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(11, 45, 77, .09);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(11, 45, 77, .18);
  }

  .explore-page .sl-app-body .sl-results-panel.collapsed {
    height: 108px;
  }

  .explore-page .sl-app-body .sl-results-panel.expanded {
    height: calc(100% - 20px);
  }

  .explore-page .sl-map-layer-switch {
    top: 12px;
    left: 12px;
    right: auto;
  }

  .explore-page .sl-map-legend {
    top: 62px;
    left: 12px;
    right: auto;
    bottom: auto;
  }

  .explore-page .sl-map-controls {
    top: 12px;
    right: 12px;
    bottom: auto;
  }

  .explore-page .sl-map-controls button:first-child {
    margin-top: 0;
  }

  .explore-page .sl-map-status {
    display: none;
  }

  .explore-page .sl-map-preview {
    bottom: 128px;
  }

  body[data-page="home"] .sl-home-hero {
    min-height: 720px;
    grid-template-columns: 1fr;
    padding-top: 55px;
    background: linear-gradient(180deg, rgba(248, 248, 244, .97) 0%, rgba(248, 248, 244, .86) 48%, rgba(248, 248, 244, .08) 78%), url("../../images/stuart-waterfront-premium.webp") center/cover no-repeat;
  }

  body[data-page="home"] .sl-home-copy h1 {
    font-size: clamp(58px, 13vw, 82px);
  }

  body[data-page="home"] .sl-home-map {
    transform: none;
  }

  body[data-page="home"] .sl-shortcuts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .sl-header-inner {
    min-height: 62px;
  }

  .sl-brand img {
    width: 130px;
  }

  .explore-page .sl-explore-intro {
    min-height: 214px;
    padding: 18px 17px 34px;
  }

  .explore-page .sl-planner-hero-inner { grid-template-columns: 1fr; gap: 12px; }
  .sl-explore-sponsor { height: 68px; border-radius: 11px; }
  .sl-explore-sponsor-link { grid-template-columns: minmax(92px,32%) 1fr; }
  .sl-explore-sponsor-copy,
  .sl-explore-sponsor-placeholder { padding: 9px 12px; }
  .sl-explore-sponsor-copy strong,
  .sl-explore-sponsor-placeholder strong { font-size: 14px; }

  .explore-page .sl-explore-intro h1 {
    font-size: 31px;
  }

  .explore-page .sl-explore-intro p {
    margin-top: 7px;
    font-size: 11px;
  }

  .explore-page .sl-explore-intro .sl-hero-actions {
    display: none;
  }

  .explore-page .sl-planner-page {
    margin-top: -18px;
    padding-inline: 7px;
  }

  .explore-page .sl-app-toolbar form,
  .explore-page .sl-app-toolbar label,
  .explore-page .sl-app-toolbar button {
    min-height: 43px;
  }

  .explore-page .sl-app-tabs .sl-mode-tab {
    min-height: 36px;
    gap: 4px;
    font-size: 9px;
  }

  .explore-page .sl-app-tabs .sl-mode-tab span {
    font-size: 13px;
  }

  .sl-more-local summary {
    min-width: 52px;
    min-height: 36px;
    font-size: 9px;
  }

  .sl-more-local > div {
    width: 220px;
  }

  .explore-page .sl-place-quickbar {
    padding: 7px 9px 9px;
  }

  .explore-page .sl-place-quickbar button {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 9px;
  }

  .explore-page .sl-app-body,
  .explore-page .sl-app-body.layout-split,
  .explore-page .sl-app-body.layout-map,
  .explore-page .sl-app-body.layout-list {
    height: calc(100dvh - 320px);
    min-height: 520px;
  }

  .explore-page .sl-app-body .sl-results-panel {
    height: 42%;
    left: 7px;
    right: 7px;
    bottom: 7px;
    border-radius: 16px;
  }

  .explore-page .sl-app-body .sl-panel-title {
    min-height: 66px;
    padding: 12px 13px 9px;
  }

  .explore-page .sl-app-body .sl-panel-title h2 {
    font-size: 20px;
  }

  .explore-page .sl-map-layer-switch {
    top: 9px;
    left: 9px;
  }

  .explore-page .sl-map-legend {
    display: none;
  }

  .explore-page .sl-map-controls {
    top: 9px;
    right: 9px;
  }

  .explore-page .sl-map-controls button {
    width: 44px;
    height: 44px;
  }

  .sl-feedback-launcher {
    right: 12px !important;
    bottom: 72px !important;
    width: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }

  .sl-feedback-launcher::before {
    content: "?";
    font-size: 14px;
  }

  body[data-page="home"] .sl-feedback-launcher {
    display: none;
  }

  body[data-page="home"] .sl-home-hero {
    min-height: 660px;
    padding: 44px 18px 88px;
  }

  body[data-page="home"] .sl-home-copy h1 {
    font-size: clamp(52px, 17vw, 72px);
  }

  body[data-page="home"] .sl-home-copy p {
    margin-top: 20px;
    font-size: 14px;
  }

  body[data-page="home"] .sl-home-copy .sl-hero-actions {
    align-items: stretch;
  }

  body[data-page="home"] .sl-home-copy .sl-button {
    justify-content: center;
  }

  body[data-page="home"] .sl-home-map {
    min-height: 280px;
    border-radius: 18px;
  }

  body[data-page="home"] .sl-shortcuts {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    margin-top: -34px;
    border-radius: 15px;
  }

  body[data-page="home"] .sl-shortcut {
    min-height: 92px;
    padding: 16px;
  }

  body[data-page="home"] .sl-section {
    padding-block: 56px;
  }
}

/* v3301 map usability pass: hierarchy, collision, and responsive fixes. */
body.modal-open .sl-feedback-launcher {
  display: none !important;
}

.explore-page :where(a[href], button, [role="button"], summary, label) {
  cursor: pointer !important;
}

/* Retained only as a compatibility note; older WebViews rejected this selector. */
/*

.explore-page :where(a[href], button, [role="button"], summary, label:has(input[type="checkbox"], input[type="radio"))) {
  cursor: pointer !important;
}

*/

.explore-page :where(button:disabled, [aria-disabled="true"]) {
  cursor: not-allowed !important;
}

.explore-page .sl-detail-visual.is-logo {
  height: 160px;
  margin-bottom: 20px;
}

.explore-page .sl-detail-visual.is-logo img {
  padding: 18px 28px !important;
}

.explore-page .sl-filter-actions {
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  box-shadow: 0 -14px 24px rgba(255, 255, 255, .96);
}

.explore-page .sl-filter-options label {
  cursor: pointer;
  transition: border-color .14s ease, background-color .14s ease, box-shadow .14s ease;
}

.explore-page .sl-filter-options label:hover {
  border-color: #9bc9c6;
  background: #f7fcfb;
}

.explore-page .sl-filter-options label:focus-within {
  outline: 3px solid rgba(21, 154, 156, .22);
  outline-offset: 2px;
}

.explore-page .sl-filter-options input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  cursor: pointer;
}

.explore-page .sl-filter-actions .sl-button {
  min-height: 48px;
  cursor: pointer;
}

.explore-page .sl-filter-actions .sl-button:disabled {
  opacity: .48;
  cursor: not-allowed;
}

@media (min-width: 961px) {
  .explore-page .sl-explore-intro {
    min-height: 148px;
    padding: 20px 20px 32px;
  }

  .explore-page .sl-explore-intro h1 {
    font-size: clamp(34px, 3.4vw, 46px);
  }

  .explore-page .sl-explore-intro p {
    margin-top: 7px;
  }

  .explore-page .sl-panel-title [data-open-filter],
  .explore-page .sl-map-controls [data-locate] {
    display: none;
  }

  .explore-page .sl-feedback-launcher {
    top: 88px !important;
    right: 18px !important;
    bottom: auto !important;
  }
}

@media (max-width: 960px) {
  .explore-page .sl-place-quickbar-scroll {
    overflow-x: auto;
    padding-right: 18px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-inline: contain;
  }

  .explore-page .sl-place-quickbar-scroll::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 600px) {
  .explore-page .sl-feedback-launcher {
    display: none !important;
  }

  .explore-page .sl-explore-intro {
    display: none;
  }

  .explore-page .sl-planner-page {
    margin-top: 0;
  }

  .explore-page .sl-detail-visual.is-logo {
    height: 132px;
  }
}

/* v3302 planner clarity pass: visible preferences and auditable estimates. */
.explore-page .sl-plan-tune {
  margin: 10px 0 14px;
  padding: 12px;
  border: 1px solid #cfe1e7;
  border-radius: 13px;
  background: linear-gradient(145deg, #f8fcfc, #edf8f6);
}

.explore-page .sl-plan-tune-head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}

.explore-page .sl-plan-tune-head h3 {
  margin: 3px 0 0;
  color: var(--sl-navy);
  font: 700 18px/1.1 var(--sl-display);
}

.explore-page .sl-plan-tune-head button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 9px;
  border: 1px solid #abcfd1;
  border-radius: 8px;
  background: #fff;
  color: var(--sl-blue-dark);
  font-size: 9px;
  font-weight: 850;
}

.explore-page .sl-plan-tune-grid {
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
  gap: 8px;
}

.explore-page .sl-plan-tune-grid label {
  display: grid;
  gap: 4px;
  color: var(--sl-navy);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.explore-page .sl-plan-tune-grid input,
.explore-page .sl-plan-tune-grid select {
  width: 100%;
  height: 38px;
  min-width: 0;
  padding: 0 9px;
  border: 1px solid #cddde3;
  border-radius: 9px;
  background: #fff;
  color: var(--sl-navy);
  font: 700 10px/1 Inter, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.explore-page .sl-plan-tune-grid > label:nth-child(3),
.explore-page .sl-plan-tune-grid > label:nth-child(4) {
  grid-column: 1 / -1;
}

.explore-page .sl-plan-tune-grid > button {
  grid-column: 1 / -1;
  min-height: 40px;
  border: 1px solid var(--sl-navy);
  border-radius: 9px;
  background: var(--sl-navy);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
}

.explore-page .sl-plan-tune > p {
  margin: 8px 0 0;
  color: var(--sl-muted);
  font-size: 9px;
  line-height: 1.4;
}

.explore-page .sl-plan-stop .sl-plan-cost {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
  margin-top: 4px;
  color: var(--sl-navy);
  font-weight: 800;
  line-height: 1.35;
}

.explore-page .sl-plan-cost em {
  padding: 2px 5px;
  border-radius: 999px;
  background: #edf4f7;
  color: #627887;
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.explore-page .sl-spend-estimate .sl-estimate-math {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid #d9e7ec;
  color: var(--sl-navy);
  font-size: 10px;
  font-weight: 850;
}

.explore-page .sl-plan-details {
  margin-top: 14px;
  border: 1px solid #d6e5e8;
  border-radius: 14px;
  background: #f7fbfc;
}

.explore-page .sl-plan-details summary {
  padding: 13px 15px;
  color: var(--sl-navy);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.explore-page .sl-plan-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 2px 15px 15px;
}

.explore-page .sl-plan-wide-field { grid-column: 1 / -1; }
.explore-page .sl-field small { color: var(--sl-muted); font-size: 9px; font-weight: 600; line-height: 1.35; }

.explore-page .sl-plan-check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 11px;
  border: 1px solid #d6e5e8;
  border-radius: 11px;
  background: #fff;
  color: var(--sl-navy);
}

.explore-page .sl-plan-check input { margin-top: 2px; accent-color: #087f86; }
.explore-page .sl-plan-check span { display: grid; gap: 3px; }
.explore-page .sl-plan-check b { font-size: 11px; }
.explore-page .sl-plan-check small { color: var(--sl-muted); font-size: 9px; line-height: 1.35; }

.explore-page .sl-plan-guidance,
.explore-page .sl-plan-alerts {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #edc987;
  border-radius: 11px;
  background: #fff8e8;
  color: #6f4b13;
  font-size: 10px;
  line-height: 1.45;
}

.explore-page .sl-plan-guidance strong,
.explore-page .sl-plan-alerts strong { color: #68420c; font-size: 11px; }
.explore-page .sl-plan-guidance ul,
.explore-page .sl-plan-alerts ul { margin: 6px 0 0; padding-left: 17px; }
.explore-page .sl-plan-guidance li + li,
.explore-page .sl-plan-alerts li + li { margin-top: 4px; }

.explore-page .sl-plan-stop .sl-plan-time {
  display: block;
  margin-top: 4px;
  color: #087f86;
  font-weight: 700;
}

.explore-page .sl-plan-why,
.explore-page .sl-plan-check-note {
  margin: 6px 0 0;
  color: var(--sl-muted);
  font-size: 10px;
  line-height: 1.4;
}

.explore-page .sl-plan-why { color: var(--sl-navy); }

.explore-page .sl-plan-backup {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 8px 9px;
  border-radius: 8px;
  background: #edf7f4;
  color: #285f55;
  font-size: 9px;
  line-height: 1.35;
}

.explore-page .sl-plan-backup button {
  flex: 0 0 auto;
  min-height: 29px;
  padding: 0 9px;
  border: 1px solid #7eb9aa;
  border-radius: 7px;
  background: #fff;
  color: #1d695b;
  font-size: 9px;
  font-weight: 850;
}

@media (max-width: 600px) {
  .explore-page .sl-plan-details-grid { grid-template-columns: 1fr; }
  .explore-page .sl-plan-wide-field { grid-column: auto; }
  .explore-page .sl-plan-backup { align-items: stretch; flex-direction: column; }
  .explore-page .sl-plan-tune-head {
    align-items: stretch;
    flex-direction: column;
  }

  .explore-page .sl-plan-tune-head button {
    width: 100%;
  }
}