/* Consult One — voice search + on-page assistant (preview v2) */
.c1ask { --ink: #0f1d33; --ink2: #172a47; --acc: var(--c1-accent, #c0403f); --mut: #b9c3d6;
  position: relative; z-index: 3; background: radial-gradient(900px 340px at 85% 0%, color-mix(in srgb, var(--acc) 26%, transparent), transparent 70%), radial-gradient(700px 300px at 0% 100%, rgba(31, 139, 220, .18), transparent 70%), linear-gradient(160deg, var(--ink2), var(--ink));
  color: #fff; padding: 64px 24px 56px; font-family: inherit; overflow: hidden; }
.c1ask *, .c1ask *::before { box-sizing: border-box; }
.c1ask__in { max-width: 860px; margin: 0 auto; }
.c1ask__copy { text-align: center; }
.c1ask__eye { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ffd2d0; }
[dir="rtl"].c1ask .c1ask__eye { letter-spacing: 0; }
.c1ask__eye i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .18); }
.c1ask h2 { color: #fff !important; font-size: clamp(26px, 3.4vw, 40px) !important; line-height: 1.15 !important; letter-spacing: -.02em; margin: 14px 0 10px !important; text-wrap: balance; font-weight: 800 !important; }
.c1ask__copy p { color: var(--mut); margin: 0 auto 26px; font-size: 16px; max-width: 560px; }
.c1ask__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.c1ask__bar { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 8px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .6), 0 0 0 6px rgba(255, 255, 255, .06); transition: box-shadow .3s; }
.c1ask.is-listening .c1ask__bar { box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .6), 0 0 0 6px color-mix(in srgb, var(--acc) 45%, transparent); }
.c1ask__bar input { flex: 1; min-width: 0; border: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important; font: inherit; font-size: 17px; color: var(--ink); padding: 12px 6px !important; height: auto !important; }
.c1ask__bar input::placeholder { color: #7a8599; }
.c1ask__mic { position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--acc); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; transition: transform .2s; }
.c1ask__mic:hover { transform: scale(1.05); }
.c1ask__mic svg { transition: opacity .2s; }
.c1ask__mic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--acc); opacity: 0; }
.c1ask.is-listening .c1ask__mic::after { animation: c1askPulse 1.4s ease-out infinite; }
.c1ask__wave { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; gap: 3px; }
.c1ask__wave b { width: 3px; height: 10px; border-radius: 3px; background: #fff; animation: c1askWave .9s ease-in-out infinite; }
.c1ask__wave b:nth-child(2) { animation-delay: .15s; } .c1ask__wave b:nth-child(3) { animation-delay: .3s; } .c1ask__wave b:nth-child(4) { animation-delay: .45s; }
.c1ask.is-listening .c1ask__mic svg { opacity: 0; }
.c1ask.is-listening .c1ask__wave { display: flex; }
.c1ask__lang { flex: none; min-width: 40px; height: 34px; border-radius: 10px; border: 1px solid #dde2ec; background: #f5f7fb; color: var(--ink); font: 800 13px/1 inherit; cursor: pointer; padding: 0 8px; }
.c1ask__go { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: 800 15px/1 inherit; cursor: pointer; }
[dir="rtl"].c1ask .c1ask__go svg { transform: scaleX(-1); }
.c1ask__go:disabled { opacity: .6; cursor: wait; }
.c1ask__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.c1ask__chips button { border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; border-radius: 999px; padding: 9px 15px; font: 600 14px/1.2 inherit; cursor: pointer; transition: background .2s, border-color .2s; min-height: 40px; }
.c1ask__chips button:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); }
.c1ask__status { min-height: 0; margin: 10px 0 0; text-align: center; color: #ffd2d0; font-size: 14px; }
.c1ask__status:empty { display: none; }
.c1ask__thread { display: flex; flex-direction: column; gap: 10px; margin-top: 0; }
.c1ask.has-thread .c1ask__thread { margin-top: 24px; }
.c1ask__msg { max-width: 88%; border-radius: 16px; padding: 14px 16px; animation: c1askIn .35s ease both; }
.c1ask__msg p { margin: 0; white-space: pre-wrap; font-size: 15.5px; line-height: 1.6; }
.c1ask__msg--you { align-self: flex-end; background: var(--acc); color: #fff; border-end-end-radius: 6px; }
.c1ask__msg--bot { align-self: flex-start; background: #fff; color: var(--ink); border-end-start-radius: 6px; box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .6); }
.c1ask__msg.is-wait p { color: #6b7488; }
.c1ask__msg.is-wait p::after { content: ""; display: inline-block; width: 1.2em; text-align: start; animation: c1askDots 1.2s steps(4) infinite; }
.c1ask__src { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #e6e9f0; }
.c1ask__src a { font-size: 13px; font-weight: 700; color: var(--acc) !important; text-decoration: none; background: color-mix(in srgb, var(--acc) 9%, #fff); padding: 6px 10px; border-radius: 8px; }
.c1ask__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.c1ask__spk { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #dfe5f0; border-radius: 999px; padding: 7px 13px; font: 600 13px/1 inherit; cursor: pointer; min-height: 36px; }
.c1ask__spk .on { opacity: .35; }
.c1ask__spk[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.c1ask__spk[aria-pressed="true"] .on { opacity: 1; }
.c1ask__note { margin: 0; color: #93a0b8; font-size: 12px; line-height: 1.5; flex: 1; text-align: end; min-width: 220px; }
.c1ask button:focus-visible, .c1ask a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.c1ask__bar input:focus-visible { outline: none; }
.c1ask__bar:focus-within { box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .6), 0 0 0 6px rgba(255, 255, 255, .22); }
@keyframes c1askPulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
@keyframes c1askWave { 0%, 100% { height: 6px; } 50% { height: 20px; } }
@keyframes c1askIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes c1askDots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
@media (max-width: 640px) {
  .c1ask { padding: 44px 16px 40px; }
  .c1ask__copy p { font-size: 15px; margin-bottom: 20px; }
  .c1ask__bar { flex-wrap: wrap; border-radius: 22px; padding: 8px; }
  .c1ask__bar input { flex-basis: calc(100% - 110px); font-size: 16px; }
  .c1ask__go { flex: 1 0 100%; justify-content: center; height: 48px; border-radius: 14px; }
  .c1ask__mic { width: 48px; height: 48px; }
  .c1ask__chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .c1ask__chips button { flex: none; }
  .c1ask__msg { max-width: 94%; }
  .c1ask__note { text-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .c1ask *, .c1ask *::after { animation: none !important; transition: none !important; }
  .c1ask.is-listening .c1ask__mic svg { opacity: 1; }
  .c1ask.is-listening .c1ask__wave { display: none; }
}

/* mic inside the floating chat */
#c1wa-root .c1va-mic { flex: none; width: 44px; height: 44px; min-height: 44px; border-radius: 50%; border: 1px solid #d4dddd; background: #fff; color: #bf1521; display: grid; place-items: center; padding: 0; position: relative; }
#c1wa-root .c1va-mic.is-on { background: #bf1521; color: #fff; border-color: #bf1521; }
#c1wa-root .c1va-mic.is-on::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid #bf1521; animation: c1askPulse 1.4s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { #c1wa-root .c1va-mic.is-on::after { animation: none; } }
/* theme paragraph colours must not leak into the bubbles */
.c1ask .c1ask__msg--you p { color: #fff !important; }
.c1ask .c1ask__msg--bot p { color: var(--ink) !important; }
.c1ask .c1ask__msg.is-wait p { color: #6b7488 !important; }
.c1ask .c1ask__copy p { color: var(--mut) !important; }
.c1ask .c1ask__note { color: #93a0b8 !important; }

/* ---- light by default (the site is light); the navy version returns in dark mode ---- */
html:not(.c1-night) .c1ask { background: radial-gradient(900px 340px at 85% 0%, color-mix(in srgb, var(--acc) 12%, transparent), transparent 70%), radial-gradient(700px 300px at 0% 100%, rgba(31,139,220,.10), transparent 70%), linear-gradient(160deg, #f8f9fc, #eef2f8); color: var(--ink); border-block: 1px solid #e3e7ef; }
html:not(.c1-night) .c1ask h2 { color: var(--ink) !important; }
html:not(.c1-night) .c1ask .c1ask__copy p { color: #5b6478 !important; }
html:not(.c1-night) .c1ask__eye { color: var(--acc); }
html:not(.c1-night) .c1ask__bar { box-shadow: 0 24px 50px -30px rgba(27,43,74,.45), 0 0 0 1px #e1e6ee; }
html:not(.c1-night) .c1ask.is-listening .c1ask__bar { box-shadow: 0 24px 50px -30px rgba(27,43,74,.45), 0 0 0 5px color-mix(in srgb, var(--acc) 30%, transparent); }
html:not(.c1-night) .c1ask__bar:focus-within { box-shadow: 0 24px 50px -30px rgba(27,43,74,.45), 0 0 0 4px rgba(27,43,74,.12); }
html:not(.c1-night) .c1ask__chips button { background: #fff; border-color: #dfe4ec; color: var(--ink); }
html:not(.c1-night) .c1ask__chips button:hover { border-color: var(--acc); color: var(--acc); background: #fff; }
html:not(.c1-night) .c1ask__status { color: var(--acc); }
html:not(.c1-night) .c1ask .c1ask__msg--bot { border: 1px solid #e3e7ef; box-shadow: 0 18px 40px -28px rgba(27,43,74,.45); }
html:not(.c1-night) .c1ask__spk { color: #3c4759; border-color: #d6dce6; background: #fff; }
html:not(.c1-night) .c1ask__spk[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
html:not(.c1-night) .c1ask .c1ask__note { color: #6b7488 !important; }
html:not(.c1-night) .c1ask button:focus-visible, html:not(.c1-night) .c1ask a:focus-visible { outline-color: var(--acc); }
html.c1-night .c1ask { border-block: 1px solid rgba(255,255,255,.06); }
html.c1-night #c1wa-root .c1va-mic { background: #18233a; border-color: rgba(255,255,255,.14); }
