:root {
  --paper: #f4f0e7;
  --paper-deep: #e9e2d4;
  --ink: #17241f;
  --muted: #6f756f;
  --green: #1f5d4a;
  --green-dark: #123d31;
  --lime: #d7ef83;
  --orange: #f07a4d;
  --line: rgba(23, 36, 31, 0.13);
  --white: #fffdf8;
  --shadow: 0 24px 70px rgba(30, 55, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

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

button {
  color: inherit;
}

.home-page .result-only {
  display: none;
}

.plan-page-section {
  padding-top: 45px;
}

.result-breadcrumb {
  max-width: 1280px;
  display: flex;
  gap: 9px;
  margin: 0 auto 45px;
  color: var(--muted);
  font-size: 11px;
}

.result-breadcrumb a {
  color: var(--green);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.back-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 11px;
}

.header-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.82;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 240, 231, 0.85);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 9;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 48% 52% / 42% 46% 54% 58%;
  color: var(--lime);
  background: var(--green);
  transform: rotate(-7deg);
}

.brand-mark + span {
  font-size: 18px;
}

.brand small {
  color: #96978f;
  font-size: 8px;
  line-height: 1.1;
  letter-spacing: 0.18em;
  max-width: 36px;
}

nav {
  display: flex;
  gap: 38px;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--green);
}

.ghost-button {
  padding: 10px 17px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.account-button {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--green);
  background: #fff;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
}

.account-button > i {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--lime);
  font-size: 10px;
  font-style: normal;
}

.account-modal {
  width: min(100%, 520px);
}

.account-intro {
  margin: -8px 0 22px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 11px;
}

.account-modal form label {
  display: block;
  margin-bottom: 14px;
}

.account-security {
  display: block;
  margin-top: 13px;
  color: #a09f98;
  line-height: 1.6;
  font-size: 8px;
}

.account-profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 25px;
}

.account-profile-head > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--lime);
  font-size: 22px;
  font-weight: 700;
}

.account-profile-head h2,
.account-profile-head p {
  margin: 0;
}

.account-profile-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.account-saved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.account-saved-grid div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 17px;
  border-right: 1px solid var(--line);
}

.account-saved-grid div:last-child {
  border-right: 0;
}

.account-saved-grid strong {
  color: var(--green);
  font-size: 18px;
}

.account-saved-grid span {
  color: var(--muted);
  font-size: 8px;
}

.account-logout {
  margin-top: 20px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 9px;
}

.invite-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 16px;
  padding: 15px;
  border-radius: 12px;
  background: var(--green-dark);
}

.invite-card > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.invite-card small,
.invite-card span {
  color: rgba(255,255,255,.55);
  font-size: 8px;
}

.invite-card strong {
  color: var(--lime);
  font-size: 20px;
  letter-spacing: .12em;
}

.invite-card > div:last-child {
  display: flex;
  gap: 6px;
}

.invite-card button {
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 99px;
  color: #fff;
  background: rgba(255,255,255,.08);
  cursor: pointer;
  font-size: 8px;
}

.import-trip-top {
  border: 0;
  color: var(--green);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
}

.import-trip-modal {
  width: min(100%, 720px);
}

.import-drop {
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px dashed rgba(31, 93, 74, .28);
  border-radius: 11px;
  color: var(--ink);
  background: #f4f7ef;
  text-align: left;
  cursor: pointer;
}

.import-drop > i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--green-dark);
  background: var(--lime);
  font-style: normal;
}

.import-drop > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.import-drop strong { font-size: 11px; }
.import-drop small { color: var(--muted); font-size: 8px; }
.import-drop > b { color: var(--green); font-size: 9px; }
.import-drop.ready { border-style: solid; background: #edf3e8; }

.import-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  color: #a09f98;
  font-size: 8px;
}

.import-divider::before,
.import-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.import-textarea {
  width: 100%;
  height: 95px;
  padding: 12px;
  resize: none;
  outline: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #faf8f2;
  font: inherit;
  font-size: 10px;
}

.optimization-result {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.optimization-result[hidden] { display: none; }

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

.optimization-head h3 {
  margin: 3px 0 0;
  font-size: 17px;
}

.optimization-head small,
.optimization-head > span {
  color: var(--muted);
  font-size: 8px;
}

.optimization-result > label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid rgba(23,36,31,.07);
}

.optimization-result > label > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.optimization-result label strong { font-size: 10px; }
.optimization-result label small { color: var(--muted); font-size: 9px; line-height: 1.5; }

.hero {
  min-height: 670px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 7vw;
  padding: 78px 7vw 90px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(31, 93, 74, 0.1);
  border-radius: 44% 56% 52% 48%;
  left: -230px;
  top: 40px;
}

.hero-copy {
  max-width: 570px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin: 24px 0;
  font-size: clamp(58px, 6.2vw, 96px);
  line-height: 1.06;
  letter-spacing: -0.07em;
  font-weight: 600;
}

.hero-copy > p {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.trust-row {
  display: flex;
  gap: 42px;
  margin-top: 44px;
}

.trust-row div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-row strong {
  color: var(--green);
  font-size: 23px;
}

.trust-row span {
  color: var(--muted);
  font-size: 11px;
}

.planner-card {
  width: min(100%, 650px);
  justify-self: end;
  padding: 30px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
}

.planner-card::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  right: -42px;
  top: -42px;
  border-radius: 50%;
  background: var(--lime);
  z-index: -1;
}

.planner-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 22px;
}

.planner-heading-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.planner-import-button {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(31, 93, 74, .18);
  border-radius: 999px;
  color: var(--green);
  background: #eef5e9;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
}

.planner-heading > div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.status-dot,
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #54a478;
  box-shadow: 0 0 0 4px rgba(84, 164, 120, 0.13);
}

.ai-badge {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 99px;
  color: var(--green-dark);
  background: var(--lime);
}

.route-fields,
.sub-fields {
  display: grid;
  gap: 12px;
}

.route-fields {
  grid-template-columns: 1fr 36px 1fr;
  align-items: end;
}

.sub-fields {
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
}

label > span,
.preference-row > span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.input-row,
select {
  width: 100%;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #faf8f2;
}

.input-row {
  display: flex;
  align-items: center;
  padding: 0 15px;
  gap: 10px;
}

.input-row:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 93, 74, 0.08);
}

.input-row input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font-weight: 600;
}

.icon {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.icon-origin {
  border: 2px solid var(--green);
}

.icon-pin {
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(240, 122, 77, 0.15);
}

.field-icon {
  flex: none;
  margin: 0;
  width: 20px;
  height: 20px;
  border: 1px solid var(--green);
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 9px;
}

.swap-button {
  margin-bottom: 10px;
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font-size: 20px;
  transition: transform 0.25s ease;
}

.swap-button:hover {
  transform: rotate(180deg);
}

select {
  padding: 0 14px;
  outline: none;
  color: var(--ink);
  font-weight: 600;
}

.preference-row {
  margin-top: 21px;
}

.must-go-picker {
  margin-top: 21px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(31, 93, 74, 0.14);
  background: #f2f5ec;
}

.picker-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.picker-title > span {
  font-size: 12px;
  font-weight: 600;
}

.picker-title b,
.change-note b {
  margin-left: 5px;
  color: #a2a39c;
  font-size: 9px;
  font-weight: 500;
}

.picker-title small {
  color: var(--green);
  font-size: 10px;
  font-weight: 600;
}

.must-go-picker > p {
  margin: 5px 0 12px;
  color: var(--muted);
  font-size: 10px;
}

.spot-options {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.spot-option {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border: 1px solid rgba(23, 36, 31, 0.12);
  border-radius: 99px;
  color: var(--muted);
  background: var(--white);
  cursor: pointer;
  font-size: 10px;
}

.spot-option i {
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  font-size: 9px;
  font-style: normal;
}

.spot-option.selected {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.spot-option.selected i {
  color: var(--green);
  background: var(--lime);
}

.spot-search {
  height: 38px;
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 0 6px 0 10px;
  border: 1px dashed rgba(31, 93, 74, 0.25);
  border-radius: 9px;
  color: var(--green);
  background: rgba(255, 253, 248, 0.7);
}

.spot-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 10px;
}

.spot-search button {
  padding: 5px 9px;
  border: 0;
  border-radius: 6px;
  color: var(--green);
  background: #e4ebdc;
  cursor: pointer;
  font-size: 9px;
}

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

.chip {
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px 12px;
  background: transparent;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}

.chip.active {
  color: var(--green-dark);
  border-color: rgba(31, 93, 74, 0.3);
  background: #e6efdc;
}

.primary-button {
  width: 100%;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 25px;
  padding: 0 10px 0 23px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--green);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  background: var(--green-dark);
}

.primary-button b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--lime);
  font-size: 21px;
}

.form-note {
  margin: 12px 0 0;
  text-align: center;
  color: #a09f98;
  font-size: 10px;
}

.plan-section {
  padding: 100px 5vw;
  background: #fffdf8;
}

.section-heading {
  max-width: 1280px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 0 auto 45px;
}

.section-heading h2 {
  margin: 17px 0 0;
  font-size: clamp(37px, 4.2vw, 62px);
  line-height: 1.15;
  letter-spacing: -0.055em;
}

.heading-side {
  max-width: 420px;
}

.heading-side > p {
  max-width: 420px;
  margin: 0 0 7px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

.replan-button {
  margin-top: 13px;
  padding: 9px 14px;
  border: 1px solid rgba(31, 93, 74, 0.25);
  border-radius: 99px;
  color: var(--green);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
}

.replan-button span {
  margin-right: 4px;
  font-size: 15px;
}

.plan-status {
  max-width: 1280px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: -24px auto 18px;
  padding: 10px 15px;
  border: 1px solid rgba(31, 93, 74, 0.13);
  border-radius: 11px;
  background: #f1f5eb;
}

.transport-lock {
  max-width: 1280px;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin: -4px auto 18px;
  padding: 15px 18px;
  border: 1px solid rgba(31, 93, 74, .16);
  border-radius: 13px;
  background: #edf3e8;
}

.transport-lock[hidden] {
  display: none;
}

.transport-lock-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.transport-lock-title > i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--lime);
  font-size: 10px;
  font-style: normal;
}

.transport-lock-title > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.transport-lock-title strong {
  font-size: 11px;
}

.transport-lock-title small {
  color: var(--muted);
  font-size: 9px;
}

.transport-time-points {
  display: grid;
  grid-template-columns: auto 120px auto;
  align-items: center;
  gap: 13px;
}

.transport-time-points > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.transport-time-points > div:last-child {
  text-align: right;
}

.transport-time-points small {
  color: var(--muted);
  font-size: 8px;
}

.transport-time-points strong {
  font-size: 11px;
}

.transport-time-points > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 8px;
}

.transport-time-points > span::before,
.transport-time-points > span::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(31, 93, 74, .25);
}

.plan-status > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-version {
  padding: 4px 7px;
  border-radius: 5px;
  color: var(--green-dark);
  background: var(--lime);
  font-size: 9px;
  font-weight: 700;
}

.plan-status strong {
  font-size: 11px;
}

.plan-status span:not(.plan-version),
.plan-status small {
  color: var(--muted);
  font-size: 10px;
}

.overview-grid {
  max-width: 1280px;
  margin: 0 auto 22px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.top-overview-grid {
  grid-template-columns: 1fr 1fr;
}

.top-overview-grid .overview-card {
  min-height: 222px;
  padding: 20px 22px;
}

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

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

.top-overview-grid .overview-card p {
  margin: 11px 0 4px;
}

.top-overview-grid .alert-icon {
  margin-top: 11px;
}

.top-overview-grid .alert-card h3 {
  margin: 8px 0 4px;
}

.top-overview-grid .alert-card p {
  margin-bottom: 8px;
}

.overview-card {
  min-height: 282px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.card-label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.weather-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.weather-main > div:first-child {
  display: flex;
  flex-direction: column;
}

.weather-main strong {
  font-size: 35px;
}

.weather-main span {
  color: var(--muted);
  font-size: 13px;
}

.sun {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #df8734;
  background: #fff2cb;
  font-size: 30px;
}

.weather-detail {
  display: flex;
  gap: 7px;
  margin-top: 20px;
}

.weather-detail span {
  padding: 6px 8px;
  border-radius: 5px;
  color: var(--green);
  background: #edf3e8;
  font-size: 10px;
}

.overview-card p {
  margin: 16px 0 8px;
  line-height: 1.6;
  font-size: 13px;
}

.overview-card > small {
  color: #aaa9a2;
  font-size: 9px;
}

.budget-total {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 19px 0 18px;
}

.budget-total strong {
  font-size: 34px;
}

.budget-total span {
  color: var(--muted);
  font-size: 11px;
}

.budget-bars {
  display: grid;
  gap: 12px;
}

.budget-bars div {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  font-size: 11px;
}

.budget-bars div::before,
.budget-bars div::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 2px;
}

.budget-bars div::before {
  width: 100%;
  background: #eeeae1;
}

.budget-bars div::after {
  width: var(--width);
  background: var(--green);
}

.budget-bars b {
  font-weight: 600;
}

.alert-card {
  color: #fff;
  background: var(--green-dark);
  border-color: transparent;
  position: relative;
  overflow: hidden;
}

.alert-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -70px;
  bottom: -70px;
  border: 38px solid rgba(215, 239, 131, 0.08);
  border-radius: 50%;
}

.alert-card .card-label,
.alert-card > small {
  color: rgba(255, 255, 255, 0.55);
}

.alert-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-top: 18px;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--lime);
  font-weight: 800;
}

.alert-card h3 {
  margin: 12px 0 7px;
  font-size: 19px;
}

.alert-card p {
  max-width: 340px;
  margin: 0 0 13px;
  color: rgba(255, 255, 255, 0.72);
}

.alert-card button {
  padding: 0;
  border: 0;
  color: var(--lime);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.alert-card button span {
  margin-left: 7px;
}

.itinerary-shell {
  max-width: 1280px;
  min-height: 650px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}

.spot-gallery {
  max-width: 1280px;
  margin: 24px auto 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f4f1e8;
}

.spot-gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 23px;
}

.gallery-kicker {
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}

.spot-gallery-heading h2 {
  margin: 7px 0 0;
  font-size: 27px;
  letter-spacing: -.035em;
}

.spot-gallery-heading > p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 10px;
}

.spot-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.spot-photo-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 36, 31, .07);
  animation: galleryCardIn .45s ease var(--card-delay) both;
}

.spot-photo {
  height: 185px;
  overflow: hidden;
  position: relative;
  background: #d5ddd5;
}

.spot-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,24,34,.05), rgba(3,24,34,.6));
}

.spot-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .5s ease;
}

.spot-photo-card:hover .spot-photo img {
  transform: scale(1.05);
}

.spot-photo > span {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--lime);
  font-size: 9px;
  font-weight: 700;
}

.spot-photo > small {
  position: absolute;
  z-index: 2;
  left: 13px;
  bottom: 12px;
  color: #fff;
  font-size: 9px;
  letter-spacing: .08em;
}

.spot-photo-body {
  padding: 15px;
}

.spot-photo-body > div {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 9px;
}

.spot-photo-body h3 {
  margin: 0;
  font-size: 14px;
}

.spot-photo-body b {
  flex: none;
  color: var(--green);
  font-size: 8px;
  font-weight: 600;
}

.spot-photo-body p {
  min-height: 45px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.image-credit {
  display: block;
  margin-top: 13px;
  color: #aaa9a2;
  font-size: 8px;
}

@keyframes galleryCardIn {
  from { opacity: 0; transform: translateY(10px); }
}

.itinerary-panel {
  padding: 28px;
}

.day-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.day-tab {
  padding: 8px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  opacity: 0.44;
}

.day-tab:last-child {
  border-right: 0;
}

.day-tab.active {
  opacity: 1;
  color: var(--green);
}

.day-tab small,
.day-tab strong {
  display: block;
}

.day-tab small {
  margin-bottom: 4px;
  font-size: 9px;
}

.day-tab strong {
  font-size: 12px;
}

.day-summary {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 28px 0 24px;
}

.day-summary > div:first-child span {
  color: var(--orange);
  font-size: 10px;
  font-weight: 600;
}

.day-summary h3 {
  margin: 7px 0 0;
  font-size: 20px;
}

.day-stats {
  display: flex;
  gap: 13px;
}

.day-stats span {
  color: var(--muted);
  font-size: 10px;
}

.day-stats b {
  color: var(--ink);
}

.timeline {
  position: relative;
  padding-left: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 13px;
  bottom: 18px;
  left: 26px;
  width: 1px;
  border-left: 1px dashed #b5bcb7;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 28px 50px 1fr;
  gap: 9px;
  min-height: 91px;
  animation: enter 0.35s ease both;
}

.timeline-number {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  z-index: 1;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--green);
  font-size: 8px;
}

.timeline-time {
  padding-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.timeline-content {
  margin-top: -5px;
  padding: 0 0 17px;
  border-bottom: 1px solid rgba(23, 36, 31, 0.07);
}

.timeline-content h4 {
  margin: 0 0 5px;
  font-size: 14px;
}

.timeline-content p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.transit-pill {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 7px;
  border-radius: 99px;
  color: var(--green);
  background: #edf3e8;
  font-size: 9px;
}

.map-panel {
  padding: 10px;
  background: #e8e8df;
}

.map-toolbar {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.map-toolbar > div {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}

.map-toolbar button {
  border: 0;
  color: var(--green);
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}

.fake-map {
  height: calc(100% - 56px);
  min-height: 570px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  background-color: #dbe5d5;
  background-image:
    linear-gradient(25deg, transparent 34%, rgba(255,255,255,.62) 35%, rgba(255,255,255,.62) 37%, transparent 38%),
    linear-gradient(115deg, transparent 45%, rgba(255,255,255,.5) 46%, rgba(255,255,255,.5) 48%, transparent 49%),
    radial-gradient(circle at 24% 28%, #d2dccd 0 8%, transparent 8.5%),
    radial-gradient(circle at 55% 51%, #cedbc9 0 12%, transparent 12.5%),
    linear-gradient(145deg, #dfe9da 0 61%, #a7ced0 61% 100%);
}

.fake-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(31, 93, 74, 0.14) 0.6px, transparent 0.6px);
  background-size: 9px 9px;
  pointer-events: none;
}

.sea-label {
  position: absolute;
  right: 9%;
  bottom: 18%;
  color: rgba(26, 91, 99, 0.52);
  font-family: serif;
  font-size: 17px;
  letter-spacing: 0.45em;
  transform: rotate(-26deg);
}

.district-label {
  position: absolute;
  color: rgba(23, 36, 31, 0.34);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.label-1 { left: 18%; top: 37%; }
.label-2 { right: 27%; top: 56%; }

.road {
  position: absolute;
  height: 3px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-left: 0;
  border-right: 0;
  transform-origin: left;
}

.road-1 { width: 64%; left: 5%; top: 28%; transform: rotate(18deg); }
.road-2 { width: 66%; left: 24%; top: 68%; transform: rotate(-38deg); }
.road-3 { width: 52%; left: 17%; top: 63%; transform: rotate(7deg); }

.route-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: visible;
}

.route-svg path {
  fill: none;
  stroke-linecap: round;
}

#routePathShadow {
  stroke: #fff;
  stroke-width: 9;
  opacity: 0.9;
}

#routePath {
  stroke: var(--orange);
  stroke-width: 4;
  stroke-dasharray: 8 7;
  animation: dash 20s linear infinite;
}

.map-marker {
  position: absolute;
  z-index: 4;
  transform: translate(-50%, -50%);
  animation: pop 0.38s ease both;
}

.map-marker i {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  color: #fff;
  background: var(--green);
  box-shadow: 0 5px 13px rgba(18, 61, 49, 0.28);
  transform: rotate(-45deg);
  font-style: normal;
  font-size: 8px;
  font-weight: 700;
}

.map-marker i span {
  transform: rotate(45deg);
}

.map-marker em {
  display: block;
  margin-top: 7px;
  padding: 4px 7px;
  border-radius: 5px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 3px 10px rgba(23, 36, 31, 0.1);
  white-space: nowrap;
  font-size: 9px;
  font-style: normal;
}

.map-legend {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  padding: 11px 13px;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(7px);
  color: var(--muted);
  font-size: 9px;
}

.map-legend i {
  width: 16px;
  height: 2px;
  display: inline-block;
  margin-right: 6px;
  border-top: 2px dashed var(--orange);
}

.decision-section {
  min-height: 570px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 10vw;
  align-items: center;
  padding: 90px 10vw;
  color: #fff;
  background: var(--green);
}

.eyebrow.light {
  color: var(--lime);
}

.decision-section h2 {
  margin: 22px 0 0;
  font-size: clamp(45px, 5vw, 72px);
  line-height: 1.16;
  letter-spacing: -0.055em;
}

.decision-list article {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 23px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.decision-list article > span {
  color: var(--lime);
  font-size: 11px;
}

.decision-list h3 {
  margin: 0 0 7px;
  font-size: 18px;
}

.decision-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  font-size: 13px;
}

.bottom-budget-section {
  min-height: 560px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 8vw;
  padding: 85px 10vw;
  background: #f4f0e7;
}

.bottom-budget-intro h2 {
  margin: 20px 0 18px;
  font-size: clamp(42px, 4.3vw, 66px);
  line-height: 1.13;
  letter-spacing: -.055em;
}

.bottom-budget-intro p {
  max-width: 400px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.bottom-budget-intro > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
  padding: 11px 16px;
  border-radius: 99px;
  color: #fff;
  background: var(--green);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
}

.bottom-budget-intro > a span {
  color: var(--lime);
  font-size: 17px;
}

.bottom-budget-card {
  min-height: 390px;
  padding: 36px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.bottom-budget-card .budget-total {
  margin: 26px 0 27px;
}

.bottom-budget-card .budget-total strong {
  font-size: clamp(46px, 5vw, 70px);
}

.bottom-budget-card .budget-bars {
  gap: 18px;
}

.bottom-budget-card .budget-bars div {
  padding-bottom: 11px;
  font-size: 12px;
}

.trip-notebook-section {
  max-width: 1320px;
  margin: 0 auto 110px;
  padding: 72px clamp(24px, 5vw, 76px);
  border: 1px solid rgba(25, 53, 43, .12);
  border-radius: 34px;
  background: #f7f5ec;
}

.trip-notebook-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}

.trip-notebook-heading h2 {
  margin: 16px 0 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.08;
  font-weight: 600;
}

.trip-notebook-heading > p {
  color: var(--muted);
  font-size: 14px;
}

.trip-notebook-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 22px;
}

.notebook-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid rgba(25, 53, 43, .12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(28, 54, 44, .06);
}

.notebook-card-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
}

.notebook-card-label i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--lime);
  font-style: normal;
}

.memo-card textarea {
  display: block;
  width: 100%;
  min-height: 220px;
  resize: vertical;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 39px, #e8e6dd 40px);
  font: inherit;
  font-size: 16px;
  line-height: 40px;
}

.memo-card small {
  display: block;
  margin-top: 14px;
  color: #92968f;
}

.packing-input-row {
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 10px;
  margin-bottom: 14px;
}

.packing-input-row input {
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #deddd5;
  border-radius: 14px;
  outline: 0;
  font: inherit;
}

.packing-input-row input:focus {
  border-color: var(--green);
}

.packing-input-row button {
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--green);
  font-size: 24px;
  cursor: pointer;
}

.packing-list {
  min-height: 166px;
}

.packing-empty {
  margin: 30px 0;
  color: #92968f;
  text-align: center;
}

.packing-item {
  display: grid;
  grid-template-columns: 24px 1fr 30px;
  align-items: center;
  gap: 10px;
  padding: 11px 4px;
  border-bottom: 1px solid #eeece4;
}

.packing-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.packing-item.done span {
  color: #9b9f98;
  text-decoration: line-through;
}

.packing-item button {
  border: 0;
  color: #a4a69f;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.packing-suggestion {
  margin-top: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(31, 93, 74, .18);
  border-radius: 999px;
  color: var(--green);
  background: #f2f6ee;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 800px) {
  .trip-notebook-section {
    margin: 0 12px 70px;
    padding: 40px 18px;
    border-radius: 24px;
  }

  .trip-notebook-heading {
    display: block;
  }

  .trip-notebook-heading > p {
    margin-top: 18px;
  }

  .trip-notebook-grid {
    grid-template-columns: 1fr;
  }

  .notebook-card {
    padding: 20px;
  }
}

.budget-footnote {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.budget-footnote strong {
  color: var(--green);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 5vw;
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.footer-brand {
  color: #fff;
}

footer p {
  margin: 0;
}

footer small {
  font-size: 9px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 30;
  transform: translate(-50%, 20px);
  padding: 12px 18px;
  border-radius: 99px;
  color: #fff;
  background: var(--green-dark);
  box-shadow: var(--shadow);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(18, 35, 29, 0.65);
  backdrop-filter: blur(6px);
}

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

.modal {
  width: min(100%, 630px);
  max-height: 88vh;
  overflow: auto;
  padding: 36px;
  border-radius: 21px;
  background: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  animation: modalIn 0.25s ease;
}

.modal > small {
  color: var(--orange);
  font-weight: 700;
}

.modal h2 {
  margin: 10px 0 22px;
  font-size: 28px;
}

.modal-close {
  position: absolute;
  top: 17px;
  right: 17px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
  font-size: 20px;
}

.modal ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.modal li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.modal li span {
  color: var(--muted);
  line-height: 1.6;
}

.replan-modal {
  width: min(100%, 680px);
}

.replan-intro {
  margin: -10px 0 22px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 12px;
}

.replan-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.change-note {
  display: block;
  margin-top: 17px;
}

.change-note textarea {
  width: 100%;
  height: 78px;
  padding: 12px;
  resize: none;
  outline: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: #faf8f2;
  font: inherit;
  font-size: 11px;
}

.change-note textarea:focus {
  border-color: var(--green);
}

.preserve-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 11px;
  border-radius: 9px;
  background: #edf3e8;
}

.preserve-note > i {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--lime);
  font-size: 10px;
  font-style: normal;
}

.preserve-note div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.preserve-note strong {
  font-size: 10px;
}

.preserve-note span {
  color: var(--muted);
  font-size: 9px;
}

.danger-button {
  margin-top: 18px;
  background: #b54f35;
}

.danger-button:hover {
  background: #963e29;
}

.plan-refreshing .overview-grid,
.plan-refreshing .itinerary-shell {
  opacity: 0.35;
  filter: grayscale(0.5);
  pointer-events: none;
  transition: 0.3s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes dash {
  to { stroke-dashoffset: -300; }
}

@keyframes pop {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.55); }
}

@keyframes enter {
  from { opacity: 0; transform: translateY(7px); }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-top: 55px;
  }

  .planner-card {
    justify-self: stretch;
    width: 100%;
  }

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

  .alert-card {
    grid-column: 1 / -1;
  }

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

  .map-panel {
    min-height: 570px;
  }
}

@media (max-width: 700px) {
  .topbar {
    height: 64px;
    padding: 0 18px;
  }

  nav {
    display: none;
  }

  .ghost-button {
    font-size: 11px;
  }

  .header-actions .back-link {
    display: none;
  }

  .plan-page-section {
    padding-top: 28px;
  }

  .result-breadcrumb {
    margin-bottom: 30px;
  }

  .hero {
    padding: 55px 18px 70px;
  }

  .hero h1 {
    font-size: 55px;
  }

  .hero-copy > p {
    font-size: 14px;
  }

  .trust-row {
    gap: 27px;
  }

  .planner-card {
    padding: 22px 17px;
    border-radius: 20px;
  }

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

  .swap-button {
    position: absolute;
    right: 31px;
    top: 97px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--paper);
    transform: rotate(90deg);
  }

  .sub-fields {
    grid-template-columns: 1fr;
  }

  .plan-section {
    padding: 75px 16px;
  }

  .section-heading {
    display: block;
  }

  .heading-side > p {
    margin-top: 20px;
  }

  .plan-status,
  .plan-status > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .plan-status {
    margin-top: -20px;
    gap: 7px;
  }

  .transport-lock {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }

  .transport-time-points {
    width: 100%;
    grid-template-columns: auto 1fr auto;
  }

  .plan-status > div {
    gap: 6px;
  }

  .replan-fields {
    grid-template-columns: 1fr;
  }

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

  .alert-card {
    grid-column: auto;
  }

  .top-overview-grid {
    gap: 10px;
  }

  .top-overview-grid .overview-card {
    min-height: 0;
    padding: 17px 18px;
    border-radius: 15px;
  }

  .top-overview-grid .weather-main strong {
    font-size: 29px;
  }

  .top-overview-grid .sun {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .top-overview-grid .weather-detail {
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
  }

  .top-overview-grid .weather-detail span {
    padding: 5px 7px;
  }

  .top-overview-grid .overview-card p {
    margin: 9px 0 2px;
    font-size: 12px;
  }

  .top-overview-grid .alert-icon {
    width: 28px;
    height: 28px;
    margin-top: 9px;
  }

  .top-overview-grid .alert-card h3 {
    margin: 7px 0 3px;
    font-size: 17px;
  }

  .top-overview-grid .alert-card p {
    max-width: none;
    margin-bottom: 6px;
    line-height: 1.45;
  }

  .top-overview-grid .overview-card > small {
    font-size: 8px;
  }

  .itinerary-panel {
    padding: 20px 15px;
  }

  .day-tab {
    padding: 7px 5px;
  }

  .day-tab strong {
    font-size: 10px;
  }

  .day-summary {
    align-items: start;
    gap: 12px;
    flex-direction: column;
  }

  .timeline-item {
    grid-template-columns: 26px 43px 1fr;
  }

  .fake-map {
    min-height: 460px;
  }

  .map-panel {
    min-height: 520px;
  }

  .spot-gallery {
    margin-top: 16px;
    padding: 24px 0 20px;
    overflow: hidden;
    border-radius: 17px;
  }

  .spot-gallery-heading,
  .image-credit {
    margin-left: 17px;
    margin-right: 17px;
  }

  .spot-gallery-heading {
    display: block;
  }

  .spot-gallery-heading h2 {
    font-size: 23px;
  }

  .spot-gallery-heading > p {
    margin-top: 8px;
  }

  .spot-gallery-grid {
    display: flex;
    gap: 11px;
    overflow-x: auto;
    padding: 0 17px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .spot-gallery-grid::-webkit-scrollbar {
    display: none;
  }

  .spot-photo-card {
    width: 76vw;
    flex: none;
    scroll-snap-align: start;
  }

  .spot-photo {
    height: 190px;
  }

  .decision-section {
    grid-template-columns: 1fr;
    padding: 75px 23px;
  }

  .bottom-budget-section {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 70px 16px 82px;
  }

  .bottom-budget-intro h2 {
    font-size: 45px;
  }

  .bottom-budget-card {
    min-height: 0;
    padding: 27px 22px;
  }

  .budget-footnote {
    gap: 15px;
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    gap: 19px;
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Immersive ocean homepage, inspired by editorial travel covers */
.home-page {
  background: #071f2a;
}

.home-page .topbar {
  width: 100%;
  position: absolute;
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.13);
  background: linear-gradient(180deg, rgba(3, 24, 34, 0.7), rgba(3, 24, 34, 0));
  backdrop-filter: none;
}

.home-page .brand {
  color: #fff;
}

.home-page .brand-mark {
  color: #083342;
  background: #d9f6d0;
}

.home-page .brand small {
  color: rgba(255, 255, 255, 0.58);
}

.home-page .header-link {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(3, 26, 36, 0.3);
  backdrop-filter: blur(10px);
}

.home-page .hero {
  min-height: 1000px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  gap: 0;
  padding: 145px 5vw 90px;
  color: #fff;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(4, 30, 43, 0.15) 0%, rgba(3, 29, 39, 0.05) 43%, rgba(3, 22, 31, 0.82) 100%),
    radial-gradient(ellipse at 10% 23%, rgba(69, 211, 195, 0.58) 0 4%, transparent 19%),
    radial-gradient(ellipse at 74% 16%, rgba(69, 202, 185, 0.52) 0 7%, transparent 25%),
    radial-gradient(ellipse at 86% 61%, rgba(3, 25, 52, 0.83) 0 8%, transparent 27%),
    radial-gradient(ellipse at 24% 72%, rgba(24, 132, 139, 0.75) 0 9%, transparent 29%),
    radial-gradient(ellipse at 58% 58%, rgba(54, 181, 170, 0.42) 0 10%, transparent 30%),
    conic-gradient(from 190deg at 50% 30%, #0c6a75, #073d5b, #15988f, #06354b, #0c6972);
}

.home-page .hero::before {
  content: "";
  position: absolute;
  inset: -15%;
  width: auto;
  height: auto;
  left: -15%;
  top: -15%;
  border: 0;
  border-radius: 0;
  z-index: -2;
  opacity: 0.43;
  background:
    radial-gradient(circle at 18% 32%, transparent 0 2%, rgba(210, 248, 220, .2) 2.2% 3.4%, transparent 3.7%),
    radial-gradient(circle at 62% 27%, transparent 0 3%, rgba(168, 235, 218, .18) 3.2% 4.8%, transparent 5.1%),
    radial-gradient(circle at 77% 69%, transparent 0 2.4%, rgba(191, 238, 207, .14) 2.6% 4%, transparent 4.3%),
    repeating-radial-gradient(ellipse at 48% 52%, transparent 0 25px, rgba(170, 238, 224, .09) 28px 31px, transparent 35px 62px);
  filter: blur(5px);
  transform: rotate(-8deg) scale(1.06);
  animation: oceanDrift 18s ease-in-out infinite alternate;
}

.home-page .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 26, 37, .35), transparent 23%, transparent 78%, rgba(2, 20, 34, .34)),
    radial-gradient(ellipse at center, transparent 34%, rgba(1, 20, 31, .38) 100%);
}

.ocean-coordinate {
  position: absolute;
  top: 108px;
  right: 5vw;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.home-page .hero-copy {
  width: 100%;
  max-width: 1300px;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.27);
  border-radius: 99px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(2, 28, 40, 0.2);
  backdrop-filter: blur(8px);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.home-page .hero-copy .eyebrow {
  justify-content: center;
  margin-top: 32px;
  color: #d9f6d0;
}

.home-page .hero-copy .eyebrow span {
  background: currentColor;
}

.home-page .hero h1 {
  max-width: none;
  margin: 18px auto 17px;
  color: #fffdf3;
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: clamp(70px, 7.4vw, 106px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.075em;
  text-shadow: 0 7px 30px rgba(0, 24, 34, 0.28);
}

.mobile-title-break {
  display: none;
}

.home-page .hero-copy > p {
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.8;
}

.home-page .trust-row {
  justify-content: center;
  gap: 0;
  margin-top: 28px;
}

.home-page .trust-row div {
  min-width: 120px;
  padding: 0 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.home-page .trust-row div:last-child {
  border-right: 0;
}

.home-page .trust-row strong {
  color: #d9f6d0;
  font-size: 20px;
}

.home-page .trust-row span {
  color: rgba(255, 255, 255, 0.58);
}

.home-page .planner-card {
  width: min(100%, 1120px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0 18px;
  justify-self: auto;
  margin-top: 58px;
  padding: 27px 30px 22px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(3, 29, 41, 0.88);
  box-shadow: 0 35px 90px rgba(0, 15, 24, 0.42);
  backdrop-filter: blur(24px);
}

.home-page .planner-card::after {
  display: none;
}

.home-page .planner-heading {
  grid-column: 1 / -1;
  padding-bottom: 17px;
}

.home-page .planner-heading > div {
  color: rgba(255, 255, 255, 0.62);
}

.home-page .status-dot {
  background: #6fd1c3;
  box-shadow: 0 0 0 4px rgba(111, 209, 195, 0.14);
}

.home-page .route-fields {
  grid-column: 1 / 7;
}

.home-page .sub-fields {
  grid-column: 7 / -1;
  margin-top: 0;
}

.time-builder {
  display: block;
}

.time-mode-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.time-mode-heading > span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.time-mode-tabs {
  display: flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
}

.time-mode-tabs button {
  padding: 5px 9px;
  border: 0;
  border-radius: 99px;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  font-size: 9px;
}

.time-mode-tabs button.active {
  color: #082e3a;
  background: #a9e7df;
}

.time-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.time-panel.active {
  display: grid;
}

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

.ticket-panel.active {
  grid-template-columns: 1fr;
}

.ticket-drop {
  min-height: 78px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px dashed rgba(169, 231, 223, 0.42);
  border-radius: 11px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  text-align: left;
  cursor: pointer;
}

.ticket-drop > i {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #082e3a;
  background: #a9e7df;
  font-style: normal;
}

.ticket-drop > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ticket-drop strong {
  font-size: 11px;
}

.ticket-drop small {
  color: rgba(255, 255, 255, 0.44);
  font-size: 8px;
}

.ticket-drop > b {
  padding: 6px 9px;
  border-radius: 6px;
  color: #082e3a;
  background: #e7f7b6;
  font-size: 8px;
}

.ticket-drop.dragging,
.ticket-drop.recognizing {
  border-style: solid;
  background: rgba(169, 231, 223, 0.13);
}

.ticket-result {
  padding: 11px 12px;
  border: 1px solid rgba(231, 247, 182, 0.25);
  border-radius: 11px;
  background: rgba(231, 247, 182, 0.07);
}

.ticket-result-head,
.ticket-result-head > span,
.recognized-dates {
  display: flex;
  align-items: center;
}

.ticket-result-head {
  justify-content: space-between;
}

.ticket-result-head > span {
  gap: 6px;
}

.ticket-result-head i {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #082e3a;
  background: #e7f7b6;
  font-size: 8px;
  font-style: normal;
}

.ticket-result-head strong {
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
}

.ticket-result-head small {
  color: #e7f7b6;
  font-size: 8px;
}

.recognized-dates {
  gap: 8px;
  margin-top: 10px;
}

.recognized-dates label {
  flex: 1;
}

.recognized-dates label span {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 8px;
}

.recognized-dates input {
  width: 100%;
  height: 34px;
  padding: 0 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 7px;
  color: #fff;
  background: rgba(255,255,255,.07);
}

.recognized-dates > i {
  color: rgba(255,255,255,.4);
  font-style: normal;
}

.time-privacy {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 8px;
}

.home-page .preference-row {
  grid-column: 1 / 6;
}

.home-page .must-go-picker {
  grid-column: 6 / -1;
}

.home-page .primary-button {
  grid-column: 1 / -1;
}

.home-page .form-note {
  grid-column: 1 / -1;
}

.home-page label > span,
.home-page .preference-row > span {
  color: rgba(255, 255, 255, 0.55);
}

.home-page .input-row,
.home-page select {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.home-page .input-row input,
.home-page select {
  color: #fff;
}

.home-page select option {
  color: var(--ink);
}

.home-page .field-icon {
  color: #a9e7df;
  border-color: #a9e7df;
}

.home-page .icon-origin {
  border-color: #a9e7df;
}

.home-page .swap-button {
  color: #a9e7df;
}

.home-page .chip {
  color: rgba(255, 255, 255, 0.62);
  border-color: rgba(255, 255, 255, 0.16);
}

.home-page .chip.active {
  color: #092d38;
  border-color: #d9f6d0;
  background: #d9f6d0;
}

.home-page .must-go-picker {
  margin-top: 21px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
}

.home-page .must-go-picker > p,
.home-page .picker-title b {
  color: rgba(255, 255, 255, 0.48);
}

.home-page .picker-title small {
  color: #a9e7df;
}

.home-page .spot-option {
  color: rgba(255, 255, 255, 0.68);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.home-page .spot-option.selected {
  color: #092d38;
  border-color: #a9e7df;
  background: #a9e7df;
}

.home-page .spot-search {
  border-color: rgba(255, 255, 255, 0.19);
  color: #a9e7df;
  background: rgba(255, 255, 255, 0.06);
}

.home-page .spot-search input {
  color: #fff;
}

.home-page .spot-search input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.home-page .spot-search button {
  color: #092d38;
  background: #a9e7df;
}

.home-page .primary-button {
  margin-top: 19px;
  color: #07313d;
  background: #74cfe0;
}

.home-page .primary-button:hover {
  background: #9cdeea;
}

.home-page .primary-button b {
  color: #07313d;
  background: #e7f7b6;
}

.home-page .form-note {
  color: rgba(255, 255, 255, 0.38);
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.scroll-cue span {
  width: 28px;
  height: 1px;
  background: currentColor;
}

.home-page footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes oceanDrift {
  from { transform: rotate(-8deg) scale(1.06) translate3d(-1%, -1%, 0); }
  to { transform: rotate(-5deg) scale(1.12) translate3d(2%, 1%, 0); }
}

@media (max-width: 980px) {
  .home-page .hero {
    min-height: auto;
    padding-top: 130px;
  }

  .home-page .planner-card {
    display: block;
    max-width: 720px;
    margin-top: 46px;
  }

  .home-page .sub-fields {
    margin-top: 18px;
  }
}

@media (max-width: 700px) {
  .home-page .topbar {
    position: absolute;
    background: linear-gradient(180deg, rgba(3, 24, 34, 0.72), transparent);
  }

  .home-page .header-link {
    font-size: 10px;
  }

  .home-page .hero {
    padding: 118px 16px 65px;
  }

  .ocean-coordinate {
    display: none;
  }

  .hero-kicker {
    font-size: 8px;
  }

  .home-page .hero-copy .eyebrow {
    margin-top: 23px;
    font-size: 9px;
  }

  .home-page .hero h1 {
    margin-top: 15px;
    font-size: clamp(51px, 15vw, 68px);
    line-height: 1.03;
  }

  .mobile-title-break {
    display: block;
  }

  .home-page .hero-copy > p {
    font-size: 12px;
  }

  .home-page .trust-row div {
    min-width: auto;
    padding: 0 17px;
  }

  .home-page .planner-card {
    padding: 22px 16px 18px;
    border-radius: 15px;
    background: rgba(3, 29, 41, 0.97);
    backdrop-filter: none;
  }

  .home-page .route-fields {
    grid-template-columns: 1fr;
  }

  .time-mode-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .time-mode-tabs {
    width: 100%;
  }

  .time-mode-tabs button {
    flex: 1;
    padding: 7px 5px;
    font-size: 9px;
  }

  .time-panel.active {
    grid-template-columns: 1fr;
  }

  .ticket-drop {
    grid-template-columns: 32px 1fr;
  }

  .ticket-drop > b {
    display: none;
  }

  .home-page .swap-button {
    top: 92px;
    right: 27px;
    background: rgba(255, 255, 255, 0.1);
  }
}

/* Global product navigation */
.app-nav {
  gap: 7px;
  padding: 6px;
  border: 1px solid rgba(23, 36, 31, 0.08);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.58);
}

.app-nav a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.app-nav a i {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 11px;
  font-style: normal;
}

.app-nav a.active {
  color: #fff;
  background: var(--green);
}

.app-nav a.active i {
  color: var(--green-dark);
  background: var(--lime);
}

/* My trips and expense notebook */
.dashboard-page {
  min-height: 100vh;
  background: #f8f5ed;
}

.dashboard-main {
  min-height: calc(100vh - 76px);
  padding: 78px 7vw 110px;
}

.dashboard-heading {
  max-width: 1240px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 0 auto 45px;
}

.dashboard-heading h1 {
  margin: 14px 0 8px;
  font-size: clamp(48px, 5vw, 70px);
  letter-spacing: -0.06em;
}

.dashboard-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.trip-count {
  display: flex;
  align-items: end;
  gap: 10px;
}

.trip-count strong {
  color: var(--green);
  font-size: 48px;
  font-weight: 500;
}

.trip-count span {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 10px;
}

.filter-tabs {
  max-width: 1240px;
  display: flex;
  gap: 5px;
  margin: 0 auto 22px;
}

.filter-tabs button {
  padding: 8px 14px;
  border: 0;
  border-radius: 99px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
}

.filter-tabs button.active {
  color: #fff;
  background: var(--green);
}

.trip-grid {
  max-width: 1240px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 0 auto;
}

.trip-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
  box-shadow: 0 15px 40px rgba(30, 55, 45, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trip-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.trip-art {
  height: 178px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.trip-art::before,
.trip-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.trip-art::before {
  width: 190px;
  height: 190px;
  top: -70px;
  right: -35px;
  border: 34px solid rgba(255,255,255,.12);
}

.trip-art::after {
  width: 120%;
  height: 100px;
  left: -10%;
  bottom: -64px;
  background: rgba(255,255,255,.16);
  transform: rotate(-6deg);
}

.dalian-art { color: #fff; background: linear-gradient(145deg, #1f5d4a, #6e9c83); }
.hangzhou-art { color: #2f493b; background: linear-gradient(145deg, #dbe5bf, #a8c7b2); }
.chengdu-art { color: #594b3d; background: linear-gradient(145deg, #e6d4b4, #c9a981); }

.trip-art strong {
  z-index: 1;
  font-size: 33px;
  letter-spacing: 0.1em;
}

.trip-art small {
  z-index: 1;
  margin-top: 3px;
  font-size: 8px;
  letter-spacing: .12em;
  opacity: .7;
}

.trip-state {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 5px 9px;
  border-radius: 99px;
  color: var(--green-dark);
  background: rgba(255,255,255,.74);
  backdrop-filter: blur(5px);
  font-size: 9px;
}

.trip-state.live {
  color: var(--green-dark);
  background: var(--lime);
}

.trip-state.done {
  color: #725c48;
}

.trip-card-body {
  min-height: 125px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}

.trip-card-body small,
.trip-card-body p {
  color: var(--muted);
  font-size: 9px;
}

.trip-card-body h2 {
  margin: 7px 0;
  font-size: 19px;
}

.trip-card-body p {
  margin: 0;
}

.round-arrow {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
}

.trip-progress {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 16px;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 9px;
}

.live-trip-actions {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  background: #f1f5eb;
}

.route-update-state {
  display: flex;
  align-items: center;
  gap: 9px;
}

.route-update-state > i {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: #fff;
  font-style: normal;
}

.route-update-state > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.route-update-state strong {
  font-size: 10px;
}

.route-update-state small {
  color: var(--muted);
  font-size: 8px;
}

.route-update-state.updated > i {
  color: var(--green-dark);
  background: var(--lime);
}

.live-trip-actions button {
  padding: 8px 12px;
  border: 0;
  border-radius: 99px;
  color: #fff;
  background: var(--green);
  cursor: pointer;
  font-size: 9px;
  font-weight: 600;
}

.custom-route-modal {
  width: min(100%, 700px);
}

.route-day-picker {
  margin-bottom: 17px;
}

.route-day-picker > span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
}

.route-day-picker > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.route-day-picker button {
  padding: 9px 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #faf8f2;
  cursor: pointer;
  font-size: 9px;
}

.route-day-picker button.active {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.custom-spot-field {
  display: block;
  margin-top: 15px;
}

.custom-spot-field[hidden] {
  display: none;
}

.round-arrow {
  text-decoration: none;
}

.trip-progress i {
  grid-column: 1 / -1;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--orange) var(--progress), #eae6dc var(--progress));
}

.trip-progress b {
  color: var(--ink);
}

.muted-trip {
  opacity: .72;
}

.new-trip-card {
  min-height: 324px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  border: 1px dashed rgba(31, 93, 74, .3);
  border-radius: 18px;
  color: var(--green);
  background: rgba(255,255,255,.35);
  text-decoration: none;
}

.new-trip-card > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--lime);
  font-size: 20px;
}

.new-trip-card small {
  color: var(--muted);
  font-size: 10px;
}

.trip-selector {
  min-width: 230px;
}

.expense-summary {
  max-width: 1240px;
  display: grid;
  grid-template-columns: 1.55fr repeat(3, 1fr);
  gap: 13px;
  margin: 0 auto 18px;
}

.expense-summary article {
  min-height: 128px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.expense-summary article > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.expense-summary small {
  color: var(--muted);
  font-size: 10px;
}

.expense-summary strong {
  font-size: 21px;
}

.expense-summary .total-spent {
  display: block;
  color: #fff;
  background: var(--green-dark);
  border-color: transparent;
}

.total-spent > strong {
  display: block;
  margin: 5px 0;
  font-size: 35px;
}

.total-spent p {
  margin: 0 0 12px;
  color: rgba(255,255,255,.65);
  font-size: 9px;
}

.total-spent p b {
  color: var(--lime);
}

.total-spent > div {
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255,255,255,.17);
}

.total-spent > div i {
  width: var(--progress);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--lime);
}

.expense-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 11px;
  font-size: 11px;
  font-style: normal;
}

.expense-icon.transport { color: #28665a; background: #d8ede4; }
.expense-icon.food { color: #9c4e35; background: #fae2d5; }
.expense-icon.play { color: #76641e; background: #f4ecbd; }

.ledger-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.ledger-head,
.ledger-head > div,
.ledger-date,
.ledger-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ledger-head h2 {
  margin: 0;
  font-size: 20px;
}

.ledger-head > div {
  gap: 10px;
}

.ledger-head > div span {
  color: var(--muted);
  font-size: 9px;
}

.primary-mini {
  padding: 9px 14px;
  border: 0;
  border-radius: 99px;
  color: #fff;
  background: var(--green);
  cursor: pointer;
  font-size: 10px;
}

.ledger-date {
  margin-top: 24px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.ledger-date b {
  color: var(--ink);
}

.ledger-list article {
  justify-content: flex-start;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(23,36,31,.07);
}

.ledger-list article > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}

.ledger-list article strong,
.ledger-list article > b {
  font-size: 12px;
}

.ledger-list article small {
  color: var(--muted);
  font-size: 9px;
}

.expense-modal label {
  display: block;
  margin-bottom: 15px;
}

.amount-input b {
  color: var(--green);
}

@media (max-width: 1080px) {
  .topbar {
    backdrop-filter: none;
  }

  .topbar .app-nav {
    position: fixed;
    left: 50%;
    bottom: 12px;
    z-index: 50;
    display: flex;
    transform: translateX(-50%);
    padding: 6px;
    border-color: rgba(255,255,255,.14);
    background: rgba(18,61,49,.94);
    box-shadow: 0 10px 35px rgba(18,61,49,.28);
    backdrop-filter: blur(12px);
  }

  .app-nav a {
    color: rgba(255,255,255,.68);
    font-size: 12px;
  }

  .app-nav a.active {
    color: var(--green-dark);
    background: var(--lime);
  }

  .app-nav a.active i {
    background: rgba(255,255,255,.6);
  }

  .expense-summary {
    grid-template-columns: 1fr 1fr;
  }

  .expense-summary .total-spent {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: 72px;
  }

  .topbar .app-nav {
    width: calc(100% - 16px);
    justify-content: space-between;
  }

  .app-nav a {
    flex: 1;
    justify-content: center;
    gap: 5px;
    min-height: 43px;
    padding: 9px 6px;
    font-size: 11px;
  }

  .app-nav a i {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  .app-nav a span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .dashboard-main {
    padding: 55px 16px 80px;
  }

  .dashboard-heading {
    display: block;
  }

  .trip-count {
    margin-top: 25px;
  }

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

  .expense-heading .trip-selector {
    display: block;
    margin-top: 25px;
  }

  .expense-summary {
    grid-template-columns: 1fr;
  }

  .expense-summary .total-spent {
    grid-column: auto;
  }

  .ledger-shell {
    padding: 19px 15px;
  }
}

/* Airier white-frame variation */
.home-page {
  background: #fbfaf6;
}

.home-page .topbar {
  position: relative;
  color: var(--ink);
  border-bottom: 1px solid rgba(23, 36, 31, 0.09);
  background: #fff;
}

.home-page .brand {
  color: var(--ink);
}

.home-page .brand-mark {
  color: var(--lime);
  background: var(--green);
}

.home-page .brand small {
  color: #92978f;
}

.home-page .header-link {
  color: var(--green);
  border-color: rgba(31, 93, 74, 0.25);
  background: #f6f7f1;
  backdrop-filter: none;
}

.home-page .hero {
  width: calc(100% - 56px);
  margin: 24px 28px 44px;
  border-radius: 28px;
}

.home-page .hero h1 {
  font-family: "HanziPen SC", "STKaiti", "Kaiti SC", "KaiTi", cursive;
  font-weight: 400;
  letter-spacing: 0.015em;
}

.ocean-coordinate {
  top: 34px;
}

.home-page footer {
  color: var(--muted);
  border-top: 1px solid rgba(23, 36, 31, 0.09);
  background: #fff;
}

.home-page .footer-brand {
  color: var(--ink);
}

@media (max-width: 700px) {
  .home-page .topbar {
    position: relative;
    background: #fff;
  }

  .home-page .hero {
    width: calc(100% - 20px);
    margin: 10px 10px 24px;
    padding-top: 88px;
    border-radius: 20px;
  }

  .home-page .hero h1 {
    font-size: clamp(60px, 17vw, 76px);
  }
}

/* H5 responsive patch */
img,
svg,
video {
  max-width: 100%;
}

input,
select,
textarea {
  font-size: 16px;
}

[hidden] {
  display: none !important;
}

.topbar {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 clamp(18px, 5vw, 64px);
}

.brand,
.header-actions,
.app-nav,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--lime);
  font-weight: 800;
}

.brand span,
.brand small,
.header-link,
.account-button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand span {
  display: block;
  font-weight: 800;
}

.brand small {
  display: block;
  max-width: 170px;
  color: var(--muted);
  font-size: 10px;
}

.app-nav,
nav {
  gap: 6px;
}

.app-nav a,
nav a,
.header-link,
.ghost-button,
.account-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
}

.app-nav a,
nav a {
  color: var(--muted);
}

.app-nav a.active,
nav a.active {
  color: var(--green-dark);
  background: var(--lime);
}

.account-button,
.ghost-button,
.header-link {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, .82);
}

.account-button {
  max-width: 130px;
  cursor: pointer;
}

.hero,
.plan-section,
.dashboard-main {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 78px);
  padding: clamp(52px, 8vw, 98px) clamp(18px, 6vw, 88px);
}

.hero-copy,
.planner-card,
.overview-card,
.itinerary-panel,
.map-panel,
.spot-photo-card,
.trip-card,
.ledger-shell,
.modal {
  min-width: 0;
}

.hero h1 {
  max-width: 760px;
  overflow-wrap: anywhere;
}

.planner-card,
.overview-card,
.itinerary-shell,
.spot-gallery,
.trip-notebook-section,
.trip-card,
.new-trip-card,
.ledger-shell,
.expense-summary > *,
.modal {
  border-radius: min(22px, 5vw);
}

.planner-card {
  width: min(100%, 560px);
  padding: clamp(22px, 4vw, 34px);
}

.route-fields,
.sub-fields,
.replan-fields,
.trip-notebook-grid,
.expense-summary {
  display: grid;
  gap: 12px;
}

.route-fields {
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
  align-items: end;
}

.sub-fields,
.replan-fields,
.expense-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.input-row,
select {
  min-width: 0;
}

.input-row input,
.import-textarea,
.change-note textarea,
.memo-card textarea {
  width: 100%;
  min-width: 0;
}

.primary-button,
.danger-button {
  width: 100%;
  min-height: 50px;
}

.chips,
.spot-options,
.time-mode-tabs,
.filter-tabs,
.route-day-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip,
.spot-option,
.time-mode-tabs button,
.filter-tabs button,
.route-day-picker button {
  min-height: 36px;
}

.plan-section,
.dashboard-main {
  padding-left: clamp(14px, 4vw, 64px);
  padding-right: clamp(14px, 4vw, 64px);
}

.overview-grid,
.itinerary-shell,
.spot-gallery,
.trip-notebook-section,
.result-breadcrumb,
.dashboard-main {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.itinerary-shell {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  overflow: hidden;
}

.itinerary-panel,
.map-panel {
  padding: clamp(16px, 3vw, 32px);
}

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

.day-tab {
  min-width: 0;
}

.day-summary,
.plan-status,
.transport-lock,
.spot-gallery-heading,
.trip-notebook-heading,
.dashboard-heading,
.expense-heading,
.ledger-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.fake-map {
  min-height: 480px;
  position: relative;
  overflow: hidden;
}

.map-marker em {
  max-width: 128px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spot-gallery-grid,
.trip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

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

.trip-notebook-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: auto;
  background: rgba(18, 35, 29, .65);
}

.modal {
  width: min(100%, 720px);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  padding: clamp(22px, 5vw, 36px);
}

.toast {
  max-width: calc(100vw - 28px);
}

@media (max-width: 1080px) {
  body {
    padding-bottom: 76px;
  }

  .topbar {
    min-height: 66px;
  }

  .topbar .app-nav,
  .topbar nav {
    position: fixed;
    left: 50%;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 70;
    width: min(560px, calc(100% - 18px));
    justify-content: space-between;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(18, 61, 49, .94);
    box-shadow: 0 10px 35px rgba(18, 61, 49, .28);
    transform: translateX(-50%);
    backdrop-filter: blur(12px);
  }

  .topbar .app-nav a,
  .topbar nav a {
    flex: 1;
    min-width: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
  }

  .topbar .app-nav a.active,
  .topbar nav a.active {
    color: var(--green-dark);
    background: var(--lime);
  }

  .hero,
  .itinerary-shell,
  .bottom-budget-section {
    grid-template-columns: 1fr;
  }

  .planner-card {
    width: 100%;
  }

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

  .alert-card,
  .expense-summary .total-spent {
    grid-column: 1 / -1;
  }

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

@media (max-width: 700px) {
  body {
    overflow-x: hidden;
  }

  .topbar {
    min-height: 62px;
    padding: 0 14px;
  }

  .brand small,
  .header-actions .back-link,
  .header-actions .ghost-button,
  .home-page .header-link {
    display: none;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .account-button {
    max-width: 92px;
    padding: 6px 8px;
  }

  .account-button > i {
    width: 26px;
    height: 26px;
  }

  .topbar .app-nav,
  .topbar nav {
    width: calc(100% - 14px);
    gap: 2px;
  }

  .topbar .app-nav a,
  .topbar nav a {
    min-height: 44px;
    padding: 6px 4px;
    font-size: 11px;
  }

  .hero {
    min-height: auto;
    gap: 22px;
    padding: 30px 14px 48px;
  }

  .home-page .hero {
    width: calc(100% - 20px);
    margin: 10px;
    padding: 72px 16px 28px;
    border-radius: 22px;
  }

  .hero h1 {
    margin: 0;
    font-size: clamp(42px, 14vw, 72px);
    line-height: 1.03;
  }

  .hero-copy > p {
    font-size: 14px;
    line-height: 1.75;
  }

  .trust-row,
  .planner-heading,
  .picker-title,
  .time-mode-heading,
  .ticket-result-head,
  .recognized-dates,
  .dashboard-heading,
  .expense-heading,
  .spot-gallery-heading,
  .trip-notebook-heading,
  .ledger-head,
  .plan-status,
  .transport-lock,
  .day-summary {
    flex-direction: column;
    align-items: stretch;
  }

  .planner-heading-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .planner-import-button {
    justify-content: center;
  }

  .planner-card,
  .overview-card,
  .spot-gallery,
  .trip-notebook-section,
  .ledger-shell {
    padding: 18px;
  }

  .route-fields,
  .sub-fields,
  .replan-fields,
  .overview-grid,
  .top-overview-grid,
  .trip-notebook-grid,
  .expense-summary {
    grid-template-columns: 1fr;
  }

  .route-fields {
    position: relative;
  }

  .swap-button {
    position: absolute;
    right: 12px;
    top: 68px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--paper);
    transform: rotate(90deg);
  }

  .time-mode-tabs,
  .filter-tabs,
  .route-day-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .time-mode-tabs button,
  .filter-tabs button,
  .route-day-picker button {
    padding-left: 6px;
    padding-right: 6px;
    white-space: normal;
  }

  .spot-search,
  .packing-input-row,
  .transport-time-points {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .plan-section,
  .dashboard-main {
    padding: 34px 12px 58px;
  }

  .result-breadcrumb {
    margin-bottom: 22px;
    padding: 0 4px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .section-heading,
  .bottom-budget-section {
    display: block;
  }

  .section-heading h2,
  .bottom-budget-intro h2,
  .trip-notebook-heading h2 {
    font-size: clamp(30px, 8.8vw, 34px);
    line-height: 1.12;
  }

  .day-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }

  .day-tab {
    flex: 0 0 112px;
    border: 1px solid var(--line);
    border-radius: 12px;
    scroll-snap-align: start;
  }

  .timeline {
    padding-left: 0;
  }

  .timeline::before {
    left: 11px;
  }

  .timeline-item {
    grid-template-columns: 24px minmax(44px, auto) minmax(0, 1fr);
    gap: 7px;
  }

  .timeline-content h4,
  .timeline-content p {
    overflow-wrap: anywhere;
  }

  .map-panel {
    min-height: auto;
    padding: 10px;
  }

  .map-toolbar {
    min-height: 52px;
    gap: 8px;
  }

  .fake-map {
    min-height: 360px;
    border-radius: 16px;
  }

  .map-marker em {
    max-width: 86px;
    white-space: normal;
    line-height: 1.25;
  }

  .map-legend {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .spot-gallery,
  .trip-notebook-section {
    margin-top: 18px;
    border-radius: 20px;
  }

  .spot-gallery-grid,
  .trip-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .spot-gallery-grid::-webkit-scrollbar,
  .trip-grid::-webkit-scrollbar,
  .day-tabs::-webkit-scrollbar {
    display: none;
  }

  .spot-photo-card,
  .trip-card,
  .new-trip-card {
    flex: 0 0 82vw;
    scroll-snap-align: start;
  }

  .spot-photo {
    height: 190px;
  }

  .decision-section,
  .bottom-budget-section {
    min-height: auto;
    padding: 56px 16px;
  }

  .bottom-budget-card {
    margin-top: 28px;
    padding: 22px;
  }

  .trip-selector {
    width: 100%;
  }

  .expense-summary {
    gap: 10px;
  }

  .ledger-list article {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
  }

  .ledger-list article strong {
    overflow-wrap: anywhere;
  }

  .modal-backdrop {
    align-items: end;
    padding: 10px;
  }

  .modal {
    width: 100%;
    max-height: calc(100dvh - 20px);
    border-radius: 22px 22px 16px 16px;
  }

  .account-saved-grid {
    grid-template-columns: 1fr;
  }

  .toast {
    left: 14px;
    right: 14px;
    bottom: calc(86px + env(safe-area-inset-bottom));
    transform: none;
  }

  footer {
    padding: 28px 16px 96px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 390px) {
  .brand span,
  .account-button span {
    max-width: 58px;
  }

  .hero h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .planner-card,
  .overview-card,
  .spot-gallery,
  .trip-notebook-section,
  .ledger-shell {
    padding: 15px;
  }

  .spot-photo-card,
  .trip-card,
  .new-trip-card {
    flex-basis: 86vw;
  }
}

/* Dark itinerary tabs header */
.itinerary-panel .day-tabs {
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--green-dark);
}

.itinerary-panel .day-tab {
  min-height: 102px;
  padding: 24px 22px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .56);
  background: transparent;
  opacity: 1;
}

.itinerary-panel .day-tab:last-child {
  border-right: 0;
}

.itinerary-panel .day-tab small {
  color: rgba(255, 255, 255, .58);
}

.itinerary-panel .day-tab strong {
  color: rgba(255, 255, 255, .72);
}

.itinerary-panel .day-tab.active {
  color: var(--lime);
  background: rgba(215, 239, 131, .12);
}

.itinerary-panel .day-tab.active small {
  color: var(--lime);
}

.itinerary-panel .day-tab.active strong {
  color: #fffdf8;
}

@media (max-width: 700px) {
  .itinerary-panel .day-tabs {
    padding: 8px;
    border-radius: 18px;
    background: var(--green-dark);
  }

  .itinerary-panel .day-tab {
    flex-basis: 116px;
    min-height: 76px;
    padding: 13px 12px;
    border: 0;
    border-radius: 12px;
  }
}

/* Imported itinerary recognition */
.import-existing-link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 13px;
  border: 1px solid rgba(215, 239, 131, .45);
  border-radius: 16px;
  color: #eaf8d5;
  background: rgba(18, 61, 49, .72);
  text-decoration: none;
}

.hero-import-cta {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 28px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(215, 239, 131, .48);
  border-radius: 999px;
  color: #f7ffe9;
  background: rgba(9, 50, 45, .58);
  box-shadow: 0 18px 50px rgba(2, 18, 24, .18);
  text-align: left;
  text-decoration: none;
  backdrop-filter: blur(14px);
}

.hero-import-cta i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--lime);
  font-size: 18px;
  font-style: normal;
}

.hero-import-cta span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-import-cta strong {
  color: #fff;
  font-size: 14px;
}

.hero-import-cta small {
  overflow: hidden;
  color: rgba(255, 255, 255, .66);
  font-size: 10px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-import-cta b {
  color: var(--lime);
  font-size: 11px;
}

.import-existing-link i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--lime);
  font-style: normal;
}

.import-existing-link span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.import-existing-link strong {
  color: #fff;
  font-size: 12px;
}

.import-existing-link small {
  color: rgba(255, 255, 255, .62);
  font-size: 10px;
  line-height: 1.45;
}

.import-existing-link b {
  color: var(--lime);
  font-size: 10px;
}

.recognized-trip-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 12px;
}

.recognized-trip-card > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(31, 93, 74, .14);
  border-radius: 14px;
  background: #f7faf0;
}

.recognized-trip-card small,
.recognized-spots {
  color: var(--muted);
  font-size: 10px;
}

.recognized-trip-card strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: var(--green-dark);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recognized-spots {
  margin: 0 0 12px;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .hero-import-cta {
    grid-template-columns: 38px minmax(0, 1fr);
    margin-top: 22px;
    padding: 13px 14px;
    border-radius: 18px;
  }

  .hero-import-cta i {
    width: 38px;
    height: 38px;
  }

  .hero-import-cta b {
    grid-column: 2;
  }

  .hero-import-cta small {
    white-space: normal;
  }

  .import-existing-link {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .import-existing-link b {
    grid-column: 2;
  }

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