/* Coastal Assistant: scoped to avoid inheriting page-specific form and card styles. */
.cg-launcher,.cg-welcome,.cg-dialog{font:14px/1.55 Arial,sans-serif;color:#153b4d;box-sizing:border-box}
.cg-launcher *,.cg-welcome *,.cg-dialog *{box-sizing:border-box}
.cg-avatar{display:block;object-fit:cover;object-position:50% 35%;border-radius:50%;flex-shrink:0}
.cg-launcher{position:fixed;right:max(22px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:1100;display:flex;align-items:center;gap:11px;padding:7px 16px 7px 7px;border:1px solid #b4d7df;border-radius:40px;background:#092b46;color:#fff;box-shadow:0 5px 24px #041f3430;cursor:pointer;text-align:left}
.cg-launcher:hover{background:#164c60}.cg-launcher .cg-avatar{width:46px;height:46px;border:2px solid #cce7eb}
.cg-launcher strong{display:block;font:600 14px/1.5 Arial,sans-serif}.cg-launcher small{display:block;font:11px/1.4 Arial,sans-serif;color:#cce1e8}.cg-launcher .cg-spark{color:#b0e5e5;font-size:19px;margin-left:4px}
.cg-welcome{position:fixed;z-index:1101;right:max(22px,env(safe-area-inset-right));bottom:max(96px,calc(env(safe-area-inset-bottom) + 78px));width:330px;max-width:calc(100% - 28px);padding:20px;border:1px solid #d3e2e6;border-top:3px solid #82c1cf;border-radius:16px;background:#fff;box-shadow:0 16px 48px #092b462b;animation:cg-arrive .24s ease-out}
.cg-welcome[hidden]{display:none}.cg-welcome .cg-welcome-person{display:flex;align-items:center;gap:11px;padding-right:22px}.cg-welcome .cg-avatar{width:44px;height:44px}
.cg-welcome-person strong{display:block;font:600 13px/1.5 Arial,sans-serif}.cg-welcome-person span{display:block;font:11px/1.5 Arial,sans-serif;color:#58727d}
.cg-welcome .cg-welcome-close{position:absolute;right:7px;top:6px;min-width:36px;min-height:36px;border:0;background:transparent;color:#476775;font:25px/1 Arial;cursor:pointer;border-radius:50%}
.cg-welcome #cg-welcome-question{margin:17px 0 15px;font:400 22px/1.25 Georgia,serif;color:#173e51;letter-spacing:-.02em}
.cg-welcome #cg-welcome-start{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:44px;padding:11px 12px;background:#edf5f5;border:1px solid #bfd6db;border-radius:8px;color:#164b5d;font:600 12px/1.5 Arial,sans-serif;text-align:left;cursor:pointer}
.cg-welcome #cg-welcome-start:hover{background:#deeeee}
.cg-dialog{position:fixed;inset:auto 22px 20px auto;margin:0;padding:0;width:min(500px,calc(100% - 32px));max-width:none;height:min(780px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);border:1px solid #d3e0e5;border-radius:22px;background:#fff;box-shadow:0 24px 80px #05243755;overflow:hidden}
.cg-dialog[open]{display:flex;flex-direction:column}.cg-dialog::backdrop{background:#05243740}
.cg-dialog .cg-header{display:flex;flex:0 0 auto;align-items:center;gap:12px;background:#fff;color:#173e51;padding:16px 20px;border-bottom:1px solid #e9eef0}
.cg-dialog .cg-header .cg-avatar{width:42px;height:42px;border:1px solid #d2e1e5}.cg-dialog .cg-identity{flex:1;min-width:0}
.cg-dialog .cg-eyebrow{font:600 8px/1.3 Arial,sans-serif;letter-spacing:.12em;color:#a5dce2}
.cg-dialog #cg-title{font:600 18px/1.3 Arial,sans-serif;letter-spacing:-.02em;margin:0 0 3px;color:#173e51}
.cg-dialog .cg-header p{font:11px/1.4 Arial,sans-serif;color:#627b86;margin:0}
.cg-dialog .cg-icon{width:40px;min-width:40px;height:44px;border:0;border-radius:50%;background:transparent;color:#496571;font:26px/1 Arial;cursor:pointer}
.cg-dialog .cg-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex:0 0 auto;padding:3px 20px;background:#e8f1f1;border-bottom:1px solid #d7e5e5;font-size:11px;color:#385866}
.cg-dialog .cg-toolbar button{border:0;background:none;color:#245666;text-decoration:underline;font:12px Arial;min-height:40px;cursor:pointer}
.cg-dialog .cg-log{flex:1;min-height:80px;overflow-y:auto;overscroll-behavior:contain;padding:20px 24px;scrollbar-gutter:stable}
.cg-dialog .cg-message{padding:16px 0;border-radius:14px;margin:0 0 20px;overflow-wrap:anywhere;font:14px/1.6 Arial,sans-serif}
.cg-dialog .cg-assistant{background:transparent;border:0;border-radius:0}
.cg-dialog .cg-byline{display:flex;align-items:center;gap:8px;margin:0 0 14px;color:#54717c;font:600 10px/1.4 Arial,sans-serif;letter-spacing:.02em}
.cg-dialog .cg-byline .cg-avatar{width:26px;height:26px}
.cg-dialog .cg-visitor{margin-left:48px;padding:13px 16px;background:#edf2f4;border-radius:20px;color:#163b4b;white-space:pre-wrap}
.cg-dialog .cg-message h3{font:600 25px/1.22 Arial,sans-serif;letter-spacing:-.035em;color:#173e51;margin:0 0 14px}
.cg-dialog .cg-message p{font:14px/1.6 Arial,sans-serif;color:inherit;margin:0 0 11px;white-space:pre-line}.cg-dialog .cg-message p:last-child{margin-bottom:0}
.cg-dialog .cg-actions{display:flex;flex-direction:column;align-items:flex-start;gap:9px;margin-top:12px}
.cg-dialog .cg-actions :is(button,a){display:flex;align-items:center;justify-content:flex-start;text-align:left;border:1px solid #d7e1e5;border-radius:22px;background:#fff;color:#254e60;padding:10px 14px;min-height:44px;font:400 13px/1.4 Arial,sans-serif;text-decoration:none;cursor:pointer;max-width:100%;overflow-wrap:anywhere;gap:12px}
.cg-dialog .cg-actions :is(button,a)::after{display:none}.cg-dialog .cg-actions :is(button,a):hover{background:#e3f0f1;border-color:#3c7a8c}
.cg-dialog .cg-sources{border-top:1px solid #dce6e6;padding-top:12px;display:grid;gap:6px;font-size:11px}.cg-dialog .cg-sources a{color:#236174;text-decoration:underline;min-height:32px;display:inline-flex;align-items:center}
.cg-dialog .cg-compose{flex:0 0 auto;border-top:0;padding:8px 20px 14px;background:white}
.cg-dialog #cg-form{padding:0;margin:0;border:0;background:transparent;border-radius:0;box-shadow:none}
.cg-dialog .cg-compose label{display:block;color:#274d60;font:600 12px/1.4 Arial,sans-serif;margin:0 0 8px}.cg-dialog .cg-input-row{display:flex;align-items:flex-end;gap:8px;padding:12px;background:#f7f9fa;border:1px solid #d4e0e5;border-radius:24px;box-shadow:0 2px 8px #153b4d08}.cg-dialog .cg-input-row:focus-within{border-color:#729cab;box-shadow:0 0 0 2px #d6e8ed}
.cg-dialog #cg-question{flex:1;min-width:0;width:auto;height:48px;min-height:48px;max-height:140px;resize:none;overflow-y:auto;border:0;border-radius:0;padding:3px 2px;margin:0;background:transparent;color:#092b46;font:16px/1.5 Arial,sans-serif;box-shadow:none;outline:none}
.cg-dialog .cg-input-row button{flex:0 0 36px;width:36px;height:36px;min-height:36px;border:0;border-radius:50%;background:#092b46;color:white;font:24px Arial,sans-serif;cursor:pointer}.cg-dialog .cg-input-row button:disabled{background:#d9e2e6;color:#6e8490;cursor:default}
.cg-dialog .cg-compose p{font:10px/1.5 Arial,sans-serif;color:#607884;margin:9px 0 3px;text-align:center}.cg-dialog .cg-call{font:400 11px/1.5 Arial,sans-serif;color:#195466;display:flex;justify-content:center;align-items:center;min-height:28px}
.cg-dialog .cg-loading{font:14px/1.5 Arial,sans-serif;padding:12px}.cg-dialog :is(button,a,input,summary,textarea):focus-visible,.cg-launcher:focus-visible,.cg-welcome button:focus-visible{outline:3px solid #de9e33;outline-offset:3px}
.cg-dialog .cg-research{border:0;border-block:1px solid #dce6e6;margin:12px 0;padding:0}.cg-dialog .cg-research summary{display:list-item;list-style:disclosure-closed inside;min-height:44px;padding:12px 0;color:#21596a;font:600 12px/1.5 Arial,sans-serif;cursor:pointer}.cg-dialog .cg-research[open] summary{list-style-type:disclosure-open}.cg-dialog .cg-research summary:after{display:none}.cg-dialog .cg-research p{font-size:12px}.cg-dialog .cg-research .cg-sources{margin-bottom:12px}
.cg-inquiry-note{padding:15px 18px;background:#e9f4f3;border-left:3px solid #1e6979;color:#204c5b;font-size:14px;margin-bottom:22px}.cg-inquiry-note p{margin:0}.cg-inquiry-note button{min-height:44px;border:0;background:none;color:#185466;text-decoration:underline;padding:8px 0;font:inherit;cursor:pointer}
@keyframes cg-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){
 .cg-launcher{right:14px;bottom:max(14px,env(safe-area-inset-bottom));padding:6px 13px 6px 6px;gap:9px}.cg-launcher .cg-avatar{width:40px;height:40px}.cg-launcher small{font-size:10px}
 .cg-welcome{right:14px;bottom:max(82px,calc(env(safe-area-inset-bottom) + 68px));padding:18px}.cg-welcome #cg-welcome-question{font-size:21px}
 .cg-dialog{inset:auto 8px 8px;width:calc(100% - 16px);height:calc(100dvh - 16px);max-height:760px;border-radius:14px}.cg-dialog .cg-header{padding:13px 12px;gap:9px}.cg-dialog .cg-header .cg-avatar{width:36px;height:36px}.cg-dialog #cg-title{font-size:18px}.cg-dialog .cg-eyebrow{font-size:7px}.cg-dialog .cg-icon{min-width:32px;width:32px}
 .cg-dialog .cg-log{padding:16px 17px}.cg-dialog .cg-compose{padding:12px 14px max(12px,env(safe-area-inset-bottom))}.cg-dialog .cg-message{padding:12px 0}.cg-dialog .cg-visitor{padding:12px 14px}.cg-dialog #cg-question{padding:3px 2px}.cg-dialog .cg-toolbar{padding-inline:15px}.cg-dialog .cg-message h3{font-size:23px}
}
@media(prefers-reduced-motion:reduce){.cg-welcome{animation:none}.cg-dialog *{scroll-behavior:auto}}

/* Suggested questions lead to one primary action. */
.cg-dialog .cg-context{display:flex;align-items:center;gap:7px;flex:0 0 auto;padding:9px 22px;background:#f7fafb;color:#6a818b;font:11px/1.4 Arial,sans-serif;border-bottom:1px solid #edf2f4}
.cg-dialog .cg-context-dot{display:block;width:5px;height:5px;border-radius:50%;background:#82b9c6}
.cg-dialog .cg-introduction>.cg-byline{display:none}
.cg-dialog .cg-introduction{padding-top:16px}
.cg-dialog .cg-message .cg-suggestion-label{font:600 11px/1.4 Arial,sans-serif;color:#728690;margin:25px 0 0}
.cg-dialog .cg-next-step{margin-top:20px;padding-top:18px;border-top:1px solid #e8eef0}
.cg-dialog .cg-cta{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:48px;border:1px solid #092b46;border-radius:12px;background:#092b46;color:#fff;padding:13px 15px;text-align:left;text-decoration:none;font:600 13px/1.5 Arial,sans-serif;cursor:pointer}
.cg-dialog .cg-cta::after{content:'↗';font-size:19px;color:#c4e4ed}.cg-dialog .cg-cta:hover{background:#164c60}
.cg-dialog .cg-new{display:flex;align-items:center;justify-content:center;margin-right:-6px}
.cg-dialog .cg-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cg-dialog #cg-question:focus-visible{outline:none}
@media(max-width:600px){.cg-dialog .cg-introduction{padding-top:8px}.cg-dialog .cg-message .cg-suggestion-label{margin-top:18px}.cg-dialog .cg-next-step{margin-top:16px;padding-top:14px}}

/* A recognizable face at each point in the customer journey. */
.cg-launcher{border-radius:48px;padding:6px 17px 6px 6px;gap:12px}
.cg-launcher .cg-avatar{width:68px;height:68px;border:3px solid #cce7eb}
.cg-launcher strong{font-size:15px}.cg-launcher small{font-size:11px}
.cg-welcome{bottom:max(116px,calc(env(safe-area-inset-bottom) + 96px));width:360px;padding:22px}
.cg-welcome .cg-welcome-person{gap:15px;padding-right:15px;align-items:center}
.cg-welcome .cg-avatar{width:88px;height:88px;border:3px solid #eef5f6}
.cg-welcome-person strong{font-size:18px}.cg-welcome-person span{font-size:12px;margin-top:4px}
.cg-dialog .cg-header{padding:16px 20px;gap:14px}
.cg-dialog .cg-header .cg-avatar{width:88px;height:88px;border:3px solid #e2eff2}
.cg-dialog #cg-title{font-size:24px}.cg-dialog .cg-header p{font-size:12px;line-height:1.5}
.cg-dialog .cg-byline .cg-avatar{width:36px;height:36px}.cg-dialog .cg-byline{font-size:11px}
.cg-dialog .cg-reply-tools[hidden],.cg-dialog .cg-reply-status[hidden]{display:none}
.cg-dialog .cg-reply-status{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:3px 22px;font:11px/1.4 Arial,sans-serif;color:#617e89}
.cg-dialog .cg-reply-status button{min-height:36px;border:0;background:transparent;color:#24586d;padding:5px 0;font:600 11px/1.4 Arial,sans-serif;text-decoration:underline;cursor:pointer}
.cg-dialog .cg-response-dots{animation:harbor-speaking 1.1s ease-in-out infinite}
@keyframes harbor-speaking{50%{opacity:.3}}
.harbor-touchpoint{display:grid;grid-template-columns:180px minmax(0,1fr) 230px;align-items:center;gap:32px;max-width:1200px;margin:40px auto 56px;padding:32px;background:#edf5f7;border:1px solid #dae8ed;border-radius:20px;color:#153b4d;font:15px/1.65 Arial,sans-serif;box-sizing:border-box}
.harbor-touchpoint *{box-sizing:border-box}.harbor-touchpoint .harbor-touchpoint-portrait{position:relative;margin:0;align-self:stretch;min-height:200px}
.harbor-touchpoint .harbor-touchpoint-portrait img{display:block;width:100%;height:100%;min-height:200px;object-fit:cover;object-position:50% 35%;border-radius:13px}
.harbor-touchpoint .harbor-touchpoint-portrait>span{position:absolute;bottom:14px;left:14px;background:#092b46ed;padding:5px 12px;color:white;border-radius:20px;font:600 13px/1.5 Arial,sans-serif}
.harbor-touchpoint .harbor-touchpoint-eyebrow{font:600 10px/1.5 Arial,sans-serif;letter-spacing:.15em;color:#497487;margin:0 0 12px}
.harbor-touchpoint .harbor-touchpoint-copy h2{font:500 33px/1.15 Arial,sans-serif;letter-spacing:-.035em;color:#153b4d;margin:0 0 16px}
.harbor-touchpoint .harbor-touchpoint-copy p{font:15px/1.65 Arial,sans-serif;color:#3d5e6d;margin:0 0 14px}
.harbor-touchpoint .harbor-touchpoint-copy .harbor-touchpoint-eyebrow{font:600 10px/1.5 Arial,sans-serif;letter-spacing:.15em}
.harbor-touchpoint .harbor-touchpoint-copy .harbor-touchpoint-role{font:600 11px/1.5 Arial,sans-serif;color:#315a6e;margin:16px 0 0}
.harbor-touchpoint .harbor-touchpoint-role span{display:block;font-weight:400;color:#587783;margin-top:3px}
.harbor-touchpoint .harbor-touchpoint-actions{display:grid;gap:10px}
.harbor-touchpoint .harbor-touchpoint-actions button{width:100%;min-height:46px;border:1px solid #aac8d2;border-radius:10px;padding:12px 15px;background:white;text-align:left;color:#224e62;font:600 13px/1.5 Arial,sans-serif;cursor:pointer}
.harbor-touchpoint .harbor-touchpoint-actions button:first-child{display:flex;justify-content:space-between;align-items:center;gap:8px;background:#092b46;border-color:#092b46;color:white}
.harbor-touchpoint .harbor-touchpoint-actions a{font:600 11px/1.5 Arial,sans-serif;color:#356477;padding:8px 0;text-decoration:underline}
.harbor-touchpoint :is(a,button):focus-visible{outline:3px solid #de9e33;outline-offset:3px}
.harbor-touchpoint--planning,.harbor-touchpoint--inquiry{grid-template-columns:104px minmax(0,1fr) 230px;padding:24px 28px;margin-top:26px;margin-bottom:32px}
.harbor-touchpoint--planning .harbor-touchpoint-portrait,.harbor-touchpoint--inquiry .harbor-touchpoint-portrait{min-height:104px;align-self:center}
.harbor-touchpoint--planning .harbor-touchpoint-portrait img,.harbor-touchpoint--inquiry .harbor-touchpoint-portrait img{width:104px;height:104px;min-height:104px;border-radius:50%}
.harbor-touchpoint--planning .harbor-touchpoint-portrait>span,.harbor-touchpoint--inquiry .harbor-touchpoint-portrait>span{display:none}
.harbor-touchpoint--planning .harbor-touchpoint-copy h2,.harbor-touchpoint--inquiry .harbor-touchpoint-copy h2{font-size:26px}
@media(max-width:1280px){.harbor-touchpoint{margin-inline:24px}}
@media(max-width:900px){.harbor-touchpoint{grid-template-columns:140px minmax(0,1fr);gap:24px}.harbor-touchpoint .harbor-touchpoint-actions{grid-column:2}.harbor-touchpoint .harbor-touchpoint-portrait{align-self:start}.harbor-touchpoint .harbor-touchpoint-copy h2{font-size:28px}}
@media(max-width:600px){
 .cg-launcher{padding:5px 14px 5px 5px;gap:9px}.cg-launcher .cg-avatar{width:58px;height:58px}.cg-launcher strong{font-size:14px}.cg-launcher small{font-size:10px}
 .cg-welcome{bottom:max(98px,calc(env(safe-area-inset-bottom) + 84px));padding:18px}.cg-welcome .cg-avatar{width:76px;height:76px}.cg-welcome .cg-welcome-person{gap:10px}.cg-welcome-person strong{font-size:17px}.cg-welcome-person span{font-size:11px}
 .cg-dialog .cg-header{padding:12px;gap:9px}.cg-dialog .cg-header .cg-avatar{width:64px;height:64px}.cg-dialog #cg-title{font-size:21px}.cg-dialog .cg-header p{font-size:11px}.cg-dialog .cg-reply-status{padding-inline:16px;gap:6px;font-size:10px}
 .harbor-touchpoint{grid-template-columns:84px minmax(0,1fr);gap:16px;margin:24px 18px 32px;padding:20px;border-radius:16px}
 .harbor-touchpoint .harbor-touchpoint-portrait{grid-column:1;grid-row:2;min-height:84px;align-self:start}.harbor-touchpoint .harbor-touchpoint-portrait img{width:84px;height:104px;min-height:84px;border-radius:12px}.harbor-touchpoint .harbor-touchpoint-portrait>span{font-size:10px;left:8px;bottom:8px;padding:3px 8px}
 .harbor-touchpoint .harbor-touchpoint-copy{display:contents}.harbor-touchpoint .harbor-touchpoint-copy .harbor-touchpoint-eyebrow{grid-column:1/-1;grid-row:1;align-self:start;font-size:9px;margin:0}
 .harbor-touchpoint .harbor-touchpoint-copy h2{grid-column:2;grid-row:2;align-self:center;margin:0;font-size:23px}
 .harbor-touchpoint .harbor-touchpoint-copy>p:not(.harbor-touchpoint-eyebrow){grid-column:1/-1;font-size:14px;margin:0}.harbor-touchpoint .harbor-touchpoint-copy .harbor-touchpoint-role{font-size:11px}
 .harbor-touchpoint .harbor-touchpoint-actions{grid-column:1/-1}.harbor-touchpoint--planning .harbor-touchpoint-portrait img,.harbor-touchpoint--inquiry .harbor-touchpoint-portrait img{height:84px;border-radius:50%}
}
@media(prefers-reduced-motion:reduce){.cg-dialog .cg-response-dots{animation:none}}

/* Harbor's portrait motion stays inside its frame; the surrounding interface is still. */
.cg-animated-avatar{position:relative;overflow:hidden;background:#e7eef1;isolation:isolate;margin:0!important;line-height:0!important}
.cg-animated-avatar .cg-face-layers{display:block;position:absolute;inset:-2%;margin:0!important;transform-origin:50% 70%;line-height:0!important}
.cg-animated-avatar .cg-face-layers img{display:block;position:absolute;inset:0;width:100%;height:100%;min-height:0;max-width:none;border:0;border-radius:0;object-fit:cover;object-position:50% 50%;margin:0}
.cg-animated-avatar .cg-face-blink{opacity:0;transition:opacity 45ms linear;mask-image:radial-gradient(ellipse 19% 7% at 50% 34%,#000 65%,transparent 100%)}
:root[data-harbor-motion="on"] .cg-animated-avatar .cg-face-layers{animation:harbor-head-rest 12s ease-in-out infinite}
:root[data-harbor-motion="on"] .cg-animated-avatar.has-blink-frame.is-blinking .cg-face-blink{opacity:1}
:root[data-harbor-motion="off"] .cg-animated-avatar .cg-face-blink{opacity:0;transition:none}
@keyframes harbor-head-rest{0%,100%{transform:rotate(0deg) translateY(0)}24%{transform:rotate(.7deg) translateY(.35%)}49%{transform:rotate(0deg) translateY(-.15%)}74%{transform:rotate(-.55deg) translateY(.2%)}}
.cg-dialog .cg-presence{display:flex;align-items:center;gap:6px;margin-top:7px;color:#477887;font:600 10px/1.3 Arial,sans-serif;letter-spacing:.01em}
.cg-dialog .cg-voice-bars{height:14px;display:flex;align-items:center;gap:2px;flex-shrink:0}
.cg-dialog .cg-voice-bars i{display:block;width:2px;height:3px;border-radius:2px;background:#76a6b4;transform-origin:center}
.cg-dialog[data-speaking="true"] .cg-voice-bars i{height:10px;background:#278ba6}
.cg-dialog[data-speaking="true"] .cg-voice-bars i:nth-child(2n){height:14px}
:root[data-harbor-motion="on"] .cg-dialog[data-speaking="true"] .cg-voice-bars i{animation:harbor-reply-wave .8s ease-in-out infinite alternate}
.cg-dialog .cg-voice-bars i:nth-child(2){animation-delay:-.45s!important}.cg-dialog .cg-voice-bars i:nth-child(3){animation-delay:-.2s!important}.cg-dialog .cg-voice-bars i:nth-child(4){animation-delay:-.6s!important}.cg-dialog .cg-voice-bars i:nth-child(5){animation-delay:-.3s!important}
@keyframes harbor-reply-wave{from{transform:scaleY(.3)}to{transform:scaleY(1)}}
.cg-dialog .cg-header .cg-avatar{transition:border-color .25s,box-shadow .25s}
.cg-dialog[data-speaking="true"] .cg-header .cg-avatar,.cg-welcome[data-speaking="true"] .cg-avatar{border-color:#87c6d6;box-shadow:0 0 0 3px #d9eff4}
.cg-welcome .cg-welcome-preferences,.cg-dialog .cg-preferences{display:flex;justify-content:center;margin:5px 0 0}
.cg-welcome .cg-motion-control,.cg-dialog .cg-motion-control{display:inline-block;min-height:30px;border:0;background:none;color:#527783;padding:4px 8px;font:11px/1.4 Arial,sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.cg-welcome .cg-motion-control:disabled,.cg-dialog .cg-motion-control:disabled{cursor:default;text-decoration:none;color:#73838b}
.cg-welcome .cg-motion-control:focus-visible{outline:3px solid #de9e33;outline-offset:2px}
.cg-dialog .cg-compose .cg-preferences{margin:0}.cg-dialog .cg-compose>p{margin-bottom:0}
@media(max-width:600px){.cg-dialog .cg-presence{font-size:9px;gap:5px;margin-top:5px}.cg-dialog .cg-voice-bars{height:12px}}
@media(prefers-reduced-motion:reduce){.cg-animated-avatar .cg-face-layers,.cg-dialog .cg-voice-bars i{animation:none!important}.cg-animated-avatar .cg-face-blink{display:none!important}.cg-dialog .cg-header .cg-avatar{transition:none}}

/* Audio controls stay visible above the conversation, including on small phones. */
.cg-dialog .cg-audio,.cg-welcome .cg-audio{flex:0 0 auto;padding:10px 20px 9px;background:#f3f8f9;border-bottom:1px solid #e1ebee}
.cg-welcome .cg-audio{padding:12px;border:1px solid #e1ebee;border-radius:10px;margin:0 0 12px}
.cg-audio .cg-audio-buttons{display:flex;align-items:center;justify-content:space-between;gap:8px}
.cg-audio .cg-sound-control{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 13px;border:1px solid #bfd4dc;border-radius:24px;background:#fff;color:#245769;font:600 12px/1.4 Arial,sans-serif;cursor:pointer}
.cg-audio .cg-sound-control[data-sound="on"]{background:#153f52;border-color:#153f52;color:#fff}
.cg-audio .cg-sound-control:disabled{cursor:default;opacity:.65}
.cg-audio .cg-sound-control svg{flex-shrink:0}.cg-audio .cg-sound-waves{display:none}.cg-audio .cg-sound-control[data-sound="on"] .cg-sound-waves{display:block}.cg-audio .cg-sound-control[data-sound="on"] .cg-sound-off{display:none}
.cg-audio .cg-replay{min-height:40px;border:0;background:transparent;padding:6px 4px;font:600 12px/1.4 Arial,sans-serif;color:#245769;text-decoration:underline;cursor:pointer}.cg-audio .cg-replay[hidden]{display:none}
.cg-dialog .cg-audio p,.cg-welcome .cg-audio p{margin:6px 0 0;color:#53717e;font:11px/1.45 Arial,sans-serif}
.cg-audio button:focus-visible{outline:3px solid #de9e33;outline-offset:3px}
@media(max-width:600px){.cg-dialog .cg-audio{padding:7px 12px}.cg-dialog .cg-audio p{font-size:10px;margin-top:3px}.cg-dialog .cg-sound-control{min-height:36px;padding:6px 11px;font-size:11px}}
.cg-audio .cg-audio-buttons{flex-wrap:wrap;justify-content:flex-start;gap:7px}
.cg-audio [data-harbor-live]{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:8px 12px;border:1px solid #bfd4dc;border-radius:22px;background:#fff;color:#245769;font:600 11px/1.4 Arial,sans-serif;cursor:pointer}
.cg-audio [data-harbor-live][hidden]{display:none!important}
.cg-audio [data-harbor-live]:disabled{opacity:.55;cursor:default}
.cg-audio .cg-live-start{background:#153f52;border-color:#153f52;color:white;font-size:12px}
.cg-audio [aria-pressed="true"]{background:#e9edf0;border-color:#7b929d;color:#324b58}
.cg-audio .cg-live-end{color:#8d3434;border-color:#dfc5c5;margin-left:auto}
.cg-caption-label{display:block;font:600 10px/1.3 Arial,sans-serif;opacity:.7;margin-bottom:6px}
.cg-voice-references{margin:12px 0;padding:12px 14px;border:1px solid #d6e4e9;border-radius:12px;background:#f5fafb}
.cg-voice-references strong{display:block;font:600 11px/1.4 Arial,sans-serif;color:#59727e;margin-bottom:6px}
.cg-voice-references a{display:block;padding:5px 0;color:#245769;font-size:12px;text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.cg-audio [data-harbor-live]{font-size:10px;padding:7px 10px;min-height:36px}.cg-audio .cg-live-start{font-size:11px}}

/* Text comes first; voice and human help stay one choice away. */
.cg-launcher[hidden]{display:none}
.cg-capabilities{font:14px/1.5 Arial,sans-serif;color:#244e61;margin:14px 0 0}.cg-welcome #cg-welcome-start{background:#123f54;color:#fff;font-size:14px}.cg-voice-options{flex:0 0 auto;margin:0;padding:7px 18px;border-bottom:1px solid #e1ebee}.cg-voice-options>summary{font:12px/1.5 Arial,sans-serif;color:#365e70;cursor:pointer;min-height:28px;padding:4px 0}.cg-welcome .cg-voice-options{margin-top:8px;padding:3px 0;border:0}.cg-dialog .cg-human-options{font:12px/1.5 Arial,sans-serif;color:#164b5d;text-align:center}.cg-human-options summary{cursor:pointer;min-height:32px;padding:7px}.cg-human-options>div{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}.cg-human-options a,.cg-human-options button{font:12px/1.4 Arial,sans-serif;padding:9px;border:1px solid #bdd2dc;border-radius:8px;background:#fff;color:#17475c;min-height:38px}.cg-welcome{max-height:calc(100dvh - 130px);overflow:auto}.cg-inquiry-note pre,.lead-handoff{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.6 Arial,sans-serif}.quote-scope{padding:18px;background:#f2f7f8;border:1px solid #d9e4e9;border-radius:12px;margin:16px 0}.quote-scope summary{font-weight:600;cursor:pointer}.quote-scope label{margin-top:12px}.quote-steps{padding-left:22px;line-height:1.8}.quote-scope details{margin-top:18px}

/* A separate, compact invitation; the homepage keeps its original composition. */
.cg-welcome{right:max(22px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));width:330px;padding:23px;border:1px solid #d3e2e6;border-radius:20px;max-height:calc(100dvh - 40px);box-shadow:0 12px 44px #092b4630}
.cg-welcome .cg-welcome-person{gap:13px;padding-right:10px}.cg-welcome .cg-avatar{width:70px;height:78px;border-radius:18px;border:2px solid #e8f1f4}.cg-welcome-person strong{font:600 18px/1.35 Arial,sans-serif;color:#153b4d}.cg-welcome-person span{font:11px/1.5 Arial,sans-serif;margin-top:5px}
.cg-welcome .cg-welcome-promise{font:500 25px/1.17 Georgia,serif;letter-spacing:-.025em;color:#153b4d;margin:19px 0 10px}.cg-welcome #cg-welcome-question{font:13px/1.5 Arial,sans-serif;letter-spacing:0;color:#56717e;margin:0 0 18px}
.cg-welcome .cg-welcome-quote{display:flex;align-items:center;justify-content:space-between;min-height:46px;padding:11px 15px;border-radius:10px;background:#0c4258;color:white;font:600 14px/1.4 Arial,sans-serif;text-decoration:none}.cg-welcome .cg-welcome-quote:hover{background:#17677b}.cg-welcome .cg-welcome-quote span{font-size:21px}.cg-welcome #cg-welcome-start{display:block;width:100%;min-height:42px;padding:8px;border:0;background:transparent;color:#3e6878;text-align:center;font:13px/1.4 Arial,sans-serif;text-decoration:underline;text-underline-offset:3px}.cg-welcome #cg-welcome-start:hover{background:#f3f8f9}
.cg-greeting{border-top:1px solid #e3ecef;margin-top:5px;padding-top:8px}.cg-greeting[hidden]{display:none}.cg-greeting>div{display:flex;align-items:center;gap:8px;justify-content:space-between}.cg-greeting button{border:0;background:transparent;min-height:36px;padding:5px 0;color:#3e6878;font:11px/1.4 Arial,sans-serif;cursor:pointer}.cg-greeting [data-greeting-play]{font-weight:600}.cg-greeting [data-greeting-sound][aria-pressed=false]{color:#75858c}.cg-greeting [data-greeting-status]{display:block;color:#75858c;font:10px/1.4 Arial,sans-serif}.cg-welcome .cg-greeting .cg-motion-control{font-size:9px;padding:5px 0;min-height:36px}.cg-welcome :is(button,a):focus-visible{outline:3px solid #de9e33;outline-offset:3px}
@media(max-width:600px){.cg-welcome{right:12px;bottom:max(12px,env(safe-area-inset-bottom));width:320px;max-width:calc(100% - 24px);padding:20px;max-height:calc(100dvh - 24px)}.cg-welcome .cg-welcome-promise{font-size:24px}.cg-welcome .cg-avatar{width:66px;height:74px}.cg-welcome .cg-welcome-person{gap:12px}.cg-launcher{padding:6px 13px 6px 6px}.cg-launcher .cg-avatar{width:52px;height:52px}}

.cg-dialog .cg-compose .cg-voice-text-hint{font:12px/1.45 Arial,sans-serif;color:#245769;text-align:left;margin:0 0 8px;padding:8px 10px;background:#eef6f7;border-radius:10px}
.cg-dialog .cg-voice-text-hint[hidden]{display:none}
