.clg-root{font-family:system-ui,Arial,sans-serif;font-size:14px;line-height:1.4}.clg-root,.clg-root *,.clg-root *::before,.clg-root *::after{box-sizing:border-box}.clg-root button,.clg-root input{font-family:inherit}.clg-launch{position:fixed;right:24px;bottom:24px;width:58px;height:58px;border:0;border-radius:50%;background:#f2d044;color:#292d32;font-size:27px;cursor:pointer;box-shadow:0 6px 20px #0003;z-index:10000}.clg-chat{position:fixed;right:24px;bottom:94px;width:min(390px,calc(100vw - 24px));height:min(560px,calc(100dvh - 110px));background:#fff;border-radius:16px;box-shadow:0 12px 40px #0003;display:flex;flex-direction:column;overflow:hidden;z-index:10000}.clg-chat[hidden]{display:none}.clg-header{background:#292d32;color:white;padding:16px;display:flex;justify-content:space-between;align-items:center}.clg-header button{color:white;background:none;border:0;font-size:22px;cursor:pointer}.clg-body{flex:1;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:10px}.clg-bubble{max-width:90%;padding:11px 13px;border-radius:12px;white-space:pre-wrap;line-height:1.45;font-size:14px}.clg-assistant{background:#f1f2f4;align-self:flex-start}.clg-user{background:#fff2b9;align-self:flex-end}.clg-sources{font-size:12px}.clg-actions{padding:10px 14px;display:flex;gap:8px}.clg-actions button{background:#fff;border:1px solid #ccc;border-radius:8px;padding:8px;cursor:pointer}.clg-form{display:flex;padding:12px;gap:8px;border-top:1px solid #ddd}.clg-form input{flex:1;min-width:0;border:1px solid #ccc;border-radius:8px;padding:11px}.clg-form button{border:0;background:#f2d044;border-radius:8px;padding:0 14px;cursor:pointer}.clg-notice{font-size:11px;color:#666;text-align:center;padding:4px 10px 10px}@media(max-width:600px){.clg-chat{right:0;bottom:0;width:100vw;height:100dvh;border-radius:0}.clg-launch{right:16px;bottom:16px}}
.clg-launch[hidden]{display:none}
.clg-header,.clg-actions,.clg-form,.clg-notice{flex-shrink:0}
.clg-header strong{min-width:0;overflow-wrap:anywhere}.clg-close{flex-shrink:0}
.clg-body{min-height:0;overscroll-behavior:contain}.clg-bubble,.clg-sources,.clg-typing{flex-shrink:0}
.clg-form button:disabled{opacity:.45;cursor:not-allowed}
.clg-launch,.clg-form button{background:var(--clg-accent,#f2d044);color:var(--clg-accent-text,#292d32)}
.clg-chat{background:var(--clg-background,#fff);color:var(--clg-text,#292d32)}
.clg-header{background:var(--clg-header,#292d32);color:var(--clg-header-text,#fff)}
.clg-header button{color:inherit}.clg-user{background:var(--clg-accent,#fff2b9);color:var(--clg-accent-text,#292d32)}
.clg-assistant{color:#292d32}.clg-left .clg-chat,.clg-left .clg-launch{left:24px;right:auto}
@media(max-width:600px){.clg-left .clg-chat{left:0;right:0}.clg-left .clg-launch{left:16px}}
.clg-typing{align-self:flex-start;display:flex;align-items:center;gap:5px;padding:15px 17px;border-radius:12px;background:#f1f2f4;min-height:38px}
.clg-typing>span[aria-hidden]{width:6px;height:6px;border-radius:50%;background:#666;animation:clg-typing-dot 1.2s infinite ease-in-out}
.clg-typing>span:nth-child(3){animation-delay:.15s}.clg-typing>span:nth-child(4){animation-delay:.3s}
.clg-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@keyframes clg-typing-dot{0%,60%,100%{transform:translateY(0);opacity:.4}30%{transform:translateY(-4px);opacity:1}}
@media(prefers-reduced-motion:reduce){.clg-typing>span[aria-hidden]{animation:none;opacity:.7}}
@media(max-width:600px),(hover:none) and (pointer:coarse){
  .clg-chat,.clg-left .clg-chat{left:0;right:0;top:var(--clg-visible-top,0px);bottom:auto;width:100%;height:var(--clg-visible-height,100dvh);border-radius:0}
  .clg-header{padding-top:max(16px,env(safe-area-inset-top));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
  .clg-form input{font-size:16px}
  .clg-notice{padding-bottom:max(10px,env(safe-area-inset-bottom))}
}

.clg-agent-name{display:block;font-size:11px;font-weight:600;margin-bottom:4px;opacity:.8}
.clg-more{margin-top:10px;white-space:normal}.clg-more a{color:#174f3e;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}

.clg-root [hidden]{display:none!important}.clg-intake{padding:20px;overflow:auto;flex:1;min-height:0}.clg-intake h3{margin:0 0 16px;font-size:18px}.clg-intake label{display:block;margin:12px 0;font-size:14px}.clg-intake input{display:block;box-sizing:border-box;width:100%;margin-top:6px;padding:10px;border:1px solid #cbd5d1;border-radius:8px;font:inherit;font-size:16px}.clg-intake p{font-size:12px;line-height:1.5}.clg-intake button{background:var(--clg-accent,#f2d044);color:var(--clg-accent-text,#172a21);border:0;border-radius:8px;padding:12px 16px;font-weight:600;cursor:pointer}.clg-intake-error{color:#9c2929}
