/* A self-contained visitor chat shared by the three directory experiences. */
.ttm-auntie-launch, .ttm-auntie-dialog, [data-auntie-form] {
  --ayse-ink: #261d20;
  --ayse-ruby: #a81735;
  --ayse-ruby-hover: #84122a;
  --ayse-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-family: var(--ayse-font);
}
.ttm-auntie-launch, .ttm-auntie-dialog, .ttm-auntie-dialog *, [data-auntie-form], [data-auntie-form] * { box-sizing: border-box; }
button.ttm-auntie-launch {
  position: fixed; z-index: 1200; inset: auto max(1.25rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) auto;
  display: inline-flex; align-items: center; justify-content: center; gap: .48rem; width: auto; min-width: 3rem; min-height: 3rem;
  padding: .55rem 1rem .55rem .8rem; border: 1px solid #fff8; border-radius: 100px;
  background: #a81735; color: #fff; font: 700 .925rem/1.25 var(--ayse-font); box-shadow: 0 3px 16px #25071138;
  letter-spacing: normal; text-transform: none; cursor: pointer;
}
.ttm-auntie-launch svg, .ttm-auntie-dialog svg { display: block; width: 1.36rem; height: 1.36rem; flex: none; }
button.ttm-auntie-launch:hover, .ttm-auntie-dialog button.ttm-auntie-send:hover { background: var(--ayse-ruby-hover); color: white; }
.ttm-auntie-launch:focus-visible, .ttm-auntie-dialog :focus-visible, [data-auntie-form] :focus-visible {
  outline: 3px solid #ec7c33; outline-offset: 3px;
}
dialog.ttm-auntie-dialog {
  position: fixed; inset: auto max(1.25rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) auto;
  margin: 0; padding: 0; width: min(27rem, calc(100vw - 2rem)); height: min(39rem, calc(100vh - 2rem));
  height: min(39rem, calc(100dvh - 2rem)); max-width: none; max-height: none; overflow: hidden;
  border: 1px solid #55404638; border-radius: 1.3rem; background: white; color: var(--ayse-ink);
  box-shadow: 0 16px 65px #251b2845; font: 400 1rem/1.45 var(--ayse-font); text-align: start; color-scheme: light;
}
dialog.ttm-auntie-dialog:not([open]) { display: none; }
dialog.ttm-auntie-dialog[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
dialog.ttm-auntie-dialog::backdrop { background: #221b203b; }
.ttm-auntie-dialog .ttm-auntie-head { display: flex; align-items: center; gap: .75rem; padding: 1.05rem 1.15rem; background: #81192f; color: white; }
.ttm-auntie-dialog .ttm-auntie-mark { display: grid; align-items: center; justify-items: center; width: 2.7rem; height: 2.7rem; border: 1px solid #ffffff50; border-radius: 50%; background: #ffffff12; color: #ffeddb; }
.ttm-auntie-dialog .ttm-auntie-mark svg { width: 1.55rem; height: 1.55rem; }
.ttm-auntie-dialog .ttm-auntie-headcopy { display: grid; gap: .12rem; }
.ttm-auntie-dialog .ttm-auntie-name { color: white; font: 700 1.17rem/1.18 var(--ayse-font); letter-spacing: -.025em; }
.ttm-auntie-dialog .ttm-auntie-subtitle { color: #f8e3e7; font: 400 .85rem/1.3 var(--ayse-font); }
.ttm-auntie-dialog button { font-family: var(--ayse-font); letter-spacing: normal; text-transform: none; cursor: pointer; }
.ttm-auntie-dialog .ttm-auntie-close { display: grid; place-items: center; margin-inline-start: auto; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; color: #fff; background: transparent; }
.ttm-auntie-dialog .ttm-auntie-close:hover { background: #ffffff23; }
.ttm-auntie-dialog .ttm-auntie-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 1.15rem; }
.ttm-auntie-dialog .ttm-auntie-greeting { padding: .65rem .1rem 1rem; }
.ttm-auntie-dialog .ttm-auntie-greeting[hidden] { display: none; }
.ttm-auntie-dialog .ttm-auntie-hello { margin: 0 0 .5rem; color: #3d2228; font: 600 1.65rem/1.14 Georgia, "Times New Roman", serif; letter-spacing: -.03em; }
.ttm-auntie-dialog .ttm-auntie-intro { margin: 0; color: #5b4f53; font: 400 1rem/1.53 var(--ayse-font); }
.ttm-auntie-dialog .ttm-auntie-chips { display: flex; align-items: start; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.ttm-auntie-dialog .ttm-auntie-chip, .ttm-auntie-dialog .ttm-auntie-retry {
  width: auto; min-height: 2.6rem; margin: 0; padding: .5rem .8rem; border: 1px solid #e0c9c8; border-radius: .8rem;
  background: #fffaf7; color: #752136; font: 600 .875rem/1.3 var(--ayse-font); text-align: start;
}
.ttm-auntie-dialog .ttm-auntie-chip:hover, .ttm-auntie-dialog .ttm-auntie-retry:hover { border-color: #aa6673; background: #f9ecec; }
.ttm-auntie-dialog .ttm-auntie-log { display: grid; gap: 1.05rem; }
.ttm-auntie-dialog .ttm-auntie-message { min-width: 0; width: fit-content; max-width: 96%; }
.ttm-auntie-dialog .ttm-auntie-user { justify-self: end; max-width: 90%; }
.ttm-auntie-dialog .ttm-auntie-speaker { display: block; margin-bottom: .27rem; color: #69585e; font: 650 .8rem/1.3 var(--ayse-font); }
.ttm-auntie-dialog .ttm-auntie-user .ttm-auntie-speaker { text-align: end; }
.ttm-auntie-dialog .ttm-auntie-body { margin: 0; color: var(--ayse-ink); overflow-wrap: anywhere; white-space: pre-line; font: 400 1rem/1.55 var(--ayse-font); }
.ttm-auntie-dialog .ttm-auntie-user .ttm-auntie-body { padding: .6rem .85rem; border-radius: .95rem .95rem .2rem .95rem; background: #f4e8e9; color: #481723; }
.ttm-auntie-dialog .ttm-auntie-links { padding-top: .65rem; }
.ttm-auntie-dialog .ttm-auntie-section { margin: 0 0 .3rem; color: #57464b; font: 650 .82rem/1.35 var(--ayse-font); }
.ttm-auntie-dialog .ttm-auntie-list { display: grid; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.ttm-auntie-dialog .ttm-auntie-list > li { padding: 0; margin: 0; }
.ttm-auntie-dialog a.ttm-auntie-result { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 2.65rem; padding: .48rem .65rem; border: 1px solid #e4dbd7; border-radius: .55rem; background: #fff; color: #742036; text-decoration: none; overflow-wrap: anywhere; }
.ttm-auntie-dialog a.ttm-auntie-result:hover { background: #faf2ef; border-color: #c29898; }
.ttm-auntie-dialog .ttm-auntie-result strong { display: block; color: inherit; font: 650 .91rem/1.3 var(--ayse-font); }
.ttm-auntie-dialog .ttm-auntie-result small { display: block; margin-top: .18rem; color: #5d5353; font: 400 .8rem/1.3 var(--ayse-font); }
.ttm-auntie-dialog .ttm-auntie-result svg { width: 1rem; height: 1rem; }
.ttm-auntie-dialog .ttm-auntie-notice, .ttm-auntie-dialog .ttm-auntie-status { margin: .55rem 0 0; color: #68565c; font: 400 .85rem/1.4 var(--ayse-font); }
.ttm-auntie-dialog .ttm-auntie-status:empty { display: none; }
.ttm-auntie-dialog .ttm-auntie-retry { margin-top: .5rem; }
.ttm-auntie-dialog .ttm-auntie-compose { margin: 0; padding: .72rem .9rem; display: flex; gap: .55rem; align-items: center; background: #fff; border-top: 1px solid #e8deda; }
.ttm-auntie-dialog textarea.ttm-auntie-input {
  flex: 1 1 auto; min-width: 0; width: auto; height: 3rem; min-height: 0; resize: none; margin: 0; padding: .3rem .45rem; border: 1px solid transparent; border-radius: .42rem; background: white; color: var(--ayse-ink); font: 400 1rem/1.3 var(--ayse-font);
}
.ttm-auntie-dialog .ttm-auntie-input::placeholder { color: #706067; opacity: 1; }
.ttm-auntie-dialog .ttm-auntie-send { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; color: white; background: var(--ayse-ruby); }
.ttm-auntie-dialog .ttm-auntie-send:disabled { background: #e1d8d8; color: #74666b; cursor: default; }
[data-auntie-form].ttm-auntie-hero { display: flex; align-items: stretch; gap: .25rem; max-width: 32rem; width: 100%; min-height: 3rem; margin: .85rem 0; padding: .25rem; border-radius: .65rem; background: #fff; box-shadow: 0 2px 14px #1b100e29; }
[data-auntie-form].ttm-auntie-hero input { flex: 1 1 auto; min-width: 0; width: auto; padding: .45rem .65rem; border: 0; border-radius: .35rem; background: white; color: var(--ayse-ink); font: 400 1rem/1.35 var(--ayse-font); }
[data-auntie-form].ttm-auntie-hero input::placeholder { color: #6b5c61; }
[data-auntie-form].ttm-auntie-hero button { flex: none; min-height: 2.55rem; margin: 0; padding: .4rem .8rem; border: 0; border-radius: .42rem; background: var(--ayse-ruby); color: white; font: 700 .9rem/1.25 var(--ayse-font); cursor: pointer; }
[data-auntie-form].ttm-auntie-hero button:hover { background: var(--ayse-ruby-hover); }
@media (max-width: 620px) {
  button.ttm-auntie-launch { inset-inline-end: max(.75rem, env(safe-area-inset-right)); bottom: max(.75rem, env(safe-area-inset-bottom)); min-width: 2.8rem; min-height: 2.8rem; padding: .52rem .8rem; font-size: .85rem; }
  dialog.ttm-auntie-dialog { inset: auto 0 0; width: 100%; height: min(42rem, 91vh); height: min(42rem, 91dvh); border-radius: 1rem 1rem 0 0; }
  .ttm-auntie-dialog .ttm-auntie-compose { padding-bottom: max(.72rem, env(safe-area-inset-bottom)); }
}
@media (max-width: 400px) {
  [data-auntie-form].ttm-auntie-hero button { max-width: 6.5rem; padding-inline: .55rem; }
}

.ttm-auntie-privacy { background: white; padding: 0 .9rem .5rem; color: #61474d; text-decoration: underline; font: 12px/1.3 var(--ayse-font); }
