.cnt-ai-root {
    position: fixed;
    right: max(24px, env(safe-area-inset-right));
    bottom: var(--cnt-ai-bottom, 24px);
    z-index: 4;
    width: min(374px, calc(100% - 32px));
    pointer-events: none;
    color: #263746;
    font: 16px/1.45 'Alegreya Sans', Arial, sans-serif;
    text-align: left;
}
.cnt-ai-root[hidden], .cnt-ai-root [hidden] { display: none !important; }
.cnt-ai-root *, .cnt-ai-root *::before, .cnt-ai-root *::after { box-sizing: border-box; }
.cnt-ai-root button, .cnt-ai-root textarea { font: inherit; }
.cnt-ai-root button { cursor: pointer; }
.cnt-ai-root button:focus-visible, .cnt-ai-root a:focus-visible {
    outline: 3px solid #183e61;
    outline-offset: 3px;
}
.cnt-ai-launcher {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--cnt-ai-orb-size, 85px);
    height: var(--cnt-ai-orb-size, 85px);
    margin-left: auto;
    margin-bottom: var(--cnt-ai-orb-lift, 16px);
    padding: 0;
    border: 1px solid #276393;
    border-radius: 50%;
    background: #337ab7;
    color: #fff;
    box-shadow: 0 5px 22px #173f6333;
}
.cnt-ai-launcher:hover, .cnt-ai-lead .cnt-ai-send:hover:not(:disabled) { background: #286396; }
.cnt-ai-launcher:active { transform: scale(.96); }
.cnt-ai-panel {
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    height: min(565px, var(--cnt-ai-space, calc(100dvh - 48px)));
    max-height: var(--cnt-ai-space, calc(100vh - 48px));
    border: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 48px #173f6333;
    overflow: hidden;
}
.cnt-ai-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-shrink: 0;
    padding: 18px 18px 16px;
    color: #fff;
    background: #337ab7;
}
.cnt-ai-title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.2; }
.cnt-ai-subtitle { margin: 5px 0 0; font-size: 14px; color: #e1effa; }
.cnt-ai-close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    border: 1px solid #ffffff70;
    border-radius: 50%;
    color: #fff;
    background: transparent;
    font-size: 0 !important;
    line-height: 1;
}
.cnt-ai-close::before {
    content: "";
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M18 6 6 18'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cnt-ai-close:hover { background: #ffffff20; }
.cnt-ai-notice { flex-shrink: 0; margin: 0; padding: 8px 16px; background: #eff6fb; font-size: 13px; line-height: 1.35; color: #486175; }
.cnt-ai-log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px; background: #f8fafc; }
.cnt-ai-message { width: fit-content; max-width: 92%; margin: 0 0 14px; padding: 11px 14px; border-radius: 12px 12px 12px 3px; background: #fff; border: 1px solid #e0e8ef; }
.cnt-ai-message-user { margin-left: auto; border-radius: 12px 12px 3px 12px; background: #e5f1fb; border-color: #cddfed; }
.cnt-ai-speaker { display: block; margin-bottom: 4px; color: #337ab7; font-size: 12px; font-weight: 700; }
.cnt-ai-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.cnt-ai-wait { margin: 0 0 12px; color: #486175; font-size: 14px; }
.cnt-ai-contact { display: block; margin: 4px 0 14px; padding: 10px 14px; border: 1px solid #337ab7; border-radius: 8px; color: #276393; background: #fff; text-align: center; }
.cnt-ai-contact:hover { background: #eff6fb; }
.cnt-ai-composer { flex-shrink: 0; margin: 0; padding: 12px 16px; border-top: 1px solid #e0e8ef; background: #fff; }
.cnt-ai-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.cnt-ai-input { display: block; width: 100%; height: 72px; min-height: 48px; padding: 10px 12px; border: 1px solid #b7c9d8; border-radius: 8px; resize: none; color: #263746; background: #fff; font-size: 16px !important; }
.cnt-ai-composer-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.cnt-ai-count { color: #536979; font-size: 12px; }
.cnt-ai-send { padding: 9px 17px; border: 0; border-radius: 7px; color: #fff; background: #337ab7; }
.cnt-ai-send:disabled { opacity: .55; cursor: default; }
.cnt-ai-error { margin: 6px 0 0; color: #a52a26; font-size: 14px; }
@media (max-width: 480px) {
    .cnt-ai-root { right: max(12px, env(safe-area-inset-right)); width: calc(100% - 24px); }
    .cnt-ai-panel { height: min(680px, var(--cnt-ai-space, calc(100dvh - 48px))); }
    .cnt-ai-header { padding: 12px 14px; }
    .cnt-ai-notice { padding: 8px 14px; }
    .cnt-ai-log { padding: 12px; }
}
.cnt-ai-compact .cnt-ai-panel { height: var(--cnt-ai-space, calc(100dvh - 48px)); }
.cnt-ai-compact .cnt-ai-header { padding: 3px 12px; }
.cnt-ai-compact .cnt-ai-subtitle, .cnt-ai-compact .cnt-ai-label { display: none; }
.cnt-ai-compact .cnt-ai-title { font-size: 18px; }
.cnt-ai-compact .cnt-ai-notice { padding: 3px 12px; font-size: 12px; }
.cnt-ai-compact .cnt-ai-log { padding: 6px 10px; }
.cnt-ai-compact .cnt-ai-composer { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; padding: 6px 12px; }
.cnt-ai-compact .cnt-ai-composer-footer { margin: 0; }
.cnt-ai-compact .cnt-ai-count { display: none; }
.cnt-ai-compact .cnt-ai-error { grid-column: 1 / -1; margin: 0; }
.cnt-ai-compact .cnt-ai-input { height: 48px; }
.cnt-ai-compact .cnt-ai-lead-open { padding: 4px 12px; font-size: 13px; }
@media (max-height: 400px) {
    .cnt-ai-compact .cnt-ai-notice { max-height: 60px; overflow-y: auto; overscroll-behavior: contain; }
}
.cnt-ai-lead-open, .cnt-ai-lead-back { color:#225780; border:0; background:white; text-align:left; padding:8px 16px; }
.cnt-ai-lead-open { flex-shrink:0; border-bottom:1px solid #d4e1eb; }
.cnt-ai-lead { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; margin:0; padding:12px 16px; }
.cnt-ai-panel:has(> .cnt-ai-lead:not([hidden])) {
    height: auto;
    max-height: min(var(--cnt-ai-space, calc(100dvh - 48px)), calc(100dvh - 48px));
}
.cnt-ai-panel > .cnt-ai-lead { flex: 0 1 auto; }
.cnt-ai-compact .cnt-ai-panel:has(> .cnt-ai-lead:not([hidden])) .cnt-ai-header { padding: 18px 18px 16px; }
.cnt-ai-compact .cnt-ai-panel:has(> .cnt-ai-lead:not([hidden])) .cnt-ai-subtitle { display: block; }
.cnt-ai-compact .cnt-ai-panel:has(> .cnt-ai-lead:not([hidden])) .cnt-ai-title { font-size: 20px; }
.cnt-ai-compact .cnt-ai-panel:has(> .cnt-ai-lead:not([hidden])) .cnt-ai-close { width: 40px; height: 40px; }
@media (max-width: 480px) {
    .cnt-ai-compact .cnt-ai-panel:has(> .cnt-ai-lead:not([hidden])) .cnt-ai-header { padding: 12px 14px; }
}
.cnt-ai-lead-back { padding:5px 0; text-decoration:underline; }
.cnt-ai-lead-title { margin:8px 0 4px; font-size:20px; }
.cnt-ai-lead-note, .cnt-ai-lead-status { margin:6px 0; font-size:14px; }
.cnt-ai-lead-label { display:block; margin:10px 0; font-weight:600; }
.cnt-ai-lead-input { display:block; width:100%; min-height:40px; max-height:120px; resize:vertical; border:1px solid #b7c9d8; border-radius:6px; padding:6px 9px; font:normal 16px/1.4 Arial,sans-serif; }
.cnt-ai-lead-check { display:flex; align-items:flex-start; gap:8px; margin:12px 0 4px; }
.cnt-ai-lead-check input { flex:none; width:18px; height:18px; margin:3px 0 0; }
.cnt-ai-lead-docs { display:grid; gap:4px; margin:4px 0 12px; font-size:14px; }
.cnt-ai-lead-docs a { color:#225780; text-decoration:underline; }
.cnt-ai-lead-status { overflow-wrap:anywhere; }

/* Shared local robot artwork, adapted from Lucide bot-message-square (ISC). */
.cnt-ai-root {
    --cnt-bot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4h10a3 3 0 013 3v8a3 3 0 01-3 3h-3l-2 3-2-3H7a3 3 0 01-3-3V7a3 3 0 013-3z'/%3E%3Cg fill='white' stroke='none'%3E%3Ccircle cx='8.5' cy='10.5' r='1.5'/%3E%3Ccircle cx='15.5' cy='10.5' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
    --cnt-blue: #337ab7;
}
.cnt-ai-panel { border-radius: 21px; box-shadow: 0 12px 44px #18385a36; }
.cnt-ai-launcher,.cnt-ai-header { background: var(--cnt-blue); }
.cnt-ai-launcher:hover { filter: brightness(1.08); }
.cnt-ai-bot,.cnt-ai-message:not(.cnt-ai-message-user)::before {
    display:block; flex:none; width:36px; height:36px;
    background: var(--cnt-bot) center / 78% no-repeat;
}
.cnt-ai-header .cnt-ai-bot { border:1px solid #ffffff55; border-radius:12px; }
.cnt-ai-heading { flex:1; }
.cnt-ai-log { background:#fcfdff; }
.cnt-ai-message { position:relative; margin:0 0 12px 34px; max-width:calc(100% - 34px); padding:10px 13px; background:#edf4fd; border:1px solid #deeafa; border-radius:6px 17px 17px 17px; }
.cnt-ai-message:not(.cnt-ai-message-user)::before { content:""; position:absolute; left:-34px; top:0; width:27px; height:27px; border-radius:50%; background-color:#2867be; }
.cnt-ai-message-user { margin-left:auto; color:white; background:var(--cnt-blue); border-radius:16px 16px 4px 16px; }
.cnt-ai-message-user .cnt-ai-speaker { color:#eef5ff; }
.cnt-ai-wait { display:flex; gap:4px; width:fit-content; margin-left:34px; padding:12px; background:#ecf3fc; border-radius:14px; }
.cnt-ai-dot { width:6px; height:6px; border-radius:50%; background:#2766bf; animation:cnt-ai-waiting 1s ease-in-out infinite alternate; }
.cnt-ai-dot:nth-last-child(2) { animation-delay:.18s; }
.cnt-ai-dot:last-child { animation-delay:.36s; }
@keyframes cnt-ai-waiting { from {opacity:.4} to {transform:translateY(-2px)} }
@media (prefers-reduced-motion:reduce) { .cnt-ai-dot { animation:none; } }
.cnt-ai-sr,.cnt-ai-composer .cnt-ai-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.cnt-ai-composer { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:6px; }
.cnt-ai-input { height:48px; border-radius:12px; background:#f8faff; }
.cnt-ai-composer-footer { display:contents; }
.cnt-ai-composer .cnt-ai-send { grid-column:2; grid-row:1; width:48px; height:48px; border-radius:12px; background:#205fc5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='m21 3-7 18-4-8-8-4zM10 13 21 3'/%3E%3C/svg%3E") center / 22px no-repeat; }
.cnt-ai-count,.cnt-ai-error,.cnt-ai-links { grid-column:1/-1; }
.cnt-ai-error:empty { display:none; }
.cnt-ai-links { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:4px; border-top:1px solid #dfE7f2; padding-top:5px; }
.cnt-ai-links a,.cnt-ai-links .cnt-ai-lead-open { font:inherit; font-size:13px; color:#225991; padding:3px 0; background:none; border:0; text-decoration:underline; }
@media (max-height:400px) {
    .cnt-ai-compact .cnt-ai-composer { row-gap:1px; padding-block:2px; }
    .cnt-ai-compact .cnt-ai-links { padding-top:0; }
    .cnt-ai-compact .cnt-ai-links .cnt-ai-lead-open { padding:2px 0; }
}
.cnt-ai-header { background-color:#337ab7; }

.cnt-ai-header { column-gap:12px; }
.cnt-ai-input { border:1px solid #cbd5df; background:white; }
.cnt-ai-input:hover { border-color:#95a9c0; }
.cnt-ai-root .cnt-ai-input:focus { outline:none; border-color:#3475c5; box-shadow:0 0 0 2px #346fc51a; }
.cnt-ai-root .cnt-ai-input:focus-visible { border-color:#235ea9; box-shadow:0 0 0 2px #346fc52b; }
@media (forced-colors:active) { .cnt-ai-root .cnt-ai-input:focus-visible { outline:2px solid Highlight; } }
.cnt-ai-composer .cnt-ai-send:hover:not(:disabled) { background-color:#164d9e; }
.cnt-ai-root {
    --cnt-info:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23375682' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5m0-9v.5'/%3E%3C/svg%3E");
}
.cnt-ai-notice { background:#f2f6fb var(--cnt-info) 12px 9px / 15px no-repeat; padding:7px 14px 7px 34px; font-size:12.5px; line-height:1.35; }
.cnt-ai-compact .cnt-ai-notice { padding-left:30px; background-position:9px 5px; }
.cnt-ai-links { display:grid; grid-template-columns:minmax(0,1fr) 36px; align-items:stretch; gap:6px; padding:4px; background:#f2f6fc; border:0; border-radius:8px; }
.cnt-ai-links a,.cnt-ai-links .cnt-ai-lead-open { display:flex; align-items:center; justify-content:center; gap:5px; padding:5px; min-height:36px; border-radius:9px; font-weight:600; line-height:1.15; text-decoration:none; }
.cnt-ai-links a:hover,.cnt-ai-links button:hover,.cnt-ai-links :focus-visible { background:#e1ecfa; }
.cnt-ai-links .cnt-ai-lead-open { color:white; background:#337ab7; border-radius:5px; }
.cnt-ai-links .cnt-ai-lead-open:hover { background:#286396; }
.cnt-ai-links .cnt-ai-lead-open::before { filter:brightness(0) invert(1); }
.cnt-ai-links .cnt-ai-info { width:36px; min-width:36px; padding:0; border-radius:5px; }
.cnt-ai-links .cnt-ai-info::before { flex-basis:20px; height:20px; }
.cnt-ai-links a::before,.cnt-ai-links button::before { content:""; flex:0 0 16px; height:16px; background:var(--cnt-info) center/contain no-repeat; }
.cnt-ai-links button::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23245389' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M5 3h10l4 4v14H5zM14 3v5h5M8 12h8m-8 4h6'/%3E%3C/svg%3E"); }
@media (max-height:400px) {
    .cnt-ai-compact .cnt-ai-links { padding:0; }
    .cnt-ai-compact .cnt-ai-links > * { min-height:24px; padding:1px 4px; }
}

.cnt-ai-root .cnt-ai-header {
    flex: 0 0 auto;
    min-height: 68px;
    gap: 9px;
    padding: 10px 12px;
}
.cnt-ai-root .cnt-ai-heading { min-width: 0; }
.cnt-ai-root .cnt-ai-title { font-size: 17px; line-height: 1.2; }
.cnt-ai-root .cnt-ai-subtitle { display: block; margin-top: 3px; font-size: 12px; line-height: 1.25; }
.cnt-ai-header .cnt-ai-bot {
    position:relative; overflow:hidden;
    flex:0 0 36px; width:36px; height:36px; border:0; border-radius:50%;
    /* Crop the white media padding and bright outer rim in both playback states. */
    background: url('/video/cnt-ai-orb-poster.png?v=6b5e0aff49b6') center / 116% 116% no-repeat;
}
.cnt-ai-header-video { display:block; width:100%; height:100%; border:0; border-radius:50%; object-fit:contain; transform:scale(1.16); pointer-events:none; }
.cnt-ai-composer .cnt-ai-send { background-color: #337ab7; }
.cnt-ai-composer .cnt-ai-send:hover:not(:disabled) { background-color: #286396; }
.cnt-ai-dot { background-color: #337ab7; }
.cnt-ai-message:not(.cnt-ai-message-user)::before { background-color: #337ab7; }
@media (max-width: 480px) {
    .cnt-ai-root:has(.cnt-ai-panel:not([hidden])) {
        right: 0;
        width: 100%;
    }
    .cnt-ai-panel { border-radius: 16px 16px 0 0; }
    .cnt-ai-root .cnt-ai-title { font-size: 16px; }
}

/* Consultation form: compact corporate fields and consent. */
.cnt-ai-lead { padding:12px 16px 16px; }
.cnt-ai-lead-title { font-size:20px; line-height:1.2; margin:8px 0; }
.cnt-ai-lead-note { color:#536979; line-height:1.35; }
.cnt-ai-lead-label { margin:12px 0; font-size:15px; }
.cnt-ai-lead-input {
    height:42px; min-height:42px; max-height:42px; resize:none;
    margin-top:4px; border:1px solid #c6d0da; border-radius:4px;
    padding:8px 10px; font:normal 16px/1.4 'Alegreya Sans',Arial,sans-serif;
}
.cnt-ai-lead-input:focus { outline:none; border-color:#337ab7; box-shadow:0 0 0 2px #337ab71a; }
.cnt-ai-lead-input:focus-visible { outline:1px solid #337ab7; outline-offset:1px; }
.cnt-ai-lead-check { margin:16px 0; gap:10px; line-height:1.35; font-size:14px; }
.cnt-ai-lead-check input {
    appearance:none; flex:0 0 22px; width:22px; height:22px;
    border:1px solid #9baebe; border-radius:2px; background:white;
}
.cnt-ai-lead-check input:checked {
    background:#337ab7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E") center/18px no-repeat;
    border-color:#337ab7;
}
.cnt-ai-lead-check input:focus-visible { outline:2px solid #337ab7; outline-offset:3px; }
.cnt-ai-lead-check label { padding:3px 0; cursor:pointer; }
.cnt-ai-lead-check a { color:#337ab7; text-decoration:underline; }
.cnt-ai-lead > .cnt-ai-send { width:100%; min-height:42px; border-radius:5px; background:#337ab7; }
.cnt-ai-lead > .cnt-ai-send:hover:not(:disabled) { background:#286396; }
@media (forced-colors:active) { .cnt-ai-lead-check input { appearance:auto; } }

/* Approved pearl WebM with its matching static frame; no decorative overlay. */
.cnt-ai-launcher { border:0; background:transparent; box-shadow:none; }
.cnt-ai-launcher:hover { background:transparent; box-shadow:none; filter:none; }
.cnt-ai-orb {
    position:relative; display:block; flex:0 0 var(--cnt-ai-orb-size, 90px);
    width:var(--cnt-ai-orb-size, 90px); height:var(--cnt-ai-orb-size, 90px);
    overflow:hidden; border-radius:50%;
}
@media (max-width:600px) { .cnt-ai-root { --cnt-ai-orb-size:72px; } }
@media (max-width:360px), (max-height:400px) { .cnt-ai-root { --cnt-ai-orb-size:64px; --cnt-ai-orb-lift:8px; } }
.cnt-ai-orb-still, .cnt-ai-orb-video {
    position:absolute; display:block; inset:0; width:100%; height:100%;
    border:0; border-radius:50%; object-fit:contain; pointer-events:none;
    /* Remove white media padding while retaining almost all of the sphere. */
    transform:scale(1.10);
}
.cnt-ai-product { margin:0 0 12px 34px; padding:10px 12px; border:1px solid #d5e3ee; border-radius:7px; background:#fff; overflow-wrap:anywhere; }
.cnt-ai-product-title { display:block; color:#225780; font-size:14px; line-height:1.3; }
.cnt-ai-product-description { margin:5px 0; font-size:13px; line-height:1.35; }
.cnt-ai-product-more { color:#225780; font-size:13px; text-decoration:underline; }
.cnt-ai-product .cnt-ai-contact { margin:8px 0 0; padding:7px 8px; font-size:13px; border-radius:5px; }
.cnt-ai-log > .cnt-ai-message:last-child { margin-bottom:0; }
@media (min-width:481px) {
    .cnt-ai-panel:has(> .cnt-ai-lead:not([hidden])) { max-height:min(565px, var(--cnt-ai-space, calc(100dvh - 48px))); }
}
@media (max-height:400px) {
    .cnt-ai-root .cnt-ai-header { min-height:64px; padding-block:6px; }
    .cnt-ai-compact .cnt-ai-panel:not(:has(> .cnt-ai-lead:not([hidden]))) .cnt-ai-header { min-height:52px; }
    .cnt-ai-compact .cnt-ai-notice { max-height:40px; }
    .cnt-ai-compact .cnt-ai-input { height:44px; min-height:44px; }
    .cnt-ai-compact .cnt-ai-composer .cnt-ai-send { width:44px; height:44px; }
    .cnt-ai-compact .cnt-ai-links > * { min-height:32px; }
    .cnt-ai-product-description { display:none; }
}
@media (prefers-reduced-motion:reduce) { .cnt-ai-orb-video, .cnt-ai-header-video { display:none; } }
