:root {
  --ap-navy: #071d49;
  --ap-navy-2: #123262;
  --ap-blue: #1686dc;
  --ap-blue-soft: #eaf6ff;
  --ap-green: #079a68;
  --ap-green-dark: #057650;
  --ap-green-soft: #eaf8f2;
  --ap-text: #10254a;
  --ap-muted: #5f708b;
  --ap-line: #dce5ee;
  --ap-line-strong: #cad7e4;
  --ap-soft: #f5f8fb;
  --ap-white: #ffffff;
  --ap-shadow: 0 18px 50px rgba(17, 42, 80, 0.1);
  --ap-shadow-soft: 0 8px 24px rgba(17, 42, 80, 0.07);
  --ap-radius-sm: 10px;
  --ap-radius: 14px;
  --ap-radius-lg: 18px;
  --ap-max: 1380px;
}

.portal-language-switcher {
  position: relative;
  z-index: 20;
  display: none;
  width: max-content;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(16, 54, 89, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(18, 49, 76, 0.16);
  color: #173451;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(12px);
  margin: 10px 18px 0 auto;
}

body[data-page="customer"] .portal-language-switcher,
body[data-page="provider"] .portal-language-switcher,
body[data-page="admin"] .portal-language-switcher {
  display: flex;
}

.portal-language-switcher select {
  min-width: 88px;
  border: 0;
  border-radius: 8px;
  background: #edf5fb;
  color: #173451;
  padding: 7px 28px 7px 9px;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 640px) {
  .portal-language-switcher {
    margin: 8px 10px 0 auto;
    padding: 6px 8px;
  }

  .portal-language-switcher > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

.protected-portal-gate {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 10%, rgba(14, 165, 233, 0.14), transparent 34%),
    linear-gradient(145deg, #f7fbff, #eef7f5 58%, #f8fafc);
}

.protected-portal-gate[hidden] {
  display: none;
}

body.protected-portal-loading {
  overflow: hidden;
}

.protected-portal-gate-card {
  display: grid;
  width: min(100%, 520px);
  justify-items: center;
  gap: 12px;
  padding: clamp(28px, 6vw, 48px);
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.16);
  color: #173451;
  text-align: center;
}

.protected-portal-gate-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #168ce3 0 58%, #0f9f75 58%);
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 950;
}

.protected-portal-gate-card p,
.protected-portal-gate-card h1,
.protected-portal-gate-card > span {
  margin: 0;
}

.protected-portal-gate-card p {
  color: #0f766e;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.protected-portal-gate-card h1 {
  color: #102d4b;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  line-height: 1.12;
}

.protected-portal-gate-card > span:not(.protected-portal-gate-icon) {
  max-width: 430px;
  color: #62748a;
  line-height: 1.55;
}

.protected-portal-gate-progress {
  width: min(100%, 300px);
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.protected-portal-gate-progress i {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #168ce3, #0f9f75);
  animation: protected-portal-loading 1.1s ease-in-out infinite alternate;
}

.protected-portal-gate[data-state="error"] .protected-portal-gate-progress {
  display: none;
}

.protected-portal-gate-card button {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 12px;
  background: #0f766e;
  color: #ffffff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

@keyframes protected-portal-loading {
  from { transform: translateX(-65%); }
  to { transform: translateX(165%); }
}

@media (prefers-reduced-motion: reduce) {
  .protected-portal-gate-progress i { animation: none; width: 100%; }
}

.review-form-fields {
  display: grid;
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.review-form-fields[hidden] {
  display: none;
}

.account-route-intro h2 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.legal-draft-notice,
.legal-verification-notice {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(217, 119, 6, 0.28);
  border-radius: 14px;
  background: #fff8e8;
  color: #7c4a03;
}

.legal-draft-notice span,
.legal-verification-notice p {
  margin: 0;
  color: #795b2b;
  font-size: 0.9rem;
  line-height: 1.5;
}

html {
  scroll-behavior: smooth;
  background: var(--ap-white);
}

body {
  background: var(--ap-white);
  color: var(--ap-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(22, 134, 220, 0.25);
  outline-offset: 3px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 82px;
  padding: 0 max(28px, calc((100vw - var(--ap-max)) / 2));
  border-bottom: 1px solid var(--ap-line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.brand {
  gap: 12px;
  color: var(--ap-navy);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px 12px 12px 5px;
  background: linear-gradient(145deg, var(--ap-blue) 0 52%, var(--ap-green) 53% 100%);
  color: var(--ap-white);
  font-size: 1.12rem;
  font-weight: 900;
  box-shadow: 0 9px 22px rgba(22, 134, 220, 0.18);
}

.brand-copy strong {
  color: var(--ap-navy);
  font-size: 1.23rem;
  letter-spacing: -0.025em;
}

.brand-copy small {
  color: var(--ap-muted);
  font-size: 0.72rem;
}

.nav {
  gap: 30px;
}

.nav a {
  position: relative;
  padding: 30px 0 27px;
  color: #253b61;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--ap-blue);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: 180ms ease;
}

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

.nav a:hover::after,
.nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.account-switcher {
  gap: 14px;
}

.manage-booking-link,
.partner-access-link {
  color: #294064;
  font-size: 0.86rem;
  font-weight: 700;
}

#roleSelect {
  min-height: 40px;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius-sm);
  background: var(--ap-white);
  color: var(--ap-text);
  font-size: 0.84rem;
}

#loginButton {
  min-height: 46px;
  padding: 0 21px;
  border: 0;
  border-radius: var(--ap-radius-sm);
  background: var(--ap-green);
  color: var(--ap-white);
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(7, 154, 104, 0.2);
}

#loginButton:hover {
  background: var(--ap-green-dark);
  transform: translateY(-1px);
}

.account-switcher #loginButton {
  border-radius: var(--ap-radius-sm);
  background: var(--ap-green);
}

.account-switcher #loginButton::before {
  display: none;
}

.api-status {
  position: absolute;
  right: max(28px, calc((100vw - var(--ap-max)) / 2));
  bottom: -10px;
  min-height: 20px;
  padding: 3px 9px;
  border: 1px solid #cce8dc;
  background: var(--ap-green-soft);
  color: var(--ap-green-dark);
  font-size: 0.68rem;
  box-shadow: none;
}

/* Homepage: one decisive image, one task, one search rail. */
.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: var(--ap-white);
  color: var(--ap-navy);
}

.hero-slider {
  position: absolute;
  inset: 0 0 112px auto;
  width: 58%;
  height: auto;
  overflow: hidden;
  background: var(--ap-white);
}

.hero-slide {
  opacity: 0 !important;
  pointer-events: none;
}

.hero-slide:first-child {
  opacity: 1 !important;
}

.hero-slide img,
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: none;
}

.hero-overlay {
  position: absolute;
  inset: 0 0 112px 0;
  z-index: 2;
  display: block;
  background: linear-gradient(
    90deg,
    #fff 0%,
    #fff 31%,
    rgba(255, 255, 255, 0.97) 38%,
    rgba(255, 255, 255, 0.6) 51%,
    rgba(255, 255, 255, 0.08) 65%,
    rgba(255, 255, 255, 0) 78%
  );
  pointer-events: none;
}

.hero-tech-layer,
.hero-ops-panel,
.hero-slider-controls,
.hero-slide-meta,
.hero-content > .eyebrow,
.hero-metrics,
.mobile-booking-trust {
  display: none !important;
}

.hero-content {
  position: relative;
  z-index: 4;
  display: flex;
  width: min(var(--ap-max), calc(100% - 64px));
  min-height: 720px;
  margin: 0 auto;
  padding: 104px 0 150px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  color: var(--ap-navy);
}

.hero-content h1 {
  max-width: 720px;
  margin: 0;
  color: var(--ap-navy);
  font-size: clamp(3.25rem, 4.65vw, 4.75rem);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.058em;
  text-wrap: balance;
}

.hero-copy {
  max-width: 605px;
  margin: 28px 0 0;
  color: #506584;
  font-size: 1.17rem;
  line-height: 1.62;
}

.search-panel {
  position: absolute;
  right: 0;
  bottom: 30px;
  left: 0;
  z-index: 5;
  display: grid;
  width: 100%;
  max-width: none;
  min-height: 122px;
  grid-template-columns: 1.25fr 0.94fr 0.94fr auto;
  gap: 14px;
  align-items: end;
  padding: 22px 22px 20px;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius-lg);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--ap-shadow);
  backdrop-filter: blur(14px);
}

.search-panel::before {
  display: none;
}

.search-panel label {
  display: grid;
  min-width: 0;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}

.search-panel label > span {
  color: #344a70;
  font-size: 0.78rem;
  font-weight: 800;
}

.search-panel select,
.search-panel input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid var(--ap-line-strong);
  border-radius: var(--ap-radius-sm);
  background: var(--ap-white);
  color: var(--ap-navy);
  font-size: 0.98rem;
  font-weight: 650;
  box-shadow: inset 0 1px 1px rgba(19, 47, 83, 0.03);
}

.search-panel button {
  min-width: 224px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--ap-radius-sm);
  background: var(--ap-green);
  color: var(--ap-white);
  font-size: 1rem;
  font-weight: 850;
  box-shadow: 0 10px 25px rgba(7, 154, 104, 0.2);
}

.search-panel button:hover {
  background: var(--ap-green-dark);
  color: var(--ap-white);
}

.hero-service-row {
  display: none;
}

.trust-band {
  position: relative;
  z-index: 6;
  display: grid;
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  border: 0;
  border-radius: 0;
  background: var(--ap-white);
  box-shadow: none;
}

.trust-band div {
  min-height: 108px;
  padding: 25px 34px;
  border: 0;
  border-right: 1px solid var(--ap-line);
  background: var(--ap-white);
  text-align: left;
}

.trust-band div:last-child {
  border-right: 0;
}

.trust-band strong {
  color: var(--ap-blue);
  font-size: 1.34rem;
  font-weight: 850;
}

.trust-band span {
  color: var(--ap-navy);
  font-size: 0.95rem;
  font-weight: 750;
}

.conversion-proof,
.platform-quality-strip {
  display: none !important;
}

.content-section,
.account-panel,
.customer-band,
.split-band,
.provider-band,
.admin-band,
.help-center,
.legal-pages-section,
.seo-airport-page {
  width: min(var(--ap-max), calc(100% - 64px));
}

/* Focused routes must render at their final dimensions immediately. */
.single-page main > section:not([hidden]) {
  content-visibility: visible !important;
  contain-intrinsic-size: none !important;
}

body[data-page="partners"] #partners {
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  margin-inline: auto;
}

body[data-page="partners"] #partners > div,
body[data-page="partners"] #partners .partner-grid {
  min-width: 0;
}

body[data-page="partners"] #partners h2 {
  width: 100%;
  max-width: 18ch;
  overflow-wrap: normal;
  word-break: normal;
}

.benefits-section {
  margin-top: 28px;
  padding-top: 34px;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-top: 1px solid var(--ap-line);
  border-radius: 0;
  background: var(--ap-white);
  box-shadow: none;
}

.benefits-section .section-head {
  justify-content: center;
  text-align: center;
}

.benefits-section .section-head h2 {
  max-width: 780px;
  margin: 0 auto;
  color: var(--ap-navy);
  font-size: clamp(2.25rem, 4vw, 3.7rem);
  letter-spacing: -0.045em;
}

.benefit-grid {
  margin-top: 42px;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius-lg);
  background: var(--ap-line);
  box-shadow: none;
}

.benefit-grid article {
  min-height: 250px;
  padding: 34px;
  border: 0;
  border-radius: 0;
  background: var(--ap-white);
  box-shadow: none;
}

.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: var(--ap-green-soft);
  color: var(--ap-green);
  font-weight: 900;
}

.feature-icon.accent {
  background: var(--ap-blue-soft);
  color: var(--ap-blue);
}

.popular-section,
.steps-section,
.home-partner-teaser,
.reviews-section {
  border-color: var(--ap-line);
  background: var(--ap-white);
  box-shadow: none;
}

.popular-grid article,
.steps-grid article,
.partner-benefit-grid article {
  border-color: var(--ap-line);
  box-shadow: none;
}

.popular-grid article:hover {
  transform: translateY(-3px);
  box-shadow: var(--ap-shadow-soft);
}

/* Search results: list-first comparison workspace. */
#results.workspace {
  display: grid;
  width: min(var(--ap-max), calc(100% - 64px));
  margin: 32px auto 90px;
  padding: 0;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  border: 0;
  border-radius: 0;
  background: var(--ap-white);
  box-shadow: none;
}

body[data-page="search"],
body[data-page="search"] main {
  background: var(--ap-white);
}

body[data-page="search"] main {
  padding-top: 22px;
}

.results-portal-hero {
  grid-column: 1 / -1;
  display: block;
  padding: 16px 0 8px;
  border: 0;
  border-radius: 0;
  background: var(--ap-white);
  color: var(--ap-text);
  box-shadow: none;
}

.results-portal-copy {
  width: 100%;
  max-width: none;
}

.results-portal-copy h1 {
  margin: 0;
  color: var(--ap-navy);
  font-size: clamp(2.3rem, 4vw, 4rem);
  letter-spacing: -0.045em;
}

.results-portal-copy > p {
  margin: 9px 0 0;
  color: var(--ap-muted);
  font-size: 1rem;
}

.results-reality-strip,
.results-portal-insights,
.results-data-note,
.ai-search-panel,
.results-trust-note,
.placement-notice {
  display: none !important;
}

.results-search-rail {
  display: grid;
  margin-top: 24px;
  padding: 12px;
  grid-template-columns: 1.25fr 1fr 1fr auto;
  gap: 10px;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
  background: var(--ap-soft);
}

.results-search-rail label {
  display: grid;
  gap: 5px;
}

.results-search-rail label span {
  color: var(--ap-muted);
  font-size: 0.7rem;
  font-weight: 800;
}

.results-search-rail select,
.results-search-rail input,
.results-search-rail button {
  min-height: 48px;
  border-radius: 9px;
  font-size: 0.92rem;
}

.results-search-rail select,
.results-search-rail input {
  padding: 0 14px;
  border: 1px solid var(--ap-line);
  background: var(--ap-white);
  color: var(--ap-navy);
  font-weight: 650;
}

.results-search-rail button {
  align-self: end;
  min-width: 210px;
  padding: 0 24px;
  border: 0;
  background: var(--ap-green);
  color: var(--ap-white);
  font-weight: 850;
}

.filters {
  position: sticky;
  top: 106px;
  align-self: start;
  max-height: calc(100vh - 130px);
  overflow: auto;
  padding: 0 24px 24px 0;
  border: 0;
  border-right: 1px solid var(--ap-line);
  border-radius: 0;
  background: var(--ap-white);
  box-shadow: none;
}

.filters .section-title {
  padding: 8px 0 18px;
  border-bottom: 1px solid var(--ap-line);
}

.filters .section-title p {
  color: var(--ap-navy);
  font-size: 1.15rem;
  font-weight: 850;
}

.filters .section-title button {
  border: 0;
  background: transparent;
  color: var(--ap-blue);
  font-size: 0.78rem;
  font-weight: 750;
}

.filter-subtitle {
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid var(--ap-line);
  color: var(--ap-navy);
  font-size: 0.86rem;
  font-weight: 850;
}

.filters .check {
  min-height: 38px;
  color: #344a6c;
  font-size: 0.84rem;
}

.filters input[type="checkbox"] {
  accent-color: var(--ap-blue);
}

.range-label {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--ap-line);
}

.filter-trust-box {
  display: none;
}

.results-area {
  position: relative;
  min-width: 0;
  padding: 0;
}

.results-head {
  align-items: end;
  margin-bottom: 12px;
}

.results-head .eyebrow {
  display: none;
}

.results-head h2 {
  color: var(--ap-navy);
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.results-telemetry {
  display: none !important;
}

.results-tools {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
}

.filter-button {
  display: none;
}

.sort-chip {
  border: 0;
  background: transparent;
}

.sort-chip select {
  min-height: 42px;
  border: 1px solid var(--ap-line);
  border-radius: 9px;
  background: var(--ap-white);
  color: var(--ap-navy);
  font-size: 0.86rem;
}

.offer-list {
  display: grid;
  gap: 14px;
}

.offer-card {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(220px, 29%) minmax(0, 1fr);
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
  background: var(--ap-white);
  box-shadow: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.offer-card:hover {
  border-color: #b8ccdf;
  box-shadow: var(--ap-shadow-soft);
  transform: translateY(-2px);
}

.offer-card::before {
  display: none !important;
}

.offer-card.is-recommended,
.offer-card.offer-quality-top {
  border-color: var(--ap-green);
}

.offer-signal,
.offer-tech-row,
.offer-trust-score,
.offer-reality-note,
.fresh-offer-pill.quality,
.fresh-offer-pill.quality-alert,
.fresh-offer-pill.dynamic {
  display: none !important;
}

.offer-media {
  min-height: 250px;
  background: var(--ap-soft);
}

.offer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-media-badge {
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--ap-navy);
  font-size: 0.72rem;
  font-weight: 850;
}

.offer-body {
  padding: 22px 24px;
}

.offer-top {
  gap: 24px;
}

.offer-name > span {
  color: var(--ap-muted);
  font-size: 0.74rem;
  font-weight: 750;
  text-transform: none;
  letter-spacing: 0;
}

.offer-name h3 {
  margin: 3px 0 7px;
  color: var(--ap-navy);
  font-size: 1.35rem;
  letter-spacing: -0.028em;
}

.offer-rating-line {
  color: var(--ap-muted);
  font-size: 0.8rem;
}

.offer-rating-line .rating {
  color: #f0a200;
}

.offer-price-stack {
  min-width: 165px;
  text-align: right;
}

.offer-price-stack small,
.offer-price-stack .muted {
  color: var(--ap-muted);
  font-size: 0.72rem;
}

.offer-price-stack .price {
  margin: 3px 0;
  color: var(--ap-navy);
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.fresh-offer-pill.preview,
.offer-verification-pill,
.result-recommended-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 8px;
  border: 0;
  border-radius: 7px;
  background: var(--ap-green-soft);
  color: var(--ap-green-dark);
  font-size: 0.7rem;
  font-weight: 800;
}

.badges {
  margin-top: 14px;
  gap: 7px;
}

.badge {
  padding: 6px 10px;
  border: 0;
  border-radius: 7px;
  background: var(--ap-soft);
  color: #304b70;
  font-size: 0.75rem;
  font-weight: 750;
}

.offer-service-list {
  display: grid;
  margin-top: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

.offer-service-list span {
  display: block;
  grid-template-columns: none;
  color: #405675;
  font-size: 0.78rem;
  line-height: 1.45;
}

.offer-service-list span:nth-child(3) {
  display: none;
}

.offer-service-list b {
  display: none;
}

.offer-meta {
  display: grid;
  margin-top: 16px;
  padding: 14px 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ap-line);
  border-bottom: 1px solid var(--ap-line);
}

.offer-meta div {
  padding: 0 12px;
  border-right: 1px solid var(--ap-line);
}

.offer-meta div:first-child {
  padding-left: 0;
}

.offer-meta div:last-child {
  border-right: 0;
}

.offer-meta span {
  color: var(--ap-muted);
  font-size: 0.69rem;
}

.offer-meta strong {
  color: var(--ap-navy);
  font-size: 0.8rem;
}

.offer-bottom {
  margin-top: 16px;
  gap: 18px;
}

.offer-cancel-note {
  color: var(--ap-green-dark);
  font-size: 0.77rem;
  font-weight: 750;
}

.offer-actions {
  gap: 9px;
}

.offer-actions button {
  min-height: 43px;
  padding: 0 17px;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 800;
}

.offer-actions .secondary-button {
  border: 1px solid var(--ap-blue);
  color: var(--ap-blue);
}

.offer-actions .book-button {
  border: 0;
  background: var(--ap-green);
  color: var(--ap-white);
}

.compare-bar {
  position: sticky;
  bottom: 16px;
  z-index: 30;
  margin: 14px 0;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--ap-shadow);
  backdrop-filter: blur(14px);
}

.results-aftercare {
  margin-top: 32px;
}

/* Portals: shared enterprise shell with a light navigation rail. */
.provider-band,
.admin-band,
.customer-band {
  max-width: var(--ap-max);
  margin: 28px auto 80px;
  border: 0;
  background: var(--ap-white);
  box-shadow: none;
}

.provider-console {
  display: grid;
  min-height: 900px;
  overflow: hidden;
  grid-template-columns: 252px minmax(0, 1fr);
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius-lg);
  background: var(--ap-white);
  box-shadow: var(--ap-shadow-soft);
}

.provider-side {
  padding: 24px 12px;
  border-right: 1px solid var(--ap-line);
  background: var(--ap-white);
  color: var(--ap-navy);
}

.provider-logo {
  padding: 0 14px 22px;
  border-bottom: 1px solid var(--ap-line);
}

.provider-logo > span {
  border-radius: 10px;
  background: var(--ap-green);
  color: var(--ap-white);
}

.provider-logo strong,
.provider-logo small {
  color: var(--ap-navy);
}

.provider-logo small {
  opacity: 0.58;
}

.provider-side-status {
  margin: 16px 12px;
  padding: 13px;
  border: 1px solid #cfe9df;
  border-radius: var(--ap-radius-sm);
  background: var(--ap-green-soft);
  color: var(--ap-green-dark);
}

.provider-side-status span,
.provider-side-status strong,
.provider-side-status small {
  color: inherit;
}

.provider-side nav {
  display: grid;
  gap: 3px;
}

.provider-side nav button {
  min-height: 43px;
  padding: 0 13px;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #31496c;
  text-align: left;
}

.provider-side nav button span {
  width: 24px;
  color: #8494aa;
  font-size: 0.67rem;
}

.provider-side nav button b {
  font-size: 0.82rem;
  font-weight: 700;
}

.provider-side nav button:hover,
.provider-side nav button.active {
  border-left-color: var(--ap-green);
  background: var(--ap-green-soft);
  color: var(--ap-navy);
}

.provider-side-foot {
  border-color: var(--ap-line);
  color: var(--ap-muted);
}

.provider-side-foot strong {
  color: var(--ap-navy);
}

.provider-main {
  min-width: 0;
  padding: 34px;
  background: var(--ap-white);
}

.provider-head {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ap-line);
}

.provider-head .eyebrow {
  display: none;
}

.provider-head h2 {
  max-width: 820px;
  color: var(--ap-navy);
  font-size: clamp(1.9rem, 3vw, 3rem);
  letter-spacing: -0.04em;
}

.provider-head-actions > span {
  border: 1px solid #cce9dd;
  background: var(--ap-green-soft);
  color: var(--ap-green-dark);
}

.provider-actionbar,
.portal-experience-strip,
.provider-control-strip {
  display: none !important;
}

.provider-dashboard-hero {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ap-text);
  box-shadow: none;
}

.provider-dashboard-hero span,
.provider-dashboard-hero h3,
.provider-dashboard-hero p {
  color: var(--ap-text);
}

.provider-dashboard-hero h3 {
  color: var(--ap-navy);
  font-size: 1.75rem;
  letter-spacing: -0.035em;
}

.provider-dashboard-hero > div:first-child > span {
  display: none;
}

.provider-live-card {
  border: 1px solid #cfe9df;
  border-radius: var(--ap-radius-sm);
  background: var(--ap-green-soft);
}

.provider-live-card small,
.provider-live-card strong,
.provider-live-card span {
  color: var(--ap-green-dark);
}

.dashboard-cards,
.provider-stats {
  gap: 14px;
}

.dashboard-cards article,
.provider-stats article,
.provider-work-card,
.provider-command-center,
.provider-network-board,
.provider-offer-coach,
.admin-card,
.portal-card {
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
  background: var(--ap-white);
  box-shadow: none;
}

.dashboard-cards article:hover,
.provider-stats article:hover,
.provider-work-card:hover {
  border-color: var(--ap-line-strong);
  box-shadow: var(--ap-shadow-soft);
}

.provider-panel {
  animation: none;
}

.provider-panel input,
.provider-panel select,
.provider-panel textarea,
.admin-band input,
.admin-band select,
.admin-band textarea,
.customer-band input,
.customer-band select,
.customer-band textarea {
  min-height: 44px;
  border: 1px solid var(--ap-line-strong);
  border-radius: 9px;
  background: var(--ap-white);
  color: var(--ap-text);
  font-size: 0.9rem;
}

.provider-panel table,
.admin-band table,
.customer-band table {
  overflow: hidden;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius-sm);
}

.provider-panel th,
.admin-band th,
.customer-band th {
  background: var(--ap-soft);
  color: #536581;
  font-size: 0.7rem;
}

.provider-panel td,
.admin-band td,
.customer-band td {
  border-color: var(--ap-line);
  color: var(--ap-text);
  font-size: 0.82rem;
}

.admin-band,
.customer-band {
  color: var(--ap-text);
}

.admin-band h2,
.admin-band h3,
.customer-band h2,
.customer-band h3 {
  color: var(--ap-navy);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1180px) {
  .topbar {
    padding-inline: 24px;
  }

  .nav {
    gap: 18px;
  }

  .manage-booking-link,
  .partner-access-link,
  #roleSelect {
    display: none;
  }

  .hero-content,
  .content-section,
  .account-panel,
  .customer-band,
  .split-band,
  .provider-band,
  .admin-band,
  .help-center,
  .legal-pages-section,
  .seo-airport-page,
  #results.workspace {
    width: calc(100% - 48px);
  }

  .hero-content h1 {
    max-width: 600px;
    font-size: clamp(3rem, 6vw, 4.8rem);
  }

  .hero-slider {
    width: 55%;
  }

  .provider-console {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .provider-main {
    padding: 28px;
  }
}

@media (max-width: 900px) {
  body[data-page="partners"] #partners {
    grid-template-columns: 1fr;
  }

  .topbar {
    min-height: 72px;
  }

  .nav,
  .api-status {
    display: none;
  }

  .hero {
    display: flex;
    min-height: auto;
    padding-bottom: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-slider {
    position: relative;
    inset: auto;
    z-index: 0;
    order: 2;
    width: 100%;
    height: 360px;
    margin-top: 0;
  }

  .hero-overlay {
    display: none;
  }

  .hero-content {
    order: 1;
    min-height: auto;
    padding: 42px 0 26px;
  }

  .hero-content h1 {
    max-width: 760px;
    font-size: clamp(2.65rem, 8vw, 4.5rem);
  }

  .hero-copy {
    max-width: 720px;
  }

  .search-panel {
    position: relative;
    inset: auto;
    margin-top: 32px;
    grid-template-columns: 1fr 1fr;
  }

  .search-panel button {
    width: 100%;
    min-width: 0;
  }

  .trust-band {
    width: calc(100% - 36px);
  }

  #results.workspace {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
    display: none;
  }

  .filter-button {
    display: inline-flex;
  }

  .results-search-rail {
    grid-template-columns: 1fr 1fr;
  }

  .results-search-rail label:first-child,
  .results-search-rail button {
    grid-column: 1 / -1;
  }

  .results-tools {
    position: static;
    margin: 0 0 16px;
  }

  .offer-card {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .provider-console {
    grid-template-columns: 1fr;
  }

  .provider-side {
    position: static;
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--ap-line);
  }

  .provider-logo,
  .provider-side-status,
  .provider-side-foot {
    display: none;
  }

  .provider-side nav {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    scrollbar-width: thin;
  }

  .provider-side nav button {
    flex: 0 0 auto;
    border-left: 0;
    border-bottom: 3px solid transparent;
  }

  .provider-side nav button:hover,
  .provider-side nav button.active {
    border-left-color: transparent;
    border-bottom-color: var(--ap-green);
  }
}

@media (max-width: 680px) {
  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 16px;
  }

  .account-switcher {
    display: flex;
    grid-column: auto;
    width: auto;
    margin-left: auto;
  }

  .brand-copy small,
  .account-switcher > a,
  .side-action-bar {
    display: none !important;
  }

  #loginButton {
    min-height: 42px;
    padding-inline: 15px;
  }

  .hero-slider {
    height: 280px;
  }

  .hero-slide img {
    object-position: 62% center;
  }

  .hero-content,
  .content-section,
  .account-panel,
  .customer-band,
  .split-band,
  .provider-band,
  .admin-band,
  .help-center,
  .legal-pages-section,
  .seo-airport-page,
  #results.workspace {
    width: calc(100% - 28px);
  }

  .hero-content {
    padding-top: 34px;
  }

  .hero-content h1 {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
    font-size: clamp(2.25rem, 10.8vw, 3rem);
    line-height: 0.98;
  }

  .hero-copy {
    margin-top: 20px;
    font-size: 1rem;
  }

  .search-panel {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .trust-band {
    grid-template-columns: 1fr;
    margin-top: 16px;
  }

  .trust-band div {
    min-height: 0;
    padding: 17px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--ap-line);
  }

  .trust-band div:last-child {
    border-bottom: 0;
  }

  .benefits-section {
    padding-top: 52px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .benefit-grid article {
    min-height: 0;
    padding: 26px;
  }

  #results.workspace {
    margin-top: 20px;
  }

  .results-portal-copy h1 {
    font-size: 2.25rem;
  }

  .results-search-rail {
    grid-template-columns: 1fr;
  }

  .results-search-rail label:first-child,
  .results-search-rail button {
    grid-column: auto;
  }

  .offer-card {
    grid-template-columns: 1fr;
  }

  .offer-media {
    min-height: 210px;
    max-height: 240px;
  }

  .offer-body {
    padding: 20px;
  }

  .offer-top {
    display: grid;
    gap: 14px;
  }

  .offer-price-stack {
    min-width: 0;
    text-align: left;
  }

  .offer-service-list,
  .offer-meta {
    grid-template-columns: 1fr;
  }

  .offer-meta div {
    padding: 8px 0;
    border-right: 0;
    border-bottom: 1px solid var(--ap-line);
  }

  .offer-meta div:last-child {
    border-bottom: 0;
  }

  .offer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .offer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .provider-main {
    padding: 20px;
  }

  .provider-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .provider-dashboard-hero {
    display: grid;
  }
}
