.cc-chat { --cc-green:#1e352f; --cc-cream:#f7f4ec; --cc-line:#dedfd4; --cc-gold:#ac8950; position:fixed; z-index:50; right:max(22px,env(safe-area-inset-right)); bottom:calc(22px + env(safe-area-inset-bottom)); color:var(--cc-green); font-family:'Inter', system-ui, sans-serif; font-size:14px; }
.cc-chat *, .cc-chat *::before, .cc-chat *::after { box-sizing:border-box; }
.cc-chat [hidden] { display:none!important; }
.cc-chat button, .cc-chat textarea { font:inherit; }
.cc-chat button { cursor:pointer; }
.cc-chat button:focus-visible, .cc-chat textarea:focus-visible, .cc-chat a:focus-visible, .cc-chat [tabindex]:focus-visible { outline:3px solid var(--cc-gold); outline-offset:3px; }
.cc-chat-launch { display:flex; align-items:center; justify-content:center; gap:12px; min-height:54px; padding:15px 21px; border:1px solid #ffffff30; border-radius:28px; background:var(--cc-green); color:#fffdf5; box-shadow:0 6px 24px #1e352f24; transition:transform .18s ease,box-shadow .18s ease; }
.cc-chat-launch:hover { transform:translateY(-2px); box-shadow:0 9px 28px #1e352f38; }
.cc-chat-launch span { font-size:13px; font-weight:600; }
.cc-chat-panel { position:absolute; right:0; bottom:68px; width:390px; max-width:calc(100vw - 32px); height:590px; max-height:calc(100dvh - 112px); display:flex; flex-direction:column; border:1px solid var(--cc-line); border-radius:18px; background:#fffefa; box-shadow:0 18px 65px #1e352f26; overflow:hidden; animation:cc-chat-appear .18s ease-out; }
.cc-chat-header { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:23px 21px 20px; background:var(--cc-green); color:#fffdf5; }
.cc-chat-eyebrow { font-size:9px; letter-spacing:.18em; color:#d5c49f; }
.cc-chat-header h2 { margin:9px 0 7px; color:inherit; font:400 24px Georgia,serif; letter-spacing:-.5px; line-height:1.2; }
.cc-chat-header p { margin:0; color:#c4d1c7; font-size:11px; line-height:1.5; }
.cc-chat-close { flex-shrink:0; display:grid; place-items:center; width:36px; height:36px; margin:-7px -7px 0 0; padding:0; background:transparent; border:1px solid #ffffff35; border-radius:50%; color:inherit; font-size:26px!important; }
.cc-chat-close:hover { background:#ffffff12; }
.cc-chat-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px; padding:10px 18px; border-bottom:1px solid var(--cc-line); color:#617168; font-size:10px; }
.cc-chat-reset { border:0; background:none; color:var(--cc-green); padding:6px 0; font-size:10px!important; text-decoration:underline; text-underline-offset:3px; }
.cc-chat-messages { flex:1; min-height:60px; overflow:auto; overscroll-behavior:contain; padding:19px 17px 6px; }
.cc-chat-message { width:92%; margin:0 0 15px; padding:13px 14px; border:1px solid var(--cc-line); border-radius:3px 14px 14px; background:var(--cc-cream); overflow-wrap:anywhere; }
.cc-chat-author { display:block; margin-bottom:7px; color:#617168; font-size:9px; font-weight:700; letter-spacing:.035em; }
.cc-chat-message p { margin:0; color:var(--cc-green); font-size:12px; line-height:1.75; white-space:pre-wrap; }
.cc-chat-message-user { margin-left:auto; background:var(--cc-green); border-color:var(--cc-green); border-radius:14px 3px 14px 14px; }
.cc-chat-message-user p { color:#fffdf5; }
.cc-chat-message-user .cc-chat-author { color:#c4d1c7; }
.cc-chat-suggestions { display:flex; flex-wrap:wrap; gap:7px; padding:0 18px 10px; }
.cc-chat-suggestions button { padding:8px 10px; border:1px solid var(--cc-line); border-radius:15px; background:transparent; color:var(--cc-green); font-size:10px; text-align:left; }
.cc-chat-suggestions button:hover { background:var(--cc-cream); border-color:var(--cc-gold); }
.cc-chat-status { flex-shrink:0; margin:0; padding:0 18px; color:#6f4c26; font-size:11px; line-height:1.6; }
.cc-chat-status:not(:empty) { padding-bottom:10px; }
.cc-chat-form { flex-shrink:0; padding:13px 17px 15px; border-top:1px solid var(--cc-line); background:#fffefa; }
.cc-chat-form label { display:block; margin-bottom:7px; font-size:10px; font-weight:600; color:#617168; }
.cc-chat-compose { display:flex; align-items:flex-end; gap:8px; }
.cc-chat-compose textarea { display:block; flex:1; min-width:0; height:65px; max-height:115px; resize:vertical; border:1px solid var(--cc-line); border-radius:9px; padding:10px; background:var(--cc-cream); color:var(--cc-green); font-size:16px; line-height:1.4; }
.cc-chat-compose textarea::placeholder { color:#617168; font-size:12px; }
.cc-chat-send { display:grid; place-items:center; flex-shrink:0; width:43px; height:43px; padding:0; background:var(--cc-green); border:0; border-radius:50%; color:#fffdf5; }
.cc-chat button:disabled { opacity:.5; cursor:wait; }
.cc-chat-disclaimer { margin:10px 0 0; color:#526158; font-size:10px; line-height:1.5; text-align:center; }
.cc-chat-privacy { margin:6px 0 0; color:#617168; font-size:9px; line-height:1.6; text-align:center; }
.cc-chat-privacy a { color:inherit; text-underline-offset:2px; }
@keyframes cc-chat-appear { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
@media(max-width:480px) { .cc-chat { right:12px; bottom:calc(12px + env(safe-area-inset-bottom)); } .cc-chat-launch { padding:14px 17px; } .cc-chat-panel { width:calc(100vw - 24px); bottom:calc(68px + var(--cc-keyboard-offset,0px)); height:610px; max-height:calc(var(--cc-viewport-height,100dvh) - 98px - env(safe-area-inset-bottom)); } .cc-chat-header { padding:18px; } .cc-chat-header h2 { font-size:23px; } }
@media(max-height:520px) { .cc-chat-panel { bottom:0; max-height:calc(var(--cc-viewport-height,100dvh) - 24px); } .cc-chat-header { padding:12px 18px; } .cc-chat-header h2 { font-size:20px; margin:5px 0; } .cc-chat-toolbar { display:none; } }
@media(prefers-reduced-motion:reduce) { .cc-chat-panel { animation:none; } .cc-chat-launch { transition:none; } }

/* Shared launcher polish so the assistant stands out consistently on every page. */
.cc-chat button, .cc-chat a { transition:all 0.3s ease; }
.cc-chat .cc-chat-launch { position:relative; border:1px solid #d5c49f; box-shadow:0 0 0 4px #fffefa,0 8px 28px #1e352f30; }
.cc-chat .cc-chat-launch:hover { background:#304c41; transform:translateY(-2px); box-shadow:0 0 0 4px #fffefa,0 12px 32px #1e352f40; }
.cc-chat .cc-chat-launch:active { transform:translateY(0); }
.cc-chat .cc-chat-launch > svg { box-sizing:content-box; flex-shrink:0; padding:7px; border-radius:50%; background:#ffffff15; color:#f0dfbb; stroke-linecap:round; stroke-linejoin:round; }
.cc-chat .cc-chat-launch::after { content:''; position:absolute; top:4px; right:6px; width:10px; height:10px; border:2px solid #fffefa; border-radius:50%; background:#5fbf7f; }
.cc-chat .cc-chat-launch[aria-expanded="true"]::after { display:none; }
.cc-chat .cc-chat-header h2 { font-family:inherit; font-weight:600; }
.cc-chat .cc-chat-header p, .cc-chat .cc-chat-disclaimer { line-height:1.6; }
.cc-chat .cc-chat-compose textarea { border-radius:8px; }
.cc-chat .cc-chat-send:not(:disabled):hover { background:#304c41; box-shadow:0 4px 12px #1e352f20; }
@media(prefers-reduced-motion:reduce) { .cc-chat button, .cc-chat a { transition:none!important; } }
