/* Home-only styles. Load after the existing inline/base styles when possible.
   Every selector is scoped to the home screen; the navigation and other
   booking/transport screens deliberately remain outside this stylesheet. */
[data-screen="home"].home-ui {
  --hui-blue: #2678b5;
  --hui-ink: #203f58;
  --hui-muted: #6c879c;
  --hui-line: #dcebf6;
  --hui-pale: #e9f4fd;
  background: #f3f8fc;
}

[data-screen="home"].home-ui .hero {
  min-height: 304px;
  padding: 49px 20px 32px;
  background-image: url("1.jpeg");
  background-position: 32% center;
}
[data-screen="home"].home-ui .hero::before {
  background: linear-gradient(180deg, #173f5e20 0%, #173f5e00 39%, #183f6178 100%);
}
[data-screen="home"].home-ui .hero h1 {
  max-width: 270px;
  margin-bottom: 7px;
  font-size: 26px;
  font-weight: 720;
  line-height: 1.26;
  letter-spacing: -.6px;
  text-wrap: balance;
}
[data-screen="home"].home-ui .hero p {
  font-size: 12px;
  letter-spacing: .25px;
}
[data-screen="home"].home-ui .place-switch {
  border-color: #ffffff70;
  border-radius: 7px;
  background: #17426238;
}
[data-screen="home"].home-ui .weather {
  flex-shrink: 0;
  padding: 6px 8px;
  border: 1px solid #ffffff45;
  border-radius: 6px;
  background: #1845683b;
  font-size: 10px;
}
[data-screen="home"].home-ui .hui-main {
  position: relative;
  padding: 0 16px 28px;
}
[data-screen="home"].home-ui .hui-icon {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
[data-screen="home"].home-ui button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
[data-screen="home"].home-ui button:focus-visible,
[data-screen="home"].home-ui input:focus-visible {
  outline: 2px solid #19699f;
  outline-offset: 3px;
}
[data-screen="home"].home-ui .hui-search {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 47px;
  gap: 10px;
  margin: -21px 0 20px;
  padding: 9px 10px 9px 13px;
  border: 1px solid #dcebf6;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 5px 18px #2a6c9a0d;
}
[data-screen="home"].home-ui .hui-search > .hui-icon {
  width: 19px;
  height: 19px;
  color: #5d99c2;
}
[data-screen="home"].home-ui .hui-search input {
  width: 100%;
  min-width: 0;
  flex: 1;
  padding: 4px 0;
  border: 0;
  border-radius: 2px;
  color: #203f58;
  background: transparent;
  font-size: 12px;
  line-height: 1.5;
}
[data-screen="home"].home-ui .hui-search input::placeholder {
  color: #8ba0b0;
}
[data-screen="home"].home-ui .hui-search button {
  flex-shrink: 0;
  min-height: 30px;
  padding: 4px 10px;
  border: 0;
  border-radius: 6px;
  color: #2678b5;
  background: #edf6fd;
  font-size: 11px;
  font-weight: 600;
}
[data-screen="home"].home-ui .hui-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 1px 13px;
}
[data-screen="home"].home-ui .hui-heading h2 {
  margin: 0;
  color: #203f58;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 720;
  letter-spacing: -.25px;
}
[data-screen="home"].home-ui .hui-text-link {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 4px;
  min-height: 26px;
  padding: 4px 0;
  border: 0;
  color: #6b8ca5;
  background: transparent;
  font-size: 10px;
  line-height: 1.4;
}
[data-screen="home"].home-ui .hui-text-link .hui-icon {
  width: 13px;
  height: 13px;
}
[data-screen="home"].home-ui .hui-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 8px;
}
[data-screen="home"].home-ui .hui-service {
  display: flex;
  min-width: 0;
  min-height: 81px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 2px;
  border: 0;
  border-radius: 10px;
  color: #345c79;
  background: #fff;
  transition: background-color 180ms ease, transform 180ms ease;
}
[data-screen="home"].home-ui .hui-service-icon {
  display: grid;
  width: 37px;
  height: 35px;
  place-items: center;
  border-radius: 11px;
  color: #2678b5;
  background: #e9f4fd;
}
[data-screen="home"].home-ui .hui-service:nth-child(2n) .hui-service-icon {
  color: #3a8bc0;
  background: #edf7fd;
}
[data-screen="home"].home-ui .hui-service-icon .hui-icon {
  width: 25px;
  height: 25px;
}
[data-screen="home"].home-ui .hui-service-label {
  display: block;
  color: #35566e;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 550;
  white-space: nowrap;
}
[data-screen="home"].home-ui .hui-travel-hub {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
  margin-top: 18px;
}
[data-screen="home"].home-ui .hui-ai-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
  padding: 15px 13px 13px;
  border: 1px solid #cfe6f7;
  border-radius: 13px;
  background: #e4f2fd;
}
[data-screen="home"].home-ui .hui-ai-heading {
  position: relative;
  min-height: 63px;
  padding-top: 1px;
}
[data-screen="home"].home-ui .hui-eyebrow {
  display: block;
  color: #7093ad;
  font-size: 9px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: .5px;
}
[data-screen="home"].home-ui .hui-ai-heading .hui-eyebrow {
  max-width: calc(100% - 36px);
  color: #588ab0;
}
[data-screen="home"].home-ui .hui-ai-heading h2 {
  position: relative;
  z-index: 1;
  max-width: calc(100% - 36px);
  margin: 3px 0 6px;
  color: #235b85;
  font-size: 18px;
  font-weight: 740;
  line-height: 1.3;
  letter-spacing: -.5px;
  white-space: nowrap;
}
[data-screen="home"].home-ui .hui-ai-heading p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #678ca7;
  font-size: 10px;
  line-height: 1.6;
}
[data-screen="home"].home-ui .hui-robot {
  position: absolute;
  top: -6px;
  right: -4px;
  width: 48px;
  height: 55px;
  transform: rotate(5deg);
  pointer-events: none;
}
[data-screen="home"].home-ui .hui-ai-questions {
  display: grid;
  gap: 6px;
}
[data-screen="home"].home-ui .hui-ai-questions button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  min-height: 30px;
  gap: 4px;
  padding: 7px 8px;
  border: 0;
  border-radius: 6px;
  color: #4e7592;
  background: #f7fbffba;
  text-align: left;
  font-size: 10px;
  line-height: 1.5;
  transition: background-color 180ms ease, transform 180ms ease;
}
[data-screen="home"].home-ui .hui-ai-questions button span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
[data-screen="home"].home-ui .hui-ai-questions .hui-icon {
  width: 10px;
  height: 10px;
  color: #8aaac1;
}
[data-screen="home"].home-ui .hui-ai-start {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 35px;
  gap: 8px;
  margin-top: auto;
  padding: 8px 11px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: #2678b5;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 600;
  transition: background-color 180ms ease, transform 180ms ease;
}
[data-screen="home"].home-ui .hui-ai-start .hui-icon {
  width: 15px;
  height: 15px;
}
[data-screen="home"].home-ui .hui-assistant-status {
  margin: 0;
  color: #476f8a;
  font-size: 10px;
  line-height: 1.5;
}
[data-screen="home"].home-ui .hui-assistant-status:empty {
  display: none;
}
[data-screen="home"].home-ui .hui-quick-entries {
  display: grid;
  min-width: 0;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
[data-screen="home"].home-ui .hui-quick-entry {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 77px;
  grid-template-columns: 25px minmax(0, 1fr);
  align-content: center;
  align-items: center;
  gap: 7px;
  padding: 12px 10px;
  border: 1px solid #deecf6;
  border-radius: 11px;
  color: #315b7a;
  background: #fff;
  text-align: left;
  transition: background-color 180ms ease, transform 180ms ease;
}
[data-screen="home"].home-ui .hui-quick-plan {
  background: #edf7fe;
}
[data-screen="home"].home-ui .hui-quick-ticket {
  background: #fff;
}
[data-screen="home"].home-ui .hui-quick-hotel {
  background: #eef5fb;
}
[data-screen="home"].home-ui .hui-quick-icon {
  color: #568db4;
}
[data-screen="home"].home-ui .hui-quick-icon .hui-icon {
  width: 25px;
  height: 25px;
}
[data-screen="home"].home-ui .hui-quick-entry strong {
  min-width: 0;
  color: #315b7a;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 650;
  white-space: nowrap;
}
[data-screen="home"].home-ui .hui-quick-entry small {
  grid-column: 1 / -1;
  color: #7e99ad;
  font-size: 9px;
  line-height: 1.5;
  white-space: nowrap;
}
[data-screen="home"].home-ui .hui-quick-arrow {
  position: absolute;
  right: 9px;
  bottom: 12px;
  color: #8eafc7;
}
[data-screen="home"].home-ui .hui-quick-arrow .hui-icon {
  width: 11px;
  height: 11px;
}
[data-screen="home"].home-ui .hui-notice {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 17px;
  padding: 10px 9px;
  border-bottom: 1px solid #deebf4;
  color: #7490a5;
  font-size: 10px;
  line-height: 1.5;
}
[data-screen="home"].home-ui .hui-notice > .hui-icon {
  width: 14px;
  height: 14px;
  color: #5e9ac4;
}
[data-screen="home"].home-ui .hui-notice strong {
  flex-shrink: 0;
  color: #517a98;
  font-size: 10px;
  font-weight: 600;
}
[data-screen="home"].home-ui .hui-notice > span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
[data-screen="home"].home-ui .hui-notice button {
  display: grid;
  min-width: 27px;
  min-height: 27px;
  flex-shrink: 0;
  place-items: center;
  margin-left: auto;
  padding: 3px;
  border: 0;
  border-radius: 5px;
  color: #7899b1;
  background: transparent;
}
[data-screen="home"].home-ui .hui-notice button .hui-icon {
  width: 14px;
  height: 14px;
}
[data-screen="home"].home-ui .hui-recommendations {
  margin-top: 23px;
}
[data-screen="home"].home-ui .hui-recommendations .hui-eyebrow {
  margin-bottom: 3px;
  color: #89a0b2;
}
[data-screen="home"].home-ui .hui-recommend-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}
[data-screen="home"].home-ui .hui-recommend {
  display: block;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: #fff;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
[data-screen="home"].home-ui .hui-recommend-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.35;
  background: #dcebf6;
}
[data-screen="home"].home-ui .hui-recommend img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}
[data-screen="home"].home-ui .hui-recommend-image > span {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 3px 6px;
  border: 1px solid #ffffff66;
  border-radius: 4px;
  color: #fff;
  background: #1d587f80;
  font-size: 9px;
  line-height: 1.5;
}
[data-screen="home"].home-ui .hui-recommend-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 10px 11px;
}
[data-screen="home"].home-ui .hui-recommend-copy strong {
  color: #294f6b;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 650;
  text-wrap: balance;
}
[data-screen="home"].home-ui .hui-recommend-copy small {
  color: #8aa0b1;
  font-size: 9px;
  line-height: 1.6;
}
[data-screen="home"].home-ui .hui-recommend-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 3px;
  padding-top: 8px;
  border-top: 1px solid #edf4f9;
  color: #4d85ae;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 550;
}
[data-screen="home"].home-ui .hui-recommend-link .hui-icon {
  width: 13px;
  height: 13px;
}
[data-screen="home"].home-ui .hui-service:active,
[data-screen="home"].home-ui .hui-quick-entry:active,
[data-screen="home"].home-ui .hui-ai-questions button:active,
[data-screen="home"].home-ui .hui-ai-start:active,
[data-screen="home"].home-ui .hui-recommend:active {
  transform: translateY(1px);
}

@media (hover: hover) {
  [data-screen="home"].home-ui .hui-service:hover {
    background: #e8f3fc;
  }
  [data-screen="home"].home-ui .hui-ai-questions button:hover {
    background: #fff;
  }
  [data-screen="home"].home-ui .hui-ai-start:hover {
    background: #1d6da7;
  }
  [data-screen="home"].home-ui .hui-quick-entry:hover {
    background: #e5f1fb;
  }
  [data-screen="home"].home-ui .hui-text-link:hover {
    color: #2678b5;
  }
  [data-screen="home"].home-ui .hui-recommend:hover {
    box-shadow: 0 5px 16px #2a6c9a12;
  }
  [data-screen="home"].home-ui .hui-recommend:hover img {
    transform: scale(1.035);
  }
}

@media (max-width: 380px) {
  [data-screen="home"].home-ui .hero {
    min-height: 288px;
    padding-right: 18px;
    padding-left: 18px;
  }
  [data-screen="home"].home-ui .hero h1 {
    font-size: 24px;
  }
  [data-screen="home"].home-ui .hui-main {
    padding-right: 14px;
    padding-left: 14px;
  }
  [data-screen="home"].home-ui .hui-search {
    gap: 8px;
  }
  [data-screen="home"].home-ui .hui-search input {
    font-size: 11px;
  }
  [data-screen="home"].home-ui .hui-service-grid {
    gap: 9px 6px;
  }
  [data-screen="home"].home-ui .hui-service {
    min-height: 77px;
  }
  [data-screen="home"].home-ui .hui-travel-hub {
    gap: 8px;
    grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr);
  }
  [data-screen="home"].home-ui .hui-ai-card {
    padding-right: 10px;
    padding-left: 10px;
  }
  [data-screen="home"].home-ui .hui-ai-heading h2 {
    font-size: 17px;
  }
  [data-screen="home"].home-ui .hui-robot {
    right: -7px;
    width: 43px;
    height: 50px;
  }
  [data-screen="home"].home-ui .hui-ai-questions button {
    padding-right: 6px;
    padding-left: 6px;
  }
  [data-screen="home"].home-ui .hui-quick-entry {
    grid-template-columns: 23px minmax(0, 1fr);
    gap: 6px;
    padding-right: 8px;
    padding-left: 8px;
  }
  [data-screen="home"].home-ui .hui-quick-icon .hui-icon {
    width: 23px;
    height: 23px;
  }
  [data-screen="home"].home-ui .hui-quick-entry strong {
    font-size: 11px;
  }
  [data-screen="home"].home-ui .hui-quick-entry small {
    font-size: 8.5px;
  }
  [data-screen="home"].home-ui .hui-quick-arrow {
    right: 7px;
  }
  [data-screen="home"].home-ui .hui-recommend-grid {
    gap: 9px;
  }
  [data-screen="home"].home-ui .hui-recommend-copy {
    padding-right: 9px;
    padding-left: 9px;
  }
  [data-screen="home"].home-ui .hui-recommend-copy strong {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-screen="home"].home-ui *,
  [data-screen="home"].home-ui *::before,
  [data-screen="home"].home-ui *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
