:root {
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  color: #202b46;
  background: #e8edf3;
  font-synthesis: none;
  --ink: #202b46;
  --muted: #818a9c;
  --blue: #3867eb;
  --navy: #223665;
  --line: #e9ecf3;
  --mint: #d9f489;
  --paper: #f7f8fc;
  --orange: #f49b71;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  border: 0;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #ee966a;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.35;
  cursor: default;
}
[hidden] {
  display: none !important;
}
.app-shell {
  width: 100%;
  max-width: 480px;
  min-height: 100dvh;
  margin: auto;
  background: var(--paper);
  position: relative;
  overflow-x: clip;
}
.app-header {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 22px;
  background: #f7f8fcf2;
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 15;
  border-bottom: 1px solid #f1f2f6;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: 1px;
  white-space: nowrap;
}
.brand small {
  display: block;
  font-size: 6px;
  letter-spacing: 1px;
  margin-top: 2px;
  color: #8b93a3;
}
.brand-mark {
  background: var(--blue);
  color: var(--mint);
  width: 33px;
  height: 33px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 30px;
  letter-spacing: 0;
}
.trip-button {
  margin-left: auto;
  background: none;
  text-align: right;
  padding: 8px 0;
}
.trip-button > span {
  font-size: 7px;
  letter-spacing: 1.3px;
  color: #9299a9;
  display: block;
}
.trip-button b {
  display: block;
  font-size: 11px;
  font-weight: 550;
  margin-top: 4px;
}
.trip-button i {
  font-style: normal;
  margin-left: 4px;
}
.avatar {
  position: relative;
  width: 37px;
  height: 37px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 22px;
  flex-shrink: 0;
}
.avatar i {
  position: absolute;
  right: 0;
  top: 0;
  background: var(--orange);
  width: 7px;
  height: 7px;
  border: 2px solid var(--paper);
  border-radius: 50%;
}
#content {
  padding: 4px 20px 116px;
  outline: 0;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 650;
  color: #8c96ac;
}
.page-enter {
  animation: appear 0.3s ease both;
}
.hero {
  height: 224px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  color: white;
  background: var(--navy);
  margin-top: 3px;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 57%;
  animation: hero-in 1s ease both;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #182e60ad, #19375515),
    linear-gradient(0deg, #15344d60, transparent);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 24px;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  letter-spacing: 1px;
  background: #ffffff25;
  border: 1px solid #ffffff30;
  backdrop-filter: blur(6px);
  padding: 6px 9px;
  border-radius: 20px;
}
.hero h1 {
  font-size: 32px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 1px;
  margin: 13px 0 9px;
  text-shadow: 0 2px 12px #16395833;
}
.hero h1 em {
  color: var(--mint);
  font-style: normal;
}
.hero-copy > p {
  font-size: 9px;
  letter-spacing: 0.8px;
  color: #e4eff3;
}
.hero-stamp {
  position: absolute;
  right: 16px;
  bottom: 20px;
  background: var(--mint);
  color: #344f24;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(10deg);
  box-shadow: 0 6px 15px #142d5a25;
}
.hero-stamp strong {
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}
.hero-stamp span {
  font-size: 8px;
  margin-top: 5px;
}
.hero-spark {
  position: absolute;
  right: 22px;
  top: 20px;
  font-size: 28px;
  color: #e8f7ca;
  z-index: 1;
}
.departure {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 2px 5px;
  font-size: 10px;
  color: #929aaa;
}
.departure .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #91ad63;
}
.departure b {
  color: #4a5774;
  font-weight: 550;
}
.departure button {
  margin-left: auto;
  background: none;
  font-size: 10px;
  padding: 8px 0;
  color: var(--blue);
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 25px 0 16px;
}
.section-title h2 {
  font-size: 21px;
  letter-spacing: -0.4px;
}
.section-title small {
  font-size: 10px;
  color: var(--muted);
}
.section-title button {
  background: none;
  color: var(--blue);
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
}
.section-title .label {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #a1a9b8;
  margin-left: 9px;
  font-weight: 400;
}
.dates {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 3px 20px 14px;
  margin-right: -20px;
  margin-left: -2px;
  scroll-snap-type: x proximity;
}
.dates::-webkit-scrollbar {
  display: none;
}
.date-chip {
  flex: 0 0 57px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #edf0f5;
  padding: 12px 4px 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  scroll-snap-align: center;
  transition:
    background 0.2s,
    transform 0.2s;
  min-height: 86px;
}
.date-chip small {
  font-size: 9px;
  color: #939dae;
}
.date-chip b {
  font-size: 20px;
  font-weight: 650;
}
.date-chip span {
  font-size: 8px;
  color: #a1a9b8;
}
.date-chip.active {
  background: var(--blue);
  color: white;
  box-shadow: 0 6px 14px #3867eb26;
  border-color: var(--blue);
  transform: translateY(-2px);
}
.date-chip.active small,
.date-chip.active span {
  color: #dce6ff;
}
.date-chip.today:not(.active) {
  border-color: #a9bffa;
}
.day-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0 14px;
}
.day-heading h3 {
  font-size: 17px;
  font-weight: 650;
}
.day-heading p {
  font-size: 10px;
  color: #929bad;
  margin-top: 6px;
}
.day-arrow {
  display: flex;
  gap: 4px;
}
.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 22px;
  flex-shrink: 0;
}
.day-swipe {
  touch-action: pan-y;
  min-width: 0;
}
.next-card {
  border-radius: 20px;
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 21px;
  box-shadow: 0 8px 20px #2236650e;
}
.next-card:after {
  content: "";
  width: 140px;
  height: 140px;
  border: 1px solid #ffffff10;
  position: absolute;
  border-radius: 50%;
  right: -55px;
  top: -65px;
  box-shadow:
    0 0 0 22px #ffffff03,
    0 0 0 45px #ffffff02;
  pointer-events: none;
}
.next-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.next-label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 9px;
  letter-spacing: 1px;
  color: #d3e0ff;
}
.next-label i {
  width: 6px;
  height: 6px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 4px #d9f48913;
}
.next-card .stage {
  font-size: 9px;
  color: #c6d4f1;
}
.next-card h3 {
  font-size: 20px;
  line-height: 1.5;
  margin: 16px 0 6px;
  font-weight: 600;
  max-width: 95%;
  overflow-wrap: anywhere;
}
.next-card p {
  font-size: 10px;
  line-height: 1.8;
  color: #bccbe5;
  max-width: 95%;
}
.next-actions {
  display: flex;
  gap: 9px;
  margin-top: 19px;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 17px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
.primary {
  background: var(--blue);
  color: white;
}
.next-card .primary {
  background: var(--mint);
  color: #263940;
  flex: 1;
}
.secondary {
  background: #eff2f8;
  color: #58637a;
  font-weight: 500;
}
.next-card .secondary {
  background: #ffffff13;
  color: #dde8fe;
  font-size: 11px;
}
.icon {
  width: 19px;
  height: 19px;
  display: inline-block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}
.next-actions .icon {
  width: 16px;
  height: 16px;
}
.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 15px 0 22px;
}
.quick-action {
  padding: 14px 7px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  text-align: center;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.quick-action .icon {
  color: #647ba4;
  width: 21px;
  height: 21px;
}
.quick-action small {
  font-size: 8px;
  color: #a2a9b5;
  margin-top: -5px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 23px 0 12px;
}
.progress-label h3 {
  font-size: 14px;
}
.progress-label span {
  font-size: 10px;
  color: #8f98a9;
}
.progress-bar {
  height: 3px;
  background: #e5eaf3;
  border-radius: 3px;
  margin-bottom: 17px;
  overflow: hidden;
}
.progress-bar > span {
  display: block;
  height: 100%;
  background: var(--blue);
  transition: width 0.4s;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.step-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.step-card.done {
  background: #f0f5ea;
  border-color: #e6ecd9;
}
.step-card.skipped {
  opacity: 0.65;
}
.step-toggle {
  background: none;
  min-width: 48px;
  align-self: stretch;
  display: grid;
  place-items: center;
}
.step-toggle span {
  width: 23px;
  height: 23px;
  border: 1.5px solid #d8dfeb;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #9da9c0;
}
.done .step-toggle span {
  background: #d7eab8;
  border-color: #d7eab8;
  color: #637e3e;
}
.skipped .step-toggle span {
  background: #edf0f5;
  border: 0;
}
.step-open {
  flex: 1;
  min-width: 0;
  padding: 15px 15px 15px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  background: none;
}
.step-open > div {
  flex: 1;
  min-width: 0;
}
.step-open small {
  color: #9ca5b5;
  font-size: 9px;
}
.step-open h4 {
  font-size: 12px;
  font-weight: 550;
  margin-top: 6px;
  line-height: 1.6;
}
.step-open > span {
  color: #b5bdd0;
  font-size: 18px;
}
.done .step-open h4 {
  color: #7d8f6a;
}
.day-hint {
  display: flex;
  gap: 12px;
  margin: 16px 0;
  padding: 15px;
  background: #fff3e8;
  border: 1px solid #f7e9d9;
  border-radius: 14px;
}
.day-hint > .icon {
  color: #c28d54;
  width: 17px;
  height: 17px;
  margin-top: 1px;
}
.day-hint p {
  font-size: 10px;
  line-height: 1.9;
  color: #a18058;
}
.footnote {
  font-size: 9px;
  line-height: 1.9;
  color: #a3aab8;
  text-align: center;
  margin: 23px 0 0;
}
.storage-note {
  padding: 10px 12px;
  background: #fff1df;
  color: #896536;
  border-radius: 10px;
  font-size: 11px;
  margin: 10px 0;
}
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  display: flex;
  justify-content: space-around;
  background: #ffffffed;
  backdrop-filter: blur(18px);
  border-top: 1px solid #e9edf4;
  padding: 9px 12px calc(10px + env(safe-area-inset-bottom));
  z-index: 20;
  box-shadow: 0 -5px 30px #26385d04;
}
.bottom-nav a {
  width: 25%;
  min-height: 47px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  color: #a1aaba;
  font-size: 9px;
}
.bottom-nav .nav-icon {
  padding: 3px 18px;
  border-radius: 12px;
  transition: 0.2s;
}
.bottom-nav .icon {
  width: 21px;
  height: 21px;
}
.bottom-nav a.active {
  color: var(--blue);
  font-weight: 600;
}
.bottom-nav a.active .nav-icon {
  background: #eaf0ff;
}
.page-title {
  padding: 22px 2px 21px;
}
.page-title .eyebrow {
  font-size: 8px;
  letter-spacing: 2px;
  color: #94a1bd;
}
.page-title h1 {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin: 10px 0;
}
.page-title p {
  font-size: 11px;
  color: #8c97ac;
  line-height: 1.9;
}
.segmented {
  display: flex;
  padding: 4px;
  gap: 4px;
  background: #e9eef8;
  border-radius: 14px;
  margin-bottom: 16px;
}
.segmented button {
  flex: 1;
  background: none;
  padding: 12px 9px;
  border-radius: 10px;
  font-size: 12px;
  color: #8a95aa;
  min-height: 44px;
}
.segmented button.active {
  background: white;
  color: var(--blue);
  box-shadow: 0 2px 7px #203c5e0a;
  font-weight: 600;
}
.wallet-tools {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 17px;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0 13px;
  min-height: 45px;
  flex: 1;
  min-width: 0;
  color: #aab3c4;
}
.search input {
  border: 0;
  background: none;
  width: 100%;
  min-width: 0;
  outline: 0;
  color: var(--ink);
  font-size: 11px;
  padding: 13px 0;
}
.search input::placeholder {
  color: #a9b1bf;
}
.search:focus-within {
  border-color: #819eec;
  box-shadow: 0 0 0 2px #3867eb15;
}
.filter-toggle {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 10px 12px;
  font-size: 10px;
  min-height: 45px;
  white-space: nowrap;
}
.filter-toggle.active {
  color: var(--blue);
  background: #edf2ff;
  border-color: #d5e0fd;
}
.wallet-results {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.ticket {
  border-radius: 19px;
  background: white;
  border: 1px solid var(--line);
  overflow: hidden;
}
.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 19px;
  font-size: 10px;
}
.ticket-head .flight-type {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7485a3;
}
.flight-type .icon {
  width: 15px;
  height: 15px;
}
.pill {
  font-size: 8px;
  background: #fff1dd;
  color: #b08e53;
  padding: 5px 7px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ticket-body {
  padding: 5px 22px 19px;
}
.airports {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
}
.airports strong {
  font-size: 36px;
  letter-spacing: 1px;
  line-height: 1.3;
  font-weight: 650;
}
.flight-line {
  flex: 1;
  color: #aebdd4;
  border-top: 1px dashed #bac8e0;
  position: relative;
  margin-top: 5px;
  max-width: 90px;
}
.flight-line .icon {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%) rotate(15deg);
  background: #fff;
  padding: 0 3px;
  width: 25px;
  height: 21px;
}
.ticket-body > p {
  font-size: 10px;
  color: #8995aa;
  margin-top: 9px;
}
.ticket-foot {
  border-top: 1px dashed #dce3ef;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 19px;
  background: #fcfdff;
  gap: 9px;
}
.ticket-foot:before,
.ticket-foot:after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  top: -8px;
}
.ticket-foot:before {
  left: -8px;
}
.ticket-foot:after {
  right: -8px;
}
.ticket-foot span {
  font-size: 10px;
  color: #8694a9;
  line-height: 1.7;
}
.ticket-foot button {
  background: #edf2ff;
  color: var(--blue);
  padding: 10px 12px;
  font-size: 10px;
  border-radius: 8px;
  white-space: nowrap;
  min-height: 40px;
}
.hotel-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}
.hotel-card header {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.hotel-icon {
  background: #eef1fc;
  color: #7c8db4;
  padding: 13px;
  border-radius: 13px;
  display: grid;
  place-items: center;
}
.hotel-card header > div:last-child {
  flex: 1;
  min-width: 0;
}
.hotel-card small {
  font-size: 9px;
  color: #9ca6b8;
}
.hotel-card h3 {
  font-size: 15px;
  line-height: 1.65;
  margin: 6px 0;
}
.hotel-card p {
  font-size: 11px;
  color: #8c97aa;
  line-height: 1.8;
  margin: 12px 0;
}
.hotel-card > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #f5f7fc;
  border-radius: 10px;
  font-size: 11px;
  padding: 13px;
  margin-top: 12px;
  color: #677da2;
}
.notice {
  font-size: 11px !important;
  color: #b38958 !important;
  line-height: 1.8;
  background: #fff7ed;
  padding: 12px;
  border-radius: 10px;
}
.empty {
  padding: 38px 22px;
  background: #fff;
  border: 1px dashed #d8e1f0;
  border-radius: 18px;
  text-align: center;
}
.empty > .icon {
  width: 30px;
  height: 30px;
  color: #a0b0cb;
  margin-bottom: 12px;
}
.empty h3 {
  font-size: 15px;
  margin-bottom: 9px;
}
.empty p {
  font-size: 11px;
  line-height: 1.9;
  color: #929db0;
}
.drive-hero {
  background: #dff1dc;
  border-radius: 23px;
  padding: 25px;
  position: relative;
  overflow: hidden;
  margin: 2px 0 21px;
}
.drive-hero h2 {
  font-size: 27px;
  line-height: 1.5;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}
.drive-hero p {
  font-size: 11px;
  color: #81977c;
  line-height: 1.8;
  margin: 11px 0;
  position: relative;
  z-index: 1;
}
.drive-hero .pill {
  background: #fff9;
  position: relative;
  z-index: 1;
  color: #6b8969;
}
.road-art {
  height: 110px;
  margin: 0 -25px -25px;
  position: relative;
}
.road-art svg {
  height: 100%;
  width: 100%;
  fill: none;
}
.road-base {
  stroke: #c0d7b9;
  stroke-width: 32;
}
.road-dash {
  stroke: #eef7e9;
  stroke-width: 1.5;
  stroke-dasharray: 8 9;
}
.road-car {
  position: absolute;
  left: 48%;
  top: 37px;
  width: 41px;
  height: 24px;
  display: grid;
  place-items: center;
  background: #6b9670;
  border: 4px solid #f2f7e9;
  border-radius: 9px;
  transform: rotate(-10deg);
  color: white;
  box-shadow: 0 2px 8px #5c795f30;
  animation: drive 4s ease-in-out infinite;
  font-size: 9px;
}
.rental-summary {
  background: white;
  border-radius: 17px;
  border: 1px solid var(--line);
  padding: 19px;
  margin: 16px 0;
}
.rental-points {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.rental-points small {
  font-size: 9px;
  color: #9aa6b9;
}
.rental-points h3 {
  font-size: 16px;
  margin: 10px 0 5px;
}
.rental-points p {
  font-size: 10px;
  color: #8d99ad;
}
.rental-points > .icon {
  color: #b4c2d7;
}
.rental-summary > button {
  margin-top: 19px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  background: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--blue);
  min-height: 42px;
}
.drive-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  cursor: pointer;
  line-height: 1.7;
  font-size: 12px;
}
.check-row input {
  appearance: none;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 1.5px solid #d8e0ec;
  border-radius: 7px;
  margin: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.check-row input:checked {
  background: var(--blue);
  border-color: var(--blue);
}
.check-row input:checked:after {
  content: "✓";
  color: #fff;
  font-size: 13px;
}
.check-row:has(input:checked) {
  background: #f1f5fd;
}
.check-row:has(input:checked) span {
  color: #8995ab;
}
.check-row small {
  display: block;
  font-size: 10px;
  color: #a1aabd;
  margin-top: 3px;
}
.alert-card {
  display: flex;
  gap: 12px;
  padding: 17px;
  background: #fff1e4;
  border: 1px solid #f5e3d2;
  border-radius: 15px;
  margin: 16px 0;
  align-items: flex-start;
}
.alert-card .icon {
  color: #c5905d;
  margin-top: 3px;
}
.alert-card h3 {
  font-size: 12px;
  line-height: 1.7;
  color: #9c713f;
}
.alert-card p {
  font-size: 10px;
  line-height: 1.9;
  margin-top: 6px;
  color: #b29876;
}
.alert-card button {
  background: none;
  color: #a57946;
  font-size: 10px;
  padding: 12px 0 0;
  min-height: 38px;
}
.tip-filters {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 5px -20px 18px 0;
  padding-right: 20px;
}
.tip-filters button {
  white-space: nowrap;
  min-height: 40px;
  font-size: 11px;
  padding: 10px 15px;
  border-radius: 12px;
  background: white;
  border: 1px solid var(--line);
  color: #8f9aad;
}
.tip-filters .active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.tip-card {
  display: flex;
  gap: 13px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
  margin-bottom: 11px;
  align-items: center;
  padding: 19px 16px;
  text-align: left;
  width: 100%;
}
.tip-card .tip-icon {
  width: 41px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #f0edfc;
  color: #9b8dbb;
  display: grid;
  place-items: center;
}
.tip-card:nth-child(3n + 2) .tip-icon {
  background: #eff5e6;
  color: #95a875;
}
.tip-card:nth-child(3n + 3) .tip-icon {
  background: #fef1e3;
  color: #cca270;
}
.tip-card > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.tip-card small {
  font-size: 8px;
  color: #a3adbe;
  letter-spacing: 0.8px;
}
.tip-card h3 {
  font-size: 12px;
  line-height: 1.7;
  margin-top: 5px;
  font-weight: 550;
}
.tip-card > span:last-child {
  color: #bbc3d2;
  font-size: 20px;
}
.check-banner {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 19px;
  background: var(--navy);
  color: white;
  border-radius: 19px;
  margin: 6px 0 22px;
  text-align: left;
  width: 100%;
}
.check-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--mint) var(--progress), #ffffff20 0);
  position: relative;
  flex-shrink: 0;
}
.check-ring:before {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--navy);
  border-radius: 50%;
}
.check-ring b {
  position: relative;
  font-size: 12px;
  color: var(--mint);
}
.check-banner h3 {
  font-size: 14px;
  margin-bottom: 7px;
}
.check-banner p {
  font-size: 10px;
  color: #aebfdf;
}
.check-banner > span:last-child {
  margin-left: auto;
  color: #c1d3f2;
  font-size: 23px;
}
.utility-row {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.utility-row button {
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px;
  flex: 1;
  border-radius: 12px;
  font-size: 11px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #8492ac;
}
.utility-row .icon {
  width: 16px;
  height: 16px;
}
/* Native modal semantics + thumb-friendly bottom sheet. */
dialog {
  width: 100%;
  max-width: 480px;
  max-height: min(88dvh, 840px);
  margin: auto auto 0;
  border: 0;
  border-radius: 27px 27px 0 0;
  padding: 0 22px calc(24px + env(safe-area-inset-bottom));
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 -15px 60px #192c4833;
  overflow-y: auto;
  overscroll-behavior: contain;
}
dialog[open] {
  animation: sheet-up 0.24s ease-out;
}
dialog::backdrop {
  background: #14233f75;
  backdrop-filter: blur(4px);
}
.sheet-handle {
  height: 22px;
  display: grid;
  place-items: center;
  touch-action: none;
}
.sheet-handle span {
  height: 4px;
  width: 34px;
  border-radius: 3px;
  background: #d7deea;
}
.sheet-header {
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0 22px;
}
.sheet-header h2 {
  font-size: 23px;
  margin-top: 8px;
  line-height: 1.4;
}
.sheet-header .eyebrow {
  font-size: 8px;
}
.sheet-header .icon-button {
  background: #edf0f6;
  width: 33px;
  height: 33px;
  font-size: 24px;
  border: 0;
}
.sheet-description {
  font-size: 13px;
  line-height: 1.95;
  color: #75849e;
  margin-bottom: 21px;
}
.sheet-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.sheet-actions > * {
  flex: 1;
}
.sheet-wide {
  width: 100%;
  margin-top: 12px;
}
.fact-list {
  background: white;
  border: 1px solid var(--line);
  padding: 5px 17px;
  border-radius: 14px;
  margin-bottom: 18px;
}
.fact-list > div {
  display: flex;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.8;
}
.fact-list > div:last-child {
  border: 0;
}
.fact-list dt {
  color: #99a4b7;
  flex: 0 0 60px;
}
.fact-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.map-stop {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.map-stop > span {
  font-size: 11px;
  color: #9aacc9;
  border: 1px solid #dce4f0;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.map-stop div {
  flex: 1;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.map-stop .icon {
  color: var(--blue);
  width: 17px;
  height: 17px;
}
.overview-group h3 {
  font-size: 11px;
  color: #9ba8bf;
  letter-spacing: 1px;
  margin: 17px 0 10px;
}
.overview-day {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  width: 100%;
  margin-bottom: 8px;
  padding: 13px;
}
.overview-day.active {
  border-color: #adc2f6;
  background: #edf3ff;
}
.overview-day > span {
  font-size: 12px;
  color: #829bc3;
  width: 39px;
}
.overview-day > div {
  flex: 1;
}
.overview-day b {
  font-size: 12px;
  font-weight: 550;
}
.overview-day small {
  display: block;
  font-size: 10px;
  color: #96a3b8;
  margin-top: 5px;
}
.overview-day .icon {
  width: 16px;
  height: 16px;
  color: #adbdd6;
}
.sheet-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.sheet-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #eaf0fd;
  padding: 16px;
  border-radius: 12px;
  font-size: 11px;
  color: var(--blue);
  line-height: 1.7;
}
.sheet-subtitle {
  font-size: 14px;
  margin: 25px 0 12px;
}
.sheet-note {
  font-size: 10px;
  line-height: 1.9;
  color: #9aa6b9;
  margin-top: 17px;
}
.sheet-close-link {
  background: none;
  min-height: 44px;
  width: 100%;
  margin-top: 8px;
  color: #9aa7bf;
  font-size: 11px;
}
.completion {
  position: relative;
}
.completion .celebrate {
  font-size: 35px;
  position: absolute;
  right: 22px;
  top: 26px;
  color: var(--mint);
  animation: stamp 0.5s ease both;
}
.no-flight {
  font-size: 11px;
  color: #8895ab;
  margin: 12px 0;
  line-height: 1.8;
}
.skip {
  position: fixed;
  top: -80px;
  background: white;
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: calc(89px + env(safe-area-inset-bottom));
  transform: translate(-50%, 10px);
  max-width: calc(100% - 32px);
  width: max-content;
  z-index: 100;
  background: #1d2d48f5;
  color: white;
  border-radius: 14px;
  padding: 13px 17px;
  font-size: 11px;
  line-height: 1.7;
  box-shadow: 0 5px 20px #192c4820;
  pointer-events: none;
  opacity: 0;
  transition: 0.2s;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.print-only {
  display: none;
}
@keyframes appear {
  from {
    opacity: 0.4;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes sheet-up {
  from {
    transform: translateY(50px);
    opacity: 0.5;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes hero-in {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}
@keyframes stamp {
  from {
    transform: scale(0.5) rotate(-40deg);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes drive {
  50% {
    transform: translateX(13px) rotate(-3deg);
  }
}
@media (min-width: 600px) {
  .app-shell {
    box-shadow: 0 0 100px #1b345214;
  }
  .hero {
    height: 245px;
  }
  .hero h1 {
    font-size: 36px;
  }
  dialog {
    margin-bottom: 16px;
    border-radius: 27px;
  }
  .bottom-nav {
    border-radius: 18px 18px 0 0;
  }
}
@media (max-width: 360px) {
  .app-header {
    padding: 0 16px;
    gap: 9px;
  }
  #content {
    padding-left: 16px;
    padding-right: 16px;
  }
  .brand {
    font-size: 16px;
    gap: 6px;
    letter-spacing: 0;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
  }
  .brand small {
    font-size: 5px;
    letter-spacing: 0.6px;
  }
  .hero-copy {
    padding: 22px;
  }
  .hero h1 {
    font-size: 29px;
  }
  .hero-stamp {
    right: 15px;
    width: 62px;
    height: 62px;
  }
  .hero-stamp strong {
    font-size: 23px;
  }
  .next-card {
    padding: 18px;
  }
  .next-card h3 {
    font-size: 18px;
  }
  .quick-action {
    font-size: 10px;
  }
  .next-actions .secondary {
    padding: 10px 13px;
  }
  .date-chip {
    flex-basis: 54px;
  }
  .wallet-tools {
    gap: 6px;
  }
  .search {
    padding: 0 10px;
  }
  .filter-toggle {
    padding: 10px;
  }
  .rental-points h3 {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  body > *:not(#print-content) {
    display: none !important;
  }
  .print-only {
    display: block !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  #print-content {
    padding: 20px;
  }
  #print-content h1 {
    font-size: 24px;
    margin: 0 0 12px;
  }
  #print-content h2 {
    font-size: 17px;
    margin: 18px 0 8px;
  }
  #print-content h3 {
    font-size: 13px;
    margin: 12px 0 7px;
  }
  #print-content p {
    font-size: 11px;
    line-height: 1.6;
    margin-bottom: 5px;
  }
  .print-day {
    break-inside: avoid;
    border-top: 1px solid #ccc;
    padding: 10px 0;
  }
  .print-day ul {
    padding-left: 16px;
    font-size: 11px;
    line-height: 1.8;
  }
  a {
    overflow-wrap: anywhere;
  }
  @page {
    margin: 14mm;
  }
}
