.chat-inbox{color:#19202b;background:#fff;border:1px solid #e5e7eb;border-radius:20px;height:min(76vh,820px);min-height:440px;display:flex;position:relative;overflow:hidden;box-shadow:0 8px 40px #11182706}.chat-sidebar{border-right:1px solid #e5e7eb;flex-shrink:0;width:330px;padding:12px;overflow-y:auto}.chat-heading{border-bottom:1px solid #f0f0f0;align-items:center;gap:12px;padding:16px;display:flex}.chat-heading h1,.chat-heading h2{margin:0;font-size:19px;font-weight:750}.chat-heading p{color:#77808f;margin:4px 0;font-size:12px}.chat-primary,.chat-secondary{cursor:pointer;border:0;border-radius:10px;padding:11px 16px;font-size:13px;font-weight:650}.chat-primary{color:#fff;background:#ef1826}.chat-primary:disabled{opacity:.5;cursor:default}.chat-sidebar>.chat-primary,.chat-sidebar>.chat-secondary{width:100%;margin-top:10px}.chat-secondary{color:#384252;background:#f3f4f6}.chat-thread{text-align:left;cursor:pointer;width:100%;color:inherit;background:0 0;border:0;border-radius:12px;align-items:center;gap:10px;padding:14px 10px;display:flex}.chat-thread:hover,.chat-thread-active{background:#fff0f1}.chat-avatar{color:#a91b25;background:#f3e6e7;border-radius:50%;flex-shrink:0;place-items:center;width:40px;height:40px;font-weight:700;display:grid}.chat-thread-copy{flex:1;gap:4px;min-width:0;display:grid}.chat-thread-copy strong{font-size:13px}.chat-thread-copy small,.chat-thread-copy>span{color:#737b87;white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.chat-count{color:#fff;background:#ef1826;border-radius:20px;padding:2px 7px;font-size:11px}.chat-conversation{flex-direction:column;flex:1;min-width:0;display:flex}.chat-history{background:#fafafa;flex-direction:column;flex:1;gap:12px;padding:24px;display:flex;overflow-y:auto}.chat-bubble{overflow-wrap:anywhere;background:#fff;border:1px solid #e9e9ed;border-radius:16px 16px 16px 3px;align-self:flex-start;max-width:80%;padding:12px 15px}.chat-bubble strong{color:#737b87;font-size:11px}.chat-bubble p{white-space:pre-wrap;margin:5px 0;font-size:14px;line-height:1.6}.chat-bubble time{color:#878d97;font-size:10px}.chat-mine{background:#fff0f1;border-color:#ffdcdf;border-radius:16px 16px 3px;align-self:flex-end}.chat-composer{border-top:1px solid #eee;align-items:flex-end;gap:12px;padding:16px;display:flex}.chat-composer textarea{resize:none;min-width:0;font:inherit;border:1px solid #ddd;border-radius:12px;flex:1;max-height:150px;padding:12px}.chat-welcome{text-align:center;color:#6b7280;place-content:center;height:100%;padding:24px;display:grid}.chat-welcome>span{color:#e02131;font-size:60px}.chat-welcome h2{color:#222;font-size:21px;font-weight:700}.chat-empty{color:#7a8290;padding:24px;font-size:13px;line-height:1.8}.chat-error{color:#b91c1c;padding:8px 16px;font-size:13px}.chat-notice{color:#fff;background:#202938;border-radius:10px;padding:12px;font-size:13px;position:absolute;bottom:80px;left:20px;right:20px}.chat-back{display:none}.chat-inbox button:focus-visible,.chat-inbox textarea:focus-visible{outline-offset:2px;outline:2px solid #e11d48}@media (max-width:700px){.chat-inbox{border-radius:12px;height:calc(100dvh - 140px);min-height:400px}.chat-sidebar{border:0;width:100%}.chat-conversation{width:100%}.chat-mobile-hidden{display:none}.chat-back{background:0 0;border:0;font-size:22px;display:block}.chat-history{padding:14px}.chat-composer,.chat-heading{padding:12px}.chat-heading h2{font-size:15px}html:has(.messages-page-shell){overscroll-behavior:none;scrollbar-gutter:auto;overflow:hidden}body:has(.messages-page-shell){overscroll-behavior:none;overflow:hidden}.messages-page-shell{--chat-site-header-height:64px;top:var(--chat-viewport-top,0px);height:var(--chat-viewport-height,100dvh);background:var(--bg);min-width:0;position:fixed;left:0;right:0;overflow:hidden}.messages-page-shell>header{position:absolute}.messages-page{width:100%;min-width:0;max-width:none;height:100%;min-height:0;padding:calc(var(--chat-site-header-height) + 8px) 8px calc(8px + env(safe-area-inset-bottom));flex-direction:column;margin:0;display:flex;overflow:hidden}.messages-page .chat-inbox{flex:1;width:100%;min-width:0;max-width:100%;height:100%;min-height:0}.messages-page .chat-sidebar,.messages-page .chat-conversation,.messages-page .chat-history{overscroll-behavior:contain;min-width:0;min-height:0}.messages-page .chat-sidebar,.messages-page .chat-history{overflow:hidden auto}.messages-page .chat-heading,.messages-page .chat-composer,.messages-page .chat-bubble{flex-shrink:0}.messages-page .chat-heading>div{overflow-wrap:anywhere;min-width:0}.messages-page .chat-composer{background:#fff}.messages-page .chat-composer textarea{font-size:16px}}@media (min-width:640px) and (max-width:700px){.messages-page-shell{--chat-site-header-height:80px}}.chat-time-group{flex-direction:column;flex-shrink:0;gap:14px;width:100%;min-width:0;display:flex}.chat-group-time{color:#878d97;text-align:center;align-self:center;margin:4px 0;font-size:11px}.chat-message-run{align-self:flex-start;align-items:flex-end;gap:8px;min-width:0;max-width:85%;display:flex}.chat-message-run-mine{flex-direction:row-reverse;align-self:flex-end}.chat-message-profile{color:#77808f;background:#eceef2;border-radius:50%;flex:0 0 30px;place-items:center;width:30px;height:30px;display:grid;overflow:hidden}.chat-message-profile img{object-fit:cover;width:100%;height:100%}.chat-run-bubbles{flex-direction:column;gap:4px;min-width:0;display:flex}.chat-run-bubbles .chat-bubble{flex-shrink:0;max-width:100%}.chat-run-bubbles .chat-bubble p{margin:0}.chat-input-field{background:#fff;border:1px solid #e4e7ec;border-radius:14px;flex:1;min-width:0;position:relative}.chat-composer .chat-input-field textarea{border-radius:inherit;background:0 0;border:0;width:100%;min-height:64px;margin:0;padding:14px 60px 14px 16px;line-height:1.5;display:block}.chat-composer .chat-input-field textarea,.chat-composer .chat-input-field textarea:focus,.chat-composer .chat-input-field textarea:focus-visible{box-shadow:none;outline:none}.chat-composer .chat-send-button{border-radius:10px;place-items:center;width:36px;height:36px;padding:0;display:grid;position:absolute;bottom:10px;right:10px}.chat-send-button svg{width:18px;height:18px}.chat-send-icon-busy{animation:1s linear infinite chat-send-spin}@keyframes chat-send-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.chat-send-icon-busy{animation:none}}.chat-push-status{color:#92400e;background:#fffbeb;border:1px solid #f5d8a6;border-radius:10px;flex-shrink:0;margin-bottom:8px;padding:10px 14px;font-size:12px;line-height:1.5}.chat-message-link{color:#b91c1c;text-underline-offset:3px;overflow-wrap:anywhere;text-decoration:underline}.chat-run-bubbles .chat-listing-bubble{width:260px;max-width:100%;padding:0;overflow:hidden}.chat-car-preview{color:inherit;text-decoration:none;display:block}.chat-car-preview-image{aspect-ratio:16/10;color:#737b87;background:#eceef2;place-items:center;width:100%;font-size:12px;display:grid;overflow:hidden}.chat-car-preview-image img{object-fit:cover;width:100%;height:100%}.chat-car-preview-copy{gap:6px;padding:12px;display:grid}.chat-car-preview-copy strong{color:inherit;font-size:14px;line-height:1.5}.chat-car-preview-copy>span{color:#b91c1c;font-size:12px}.chat-car-preview:focus-visible{outline-offset:-3px;outline:2px solid #e11d48}.chat-car-preview-details{gap:5px;margin:3px 0;font-size:12px;display:grid}.chat-car-preview-details>div{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.chat-car-preview-details dt{color:#737b87;flex-shrink:0}.chat-car-preview-details dd{text-align:right;overflow-wrap:anywhere;min-width:0;margin:0;font-weight:600}.chat-bubble-row{align-self:flex-start;align-items:flex-end;gap:6px;min-width:0;max-width:100%;display:flex}.chat-bubble-row-mine{flex-direction:row-reverse;align-self:flex-end}.chat-run-bubbles .chat-bubble-row>.chat-bubble{flex-shrink:1;min-width:0}.chat-message-receipt{color:#737b87;white-space:nowrap;flex-shrink:0;padding-bottom:10px;font-size:10px}.chat-delivery-pending{color:#737b87;margin:0;padding:4px 16px;font-size:11px}.chat-message-actionable{-webkit-touch-callout:none;position:relative}.chat-message-actionable img{-webkit-user-drag:none}.chat-message-actionable:focus-visible{outline-offset:3px;border-radius:12px;outline:2px solid #e11d48}.chat-message-actions{z-index:20;background:#fff;border:1px solid #e4e7ec;border-radius:10px;min-width:140px;padding:4px;display:grid;position:absolute;top:0;right:0;box-shadow:0 4px 20px #19202b26}.chat-message-actions button{color:#b91c1c;text-align:left;cursor:pointer;background:#fff;border:0;border-radius:6px;padding:10px 12px;font-size:12px}.chat-message-actions button:hover,.chat-message-actions button:focus-visible{background:#fff0f1}.chat-message-actions button:last-child{color:#737b87}.chat-message-deleted{color:#737b87;font-style:italic}.chat-reply-quote{background:#eceef2;border-left:3px solid #ef1826;border-radius:6px;gap:3px;margin:0 0 8px;padding:8px 10px;font-size:12px;display:grid}.chat-reply-quote strong{color:#b91c1c;font-size:11px}.chat-reply-quote>span{-webkit-line-clamp:2;white-space:pre-wrap;overflow-wrap:anywhere;color:#596272;-webkit-box-orient:vertical;line-height:1.5;display:-webkit-box;overflow:hidden}.chat-listing-bubble>.chat-reply-quote{margin:10px}.chat-reply-composer{background:#fff;border-top:1px solid #eee;flex-shrink:0;align-items:flex-start;gap:8px;padding:10px 14px 0;display:flex}.chat-reply-composer>div{flex:1;min-width:0}.chat-reply-composer small{color:#737b87;margin-bottom:4px;font-size:11px;display:block}.chat-reply-composer .chat-reply-quote{margin-bottom:0}.chat-reply-composer>button{color:#737b87;cursor:pointer;background:0 0;border:0;padding:0 5px;font-size:24px}.chat-reply-link{text-align:left;cursor:pointer;border-top:0;border-bottom:0;border-right:0;width:100%;font-family:inherit}.chat-reply-link:hover{background:#e3e6ed}.chat-reply-link:focus-visible{outline-offset:2px;outline:2px solid #e11d48}.chat-message-entry{flex-direction:column;gap:4px;min-width:0;max-width:100%;display:flex}.chat-message-entry:focus{outline:none}.chat-message-target .chat-bubble{box-shadow:0 0 0 3px #f6c452}.chat-jump-controls{color:#737b87;background:#fff8e6;flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding:8px 14px;font-size:12px;display:flex}.chat-jump-controls button{color:#b91c1c;cursor:pointer;background:#fff;border:0;border-radius:6px;flex-shrink:0;padding:5px 8px}.chat-photo{color:#737b87;background:#eceef2;border-radius:10px;place-items:center;width:240px;max-width:100%;min-height:120px;font-size:12px;display:grid;overflow:hidden}.chat-photo-open{cursor:zoom-in;background:0 0;border:0;width:100%;padding:0;display:block}.chat-photo-open img{object-fit:contain;width:100%;max-height:300px;display:block}.chat-photo-viewer{background:#111827;border:0;border-radius:12px;width:min(94vw,1100px);max-height:94dvh;padding:36px 12px 12px;position:fixed}.chat-photo-viewer::backdrop{background:#000c}.chat-photo-viewer>img{object-fit:contain;width:100%;max-height:82dvh;display:block}.chat-photo-viewer>button{color:#fff;cursor:pointer;background:0 0;border:0;padding:0 8px;font-size:28px;position:absolute;top:2px;right:10px}.chat-photo-attachment{flex-shrink:0;position:relative}.chat-attach-button{color:#b91c1c;cursor:pointer;background:#fff0f1;border:0;border-radius:8px;place-items:center;width:32px;height:36px;margin-bottom:10px;padding:6px;display:grid}.chat-attach-button svg{width:20px;height:20px}.chat-attach-button:disabled{opacity:.5;cursor:default}.chat-photo-draft{border-top:1px solid #eee;flex-shrink:0;align-items:center;gap:10px;padding:8px 14px;font-size:12px;display:flex}.chat-photo-draft img{object-fit:cover;border-radius:8px;width:60px;height:60px}.chat-photo-draft button{color:#b91c1c;cursor:pointer;background:0 0;border:0;margin-left:auto}.chat-photo-error{z-index:3;color:#b91c1c;background:#fff;border-radius:8px;width:220px;padding:10px;position:absolute;bottom:50px;left:0;box-shadow:0 2px 12px #0002}
