/**
 * SkyStayTravel â€” Holiday Matcher (Phase 1)
 */

.sst-hm-section {
  padding: 28px 0 8px;
}

.sst-hm-section--home {
  padding: 28px 0 16px;
  margin-top: 0;
  background: #f5f7fa !important;
  position: relative;
  z-index: 4;
}

/* Match homepage search bar — white panel (not blue) */
.sst-hm-panel.sst-hm-panel--home-lite {
  padding: 20px 20px 18px;
  background: #fff !important;
  background-image: none !important;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.sst-hm-panel.sst-hm-panel--in-search {
  padding: 2px 2px 0;
  background: transparent !important;
  background-image: none !important;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.sst-hm-form--home-lite {
  gap: 14px;
}

.sst-hm-form--home-lite .sst-hm-brief {
  min-height: 72px;
}

.sst-hm-actions--home-lite {
  margin-top: 0;
}

.sst-hm-home-teaser {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #e2e8f0;
}

.sst-hm-home-teaser__label {
  margin: 0 0 8px;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.sst-hm-home-teaser__hint {
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #94a3b8;
}

.sst-hm-home-teaser__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.sst-hm-home-teaser__list li {
  padding: 8px 10px;
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid #dbeafe;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #475569;
}

.sst-hm-home-teaser__list strong {
  display: block;
  color: #0f172a;
  font-size: 0.72rem;
  margin-bottom: 2px;
}

.sst-hm-home-teaser__list span {
  font-weight: 950;
  color: #0557b0;
}

.sst-hm-form-section-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.sst-hm-panel {
  background: linear-gradient(145deg, #fff 0%, #f4f9ff 100%);
  border: 1px solid rgba(7, 112, 227, 0.16);
  border-radius: 24px;
  padding: 22px 22px 20px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.sst-hm-panel--page {
  max-width: 920px;
  margin: 0 auto;
}

.sst-hm-head {
  margin-bottom: 18px;
}

.sst-hm-kicker {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.24);
  border: 1px solid rgba(255, 209, 102, 0.42);
  color: #8a5b00;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sst-hm-head h2,
.sst-hm-page-hero h1 {
  margin: 0 0 8px;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: #0f172a;
}

.sst-hm-section--home .sst-hm-head h2,
.sst-hm-section--home .sst-hm-page-hero h1 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
}

.sst-hm-head p,
.sst-hm-page-hero p {
  margin: 0;
  color: #64748b;
  font-size: 0.94rem;
  line-height: 1.6;
  max-width: 58ch;
}

.sst-hm-form {
  display: grid;
  gap: 16px;
}

.sst-hm-ai {
  display: grid;
  gap: 10px;
}

.sst-hm-field--ai {
  margin: 0;
}

.sst-hm-optional {
  font-weight: 700;
  color: #94a3b8;
  text-transform: none;
  letter-spacing: 0;
}

.sst-hm-brief {
  width: 100%;
  min-height: 88px;
  padding: 12px 14px;
  border: 1.5px solid #bfdbfe;
  border-radius: 16px;
  background: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #0f172a;
  resize: vertical;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.sst-hm-brief:focus {
  outline: none;
  border-color: #0770e3;
  box-shadow: 0 0 0 3px rgba(7, 112, 227, 0.14);
}

.sst-hm-ai-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.sst-hm-ai-sug {
  padding: 6px 12px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #dbeafe;
  color: #0557b0;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

a.sst-hm-ai-sug {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  box-sizing: border-box;
}

.sst-hm-ai-sug:hover {
  background: #bfdbfe;
  border-color: #93c5fd;
  color: #034a94;
}

/* Homepage matcher inside search tabs — filled shortcut chips */
.sst-hm-form--home-lite .sst-hm-ai-sug,
.sst-home-search-pane[data-sst-home-pane="matcher"] .sst-hm-ai-sug {
  background: #dbeafe;
  border-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(7, 112, 227, 0.12);
}

.sst-hm-form--home-lite .sst-hm-ai-sug:hover,
.sst-home-search-pane[data-sst-home-pane="matcher"] .sst-hm-ai-sug:hover {
  background: #bfdbfe;
  border-color: transparent;
  color: #034a94;
}

.sst-hm-ai-note {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f766e;
  line-height: 1.45;
}

.sst-hm-ai-note[hidden] {
  display: none !important;
}

.sst-hm-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sst-hm-divider::before,
.sst-hm-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.sst-hm-results-band__brief {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(7, 112, 227, 0.12);
}

.sst-hm-results-band__brief-label {
  margin: 0 0 4px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.sst-hm-results-band__brief-text {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.5;
  font-style: italic;
}

.sst-hm-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.78rem;
  font-weight: 900;
  color: #334155;
  letter-spacing: 0.02em;
}

.sst-hm-field select {
  width: 100%;
  min-height: 44px;
  border: 1.5px solid #cfe0f6;
  border-radius: 12px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  background: #fff;
}

.sst-hm-field select:focus {
  outline: none;
  border-color: #0770e3;
  box-shadow: 0 0 0 3px rgba(7, 112, 227, 0.14);
}

.sst-hm-budget-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.sst-hm-currency {
  flex: 0 0 7.4rem;
  width: 7.4rem;
  min-height: 44px;
  border: 1.5px solid #cfe0f6;
  border-radius: 12px;
  padding: 0 8px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f172a;
  background: #fff;
}

.sst-hm-budget-row [name="budget"] {
  flex: 1 1 auto;
  min-width: 0;
}

.sst-hm-budget-amount {
  display: none;
  flex: 0 0 6.2rem;
  width: 6.2rem;
  min-height: 44px;
  border: 1.5px solid #cfe0f6;
  border-radius: 12px;
  padding: 0 10px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  background: #fff;
}

.sst-hm-field--budget.is-intl [name="budget"] {
  flex: 1 1 9rem;
  min-width: 0;
}

.sst-hm-field--budget.is-intl .sst-hm-budget-amount {
  display: block;
  flex: 1 1 8rem;
  width: auto;
  min-width: 0;
}

.sst-hm-budget-amount:focus,
.sst-hm-currency:focus {
  outline: none;
  border-color: #0770e3;
  box-shadow: 0 0 0 3px rgba(7, 112, 227, 0.14);
}

.sst-hm-budget-hint,
.sst-hm-origin-note {
  margin: 6px 0 0;
  font-size: 0.78rem;
  font-weight: 650;
  color: #64748b;
  line-height: 1.4;
}

.sst-hm-origin-hubs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
}

.sst-hm-origin-hub {
  min-height: 32px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 750;
  cursor: pointer;
}

.sst-hm-origin-hub:hover,
.sst-hm-origin-hub:focus {
  border-color: #0770e3;
  background: #eff6ff;
}

.sst-hm-origin-hub.is-on {
  border-color: #0770e3;
  background: #dbeafe;
  color: #034a94;
}

.sst-hm-origin-wrap {
  position: relative;
}

.sst-hm-origin-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
}

.sst-hm-origin-input:focus {
  outline: none;
  border-color: #0770e3;
  box-shadow: 0 0 0 3px rgba(7, 112, 227, 0.14);
}

.sst-hm-field--origin.sst-ac-open .sst-hm-origin-input {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: #0770e3;
}

.sst-hm-origin-ac {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  z-index: 40;
  max-height: 240px;
  overflow-y: auto;
  background: #fff;
  border: 1.5px solid #0770e3;
  border-top: none;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 12px 28px rgba(7, 112, 227, 0.16);
  display: none;
}

.sst-hm-origin-ac.show {
  display: block;
}

.sst-hm-origin-ac .ac-item {
  padding: 9px 12px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  line-height: 1.35;
  transition: background 0.15s;
}

.sst-hm-origin-ac .ac-item:hover,
.sst-hm-origin-ac .ac-item.sel {
  background: #eff6ff;
}

.sst-hm-origin-ac .ac-item--city {
  border-left: 3px solid #0770e3;
  padding-left: 9px;
}

.sst-hm-origin-ac .ac-iata {
  font-weight: 800;
  font-size: 0.7rem;
  color: #0770e3;
  min-width: 30px;
  letter-spacing: 0.03em;
}

.sst-hm-origin-ac .ac-airport-name {
  font-weight: 650;
  color: #0f172a;
  flex: 1;
  min-width: 0;
}

.sst-hm-origin-ac .ac-country {
  font-size: 0.72rem;
  color: #64748b;
  flex-basis: 100%;
  padding-left: 38px;
}

.sst-hm-origin-ac .ac-all-badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #0770e3, #0557b0);
  padding: 3px 7px;
  border-radius: 6px;
}

@media (max-width: 640px) {
  .sst-hm-budget-row {
    flex-wrap: wrap;
  }
  .sst-hm-currency {
    flex: 0 0 100%;
    width: 100%;
  }
}

.sst-hm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sst-hm-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.sst-hm-chip:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.sst-hm-chip.is-active {
  background: #0770e3;
  border-color: #0770e3;
  color: #fff;
  box-shadow: none;
}

.sst-hm-field--must {
  margin-top: 2px;
}

.sst-hm-chips--must .sst-hm-chip.is-active {
  background: #ecfdf5;
  border-color: #6ee7b7;
  color: #047857;
}

.sst-hm-chips--must .sst-hm-chip.is-active:hover {
  background: #d1fae5;
}

.sst-hm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.sst-hm-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: #0770e3;
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
}

.sst-hm-submit:hover {
  filter: brightness(1.04);
}

.sst-hm-note {
  margin: 0;
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.5;
}

@media (max-width: 760px) {
  body.sst-page-home .sst-hm-panel--home-lite .sst-hm-note,
  body.sst-page-search .sst-hm-panel--in-search .sst-hm-note {
    display: none !important;
  }

  body.sst-page-home .sst-hm-panel--home-lite .sst-hm-head > p:not(.sst-hm-kicker),
  body.sst-page-search .sst-hm-panel--in-search .sst-hm-head > p:not(.sst-hm-kicker) {
    display: block !important;
  }
}

.sst-hm-link {
  font-size: 0.84rem;
  font-weight: 900;
  color: #0557b0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Page shell â€” align with package-holidays commercial pages */
html:has(body.sst-page-holiday-matcher) {
  background-color: #f5f7fa !important;
  overflow-x: clip;
}

body.sst-page-holiday-matcher {
  font-family: Inter, 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #0f172a;
  background: #f5f7fa !important;
  line-height: 1.65;
  overflow-x: clip;
  padding-top: 0 !important;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

body.sst-page-holiday-matcher > .sst-hm-page-hero,
body.sst-page-holiday-matcher > .sst-hm-page-body,
body.sst-page-holiday-matcher > footer {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.sst-hm-page-hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-top: 0 !important;
  padding: calc(var(--sst-nav-stack-h, var(--sst-nav-h, 58px)) + 28px) 0 24px;
  background: #f5f7fa;
  color: #0f172a;
}

body.sst-page-holiday-matcher > nav.sst-commercial-nav {
  box-shadow: none !important;
}

body.sst-page-holiday-matcher > .sst-hm-page-hero .wrap {
  position: relative;
  z-index: 1;
}

.sst-hm-page-hero .wrap {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  box-sizing: border-box;
}

body.sst-page-holiday-matcher .sst-hm-page-hero h1 {
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 950;
}

body.sst-page-holiday-matcher .sst-hm-page-hero p {
  max-width: 640px;
  font-size: 1.02rem;
  line-height: 1.65;
}

.sst-hm-page-hero .sst-hm-kicker {
  background: rgba(255, 209, 102, 0.24);
  border-color: rgba(255, 209, 102, 0.42);
  color: #8a5b00;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.sst-hm-page-hero h1,
.sst-hm-page-hero p {
  color: #0f172a;
}

.sst-hm-page-hero p {
  color: #64748b;
}

.sst-hm-page-body {
  padding: 0 0 48px;
  overflow-x: clip;
}

body.sst-page-holiday-matcher .sst-hm-page-body .wrap {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  box-sizing: border-box;
}

.sst-hm-page-body .sst-hm-panel {
  margin-top: -28px;
}

body.sst-page-holiday-matcher .sst-hm-results-head h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 950;
}

/* Results â€” Phase 2 premium cards */
.sst-hm-results {
  margin-top: 28px;
}

.sst-hm-results[hidden] {
  display: none !important;
}

body.sst-hm-has-results .sst-hm-panel--page {
  display: none;
}

body.sst-hm-has-results .sst-hm-page-hero {
  padding-bottom: 18px;
}

.sst-hm-results-band {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(7, 112, 227, 0.14);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.sst-hm-results-band[hidden] {
  display: none !important;
}

.sst-hm-results-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sst-hm-results-band__label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.sst-hm-results-band__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sst-hm-results-band__chips li {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #334155;
  font-size: 0.76rem;
  font-weight: 650;
}

.sst-hm-results-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.sst-hm-results-band__share {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.sst-hm-results-band__share:hover {
  background: #dbeafe;
}

.sst-hm-share-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 9999;
  margin: 0;
  padding: 12px 16px;
  max-width: min(92vw, 420px);
  border-radius: 12px;
  background: #0f172a;
  color: #fff;
  font-size: 0.84rem;
  line-height: 1.45;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.28);
}

.sst-hm-share-toast[hidden] {
  display: none !important;
}

.sst-hm-quiz {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.sst-hm-quiz summary {
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  list-style-position: outside;
}

.sst-hm-quiz__body {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sst-hm-quiz__intro {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
}

.sst-hm-quiz__apply {
  align-self: flex-start;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 0;
  background: #0770e3;
  color: #fff;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.sst-hm-quiz__apply:hover {
  background: #0557b0;
}

.sst-hm-chips--quiz .sst-hm-chip.is-active {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #0557b0;
}

.sst-hm-result-card__price-hint {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: 0.82rem;
  color: #0f172a;
  line-height: 1.45;
}

.sst-hm-result-card__price-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}

.sst-hm-result-card__price-estimate-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 4px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #475569;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sst-hm-result-card__price-estimate-badge--live {
  background: #ecfdf5;
  border-color: rgba(15, 118, 110, 0.22);
  color: #0f766e;
}

.sst-hm-result-card__price-estimate-badge--guide {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
  color: #64748b;
}

.sst-hm-result-card__price-split {
  display: block;
  margin-top: 2px;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 650;
}

.sst-hm-result-card__price-amount {
  font-weight: 900;
  color: #0f172a;
  font-size: 0.92rem;
}

.sst-hm-result-card__price-assumptions {
  color: #334155;
  font-size: 0.8rem;
  font-weight: 650;
  min-width: 0;
}

.sst-hm-result-card__price-amount + .sst-hm-result-card__price-assumptions::before {
  content: '\00B7\00a0';
  color: #94a3b8;
  font-weight: 650;
}

.sst-hm-result-card__price-alt {
  color: #334155;
  font-size: 0.8rem;
  font-weight: 650;
}

.sst-hm-result-card__price-label {
  font-weight: 900;
  color: #0557b0;
}

.sst-hm-result-card__price-sub {
  color: #334155;
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.4;
}

.sst-hm-result-card__price-note {
  display: none;
}

.sst-hm-result-card__interest {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.sst-hm-results-band__edit {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.sst-hm-results-band__edit:hover {
  background: #eff6ff;
}

.sst-hm-results-head {
  margin-bottom: 16px;
}

.sst-hm-results-head h2 {
  margin: 0 0 6px;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  letter-spacing: -0.03em;
  color: #0f172a;
}

.sst-hm-results-head p {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 62ch;
}

.sst-hm-results-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sst-hm-results-grid__rest {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}

.sst-hm-results-grid__rest .sst-hm-result-card {
  height: auto;
}

.sst-hm-result-card {
  --sst-hm-vibe: #0e7490;
  --sst-hm-vibe-soft: rgba(14, 116, 144, 0.12);
  --sst-hm-vibe-ink: #155e75;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.sst-hm-result-card--vibe-beach {
  --sst-hm-vibe: #e07a4a;
  --sst-hm-vibe-soft: rgba(224, 122, 74, 0.14);
  --sst-hm-vibe-ink: #9a4a22;
}

.sst-hm-result-card--vibe-city {
  --sst-hm-vibe: #0e7490;
  --sst-hm-vibe-soft: rgba(14, 116, 144, 0.18);
  --sst-hm-vibe-ink: #155e75;
}

.sst-hm-result-card--vibe-adventure {
  --sst-hm-vibe: #0f766e;
  --sst-hm-vibe-soft: rgba(15, 118, 110, 0.12);
  --sst-hm-vibe-ink: #115e59;
}

.sst-hm-result-card--vibe-luxury {
  --sst-hm-vibe: #c9a227;
  --sst-hm-vibe-soft: rgba(201, 162, 39, 0.16);
  --sst-hm-vibe-ink: #8a6d12;
}

.sst-hm-result-card--featured {
  display: grid;
  grid-template-columns: minmax(200px, 36%) minmax(0, 1fr);
  border-color: color-mix(in srgb, var(--sst-hm-vibe) 28%, rgba(15, 23, 42, 0.08));
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.sst-hm-result-card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #0b1a33;
  min-height: 200px;
}

.sst-hm-result-card--featured .sst-hm-result-card__media {
  aspect-ratio: unset;
  min-height: 0;
  height: 100%;
  align-self: stretch;
}

.sst-hm-result-card__media::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(7, 20, 40, 0.38));
}

.sst-hm-result-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.sst-hm-result-card__rank {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sst-hm-result-card--featured .sst-hm-result-card__rank {
  background: color-mix(in srgb, var(--sst-hm-vibe) 82%, #0b1a33);
  color: #fff;
}

.sst-hm-season {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
}

.sst-hm-season--peak {
  background: rgba(255, 255, 255, 0.92);
  color: #0557b0;
}

.sst-hm-season--good {
  background: rgba(255, 255, 255, 0.88);
  color: #0f766e;
}

.sst-hm-season--winter {
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
}

.sst-hm-season--shoulder {
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
}

.sst-hm-season--off {
  background: rgba(100, 116, 139, 0.85);
  color: #fff;
}

.sst-hm-result-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
  padding: 14px 16px 16px;
  min-width: 0;
}

.sst-hm-result-card__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sst-hm-result-card__title-stack {
  min-width: 0;
  flex: 1;
}

.sst-hm-result-card__title-stack h3 {
  margin: 0;
}

.sst-hm-result-card__body h3 {
  margin: 0;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  letter-spacing: -0.02em;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sst-hm-result-card__emoji {
  font-size: 1.2em;
  line-height: 1;
}

.sst-hm-result-card__score {
  margin: 0;
  text-align: center;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.sst-hm-match-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.sst-hm-match-badge__mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sst-hm-vibe, #0e7490);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sst-hm-vibe, #0e7490) 18%, transparent);
}

.sst-hm-match-badge--excellent .sst-hm-match-badge__mark {
  background: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.16);
}

.sst-hm-match-badge--great .sst-hm-match-badge__mark {
  background: #0369a1;
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.14);
}

.sst-hm-match-badge--good .sst-hm-match-badge__mark {
  background: #64748b;
  box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.14);
}

.sst-hm-match-badge--fair .sst-hm-match-badge__mark {
  background: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.16);
}

.sst-hm-match-badge--skel {
  width: 72px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
}

.sst-hm-result-card__score--tier-led {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.sst-hm-result-card__score--tier-led .sst-hm-result-card__score-label {
  order: 0;
  font-size: 0.92rem;
  font-weight: 750;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.sst-hm-result-card__score-label--excellent { color: #0f766e; }
.sst-hm-result-card__score-label--great { color: #0369a1; }
.sst-hm-result-card__score-label--good { color: #475569; }
.sst-hm-result-card__score-label--fair { color: #64748b; }

.sst-hm-match-ring {
  --sst-hm-ring-size: 52px;
  width: var(--sst-hm-ring-size);
  height: var(--sst-hm-ring-size);
  position: relative;
}

.sst-hm-match-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  display: block;
}

.sst-hm-match-ring__track,
.sst-hm-match-ring__fill {
  fill: none;
  stroke-width: 3.2;
}

.sst-hm-match-ring__track {
  stroke: var(--sst-hm-vibe-soft, #e2e8f0);
}

.sst-hm-match-ring__fill {
  stroke: var(--sst-hm-vibe, #0e7490);
  stroke-linecap: round;
}

.sst-hm-match-ring__value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
  line-height: 1;
  pointer-events: none;
}

.sst-hm-match-ring__value small {
  font-size: 0.52rem;
  font-weight: 700;
  color: #64748b;
  margin-left: 1px;
  line-height: 1;
  transform: translateY(0.5px);
}

.sst-hm-result-card__score-pct {
  display: block;
  font-size: 1rem;
  font-weight: 950;
  color: #0557b0;
  line-height: 1.1;
}

.sst-hm-result-card__score--tier-led .sst-hm-result-card__score-pct {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  order: 2;
}

.sst-hm-result-card__score--tier-led {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.sst-hm-result-card__score--tier-led .sst-hm-result-card__score-label {
  order: 0;
  font-size: 0.92rem;
  font-weight: 750;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.sst-hm-result-card__score--tier-led .sst-hm-result-card__score-stars {
  display: none;
}

.sst-hm-result-card__score-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  margin-top: 0;
  line-height: 1.2;
  max-width: 5.6rem;
  text-align: center;
}

.sst-hm-result-card__score-label--excellent {
  color: #047857;
}

.sst-hm-result-card__score-label--great {
  color: #0557b0;
}

.sst-hm-result-card__score-label--strong {
  color: #047857;
}

.sst-hm-result-card__score-label--good {
  color: #0557b0;
}

.sst-hm-result-card__score-label--fair {
  color: #64748b;
}

.sst-hm-result-card__score-label--stretch {
  color: #b45309;
}

.sst-hm-result-card__score-stars {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.sst-hm-result-card__tagline {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #334155;
  font-weight: 600;
}

.sst-hm-result-card__place {
  margin: 2px 0 0;
  color: var(--sst-place-gold, #e6a800);
  font-weight: 750;
  font-size: 0.9rem;
  line-height: 1.3;
}

.sst-hm-result-card__gap {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #94a3b8;
  font-style: italic;
}

.sst-hm-result-card__close-diff {
  margin: 0 0 6px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #64748b;
  font-weight: 650;
}

.sst-hm-result-card__checklist {
  margin: 2px 0 6px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  min-width: 0;
}

.sst-hm-result-card__why-prose + .sst-hm-result-card__checklist {
  margin-top: 8px;
}

.sst-hm-result-card__checklist li,
.sst-hm-check {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding-left: 0;
  font-size: 0.86rem;
  font-weight: 500;
  color: #334155;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.sst-hm-result-card__checklist li::before {
  content: none;
}

.sst-hm-check__icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--sst-hm-vibe-soft, rgba(230, 168, 0, 0.14));
  color: var(--sst-hm-vibe-ink, #9a4a22);
  margin-top: 1px;
}

.sst-hm-check__icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.sst-hm-check__text {
  min-width: 0;
}

.sst-hm-result-card__actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
}

.sst-hm-action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}

.sst-hm-action-link {
  font-size: 0.82rem;
  font-weight: 750;
  color: #0557b0;
  text-decoration: none;
  text-underline-offset: 2px;
}

.sst-hm-action-link:hover {
  text-decoration: underline;
  color: #0770e3;
}

.sst-hm-result-card__why-prose {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #1e293b;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sst-hm-result-card--also .sst-hm-result-card__why-prose {
  -webkit-line-clamp: 3;
}

.sst-hm-result-card__why {
  margin-top: 0.4rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--sst-hm-vibe) 20%, #fff);
  border: 1px solid color-mix(in srgb, var(--sst-hm-vibe) 26%, #e2e8f0);
}

.sst-hm-result-card--vibe-city .sst-hm-result-card__why,
.sst-hm-result-card--vibe-adventure .sst-hm-result-card__why {
  background: color-mix(in srgb, var(--sst-hm-vibe) 28%, #fff);
  border-color: color-mix(in srgb, var(--sst-hm-vibe) 34%, #e2e8f0);
}

.sst-hm-result-card--also {
  opacity: 1;
}

.sst-hm-result-card--also .sst-hm-result-card__media {
  aspect-ratio: 16 / 9;
  min-height: 140px;
  max-height: 200px;
}

/* Desktop: same roomy media | body layout as the top pick */
@media (min-width: 901px) {
  .sst-hm-results-grid__rest .sst-hm-result-card--also,
  .sst-hm-more-matches__list .sst-hm-result-card--also {
    display: grid;
    grid-template-columns: minmax(200px, 36%) minmax(0, 1fr);
  }

  .sst-hm-results-grid__rest .sst-hm-result-card--also .sst-hm-result-card__media,
  .sst-hm-more-matches__list .sst-hm-result-card--also .sst-hm-result-card__media {
    aspect-ratio: unset;
    min-height: 0;
    max-height: none;
    height: 100%;
    align-self: stretch;
  }

  .sst-hm-results-grid__rest .sst-hm-result-card--also .sst-hm-result-card__why-prose,
  .sst-hm-more-matches__list .sst-hm-result-card--also .sst-hm-result-card__why-prose {
    -webkit-line-clamp: 4;
  }

  .sst-hm-results-grid__rest .sst-hm-result-card--also .sst-hm-result-card__actions .sst-hm-action--primary,
  .sst-hm-more-matches__list .sst-hm-result-card--also .sst-hm-result-card__actions .sst-hm-action--primary {
    grid-column: 1 / -1;
  }
}

.sst-hm-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  color: #0557b0;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.sst-hm-action:hover {
  background: #f8fbff;
  border-color: rgba(7, 112, 227, 0.28);
  box-shadow: none;
}

.sst-hm-action--primary {
  background: #0770e3;
  border-color: #0770e3;
  color: #fff;
}

.sst-hm-action--primary:hover {
  background: #0557b0;
  border-color: #0557b0;
  color: #fff;
}

.sst-hm-action--primary .sst-hm-action__hint {
  color: rgba(255, 255, 255, 0.92);
}

.sst-hm-result-card--featured .sst-hm-result-card__actions .sst-hm-action--primary {
  grid-column: 1 / -1;
}

.sst-hm-action--plan {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: #0770e3;
  border: 1px solid #0770e3;
  color: #fff;
  text-decoration: none;
  box-shadow: none;
}

.sst-hm-action--plan:hover {
  background: #0557b0;
  border-color: #0557b0;
  color: #fff;
  filter: brightness(1.02);
}

.sst-hm-action--plan .sst-hm-action__label {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 0.92rem;
  color: #fff;
  line-height: 1.2;
}

.sst-hm-action--plan .sst-hm-action__hint {
  display: none;
}

.sst-hm-result-card--also .sst-hm-action--plan {
  min-height: 0;
  padding: 9px 12px;
  box-shadow: none;
}

.sst-hm-result-card--also .sst-hm-action--plan .sst-hm-action__label {
  font-size: 0.88rem;
}

.sst-hm-action--brief {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid rgba(7, 112, 227, 0.35);
  color: #0f172a;
  text-decoration: none;
}

.sst-hm-action--brief:hover {
  background: #eff6ff;
  border-color: #0770e3;
  color: #0557b0;
}

.sst-hm-action--brief .sst-hm-action__label {
  font-weight: 800;
  font-size: 0.95rem;
  color: inherit;
  line-height: 1.2;
}

.sst-hm-action--brief .sst-hm-action__hint {
  color: #475569;
  font-weight: 650;
  font-size: 0.74rem;
  line-height: 1.35;
  margin-top: 2px;
}

.sst-hm-action__label {
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.2;
}

.sst-hm-action__hint {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  line-height: 1.3;
}

.sst-hm-results-foot {
  margin-top: 22px;
  padding: 20px 18px;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #0f172a;
  text-align: left;
}

.sst-hm-results-foot[hidden] {
  display: none !important;
}

.sst-hm-results-foot h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.sst-hm-results-foot p {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: #475569;
}

.sst-hm-results-foot a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #0557b0;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.sst-hm-result-card__season-warn {
  margin: 0;
  padding: 6px 10px;
  border-radius: 0;
  background: #f8fafc;
  border: none;
  border-left: 2px solid var(--sst-place-gold, #e6a800);
  color: #475569;
  font-size: 0.76rem;
  line-height: 1.45;
}

.sst-hm-results-notice {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.84rem;
  line-height: 1.5;
}

.sst-hm-results-notice--stretch {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
}

.sst-hm-results-notice--named-flight {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
}

.sst-hm-results-notice--basis {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.84rem;
  line-height: 1.45;
}

.sst-hm-results-notice--basis strong {
  color: #0f172a;
  font-weight: 650;
}

.sst-hm-compare {
  padding: 12px 14px 10px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(7, 112, 227, 0.14);
  box-shadow: none;
}

.sst-hm-compare__head {
  margin-bottom: 8px;
}

.sst-hm-compare__head h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.sst-hm-compare__head p {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
}

.sst-hm-compare__table {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sst-hm-compare__row {
  display: grid;
  grid-template-columns: minmax(88px, 1fr) 1fr 1fr;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid #eef2f7;
  align-items: start;
}

.sst-hm-compare__row--head {
  border-top: 0;
  padding-top: 0;
}

.sst-hm-compare__label {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  padding-top: 2px;
}

.sst-hm-compare__cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sst-hm-compare__value {
  font-size: 0.88rem;
  font-weight: 850;
  color: #0f172a;
  line-height: 1.3;
}

.sst-hm-compare__sub {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
}

.sst-hm-compare__cell--lead .sst-hm-compare__value {
  color: #0557b0;
}

.sst-hm-empty {
  padding: 22px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px dashed #cbd5e1;
  color: #64748b;
  font-size: 0.9rem;
  text-align: center;
}

.sst-hm-empty__title {
  margin: 0 0 12px;
  color: #0f172a;
}

.sst-hm-empty__tips {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  text-align: left;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

.sst-hm-empty__tips li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 0.86rem;
  line-height: 1.5;
}

.sst-hm-empty__tips li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0770e3;
}

.sst-hm-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.sst-hm-empty__browse {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid #e6a800;
  background: #fffbeb;
  color: #92610a;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
}

.sst-hm-empty__browse:hover {
  background: #fef3c7;
  color: #784f08;
}

.sst-hm-empty__edit {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid #bfdbfe;
  background: #eff6ff;
  color: #0557b0;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
}

.sst-hm-empty__edit:hover {
  background: #dbeafe;
}

@media (max-width: 900px) {
  .sst-hm-compare__row {
    grid-template-columns: minmax(72px, 0.85fr) 1fr 1fr;
    gap: 6px;
  }

  .sst-hm-result-card--featured {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
  }

  .sst-hm-result-card--featured .sst-hm-result-card__media {
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 9;
    min-height: 140px;
    max-height: 180px;
    height: auto;
    align-self: stretch;
    justify-self: stretch;
  }
}

@media (max-width: 720px) {
  .sst-hm-home-teaser__list {
    grid-template-columns: 1fr;
  }

  .sst-hm-grid {
    grid-template-columns: 1fr;
  }

  .sst-hm-results-grid__rest,
  .sst-hm-more-matches__list {
    grid-template-columns: 1fr;
  }

  .sst-hm-panel {
    padding: 18px 16px;
    border-radius: 20px;
  }

  body.sst-page-holiday-matcher .sst-hm-page-hero .wrap,
  body.sst-page-holiday-matcher .sst-hm-page-body .wrap {
    width: min(100% - 32px, 920px);
  }

  body.sst-page-holiday-matcher .sst-hm-page-hero {
    padding-top: calc(var(--sst-nav-stack-h, var(--sst-nav-h, 54px)) + 24px);
    padding-bottom: 20px;
  }

  .sst-hm-page-body .sst-hm-panel {
    margin-top: -20px;
  }

  .sst-hm-result-card__title-row {
    flex-direction: row;
    align-items: flex-start;
  }

  .sst-hm-result-card__score {
    text-align: center;
  }

  .sst-hm-match-ring {
    --sst-hm-ring-size: 46px;
  }

  .sst-hm-results-band__inner {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Mobile sticky submit (full matcher page) */
.sst-hm-sticky-submit {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8600;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #dbeafe;
  box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.12);
}

.sst-hm-sticky-submit:not([hidden]) {
  display: block;
}

.sst-hm-sticky-submit__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: #0770e3;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: none;
}

body.sst-hm-sticky-visible {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 761px) {
  .sst-hm-sticky-submit {
    display: none !important;
  }

  body.sst-hm-sticky-visible {
    padding-bottom: 0;
  }
}

/* V2: Advanced trip details */
.sst-hm-advanced {
  margin: 12px 0 4px;
}
.sst-hm-advanced__toggle {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0770e3;
  cursor: pointer;
  list-style: none;
  padding: 8px 0;
}
.sst-hm-advanced__toggle::-webkit-details-marker { display: none; }
.sst-hm-advanced__toggle::before {
  content: '▸ ';
  font-size: 0.78rem;
}
.sst-hm-advanced[open] > .sst-hm-advanced__toggle::before {
  content: '▾ ';
}
.sst-hm-grid--advanced {
  gap: 10px;
  margin-top: 8px;
}

/* V2: Trade-off line */
.sst-hm-result-card__tradeoff {
  font-size: 0.82rem;
  color: #475569;
  background: #f8fafc;
  border-left: 2px solid var(--sst-place-gold, #e6a800);
  border-radius: 0;
  padding: 6px 10px;
  margin: 6px 0 2px;
  line-height: 1.45;
}
.sst-hm-result-card__tradeoff strong {
  font-weight: 800;
}

/* V2: See more matches — centre the button only, not the cards inside */
.sst-hm-more-matches {
  text-align: center;
  margin: 8px 0 4px;
}
.sst-hm-more-matches__list {
  text-align: left;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
  margin-top: 12px;
}
.sst-hm-more-matches__list[hidden],
.sst-hm-more-matches__btn[hidden] {
  display: none !important;
}
.sst-hm-more-matches__list .sst-hm-result-card {
  height: auto;
}
.sst-hm-more-matches__list .sst-hm-result-card,
.sst-hm-more-matches__list .sst-hm-result-card__body,
.sst-hm-more-matches__list .sst-hm-result-card__place,
.sst-hm-more-matches__list .sst-hm-result-card__tagline,
.sst-hm-more-matches__list .sst-hm-result-card__fit,
.sst-hm-more-matches__list .sst-hm-result-card__why,
.sst-hm-more-matches__list .sst-hm-result-card__why-heading,
.sst-hm-more-matches__list .sst-hm-result-card__why-prose,
.sst-hm-more-matches__list .sst-hm-result-card__checklist,
.sst-hm-more-matches__list .sst-hm-check__text {
  text-align: left;
}
.sst-hm-more-matches__list .sst-hm-result-card__body {
  align-items: stretch;
}
.sst-hm-more-matches__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.sst-hm-more-matches__btn:hover {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.22);
}

@media (max-width: 720px) {
  .sst-hm-more-matches__list {
    grid-template-columns: 1fr !important;
  }
}

.sst-hm-result-card__why-heading {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sst-hm-vibe-ink, #155e75);
}

.sst-hm-result-card__fit {
  margin: 0 0 6px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
}

.sst-hm-result-card__plan-nudge {
  margin: 8px 0 4px;
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.4;
}

.sst-hm-results-band__budget-note,
.sst-hm-results-band__origin-note {
  margin: 8px 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #475569;
}

.sst-hm-results-band__change-origin {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #0770e3;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sst-hm-results-band__change-origin:hover,
.sst-hm-results-band__change-origin:focus {
  color: #034a94;
}

@media (max-width: 430px) {
  .sst-hm-compare {
    padding: 14px 12px 12px;
  }
  .sst-hm-compare__row {
    grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }
  .sst-hm-compare__row--head .sst-hm-compare__sub {
    display: none;
  }
  .sst-hm-compare__value {
    font-size: 0.78rem;
  }
  .sst-hm-compare__label {
    font-size: 0.64rem;
    letter-spacing: 0.03em;
  }
  .sst-hm-result-card__why-prose,
  .sst-hm-result-card__fit,
  .sst-hm-result-card__tagline,
  .sst-hm-result-card__tradeoff,
  .sst-hm-result-card__plan-nudge {
    font-size: 0.88rem;
  }
  .sst-hm-result-card__media {
    min-height: 168px;
  }
  .sst-hm-match-ring {
    --sst-hm-ring-size: 40px;
  }
  .sst-hm-match-ring__value {
    font-size: 0.68rem;
  }
  .sst-hm-match-ring__value small {
    font-size: 0.46rem;
  }
  .sst-hm-result-card__body {
    padding: 12px 14px 16px;
    gap: 8px;
  }
  .sst-hm-result-card__rank {
    top: 10px;
    left: 10px;
  }
  .sst-hm-result-card__score-label {
    max-width: none;
    font-size: 0.58rem;
  }
  .sst-hm-result-card__price-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .sst-hm-result-card__price-amount + .sst-hm-result-card__price-assumptions::before {
    content: none;
  }
  .sst-hm-result-card__checklist {
    gap: 6px;
  }
  .sst-hm-results-band__chips {
    gap: 6px;
  }
}

/* Submit loading — skeleton cards in the results grid, no min-time */
body.sst-hm-is-loading .sst-hm-sticky-submit {
  display: none !important;
}
.sst-hm-loading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sst-hm-loading[hidden] {
  display: none !important;
}
.sst-hm-loading__msg {
  margin: 0;
}

.sst-hm-result-card--skel {
  pointer-events: none;
  --sst-hm-vibe: #94a3b8;
  --sst-hm-vibe-soft: #e2e8f0;
  --sst-hm-vibe-ink: #94a3b8;
}
.sst-hm-result-card--skel.sst-hm-result-card--featured {
  min-height: 280px;
}
.sst-hm-result-card--skel .sst-hm-result-card__media {
  background: #e8edf3;
}
.sst-hm-result-card--skel .sst-hm-result-card__media::after {
  display: none;
}
.sst-hm-skel-photo {
  position: absolute;
  inset: 0;
  display: block;
  background-color: #e2e8f0;
  background-image: linear-gradient(90deg, #e2e8f0 0%, #f8fafc 45%, #e2e8f0 100%);
  background-size: 200% 100%;
  animation: sst-hm-skel-shimmer 1.2s ease-in-out infinite;
}
.sst-hm-skel-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  width: 72px;
  height: 22px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.55);
  background-image: linear-gradient(90deg, rgba(226, 232, 240, 0.7) 0%, rgba(248, 250, 252, 0.95) 45%, rgba(226, 232, 240, 0.7) 100%);
  background-size: 200% 100%;
  animation: sst-hm-skel-shimmer 1.2s ease-in-out infinite;
}
.sst-hm-skel-line {
  display: block;
  height: 12px;
  border-radius: 999px;
  background-color: #e2e8f0;
  background-image: linear-gradient(90deg, #e2e8f0 0%, #f8fafc 45%, #e2e8f0 100%);
  background-size: 200% 100%;
  animation: sst-hm-skel-shimmer 1.2s ease-in-out infinite;
}
.sst-hm-skel-line--title {
  flex: 1;
  height: 18px;
  max-width: 180px;
  margin-top: 6px;
}
.sst-hm-skel-line--place {
  width: 42%;
  max-width: 140px;
  height: 10px;
}
.sst-hm-skel-line--tag {
  width: 78%;
  height: 10px;
}
.sst-hm-skel-line--mid {
  width: 86%;
}
.sst-hm-skel-line--short {
  width: 54%;
}
.sst-hm-skel-why {
  display: grid;
  gap: 10px;
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
}
.sst-hm-match-ring--skel {
  animation: sst-hm-skel-pulse 1.2s ease-in-out infinite;
}
.sst-hm-match-ring--skel .sst-hm-match-ring__track {
  stroke: #cbd5e1;
}
body.sst-page-holiday-matcher .sst-hm-result-card--skel.sst-hm-result-card--featured .sst-hm-result-card__why,
body.sst-page-holiday-matcher .sst-hm-result-card--skel.sst-hm-result-card--also .sst-hm-result-card__why {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.sst-hm-results-grid--enter > .sst-hm-result-card,
.sst-hm-results-grid--enter > .sst-hm-results-grid__rest,
.sst-hm-results-grid--enter > .sst-hm-compare,
.sst-hm-results-grid--enter > .sst-hm-more-matches,
.sst-hm-results-grid--enter > .sst-hm-results-notice {
  animation: sst-hm-result-in 0.22s ease both;
}

@keyframes sst-hm-skel-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@keyframes sst-hm-skel-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
@keyframes sst-hm-result-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 900px) {
  .sst-hm-result-card--skel.sst-hm-result-card--featured {
    min-height: 0;
  }
}
/* Saved trip card — homepage + matcher resume */
body.sst-page-home.sst-home-has-trip > .hero .sst-home-hero-bg {
  bottom: auto;
  height: calc(
    100% + var(--sst-hero-bg-lift, var(--sst-nav-h, 54px)) -
      var(--sst-trip-card-extra, 0px)
  );
}
.sst-trip-card {
  margin: 0 0 16px;
  padding: 14px 16px 16px;
  background: #fffaf0;
  border: 1px solid rgba(230, 168, 0, 0.35);
  border-radius: 16px;
}
.sst-trip-card[hidden] {
  display: none !important;
}
.sst-trip-card__kicker {
  margin: 0 0 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sst-place-gold, #e6a800);
}
.sst-trip-card__dest {
  margin: 0 0 4px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sst-place-gold, #e6a800);
  line-height: 1.2;
}
.sst-trip-card__meta {
  margin: 0 0 8px;
  font-size: 0.86rem;
  color: #334155;
}
.sst-trip-card__why {
  margin: 0 0 12px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #1e293b;
}
.sst-trip-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}
.sst-trip-card__continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff !important;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
}
.sst-trip-card__ask {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(15, 23, 42, 0.18);
  color: #0f172a !important;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  background: #fff;
}
.sst-trip-card__clear {
  appearance: none;
  border: 0;
  background: transparent;
  color: #334155;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
  padding: 8px 6px;
}
.sst-trip-card__group {
  margin: 10px 0 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #334155;
}
.sst-trip-card__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sst-trip-card__step {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #0f172a !important;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}
.sst-trip-card__extras {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.sst-trip-card__watch,
.sst-trip-card__share {
  margin: 0 0 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  color: #475569;
}
.sst-trip-card__watch:last-child,
.sst-trip-card__share:last-child {
  margin-bottom: 0;
}
.sst-trip-card__watch-btn,
.sst-trip-card__copy,
.sst-trip-card__wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 4px 12px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.sst-trip-card__watch-btn,
.sst-trip-card__copy {
  appearance: none;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: #fff;
  color: #0f172a;
}
.sst-trip-card__wa {
  background: #0f172a;
  color: #fff !important;
  border: 0;
}
.sst-trip-card__watch-on {
  font-weight: 800;
  color: var(--sst-place-gold, #e6a800);
}
.sst-trip-card__watch a {
  font-weight: 700;
  color: #075fc0;
}
.sst-trip-card__watch-note {
  font-size: 0.78rem;
  color: #334155;
}
@media (max-width: 760px) {
  .sst-trip-card__continue,
  .sst-trip-card__ask {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sst-hm-skel-photo,
  .sst-hm-skel-chip,
  .sst-hm-skel-line,
  .sst-hm-match-ring--skel {
    animation: none;
  }
  .sst-hm-results-grid--enter > .sst-hm-result-card,
  .sst-hm-results-grid--enter > .sst-hm-results-grid__rest,
  .sst-hm-results-grid--enter > .sst-hm-compare,
  .sst-hm-results-grid--enter > .sst-hm-more-matches,
  .sst-hm-results-grid--enter > .sst-hm-results-notice {
    animation: none;
  }
}
