/* A small invitation, with room to think out loud. */
.home-concierge { margin-top: 16px; }
.talk-entry { display: inline-flex; align-items: center; gap: 9px; min-height: 43px; padding: 8px 13px 8px 10px; border: 1px solid #c9cfc1; border-radius: 99px; background: #fffcf6; box-shadow: 0 2px 0 #d9ddcf66; font-size: 13px; font-weight: 600; transition: border-color .15s, transform .15s; }
.talk-entry:hover { border-color: var(--orange); transform: translateY(-1px); }
.talk-entry > .icon:first-child { box-sizing: content-box; width: 16px; height: 16px; background: #f4e4d8; color: #954021; border-radius: 50%; padding: 6px; }
.talk-entry > .icon:last-child { width: 15px; height: 15px; }
.talk-ai-label { font-size: 9px; letter-spacing: .06em; color: #526250; border: 1px solid #d4dacc; border-radius: 4px; padding: 1px 4px; }
.home-concierge > small { display: block; margin-top: 6px; font-size: 11px; color: #65705e; }
.talk-dialog { position: fixed; inset: auto 22px 22px auto; margin: 0; padding: 0; width: 418px; max-width: calc(100vw - 32px); height: min(730px, calc(100dvh - 44px)); max-height: calc(100dvh - 44px); border: 1px solid #c5cbbd; border-radius: 20px; background: #fcfaf4; color: var(--ink); overflow: hidden; box-shadow: 0 16px 80px #142f2430, 0 2px 8px #142f241a; }
.talk-dialog[open] { animation: talk-arrive .26s cubic-bezier(.2,.8,.2,1); }
.talk-dialog.is-closing { animation: talk-depart .18s ease-in forwards; }
.talk-dialog::backdrop { background: #152a221f; animation: talk-backdrop-in .22s ease-out; }
.talk-dialog.is-closing::backdrop { animation: talk-backdrop-out .18s ease-in forwards; }
.talk-shell { height: 100%; display: flex; flex-direction: column; }
.talk-header { display: flex; align-items: center; gap: 11px; padding: 18px 18px 17px; border-bottom: 1px solid #e1e3d6; flex-shrink: 0; }
.talk-header h2 { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.3; letter-spacing: -.025em; }
.talk-header > div > span { display: block; margin-top: 5px; font-size: 8px; letter-spacing: .12em; color: #65705e; }
.talk-mark { width: 36px; height: 36px; border-radius: 50%; background: var(--forest); color: #f4ecbd; display: grid; place-items: center; flex-shrink: 0; }
.talk-mark .icon { width: 21px; height: 21px; }
.talk-icon-button { margin-left: auto; display: grid; place-items: center; background: transparent; border: 0; width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; }
.talk-icon-button:hover { background: #eaece1; }
/* Keep progress in view even when the conversation is scrolled. */
.talk-activity { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; flex: 0 0 auto; padding: 12px 16px; border-bottom: 1px solid #cdd9c2; background: #eaf0e0; color: #294c31; transition: background-color .18s, border-color .18s; }
.talk-activity-copy { min-width: 0; }
.talk-activity-copy strong { display: block; font-size: 13px; font-weight: 650; line-height: 1.35; }
.talk-activity-copy > span { display: block; margin-top: 3px; font-size: 11px; line-height: 1.45; color: #4c6246; overflow-wrap: anywhere; }
.talk-activity-indicator { position: relative; display: flex; align-items: center; justify-content: center; gap: 3px; width: 28px; height: 28px; color: #42673b; }
.talk-activity-indicator > span { display: none; }
.talk-activity:is([data-state="connecting"], [data-state="finishing"], [data-state="thinking"]) .talk-activity-indicator::before { content: ""; display: block; box-sizing: border-box; width: 24px; height: 24px; border: 3px solid #b7c8a8; border-top-color: currentColor; border-right-color: currentColor; border-radius: 50%; animation: talk-loading-turn .9s linear infinite; }
.talk-activity[data-state="listening"] { background: #f8eadd; border-bottom-color: #e5cdb7; color: #7c391e; }
.talk-activity[data-state="listening"] .talk-activity-copy > span { color: #805b43; }
.talk-activity[data-state="listening"] .talk-activity-indicator { color: #a34e28; }
.talk-activity[data-state="listening"] .talk-activity-indicator > span { display: block; width: 4px; height: 11px; border-radius: 4px; background: currentColor; animation: talk-listening-wave 1s ease-in-out infinite; }
.talk-activity[data-state="listening"] .talk-activity-indicator > span:nth-child(2) { height: 21px; animation-delay: -.35s; }
.talk-activity[data-state="listening"] .talk-activity-indicator > span:nth-child(3) { height: 15px; animation-delay: -.65s; }
.talk-activity[data-state="notice"] { background: #f3f0e3; border-bottom-color: #ddd9c5; color: #625637; }
.talk-activity[data-state="notice"] .talk-activity-copy > span { color: #6c624a; }
.talk-activity[data-state="notice"] .talk-activity-indicator::before { content: "i"; width: 24px; height: 24px; box-sizing: border-box; border: 1.5px solid #9b8c67; border-radius: 50%; color: #76613e; text-align: center; font: 700 16px/22px Georgia, serif; }
.talk-type-instead { display: inline-flex; justify-content: center; align-items: center; align-self: center; min-width: 44px; min-height: 44px; max-width: 88px; padding: 7px 9px; border: 1px solid #b8c5ac; border-radius: 8px; background: #fffcf1; color: #3b5834; font-size: 11px; font-weight: 600; line-height: 1.35; text-align: center; transition: background-color .18s, border-color .18s; }
.talk-type-instead:hover { border-color: #7d926c; background: #fffef9; }
.talk-scroll { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 22px 20px; scrollbar-width: thin; }
.talk-welcome { padding: 2px 2px 6px; }
.talk-welcome-art { display: flex; align-items: center; gap: 5px; height: 42px; color: var(--orange); margin-bottom: 19px; }
.talk-welcome-art > .icon { width: 24px; height: 30px; margin-right: 10px; }
.talk-welcome-art > span { display: block; width: 3px; height: 11px; border-radius: 9px; background: #bf7753; transform: rotate(8deg); }
.talk-welcome-art > span:nth-child(3) { height: 24px; }
.talk-welcome-art > span:nth-child(4) { height: 34px; }
.talk-welcome-art > span:nth-child(5) { height: 20px; }
.talk-welcome h3 { font-family: var(--serif); font-size: 27px; line-height: 1.22; letter-spacing: -.045em; margin: 0 0 12px; font-weight: 500; }
.talk-welcome > p { margin: 0; font-size: 13px; color: #5a675c; line-height: 1.6; max-width: 330px; }
.talk-starters { display: grid; gap: 7px; margin-top: 21px; }
.talk-starters button { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid #dfe1d6; border-radius: 9px; padding: 11px 13px; background: #f6f5eb; text-align: left; font-size: 12px; min-height: 41px; }
.talk-starters .icon { width: 15px; height: 15px; color: #7d876f; }
.talk-starters button:hover, .talk-suggestions button:hover { border-color: #82917b; background: #eef1e4; }
.talk-bottom { padding: 12px 16px 13px; background: #fcfaf4; border-top: 1px solid #e5e5d9; flex-shrink: 0; }
#talk-form { border: 1px solid #c6cdbb; border-radius: 13px; padding: 11px; background: #fffefb; box-shadow: 0 2px 6px #18392706; }
#talk-form:focus-within { border-color: #607d60; box-shadow: 0 0 0 2px #47654612; }
#talk-input { display: block; border: 0; background: transparent; outline: none; box-shadow: none; resize: none; width: 100%; min-height: 52px; max-height: 110px; margin: 0; padding: 0; font: 13px/1.5 var(--sans); color: var(--ink); }
#talk-input::placeholder { color: #75806f; }
.talk-composer-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 7px; }
.talk-mic { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 7px; background: #edf0e5; color: #33513b; padding: 7px 9px; font-size: 11px; font-weight: 600; min-height: 35px; }
.talk-mic .icon { width: 16px; height: 16px; }
.talk-mic.is-listening { color: #893718; background: #f9e5d8; }
.talk-mic.is-listening > .icon { animation: talk-pulse 1.2s ease-in-out infinite; }
.talk-send { background: var(--forest); color: #fff; display: grid; place-items: center; width: 35px; height: 35px; border: 0; border-radius: 50%; flex-shrink: 0; }
.talk-send .icon { transform: rotate(-90deg); width: 19px; height: 19px; }
.talk-dialog button:disabled { cursor: default; opacity: .45; }
.talk-mic.is-connecting { color: #3a5d31; background: #e6eddb; }
.talk-mic.is-connecting > .icon, .talk-send.is-working > .icon, .talk-reopen.is-working > .icon { display: none; }
.talk-mic.is-connecting::before, .talk-send.is-working::before, .talk-reopen.is-working::before { content: ""; display: block; flex-shrink: 0; box-sizing: border-box; width: 17px; height: 17px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: talk-loading-turn .9s linear infinite; }
.talk-dialog .talk-send.is-working:disabled, .talk-dialog .talk-mic.is-connecting:disabled { opacity: 1; cursor: progress; }
.talk-reopen.is-working { border-color: #779463; background: #294b35; }
.talk-count { font-size: 9px; color: #717b6a; margin-left: auto; }
.talk-status { font-size: 10px; color: #616f5c; margin: 8px 1px 11px; line-height: 1.4; }
.talk-footnote { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 9px; color: #6c7565; }
.talk-footnote button { padding: 3px 0 3px 7px; background: transparent; border: 0; font-size: 10px; color: #456342; text-decoration: underline; text-underline-offset: 3px; }
.talk-privacy { font-size: 9px; line-height: 1.4; color: #74796d; margin: 7px 0 0; }
.talk-privacy a { text-decoration: underline; text-underline-offset: 2px; }
.talk-message { margin: 0 0 21px; overflow-wrap: anywhere; animation: talk-message-in .28s ease-out backwards; }
.talk-message-label { font-size: 8px; font-weight: 700; letter-spacing: .1em; color: #6b7861; display: block; margin: 0 0 6px; }
.talk-message > p { white-space: pre-wrap; font-size: 13px; line-height: 1.65; margin: 0; }
.talk-message--user { background: #eaf0e1; border-radius: 12px 12px 3px 12px; padding: 12px 14px; margin-left: 25px; }
.talk-place { display: block; margin-top: 10px; padding: 13px 14px; border: 1px solid #d8decf; border-radius: 11px; background: #fffef9; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; animation: talk-message-in .32s ease-out var(--talk-stagger, 0ms) backwards; }
.talk-place:hover { border-color: #6d8862; box-shadow: 0 4px 14px #21422b0a; transform: translateY(-1px); }
.talk-place-top { display: flex; justify-content: space-between; align-items: center; color: #6b775c; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.talk-place-top .icon { width: 16px; height: 16px; color: var(--orange); }
.talk-place > strong { display: block; font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.25; margin-top: 6px; }
.talk-place-reason { display: block; font-size: 12px; line-height: 1.5; color: #5a6756; margin-top: 8px; }
.talk-place-price { display: block; font-size: 10px; color: #3e5b3d; margin-top: 10px; }
.talk-place-link { display: block; font-size: 9px; margin-top: 6px; color: #727e6b; }
.talk-thinking { font-size: 11px; color: #6a795d; display: flex; align-items: center; gap: 4px; margin: 12px 0; }
.talk-thinking > span { width: 4px; height: 4px; border-radius: 50%; background: #879876; animation: talk-pulse 1.2s infinite; }
.talk-thinking > span:nth-child(2) { animation-delay: .2s; }
.talk-thinking > span:nth-child(3) { animation-delay: .4s; margin-right: 4px; }
.talk-suggestions { display: flex; gap: 6px; flex-wrap: wrap; }
.talk-suggestions button { background: #f0f2e8; padding: 8px 11px; font-size: 11px; border: 1px solid #dbe0d1; border-radius: 15px; text-align: left; }
.talk-error { color: #8e3b28; font-size: 12px; padding: 2px 2px 10px; line-height: 1.5; }
.talk-reopen { display: flex; position: fixed; right: 22px; bottom: 22px; z-index: 110; align-items: center; gap: 7px; border: 1px solid #50644a; background: var(--forest); color: #fffbed; border-radius: 99px; padding: 11px 17px; font-size: 12px; box-shadow: 0 4px 20px #123f3220; }
.talk-reopen .icon { width: 17px; height: 17px; }
.talk-dialog [hidden], .talk-reopen[hidden] { display: none !important; }
.talk-dialog :focus-visible, .talk-entry:focus-visible, .talk-reopen:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
#talk-input:focus-visible { outline: none; }
.talk-icon-button, .talk-starters button, .talk-suggestions button, .talk-mic, .talk-send, .talk-reopen { transition: background-color .18s, border-color .18s, opacity .18s, transform .18s, box-shadow .18s; }
.talk-entry:active, .talk-reopen:active, .talk-send:active:not(:disabled), .talk-mic:active:not(:disabled) { transform: scale(.97); }
.talk-send:hover:not(:disabled) { background: #345c43; box-shadow: 0 2px 8px #234d3524; }
.talk-mic:hover:not(:disabled) { background: #e1e8d6; }
.talk-mic.is-listening:hover { background: #f4d8c6; }
.talk-suggestions button { animation: talk-message-in .24s ease-out backwards; }
#talk-form { transition: border-color .2s, box-shadow .2s; }
.talk-place-media { position: relative; aspect-ratio: 16 / 9; margin: -13px -14px 0; background: #e9eddf; overflow: hidden; }
.talk-place-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.025); transition: opacity .4s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.talk-place-media.is-loaded img { opacity: 1; transform: scale(1); }
.talk-photo-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #6c765f; font-size: 11px; background: linear-gradient(100deg, #e9eddf 20%, #f4f5ed 45%, #e9eddf 70%); background-size: 220% 100%; }
.talk-place-media.is-loading .talk-photo-placeholder { animation: talk-shimmer 2s ease-in-out 3; }
.talk-place-media.is-loaded .talk-photo-placeholder { display: none; }
.talk-place-media.is-unavailable .talk-photo-placeholder { animation: none; background: #edf0e6; }
.talk-photo-label { position: absolute; left: 10px; bottom: 10px; padding: 4px 7px; border: 1px solid #ffffff70; border-radius: 5px; background: #fffdf3ed; color: #3c5235; font-size: 9px; line-height: 1.2; }
.talk-photo-caption { display: block; margin: 7px 0 11px; color: #717b67; font-size: 9px; line-height: 1.45; }
.talk-cooldown { margin: 0 2px 10px; padding: 9px 11px; border: 1px solid #dddcc5; border-radius: 9px; background: #f4f1e3; font-size: 11px; line-height: 1.5; color: #675834; font-variant-numeric: tabular-nums; }
@keyframes talk-arrive { from { opacity: 0; transform: translate(7px, 12px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes talk-depart { from { opacity: 1; transform: none; } to { opacity: 0; transform: translate(5px, 8px) scale(.995); } }
@keyframes talk-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes talk-backdrop-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes talk-message-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes talk-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes talk-pulse { 50% { opacity: .35; } }
@keyframes talk-loading-turn { to { transform: rotate(360deg); } }
@keyframes talk-listening-wave { 0%, 100% { transform: scaleY(.7); } 50% { transform: scaleY(1); } }
@media (max-width: 600px) {
  .home-concierge { margin-top: 11px; }
  .talk-entry { min-height: 44px; font-size: 12px; }
  .home-concierge > small { font-size: 10px; }
  .talk-dialog { inset: auto 8px 8px 8px; width: calc(100vw - 16px); max-width: none; height: min(730px, calc(100dvh - 16px)); max-height: calc(100dvh - 16px); border-radius: 18px; }
  .talk-header { padding: 14px; }
  .talk-header h2 { font-size: 16px; }
  .talk-activity { grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px; padding: 10px 12px; }
  .talk-activity-indicator { width: 24px; }
  .talk-type-instead { max-width: 80px; padding-inline: 7px; }
  .talk-scroll { padding: 20px 16px; }
  .talk-bottom { padding: 10px 12px max(12px, env(safe-area-inset-bottom)); }
  #talk-input { font-size: 16px; }
  .talk-reopen { bottom: calc(72px + env(safe-area-inset-bottom)); right: 14px; }
  .talk-icon-button, .talk-send { width: 44px; height: 44px; }
  .talk-mic, .talk-starters button, .talk-suggestions button, .talk-footnote button { min-height: 44px; }
  .talk-footnote { flex-wrap: wrap; }
}
@media (max-height: 600px) { .talk-activity { padding-block: 8px; } .talk-header { padding-block: 10px; } .talk-bottom { padding-block: 9px; } .talk-privacy { display: none; } .talk-welcome-art { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .talk-dialog, .talk-dialog *, .talk-dialog::backdrop, .talk-entry, .talk-reopen { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .talk-dialog.is-closing { opacity: 0; }
  .talk-activity-indicator::before, .talk-mic.is-connecting::before, .talk-send.is-working::before, .talk-reopen.is-working::before { animation: none !important; transition: none !important; transform: none; }
  .talk-activity[data-state="listening"] .talk-activity-indicator > span { transform: none; }
  .talk-entry:hover, .talk-entry:active, .talk-place:hover, .talk-reopen:active, .talk-send:active:not(:disabled), .talk-mic:active:not(:disabled), .talk-place-media img { transform: none; }
}
