:root {
  --ink: #173f37;
  --ink-soft: #526d64;
  --muted: #80928b;
  --green: #1d5d4e;
  --green-deep: #143d34;
  --green-soft: #e6f0eb;
  --gold: #e9b678;
  --gold-deep: #c88645;
  --warm-soft: #faeee2;
  --red: #b95346;
  --red-soft: #fae9e5;
  --blue: #6aa6b7;
  --surface: #ffffff;
  --canvas: #f3f6f2;
  --line: #e2ebe5;
  --shadow: 0 18px 48px rgba(26, 66, 56, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0%, rgba(120, 179, 154, 0.16), transparent 440px),
    radial-gradient(circle at 0% 34%, rgba(233, 182, 120, 0.09), transparent 380px),
    var(--canvas);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
}

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

button {
  cursor: pointer;
}

button,
input,
select,
textarea {
  outline: none;
}

input,
select,
textarea {
  color: var(--ink);
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  background: #fff;
  border-color: #67a58f;
  box-shadow: 0 0 0 3px rgba(61, 132, 108, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: #a4b2ac;
}

.hidden {
  display: none !important;
}

.topbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: 10px;
  color: #fff;
  background: var(--green);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(29, 93, 78, 0.18);
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.topbar-actions {
  display: flex;
  gap: 8px;
}

.top-button {
  min-height: 38px;
  padding: 0 15px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(34, 83, 69, 0.12);
  border-radius: 13px;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.top-button.primary {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.app-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 56px;
}

.notice {
  margin-bottom: 14px;
  padding: 12px 16px;
  color: #315c50;
  background: #e6f1eb;
  border: 1px solid #d5e7de;
  border-radius: 15px;
  font-size: 13px;
}

.notice.warning {
  color: #845c2c;
  background: #faf0df;
  border-color: #efdfc4;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 320px;
  padding: 42px 42px 38px;
  color: #fff;
  background: linear-gradient(135deg, #153d35 0%, #1d594a 58%, #2b7b67 100%);
  border-radius: 32px;
  box-shadow: 0 26px 64px rgba(20, 65, 53, 0.22);
}

.hero-orb {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.hero-orb-one {
  top: -210px;
  right: -130px;
  width: 470px;
  height: 470px;
}

.hero-orb-two {
  right: 170px;
  bottom: -310px;
  width: 430px;
  height: 430px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  color: #a7dec9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.6px;
}

.hero-kicker span {
  width: 30px;
  height: 2px;
  margin-right: 10px;
  background: var(--gold);
  border-radius: 99px;
}

.hero h1 {
  margin: 15px 0 8px;
  font-size: clamp(40px, 7vw, 66px);
  line-height: 1.08;
  letter-spacing: -3px;
}

.hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.hero-stamp {
  position: absolute;
  right: 42px;
  bottom: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: rgba(255, 255, 255, 0.72);
}

.hero-stamp span {
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 3px;
}

.hero-stamp strong {
  margin-top: 2px;
  font-size: 20px;
  font-weight: 700;
}

.route-scroll {
  display: flex;
  align-items: center;
  max-width: 100%;
  margin-top: 31px;
  overflow-x: auto;
  scrollbar-width: none;
}

.route-scroll::-webkit-scrollbar {
  display: none;
}

.route-stop {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 7px 12px;
  color: rgba(255, 255, 255, 0.87);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
}

.route-stop::before {
  width: 6px;
  height: 6px;
  margin-right: 7px;
  background: var(--gold);
  border-radius: 50%;
  content: "";
}

.route-arrow {
  flex: 0 0 auto;
  margin: 0 7px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 13px;
}

.summary-card {
  position: relative;
  z-index: 3;
  width: calc(100% - 36px);
  margin: -20px auto 0;
  padding: 28px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.summary-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.eyebrow {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.total-money {
  margin-top: 3px;
  color: var(--green-deep);
  font-size: clamp(38px, 6vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2.5px;
}

.budget-field,
.budget-static {
  flex: 0 0 auto;
  text-align: right;
}

.budget-field > span:first-child,
.budget-static > span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
}

.budget-box {
  display: inline-flex;
  align-items: center;
  width: 138px;
  height: 48px;
  padding: 0 12px;
  background: #f1f6f3;
  border: 1px solid #dce7df;
  border-radius: 14px;
}

.budget-box i {
  margin-right: 4px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.budget-box input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0;
  color: var(--green);
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 18px;
  font-weight: 800;
  text-align: right;
}

.budget-static strong {
  display: block;
  padding-top: 6px;
  font-size: 20px;
}

.budget-health-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 17px;
}

.budget-health {
  display: inline-flex;
  align-items: center;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.budget-health::before {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  background: currentColor;
  border-radius: 50%;
  content: "";
}

.budget-health.safe {
  color: #187259;
}

.updated-at {
  color: #97a59f;
  font-size: 10px;
}

.progress-track {
  overflow: hidden;
  height: 7px;
  margin-top: 10px;
  background: #eaf0ec;
  border-radius: 99px;
}

.progress-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ce5c4b, #e99a74);
  border-radius: inherit;
  transition: width 220ms ease;
}

.progress-fill.safe {
  background: linear-gradient(90deg, #2b7b67, #68b59a);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 23px;
  padding: 17px 10px;
  background: #f7f9f7;
  border-radius: 17px;
}

.stat-item {
  min-width: 0;
  padding: 0 12px;
  border-right: 1px solid #e2ebe5;
}

.stat-item:last-child {
  border-right: 0;
}

.stat-item span {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.stat-item strong {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: #2a5046;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cloud-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 12px 0;
  padding: 20px 22px;
  background: linear-gradient(135deg, #e7f0eb, #f8f3ea);
  border: 1px solid #dde8e1;
  border-radius: 20px;
}

.cloud-panel.view-only {
  background: #f8f4e9;
  border-color: #eee1cd;
}

.cloud-copy {
  min-width: 0;
}

.cloud-copy h3 {
  margin: 0;
  font-size: 15px;
}

.cloud-copy p {
  margin: 3px 0 0;
  color: #71857d;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.cloud-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.button {
  min-height: 40px;
  padding: 0 16px;
  color: var(--green);
  background: #e7f0eb;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 700;
}

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

.button-gold {
  color: #173f37;
  background: var(--gold);
}

.button-white {
  color: var(--green);
  background: #fff;
  border-color: #dbe7df;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 40px 10px 17px;
}

.section-heading h2 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -1px;
}

.section-heading p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.day-count-pill {
  flex: 0 0 auto;
  padding: 6px 11px;
  color: #5d7f73;
  background: #e5ede8;
  border-radius: 99px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.days-list {
  display: grid;
  gap: 13px;
}

.loading-card {
  padding: 48px;
  color: var(--muted);
  background: #fff;
  border-radius: var(--radius);
  text-align: center;
}

.day-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(31, 75, 64, 0.08);
  border-radius: 21px;
  box-shadow: 0 10px 32px rgba(26, 66, 56, 0.055);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.day-card.is-open {
  border-color: rgba(45, 111, 92, 0.17);
  box-shadow: 0 17px 48px rgba(26, 66, 56, 0.085);
}

.day-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 19px 20px;
  color: inherit;
  background: transparent;
  border: 0;
  text-align: left;
}

.day-badge {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: #fff;
  background: linear-gradient(145deg, var(--green), #337c69);
  border-radius: 17px;
}

.day-badge small {
  margin-bottom: -2px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.4px;
  opacity: 0.63;
}

.day-badge strong {
  font-size: 21px;
  line-height: 1.2;
}

.day-heading {
  flex: 1;
  min-width: 0;
  padding: 0 15px;
}

.day-city {
  overflow: hidden;
  color: var(--ink);
  font-size: 17px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.day-date {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.day-cost {
  flex: 0 0 auto;
  text-align: right;
}

.day-cost span {
  display: block;
  color: #98a69f;
  font-size: 9px;
}

.day-cost strong {
  display: block;
  color: var(--green);
  font-size: 17px;
}

.day-chevron {
  flex: 0 0 auto;
  margin-left: 10px;
  color: #aebcb6;
  font-size: 23px;
  transition: transform 180ms ease;
}

.day-card.is-open .day-chevron {
  transform: rotate(90deg);
}

.day-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 20px 18px 91px;
}

.summary-line {
  display: flex;
  align-items: center;
  min-width: 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  margin-right: 7px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 700;
}

.summary-icon.transport {
  color: #28715f;
  background: #e2f0e9;
}

.summary-icon.stay {
  color: #477b8d;
  background: #e6f0f4;
}

.summary-icon.activity {
  color: #a36336;
  background: var(--warm-soft);
}

.summary-line span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.day-body {
  display: none;
  padding: 0 20px 22px;
  border-top: 1px solid #edf1ee;
}

.day-card.is-open .day-body {
  display: block;
}

.detail-section {
  padding-top: 20px;
}

.detail-section + .detail-section {
  margin-top: 2px;
  padding-top: 24px;
  border-top: 1px dashed #e5ece7;
}

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

.detail-heading h3 {
  margin: 0;
  font-size: 15px;
}

.detail-heading p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.mini-add {
  min-height: 30px;
  padding: 0 11px;
  color: var(--green);
  background: #edf3ef;
  border: 0;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 700;
}

.read-block {
  padding: 14px 16px;
  margin-top: 9px;
  background: #fafcfa;
  border: 1px solid #e7ede9;
  border-radius: 15px;
}

.read-route {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.read-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 11px;
}

.read-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  white-space: pre-wrap;
}

.activity-read {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.activity-read-main {
  min-width: 0;
}

.activity-title {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.activity-place {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 11px;
}

.activity-cost {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.empty-inline {
  padding: 15px;
  color: var(--muted);
  background: #f8faf8;
  border: 1px dashed #dce5df;
  border-radius: 14px;
  font-size: 11px;
  text-align: center;
}

.editor-box {
  padding: 15px;
  margin-top: 10px;
  background: #fbfcfb;
  border: 1px solid #e4ebe6;
  border-radius: 16px;
}

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

.type-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
}

.type-badge::before {
  width: 5px;
  height: 5px;
  margin-right: 6px;
  background: currentColor;
  border-radius: 50%;
  content: "";
}

.remove-button {
  padding: 3px 5px;
  color: #b56b62;
  background: transparent;
  border: 0;
  font-size: 10px;
}

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

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

.field {
  display: block;
  min-width: 0;
}

.field.wide {
  grid-column: 1 / -1;
}

.field span {
  display: block;
  margin-bottom: 5px;
  color: #768a82;
  font-size: 10px;
}

.field input,
.field select {
  width: 100%;
  min-height: 40px;
  padding: 0 11px;
  font-size: 12px;
}

.money-wrap {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 11px;
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.money-wrap i {
  margin-right: 4px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.money-wrap input {
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: right;
}

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

.quick-action {
  min-height: 32px;
  padding: 0 11px;
  color: #6b8078;
  background: #f5f8f5;
  border: 1px solid #e1e9e4;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
}

.quick-action strong {
  margin-right: 4px;
  color: var(--green);
}

.add-day-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 14px;
  color: #2d6e5e;
  background: rgba(226, 238, 231, 0.7);
  border: 1px dashed #a9c5b7;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 700;
}

.add-day-button span {
  margin-right: 5px;
  font-size: 18px;
  font-weight: 300;
}

.bottom-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding: 23px 24px;
  background: linear-gradient(135deg, #e8f0eb, #fbf3e7);
  border-radius: 22px;
}

.bottom-share h3 {
  margin: 0;
  font-size: 16px;
}

.bottom-share p {
  margin: 3px 0 0;
  color: #71857d;
  font-size: 11px;
}

.page-footer {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  color: #9aa8a2;
  font-size: 10px;
  text-align: center;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 38, 32, 0.54);
  backdrop-filter: blur(5px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  max-height: calc(100vh - 40px);
  padding: 27px;
  overflow-y: auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(11, 37, 30, 0.24);
}

.modal-card h2 {
  margin: 0 34px 6px 0;
  font-size: 21px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  color: #8b9b95;
  background: #f3f6f4;
  border: 0;
  border-radius: 50%;
  font-size: 21px;
}

.modal-copy {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
}

.share-link-box {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.share-link-box input {
  flex: 1;
  min-width: 0;
  min-height: 42px;
  padding: 0 11px;
  font-size: 11px;
}

.share-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 13px 15px;
  background: #f7f9f7;
  border-radius: 14px;
}

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

.share-code strong {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 17px;
  letter-spacing: 2px;
}

.modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.modal-actions .button {
  flex: 1;
}

.modal-note {
  margin-top: 14px;
  padding: 11px 12px;
  color: #7a6b54;
  background: #faf4e8;
  border-radius: 12px;
  font-size: 10px;
  line-height: 1.7;
}

.edit-key-input {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom));
  left: 50%;
  z-index: 200;
  max-width: calc(100% - 40px);
  padding: 10px 17px;
  color: #fff;
  background: rgba(20, 55, 46, 0.94);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(20, 55, 46, 0.22);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 170ms ease, transform 170ms ease;
}

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

@media (max-width: 760px) {
  .topbar,
  .app-shell {
    width: min(100% - 24px, 640px);
  }

  .topbar {
    padding-top: 14px;
  }

  .brand-name {
    font-size: 15px;
  }

  .top-button {
    min-height: 35px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero {
    min-height: 300px;
    padding: 32px 25px 31px;
    border-radius: 26px;
  }

  .hero h1 {
    margin-top: 13px;
    font-size: 46px;
    letter-spacing: -2.5px;
  }

  .hero-stamp {
    display: none;
  }

  .summary-card {
    width: calc(100% - 18px);
    padding: 22px 19px 20px;
  }

  .summary-main {
    gap: 12px;
  }

  .total-money {
    font-size: 40px;
  }

  .budget-box {
    width: 124px;
  }

  .budget-static strong {
    font-size: 17px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    background: transparent;
  }

  .stat-item {
    padding: 11px 9px;
    background: #f7f9f7;
    border-right: 1px solid #e2ebe5;
    border-bottom: 1px solid #e2ebe5;
  }

  .stat-item:nth-child(2n) {
    border-right: 0;
  }

  .stat-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .cloud-panel {
    align-items: flex-start;
    flex-direction: column;
    margin-right: 0;
    margin-left: 0;
    padding: 18px;
  }

  .cloud-actions {
    width: 100%;
  }

  .cloud-actions .button {
    flex: 1;
  }

  .section-heading {
    margin-top: 32px;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .day-toggle {
    padding: 16px 14px;
  }

  .day-badge {
    width: 51px;
    height: 51px;
    border-radius: 15px;
  }

  .day-heading {
    padding: 0 11px;
  }

  .day-city {
    font-size: 15px;
  }

  .day-cost strong {
    font-size: 15px;
  }

  .day-summary {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 0 15px 15px 76px;
  }

  .day-body {
    padding: 0 14px 18px;
  }

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

  .form-grid.three .field:last-child {
    grid-column: 1 / -1;
  }

  .bottom-share {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }

  .bottom-share .button {
    width: 100%;
  }

  .page-footer {
    flex-direction: column;
    gap: 2px;
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 292px;
  }

  .route-scroll {
    margin-top: 25px;
  }

  .summary-main {
    align-items: flex-start;
  }

  .eyebrow {
    font-size: 10px;
  }

  .total-money {
    font-size: 35px;
  }

  .budget-field > span:first-child,
  .budget-static > span {
    font-size: 9px;
  }

  .budget-box {
    width: 112px;
    height: 43px;
  }

  .budget-box input {
    font-size: 16px;
  }

  .budget-health-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .day-cost span {
    display: none;
  }

  .day-chevron {
    margin-left: 5px;
  }

  .form-grid,
  .form-grid.three {
    grid-template-columns: 1fr;
  }

  .form-grid.three .field:last-child {
    grid-column: auto;
  }

  .share-link-box {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
