:root {
  --ap-ink: #18383c;
  --ap-ink-soft: #52676a;
  --ap-sea: #147784;
  --ap-sea-dark: #0c5f69;
  --ap-sky: #cfe8e7;
  --ap-coral: #c76f4f;
  --ap-sun: #d89b3c;
  --ap-sand: #f7f3ec;
  --ap-white: #fff;
  --ap-line: rgba(24, 56, 60, .14);
  --ap-shadow: 0 24px 70px rgba(20, 65, 69, .12);
  --ap-radius: 28px;
  --ap-radius-sm: 16px;
}

.ap-button,
.ap-text-button,
.ap-filter,
.ap-near-me,
.ap-contact-action,
.ap-demo-link,
.ap-portal-action-card,
.ap-portal-logout,
.ap-pwa-install {
  -webkit-tap-highlight-color: transparent;
}

/* Hide guest-only fields for owners and local partners. */
.ap-request-form [data-ap-guest-only][hidden] {
  display: none !important;
}

.ap-button {
  align-items: center;
  background: var(--ap-sea);
  border: 1px solid var(--ap-sea);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 750;
  gap: .7rem;
  justify-content: center;
  letter-spacing: .08em;
  line-height: 1.15;
  min-height: 50px;
  padding: .9rem 1.5rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.ap-button svg,
.ap-text-button svg,
.ap-contact-action svg,
.ap-portal-action-card svg,
.ap-stay-summary svg,
.ap-wifi-card svg,
.ap-near-me svg {
  fill: none;
  height: 1.2em;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 1.2em;
}

.ap-button:hover {
  background: var(--ap-sea-dark);
  border-color: var(--ap-sea-dark);
  color: #fff;
  transform: translateY(-2px);
}

.ap-button--ghost {
  background: transparent;
  border-color: var(--ap-line);
  color: var(--ap-ink);
}
.ap-button--ghost:hover { background: var(--ap-ink); border-color: var(--ap-ink); }
.ap-button--small { font-size: .72rem; min-height: 42px; padding: .7rem 1.1rem; }
.ap-button--wide { width: 100%; }

.ap-kicker {
  color: var(--ap-coral);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  margin: 0 0 .75rem;
  text-transform: uppercase;
}

.ap-service-browser { width: 100%; }
.ap-filter-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.ap-filter,
.ap-near-me {
  align-items: center;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--ap-line);
  border-radius: 999px;
  color: var(--ap-ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  gap: .45rem;
  min-height: 42px;
  padding: .65rem 1rem;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ap-filter:hover,
.ap-filter.is-active,
.ap-near-me:hover { background: var(--ap-ink); border-color: var(--ap-ink); color: #fff; }
.ap-service-browser > .ap-filter-row { margin-bottom: 1.6rem; }

.ap-service-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ap-service-card {
  background: #fff;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: box-shadow .3s ease, transform .3s ease;
}
.ap-service-card:hover { box-shadow: var(--ap-shadow); transform: translateY(-5px); }
.ap-service-card[hidden] { display: none; }
.ap-service-card__media {
  aspect-ratio: 4 / 3;
  background: var(--ap-sky);
  overflow: hidden;
  position: relative;
}
.ap-service-card__media::after {
  background: linear-gradient(180deg, transparent 60%, rgba(19, 49, 53, .16));
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.ap-service-card__media img { height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); width: 100%; }
.ap-service-card:hover .ap-service-card__media img { transform: scale(1.045); }
.ap-chip {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, .86);
  border-radius: 999px;
  color: var(--ap-ink);
  font-size: .7rem;
  font-weight: 800;
  left: 1rem;
  letter-spacing: .08em;
  padding: .55rem .75rem;
  position: absolute;
  text-transform: uppercase;
  top: 1rem;
  z-index: 1;
}
.ap-service-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.35rem; }
.ap-service-card__audience {
  color: var(--ap-coral) !important;
  font-size: .68rem !important;
  font-weight: 800;
  letter-spacing: .13em;
  margin: 0 0 .65rem !important;
  text-transform: uppercase;
}
.ap-service-card h3 {
  color: var(--ap-ink);
  font-family: var(--ap-display, Georgia, serif);
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 .75rem;
}
.ap-service-card__body > p:not(.ap-service-card__audience) { color: var(--ap-ink-soft); font-size: .94rem; line-height: 1.62; margin: 0 0 1rem; }
.ap-service-card__footer {
  align-items: center;
  border-top: 1px solid var(--ap-line);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: auto;
  padding: 1rem 0;
}
.ap-price { color: var(--ap-ink); font-size: .83rem; font-weight: 800; }
.ap-text-button {
  align-items: center;
  background: none;
  border: 0;
  color: var(--ap-sea);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: .76rem;
  font-weight: 800;
  gap: .4rem;
  padding: .35rem 0;
}

.ap-service-dialog {
  background: #fff;
  border: 0;
  border-radius: 30px;
  box-shadow: 0 30px 100px rgba(9, 40, 44, .28);
  color: var(--ap-ink);
  display: none;
  grid-template-columns: minmax(240px, .85fr) minmax(300px, 1.15fr);
  max-height: min(760px, calc(100vh - 40px));
  max-width: min(920px, calc(100vw - 32px));
  overflow: hidden;
  padding: 0;
  width: 100%;
}
.ap-service-dialog[open] { display: grid; }
.ap-service-dialog::backdrop { backdrop-filter: blur(8px); background: rgba(16, 46, 50, .52); }
.ap-service-dialog__media { background: var(--ap-sky); min-height: 360px; }
.ap-service-dialog__media img { height: 100%; object-fit: cover; width: 100%; }
.ap-service-dialog__body { align-self: center; max-height: 100%; overflow: auto; padding: clamp(2rem, 5vw, 4.4rem); }
.ap-service-dialog h2 { font-family: var(--ap-display, Georgia, serif); font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 500; line-height: 1.06; margin: 0 0 1rem; }
.ap-service-dialog .ap-richtext { color: var(--ap-ink-soft); line-height: 1.75; }
.ap-service-dialog .ap-price { display: block; margin: 1.5rem 0; }
.ap-dialog-close {
  align-items: center;
  background: rgba(255, 255, 255, .92);
  border: 0;
  border-radius: 999px;
  color: var(--ap-ink);
  cursor: pointer;
  display: flex;
  font-size: 1.6rem;
  height: 44px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 44px;
  z-index: 2;
}

.ap-map-experience { background: #fff; border: 1px solid var(--ap-line); border-radius: clamp(20px, 3vw, 34px); overflow: hidden; }
.ap-map-toolbar {
  align-items: center;
  background: var(--ap-sand);
  border-bottom: 1px solid var(--ap-line);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem;
}
.ap-map-toolbar .ap-filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .1rem; scrollbar-width: none; }
.ap-map-toolbar .ap-filter-row::-webkit-scrollbar { display: none; }
.ap-near-me { flex: 0 0 auto; }
.ap-map-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, .7fr); min-height: 610px; }
.ap-map-canvas-wrap {
  background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.7), transparent 35%), linear-gradient(145deg, #b9dddd, #d8ece7 50%, #eee1c9);
  min-height: 540px;
  position: relative;
}
.ap-map-canvas { height: 100%; min-height: 540px; width: 100%; z-index: 1; }
.ap-map-loading,
.ap-map-fallback {
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--ap-line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(20, 56, 60, .12);
  color: var(--ap-ink);
  left: 50%;
  max-width: min(360px, calc(100% - 32px));
  padding: 1rem 1.2rem;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 500;
}
.ap-map-fallback p { margin: 0 0 .5rem; }
.ap-map-fallback a { color: var(--ap-sea); font-weight: 800; }
.ap-map-loading[hidden], .ap-map-fallback[hidden] { display: none; }
.ap-map-list { background: #fff; max-height: 610px; overflow: auto; padding: .7rem; }
.ap-place-card { border-bottom: 1px solid var(--ap-line); display: grid; grid-template-columns: 1fr auto; position: relative; }
.ap-place-card[hidden] { display: none; }
.ap-place-card.is-active { background: rgba(207, 232, 231, .42); border-radius: 14px; }
.ap-place-card__select {
  background: transparent;
  border: 0;
  color: var(--ap-ink);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font: inherit;
  gap: .3rem;
  padding: 1rem .6rem 1rem .85rem;
  text-align: left;
}
.ap-place-card__select strong { font-family: var(--ap-display, Georgia, serif); font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.ap-place-card__select > span:last-child { color: var(--ap-ink-soft); font-size: .82rem; line-height: 1.45; }
.ap-place-card__category { color: var(--ap-coral); font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ap-favourite { align-self: start; background: transparent; border: 0; color: #8a9a9c; cursor: pointer; margin: .7rem .35rem 0 0; padding: .55rem; }
.ap-favourite svg { fill: transparent; height: 1.15rem; stroke: currentColor; stroke-width: 1.8; transition: fill .2s ease, color .2s ease; width: 1.15rem; }
.ap-favourite.is-active { color: var(--ap-coral); }
.ap-favourite.is-active svg { fill: currentColor; }
.ap-leaflet-marker-wrap { background: none !important; border: 0 !important; }
.ap-leaflet-marker {
  align-items: center;
  background: var(--marker);
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 6px;
  box-shadow: 0 7px 16px rgba(20, 55, 59, .25);
  color: #fff;
  display: flex;
  height: 34px;
  justify-content: center;
  transform: rotate(-45deg);
  width: 34px;
}
.ap-leaflet-marker b { font-size: .72rem; transform: rotate(45deg); }
.ap-map-popup { color: var(--ap-ink); font-family: var(--ap-body, system-ui, sans-serif); padding: .25rem; }
.ap-map-popup strong { display: block; font-family: var(--ap-display, Georgia, serif); font-size: 1.25rem; }
.ap-map-popup p { color: var(--ap-ink-soft); line-height: 1.48; margin: .5rem 0 .8rem; }
.ap-map-popup div { display: flex; flex-wrap: wrap; gap: .55rem; }
.ap-map-popup a { color: var(--ap-sea); font-size: .75rem; font-weight: 800; }
.leaflet-control-attribution { font-size: 9px !important; }
.ap-map-experience--compact .ap-map-layout { min-height: 480px; }
.ap-map-experience--compact .ap-map-canvas, .ap-map-experience--compact .ap-map-canvas-wrap { min-height: 480px; }
.ap-map-experience--compact .ap-map-list { max-height: 480px; }

.ap-contact-panel {
  background: var(--ap-ink);
  border-radius: clamp(24px, 4vw, 40px);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(420px, 1.22fr);
  overflow: hidden;
}
.ap-contact-panel__intro {
  background: radial-gradient(circle at 10% 10%, rgba(61, 158, 166, .32), transparent 40%), var(--ap-ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
}
.ap-contact-panel__intro h2 { color: #fff; font-family: var(--ap-display, Georgia, serif); font-size: clamp(2.3rem, 5vw, 4.1rem); font-weight: 500; line-height: 1.04; margin: 0 0 1rem; }
.ap-contact-panel__intro > p:not(.ap-kicker):not(.ap-demo-note) { color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.7; margin: 0 0 1.5rem; }
.ap-contact-actions { display: grid; gap: .65rem; }
.ap-contact-action { align-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; color: #fff; display: flex; gap: .85rem; padding: .9rem 1rem; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.ap-contact-action:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.38); color: #fff; }
.ap-contact-action > svg { height: 1.3rem; width: 1.3rem; }
.ap-contact-action span { display: flex; flex-direction: column; }
.ap-contact-action small { color: rgba(255,255,255,.58); font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ap-contact-action strong { font-size: .88rem; }
.ap-demo-note { color: #f4c785; font-size: .72rem; line-height: 1.45; margin: 1rem 0 0; }
.ap-contact-panel__form { background: #fff; color: var(--ap-ink); padding: clamp(2rem, 5vw, 4rem); }
.ap-form-overline { align-items: baseline; color: var(--ap-ink); display: flex; font-size: .8rem; font-weight: 800; justify-content: space-between; letter-spacing: .08em; margin: 0 0 1.2rem; text-transform: uppercase; }
.ap-form-overline span { color: var(--ap-ink-soft); font-size: .65rem; }
.ap-form-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ap-field { display: flex; flex-direction: column; gap: .45rem; }
.ap-field--full { grid-column: 1 / -1; }
.ap-field > span { color: var(--ap-ink); font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.ap-field input,
.ap-field select,
.ap-field textarea {
  appearance: none;
  background: var(--ap-sand);
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--ap-ink);
  font: inherit;
  min-height: 49px;
  padding: .8rem .9rem;
  width: 100%;
}
.ap-field textarea { line-height: 1.55; resize: vertical; }
.ap-field select { background-image: linear-gradient(45deg,transparent 50%,var(--ap-ink) 50%),linear-gradient(135deg,var(--ap-ink) 50%,transparent 50%); background-position: calc(100% - 18px) 52%,calc(100% - 13px) 52%; background-repeat: no-repeat; background-size: 5px 5px,5px 5px; padding-right: 2.5rem; }
.ap-field input:focus,
.ap-field select:focus,
.ap-field textarea:focus { background: #fff; border-color: var(--ap-sea); box-shadow: 0 0 0 3px rgba(20,119,132,.13); outline: 0; }
.ap-consent { align-items: flex-start; color: var(--ap-ink-soft); display: flex; font-size: .75rem; gap: .6rem; line-height: 1.5; margin: 1.1rem 0; }
.ap-consent input { accent-color: var(--ap-sea); flex: 0 0 auto; margin-top: .2rem; }
.ap-consent a { color: var(--ap-sea); }
.ap-honeypot { height: 1px; left: -10000px; overflow: hidden; position: absolute; width: 1px; }
.ap-form-status { border-radius: 12px; line-height: 1.5; margin: 0 0 1rem; padding: .9rem 1rem; }
.ap-form-status--success { background: #e4f2ec; color: #1d624c; }
.ap-form-status--error { background: #f9e8e2; color: #863d29; }
.ap-contact-panel--compact { grid-template-columns: minmax(240px, .65fr) minmax(400px, 1.35fr); }

.ap-portal-login {
  background: #fff;
  border: 1px solid var(--ap-line);
  border-radius: clamp(24px, 4vw, 40px);
  box-shadow: var(--ap-shadow);
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(340px, 1.1fr);
  min-height: 620px;
  overflow: hidden;
}
.ap-portal-login__visual { background: linear-gradient(180deg, transparent 45%, rgba(8,54,61,.32)), url('../images/portal-marseille.jpg') center/cover; }
.ap-portal-login__content { align-self: center; padding: clamp(2rem, 6vw, 5rem); }
.ap-portal-login h1 { color: var(--ap-ink); font-family: var(--ap-display, Georgia, serif); font-size: clamp(3.2rem, 7vw, 5.4rem); font-weight: 500; line-height: .95; margin: 0 0 1rem; }
.ap-portal-login__content > p:not(.ap-kicker) { color: var(--ap-ink-soft); line-height: 1.7; }
.ap-portal-link-form { display: grid; gap: .8rem; margin-top: 1.5rem; }
.ap-demo-link { color: var(--ap-sea); display: inline-flex; font-size: .8rem; font-weight: 800; gap: .55rem; margin-top: 1rem; text-decoration: none; }
.ap-demo-link svg { fill: none; height: 1.1rem; stroke: currentColor; width: 1.1rem; }
.ap-portal { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.ap-portal-hero { align-items: end; background: linear-gradient(90deg, rgba(12,70,77,.96), rgba(12,70,77,.54)), url('../images/portal-marseille.jpg') center/cover; border-radius: clamp(24px, 4vw, 40px); color: #fff; display: flex; justify-content: space-between; min-height: 390px; padding: clamp(2rem, 6vw, 5rem); }
.ap-portal-hero h1 { color: #fff; font-family: var(--ap-display, Georgia, serif); font-size: clamp(3rem, 7vw, 6rem); font-weight: 500; line-height: .95; margin: 0 0 .6rem; }
.ap-portal-hero p:last-child { color: rgba(255,255,255,.76); margin: 0; }
.ap-portal-logout { border-bottom: 1px solid rgba(255,255,255,.4); color: #fff; font-size: .75rem; font-weight: 800; padding-bottom: .25rem; text-decoration: none; }
.ap-portal-welcome { align-items: flex-start; background: var(--ap-sand); border: 1px solid rgba(213,167,67,.28); border-radius: 18px; color: var(--ap-ink); display: flex; gap: .9rem; margin: -1.5rem auto 0; max-width: 980px; padding: 1rem 1.2rem; position: relative; width: calc(100% - 48px); z-index: 3; }
.ap-portal-welcome span { color: var(--ap-sun); font-size: 1.35rem; line-height: 1.35; }
.ap-portal-welcome p { line-height: 1.65; margin: 0; }
.ap-stay-summary { background: #fff; border: 1px solid var(--ap-line); border-radius: 22px; display: grid; grid-template-columns: repeat(3, 1fr); margin: -7rem auto 0; max-width: calc(100% - 80px); padding: 1.3rem; position: relative; width: 900px; z-index: 2; }
.ap-stay-summary > div { align-items: center; border-right: 1px solid var(--ap-line); display: flex; gap: .8rem; justify-content: center; min-height: 60px; padding: .4rem 1rem; }
.ap-stay-summary > div:last-child { border-right: 0; }
.ap-stay-summary svg { color: var(--ap-coral); height: 1.35rem; width: 1.35rem; }
.ap-stay-summary span { display: flex; flex-direction: column; }
.ap-stay-summary small { color: var(--ap-ink-soft); font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ap-stay-summary strong { color: var(--ap-ink); }
.ap-portal-quick-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.ap-wifi-card,
.ap-portal-action-card { align-items: center; background: #fff; border: 1px solid var(--ap-line); border-radius: 20px; color: var(--ap-ink); display: flex; gap: 1rem; min-height: 125px; padding: 1.2rem; text-decoration: none; transition: box-shadow .25s ease, transform .25s ease; }
.ap-wifi-card { background: var(--ap-sea); border-color: var(--ap-sea); color: #fff; }
.ap-portal-action-card:hover { box-shadow: var(--ap-shadow); color: var(--ap-ink); transform: translateY(-3px); }
.ap-wifi-card > svg, .ap-portal-action-card > svg:first-child { height: 1.5rem; width: 1.5rem; }
.ap-portal-action-card > svg:last-child { margin-left: auto; }
.ap-wifi-card > div, .ap-portal-action-card > span { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.ap-wifi-card small, .ap-portal-action-card small { color: currentColor; font-size: .66rem; font-weight: 800; letter-spacing: .08em; opacity: .66; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.ap-wifi-card strong, .ap-portal-action-card strong { font-family: var(--ap-display, Georgia, serif); font-size: 1.2rem; line-height: 1.2; }
.ap-secret { -webkit-text-security: disc; font-size: .8rem; opacity: .7; }
.ap-wifi-card button { align-items: center; background: rgba(255,255,255,.13); border: 0; border-radius: 12px; color: #fff; cursor: pointer; display: flex; flex-direction: column; font: inherit; font-size: .6rem; gap: .25rem; padding: .7rem; }
.ap-portal-section { display: grid; gap: 1.5rem; }
.ap-section-heading h2 { color: var(--ap-ink); font-family: var(--ap-display, Georgia, serif); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; line-height: 1; margin: 0; }
.ap-stay-details { display: grid; gap: .75rem; }
.ap-stay-details details { background: #fff; border: 1px solid var(--ap-line); border-radius: 16px; overflow: hidden; }
.ap-stay-details summary { color: var(--ap-ink); cursor: pointer; font-weight: 800; list-style: none; padding: 1.15rem 1.3rem; position: relative; }
.ap-stay-details summary::-webkit-details-marker { display: none; }
.ap-stay-details summary::after { content: '+'; font-size: 1.35rem; font-weight: 400; position: absolute; right: 1.3rem; top: .85rem; }
.ap-stay-details details[open] summary::after { content: 'âˆ’'; }
.ap-stay-details details > div { border-top: 1px solid var(--ap-line); color: var(--ap-ink-soft); line-height: 1.7; padding: .3rem 1.3rem 1.2rem; }
.ap-emergency-details { border-color: rgba(199,111,79,.35) !important; }
.ap-portal-request .ap-contact-panel { box-shadow: var(--ap-shadow); }
.ap-feedback-card { align-items: start; background: var(--ap-sky); border-radius: var(--ap-radius); display: grid; gap: 2rem; grid-template-columns: minmax(230px, .7fr) minmax(360px, 1.3fr); padding: clamp(2rem, 5vw, 4rem); }
.ap-feedback-card h2 { color: var(--ap-ink); font-family: var(--ap-display, Georgia, serif); font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 500; line-height: 1; margin: 0; }
.ap-feedback-card form { display: grid; gap: 1rem; }
.ap-rating { border: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; margin: 0; padding: 0; }
.ap-rating input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.ap-rating label { color: rgba(24,56,60,.25); cursor: pointer; font-size: 2.2rem; line-height: 1; padding: .15rem; }
.ap-rating label:hover,
.ap-rating label:hover ~ label,
.ap-rating input:checked ~ label { color: var(--ap-sun); }
.ap-rating input:focus-visible + label { outline: 3px solid var(--ap-sea); outline-offset: 3px; }
.ap-pwa-install { background: #fff; border: 1px solid var(--ap-line); border-radius: 999px; bottom: 1rem; box-shadow: var(--ap-shadow); color: var(--ap-ink); cursor: pointer; font: inherit; font-size: .75rem; font-weight: 800; padding: .8rem 1rem; position: fixed; right: 1rem; z-index: 900; }

.ap-team-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ap-team-card { background: #fff; border: 1px solid var(--ap-line); border-radius: var(--ap-radius); padding: 1rem; }
.ap-team-card__portrait { align-items: center; aspect-ratio: 4/3; background: linear-gradient(145deg, var(--ap-sky), var(--ap-sand)); border-radius: 20px; display: flex; justify-content: center; margin-bottom: 1.2rem; overflow: hidden; }
.ap-team-card__portrait img { height: 100%; object-fit: cover; width: 100%; }
.ap-team-card__portrait span { color: var(--ap-sea); font-family: var(--ap-display, Georgia, serif); font-size: 5rem; }
.ap-team-card h3 { color: var(--ap-ink); font-family: var(--ap-display, Georgia, serif); font-size: 2rem; font-weight: 500; margin: 0 0 .5rem; }
.ap-team-card > p:last-child { color: var(--ap-ink-soft); line-height: 1.65; margin: 0; }

@media (max-width: 980px) {
  .ap-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-map-layout { grid-template-columns: 1fr; }
  .ap-map-list { display: grid; gap: .5rem; grid-template-columns: repeat(2, 1fr); max-height: 350px; }
  .ap-map-canvas, .ap-map-canvas-wrap { min-height: 460px; }
  .ap-contact-panel, .ap-contact-panel--compact { grid-template-columns: 1fr; }
  .ap-contact-panel__intro { padding-bottom: 2rem; }
  .ap-portal-quick-grid { grid-template-columns: 1fr 1fr; }
  .ap-wifi-card { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .ap-service-grid { grid-template-columns: 1fr; }
  .ap-service-dialog[open] { display: block; overflow: auto; }
  .ap-service-dialog__media { min-height: 230px; }
  .ap-service-dialog__body { padding: 1.5rem; }
  .ap-map-toolbar { align-items: stretch; flex-direction: column; }
  .ap-near-me { align-self: flex-start; }
  .ap-map-layout { min-height: 0; }
  .ap-map-canvas, .ap-map-canvas-wrap { min-height: 390px; }
  .ap-map-list { display: block; max-height: 340px; }
  .ap-contact-panel__intro, .ap-contact-panel__form { padding: 1.5rem; }
  .ap-form-grid { grid-template-columns: 1fr; }
  .ap-field--full { grid-column: auto; }
  .ap-portal-login { display: block; min-height: 0; }
  .ap-portal-login__visual { min-height: 240px; }
  .ap-portal-hero { align-items: flex-start; flex-direction: column; justify-content: flex-end; min-height: 360px; }
  .ap-stay-summary { gap: .8rem; grid-template-columns: 1fr; margin-top: -3.5rem; max-width: calc(100% - 30px); }
  .ap-stay-summary > div { border-bottom: 1px solid var(--ap-line); border-right: 0; justify-content: flex-start; }
  .ap-stay-summary > div:last-child { border-bottom: 0; }
  .ap-portal-quick-grid { grid-template-columns: 1fr; }
  .ap-wifi-card { grid-column: auto; }
  .ap-feedback-card { grid-template-columns: 1fr; }
  .ap-team-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ap-service-card,
  .ap-service-card__media img,
  .ap-button,
  .ap-portal-action-card { scroll-behavior: auto; transition: none; }
}
