.hccc-indicator{display:inline-flex;align-items:center;gap:8px;margin:8px 0 14px;font:600 12px/1.5 system-ui,sans-serif;letter-spacing:.02em;color:#526077}
.hccc-indicator:before{content:"";width:8px;height:8px;border-radius:50%;background:#9ba4af;flex:none}
.hccc-indicator[data-online=true]{color:#176b4c}
.hccc-indicator[data-online=true]:before{background:#22ac73;box-shadow:0 0 0 4px #22ac7318}
[data-hc-check] .hccc-choices{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
[data-hc-check] .hccc-choices button{max-width:100%;border:1px solid #cfd8e3;border-radius:22px;padding:9px 13px;background:#fff;color:#0e2b4c;font:500 12px/1.4 system-ui,sans-serif;text-align:left;cursor:pointer;min-height:40px}
[data-hc-check] .hccc-choices button:hover{background:#f0f4f9;border-color:#0e2b4c}
[data-hc-check] .hccc-choices button:focus-visible,[data-hc-check] a:focus-visible{outline:2px solid #d11515;outline-offset:3px}
[data-hc-check] .sc-check-log{min-height:240px;max-height:460px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
[data-hc-check] .sc-check-answer,[data-hc-check] .sc-check-user{white-space:pre-wrap;overflow-wrap:anywhere}
[data-hc-check] .hccc-sources{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 16px}
[data-hc-check] .hccc-sources a{font:500 11px/1.4 system-ui,sans-serif;color:#315780;background:#eef3f8;border-radius:6px;padding:5px 8px;text-decoration:none;max-width:100%;overflow-wrap:anywhere}
[data-hc-check] .hccc-typing{letter-spacing:5px;animation:hccc-pulse 1s ease-in-out infinite}
@keyframes hccc-pulse{50%{opacity:.35}}
@media(prefers-reduced-motion:reduce){[data-hc-check] .hccc-typing{animation:none}}
@media(max-width:600px){[data-hc-check] .sc-check-log{min-height:220px;max-height:380px}[data-hc-check] .hccc-choices{gap:6px}[data-hc-check] .hccc-choices button{font-size:11px}}

[data-hc-check] .hccc-end-chat{margin:8px 0 0 12px;border:0;background:none;color:inherit;text-decoration:underline;font:inherit;cursor:pointer}
[data-hc-check] .hccc-closing{padding:14px;margin:12px 0;border:1px solid #b9d8c8;border-radius:12px;background:#effaf4}
[data-hc-check] .hccc-closing a{display:block;color:#125539;font:600 13px/1.5 system-ui,sans-serif;text-decoration:none;overflow-wrap:anywhere}
[data-hc-check] .hccc-closing small{display:block;color:#436451;font:400 11px/1.5 system-ui,sans-serif;margin-top:5px}

/* The Experience theme fixes the legacy box height. Let the new controls grow
   naturally and constrain scrolling to the conversation, not its outer box. */
[data-hc-check][data-ai-mounted="1"],
.sc-site .hc-story [data-story-chat].hccc-ai-only [data-hc-check].sc-check{height:auto;max-height:none;min-height:0}
[data-hc-check][data-ai-mounted="1"] .sc-check-box,
.sc-site .hc-story [data-story-chat].hccc-ai-only [data-hc-check].sc-check .sc-check-box{display:flex;flex-direction:column;height:auto;max-height:none;min-height:0;overflow:visible;gap:12px}
[data-hc-check][data-ai-mounted="1"] .sc-check-log,
.sc-site .hc-story [data-story-chat].hccc-ai-only [data-hc-check].sc-check .sc-check-log{flex:0 0 280px;height:280px;min-height:0;max-height:280px;overflow:auto}
[data-hc-check][data-ai-mounted="1"] .sc-check-log>*{flex-shrink:0}
[data-hc-check][data-ai-mounted="1"] .hccc-choices{flex:none;margin:0;max-height:none}
[data-hc-check][data-ai-mounted="1"] .hccc-choices:empty{display:none}
[data-hc-check][data-ai-mounted="1"] :is(form,[data-check-status],[data-check-reset],.hccc-end-chat){flex-shrink:0}
[data-story-chat].hccc-ai-only .hccc-indicator{color:#e4edf5}
[data-story-chat].hccc-ai-only .hccc-indicator[data-online=true]{color:#90e0b9}
@media(max-width:600px){[data-hc-check][data-ai-mounted="1"] .sc-check-log,.sc-site .hc-story [data-story-chat].hccc-ai-only [data-hc-check].sc-check .sc-check-log{flex-basis:240px;height:240px;max-height:240px}}
