.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.home-header h1 {
  max-width: 540px;
}

.avatar-button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-left: 14px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg, #18181b, #4c4c54);
  box-shadow: var(--shadow-sm);
  font-weight: 850;
}

.search-pill {
  width: 100%;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid rgba(20,20,24,.06);
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.search-pill__icon,
.search-pill__filter {
  display: grid;
  place-items: center;
}

.search-pill strong,
.search-pill small {
  display: block;
}

.search-pill strong {
  font-size: 16px;
}

.search-pill small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.search-pill__filter {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.category-strip {
  display: flex;
  gap: 10px;
  margin: 19px -18px 0;
  padding: 0 18px 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-strip::-webkit-scrollbar,
.horizontal-scroller::-webkit-scrollbar {
  display: none;
}

.category-chip {
  min-width: max-content;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 5px 18px rgba(15,15,20,.05);
}

.category-chip svg {
  width: 19px;
  height: 19px;
}

.category-chip.is-active {
  color: white;
  background: #18181b;
}

.trust-banner {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 18px 0 28px;
  padding: 16px;
  border: 1px solid rgba(24,165,114,.12);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(24,165,114,.1), rgba(255,255,255,.78));
}

.trust-banner__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 15px;
  color: white;
  background: var(--success);
}

.trust-banner p {
  margin: 4px 0 0;
  color: #567168;
  font-size: 13px;
}

.home-section {
  margin: 0 0 34px;
}

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

.section-heading h2 {
  margin: 0;
  font-size: 23px;
}

.section-heading button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: #ebebee;
}

.horizontal-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(245px, 75%);
  gap: 14px;
  margin: 0 -18px;
  padding: 0 18px 7px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.horizontal-scroller > * {
  scroll-snap-align: start;
}

.story-card {
  padding: 28px;
  border-radius: 28px;
  color: white;
  background:
    linear-gradient(145deg, rgba(255,56,92,.88), rgba(120,28,68,.96)),
    #2b1822;
  box-shadow: var(--shadow-md);
}

.story-card .eyebrow {
  color: rgba(255,255,255,.75);
}

.story-card h2 {
  margin-bottom: 12px;
  font-size: 32px;
}

.story-card p:last-child {
  margin-bottom: 0;
  color: rgba(255,255,255,.84);
  line-height: 1.58;
}

.page-heading {
  margin: 5px 0 28px;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  margin-bottom: 18px;
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.profile-avatar {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg, #141416, #55555e);
  font-size: 20px;
  font-weight: 850;
}

.profile-card h2 {
  margin-bottom: 5px;
}

.profile-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.settings-list {
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 24px;
  background: white;
}

.settings-list button {
  width: 100%;
  display: grid;
  grid-template-columns: 30px 1fr 24px;
  align-items: center;
  gap: 10px;
  padding: 17px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
}

.settings-list button:last-child {
  border-bottom: 0;
}

.demo-note {
  margin: 24px 14px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.message-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 13px;
  padding: 16px;
  border-radius: 22px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.message-avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--accent);
  font-weight: 900;
}

.message-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.message-card__top span {
  color: var(--muted);
  font-size: 12px;
}

.message-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.trip-list {
  display: grid;
  gap: 15px;
}

.trip-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  padding: 12px;
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.trip-card img {
  width: 112px;
  height: 125px;
  object-fit: cover;
  border-radius: 17px;
}

.trip-card h2 {
  margin: 8px 0 5px;
  font-size: 18px;
}

.trip-card p {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.status-pill {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  color: #087b54;
  background: #e9f9f3;
  font-size: 11px;
  font-weight: 800;
}


.mood-section {
  margin: 28px 0 20px;
}

.mood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.mood-grid button {
  min-height: 78px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.95), rgba(242,242,246,.82));
  box-shadow: 0 8px 22px rgba(15,15,20,.05);
  font-weight: 800;
}

.concierge-button {
  width: 100%;
  display: grid;
  grid-template-columns: 46px 1fr 24px;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 16px;
  border: 0;
  border-radius: 24px;
  color: white;
  background: linear-gradient(135deg, #141416, #383842);
  box-shadow: var(--shadow-md);
  text-align: left;
}

.concierge-button > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,.12);
}

.concierge-button strong,
.concierge-button small {
  display: block;
}

.concierge-button small {
  margin-top: 4px;
  color: rgba(255,255,255,.68);
}

.concierge-hero {
  padding: 22px;
  margin: 18px 0;
  border-radius: 24px;
  color: white;
  background: linear-gradient(135deg, #141416, #464650);
  text-align: center;
}

.concierge-hero svg {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
}

.concierge-hero h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.concierge-hero p {
  margin-bottom: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
}

.concierge-input {
  width: 100%;
  min-height: 110px;
  padding: 15px;
  margin-bottom: 14px;
  resize: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  outline: 0;
  background: #f4f4f7;
}

.concierge-result {
  margin-top: 20px;
}

.concierge-result button {
  width: 100%;
  display: grid;
  grid-template-columns: 58px 1fr 22px;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
}

.concierge-result img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 15px;
}

.concierge-result small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}


/* Portfolio Final: local smart finder */
.assistant-thinking {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 22px;
  margin-top: 16px;
  border-radius: 18px;
  background: #f3f3f6;
}

.spinner--dark {
  border-color: rgba(20,20,24,.15);
  border-top-color: #18181b;
}

.assistant-summary {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 11px;
  align-items: start;
  margin: 18px 0 8px;
  padding: 15px;
  border-radius: 19px;
  color: #243229;
  background: #edf8f2;
}

.assistant-summary > svg {
  width: 25px;
  height: 25px;
  color: var(--success);
}

.assistant-summary p {
  margin: 4px 0 0;
  color: #617069;
  font-size: 12px;
  line-height: 1.4;
}

.concierge-result button {
  grid-template-columns: 27px 58px 1fr 22px;
}

.assistant-rank {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: #18181b;
  font-size: 11px;
  font-weight: 900;
}

.assistant-property-copy {
  min-width: 0;
}

.assistant-property-copy em {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: #16805a;
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}
