:root {
  --bg: #f4f3fb;
  --paper: rgba(255, 255, 255, 0.92);
  --paper-strong: #fffaf4;
  --ink: #1f2340;
  --muted: #62688a;
  --line: rgba(31, 35, 64, 0.12);
  --accent: #ff5a2c;
  --accent-deep: #e6491f;
  --accent-soft: #f4dfd1;
  --olive: #5031a6;
  --shadow: 0 18px 60px rgba(31, 35, 64, 0.12);
  --brand: #2d0b7e;
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

a,
button,
input,
select {
  touch-action: manipulation;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body.home-page #planejador {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 90, 44, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(45, 11, 126, 0.16), transparent 28%),
    linear-gradient(180deg, #f5f4fb 0%, #edf0fa 100%);
}

.page-shell {
  width: min(1680px, calc(100% - 64px));
  margin: 0 auto;
  padding-bottom: 80px;
}

body.home-page .page-shell {
  width: calc(100% - clamp(20px, 3vw, 64px));
  max-width: none;
}

body.home-page main {
  max-width: 1180px;
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  margin-top: 14px;
  border-radius: 24px;
  background: linear-gradient(135deg, #2d0b7e, #4f19c3);
  box-shadow: 0 14px 38px rgba(45, 11, 126, 0.2);
}

.site-header.is-authenticated {
  box-shadow: 0 20px 60px rgba(19, 109, 87, 0.28);
}

.brand {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.brand-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.72);
}

.brand-name {
  font-family: "Fraunces", serif;
  font-size: 1.28rem;
  font-weight: 700;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.header-auth-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.header-account-menu {
  position: relative;
}

.header-account-button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  min-height: 52px;
  padding: 6px 10px 6px 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.header-account-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--brand);
  font-weight: 800;
}

.header-account-lines {
  display: grid;
  gap: 1px;
  max-width: 150px;
  text-align: left;
}

.header-account-lines strong,
.header-account-lines small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-account-lines strong {
  font-size: 0.9rem;
}

.header-account-lines small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
}

.header-account-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.header-account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  width: 280px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(31, 35, 64, 0.12);
  box-shadow: 0 22px 60px rgba(31, 35, 64, 0.22);
}

.header-account-card {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  background: #251050;
  color: #fff;
}

.header-account-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.header-account-dropdown a,
.header-account-signout {
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  border: 0;
  border-top: 1px solid rgba(31, 35, 64, 0.08);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}

.header-account-dropdown a:hover,
.header-account-signout:hover {
  background: #f7f4ff;
}

.header-account-signout {
  color: var(--accent-deep);
}

.header-account-signout[hidden] {
  display: none;
}

.button {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-deep);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.button-ghost.dark-ghost {
  background: rgba(45, 11, 126, 0.08);
  color: #2d0b7e;
  border: 1px solid rgba(45, 11, 126, 0.14);
}

.mobile-floating-cta {
  display: none;
}

@keyframes mobileRevealUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  display: block;
  padding: clamp(26px, 3vw, 44px);
  margin-top: 20px;
  border-radius: 40px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(135deg, #24095f, #4f19c3 58%, #6f3cf0 100%);
  box-shadow: 0 28px 80px rgba(45, 11, 126, 0.28);
}
.section-head h2,
.dark-callout h2,
.modal-content h2 {
  font-family: "Fraunces", serif;
  line-height: 1.04;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--accent-deep);
}

.destination-grid span,
.destination-grid a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}

.destination-grid a {
  color: inherit;
  text-decoration: none;
  text-align: center;
}

.planner-card,
.proof-strip,
.step,
.route-card,
.preview-panel,
.dark-callout,
.modal-card,
.gated-box,
.unlocked-box {
  backdrop-filter: blur(16px);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
}

.planner-card {
  border-radius: 36px;
  padding: 0;
  background: rgba(255, 255, 255, 0.98);
  overflow: hidden;
  max-width: 1240px;
  margin: 0 auto;
}

.planner-card h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.8vw, 2.35rem);
}

.planner-card-shell {
  display: grid;
}

.planner-card-shell,
.planner-card-copy,
.planner-workspace,
.planner-form,
.planner-panel,
.planner-submit-block {
  min-width: 0;
}

.planner-card-copy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  padding: 34px 36px 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 244, 255, 0.96) 100%);
  color: var(--ink);
  border-bottom: 1px solid rgba(95, 70, 185, 0.1);
}

.planner-copy-main {
  display: grid;
}

.planner-copy-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.planner-copy-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(95, 70, 185, 0.08);
  border: 1px solid rgba(95, 70, 185, 0.12);
  color: #5f46b9;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.planner-card-copy .eyebrow,
.planner-card-copy h2,
.planner-card-copy .planner-intro {
  color: inherit;
}

.planner-card-copy .eyebrow {
  color: var(--accent-deep);
}

.planner-card-copy .planner-intro {
  max-width: 58ch;
  color: var(--muted);
}

.planner-auth-banner {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(95, 70, 185, 0.08);
  border: 1px solid rgba(95, 70, 185, 0.12);
}

.planner-auth-banner.is-connected {
  background: rgba(15, 118, 110, 0.08);
  border-color: rgba(15, 118, 110, 0.18);
}

.planner-auth-banner strong {
  color: #5f46b9;
}

.planner-auth-banner.is-connected strong {
  color: #0f766e;
}

.planner-auth-banner span {
  color: var(--muted);
  line-height: 1.6;
}

.planner-auth-banner a {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: none;
}

.planner-intro {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.planner-helper {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.planner-panel-kicker {
  display: block;
  margin-bottom: 8px;
  color: #5f46b9;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.planner-panel {
  display: grid;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fcf9ff 100%);
  border: 1px solid rgba(95, 70, 185, 0.08);
  grid-column: 1 / -1;
}

.planner-panel-feature,
.planner-panel-wide {
  grid-column: 1 / -1;
}

.planner-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.planner-panel-head strong,
.planner-switch-copy strong {
  font-size: 1.18rem;
}

.planner-panel-head p,
.planner-switch-copy p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.planner-mode-switch-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}

.planner-inline-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(95, 70, 185, 0.045);
  border: 1px solid rgba(95, 70, 185, 0.075);
}

.planner-inline-switch .planner-switch-copy strong {
  font-size: 0.98rem;
}

.planner-inline-switch .planner-switch-copy p {
  margin-top: 3px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.planner-switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.planner-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.planner-switch-ui {
  position: relative;
  width: 66px;
  height: 38px;
  border-radius: 999px;
  background: #ece7ff;
  border: 1px solid rgba(95, 70, 185, 0.16);
  transition: background 150ms ease, border-color 150ms ease;
}

.planner-switch-ui::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 20px rgba(31, 35, 64, 0.16);
  transition: transform 150ms ease;
}

.planner-switch input:checked + .planner-switch-ui {
  background: #fff0eb;
  border-color: rgba(255, 90, 44, 0.24);
}

.planner-switch input:checked + .planner-switch-ui::after {
  transform: translateX(28px);
}

.planner-switch input:focus-visible + .planner-switch-ui {
  outline: 3px solid rgba(255, 90, 44, 0.28);
  outline-offset: 3px;
}

.planner-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.planner-tab {
  border: 1px solid transparent;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f2efff;
  color: #5f46b9;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.planner-tab.active {
  background: #fff0eb;
  color: var(--accent-deep);
  border-color: rgba(255, 90, 44, 0.18);
}

.planner-tab:focus-visible,
.segmented-choice:focus-visible {
  outline: 3px solid rgba(255, 90, 44, 0.28);
  outline-offset: 3px;
}

.planner-tabs-secondary {
  margin-top: 2px;
}

.planner-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding: 0;
  background: transparent;
}

.planner-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.45fr);
  gap: 24px;
  align-items: start;
  padding: 32px;
  background: linear-gradient(180deg, #fcfbff 0%, #f8f4ff 100%);
}

.planner-sidebar {
  display: grid;
  gap: 16px;
  min-width: 340px;
  padding: 0;
  border-left: 0;
  background: transparent;
}

.planner-sidebar-sticky {
  position: sticky;
  top: 92px;
}

.planner-sidebar-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(95, 70, 185, 0.1);
  box-shadow: 0 14px 34px rgba(45, 11, 126, 0.075);
}

.planner-sidebar-card-spotlight {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 255, 0.96));
  color: var(--ink);
}

.planner-sidebar-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5f46b9;
}

.planner-sidebar-card h3 {
  margin: 0;
  font-size: clamp(1.25rem, 1.5vw, 1.55rem);
  line-height: 1.15;
  color: var(--ink);
}

.planner-sidebar-card p,
.planner-benefits {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.planner-sidebar-card-spotlight p {
  color: var(--muted);
}

.planner-sidebar-card-spotlight .planner-summary-list span {
  color: #7b7fa1;
}

.planner-sidebar-card-spotlight .planner-summary-list strong {
  color: var(--ink);
}

.planner-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.planner-sidebar-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(95, 70, 185, 0.1);
  color: #5f46b9;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.planner-summary-list {
  display: grid;
  gap: 10px;
}

.planner-summary-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(95, 70, 185, 0.09);
}

.planner-summary-list span {
  color: #7b7fa1;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.planner-summary-list strong {
  font-size: 1rem;
  line-height: 1.5;
  text-align: right;
  max-width: 58%;
}

.planner-sidebar-submit {
  width: 100%;
  min-height: 56px;
  box-shadow: 0 14px 28px rgba(255, 90, 44, 0.24);
}

.planner-sidebar-submit:disabled,
.planner-submit:disabled {
  cursor: not-allowed;
  opacity: 1;
  background: #f0edf7;
  color: #8a7eb8;
  border-color: rgba(95, 70, 185, 0.14);
  filter: none;
  box-shadow: none;
}

.planner-cta-helper {
  font-size: 0.9rem;
  text-align: center;
  color: var(--muted);
}

.planner-benefits {
  padding-left: 18px;
}

.planner-benefits li + li {
  margin-top: 10px;
}

.planner-mode-panel,
.planner-date-panel {
  display: grid;
  gap: 14px;
}

#single-destination-panel,
#multi-destination-panel {
  grid-column: 1 / -1;
}

.planner-mode-panel.hidden,
.planner-date-panel.hidden {
  display: none;
}

.planner-mode-panel-active,
.planner-date-panel-active {
  animation: fadeUp 180ms ease;
}

.planner-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 0;
}

.planner-section-head strong {
  display: block;
  font-size: 1.18rem;
}

.planner-section-head p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.planner-mini-button {
  min-height: 42px;
  padding-inline: 18px;
  white-space: nowrap;
}

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

.multi-leg-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1.4fr) minmax(160px, 0.7fr) auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(95, 70, 185, 0.12);
}

.multi-leg-order {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(95, 70, 185, 0.1);
  color: #5f46b9;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
}

.multi-leg-field {
  margin: 0;
}

.multi-leg-field span,
.multi-leg-days span,
.multi-leg-dates span {
  font-size: 0.88rem;
  font-weight: 700;
}

.multi-leg-days,
.multi-leg-dates {
  margin: 0;
}

.multi-leg-dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  grid-column: 2 / -1;
}

.multi-leg-remove {
  min-height: 52px;
  border: 1px solid rgba(255, 90, 44, 0.18);
  background: #fff3ef;
  color: var(--accent-deep);
  border-radius: 14px;
  padding: 0 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  align-self: end;
}

.planner-form-grid-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.planner-date-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.planner-date-summary {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(95, 70, 185, 0.08);
  border: 1px solid rgba(95, 70, 185, 0.14);
}

.planner-date-summary strong {
  color: #5f46b9;
}

.planner-date-summary span {
  color: var(--muted);
  line-height: 1.6;
}

.planner-input-shell {
  display: grid;
  align-items: center;
  border-radius: 20px;
  border: 1px solid rgba(95, 70, 185, 0.14);
  background: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 10px 24px rgba(45, 11, 126, 0.055);
}

.planner-destination-input {
  border: 0;
  border-radius: 20px;
  min-height: 64px;
  padding: 16px 18px;
  font-size: 1.04rem;
  font-weight: 700;
  background: transparent;
}

.planner-destination-input::placeholder {
  color: #8a90ac;
  font-weight: 500;
}

.planner-form.is-multi #flexible-date-panel,
.planner-form.is-multi #exact-date-panel {
  display: none !important;
}

.planner-form.is-multi #multi-date-helper {
  display: block !important;
}

.planner-multi-date-helper {
  margin-top: -2px;
  font-weight: 600;
}

.planner-form label,
.lead-form label {
  display: grid;
  gap: 8px;
  font-weight: 500;
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

input:focus,
select:focus {
  outline: 2px solid rgba(217, 109, 61, 0.24);
  border-color: rgba(217, 109, 61, 0.5);
}

.planner-input-shell:focus-within {
  outline: 2px solid rgba(217, 109, 61, 0.24);
  border-color: rgba(217, 109, 61, 0.5);
}

.planner-input-shell .planner-destination-input:focus {
  outline: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.planner-form-grid-compact {
  grid-template-columns: minmax(0, 1fr);
  max-width: 240px;
}

.form-grid-preferences {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.planner-preference-groups {
  display: grid;
  gap: 18px;
}

.planner-choice-field {
  display: grid;
  gap: 10px;
}

.planner-choice-label {
  color: var(--ink);
  font-weight: 800;
}

.segmented-choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.segmented-choice {
  min-height: 46px;
  border: 1px solid rgba(95, 70, 185, 0.14);
  border-radius: 999px;
  padding: 0 16px;
  background: #fff;
  color: #4d5273;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.segmented-choice:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 90, 44, 0.28);
  color: var(--accent-deep);
}

.segmented-choice.is-selected {
  background: #fff0eb;
  border-color: rgba(255, 90, 44, 0.34);
  color: var(--accent-deep);
  box-shadow: inset 0 0 0 1px rgba(255, 90, 44, 0.08);
}

.planner-native-select-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.planner-submit-block {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.planner-submit-mobile {
  display: none;
}

.planner-submit {
  width: fit-content;
  min-width: 280px;
  min-height: 58px;
  font-size: 1rem;
}

.microcopy {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

.field-feedback {
  margin: -2px 0 0;
  padding: 0 2px;
  font-size: 0.9rem;
}

.field-feedback.is-error {
  color: #c2410c;
}

.field-feedback.is-success {
  color: #0f766e;
}

#flexible-options-grid.hidden {
  display: none;
}

.hero-planner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1120px;
  margin: 24px auto 42px;
  padding: clamp(22px, 3vw, 42px) 0 4px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.planner-hero-copy {
  position: static;
  max-width: 820px;
  padding-top: 0;
  text-align: center;
}

.planner-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.15rem, 3.4vw, 3.55rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.planner-hero-copy p:not(.eyebrow) {
  max-width: 52ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.05vw, 1.08rem);
  line-height: 1.55;
  margin-inline: auto;
}

.planner-search-card {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 1120px;
  padding: clamp(18px, 2vw, 26px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(95, 70, 185, 0.1);
  box-shadow: 0 22px 60px rgba(45, 11, 126, 0.11);
}

.planner-intent-tabs {
  display: inline-flex;
  width: fit-content;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(95, 70, 185, 0.08);
  border: 1px solid rgba(95, 70, 185, 0.08);
}

.planner-intent-tab {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: transparent;
  color: #5f46b9;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.planner-intent-tab.active {
  background: #fff;
  color: var(--accent-deep);
  box-shadow: 0 8px 18px rgba(45, 11, 126, 0.09);
}

.planner-intent-tab:focus-visible {
  outline: 3px solid rgba(255, 90, 44, 0.28);
  outline-offset: 3px;
}

.planner-intent-panel {
  display: grid;
  gap: 12px;
}

.planner-intent-panel.hidden,
.planner-date-panel.hidden,
.planner-mode-panel.hidden {
  display: none;
}

.planner-primary-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(170px, 0.58fr) minmax(320px, 1.05fr);
  gap: 14px;
  align-items: stretch;
}

.planner-secondary-row,
.planner-ideas-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) repeat(2, minmax(260px, 1fr));
  gap: 14px;
  align-items: end;
}

.planner-ideas-grid {
  grid-template-columns: minmax(180px, 0.6fr) minmax(140px, 0.4fr) minmax(220px, 0.8fr) minmax(0, 1.2fr);
}

.planner-destination-block,
.planner-compact-field {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(31, 35, 64, 0.1);
}

.planner-destination-block {
  grid-column: 1 / -1;
  padding: 14px;
  border-color: rgba(95, 70, 185, 0.16);
  box-shadow: 0 10px 26px rgba(45, 11, 126, 0.07);
}

.planner-field-label {
  color: var(--ink);
  font-weight: 800;
  font-size: 0.92rem;
}

.planner-search-card .planner-input-shell {
  border-radius: 16px;
  border-color: rgba(95, 70, 185, 0.16);
  box-shadow: none;
}

.planner-search-card .planner-destination-input {
  min-height: 46px;
  border-radius: 14px;
  padding: 10px 12px;
}

.planner-search-card input,
.planner-search-card select {
  min-height: 44px;
  border-radius: 12px;
  background: #fff;
}

.planner-date-shell .planner-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.planner-date-shell .planner-tab {
  min-height: 44px;
  border-radius: 12px;
  padding: 0 12px;
}

.planner-search-card .planner-submit {
  width: auto;
  min-width: 220px;
  min-height: 58px;
  border-radius: 18px;
  align-self: end;
  white-space: nowrap;
}

.planner-stepper {
  display: grid;
  grid-template-columns: 38px minmax(56px, 1fr) auto 38px;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 8px;
  border: 1px solid rgba(95, 70, 185, 0.14);
  border-radius: 14px;
  background: #fff;
}

.planner-stepper input {
  min-width: 0;
  min-height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 800;
}

.planner-stepper-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(95, 70, 185, 0.16);
  border-radius: 999px;
  background: rgba(95, 70, 185, 0.08);
  color: #5f46b9;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.planner-stepper-button:hover {
  border-color: rgba(255, 90, 44, 0.3);
  color: var(--accent-deep);
}

.planner-stepper-suffix {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.planner-add-inline {
  width: fit-content;
  min-height: 38px;
  padding-inline: 14px;
}

.planner-cta-row {
  display: flex;
  justify-content: flex-end;
  padding-top: 2px;
}

.planner-search-card .planner-helper {
  font-size: 0.84rem;
  line-height: 1.35;
}

.planner-search-card .planner-choice-label {
  font-size: 0.92rem;
}

.planner-add-destination-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 0;
}

.planner-search-card #multi-destination-panel {
  padding: 18px;
  border-radius: 22px;
  background: rgba(95, 70, 185, 0.045);
  border: 1px solid rgba(95, 70, 185, 0.09);
}

.planner-search-card .field-feedback {
  margin: 0;
  min-height: 1.3em;
  font-weight: 700;
}

.planner-discovery-tags {
  align-content: start;
}

.planner-search-card .planner-choice-field {
  align-content: start;
  min-width: 0;
}

.planner-search-card .segmented-choice {
  min-height: 38px;
  padding: 0 13px;
}

.planner-value-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-page #rotas .route-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-page #rotas .route-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.55fr) minmax(0, 1fr);
  min-height: 210px;
}

.home-page #rotas .route-visual {
  aspect-ratio: auto;
  min-height: 100%;
}

.home-page #rotas .route-body {
  display: grid;
  align-content: center;
}

@media (max-width: 1500px) {
  .planner-primary-row {
    grid-template-columns: minmax(260px, 1fr) minmax(170px, 0.58fr) minmax(300px, 1fr);
    gap: 14px;
  }

  .planner-secondary-row {
    grid-template-columns: minmax(210px, 0.72fr) repeat(2, minmax(240px, 1fr));
    gap: 16px;
  }

  .planner-ideas-grid {
    grid-template-columns: minmax(190px, 0.65fr) minmax(130px, 0.35fr) minmax(240px, 0.8fr) minmax(0, 1.2fr) minmax(180px, 0.48fr);
  }
}

@media (max-width: 1320px) {
  .hero-planner {
    width: 100%;
  }

  .planner-primary-row {
    grid-template-columns: minmax(250px, 1fr) minmax(170px, 0.6fr) minmax(280px, 1fr);
  }

  .planner-secondary-row {
    grid-template-columns: minmax(190px, 0.75fr) repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 1100px) {
  .hero-planner {
    grid-template-columns: 1fr;
  }

  .planner-hero-copy {
    position: static;
    max-width: 760px;
    padding-top: 0;
  }

  .planner-primary-row,
  .planner-secondary-row,
  .planner-ideas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .planner-destination-block,
  .planner-ideas-grid .planner-choice-field {
    grid-column: 1 / -1;
  }

  .planner-cta-row {
    justify-content: stretch;
  }

  .planner-search-card .planner-submit {
    width: 100%;
  }

  .planner-value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero-planner {
    margin-top: 18px;
    padding-inline: 0;
  }

  .planner-search-card {
    border-radius: 22px;
    padding: 14px;
  }

  .planner-intent-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .planner-primary-row,
  .planner-secondary-row,
  .planner-ideas-grid,
  .planner-date-grid,
  .multi-leg-row {
    grid-template-columns: 1fr;
  }

  .planner-search-card .planner-submit {
    min-height: 56px;
  }

  .planner-add-destination-row {
    align-items: stretch;
    flex-direction: column;
  }

  .planner-value-grid,
  .home-page #rotas .route-grid,
  .home-page #rotas .route-card {
    grid-template-columns: 1fr;
  }

  .home-page #rotas .route-visual {
    aspect-ratio: 16 / 10;
  }
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-radius: var(--radius-lg);
  padding: 26px;
}

.proof-strip p,
.route-card p,
.step p,
.feature-list p,
.preview-panel p,
.dark-callout p,
.result-top p,
.insight-box p,
.unlocked-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.muted-block {
  color: var(--muted);
  line-height: 1.65;
}

.section {
  padding: 96px 0 0;
}

.squad-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.squad-hero-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.squad-hero-panel div,
.squad-front-card,
.squad-card,
.squad-delivery-card,
.squad-overview-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(31, 35, 64, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.squad-hero-panel div {
  padding: 18px;
  display: grid;
  gap: 8px;
}

.squad-hero-panel strong {
  font-size: 2rem;
  line-height: 1;
}

.squad-overview-card {
  margin-top: 22px;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.squad-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.squad-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.squad-badge-active {
  background: rgba(15, 118, 110, 0.12);
  color: #0f766e;
}

.squad-badge-review {
  background: rgba(217, 119, 6, 0.14);
  color: #b45309;
}

.squad-badge-done {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}

.squad-badge-queued {
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
}

.squad-section {
  padding-top: 54px;
}

.squad-front-grid,
.squad-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.squad-grid-completed {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.squad-front-card,
.squad-card,
.squad-delivery-card {
  padding: 22px;
}

.squad-card {
  display: grid;
  gap: 4px;
}

.squad-front-head,
.squad-card-head,
.squad-delivery-head {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: start;
}

.squad-front-head h3,
.squad-card-head h3,
.squad-delivery-head h3 {
  margin: 0;
  font-size: 1.2rem;
}

.squad-card-kicker {
  margin: 0 0 6px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b46c1;
  font-weight: 700;
}

.squad-card-meta {
  margin: 10px 0 0;
  color: #6b46c1;
  font-weight: 700;
}

.squad-card-scope,
.squad-delivery-card p,
.squad-front-card p {
  color: var(--muted);
  line-height: 1.65;
}

.squad-front-card p,
.squad-card-block p,
.squad-delivery-card p {
  margin: 0;
}

.squad-card-block {
  margin-top: 16px;
}

.squad-card-block strong {
  display: block;
  margin-bottom: 6px;
}

.squad-agent-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.88rem;
  word-break: break-all;
  color: var(--muted);
}

.squad-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.squad-list li + li {
  margin-top: 6px;
}

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

@media (max-width: 980px) {
  .squad-hero,
  .squad-overview-card {
    grid-template-columns: 1fr;
    display: grid;
  }

  .squad-hero-panel,
  .squad-front-grid,
  .squad-grid,
  .squad-grid-completed {
    grid-template-columns: 1fr;
  }

  .squad-legend {
    justify-content: flex-start;
  }
}

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-intro {
  color: var(--muted);
  line-height: 1.7;
  margin: 14px 0 0;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0;
}

.steps,
.route-grid,
.destination-grid,
.unlocked-grid {
  display: grid;
  gap: 18px;
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step,
.route-card {
  border-radius: var(--radius-md);
  padding: 28px;
}

.route-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.card-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.step span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 800;
  margin-bottom: 18px;
}

.accent .route-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.route-card {
  overflow: hidden;
  padding: 0;
  background: rgba(255, 255, 255, 0.98);
}

.route-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.route-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.route-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.route-badges span,
.route-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

.route-badges span {
  background: rgba(255, 250, 244, 0.9);
  color: var(--ink);
}

.route-body {
  padding: 24px;
}

.route-kicker {
  margin: 0 0 8px;
  color: #5f46b9;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.route-body h3 {
  margin: 0 0 10px;
  font-size: 1.65rem;
}

.route-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.route-meta span {
  background: rgba(95, 70, 185, 0.12);
  color: #5f46b9;
}

.route-cta {
  display: inline-flex;
  margin-top: 18px;
  color: var(--olive);
}

.feature-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-list > div,
.preview-panel {
  border-radius: var(--radius-md);
  padding: 22px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(31, 43, 44, 0.08);
}

.preview-panel ul,
.result-list {
  padding-left: 18px;
}

.destination-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.destination-grid a:hover,
.card-link:hover,
.route-link:hover {
  transform: translateY(-2px);
}

.dark-callout {
  margin-top: 84px;
  border-radius: var(--radius-lg);
  padding: 34px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  background:
    linear-gradient(135deg, rgba(45, 11, 126, 0.96), rgba(79, 25, 195, 0.95));
}

.detail-page {
  padding: 12px 0 80px;
}

.site-footer {
  margin-top: 80px;
  padding: 28px 0 8px;
  border-top: 1px solid rgba(31, 43, 44, 0.1);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
}

.journey-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  margin-top: 12px;
}

.journey-login,
.journey-copy,
.journey-main,
.journey-bottom,
.journey-stats,
.journey-topbar {
  display: grid;
  gap: 18px;
}

.journey-copy .hero-text,
.journey-copy .hero-points span {
  color: rgba(31, 43, 44, 0.88);
}

.journey-copy h1 {
  margin: 0 0 18px;
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.06;
}

.journey-copy .hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.journey-copy .hero-points span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 43, 44, 0.08);
  font-weight: 700;
}

.journey-login {
  border-radius: var(--radius-lg);
  padding: 26px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(31, 35, 64, 0.08);
  box-shadow: var(--shadow);
}

.journey-preview-banner {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(95, 70, 185, 0.12);
}

.journey-preview-banner strong {
  color: #5f46b9;
  font-weight: 800;
}

.journey-preview-banner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.journey-auth-card {
  display: grid;
  gap: 14px;
  align-self: start;
  padding: 28px;
}

.journey-auth-card h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
}

.journey-auth-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.journey-auth-card-connected {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 239, 255, 0.9));
  border-color: rgba(95, 70, 185, 0.14);
}

.journey-account-state {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(95, 70, 185, 0.08);
  border: 1px solid rgba(95, 70, 185, 0.12);
  color: #5f46b9;
  font-weight: 800;
}

.journey-topbar {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-top: 30px;
}

.journey-dashboard.is-preview {
  opacity: 1;
}

.journey-dashboard.is-preview .atlas-country-chip,
.journey-dashboard.is-preview .button {
  cursor: default;
}

.journey-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  margin: 10px 0 8px;
  color: var(--brand);
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #5f46b9;
  font-weight: 700;
}

.journey-main {
  grid-template-columns: 1.1fr 0.9fr;
  margin-top: 20px;
}

.journey-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.journey-dashboard.is-preview #reset-journey {
  display: none;
}

.map-shell {
  padding: 24px;
  background: radial-gradient(circle at top, rgba(38, 72, 128, 0.55), rgba(8, 18, 42, 0.96));
  color: #f7f8ff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.map-head {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.map-head h3 {
  margin: 0;
  color: #ffffff;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legend-item {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.legend-item.visited {
  background: rgba(110, 221, 92, 0.16);
  color: #8df276;
}

.legend-item.planned {
  background: rgba(66, 145, 255, 0.18);
  color: #8dbdff;
}

.legend-item.neutral {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
}

.world-map {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #0b2548, #081528);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 420px;
}

.world-map svg {
  display: block;
  width: 100%;
  height: auto;
}

.country-nodes {
  position: absolute;
  inset: 0;
}

.country-dot {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 17, 35, 0.9);
  border-radius: 999px;
  padding: 7px 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  font: inherit;
  color: #f7f8ff;
}

.country-dot span {
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.country-dot.is-visited {
  background: #58d84d;
  color: #071123;
  border-color: transparent;
}

.country-dot.is-planned {
  background: #3a8cff;
  color: #ffffff;
  border-color: transparent;
}

.journey-sidebar {
  display: grid;
  gap: 18px;
}

.ranking-list,
.progress-list {
  display: grid;
  gap: 12px;
}

.ranking-row,
.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.ranking-row strong,
.progress-meta strong {
  color: var(--brand);
}

.ranking-card,
.continent-card {
  background: rgba(255, 255, 255, 0.96);
}

.progress-bar {
  height: 10px;
  border-radius: 999px;
  background: #ece8fb;
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff5a2c, #5f46b9);
}

.journey-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.collection-card {
  padding: 24px;
}

.wonders-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wonder-chip {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: #f1eeff;
  color: #5f46b9;
  font-weight: 700;
  cursor: pointer;
}

.wonder-chip.is-visited {
  background: #17b26a;
  color: #fff;
}

.wonder-chip.is-planned {
  background: var(--accent);
  color: #fff;
}

.wishlists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-button {
  color: var(--ink);
}

.breadcrumb {
  color: var(--muted);
  margin: 0 0 18px;
}

.breadcrumb a {
  color: inherit;
}

.detail-hero,
.detail-grid,
.timeline,
.detail-cta,
.cta-actions {
  display: grid;
  gap: 20px;
}

.detail-hero,
.detail-cta {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
}

.detail-hero.is-logged-in {
  grid-template-columns: 1fr;
}

.route-page {
  display: grid;
  gap: 32px;
}

.route-page > .detail-grid,
.route-page > .section,
.route-page > .detail-cta {
  margin-top: 0;
}

.route-hero {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.32), transparent 28%),
    linear-gradient(135deg, rgba(255, 247, 241, 0.94), rgba(244, 241, 255, 0.94));
  border: 1px solid rgba(95, 70, 185, 0.12);
  box-shadow: 0 24px 70px rgba(31, 35, 64, 0.1);
}

.detail-hero-main {
  min-width: 0;
}

.route-page .hero-text {
  max-width: 62ch;
  font-size: 1.02rem;
  color: rgba(31, 35, 64, 0.78);
}

.route-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.route-title-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.route-inline-edit,
.route-inline-save {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.route-inline-pdf {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 0.9rem;
  box-shadow: 0 14px 28px rgba(255, 90, 44, 0.18);
}

.route-inline-pdf:disabled {
  opacity: 0.72;
  cursor: wait;
  box-shadow: none;
}

.route-pdf-hint {
  margin: 12px 0 0;
  font-size: 0.93rem;
  color: rgba(31, 35, 64, 0.62);
}

.route-inline-feedback {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.route-inline-feedback.is-success {
  color: #0d7a5a;
}

.route-inline-feedback.is-error {
  color: #c2410c;
}

.detail-hero h1 {
  margin: 0 0 16px;
  font-family: "Fraunces", serif;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.04;
}

.detail-aside,
.detail-card,
.timeline-card {
  border-radius: var(--radius-md);
  padding: 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(31, 43, 44, 0.08);
  box-shadow: var(--shadow);
}

.route-page .detail-aside {
  position: sticky;
  top: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 245, 255, 0.92));
  border: 1px solid rgba(95, 70, 185, 0.14);
}

.detail-aside ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.route-account-status {
  display: none;
}

.detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.route-overview-grid {
  margin-top: 12px;
}

.detail-card h2,
.detail-card h3,
.timeline-card h2 {
  margin-top: 0;
}

.detail-card p,
.timeline-card p,
.detail-cta p {
  color: var(--muted);
  line-height: 1.7;
}

.route-page .detail-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(249, 246, 255, 0.82));
  border-color: rgba(95, 70, 185, 0.1);
}

.route-page .detail-card h2 {
  font-size: 1.14rem;
}

.content-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.compact-section {
  padding-top: 54px;
}

.route-section-shell {
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(95, 70, 185, 0.1);
  box-shadow: 0 20px 55px rgba(31, 35, 64, 0.08);
}

.route-cluster-editor {
  padding: clamp(22px, 3vw, 32px);
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(20, 30, 60, 0.08);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.06);
}

.route-cluster-editor[hidden] {
  display: none;
}

.route-cluster-editor-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  margin-bottom: 24px;
}

.route-cluster-editor-head h2 {
  margin: 8px 0 8px;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.route-cluster-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.route-cluster-icon {
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  border-radius: 999px 999px 999px 2px;
  transform: rotate(-45deg);
  position: relative;
}

.route-cluster-icon::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: var(--accent);
}

.route-cluster-recalculate {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 190px;
  min-height: 52px;
  border-radius: 16px;
}

.route-cluster-recalculate small {
  display: block;
  font-size: 0.72rem;
  line-height: 1;
  opacity: 0.88;
}

.active-route {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.04);
}

.active-route-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.active-route-head h3,
.route-cluster-detail-block h3,
.route-cluster-help h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
}

.route-cluster-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.route-cluster-chip,
.suggestion-chip {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(255, 86, 48, 0.22);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.cluster-chip-order {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  flex: 0 0 auto;
}

.cluster-chip-meta,
.suggestion-chip small {
  color: #64748b;
  font-weight: 700;
}

.route-cluster-chip strong {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  opacity: 0.45;
  transition: opacity 0.16s ease, color 0.16s ease;
}

.route-cluster-chip:hover strong,
.route-cluster-chip:focus-visible strong {
  color: var(--accent-deep);
  opacity: 1;
}

.route-cluster-step {
  cursor: default;
  display: grid;
  grid-template-columns: auto minmax(86px, auto) auto auto;
  min-height: 54px;
  padding: 8px 10px;
  gap: 10px;
}

.route-cluster-step[draggable="true"] {
  cursor: grab;
}

.route-cluster-step.is-dragging {
  opacity: 0.48;
  cursor: grabbing;
}

.route-cluster-step.is-route-drop-target {
  outline: 2px solid rgba(109, 74, 255, 0.32);
  outline-offset: 3px;
}

.cluster-chip-days {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 900;
  padding: 3px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.98);
  border: 1px solid rgba(109, 74, 255, 0.12);
}

.cluster-chip-days strong {
  min-width: 24px;
  margin: 0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
  text-align: center;
}

.cluster-chip-days button,
.cluster-chip-controls {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cluster-chip-controls {
  gap: 4px;
  margin-left: 2px;
}

.cluster-chip-days button,
.cluster-chip-controls button {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 86, 48, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--accent-deep);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.cluster-chip-days button {
  width: 26px;
  height: 26px;
  border-color: rgba(109, 74, 255, 0.16);
  color: #5f46b9;
}

.cluster-chip-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.suggestion-chip {
  border-color: rgba(109, 74, 255, 0.22);
  color: #24164f;
}

.suggestion-chip strong {
  color: #6d4aff;
  font-size: 1.05rem;
}

.details-toggle {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: #6d4aff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.details-toggle-bottom {
  display: block;
  margin: 18px auto 0;
}

.route-cluster-details {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.route-cluster-details[hidden] {
  display: none;
}

.route-cluster-detail-block {
  display: grid;
  gap: 14px;
}

.route-cluster-help {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
  margin-top: 22px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.route-cluster-help p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.route-cluster-indicators {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.route-cluster-indicators span {
  min-height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  background: #fff;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 800;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.route-cluster-feedback {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(95, 70, 185, 0.07);
  color: #4f19c3;
  font-weight: 800;
}

.route-cluster-feedback.is-success {
  background: rgba(13, 122, 90, 0.08);
  color: #0d7a5a;
}

.route-cluster-feedback.is-error {
  background: rgba(194, 65, 12, 0.08);
  color: #c2410c;
}

.route-cluster-feedback[hidden] {
  display: none;
}

.route-cluster-empty {
  margin: 0;
  color: var(--muted);
}

.route-cluster-sticky-recalculate {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  min-width: 220px;
  padding: 14px 18px;
  border: 0;
  border-radius: 18px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 40px rgba(255, 86, 48, 0.28);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.route-cluster-sticky-recalculate[hidden] {
  display: none;
}

.route-cluster-sticky-recalculate strong {
  font-size: 1rem;
}

@media (max-width: 760px) {
  .route-cluster-editor-head,
  .route-cluster-help {
    grid-template-columns: 1fr;
  }

  .route-cluster-recalculate,
  .route-cluster-sticky-recalculate {
    width: 100%;
  }

  .route-cluster-sticky-recalculate {
    right: 14px;
    left: 14px;
    bottom: 14px;
  }

  .route-cluster-indicators {
    grid-template-columns: 1fr;
  }
}

.timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.itinerary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.itinerary-card {
  border-radius: var(--radius-md);
  padding: 22px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(31, 43, 44, 0.08);
  box-shadow: var(--shadow);
}

.itinerary-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 16px;
}

.itinerary-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-deep);
}

.itinerary-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.secondary-cta {
  margin-top: 12px;
}

.itinerary-rich h3 {
  margin: 12px 0 14px;
  font-size: 1.2rem;
}

.itinerary-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.itinerary-head span {
  color: #5f46b9;
  font-weight: 700;
}

.itinerary-transfer-actions {
  margin: 0 0 12px;
}

.itinerary-transfer-button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.itinerary-transfer-button span {
  font-size: 1rem;
}

.itinerary-area {
  margin: 8px 0 0;
  color: #f15b3a;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dayparts {
  display: grid;
  gap: 10px;
}

.dayparts > div {
  background: #f6f3ff;
  border-radius: 16px;
  padding: 14px;
}

.dayparts b {
  display: block;
  margin-bottom: 6px;
  color: #5f46b9;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.section-subcopy {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.itinerary-kanban {
  padding: 18px;
}

.kanban-columns {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.kanban-slot {
  border-radius: 18px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(95, 70, 185, 0.08), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(95, 70, 185, 0.12);
}

.kanban-slot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.kanban-slot-head strong {
  color: #5f46b9;
}

.kanban-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(95, 70, 185, 0.22);
  background: #fff;
  color: #5f46b9;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.kanban-add:hover {
  background: #f3efff;
  box-shadow: 0 10px 24px rgba(95, 70, 185, 0.14);
  transform: translateY(-1px);
}

.kanban-card-list {
  display: grid;
  gap: 10px;
  min-height: 120px;
  border-radius: 16px;
  transition: background 0.16s ease, box-shadow 0.16s ease;
}

.kanban-card-item {
  border-radius: 16px;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(31, 43, 44, 0.08);
  box-shadow: 0 10px 24px rgba(31, 43, 44, 0.08);
  cursor: grab;
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.kanban-card-item.is-transfer {
  background: #f8fafc;
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
}

.kanban-card-item.is-transfer .kanban-card-tag {
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
}

.kanban-card-image {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
  margin: 8px 0 12px;
}

.kanban-card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(31, 43, 44, 0.12);
}

.kanban-card-item.is-dragging {
  opacity: 0.45;
  cursor: grabbing;
}

.kanban-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.kanban-card-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff3ef;
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 700;
}

.kanban-card-actions {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.kanban-card-actions button {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(31, 43, 44, 0.12);
  background: #fff;
  cursor: pointer;
  color: var(--ink);
}

.kanban-drag-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px dashed rgba(31, 43, 44, 0.14);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1;
}

.kanban-card-item h4 {
  margin: 0 0 6px;
  font-size: 0.96rem;
}

.kanban-card-item p {
  margin: 0;
  font-size: 0.92rem;
}

.kanban-booking {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 11px;
  border: 1px solid rgba(95, 70, 185, 0.18);
  border-radius: 13px;
  background: linear-gradient(135deg, #f6f2ff 0%, #fff8f4 100%);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.kanban-booking:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 89, 52, 0.44);
  box-shadow: 0 10px 22px rgba(80, 54, 150, 0.12);
}

.kanban-booking-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.kanban-booking-copy small {
  color: #6847bd;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kanban-booking-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kanban-booking-cta {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .kanban-booking {
    align-items: stretch;
    flex-direction: column;
  }

  .kanban-booking-copy strong {
    white-space: normal;
  }

  .kanban-booking-cta {
    text-align: center;
  }
}

.kanban-card-presence {
  display: block;
  margin-top: 8px;
  color: #5f46b9;
  font-size: 0.8rem;
  font-weight: 700;
}

.kanban-empty {
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-size: 0.9rem;
}

.kanban-suggestions {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(95, 70, 185, 0.18);
}

.kanban-suggestion-toolbar {
  display: grid;
  gap: 10px;
}

.kanban-filter-input {
  width: 100%;
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(31, 43, 44, 0.12);
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
}

.kanban-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kanban-filter-chip {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(95, 70, 185, 0.18);
  background: #fff;
  color: #5f46b9;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.kanban-filter-chip.is-active {
  background: #5f46b9;
  color: #fff;
  border-color: #5f46b9;
}

.kanban-suggestion-section {
  display: grid;
  gap: 8px;
}

.kanban-suggestion-title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5f46b9;
}

.kanban-suggestion-grid {
  display: grid;
  gap: 8px;
}

.kanban-suggestion {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  text-align: left;
  border: 1px dashed rgba(95, 70, 185, 0.24);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  font: inherit;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.kanban-suggestion-image {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(31, 43, 44, 0.12);
}

.kanban-suggestion-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.kanban-suggestion:hover {
  transform: translateY(-1px);
  border-color: rgba(95, 70, 185, 0.34);
  box-shadow: 0 10px 22px rgba(31, 43, 44, 0.08);
}

.kanban-suggestion strong {
  color: var(--ink);
}

.kanban-suggestion span {
  color: var(--muted);
  font-size: 0.9rem;
}

.kanban-suggestion-meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.kanban-suggestion-presence {
  color: #5f46b9;
  font-size: 0.8rem;
  font-weight: 700;
}

.kanban-card-list.is-drop-target {
  background: rgba(95, 70, 185, 0.08);
  box-shadow: inset 0 0 0 2px rgba(95, 70, 185, 0.22);
}

.board-feedback {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(95, 70, 185, 0.08);
  border: 1px solid rgba(95, 70, 185, 0.14);
  color: #4f19c3;
  font-weight: 700;
}

.board-feedback[hidden] {
  display: none;
}

.mini-tags span {
  background: #fff0eb;
  color: var(--accent-deep);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.84rem;
  font-weight: 700;
}

.city-guide-image {
  width: 100%;
  max-width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 14px;
  display: block;
}

.affiliate-note {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(95, 70, 185, 0.08), rgba(255, 90, 44, 0.08));
  border: 1px solid rgba(95, 70, 185, 0.12);
  color: rgba(31, 35, 64, 0.74);
}

.tour-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.tour-link-card {
  display: grid;
  gap: 10px;
  text-decoration: none;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fff3ef 100%);
  border: 1px solid rgba(240, 88, 56, 0.18);
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tour-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(31, 43, 44, 0.12);
  border-color: rgba(240, 88, 56, 0.3);
}

.tour-link-card span,
.tour-link-card small {
  color: var(--muted);
}

.tour-link-card strong {
  font-size: 0.98rem;
}

.commerce-tour-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(95, 70, 185, 0.08);
}

.commerce-tour-card-image-placeholder {
  background:
    linear-gradient(135deg, rgba(95, 70, 185, 0.18), rgba(255, 90, 44, 0.18)),
    #fff;
  border: 1px solid rgba(31, 43, 44, 0.06);
}

.commerce-tour-card-body {
  display: grid;
  gap: 6px;
}

.commerce-tour-card-kicker {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.commerce-tour-card-cta {
  justify-self: start;
}

.tour-link-card-muted {
  background: rgba(255, 255, 255, 0.72);
  border-style: dashed;
}

.informative-grid {
  margin-top: 0;
}

.city-guide-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.city-guide-block {
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(31, 43, 44, 0.08);
}

.city-guide-block h4 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.city-guide-block p {
  margin: 0;
}

.booking-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(45, 11, 126, 0.96), rgba(79, 25, 195, 0.92));
  color: #fff;
}

.booking-card-muted {
  background: rgba(95, 70, 185, 0.12);
  color: var(--ink);
}

.booking-card-copy h4,
.booking-card-copy p {
  margin: 0;
}

.booking-card-copy h4 {
  margin-top: 6px;
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.booking-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  opacity: 0.82;
}

.booking-card-button {
  flex-shrink: 0;
}

.commerce-guide-card {
  display: grid;
  gap: 16px;
  min-width: 0;
  overflow: hidden;
}

.commerce-guide-card > * {
  min-width: 0;
}

.commerce-guide-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.commerce-guide-head h3 {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.commerce-guide-days {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 90, 44, 0.09);
  color: var(--accent-deep);
  font-weight: 800;
  font-size: 0.82rem;
  white-space: nowrap;
  max-width: 100%;
}

.commerce-guide-section {
  display: grid;
  gap: 12px;
}

.commerce-guide-section h4 {
  margin: 0;
}

.commerce-hotel-grid {
  display: grid;
  gap: 12px;
}

.commerce-booking-embed {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff 0%, #fff7f3 100%);
  border: 1px solid rgba(255, 90, 44, 0.16);
  box-shadow: 0 18px 42px rgba(31, 43, 44, 0.08);
}

.commerce-booking-copy h4,
.commerce-booking-copy p {
  margin: 0;
}

.commerce-booking-copy h4 {
  margin: 4px 0 6px;
}

.commerce-booking-frame-wrap {
  min-height: 320px;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(45, 11, 126, 0.08), rgba(255, 90, 44, 0.08)),
    #fff;
  border: 1px solid rgba(31, 43, 44, 0.08);
}

.commerce-booking-frame {
  width: 100%;
  height: 320px;
  border: 0;
  background: #fff;
}

.commerce-booking-cta {
  width: fit-content;
}

.commerce-link-card {
  margin: 0;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(31, 43, 44, 0.1);
  box-shadow: 0 14px 30px rgba(31, 43, 44, 0.06);
}

.commerce-hotel-card {
  display: grid;
  grid-template-columns: minmax(140px, 190px) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  padding: 14px;
  border-radius: 22px;
  min-width: 0;
}

.commerce-hotel-card.is-reserved {
  border-color: rgba(48, 88, 79, 0.28);
  box-shadow: 0 18px 34px rgba(48, 88, 79, 0.12);
}

.commerce-hotel-card-image {
  width: 100%;
  height: 100%;
  min-height: 156px;
  object-fit: cover;
  border-radius: 16px;
  background: rgba(95, 70, 185, 0.08);
}

.commerce-hotel-card-image-placeholder {
  background:
    linear-gradient(135deg, rgba(95, 70, 185, 0.18), rgba(255, 90, 44, 0.18)),
    #fff;
  border: 1px solid rgba(31, 43, 44, 0.06);
}

.commerce-hotel-card-copy {
  display: grid;
  align-content: start;
  min-width: 0;
  overflow-wrap: anywhere;
}

.commerce-hotel-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 2;
  min-width: 0;
}

.commerce-link-card .booking-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
}

.commerce-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
}

.commerce-price-pill {
  background: rgba(95, 70, 185, 0.08);
  color: #5f46b9;
  font-weight: 800;
}

.commerce-hotel-select {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(48, 88, 79, 0.22);
  background: rgba(48, 88, 79, 0.08);
  color: #30584f;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.commerce-hotel-select.is-selected {
  background: #30584f;
  color: #fff;
  border-color: #30584f;
}

.commerce-hotel-grid-featured {
  gap: 14px;
}

.commerce-hotel-more {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 43, 44, 0.08);
}

.commerce-hotel-more summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--accent-deep);
}

.commerce-hotel-grid-more {
  margin-top: 8px;
}

.commerce-tour-card {
  background: #fff;
  border-color: rgba(95, 70, 185, 0.16);
  align-content: start;
  min-height: 100%;
}

@media (max-width: 900px) {
  .commerce-hotel-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
  }

  .commerce-hotel-card-image {
    height: 112px;
    min-height: 112px;
  }

  .commerce-hotel-card-actions {
    grid-column: 1 / -1;
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .commerce-guide-card {
    gap: 12px;
  }

  .city-guide-image {
    height: 150px;
    border-radius: 14px;
  }

  .commerce-guide-head {
    grid-template-columns: 1fr;
  }

  .commerce-guide-days {
    width: fit-content;
  }

  .commerce-hotel-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .commerce-hotel-card-image {
    height: 92px;
    min-height: 92px;
    border-radius: 14px;
  }

  .commerce-link-card .booking-card-button,
  .commerce-hotel-select {
    width: 100%;
  }

  .route-transfer-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-transfer-grid {
    grid-template-columns: 1fr;
  }

  .route-transfer-actions {
    display: grid;
  }

  .route-transfer-actions .button {
    width: 100%;
  }
}

.trips-login-card,
.trips-account-bar,
.trip-card {
  display: grid;
  gap: 18px;
}

.trips-account-bar {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.trips-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 43, 44, 0.08);
}

.trips-tab {
  min-height: 52px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.trips-tab.is-active {
  background: #fff;
  box-shadow: 0 12px 24px rgba(31, 43, 44, 0.08);
}

.trips-grid {
  display: grid;
  gap: 20px;
}

.trip-card {
  grid-template-columns: 280px 1fr;
  padding: 0;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(31, 43, 44, 0.08);
  box-shadow: var(--shadow);
}

.trip-card-cover {
  min-height: 260px;
  background: linear-gradient(180deg, rgba(95, 70, 185, 0.12), rgba(255, 255, 255, 0.56));
}

.trip-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trip-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 24px;
  color: #5f46b9;
  font-weight: 800;
}

.trip-card-body {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.trip-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.trip-card-top h3 {
  margin: 6px 0 0;
  font-size: 2rem;
}

.trip-card-kicker {
  margin: 0;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trip-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff3ef;
  color: var(--accent-deep);
  font-weight: 800;
}

.trip-card-summary {
  margin: 0;
}

.trip-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trip-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(95, 70, 185, 0.08);
  color: #5f46b9;
  font-size: 0.88rem;
  font-weight: 700;
}

.trip-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.empty-state[hidden],
#saved-trips-grid[hidden],
#trips-dashboard-section[hidden],
#trips-login-section[hidden] {
  display: none;
}

.auth-layout,
.account-hub-grid,
.journey-main-grid {
  display: grid;
  gap: 22px;
}

.auth-layout,
.account-hub-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-card,
.account-profile-card,
.account-top-card,
.journey-auth-card,
.atlas-card,
.past-trip-card,
.account-link-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(31, 43, 44, 0.08);
  box-shadow: var(--shadow);
}

.auth-form,
.account-profile-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.auth-layout-focus {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  align-items: start;
  max-width: 860px;
  margin-inline: auto;
}

.auth-card-primary {
  padding: 38px;
}

.auth-card-secondary {
  padding: 30px;
}

.auth-card-secondary.is-expanded {
  border-color: rgba(95, 70, 185, 0.22);
  box-shadow: 0 24px 70px rgba(45, 11, 126, 0.12);
}

.auth-hero-copy {
  color: var(--muted);
  max-width: none;
}

.auth-context-note {
  margin: 18px 0 0;
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(255, 86, 48, 0.08);
  border: 1px solid rgba(255, 86, 48, 0.18);
  color: #b6351e;
  font-weight: 800;
}

.auth-form-helper {
  display: flex;
  justify-content: flex-end;
  margin-top: -8px;
}

.auth-link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #5f46b9;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
}

.auth-link-button:hover {
  color: var(--accent);
}

.auth-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.auth-inline-panel {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(95, 70, 185, 0.14);
}

.auth-inline-panel[hidden] {
  display: none;
}

.auth-inline-panel strong {
  display: block;
  margin-bottom: 6px;
}

.auth-inline-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.auth-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.auth-panel-head p {
  margin-top: 4px;
}

.auth-form-compact {
  margin-top: 14px;
}

.auth-register-panel {
  background: rgba(255, 255, 255, 0.68);
}

.auth-register-panel.is-expanded {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 239, 255, 0.72));
  border-color: rgba(95, 70, 185, 0.18);
}

.auth-recovery-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 239, 255, 0.72));
}

.auth-dev-reset-panel {
  background: rgba(95, 70, 185, 0.07);
}

.auth-dev-reset-panel code {
  display: inline-block;
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  overflow-wrap: anywhere;
  color: var(--ink);
}

.auth-google-button {
  width: 100%;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(31, 35, 64, 0.12);
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.auth-google-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(31, 35, 64, 0.1);
  border-color: rgba(95, 70, 185, 0.2);
}

.auth-google-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.auth-google-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #4285f4, #34a853);
  color: #fff;
  font-weight: 800;
}

.auth-panel-hidden[hidden] {
  display: none;
}

.auth-cta-group,
.trips-account-actions,
.account-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.auth-card-secondary .planner-intro {
  color: var(--muted);
  line-height: 1.65;
}

.auth-provider-note {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(95, 70, 185, 0.08);
  border: 1px solid rgba(95, 70, 185, 0.12);
}

.auth-provider-note strong,
.account-link-card h3 {
  display: block;
  margin-bottom: 8px;
}

.account-profile-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.account-switch-field {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 248, 244, 0.88);
  border: 1px solid rgba(255, 90, 44, 0.12);
}

.account-switch-copy strong {
  display: block;
  margin-bottom: 6px;
}

.account-switch-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 720px) {
  .account-switch-field {
    grid-template-columns: 1fr;
  }
}

.journey-main-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
}

.atlas-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
}

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

.atlas-region-card {
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 239, 255, 0.9));
  border: 1px solid rgba(95, 70, 185, 0.12);
}

.atlas-region-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.atlas-region-head span {
  color: #5f46b9;
  font-size: 0.84rem;
  font-weight: 700;
}

.atlas-country-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.atlas-country-chip {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(31, 43, 44, 0.12);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.atlas-country-chip:disabled {
  cursor: default;
  opacity: 0.9;
}

.atlas-country-chip.is-visited {
  background: rgba(255, 90, 44, 0.12);
  border-color: rgba(255, 90, 44, 0.24);
  color: var(--accent-deep);
}

.atlas-country-chip.is-planned {
  background: rgba(95, 70, 185, 0.12);
  border-color: rgba(95, 70, 185, 0.2);
  color: #5f46b9;
}

.past-trips-grid {
  display: grid;
  gap: 14px;
}

.past-trip-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  padding: 14px;
  border-radius: 22px;
}

.past-trip-card p,
.past-trip-card small {
  margin: 0;
  color: var(--muted);
}

.past-trip-card strong {
  font-size: 1.05rem;
}

.past-trip-placeholder {
  display: grid;
  place-items: center;
  min-height: 120px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(95, 70, 185, 0.12), rgba(255, 90, 44, 0.1));
  color: #5f46b9;
  font-weight: 800;
}

.past-trip-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 16px;
}

.past-trip-body,
.past-trip-actions {
  display: grid;
  gap: 10px;
}

.past-trip-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.past-trip-badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(95, 70, 185, 0.12);
  color: #5f46b9;
  font-size: 0.8rem;
  font-weight: 700;
}

.past-trip-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.past-trip-actions .button {
  width: 100%;
}

.journey-lists {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.journey-lists strong {
  display: block;
  margin-bottom: 10px;
}

.journey-lists ul {
  margin: 0;
  padding-left: 18px;
}

.journey-lists li + li {
  margin-top: 8px;
}

.country-flag-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 18px;
  margin-right: 6px;
  vertical-align: -2px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(31, 43, 44, 0.06);
}

.country-flag-img {
  width: 24px;
  height: 18px;
  object-fit: cover;
  display: block;
}

.country-flag-emoji {
  display: inline-block;
  font-size: 0.95rem;
  line-height: 1;
  vertical-align: -1px;
}

.country-flag-wrap .country-flag-emoji {
  display: none;
}

.journey-dashboard.is-preview .detail-card:not(.journey-auth-card) {
  background: rgba(255, 255, 255, 0.78);
}

.journey-dashboard.is-preview .past-trip-card {
  border-style: dashed;
}

.journey-dashboard.is-preview .past-trip-badge {
  background: rgba(31, 35, 64, 0.08);
  color: var(--muted);
}

.compact-list li {
  margin-bottom: 6px;
}

.timeline-card strong {
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.detail-cta {
  margin-top: 32px;
  border-radius: var(--radius-lg);
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 24%),
    linear-gradient(135deg, #2d0b7e, #4f19c3 64%, #6d39ef);
  border: 1px solid rgba(31, 43, 44, 0.04);
  box-shadow: 0 26px 70px rgba(45, 11, 126, 0.24);
}

.route-page .detail-cta h2,
.route-page .detail-cta p,
.route-page .detail-cta .eyebrow {
  color: #f7f3ff;
}

.route-page #city-guides {
  grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr));
  min-width: 0;
  overflow: hidden;
}

.route-page .section-head {
  max-width: 840px;
}

.route-page .section-head h2 {
  margin-bottom: 0;
}

.route-page .itinerary-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.cta-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: center;
}

.compact-form {
  margin-top: 16px;
}

.dark-callout h2,
.dark-callout p,
.dark-callout .eyebrow {
  color: #f9f4ee;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 40;
  padding: 24px;
}

.modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 26, 0.58);
}

.modal-card {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 30px;
  padding: 28px;
  background: rgba(252, 247, 240, 0.95);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  font-size: 1.5rem;
  background: rgba(31, 43, 44, 0.08);
  cursor: pointer;
}

.route-transfer-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(18, 24, 26, 0.58);
  backdrop-filter: blur(10px);
}

.route-transfer-modal[hidden] {
  display: none;
}

.route-transfer-dialog {
  position: relative;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 24px;
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  border: 1px solid rgba(31, 43, 44, 0.08);
  box-shadow: 0 30px 90px rgba(31, 35, 64, 0.26);
}

.route-transfer-dialog h2 {
  margin: 8px 0 18px;
  color: var(--ink);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
}

.route-transfer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(31, 43, 44, 0.1);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1.2rem;
  cursor: pointer;
}

.route-transfer-form {
  display: grid;
  gap: 18px;
}

.route-transfer-type-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.route-transfer-type-grid label {
  position: relative;
  display: grid;
  gap: 6px;
  justify-items: center;
  min-height: 78px;
  padding: 12px 8px;
  border-radius: 16px;
  border: 1px solid rgba(95, 70, 185, 0.14);
  background: rgba(248, 250, 252, 0.78);
  cursor: pointer;
}

.route-transfer-type-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.route-transfer-type-grid span {
  font-size: 1.45rem;
  line-height: 1;
}

.route-transfer-type-grid strong {
  color: var(--ink);
  font-size: 0.86rem;
}

.route-transfer-type-grid label:has(input:checked) {
  border-color: rgba(37, 99, 235, 0.34);
  background: rgba(37, 99, 235, 0.09);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.1);
}

.route-transfer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.route-transfer-grid label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
}

.route-transfer-grid input,
.route-transfer-grid select,
.route-transfer-grid textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(31, 43, 44, 0.12);
  background: rgba(248, 250, 252, 0.72);
  color: var(--ink);
  font: inherit;
  padding: 0 12px;
}

.route-transfer-grid textarea {
  min-height: 92px;
  padding-top: 10px;
  resize: vertical;
}

.route-transfer-full {
  grid-column: 1 / -1;
}

.route-transfer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.result-top h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 12px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.result-column {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(31, 43, 44, 0.08);
  border-radius: 22px;
  padding: 22px;
}

.insight-box,
.gated-box,
.unlocked-grid {
  margin-top: 18px;
}

.insight-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.insight-box > div {
  background: rgba(255, 255, 255, 0.74);
  border-radius: 18px;
  border: 1px solid rgba(31, 43, 44, 0.08);
  padding: 18px;
}

.gated-box,
.unlocked-box {
  border-radius: 24px;
  padding: 24px;
}

.gated-box {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 20px;
}

.lead-form {
  display: grid;
  gap: 14px;
}

.unlocked-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.unlocked-grid article {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(31, 43, 44, 0.08);
  border-radius: 20px;
  padding: 18px;
}

.hidden {
  display: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-page {
  padding: 22px 0 80px;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
  align-items: end;
  margin-top: 18px;
}

.admin-toolbar-assets {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-toolbar,
.admin-section,
.admin-card,
.admin-empty-state {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(31, 35, 64, 0.08);
  box-shadow: var(--shadow);
}

.admin-toolbar,
.admin-empty-state,
.admin-section {
  border-radius: 28px;
  padding: 24px;
}

.admin-section-head h2,
.admin-empty-state h2,
.admin-card h3 {
  margin: 0;
}

.admin-search {
  display: grid;
  gap: 8px;
}

.admin-picker {
  display: grid;
  gap: 8px;
}

.admin-toolbar-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  grid-column: 1 / -1;
}

.admin-toolbar-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  grid-column: 1 / -1;
  padding-top: 0;
  min-height: 18px;
}

.admin-toolbar-meta strong {
  font-size: 0.98rem;
}

.admin-toolbar-meta p,
.admin-toolbar-meta small,
.admin-section-head p,
.admin-empty-state p,
.admin-card-head p,
.admin-list-empty {
  color: var(--muted);
}

.admin-toolbar-meta p {
  display: none;
}

.admin-toolbar-meta small {
  font-size: 0.82rem;
}

.admin-content {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.admin-nav-shell {
  margin-top: 18px;
}

.admin-nav-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-nav-tab {
  border: 1px solid rgba(31, 35, 64, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.admin-nav-tab:hover,
.admin-nav-tab:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.admin-nav-tab.is-active {
  background: linear-gradient(135deg, #1f4b99, #2f6dd5);
  color: #fff;
  border-color: transparent;
}

.admin-panel {
  display: grid;
  gap: 18px;
}

.admin-panel[aria-hidden="false"] {
  animation: fadeUp 0.18s ease;
}

.admin-dashboard-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-metrics-block {
  display: grid;
  gap: 16px;
}

.admin-kpi-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-kpi-card,
.admin-origin-card,
.admin-funnel-card {
  border-radius: 20px;
  padding: 18px;
  background: rgba(244, 247, 255, 0.92);
  border: 1px solid rgba(31, 35, 64, 0.08);
}

.admin-kpi-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-kpi-value {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.admin-kpi-copy {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.admin-kpi-delta {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(148, 163, 184, 0.14);
  color: #475569;
}

.admin-kpi-delta small {
  font-size: 0.76rem;
  font-weight: 600;
  color: inherit;
}

.admin-kpi-delta.is-up {
  background: rgba(22, 163, 74, 0.14);
  color: #166534;
}

.admin-kpi-delta.is-down {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}

.admin-period-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  align-items: start;
}

.admin-funnel-steps,
.admin-origin-grid {
  display: grid;
  gap: 14px;
}

.admin-funnel-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.admin-funnel-step {
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(31, 35, 64, 0.06);
}

.admin-funnel-step strong {
  display: block;
  font-size: 1.5rem;
}

.admin-funnel-step span,
.admin-origin-metrics span,
.admin-funnel-rates span {
  color: var(--muted);
}

.admin-funnel-rates {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.admin-origin-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-period-row-today td:first-child strong {
  color: #1f4b99;
}

.admin-period-delta {
  display: inline-flex;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(148, 163, 184, 0.14);
  color: #475569;
}

.admin-period-delta.is-up {
  background: rgba(22, 163, 74, 0.14);
  color: #166534;
}

.admin-period-delta.is-down {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}

.admin-origin-metrics {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.admin-access-banner {
  margin-top: 18px;
  border-radius: 22px;
  padding: 16px 20px;
  background: rgba(194, 65, 12, 0.12);
  border: 1px solid rgba(194, 65, 12, 0.18);
  color: #9a3412;
  font-weight: 700;
}

.admin-section-head {
  margin-bottom: 16px;
  display: grid;
  gap: 8px;
}

.admin-section-head-inline {
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 16px;
}

.admin-card-grid {
  display: grid;
  gap: 14px;
}

.admin-quick-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-quick-form-hotels,
.admin-quick-form-restaurants,
.admin-fields-hotel,
.admin-fields-restaurant {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-fields-hotel > .admin-field-span-full {
  grid-column: 1 / -1;
}

.admin-quick-form-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 14px;
  align-items: center;
}

.admin-card {
  border-radius: 22px;
  padding: 18px;
}

.admin-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

.admin-card-head-sticky {
  align-items: center;
  margin-bottom: 18px;
}

.admin-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-fields-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-field-span-2 {
  grid-column: span 2;
}

.admin-field-span-full {
  grid-column: 1 / -1;
}

.admin-upload-placeholder {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px dashed rgba(31, 35, 64, 0.18);
  background: rgba(255, 255, 255, 0.58);
}

.admin-field {
  display: grid;
  gap: 8px;
}

.admin-field-checkbox {
  align-content: center;
}

.admin-checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
}

.admin-checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
}

.admin-field span {
  font-size: 0.92rem;
  font-weight: 700;
}

.admin-field small {
  color: var(--muted);
  line-height: 1.5;
}

.admin-field textarea {
  min-height: 110px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  resize: vertical;
}

.admin-textarea-large {
  min-height: 110px;
}

.admin-textarea-medium {
  min-height: 92px;
}

.admin-field textarea:focus {
  outline: 2px solid rgba(217, 109, 61, 0.24);
  border-color: rgba(217, 109, 61, 0.5);
}

.admin-rich-wrapper {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.admin-rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(31, 35, 64, 0.08);
  background: #f7f4ff;
}

.admin-rich-toolbar button {
  border: 1px solid rgba(31, 35, 64, 0.1);
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  font: inherit;
}

.admin-rich-editor {
  min-height: 140px;
  padding: 14px 16px;
  outline: none;
  line-height: 1.7;
}

.admin-inline-filter {
  display: grid;
  gap: 8px;
  min-width: 240px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1220px;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(31, 35, 64, 0.08);
  vertical-align: top;
  text-align: left;
}

.admin-table th {
  font-size: 0.84rem;
  color: #5f46b9;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-table input,
.admin-table select,
.admin-table textarea {
  width: 100%;
  min-width: 120px;
}

.admin-table textarea {
  min-height: 88px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  font: inherit;
  resize: vertical;
}

.admin-table-stack {
  display: grid;
  gap: 8px;
  min-width: 260px;
}

.admin-table-note {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-badge.is-done {
  background: rgba(15, 118, 110, 0.12);
  color: #0f766e;
}

.admin-badge.is-pending {
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
}

.admin-inline-save {
  width: 100%;
}

.admin-card-destination {
  padding: 22px;
}

.admin-destination-grid {
  display: grid;
  gap: 16px;
}

.admin-destination-row {
  display: grid;
  gap: 14px;
}

.admin-destination-row-top {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.admin-destination-row-experience-top {
  grid-template-columns: 1.1fr 0.8fr 0.9fr 1fr;
}

.admin-destination-row-days {
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
}

.admin-destination-row-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
}

.admin-destination-row-links {
  grid-template-columns: 1fr 1fr;
}

.admin-destination-row-route {
  grid-template-columns: 0.9fr 1fr 0.9fr 0.8fr;
}

.admin-table-assets {
  min-width: 1500px;
}

.admin-image-field {
  display: grid;
  gap: 10px;
}

.admin-affiliate-field {
  display: grid;
  gap: 8px;
  min-width: 250px;
}

.admin-affiliate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.admin-affiliate-actions a {
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-affiliate-field small {
  color: var(--muted);
  line-height: 1.35;
}

.admin-gyg-integration {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(320px, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 241, 255, 0.92));
  box-shadow: 0 16px 40px rgba(31, 35, 64, 0.08);
}

.admin-gyg-integration-copy {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.admin-gyg-integration-copy h2,
.admin-gyg-integration-copy p,
.admin-gyg-integration > .admin-save-feedback {
  margin: 0;
}

.admin-gyg-integration-copy h2 {
  font-size: 1.12rem;
}

.admin-gyg-integration-copy p {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

.admin-gyg-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.admin-gyg-stats span {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(31, 35, 64, 0.08);
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.25;
}

.admin-gyg-stats strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 1.15rem;
}

.admin-gyg-integration-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-gyg-integration > .admin-save-feedback {
  grid-column: 1 / -1;
}

.admin-gyg-search {
  width: fit-content;
  min-height: 38px;
  padding: 8px 13px;
  font-size: 0.78rem;
}

.admin-gyg-candidates {
  display: grid;
  gap: 10px;
}

.admin-gyg-empty {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(244, 241, 255, 0.9);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.admin-gyg-empty.is-error {
  background: rgba(255, 237, 232, 0.92);
  color: #b53a1d;
}

.admin-gyg-candidate {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(31, 35, 64, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
}

.admin-gyg-candidate.is-recommended {
  border-color: rgba(45, 139, 87, 0.38);
  box-shadow: 0 8px 22px rgba(45, 139, 87, 0.1);
}

.admin-gyg-candidate img {
  width: 76px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
}

.admin-gyg-candidate h4,
.admin-gyg-candidate p {
  margin: 0;
}

.admin-gyg-candidate h4 {
  margin-top: 5px;
  font-size: 0.86rem;
  line-height: 1.3;
}

.admin-gyg-candidate p {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.admin-gyg-candidate-meta,
.admin-gyg-candidate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}

.admin-gyg-candidate-meta {
  color: var(--muted);
  font-size: 0.68rem;
}

.admin-gyg-candidate-meta strong {
  color: #16764d;
}

.admin-gyg-candidate-actions {
  justify-content: space-between;
  margin-top: 8px;
}

.admin-gyg-candidate-actions a {
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 800;
}

.admin-gyg-apply {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 0.72rem;
}

.admin-gyg-integration button:disabled,
.admin-gyg-search:disabled {
  cursor: not-allowed;
  filter: grayscale(0.35);
  opacity: 0.55;
}

.admin-upload-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(31, 35, 64, 0.12);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
}

.admin-upload-chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-upload-feedback,
.admin-image-preview {
  font-size: 0.82rem;
}

.admin-upload-feedback {
  margin: 0;
  color: var(--muted);
}

.admin-upload-feedback.is-success {
  color: #0f766e;
}

.admin-upload-feedback.is-error {
  color: #c2410c;
}

.admin-upload-feedback.is-loading {
  color: #5f46b9;
}

.admin-image-preview {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.admin-image-preview:hover {
  text-decoration: underline;
}

.admin-card-hotel {
  padding: 22px;
}

.admin-card-restaurant {
  padding: 22px;
}

.admin-restaurant-preview {
  display: grid;
  grid-template-columns: minmax(0, 220px) 1fr;
  gap: 16px;
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(31, 35, 64, 0.08);
}

.admin-restaurant-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
}

.admin-restaurant-preview-meta {
  display: grid;
  gap: 8px;
  align-content: center;
}

.admin-restaurant-preview-meta strong {
  font-size: 1.1rem;
}

.admin-restaurant-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.admin-restaurant-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(31, 35, 64, 0.08);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}

.admin-hotel-gallery-block {
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 35, 64, 0.08);
}

.admin-hotel-gallery-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.admin-hotel-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.admin-hotel-gallery-empty {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px dashed rgba(31, 35, 64, 0.15);
  color: var(--muted);
}

.admin-hotel-image-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(31, 35, 64, 0.08);
}

.admin-hotel-image-card.is-cover {
  border-color: rgba(255, 94, 42, 0.4);
  box-shadow: 0 16px 34px rgba(255, 94, 42, 0.12);
}

.admin-hotel-image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
}

.admin-hotel-image-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.admin-hotel-image-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-secondary-block {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 35, 64, 0.08);
  box-shadow: var(--shadow);
  padding: 0;
  overflow: hidden;
}

.admin-secondary-block summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 800;
  color: var(--ink);
}

.admin-secondary-block summary::-webkit-details-marker {
  display: none;
}

.admin-secondary-content {
  padding: 0 22px 22px;
}

.admin-secondary-copy {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px;
}

.admin-save-feedback {
  margin: 14px 0 0;
  min-height: 1.2em;
  font-size: 0.92rem;
}

.admin-save-feedback.is-success {
  color: #0f766e;
}

.admin-save-feedback.is-error {
  color: #c2410c;
}

.admin-save-feedback.is-loading {
  color: #5f46b9;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .header-auth-shell {
    margin-left: 0;
    width: auto;
  }

  .header-account-lines {
    display: none;
  }

  .hero,
  .planner-card-shell,
  .planner-workspace,
  .feature-layout,
  .dark-callout,
  .gated-box,
  .result-grid,
  .insight-box,
  .detail-hero,
  .detail-cta,
  .auth-layout-focus,
  .journey-hero,
  .journey-main {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .destination-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .detail-grid,
  .timeline,
  .itinerary-grid,
  .intent-grid,
  .journey-stats,
  .journey-bottom,
  .city-guide-columns,
  .journey-lists,
  .atlas-grid,
  .past-trip-actions {
    grid-template-columns: 1fr;
  }

  .booking-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .planner-card-copy,
  .planner-form,
  .planner-sidebar {
    padding: 26px;
  }

  .planner-workspace {
    gap: 0;
    padding: 0;
  }

  .planner-sidebar {
    min-width: 0;
  }

  .planner-sidebar-sticky {
    position: static;
  }

  .auth-card-primary,
  .auth-card-secondary {
    padding: 28px;
  }

  .auth-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .planner-copy-highlights {
    justify-content: flex-start;
  }

  .planner-form,
  .form-grid-preferences {
    grid-template-columns: 1fr;
  }

  .planner-sidebar {
    border-left: 0;
    border-top: 1px solid rgba(95, 70, 185, 0.1);
  }

  .route-page .detail-aside {
    position: static;
  }

  .admin-toolbar,
  .admin-toolbar-assets,
  .admin-quick-form {
    grid-template-columns: 1fr;
  }

  .admin-quick-form-hotels,
  .admin-quick-form-restaurants,
  .admin-fields-hotel,
  .admin-fields-restaurant,
  .admin-restaurant-preview {
    grid-template-columns: 1fr;
  }

  .admin-kpi-grid,
  .admin-period-grid,
  .admin-origin-grid,
  .admin-funnel-steps {
    grid-template-columns: 1fr;
  }

  .admin-toolbar-actions {
    justify-content: flex-start;
  }

  .admin-fields-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1280px) {
  .admin-gyg-integration {
    grid-template-columns: 1fr 1fr;
  }

  .admin-gyg-integration-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .admin-fields-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-quick-form-hotels,
  .admin-quick-form-restaurants,
  .admin-fields-hotel,
  .admin-fields-restaurant {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .admin-gyg-integration,
  .admin-gyg-stats {
    grid-template-columns: 1fr;
  }

  .admin-gyg-integration-actions {
    grid-column: auto;
  }

  .admin-gyg-integration-actions .button {
    width: 100%;
  }

  .admin-fields-compact {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .admin-field-span-2,
  .admin-field-span-full {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  body.home-page .page-shell {
    padding-bottom: 120px;
  }

  .page-shell {
    width: min(100% - 20px, 1320px);
    padding-bottom: 56px;
  }

  .site-header {
    position: sticky;
    top: 8px;
    z-index: 35;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 20px;
    margin-top: 8px;
    background: linear-gradient(135deg, rgba(45, 11, 126, 0.94), rgba(79, 25, 195, 0.94));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: mobileRevealUp 220ms ease both;
  }

  .header-account-dropdown {
    right: auto;
    left: 0;
  }

  .brand {
    gap: 2px;
  }

  .brand-kicker {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
  }

  .brand-name {
    font-size: clamp(1.04rem, 5.2vw, 1.24rem);
    line-height: 1.05;
    max-width: 10ch;
  }

  .site-header > .button {
    min-height: 44px;
    padding-inline: 16px;
    font-size: 0.94rem;
  }

  .hero {
    padding: 12px;
    border-radius: 26px;
    margin-top: 12px;
    animation: mobileRevealUp 280ms ease both;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .form-grid,
  .accent .route-grid,
  .destination-grid,
  .steps,
  .unlocked-grid,
  .cta-actions,
  .footer-links,
  .wishlists {
    grid-template-columns: 1fr;
  }

  .planner-card,
  .proof-strip,
  .dark-callout,
  .modal-card {
    padding: 20px;
    border-radius: 24px;
  }

  .planner-card {
    padding: 0;
    border-radius: 24px;
  }

  .planner-card-copy,
  .planner-form,
  .planner-sidebar {
    padding: 16px;
  }

  .planner-card-copy {
    gap: 14px;
  }

  .planner-intro {
    margin-top: 8px;
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .planner-panel {
    padding: 16px;
    border-radius: 20px;
  }

  .planner-panel,
  .step,
  .route-card,
  .detail-card,
  .collection-card {
    transition:
      transform 160ms ease,
      box-shadow 160ms ease,
      border-color 160ms ease,
      background 160ms ease;
  }

  .planner-form-grid-wide,
  .multi-leg-row {
    grid-template-columns: 1fr;
  }

  .planner-inline-switch,
  .planner-summary-list div {
    align-items: flex-start;
    flex-direction: column;
  }

  .planner-summary-list strong {
    text-align: left;
  }

  .multi-leg-dates,
  .steps-compact {
    grid-template-columns: 1fr;
  }

  .planner-section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .planner-mode-switch-panel {
    grid-template-columns: 1fr;
  }

  .planner-form-grid-compact {
    max-width: none;
  }

  .planner-submit {
    width: 100%;
    min-width: 0;
  }

  .planner-copy-highlights span,
  .planner-submit {
    width: 100%;
  }

  .planner-tab {
    min-height: 44px;
  }

  .section {
    padding-top: 64px;
  }

  .section-head {
    margin-bottom: 22px;
    animation: mobileRevealUp 260ms ease both;
  }

  .section-head h2,
  .detail-hero h1 {
    font-size: clamp(2rem, 10vw, 2.85rem);
    line-height: 0.98;
  }

  .section-intro,
  .route-page .hero-text,
  .detail-card p,
  .timeline-card p,
  .detail-cta p,
  .muted-block {
    line-height: 1.58;
  }

  .steps,
  .steps-compact,
  .route-grid,
  .detail-grid,
  .journey-bottom,
  .past-trips-grid {
    gap: 14px;
  }

  .step,
  .detail-card,
  .timeline-card,
  .collection-card {
    padding: 20px;
    border-radius: 22px;
  }

  .step span {
    margin-bottom: 14px;
  }

  .route-card {
    border-radius: 24px;
  }

  .route-badges {
    top: 12px;
    left: 12px;
    gap: 6px;
  }

  .route-badges span,
  .route-meta span {
    padding: 7px 11px;
    font-size: 0.78rem;
  }

  .route-body {
    padding: 20px;
  }

  .route-body h3 {
    font-size: 1.42rem;
    line-height: 1.08;
  }

  .route-kicker {
    margin-bottom: 6px;
  }

  .detail-page {
    padding: 10px 0 56px;
  }

  .breadcrumb {
    margin-bottom: 14px;
    font-size: 0.95rem;
  }

  .detail-hero {
    gap: 14px;
  }

  .detail-hero h1 {
    margin-bottom: 12px;
  }

  .detail-grid {
    margin-top: 22px;
  }

  .detail-grid .card-link {
    display: grid;
    gap: 10px;
    align-content: start;
    min-height: 0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 246, 255, 0.84));
    border-color: rgba(95, 70, 185, 0.08);
  }

  .detail-grid .card-link h2,
  .detail-grid .card-link h3 {
    font-size: 1.08rem;
    line-height: 1.14;
    margin-bottom: 0;
  }

  .detail-grid .card-link p {
    margin: 0;
  }

  .button:active,
  .mobile-floating-cta:active,
  .planner-tab:active,
  .route-link:active,
  .card-link:active {
    transform: scale(0.985);
  }

  .planner-panel:focus-within,
  .detail-grid .card-link:active,
  .route-card:active,
  .step:active {
    box-shadow: 0 18px 36px rgba(45, 11, 126, 0.14);
  }

  .planner-panel:focus-within {
    border-color: rgba(95, 70, 185, 0.2);
    background: linear-gradient(180deg, #ffffff 0%, #faf6ff 100%);
  }

  .route-hero,
  .route-section-shell,
  .route-page .detail-cta {
    padding: 22px;
    border-radius: 24px;
  }

  .route-inline-save,
  .route-page .cta-actions .button {
    width: 100%;
  }

  .route-title-row {
    align-items: stretch;
  }

  .planner-sidebar-card {
    padding: 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    margin-top: 56px;
    gap: 16px;
  }

  .footer-links {
    gap: 10px;
  }

  .mobile-floating-cta {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 45;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff5a2c, #ff6f3d);
    box-shadow: 0 16px 40px rgba(255, 90, 44, 0.34);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.01em;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-floating-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-header,
  .hero,
  .section-head,
  .mobile-floating-cta,
  .planner-panel,
  .step,
  .route-card,
  .detail-card,
  .collection-card,
  .button {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 420px) {
  .page-shell {
    width: min(100% - 10px, 1320px);
  }

  .site-header {
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
  }

  body.home-page .site-header > .button {
    display: none;
  }

  .brand-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .brand-name {
    font-size: 1rem;
    max-width: 9ch;
  }

  .hero {
    padding: 8px;
    border-radius: 20px;
  }

  .planner-card-copy,
  .planner-form,
  .planner-sidebar {
    padding: 12px;
  }

  .planner-panel,
  .route-section-shell,
  .detail-card,
  .timeline-card,
  .collection-card {
    padding: 12px;
  }

  .planner-card h2 {
    font-size: 1.62rem;
    line-height: 1.08;
  }

  .planner-tab {
    width: 100%;
    justify-content: center;
  }

  .planner-submit {
    min-height: 54px;
  }

  .section {
    padding-top: 54px;
  }

  .section-head h2,
  .detail-hero h1 {
    font-size: clamp(1.88rem, 11vw, 2.55rem);
  }

  .route-body {
    padding: 18px;
  }

  .route-body h3 {
    font-size: 1.32rem;
  }

  .detail-grid .card-link {
    gap: 8px;
  }
}

@media (max-width: 360px) {
  .page-shell {
    width: min(100% - 6px, 1320px);
  }

  .site-header {
    padding: 10px;
    border-radius: 16px;
  }

  .hero {
    padding: 6px;
    border-radius: 18px;
  }

  .planner-card {
    border-radius: 20px;
  }

  .planner-card-copy,
  .planner-form,
  .planner-sidebar,
  .planner-panel {
    padding: 10px;
  }

  .planner-card h2 {
    font-size: 1.52rem;
  }

  .planner-intro {
    font-size: 0.95rem;
  }
}

/* Minha Jornada - produto final */
.journey-hero.journey-hero-compact {
  display: block;
  margin-bottom: 14px;
}

.journey-hero-compact .journey-copy {
  max-width: 760px;
}

.journey-hero-compact .hero-points,
.journey-hero-compact .journey-preview-banner,
.journey-hero-compact .journey-auth-card {
  display: none !important;
}

.journey-main-single {
  grid-template-columns: 1fr;
}

.journey-dashboard,
.journey-main-grid,
.journey-main-single,
.journey-bottom,
.journey-bottom > *,
.collection-card,
.atlas-card,
.journey-map-shell,
.journey-country-table-wrap {
  min-width: 0;
}

.journey-session-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(95, 70, 185, 0.18);
  background: rgba(95, 70, 185, 0.08);
  color: #5f46b9;
  font-size: 0.88rem;
  font-weight: 700;
}

.journey-session-pill.is-live {
  border-color: rgba(15, 118, 110, 0.24);
  background: rgba(15, 118, 110, 0.1);
  color: #0f766e;
}

.journey-map-shell {
  margin-top: 16px;
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(95, 70, 185, 0.2);
  background: linear-gradient(180deg, rgba(95, 70, 185, 0.07), rgba(255, 90, 44, 0.06));
  min-height: 360px;
  padding: 16px;
}

.journey-world-map {
  width: 100%;
  min-height: 420px;
  height: clamp(420px, 52vw, 560px);
  border-radius: 18px;
  display: block;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(32, 53, 94, 0.1), rgba(114, 137, 189, 0.06));
}

.journey-world-map .js-plotly-plot,
.journey-world-map .plot-container,
.journey-world-map .svg-container {
  width: 100% !important;
  height: 100% !important;
}

.journey-map-bg {
  fill: rgba(23, 45, 84, 0.07);
}

.journey-map-land {
  fill: rgba(31, 43, 44, 0.12);
  stroke: rgba(31, 43, 44, 0.28);
  stroke-width: 1.2;
}

.journey-map-country {
  cursor: pointer;
  outline: none;
}

.journey-dashboard.is-preview .journey-map-country {
  cursor: default;
}

.journey-map-country circle {
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 1.2;
  transition: transform 120ms ease, fill 120ms ease;
}

.journey-map-country.status-none circle {
  fill: rgba(255, 255, 255, 0.85);
}

.journey-map-country.status-planned circle {
  fill: #6a46d8;
}

.journey-map-country.status-visited circle {
  fill: #ff5a2c;
}

.journey-map-country:hover circle,
.journey-map-country:focus-visible circle {
  transform: scale(1.28);
}

.journey-map-tooltip {
  position: absolute;
  left: 24px;
  top: 24px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(18, 27, 56, 0.88);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 120ms ease, transform 120ms ease;
}

.journey-map-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.journey-map-help {
  margin-top: 12px;
  color: var(--muted);
  display: grid;
  gap: 4px;
}

.journey-map-help strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.journey-map-help p {
  margin: 0;
  font-size: 0.92rem;
}

.journey-country-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.journey-country-head h3 {
  margin: 0;
}

.journey-search {
  min-width: 260px;
  display: grid;
  gap: 8px;
}

.journey-search span {
  font-size: 0.84rem;
  font-weight: 700;
  color: #5f46b9;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.journey-country-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(31, 43, 44, 0.08);
}

.journey-country-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: rgba(255, 255, 255, 0.88);
}

.journey-country-table th,
.journey-country-table td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid rgba(31, 43, 44, 0.08);
}

.journey-country-table th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5f46b9;
}

.journey-country-table tr:last-child td {
  border-bottom: 0;
}

.journey-country-table tr.is-ping td {
  background: rgba(255, 90, 44, 0.08);
}

.journey-country-table select {
  min-width: 170px;
}

.journey-country-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.journey-clear-button {
  min-height: 40px;
  border: 1px solid rgba(255, 90, 44, 0.2);
  border-radius: 12px;
  background: #fff4ef;
  color: var(--accent-deep);
  font: inherit;
  font-weight: 700;
  padding: 0 14px;
  cursor: pointer;
}

.journey-year-button {
  min-height: 40px;
  border: 1px solid rgba(95, 70, 185, 0.22);
  border-radius: 12px;
  background: rgba(95, 70, 185, 0.1);
  color: #4d39a4;
  font: inherit;
  font-weight: 700;
  padding: 0 12px;
  margin-right: 8px;
  cursor: pointer;
}

.journey-country-table td:last-child {
  min-width: 250px;
}

.journey-country-table td:last-child input[data-country-year] {
  min-height: 40px;
  border-radius: 12px;
  margin-right: 8px;
  width: 132px;
  padding: 8px 10px;
}

.journey-country-table td:last-child input[data-country-year]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.journey-clear-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.journey-year-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.journey-table-empty {
  color: var(--muted);
}

.journey-lists.journey-lists-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.journey-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.journey-topbar .muted-block:empty {
  display: none;
}

.journey-meta-hidden {
  display: none !important;
}

.journey-topbar h2:empty {
  display: none;
}

.route-stop-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.route-stop-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f6f3ff;
  border: 1px solid rgba(95, 70, 185, 0.14);
}

.route-stop-chip strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.route-stop-chip small {
  color: #5f46b9;
  font-weight: 700;
}

.route-day-card {
  overflow: hidden;
}

.route-dayparts > div {
  display: grid;
  gap: 12px;
}

.route-slot-card {
  display: grid;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(20, 30, 60, 0.08);
}

.route-slot-card.is-transfer {
  background: rgba(255, 243, 227, 0.92);
  border-color: rgba(241, 91, 58, 0.18);
}

.route-slot-card.is-rest {
  background: rgba(242, 248, 255, 0.94);
  border-color: rgba(59, 130, 246, 0.16);
}

.route-slot-card.is-carryover {
  background: rgba(248, 244, 255, 0.96);
  border-color: rgba(95, 70, 185, 0.18);
}

.route-slot-image {
  width: 100%;
  height: 132px;
  object-fit: cover;
  border-radius: 12px;
}

.route-slot-copy {
  display: grid;
  gap: 6px;
}

.route-slot-copy h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.route-slot-copy p {
  margin: 0;
}

.route-slot-meta {
  color: #5f46b9;
  font-size: 0.82rem;
  font-weight: 700;
}

.route-slot-badge {
  justify-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(95, 70, 185, 0.12);
  color: #5f46b9;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.route-slot-empty {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
}

.journey-stats-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.journey-stats-compact .stat-card {
  padding: 18px 20px;
  min-height: 0;
}

.journey-stats-compact .stat-card .stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.journey-stats-compact .stat-card strong {
  font-size: 2.2rem;
  line-height: 1;
  margin-top: 6px;
}

.journey-stats-compact .stat-card p {
  display: none;
}

@media (max-width: 980px) {
  .journey-country-head {
    flex-direction: column;
    align-items: stretch;
  }

  .journey-search {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .journey-topbar {
    grid-template-columns: 1fr;
    align-items: stretch;
    margin-top: 22px;
  }

  .journey-actions,
  .journey-actions .button {
    width: 100%;
  }

  .journey-stats-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-stats-compact .stat-card:last-child {
    grid-column: 1 / -1;
  }

  .journey-map-shell {
    min-height: 0;
    padding: 12px;
  }

  .journey-world-map {
    min-height: 240px;
    height: min(78vw, 320px);
  }

  .journey-map-tooltip {
    top: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    border-radius: 16px;
    white-space: normal;
  }

  .journey-country-table {
    min-width: 620px;
  }

  .journey-country-table th,
  .journey-country-table td {
    padding: 10px;
  }

  .journey-country-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .journey-country-footer .button {
    width: 100%;
  }

.journey-lists.journey-lists-compact {
    grid-template-columns: 1fr;
  }
}

.ad-slot {
  width: min(100%, 1160px);
  min-height: 88px;
  margin: clamp(14px, 2.5vw, 26px) auto;
  padding: 10px 14px;
  border: 1px dashed rgba(95, 70, 185, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(246, 242, 255, 0.82)),
    repeating-linear-gradient(45deg, rgba(95, 70, 185, 0.05) 0 10px, transparent 10px 20px);
  color: rgba(31, 35, 64, 0.72);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(31, 35, 64, 0.06);
}

.ad-slot-placeholder-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
}

.ad-slot span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
}

.ad-slot strong {
  font-size: clamp(0.92rem, 1.4vw, 1.08rem);
  color: var(--ink);
}

.ad-slot small {
  color: rgba(31, 35, 64, 0.52);
  font-weight: 700;
}

.ad-slot-filled {
  padding: 0;
  overflow: hidden;
  border-style: solid;
  background: #fff;
}

.ad-slot-link {
  width: 100%;
  min-height: inherit;
  height: 100%;
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(255, 112, 67, 0.1), rgba(95, 70, 185, 0.12));
}

.ad-slot-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  z-index: 0;
}

.ad-slot-link span,
.ad-slot-link strong,
.ad-slot-link em {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.96);
}

.ad-slot-link span {
  flex: 0 0 auto;
  max-width: 220px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.ad-slot-link strong {
  flex: 1 1 auto;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  line-height: 1.05;
  text-align: left;
}

.ad-slot-link em {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  font-style: normal;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(255, 90, 44, 0.22);
}

.admin-quick-form-ads,
.admin-fields-ad {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-card-ad {
  overflow: hidden;
}

.admin-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-ad-preview {
  min-height: 180px;
  border-radius: 20px;
  background: rgba(246, 242, 255, 0.82);
  border: 1px dashed rgba(95, 70, 185, 0.24);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 14px 0;
  color: var(--muted);
  font-weight: 800;
}

.admin-ad-preview img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}

.ad-slot-leaderboard {
  min-height: clamp(88px, 9vw, 150px);
}

.ad-slot-rectangle {
  width: min(100%, 760px);
  min-height: 96px;
}

.ad-slot-rail {
  width: min(100%, 320px);
  min-height: 600px;
}

.route-page > .ad-slot,
.detail-page > .ad-slot,
.home-page main > .ad-slot {
  max-width: 100%;
}

body.home-page main {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

body.home-page .hero-planner {
  gap: 18px;
  width: 100%;
  max-width: none;
  margin: 18px auto 30px;
  padding: clamp(18px, 2.4vw, 34px) 0 0;
}

body.home-page .planner-hero-copy {
  max-width: min(1180px, 92vw);
}

body.home-page .planner-hero-copy h1 {
  max-width: 1080px;
  margin-inline: auto;
  font-size: clamp(2.45rem, 3.35vw, 4.25rem);
  line-height: 0.98;
}

body.home-page .planner-search-card {
  width: 100%;
  max-width: none;
  gap: 14px;
  padding: clamp(16px, 1.8vw, 24px);
}

body.home-page .planner-primary-row {
  grid-template-columns: minmax(420px, 1.35fr) minmax(220px, 0.58fr) minmax(420px, 1fr);
  gap: 14px;
}

body.home-page .planner-secondary-row {
  grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 1fr) minmax(360px, 1fr);
  gap: 14px;
}

body.home-page .planner-destination-block,
body.home-page .planner-compact-field {
  padding: 12px;
  border-radius: 16px;
}

body.home-page .planner-destination-block {
  grid-column: 1 / -1;
}

body.home-page .planner-search-card .planner-submit {
  min-height: 54px;
  min-width: 260px;
}

body.home-page .section {
  padding-top: 48px;
}

body.home-page #rotas {
  padding-top: 34px;
}

body.home-page .ad-slot {
  margin-top: 34px;
}

body.home-page .hero-planner {
  gap: 14px;
  max-width: 1180px;
  margin: 10px auto 28px;
  padding: clamp(14px, 1.8vw, 28px) 0 0;
}

body.home-page .planner-hero-copy {
  max-width: min(940px, 92vw);
}

body.home-page .planner-hero-copy h1 {
  max-width: 900px;
  font-size: clamp(2.5rem, 2.85vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

body.home-page .planner-search-card {
  max-width: 1180px;
  margin-inline: auto;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 24px;
}

.planner-compact-main-row {
  display: grid;
  grid-template-columns: minmax(360px, 1.55fr) minmax(150px, 0.62fr) minmax(150px, 0.54fr) minmax(150px, 0.58fr) minmax(150px, 0.5fr);
  gap: 10px;
  align-items: end;
}

.planner-compact-secondary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
}

body.home-page .planner-destination-block {
  grid-column: auto;
}

.planner-flat-field {
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.home-page .planner-flat-field {
  padding: 0;
  border-radius: 0;
}

.planner-flat-field .planner-helper {
  margin: 0;
}

.planner-popover {
  position: relative;
  min-width: 0;
}

.planner-popover > summary {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 56px;
  padding: 9px 13px;
  border: 1px solid rgba(31, 35, 64, 0.1);
  border-radius: 15px;
  background: #fff;
  cursor: pointer;
  list-style: none;
}

.planner-popover > summary::-webkit-details-marker {
  display: none;
}

.planner-popover > summary::after {
  content: "⌄";
  position: absolute;
  right: 12px;
  top: 50%;
  color: #6b5ab8;
  font-weight: 900;
  transform: translateY(-50%);
}

.planner-popover[open] > summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.planner-popover > summary strong {
  max-width: calc(100% - 18px);
  overflow: hidden;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.planner-popover-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  width: min(360px, 80vw);
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(95, 70, 185, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 54px rgba(45, 11, 126, 0.16);
}

.planner-profile-popover .planner-popover-panel,
.planner-style-popover .planner-popover-panel {
  right: 0;
  left: auto;
}

.planner-date-popover[open],
.planner-profile-popover[open] {
  align-self: start;
}

.planner-date-popover[open] .planner-popover-panel,
.planner-profile-popover[open] .planner-popover-panel {
  position: static;
  width: 100%;
  margin-top: 8px;
}

.planner-date-popover[open] {
  grid-column: span 2;
}

.planner-date-popover[open] .planner-date-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.planner-date-popover[open] .planner-date-summary {
  margin-top: 8px;
}

.planner-popover-panel-small {
  width: 220px;
}

.planner-popover-field {
  padding: 0;
  border: 0;
  background: transparent;
}

.planner-style-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.planner-style-summary > strong {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 90, 44, 0.22);
  border-radius: 999px;
  background: rgba(255, 90, 44, 0.08);
  color: var(--accent-deep);
}

.planner-style-popover > summary {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(95, 70, 185, 0.08);
  color: #4d2aa6;
  font-weight: 900;
}

.planner-style-popover > summary::after {
  content: none;
}

.planner-style-panel {
  width: min(430px, 86vw);
}

.planner-popover-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.home-page .planner-search-card .planner-submit {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  border-radius: 16px;
}

body.home-page .planner-duration-field,
body.home-page .planner-popover > summary {
  min-height: 56px;
}

body.home-page .planner-duration-field {
  padding: 8px 10px;
}

body.home-page .planner-stepper {
  min-height: 34px;
  grid-template-columns: 30px minmax(34px, 1fr) auto 30px;
  gap: 5px;
  padding: 2px 5px;
}

body.home-page .planner-stepper-button {
  width: 28px;
  height: 28px;
}

body.home-page .planner-stepper input {
  min-height: 28px;
}

@media (max-width: 1280px) {
  body.home-page .planner-primary-row,
  body.home-page .planner-secondary-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .planner-compact-main-row {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.45fr) minmax(150px, 0.45fr);
  }

  .planner-compact-main-row .planner-flat-field {
    grid-column: 1 / -1;
  }

  body.home-page .planner-destination-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  body.home-page .planner-hero-copy h1 {
    max-width: 680px;
    font-size: clamp(2rem, 8vw, 2.65rem);
    line-height: 1.02;
  }

  .planner-compact-main-row {
    grid-template-columns: 1fr;
  }

  .planner-compact-secondary-row {
    align-items: stretch;
    flex-direction: column;
  }

  .planner-style-summary {
    justify-content: flex-start;
  }

  .planner-popover-panel {
    position: static;
    width: 100%;
    margin-top: 8px;
  }

  .planner-date-popover[open] {
    grid-column: auto;
  }

  .planner-date-popover[open] .planner-date-grid {
    grid-template-columns: 1fr;
  }

  body.home-page .planner-primary-row,
  body.home-page .planner-secondary-row,
  body.home-page .planner-ideas-grid {
    grid-template-columns: 1fr;
  }

  body.home-page .planner-cta-row {
    justify-content: stretch;
  }

  body.home-page .planner-search-card .planner-submit {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .ad-slot {
    min-height: 110px;
    border-radius: 18px;
    padding: 14px;
  }

  .ad-slot-leaderboard {
    min-height: 120px;
  }

  .ad-slot-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .ad-slot-link strong {
    text-align: left;
  }

  .ad-slot-link em {
    padding: 8px 12px;
  }
}

body.home-page .planner-compact-main-row {
  grid-template-columns: minmax(360px, 1.35fr) minmax(190px, 0.72fr) minmax(150px, 0.5fr) minmax(170px, 0.6fr) minmax(150px, 0.48fr);
}

.planner-inline-control {
  min-width: 0;
}

.planner-control-summary {
  position: relative;
  display: grid;
  align-content: center;
  gap: 4px;
  width: 100%;
  min-height: 56px;
  padding: 9px 34px 9px 14px;
  border: 1px solid rgba(31, 35, 64, 0.1);
  border-radius: 15px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.planner-control-summary::after {
  content: "⌄";
  position: absolute;
  right: 14px;
  top: 50%;
  color: #6b5ab8;
  font-weight: 900;
  transform: translateY(-50%);
}

.planner-control-summary.is-open::after {
  transform: translateY(-50%) rotate(180deg);
}

.planner-control-summary strong {
  overflow: hidden;
  font-size: 0.98rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.planner-expanded-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(95, 70, 185, 0.11);
  border-radius: 20px;
  background: rgba(248, 246, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.planner-expanded-panel.hidden {
  display: none;
}

#planner-date-panel-inline {
  grid-template-columns: minmax(220px, 0.55fr) minmax(260px, 0.7fr) minmax(0, 1fr);
  align-items: end;
}

#planner-date-panel-inline .planner-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#planner-date-panel-inline #exact-date-panel {
  grid-column: span 2;
}

#planner-date-panel-inline .planner-date-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#planner-profile-panel-inline,
#planner-style-panel-inline {
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#planner-profile-panel-inline {
  grid-template-columns: minmax(0, 1fr);
}

.planner-compact-secondary-row {
  padding-top: 2px;
}

.planner-style-summary {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.planner-style-summary em {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid rgba(95, 70, 185, 0.16);
  border-radius: 999px;
  background: rgba(95, 70, 185, 0.08);
  color: #4d2aa6;
  font-style: normal;
  font-weight: 900;
}

.planner-style-summary.is-open em {
  background: #fff;
  color: var(--accent-deep);
  box-shadow: 0 8px 18px rgba(45, 11, 126, 0.09);
}

#planner-style-panel-inline .planner-choice-field {
  display: grid;
  gap: 10px;
}

@media (max-width: 1280px) {
  body.home-page .planner-compact-main-row {
    grid-template-columns: minmax(0, 1fr) minmax(170px, 0.48fr) minmax(170px, 0.48fr);
  }
}

@media (max-width: 920px) {
  #planner-date-panel-inline,
  #planner-profile-panel-inline,
  #planner-style-panel-inline {
    grid-template-columns: 1fr;
  }

  #planner-date-panel-inline #exact-date-panel {
    grid-column: auto;
  }
}

@media (max-width: 820px) {
  body.home-page .planner-compact-main-row {
    grid-template-columns: 1fr;
  }

  .planner-control-summary,
  body.home-page .planner-search-card .planner-submit {
    min-height: 52px;
  }
}
