:root {
  --bg: #e7e2d3;
  --surface: #f6f2e6;
  --surface-soft: #ece5d3;
  --primary: #2f5b3c;
  --primary-dark: #1e3e29;
  --text: #183726;
  --muted: #5e6d5f;
  --success: #2d6f4d;
  --danger: #a14a46;
  --border: #d6cdb8;
  --header-green: #1f5d37;
  --header-cream: #f5efdf;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Okine, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #f0ead8 0%, var(--bg) 50%);
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 20px 100px;
}

body.landing-topbar-overlay main {
  padding-top: 0;
}

.topbar {
  position: relative;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--header-green);
  backdrop-filter: blur(8px);
}

body.landing-topbar-overlay .topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
}

body.landing-topbar-overlay .landing-shell {
  margin-top: 0;
  padding-top: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.brand h1 {
  font-size: 1.1rem;
  color: #ffffff;
}

.brand p {
  font-size: 0.78rem;
  color: #eaf4ee;
}

.brand__text-bubble {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(16, 43, 28, 0.42);
  border: 1px solid rgba(238, 246, 240, 0.2);
  backdrop-filter: blur(2px);
}

.brand__badge {
  height: 42px;
  width: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--header-green);
  background: linear-gradient(135deg, #f6f1e4, #e5dcc5);
}

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

.tab {
  border: none;
  background: transparent;
  color: #112d1d;
  padding: 8px 4px;
  border-radius: 0;
  cursor: pointer;
  font-weight: 600;
  opacity: 0.85;
}

.tab.active {
  color: #0d2418;
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 2px;
}

.tab.is-hidden {
  display: none;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.landing-shell {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  background: transparent;
  border-radius: 0;
  border: none;
  padding: 0;
}

.landing-section {
  margin-top: 20px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 12px 0;
}

.hero {
  border-radius: 0;
  overflow: hidden;
  position: relative;
  min-height: clamp(420px, 45vw, 620px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.hero__slides {
  position: relative;
  min-height: clamp(420px, 45vw, 620px);
}

.hero__image {
  width: 100%;
  min-height: clamp(420px, 45vw, 620px);
  object-fit: cover;
  display: block;
}

.hero__image--slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero__image--slide.active {
  opacity: 1;
}

.hero__dots {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.hero__dot.active {
  background: #fff;
}

.hero__content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 720px;
}

.glass {
  background: rgba(246, 241, 227, 0.9);
  border: 1px solid rgba(214, 205, 184, 0.8);
  border-radius: 18px;
  padding: 18px;
}

.hero__content h2 {
  font-size: clamp(2rem, 6vw, 5rem);
  letter-spacing: 2px;
  line-height: 0.95;
  margin-bottom: 8px;
}

.hero__content p {
  color: #445a49;
}

.hero__caption {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #e6dfcc;
  font-size: 0.92rem;
}

.hero__actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.hero__actions .btn {
  border-radius: 999px;
}

.card {
  background: var(--surface);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(50, 73, 56, 0.08);
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
}

.social-row {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  color: var(--primary-dark);
  font-size: 1.1rem;
}

.stats-row {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stats-row div {
  background: #f8f4ea;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  display: grid;
  gap: 3px;
}

.stats-row strong {
  font-size: 1.08rem;
}

.stats-row span {
  font-size: 0.8rem;
  color: var(--muted);
}

.comparison-chart {
  margin-top: 12px;
  border: 1px solid #b5c9bc;
  border-radius: 14px;
  background: linear-gradient(180deg, #eff7f1 0%, #e3f0e6 100%);
  overflow: hidden;
}

.comparison-chart__head,
.comparison-row {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
}

.comparison-chart__head {
  background: #2f5b3c;
  color: #fff;
  font-weight: 700;
  font-size: 0.84rem;
}

.comparison-row {
  border-top: 1px solid #c9dbcf;
  font-size: 0.9rem;
}

.comparison-row span:first-child {
  color: #234833;
  font-weight: 600;
}

.comparison-score {
  justify-self: start;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

.comparison-score--high {
  background: #2f5b3c;
  color: #fff;
}

.comparison-score--low {
  background: #d5e3d9;
  color: #2b5b3d;
}

.feature-stack {
  display: grid;
  gap: 10px;
}

.feature-box {
  background: linear-gradient(135deg, #e7dfcb, #e3dbc5);
  border: 1px solid #d0c6ae;
  border-radius: 14px;
  padding: 12px;
}

.feature-box h4 {
  color: var(--primary-dark);
}

.feature-box p {
  margin-top: 8px;
  color: #4f6353;
  font-size: 0.9rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.destination-strip {
  margin-top: 14px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-behavior: smooth;
}

.destination-card {
  background: #f9f6ed;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

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

.destination-card div {
  padding: 10px;
}

.destination-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
}

.dest-nav {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.packages-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
}

.package-intro {
  background: linear-gradient(135deg, #6f876f, #5e795f);
  color: #f7f3e8;
  border-radius: 16px;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.package-intro .btn {
  width: fit-content;
  background: #24412c;
  color: white;
  border-color: #24412c;
}

.package-card {
  background: #f9f6ed;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

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

.package-card h4 {
  margin: 10px 12px 4px;
}

.package-card p {
  margin: 0 12px 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.steps-row {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.step {
  background: #f8f4ea;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
}

.step span {
  height: 26px;
  width: 26px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #d2c9af;
  color: #274530;
  font-weight: 700;
}

.step h4 {
  margin: 10px 0 6px;
}

.step p {
  color: var(--muted);
  font-size: 0.9rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  position: relative;
}

input,
select,
textarea {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  color: var(--text);
  background: #fcfaf3;
}

.input-prefix {
  position: relative;
}

.prefix-symbol {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-weight: 700;
  pointer-events: none;
}

.input-prefix input {
  padding-left: 28px;
}

#tripDateRange {
  cursor: pointer;
  background-image: linear-gradient(transparent, transparent);
}

.field-help {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.field-help.hidden {
  display: none;
}

.field-help.loading {
  color: var(--primary-dark);
}

.location-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 6px);
  z-index: 8;
  display: none;
  background: #fcfaf3;
  border: 1px solid var(--border);
  border-radius: 12px;
  max-height: 230px;
  overflow-y: auto;
  box-shadow: 0 12px 24px rgba(45, 70, 52, 0.14);
}

.location-suggestions.open {
  display: block;
}

.location-option {
  width: 100%;
  border: none;
  border-bottom: 1px solid #e7dfcb;
  background: transparent;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  font: inherit;
}

.location-option:last-child {
  border-bottom: none;
}

.location-option:hover,
.location-option:focus-visible {
  background: #efe8d6;
  outline: none;
}

.btn {
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, #2f5b3c, #4f7b58);
  color: white;
}

.btn-secondary {
  background: var(--surface-soft);
  color: var(--primary-dark);
  border: 1px solid var(--border);
}

.btn-danger {
  background: #f2deda;
  color: var(--danger);
  border: 1px solid #d2aba7;
}

.btn-small {
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.82rem;
  background: var(--surface-soft);
  color: var(--primary-dark);
  border: 1px solid var(--border);
}

.clean-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.settings-copy {
  margin-top: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

th,
td {
  text-align: left;
  border-bottom: 1px solid var(--border);
  padding: 10px 8px;
  font-size: 0.9rem;
}

th {
  color: var(--muted);
  font-weight: 600;
}

.pill {
  display: inline-block;
  border-radius: 999px;
  background: #e8e2d2;
  color: var(--primary-dark);
  padding: 4px 9px;
  font-size: 0.78rem;
}

.pill.success {
  background: #d9ebde;
  color: #1f6b43;
}

.pill.muted {
  background: #e6e1d6;
  color: #6b7a89;
}

.login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.login-panel {
  min-height: 480px;
}

.form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: var(--surface);
}

.auth-shell {
  width: min(440px, 100%);
}

.auth-back {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fcfaf3;
  color: var(--primary-dark);
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  display: grid;
  place-items: center;
}

.image-side {
  position: relative;
  overflow: hidden;
}

.image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.center-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 4rem;
  color: white;
  text-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.stack {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.login-assist {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.86rem;
}

.login-assist a {
  color: var(--primary-dark);
  text-decoration: none;
}

.auth-mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.auth-mode.active {
  background: var(--primary);
  color: #fff;
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: grid;
}

.auth-status {
  margin-top: 12px;
  min-height: 20px;
  font-size: 0.88rem;
}

.auth-status.error {
  color: #a14a46;
}

.trip-cards {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.trip-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f4efe2;
  padding: 12px;
}

.trip-card.create-tile {
  min-height: 176px;
  display: grid;
  place-items: center;
  background: #ebe4d4;
  border: 2px dashed #8ba687;
  cursor: pointer;
}

.create-plus {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: #2f5b3c;
  color: white;
  font-size: 2rem;
  line-height: 1;
}

.manage-empty {
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 20px;
  color: var(--muted);
}

.settings-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 460px;
}

.settings-sidebar {
  border-right: 1px solid var(--border);
  background: #ece5d3;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 14px;
}

.settings-nav-btn {
  border: 1px solid var(--border);
  background: #f7f2e4;
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.settings-nav-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.settings-content {
  padding: 18px;
}

.settings-panel {
  display: none;
}

.settings-panel.active {
  display: block;
}

.checkbox-row {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.settings-summary {
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f7f2e6;
  padding: 12px;
  color: var(--text);
  display: none;
}

.settings-summary.active {
  display: block;
}

.trip-shell {
  position: relative;
}

.trip-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: #eee8d9;
}

.alert-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #e8dfb9;
  font-weight: 700;
}

.top-right-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.online-badges {
  display: flex;
  margin-right: 4px;
}

.avatar {
  height: 28px;
  width: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #4f7b58, #2f5b3c);
  color: white;
  font-size: 0.74rem;
  margin-left: -6px;
  border: 2px solid #fff;
}

.alerts-panel {
  display: none;
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  background: #f3ecd8;
}

.alerts-panel.open {
  display: block;
}

.alerts-panel ul {
  margin: 8px 0;
  padding-left: 18px;
}

.share-tooltip {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 16px;
  z-index: 30;
  width: min(320px, calc(100vw - 32px));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: #f6f2e6;
  box-shadow: 0 16px 36px rgba(45, 70, 52, 0.2);
}

.share-tooltip.open {
  display: block;
}

.share-tooltip h3 {
  margin: 0 0 10px;
}

.share-tooltip input[readonly] {
  background: #fff;
}

.share-panel-actions {
  display: flex;
  gap: 8px;
  margin: 10px 0;
}

.share-collab {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  margin: 8px 0 10px;
  display: grid;
  gap: 6px;
}

.share-collab-title {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.share-collab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-collab-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f3eee2;
  border: 1px solid #e0d8c5;
  border-radius: 999px;
  padding: 4px 8px 4px 4px;
  font-size: 0.78rem;
}

.share-tooltip img {
  display: block;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.trip-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.subtab {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: 8px 12px;
}

.subtab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.trip-body {
  padding: 16px;
}

.trip-panel {
  display: none;
}

.trip-panel.active {
  display: block;
  min-width: 0;
}

.map-shell {
  display: grid;
  gap: 12px;
}

.map-shell-google {
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 0;
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 460px;
}

.map-shell-google > * {
  min-width: 0;
}

.map-left-card {
  background: #f3eee2;
  border-right: 1px solid var(--border);
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: hidden;
}

.map-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.place-card {
  border: 1px solid var(--border);
  background: #faf6eb;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.map-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map-results-list,
.map-pins-list {
  border: 1px solid var(--border);
  background: #faf6eb;
  padding: 10px;
  display: grid;
  gap: 8px;
  max-height: 220px;
  overflow: auto;
  min-width: 0;
}

.map-list-item {
  border: 1px solid #e3dbc7;
  border-left: 6px solid #c9bea7;
  border-radius: 10px;
  background: #fffdf7;
  padding: 8px;
  display: grid;
  gap: 6px;
  cursor: pointer;
}

.map-list-item--cat-restaurant {
  border-left-color: #b85c38;
}

.map-list-item--cat-hotel {
  border-left-color: #3568b8;
}

.map-list-item--cat-business {
  border-left-color: #6b4fa8;
}

.map-list-item--cat-tourist-attraction,
.map-list-item--cat-activity,
.map-list-item--cat-location {
  border-left-color: #2f8a62;
}

.map-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.72rem;
  line-height: 1;
  padding: 4px 8px;
  border: 1px solid transparent;
  font-weight: 600;
}

.map-chip--restaurant {
  background: #f7e8e0;
  color: #8c3d1f;
  border-color: #e8c4b5;
}

.map-chip--hotel {
  background: #e7eefb;
  color: #224b86;
  border-color: #c7d8f6;
}

.map-chip--business {
  background: #eee7fa;
  color: #56338f;
  border-color: #d6c8f0;
}

.map-chip--tourist-attraction,
.map-chip--activity,
.map-chip--location {
  background: #e4f3eb;
  color: #1f694a;
  border-color: #c5e5d5;
}

.collab-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.map-list-item:hover {
  border-color: #c7baa1;
}

.map-list-item:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.map-list-item h4 {
  margin: 0;
  font-size: 0.95rem;
}

.map-list-item p {
  margin: 0;
  font-size: 0.82rem;
}

.map-list-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.map-canvas-shell {
  min-height: 460px;
  min-width: 0;
  overflow: hidden;
}

.map-live {
  width: 100%;
  height: 100%;
  min-height: 460px;
  min-width: 0;
}

.map-live.map-live--pinning {
  cursor: crosshair;
}

.map-live iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
}

.map-iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: none;
}

.map-quick-actions .btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.map-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  min-width: 0;
  align-items: center;
}

.map-search {
  border-radius: 999px;
  min-width: 0;
  width: 100%;
}

.map-toolbar .btn {
  white-space: nowrap;
}

@media (max-width: 1320px) {
  .map-toolbar {
    grid-template-columns: 1fr;
  }
}

.map-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
}

.map-placeholder {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  min-height: 320px;
}

.map-like {
  min-height: 430px;
}

.map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

.pin {
  position: absolute;
  font-size: 1.4rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.map-controls {
  position: absolute;
  right: 12px;
  bottom: 14px;
  display: grid;
  gap: 6px;
}

.map-controls button {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: rgba(249, 246, 237, 0.95);
  font-size: 1.15rem;
  font-weight: 700;
}

.map-layer-tag {
  position: absolute;
  left: 12px;
  bottom: 14px;
  background: rgba(249, 246, 237, 0.93);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 0.8rem;
  color: var(--text);
}

.map-results {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f6f2e8;
  padding: 12px;
}

.trip-settings-shell {
  max-width: 860px;
  margin: 0 auto;
}

.trip-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.budget-layout {
  display: grid;
  gap: 14px;
  grid-template-columns: 320px 1fr;
}

.chart-wrap {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
}

.table-empty {
  color: var(--muted);
  font-size: 0.88rem;
}

.muted {
  color: var(--muted);
}

.chat-fab {
  position: fixed;
  right: 24px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(145deg, #2f5b3c, #476f4f);
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 12px 25px rgba(45, 78, 54, 0.35);
  cursor: pointer;
  z-index: 40;
}

.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 88px;
  width: 340px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 16px 40px rgba(45, 70, 52, 0.18);
  padding: 12px;
  z-index: 45;
  display: none;
}

.chat-panel.open {
  display: block;
}

.chat-panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-panel header button {
  border: none;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
}

.chat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.chat-compose {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  background: #ede7d7;
  color: var(--muted);
}

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

.footer-simple {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  font-size: 0.9rem;
}

.p-0 {
  padding: 0;
}

.overflow-hidden {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .two-col,
  .login-layout,
  .map-grid,
  .budget-layout,
  .why-grid,
  .packages-grid,
  .steps-row,
  .stats-row,
  .settings-shell {
    grid-template-columns: 1fr;
  }

  .map-shell-google {
    grid-template-columns: 1fr;
  }

  .map-left-card {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .settings-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero__content {
    max-width: unset;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-toolbar {
    grid-template-columns: 1fr;
  }

  .chat-panel {
    width: calc(100vw - 28px);
    right: 14px;
  }
}
