/* Approved Concierge Genius shell, now local so opening does not wait for /widget. */
.villa-chat-shell {
  position: fixed; inset: auto 18px 76px auto; margin: 0; padding: 0;
  width: 380px; height: 600px; max-width: calc(100vw - 24px); max-height: calc(100vh - 88px);
  border-radius: 18px; overflow: hidden; border: 1px solid rgba(15,23,42,.12);
  box-shadow: 0 30px 70px -30px rgba(15,23,42,.45); background: white; color: inherit;
  font-family: 'Hanken Grotesk', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  z-index: 2147483000;
}
.villa-chat-shell[open] { display: flex; flex-direction: column; }
.villa-chat-shell[hidden] { display: none !important; }
.villa-chat-shell::backdrop { background: transparent; }
.villa-chat-header { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid rgba(15,23,42,.10); background: #fff; }
.villa-chat-identity { display: flex; align-items: center; gap: 10px; flex: 1; }
.villa-chat-logo { width: 30px; height: 30px; border-radius: 999px; background: #fff; border: 1px solid rgba(15,23,42,.12); box-sizing: border-box; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #0f172a; font: 600 13px/1.7 Georgia,serif; }
.villa-chat-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; box-sizing: border-box; display: block; }
.villa-chat-title { font-size: 14px; font-weight: 600; color: #0f172a; }
.villa-chat-ai { font-size: 10px; color: #64748b; margin-top: 1px; }
.villa-chat-status { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; font-size: 11px; color: #475569; }
.villa-chat-status > span { width: 7px; height: 7px; border-radius: 999px; background: #22c55e; }
/* Owner 13/10: chevron only, no circle; 32px keeps the touch target. */
#villa-chat-close { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border-radius: 999px; border: 0; background: transparent; cursor: pointer; color: #0f172a; transition: opacity .18s ease; }
#villa-chat-close:hover { opacity: .65; }
#villa-chat-close:focus-visible { outline: 2px solid #173e43; outline-offset: 2px; }
#villa-chat-frame { width: 100%; flex: 1 1 auto; min-height: 0; border: 0; background: white; color-scheme: light; }
@media (max-width: 480px) {
  body.chat-is-open { overflow: hidden; }
  .villa-chat-shell { position: fixed; top: 0; left: 0; right: auto; bottom: auto; width: 100vw; height: 100vh; height: 100dvh; max-width: 100vw; max-height: 100vh; max-height: 100dvh; border-radius: 0; border: 0; box-sizing: border-box; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
}
