body{margin:0;min-width:320px;min-height:100vh;background-color:#0f172a;background-image:linear-gradient(#00000080,#00000080),url(/perillo-web-bg.png);background-size:cover;background-repeat:no-repeat;background-position:center;background-attachment:fixed;color:#171a21;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body.chat-collapsed{background-image:url(/perillo-web-bg.png)}*{box-sizing:border-box}#root{min-height:100vh}.app-shell{position:fixed;top:1.25rem;right:1.25rem;bottom:1.25rem;width:min(480px,94vw);display:flex;flex-direction:column;padding:.95rem .95rem .8rem;border:1px solid rgba(15,23,42,.16);border-radius:18px;background:#ffffffeb;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 28px 60px #00000047,0 8px 20px #0000002e}.app-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:nowrap;margin:0 -.95rem .75rem;padding:0 1.15rem .85rem;border-bottom:1px solid rgba(0,0,0,.07);box-shadow:0 3px 10px -3px #00000017}.app-title{display:flex;align-items:flex-end;gap:.5rem;min-width:0}.app-logo{display:block;width:auto;height:clamp(24px,3vw,30px);max-width:min(160px,40vw);object-fit:contain;flex-shrink:1}.app-title-meta{display:inline-flex;align-items:baseline;gap:.35rem;min-width:0;color:#475569;font-size:clamp(.7rem,1.5vw,.78rem);line-height:1;white-space:nowrap;padding-bottom:1px}.app-title-pipe{color:#64748b}.app-title-text{color:#334155}.collapse-toggle{border:1px solid #e4e5e7;background:#fff;color:#1e293b;border-radius:8px;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;font-size:.9rem;font-weight:600;line-height:1;padding:0;cursor:pointer;transition:border-color .14s ease,background-color .14s ease}.collapse-toggle:hover{border-color:#94a3b8;background:#f8fafc}.header-actions{display:inline-flex;align-items:center;gap:.45rem}.header-close-btn{border:1px solid #e4e5e7;background:#fff;color:#64748b;border-radius:8px;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer;transition:border-color .14s ease,background-color .14s ease,color .14s ease}.header-close-btn:hover{border-color:#fca5a5;background:#fef2f2;color:#ef4444}.end-chat-button{border:1px solid #e4e5e7;background:#fff;color:#b91c1c;border-radius:8px;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer;transition:border-color .14s ease,background-color .14s ease}.end-chat-button:hover{border-color:#fca5a5;background:#ffe4e6}.app-shell.collapsed{bottom:auto;width:min(460px,94vw);padding:.9rem .95rem}.app-shell.collapsed .app-header{margin-bottom:0}.chat-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.chat-body.hidden{display:none}.voice-controls{display:flex;align-items:center;justify-content:flex-start;gap:.6rem;margin-top:.75rem;padding:0 .2rem}.voice-button{display:inline-flex;align-items:center;gap:.42rem;border:1px solid #cdd8ec;border-radius:10px;padding:.5rem 1.33rem;font-size:.95rem;font-weight:600;cursor:pointer;line-height:1;transition:border-color .14s ease,box-shadow .14s ease,background-color .14s ease}.voice-button.start{background:#f6f9ff;color:#000}.voice-button.stop{background:#fff7f7;color:#b91c1c;border-color:#f2c7c7}.voice-button:hover{border-color:#9fb4df;box-shadow:0 0 0 2px #3b82f61f}.voice-button:disabled{opacity:.7;cursor:not-allowed;box-shadow:none}.voice-icon{width:22px;height:22px;object-fit:contain}.voice-status{font-size:.85rem;color:#334155}.voice-replies-toggle{margin-left:auto;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#0f172a;font-size:.8rem;font-weight:600;line-height:1;padding:.42rem .72rem;cursor:pointer;transition:border-color .14s ease,background-color .14s ease,color .14s ease}.voice-replies-toggle.on{border-color:#93c5fd;background:#eff6ff;color:#1e3a8a}.voice-replies-toggle.off{border-color:#e2e8f0;background:#fff;color:#475569}.voice-replies-toggle:hover{border-color:#94a3b8}.stop-speech-button{border:1px solid #fecaca;border-radius:999px;background:#fff1f2;color:#b91c1c;font-size:.8rem;font-weight:700;line-height:1;padding:.42rem .72rem;cursor:pointer}.stop-speech-button:hover{border-color:#fca5a5}.stop-speech-button:disabled{opacity:.55;cursor:not-allowed}.voice-error{margin:.35rem 0 0;color:#b91c1c;font-size:.84rem;padding:0 .2rem}.chat-container{flex:1 1 auto;min-height:360px;border:1px solid rgba(148,163,184,.45);border-radius:14px;overflow:hidden;background:#fff}.chat-actions{display:flex;align-items:center;justify-content:space-between;gap:.7rem;margin:0 -.95rem;padding:.65rem 1.15rem 0;border-top:1px solid rgba(0,0,0,.07);box-shadow:0 -3px 10px -3px #00000017}.transcript-email-button{border:1px solid #cbd5e1;background:#fff;color:#0f172a;border-radius:999px;width:2.15rem;height:2.15rem;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:border-color .14s ease,background-color .14s ease;margin-left:auto}.transcript-email-button:hover{border-color:#94a3b8;background:#f8fafc}.transcript-email-button:disabled{opacity:.65;cursor:wait}.transcript-email-status{margin:.28rem .2rem 0;font-size:.78rem;color:#334155;max-width:100%}.modal-overlay{position:fixed;inset:0;background:#0f172a61;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:1000}.transcript-modal{width:min(460px,100%);border-radius:14px;border:1px solid rgba(148,163,184,.45);background:#fff;box-shadow:0 20px 60px #02061733;padding:1rem}.transcript-modal h2{margin:0;font-size:1rem;color:#0f172a}.transcript-modal p{margin:.5rem 0 0;font-size:.9rem;color:#334155}.transcript-email-input{width:100%;margin-top:.8rem;border-radius:10px;border:1px solid #94a3b8;padding:.65rem .75rem;font-size:.9rem;outline:none}.transcript-email-input:focus{border-color:#2f855a;box-shadow:0 0 0 3px #2f855a2e}.transcript-modal-actions{margin-top:1rem;display:flex;justify-content:flex-end;gap:.55rem}.modal-secondary-button,.modal-primary-button{border-radius:999px;border:1px solid transparent;font-weight:600;font-size:.86rem;padding:.45rem .85rem;cursor:pointer}.modal-secondary-button{background:#f1f5f9;color:#334155;border-color:#cbd5e1}.modal-primary-button{background:#2f855a;color:#fff}.modal-secondary-button:disabled,.modal-primary-button:disabled{opacity:.6;cursor:not-allowed}.chat-disclaimer{margin:0;font-size:.72rem;line-height:1.35;color:#64748b;flex:1 1 auto}.chatkit-widget{width:100%;height:100%;display:block}.managed-chat{display:flex;flex-direction:column}.message-list{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:1rem 1rem .35rem .3rem;display:flex;flex-direction:column;gap:.9rem}.empty-chat-state{flex:1 1 auto;min-height:100%;display:flex;align-items:center;justify-content:center;text-align:center;padding:1.25rem}.empty-chat-state h2{margin:0;font-size:clamp(1.4rem,4.2vw,1.6rem);font-weight:500;line-height:1.16;letter-spacing:-.02em;color:#484e58}.empty-chat-state p{margin:.45rem 0 0;font-size:.82rem;line-height:1.45;color:#475569}.message-row{display:flex}.message-row.user{justify-content:flex-end}.message-row.assistant{justify-content:flex-start}.message-bubble{max-width:82%;border-radius:18px;padding:.8rem .95rem}.message-bubble.user{background:#f3f4f6;color:#0f172a;border-bottom-right-radius:8px}.message-bubble.assistant{background:#fff;color:#636363;border-bottom-left-radius:8px}.message-bubble.loading{display:inline-flex;align-items:center;gap:.25rem}.message-text li{line-height:1.2;margin-bottom:10px}.message-text p{margin:0;font-size:.97rem;line-height:1.55;white-space:pre-wrap;color:#636363}.message-text strong{font-weight:700;color:#464646}.message-text p+p{margin-top:.75rem}.message-text .inline-link-chip{display:inline-flex;position:relative;vertical-align:middle;margin:0 .18rem}.message-text .inline-link-chip.inline-link-text{margin:0}.message-text .inline-link-chip-button{display:inline-flex;align-items:center;justify-content:center;min-height:1.5rem;border-radius:999px;border:1px solid #e6e6e6;background:#f1f1f1;color:#111827;text-decoration:none;font-size:.92rem;font-weight:400;line-height:1;padding:0 .95rem;word-break:break-word}.message-text .inline-link-text-button{display:inline;color:#1d75be;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;font-size:inherit;line-height:inherit;font-weight:inherit}.message-text .inline-link-chip-button:hover{background:#dde1e7}.message-text .inline-link-text-button:hover{color:#1e3a8a}.message-text .inline-link-chip-button:focus-visible{outline:2px solid #86b7ff;outline-offset:2px}.message-text .inline-link-text-button:focus-visible{outline:2px solid #86b7ff;outline-offset:2px;border-radius:4px}.message-text .inline-link-preview{pointer-events:none;opacity:0;transform:translateY(8px);position:absolute;left:0;top:calc(100% + .45rem);z-index:30;width:min(290px,calc(100vw - 80px));max-width:58vw;transition:opacity .12s ease,transform .12s ease}.message-text .inline-link-chip.open .inline-link-preview,.message-text .inline-link-chip:focus-within .inline-link-preview{pointer-events:auto;opacity:1;transform:translateY(0)}.message-text .inline-link-preview-card{display:block;border-radius:16px;border:1px solid #d6dbe4;background:#f7f8fa;color:#111827;text-decoration:none;padding:.9rem 1rem 1rem;box-shadow:0 8px 24px #0206171f}.message-text .inline-link-preview-domain-row{display:flex;align-items:center;gap:.5rem;font-size:.78rem;color:#374151;margin-bottom:.5rem}.message-text .inline-link-preview-icon{width:1.35rem;height:1.35rem;border-radius:999px;background:#1f2937;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:.72rem;font-weight:700}.message-text .inline-link-preview-domain{font-size:.9rem;font-weight:400}.message-text .inline-link-preview-title{display:block;font-size:.88rem;line-height:1.3;font-weight:600}.message-links{margin-top:.75rem;display:flex;flex-direction:column;gap:.35rem}.message-link{font-size:.8rem;font-weight:600;color:#0f52ba;text-decoration:none;word-break:break-word}.message-link:hover{text-decoration:underline}.typing-dot{width:8px;height:8px;border-radius:999px;background:#94a3b8;animation:chat-bounce 1s infinite ease-in-out}.typing-dot:nth-child(2){animation-delay:.15s}.typing-dot:nth-child(3){animation-delay:.3s}.composer-form{display:flex;align-items:center;gap:.55rem;border:1px solid #d6dbe4;border-radius:25px;background:#fff;margin:.85rem;padding:.6rem .6rem .6rem 1rem;box-shadow:0 8px 20px #0f172a0f}.composer-input{flex:1 1 auto;min-width:0;width:100%;min-height:1.45em;max-height:none;overflow-y:hidden;display:block;resize:none;border:0;border-radius:0;background:transparent;padding:.06rem 0 .08rem;font:inherit;line-height:1.45;color:#0f172a;overflow-wrap:anywhere;outline:none}.composer-input:focus{border:0;box-shadow:none}.composer-input:disabled{background:transparent;color:#64748b}.composer-input::placeholder{color:#9aa1ab}.composer-send-button{flex:0 0 auto;align-self:flex-end;width:48px;height:48px;border:1px solid #0b0b0f;border-radius:999px;background:#0b0b0f;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .12s ease,opacity .12s ease,background-color .12s ease}.composer-send-button:hover{transform:translateY(-1px);background:#1b1b22;border-color:#1b1b22}.composer-send-button:disabled{background:#eceff3;color:#b3bbc7;border-color:#d6dbe4;opacity:1;cursor:not-allowed;transform:none}.chat-status-error{color:#b91c1c}@keyframes chat-bounce{0%,80%,to{transform:scale(.85);opacity:.55}40%{transform:scale(1);opacity:1}}.tour-results{margin-top:.7rem;border:1px solid rgba(148,163,184,.4);border-radius:12px;background:linear-gradient(180deg,#fbfdff,#f7fbff);padding:.7rem}.tour-results-header{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin-bottom:.5rem;flex-wrap:nowrap}.tour-results-header h2{margin:0;font-size:.92rem;color:#0f172a;letter-spacing:.01em;white-space:nowrap}.tour-collapse-toggle{border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#334155;font-size:.82rem;font-weight:700;line-height:1;width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer}.tour-collapse-toggle:hover{border-color:#94a3b8;background:#f8fafc}.tour-meta,.tour-error{margin:.15rem 0 .4rem;font-size:.78rem}.tour-meta{color:#475569}.tour-error{color:#b91c1c}.tour-grid{display:grid;grid-template-columns:1fr;gap:.55rem;max-height:220px;overflow:auto;padding-right:.15rem}.tour-card{display:grid;grid-template-columns:76px 1fr;gap:.65rem;border-radius:10px;border:1px solid #dbe4f3;background:#fff;overflow:hidden}.tour-photo{width:76px;height:100%;min-height:88px;object-fit:cover}.tour-card-body{padding:.5rem .55rem .55rem 0}.tour-badge{margin:0 0 .2rem;display:inline-block;border-radius:999px;font-size:.66rem;font-weight:700;line-height:1;padding:.25rem .42rem}.tour-badge.upcoming{color:#166534;background:#dcfce7}.tour-badge.past{color:#92400e;background:#ffedd5}.tour-card h3{margin:0;font-size:.8rem;line-height:1.25;color:#0f172a}.tour-destination,.tour-dates,.tour-pricing{margin:.18rem 0 0;font-size:.72rem;color:#334155}.tour-destination{color:#1e293b}.tour-link{display:inline-block;margin-top:.35rem;font-size:.7rem;font-weight:700;color:#0f52ba;text-decoration:none}.tour-link:hover{text-decoration:underline}@media(max-width:680px){.app-shell{inset:.75rem;width:auto;border-radius:14px;padding:.75rem .75rem .65rem}.voice-controls{width:100%;justify-content:flex-start;flex-wrap:wrap}.app-header{flex-wrap:wrap;margin-left:-.75rem;margin-right:-.75rem;padding-left:.95rem;padding-right:.95rem}.chat-actions{margin-left:-.75rem;margin-right:-.75rem;padding-left:.95rem;padding-right:.95rem}.voice-replies-toggle{margin-left:0}.app-shell.collapsed{top:.75rem;right:.75rem;left:.75rem;width:auto}.message-bubble{max-width:90%}}
