.co-chat{height:100%;max-height:100dvh;display:flex;flex-direction:column;background:#fff;color:#202b32;font:15px/1.5 Arial,sans-serif;box-sizing:border-box}.co-chat *{box-sizing:border-box}.co-chat header{flex:none;position:relative;border-bottom:1px solid #e6e9eb;padding:18px 20px}.co-chat-brand{font-size:11px;color:#d4470a;letter-spacing:1.6px;font-weight:bold}.co-chat h2{font-size:20px;margin:2px 35px 0 0}.co-chat header button{position:absolute;right:15px;top:23px;border:0;font-size:27px;color:#5b6870;background:none}.co-chat-thread{padding:16px 20px 20px;flex:1;overflow-y:auto;min-height:0;overscroll-behavior:contain}.co-chat-bubble{background:#f4f5f6;border-radius:16px 16px 16px 3px;padding:12px 14px;margin:0 20px 12px 0}.co-chat-user{background:#fff3ec;border-radius:16px 16px 3px 16px;margin-left:30px;margin-right:0}.co-chat-card,.co-chat-selection{border:1px solid #dce2e5;border-radius:15px;padding:14px;margin:10px 0}.co-chat h3{font-size:17px;margin:0 0 8px}.co-chat p{overflow-wrap:anywhere}.co-chat-card p{margin:0 0 10px}.co-chat a{color:#a63709}.co-chat button{font:inherit;cursor:pointer;border:1px solid #dce2e5;border-radius:9px;background:white;padding:10px 12px;min-height:44px;color:inherit}.co-chat-card>button{display:block;width:100%;margin-top:10px}.co-chat button[aria-pressed=true]{background:#fff3ec;border-color:#d4470a}.co-chat button.co-chat-primary{background:#d4470a;border-color:#d4470a;color:white;font-weight:bold}.co-chat-chips{display:flex;flex-wrap:wrap;gap:7px}.co-chat-chips button{font-size:13px;border-radius:24px}.co-chat-selection button{margin:4px;font-size:13px}.co-chat label{display:block;color:#5b6870;font-size:13px;margin:9px 0}.co-chat input:not([type=checkbox]){display:block;width:100%;font:inherit;font-size:16px;border:1px solid #dce2e5;border-radius:8px;min-height:44px;padding:9px;margin-top:4px}.co-chat input[type=checkbox]{margin-right:8px}.co-chat-composer{flex:none;padding:12px 16px max(12px,env(safe-area-inset-bottom));border-top:1px solid #e6e9eb;background:#fff}.co-chat-input-row{display:flex;gap:8px;border:1px solid #dce2e5;border-radius:24px;padding:6px 7px 6px 14px}.co-chat textarea{border:0;resize:none;min-width:0;flex:1;font:inherit;font-size:16px;min-height:42px;max-height:110px;padding:8px 0;outline-offset:2px}.co-chat-composer button{background:#d4470a;color:white;border-radius:50%;width:42px;padding:5px}.co-chat-human{display:block;text-align:center;font-size:12px;margin-top:8px}.co-chat-status{margin:0;padding:0 16px;color:#a63709;font-size:13px}.co-chat-status:empty{display:none}.co-chat-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
/* Inert candidate launcher. No public page imports this file yet. */
.co-chat-launcher>button{position:fixed;bottom:18px;right:18px;z-index:99990;background:#d4470a;color:#fff;border:0;border-radius:28px;padding:14px 20px;font:600 16px Arial,sans-serif;min-height:48px}.co-chat-launcher dialog{padding:0;border:1px solid #dce2e5;border-radius:18px;width:min(480px,calc(100vw - 24px));max-width:calc(100vw - 24px);height:min(760px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);overflow:hidden}.co-chat-launcher dialog[open]{display:flex;flex-direction:column}.co-chat-launcher dialog>div:first-child{flex:1;min-height:0}.co-chat-security{flex:none;max-width:100%;overflow-x:auto;background:#fff}.co-chat-security:not(:empty){padding:8px 12px;border-top:1px solid #e6e9eb}.co-chat-security:empty{display:none}.co-chat-launcher dialog::backdrop{background:rgba(20,30,35,.35)}
.co-chat button:disabled,.co-chat-launcher button:disabled{opacity:.45;cursor:not-allowed;filter:grayscale(.25)}

/* Compact current ideas; reviewed activity links and44px controls stay readable. */
.co-chat-thread{padding:12px 16px 16px}.co-chat-card{padding:12px;margin:8px 0}.co-chat-card h3{font-size:16px;margin-bottom:4px}.co-chat-card p{font-size:14px;margin-bottom:6px}.co-chat-card>a{font-size:13px}.co-chat-card>button{margin-top:8px}.co-chat-bubble{padding:10px 12px}.co-chat-suggestions{margin:0}

.co-chat-reply-detail{font-size:14px;overflow-wrap:anywhere}.co-chat-reply-detail p{margin:8px 0}.co-chat-price{font-size:20px;font-weight:bold}.co-chat-price-label{font-size:12px;color:#5b6870}.co-chat-reply-detail summary{cursor:pointer;min-height:44px;padding:10px 0}.co-chat-reply-detail>button{width:100%;margin:8px 0}

/* Returning intent remains a conversation; a locked composer stays visible. */
.co-chat-return{padding:16px 0;color:#202b32}
.co-chat-return p{line-height:1.5}
.co-chat-return button,.co-chat-return a{display:inline-flex;align-items:center;min-height:46px;max-width:100%;margin:6px 8px 6px 0;padding:10px 14px;border:1px solid #a8420c;border-radius:24px;background:#fff;color:#8c3309;font:600 14px/1.4 Arial;text-align:left;text-decoration:none;cursor:pointer}
.co-chat-return button:disabled{opacity:.55;cursor:not-allowed}
.co-chat-return .co-chat-return-saved{font-size:12px;color:#5b6870}
.co-chat-return-context{white-space:pre-wrap;overflow-wrap:anywhere}
.co-chat-input-row:has(textarea:disabled){background:#f5f6f6}

/* Fixed square: resist inherited theme padding/min-height and flex shrink. */
.co-chat .co-chat-composer button[aria-label="Send message"]{box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;max-height:44px;aspect-ratio:1 / 1;padding:0;border-radius:50%;flex:0 0 44px;align-self:center;display:grid;place-items:center;line-height:1;appearance:none;}

/* Intercom-style conversation. Scoped to avoid the host theme changing geometry. */
.co-chat{background:#fffdfa;color:#252525;font:14px/1.5 Arial,sans-serif}
.co-chat header{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#fff;border-bottom:1px solid #eee}
.co-chat-avatar{display:grid;place-items:center;background:#a6420e;color:#fff;width:34px;height:34px;flex:0 0 34px;border-radius:50%;font:bold 16px Arial}
.co-chat-identity{flex:1;min-width:0}.co-chat .co-chat-identity h2{font-size:15px;line-height:1.4;margin:0;font-weight:700;letter-spacing:0;text-transform:none}
.co-chat .co-chat-identity p{font-size:12px;line-height:1.5;color:#6c6c6c;margin:2px 0 0}
.co-chat header button{position:static;display:grid;place-items:center;flex:0 0 36px;width:36px;height:40px;min-height:40px;padding:0;border:0;border-radius:8px;font:24px/1 Arial;background:transparent;color:#555}
.co-chat-thread{padding:20px 16px;background:#fffdfa;scrollbar-width:thin}
.co-chat-author{display:flex;align-items:center;gap:7px;font-size:11px;color:#626262;margin:0 0 7px 3px}
.co-chat-author .co-chat-avatar{width:20px;height:20px;flex-basis:20px;font-size:11px}
.co-chat-bubble{background:#f2f2f2;color:#252525;border-radius:18px;max-width:92%;padding:12px 14px;margin:0 0 12px;overflow-wrap:anywhere}
.co-chat-user{margin-left:auto;background:#a6420e;color:#fff;border-radius:18px 18px 5px 18px;max-width:82%}
.co-chat-chips{margin:2px 0 14px;gap:8px}.co-chat-chips button{border:0;background:#ffeadb;color:#843208;border-radius:24px;min-height:46px;padding:10px 14px;font-weight:600;font-size:13px}
.co-chat-card,.co-chat-selection{background:#fff;border-color:#e3ded9;border-radius:16px}
.co-chat button.co-chat-primary{background:#a6420e;border-color:#a6420e;font-weight:600}
.co-chat-return{padding:0}.co-chat-return .co-chat-return-choice{background:#ffeadb;color:#843208;border:0;border-radius:24px;font-size:13px;font-weight:600}
.co-chat-return .co-chat-return-saved{font-size:12px;line-height:1.5;color:#686868;margin:7px 0 12px}
.co-chat-composer{padding:12px 14px max(8px,env(safe-area-inset-bottom));border-top:0;background:#fffdfa}
.co-chat-input-row{align-items:center;background:#fff;border:1px solid #d6d6d6;border-radius:29px;padding:5px 5px 5px 15px}
.co-chat-input-row:focus-within{outline:2px solid #a6420e;outline-offset:1px}
.co-chat textarea{font:16px/1.4 Arial;min-height:34px;height:34px;padding:6px 0;background:transparent;outline:none;border:0;border-radius:0;box-shadow:none;margin:0}
.co-chat .co-chat-composer button[aria-label="Send message"]{background:#a6420e;color:#fff;font-size:23px}
.co-chat .co-chat-composer button[aria-label="Send message"]:disabled{background:#e3e3e3;color:#999;opacity:1}
.co-chat-attribution{font-size:10px;color:#737373;text-align:center;margin:7px 0 0}.co-chat .co-chat-human{display:inline;font-size:10px;color:#666;margin:0}
.co-chat-typing{background:#f2f2f2;border-radius:18px;width:60px;padding:14px;display:flex;gap:4px;margin-bottom:12px}
.co-chat-typing i{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#858585;animation:co-chat-dot 1s infinite alternate}.co-chat-typing i:nth-child(2){animation-delay:.15s}.co-chat-typing i:nth-child(3){animation-delay:.3s}
@keyframes co-chat-dot{to{opacity:.35;transform:translateY(-2px)}}
.co-chat button:focus-visible,.co-chat a:focus-visible{outline:2px solid #a6420e;outline-offset:2px}
.co-chat-launcher dialog.co-chat-dialog-expanded{width:min(760px,calc(100vw - 24px));height:calc(100dvh - 24px)}
@media(max-width:340px){.co-chat header{padding:12px 10px;gap:7px}.co-chat .co-chat-identity p{font-size:11px}.co-chat header button{width:32px;flex-basis:32px}.co-chat-thread{padding:16px 12px}}
@media(prefers-reduced-motion:reduce){.co-chat-typing i{animation:none}}
