.partner-main h1 { font: 400 clamp(58px, 10vw, 139px)/.89 var(--serif); letter-spacing: -.035em; margin: 0 0 25px; }
.partner-main h1 em { color: var(--clay); }
.partner-lead { max-width: 48ch; margin-bottom: 32px; }
.partner-form { max-width: 50rem; scroll-margin-top: 24px; }
.partner-entry-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 36px; }
.partner-form fieldset { border: 0; border-top: 1px solid var(--line); min-width: 0; margin: 0 0 25px; padding: 15px 0 0; }
.partner-form legend { font: 400 2.2rem/1 var(--serif); padding: 0 12px 0 0; }
.partner-form .form-note { margin: 8px 0 15px; }
.partner-form input[type=file] { padding: 9px; }
.partner-form .publish-consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
.publish-consent input { width: 17px; min-height: auto; margin: 4px 0 0; flex: none; }
.partner-form select, .map-filter select { width: 100%; min-height: 44px; padding: 8px; background: var(--cream); border: 1px solid var(--line); color: var(--ink); }
.partner-map { height: clamp(265px, 52vw, 510px); width: 100%; background: #deeee7; isolation: isolate; }
.partner-map[hidden] { display: none; }
.map-filter { display: block; max-width: 18rem; margin-bottom: 18px; }
.map-listings { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)); gap: 18px; }
.map-listings article { min-width: 0; background: var(--cream); border: 1px solid var(--line); padding: 18px; }
.map-listings h2 { margin: 8px 0 10px; font-size: 2rem; }
.map-listings img { aspect-ratio: 4 / 3; object-fit: cover; }
.map-listings .map-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 5px; }
.map-listings a { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }
.map-listings ul { display: flex; flex-wrap: wrap; gap: 5px 15px; list-style: none; padding: 0; }

.partner-form .room-entry { padding: 16px; border: 1px solid var(--line); }
.room-amenities { display: flex; flex-wrap: wrap; gap: 8px 17px; }
.room-amenities label { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.room-amenities input { width: auto; min-height: auto; margin: 0; }
.room-preview { border-top: 1px solid var(--line); margin-top: 15px; padding-top: 12px; }
.room-preview summary { cursor: pointer; font-weight: 650; }
.room-preview dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
.room-preview dd { margin: 0; }

#transport-type[hidden] { display: none; }
.map-controls { margin-bottom: 14px; }
.map-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.map-filters button { border: 1px solid var(--line); border-radius: 20px; padding: 6px 12px; background: var(--cream); color: var(--ink); }
.map-filters button[aria-pressed=true] { background: #007b73; border-color: #007b73; color: white; }
.map-popup img { max-width: 190px; max-height: 125px; object-fit: cover; margin-block: 7px; }
.map-popup ul { padding-left: 17px; }
.map-popup + .map-popup { margin-top: 14px; }
#connect-profile, .connect-chat { max-width: 48rem; }
#connect-profile[hidden], .connect-chat[hidden], #connect-sign-in[hidden], #connect-current-photo[hidden], #connect-message-form[hidden] { display: none; }
#connect-profile h2, .connect-chat h2 { font: 400 clamp(35px, 6vw, 70px)/1 var(--serif); margin: 22px 0; }
.connect-chat { border-top: 1px solid var(--line); margin-block: 25px; padding-top: 16px; }
.connect-avatar, #connect-current-photo { width: 100px; height: 100px; object-fit: cover; border-radius: 50%; }
.connect-check { display: flex; align-items: start; gap: 9px; }
.connect-check input { width: auto; min-height: 0; margin-top: 4px; }
#connect-contacts a { text-decoration: underline; }
#connect-messages { padding-left: 26px; overflow-wrap: anywhere; }

.connect-availability::before {
  content: '';
  display: inline-block;
  width: .65rem;
  height: .65rem;
  margin-inline-end: .45rem;
  border-radius: 50%;
  background: #b34241;
}
.connect-open::before { background: #168250; }

.island-map-page { background: #f7fcfb; }
.island-map-page .partner-main { width: min(100%, 1520px); margin-inline: auto; padding-top: clamp(36px, 6vw, 80px); }
.island-map-intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px; margin-bottom: 26px; }
.island-map-intro h1 { font-size: clamp(48px, 7.5vw, 104px); margin-bottom: 14px; }
.island-map-intro h1 em { color: #087d76; }
.island-map-intro .partner-lead { margin: 0; }
.island-map-page #map-nearby { border: 1px solid #a7d8d2; border-radius: 999px; background: #e3f7f4; color: #075850; }
.island-map-page .map-filters { margin-bottom: 0; }
.island-map-page .map-filters button { min-height: 42px; padding-inline: 15px; border-color: #cfe5df; background: white; color: #284a47; font-size: .9rem; cursor: pointer; }
.island-map-page .map-filters button:hover { background: #e4f8f4; }
.island-map-page .map-filters button[aria-pressed=true] { border-color: #5d9d92; background: #e2f4ed; color: #194f49; }
.island-map-page #map-nearby-status:empty { display: none; }
.island-map-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(285px, 355px); gap: clamp(12px, 2vw, 22px); }
.island-map-page #island-map, .island-map-results { height: clamp(460px, 64vh, 680px); border: 1px solid #cfe5df; border-radius: 24px; box-shadow: 0 12px 32px #17706313; }
.island-map-page #island-map { background: #b8e7ee; }
.island-map-page .leaflet-tile-pane { filter: saturate(1.33) brightness(1.035); }
.island-map-page .leaflet-popup-content-wrapper { border-radius: 18px; }
.island-map-page .map-popup strong { display: block; margin-top: 4px; font-size: 1rem; }
.island-map-page .map-popup img { display: block; border-radius: 10px; }
.island-map-results { overflow: auto; background: #eaf7f3; padding: 16px; }
.island-map-results > header h2 { margin: 0; font: 400 2rem/1 var(--serif); }
.island-map-results > header p { margin: 7px 0 14px; color: #375752; font-size: .9rem; }
.island-map-results > header a { color: #075850; text-decoration: underline; }
.island-map-results .map-listings { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.island-map-results .map-listings article { background: white; border: 1px solid #d5e8e3; border-radius: 16px; padding: 14px; }
.island-map-results .map-listings article:target { outline: 2px solid #00776e; outline-offset: -2px; }
.island-map-results .map-listings h3 { margin: 9px 0 4px; font: 400 1.65rem/1.05 var(--serif); }
.island-map-results .map-listings p { margin: 4px 0; }
.island-map-results .map-listings .map-gallery img { width: 100%; aspect-ratio: 2 / 1; border-radius: 10px; }
.map-card-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.map-card-category { color: #47645d; font-size: .875rem; }
.map-demo-badge { display: inline-block; border-radius: 999px; padding: 3px 8px; background: #fde9dd; color: #80402e; font-size: .8125rem; font-weight: 650; }
.map-card-metrics { background: #eff8f5; border-radius: 10px; margin-top: 8px; padding: 4px 9px; font-size: .875rem; }
/* Category color sits behind the white pictogram in filters and on the map. */
.map-glyph {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: var(--icon-color, #658ca2);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.map-symbol { display: inline-grid; position: relative; flex: none; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--icon-color, #658ca2); }
.map-symbol .map-glyph { width: 17px; height: 17px; stroke: #fff; }
.map-symbol .map-glyph-silhouette { stroke: none; fill: #fff; fill-rule: evenodd; }
.map-symbol-dining, .map-symbol-stays { --icon-color: #b76d5a; }
.map-symbol-nightlife, .map-symbol-events { --icon-color: #976db4; }
.map-symbol-coworking, .map-symbol-worship { --icon-color: #688bbc; }
.map-symbol-church { --icon-color: #a77caf; }
.map-symbol-remote, .map-symbol-beach, .island-map-page .work-flag, #connect-message-form button { --icon-color: #398f80; }
.map-symbol-hospital { --icon-color: #bd6f8e; }
.map-symbol-pharmacy, .map-symbol-connect { --icon-color: #76995d; }
.map-symbol-sunset, .map-symbol-fuel, .map-symbol-grocery { --icon-color: #a98137; }
.map-symbol-tours, .map-symbol-bajaji, .map-symbol-cave { --icon-color: #508c9f; }
.map-symbol-gym, .map-symbol-boda { --icon-color: #8879b9; }
.map-symbol-taxi { --icon-color: #b67a43; }
.map-symbol-boat, .map-symbol-diving { --icon-color: #558cae; }
.map-symbol-kitesurf { --icon-color: #9b73b1; }
.map-symbol-culture, .map-symbol-riding { --icon-color: #ae725c; }
#connect-message-form button { --icon-color: #a3e0d0; }
.island-map-page .map-filters button { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px 5px 8px; }
.island-map-results .map-listings .map-card-category { display: flex; align-items: center; gap: 7px; }
.island-map-page .work-flag, #connect-message-form button { display: inline-flex; align-items: center; gap: 5px; }
.island-map-page .work-flag::before { content: none; }
.island-map-page .work-flag .map-glyph { width: 17px; height: 17px; }
#island-map { --pin-glyph: 23px; --pin-area: 36px; --pin-flag: 17px; }
#island-map[data-pin-zoom=overview] { --pin-glyph: 14px; --pin-area: 22px; --pin-flag: 11px; }
#island-map[data-pin-zoom=region] { --pin-glyph: 18px; --pin-area: 28px; --pin-flag: 14px; }
#island-map .coliza-map-pin { background: transparent; border: 0; pointer-events: none; }
.map-pin-symbols { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.coliza-map-pin .map-symbol { width: var(--pin-area); height: var(--pin-area); pointer-events: auto; }
.coliza-map-pin .map-glyph { width: var(--pin-glyph); height: var(--pin-glyph); }
.coliza-map-pin .map-pin-flag { position: absolute; right: -2px; bottom: 0; width: var(--pin-flag); height: var(--pin-flag); }
.map-pin-flag .map-glyph { width: 69%; height: 69%; }
.coliza-map-pin .map-symbol[data-status]::after { content: ''; position: absolute; bottom: 1px; right: 1px; width: 9px; height: 9px; border: 1px solid #654248; border-radius: 50%; background: #ec9b9e; }
.coliza-map-pin .map-symbol[data-status=open]::after { border-color: #3f654b; background: #9bd5a4; }

@media (max-width: 760px) {
  .island-map-layout { grid-template-columns: minmax(0, 1fr); }
  .island-map-page #island-map { height: clamp(330px, 72vw, 460px); border-radius: 20px; }
  .island-map-results { height: auto; max-height: none; border-radius: 20px; }
  .island-map-page .map-filters { flex-wrap: nowrap; overflow-x: auto; padding: 4px 2px 9px; }
  .island-map-page .map-filters button { flex: 0 0 auto; }
}

.partner-pricing { max-width: 50rem; margin-top: clamp(35px, 6vw, 70px); margin-bottom: clamp(28px, 5vw, 60px); }
.partner-pricing h2 { font: 400 clamp(36px, 5vw, 58px)/1 var(--serif); margin-bottom: 16px; }
.partner-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 12px; }
.partner-plan-grid article { padding: 18px; border-radius: 16px; background: #edf7f2; }
.partner-plan-grid h3 { margin: 0 0 8px; color: var(--clay); }
.partner-plan-grid p { margin: 8px 0 0; }
.partner-plan-price { font-weight: 700; font-size: 1.3rem; }
.partner-plan-price span { font-size: 1rem; font-weight: 400; }
.partner-addons { margin: 14px 0; }
.partner-addons div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-block: 8px; }
.partner-addons dd { margin: 0; font-weight: 650; text-align: right; }
#activity-type[hidden], #activity-filters[hidden] { display: none; }
#activity-filters { margin-top: 10px; }

.partner-booking-note { padding: 13px 16px; margin-block: 16px; border-left: 3px solid #4d9b8b; border-radius: 0 9px 9px 0; background: #edf7f2; }
.partner-booking-note strong { display: block; margin-bottom: 3px; color: #245951; }

.restaurant-search { display: grid; gap: 5px; margin-bottom: 12px; }
.restaurant-search[hidden] { display: none; }
.restaurant-directory-card h3 { margin: 0; }
.restaurant-directory-card p { margin: 5px 0 0; }

.map-symbol-beauty, .map-symbol-nails, .map-symbol-lashes { --icon-color: #a95778; }
.map-symbol-massage, .map-symbol-facials { --icon-color: #5c8c80; }
.map-symbol-hair { --icon-color: #9b6a58; }

.map-filters[hidden] { display: none; }
.map-symbol-pilates, .map-symbol-yoga, .map-symbol-boxing { --icon-color: #8879b9; }
.map-symbol-club { --icon-color: #976db4; }
.map-symbol-turtle { --icon-color: #5c8c80; }
#partner-total { font-weight: 700; }
.partner-form :is([data-general-offer], #cave-turtles)[hidden] { display: none; }
.partner-form a { text-decoration: underline; text-underline-offset: .2em; }
