/* Unified CYWOLF text and voice assistant */
.floating-contact[hidden]{display:none!important}
#cywolfAiAssistant{color-scheme:light;font-family:Inter,system-ui,sans-serif}
#cywolfAiAssistant .ai-assistant-toggle{width:62px;height:62px;padding:0;border:2px solid #fff;border-radius:50%;background:linear-gradient(145deg,#1763f5,#14a9d6);box-shadow:0 10px 28px #125cc544,0 0 0 1px #1763f544;overflow:visible}
#cywolfAiAssistant .ai-assistant-toggle img{width:100%;height:100%;object-fit:cover;object-position:center 27%;border-radius:50%;border:3px solid #fff}
#cywolfAiAssistant .ai-assistant-toggle::after{content:"";position:absolute;right:0;bottom:1px;width:12px;height:12px;border-radius:50%;background:#0aa879;border:2px solid white}
#cywolfAiAssistant .ai-assistant-toggle:hover{transform:translateY(-3px) scale(1.04);box-shadow:0 14px 34px #125cc566,0 0 0 4px #1763f51c}
#cywolfAiAssistant .ai-assistant-panel{color-scheme:light;color:#101828;background:#fff;border:1px solid #dce5f0;border-radius:24px;box-shadow:0 24px 80px #10284b30;backdrop-filter:blur(18px)}
#cywolfAiAssistant .ai-assistant-head{background:linear-gradient(110deg,#1763f5,#174fca);border-bottom:0;box-shadow:none}
#cywolfAiAssistant .ai-assistant-title{gap:11px}
#cywolfAiAssistant .ai-assistant-avatar{width:44px;height:44px;min-width:44px;border-radius:50%;padding:2px;background:#ffffff22;border:1px solid #ffffff70;box-shadow:none;overflow:hidden}
#cywolfAiAssistant .ai-assistant-avatar img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 27%;border-radius:50%}
#cywolfAiAssistant .ai-assistant-title b{color:#fff;font-size:16px}
#cywolfAiAssistant .ai-assistant-title small{color:#e7f0ff;font:600 10px/1.2 Inter,system-ui,sans-serif;letter-spacing:.02em;text-transform:none}
#cywolfAiAssistant .ai-assistant-title small::before{width:7px;height:7px;background:#42d39a;box-shadow:0 0 0 3px #42d39a30}
#cywolfAiAssistant .ai-assistant-close{color:#fff;background:#ffffff12;border-color:#ffffff42}
#cywolfAiAssistant .ai-assistant-close:hover{background:#ffffff25;color:#fff}
#cywolfAiAssistant .ai-assistant-messages{background:#fff;background-image:none;scrollbar-color:#b9c9dc transparent}
#cywolfAiAssistant .ai-welcome-copy{text-align:center;padding:0}
#cywolfAiAssistant .ai-welcome-eyebrow{color:#1763f5}
#cywolfAiAssistant .ai-welcome-eyebrow svg{display:none}
#cywolfAiAssistant .ai-welcome-profile{display:flex;align-items:center;justify-content:center;gap:9px;margin:0 auto 4px;color:#34445d;font-size:13px;font-weight:700}
#cywolfAiAssistant .ai-welcome-profile img{width:54px;height:54px;object-fit:cover;object-position:center 27%;border-radius:50%;border:2px solid #fff;box-shadow:0 2px 12px #10284b28}
#cywolfAiAssistant .ai-welcome-copy h3{margin:8px 0;color:#101828;font-size:23px;line-height:1.2;letter-spacing:-.025em}
#cywolfAiAssistant .ai-welcome-copy p{margin:0 auto 2px;color:#61718a;font-size:13px;line-height:1.5}
#cywolfAiAssistant .ai-mode-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#cywolfAiAssistant .ai-mode-card{min-width:0;min-height:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:12px 9px;border-radius:16px;border:1px solid #d9e5f5;background:linear-gradient(160deg,#f7faff,#eef5ff);color:#10213b;cursor:pointer;text-align:center;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
#cywolfAiAssistant .ai-mode-card[data-assistant-mode="voice"]{background:linear-gradient(160deg,#f4fbf8,#eaf8f2);border-color:#d2eade}
#cywolfAiAssistant .ai-mode-card:hover{transform:translateY(-2px);border-color:#1763f5;box-shadow:0 8px 20px #1763f51a}
#cywolfAiAssistant .ai-mode-card:focus-visible,#cywolfAiAssistant .ai-mode-switch button:focus-visible{outline:3px solid #1763f566;outline-offset:2px}
#cywolfAiAssistant .ai-mode-card-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#1763f5;color:white;font-size:20px;font-weight:700}
#cywolfAiAssistant .ai-mode-card-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#cywolfAiAssistant:not(.show-suggestions) .ai-service-grid{display:none}
#cywolfAiAssistant.text-mode-selected .ai-mode-choices{display:none}
#cywolfAiAssistant .ai-mode-card[data-assistant-mode="voice"] .ai-mode-card-icon{background:#07865f}
#cywolfAiAssistant .ai-mode-card strong{font-size:13px;color:#152642}
#cywolfAiAssistant .ai-mode-card small{color:#61718a;font-size:11px}
#cywolfAiAssistant .ai-mode-switch{display:none;align-self:center;gap:3px;margin:7px 0 9px;padding:3px;border:1px solid #dce5f0;border-radius:999px;background:#f6f9fd}
#cywolfAiAssistant.has-conversation .ai-mode-switch{display:flex}
#cywolfAiAssistant .ai-mode-switch button{min-height:31px;padding:5px 16px;border:0;border-radius:999px;background:transparent;color:#61718a;font:600 12px/1.2 Inter,system-ui,sans-serif;cursor:pointer}
#cywolfAiAssistant .ai-mode-switch button[aria-pressed="true"]{background:#1763f5;color:#fff;box-shadow:0 2px 5px #1763f52b}
#cywolfAiAssistant .ai-service-grid{gap:8px}
#cywolfAiAssistant .ai-quick{background:#fff;border:1px solid #dce5f0;color:#152642;box-shadow:0 3px 12px #10284b0a}
#cywolfAiAssistant .ai-quick:hover{background:#f5f9ff;border-color:#91b5f5;box-shadow:0 7px 18px #1763f514}
#cywolfAiAssistant .ai-quick-copy strong{color:#162844}
#cywolfAiAssistant .ai-quick-copy small{color:#65758d}
#cywolfAiAssistant .ai-quick-arrow{color:#1763f5}
#cywolfAiAssistant .ai-msg{box-shadow:0 3px 12px #10284b0d;color:#23344e}
#cywolfAiAssistant .ai-msg.bot{padding-left:48px;background:#fff;border:1px solid #e1e8f1;color:#24344c}
#cywolfAiAssistant .ai-msg.bot::before{content:"";position:absolute;left:9px;top:10px;width:30px;height:30px;border-radius:50%;background-image:url("saif-avatar.png");background-size:cover;background-position:center 27%;border:1px solid #d9e5f5;box-shadow:0 2px 7px #10284b18}
#cywolfAiAssistant .ai-msg.bot p.ai-msg-heading,#cywolfAiAssistant .ai-msg.bot strong{color:#142641}
#cywolfAiAssistant .ai-msg.user{background:#eaf2ff;border:1px solid #d9e6fa;color:#173257;box-shadow:none}
#cywolfAiAssistant .ai-typing-dot{background:#1763f5}
#cywolfAiAssistant .ai-assistant-listening{background:#f2f7fd;border:1px solid #dce5f0;color:#31445e}
#cywolfAiAssistant .ai-listening-icon{background:#e4efff;color:#1763f5}
#cywolfAiAssistant .ai-listening-copy strong{color:#142641}
#cywolfAiAssistant .ai-listening-copy small{color:#61718a}
#cywolfAiAssistant .ai-waveform i{background:#07865f}
#cywolfAiAssistant .ai-voice-actions button{background:#fff;border-color:#cdd9e8;color:#24344c}
#cywolfAiAssistant .ai-voice-actions .ai-voice-send{background:#1763f5;color:#fff;border-color:#1763f5}
#cywolfAiAssistant .ai-assistant-input{background:#fff;border-top:1px solid #e9eef5}
#cywolfAiAssistant .ai-assistant-input input{background:#fff;color:#152642;border:1px solid #d6e0ec}
#cywolfAiAssistant .ai-assistant-input input::placeholder{color:#7b8ba1}
#cywolfAiAssistant .ai-assistant-input button{background:#f3f7fc;color:#1763f5;border-color:#d6e0ec}
#cywolfAiAssistant .ai-assistant-input .ai-assistant-send{background:#1763f5;color:#fff;border-color:#1763f5}
#cywolfAiAssistant .ai-assistant-voice-status{color:#61718a}
#cywolfAiAssistant .ai-assistant-voice-status.error{color:#b4233c}
#cywolfAiAssistant .ai-assistant-disclaimer{color:#61718a}
#cywolfAiAssistant .ai-assistant-input .ai-handoff-trigger{background:#0e1b31;color:#fff;border-color:#0e1b31}
#cywolfAiAssistant .ai-handoff-card{background:#f5f9ff;border-color:#d7e5f5;color:#142641}
#cywolfAiAssistant .ai-handoff-heading h3{color:#142641}
#cywolfAiAssistant .ai-handoff-heading p,#cywolfAiAssistant .ai-handoff-field label{color:#61718a}
#cywolfAiAssistant .ai-handoff-field input,#cywolfAiAssistant .ai-handoff-field textarea{background:#fff;color:#142641;border-color:#d4dfec}
#cywolfAiAssistant .ai-handoff-summary{background:#fff;border-color:#d8e4f1;color:#142641}
#cywolfAiAssistant .ai-handoff-summary span{color:#61718a}
#cywolfAiAssistant .ai-handoff-summary strong{color:#142641}
#cywolfAiAssistant .ai-handoff-actions button,#cywolfAiAssistant .ai-handoff-retry,#cywolfAiAssistant .ai-handoff-start-new{background:#fff;border-color:#cfdbeb;color:#263a58}
.cywolf-realtime{color-scheme:light;color:#14233b;background:linear-gradient(180deg,#fff,#f6f9fd);border:1px solid #d7e3f1;box-shadow:0 24px 80px #10284b38}
.cywolf-realtime::backdrop{background:#10213b70;backdrop-filter:blur(5px)}
.cywolf-realtime .rv-header{background:linear-gradient(110deg,#1763f5,#174fca);border-bottom:0}
.cywolf-realtime .rv-brand span{color:#fff}
.cywolf-realtime .rv-icon{color:#fff!important;background:#ffffff16!important;border-color:#ffffff55!important}
.cywolf-realtime .rv-content h2,.cywolf-realtime .rv-status{color:#14233b}
.cywolf-realtime .rv-intro,.cywolf-realtime .rv-detail{color:#61718a}
.cywolf-realtime .rv-caption-card{background:#f1f6fd;border-color:#dce6f1}
.cywolf-realtime .rv-caption-label{color:#1763f5}
.cywolf-realtime #rv-caption,.cywolf-realtime #rv-captions{color:#263a58}
.cywolf-realtime .rv-transcript{color:#61718a;border-color:#e1e9f2}
.cywolf-realtime .rv-secondary button{color:#1763f5}
.cywolf-realtime button{background:#f3f7fc;color:#203653;border-color:#d5e0ed}
.cywolf-realtime .rv-primary{background:#1763f5;color:white}
.cywolf-realtime .rv-end{background:#fff1f2;color:#a52338;border-color:#f0cbd2}
@media(max-width:600px){
 #cywolfAiAssistant{right:12px;bottom:max(16px,env(safe-area-inset-bottom))!important}
 #cywolfAiAssistant .ai-assistant-toggle{width:56px;height:56px}
 #cywolfAiAssistant .ai-assistant-panel{width:min(430px,calc(100vw - 24px));height:min(720px,calc(100dvh - 104px));min-height:min(410px,calc(100dvh - 104px));right:0;bottom:70px;border-radius:22px}
 #cywolfAiAssistant .ai-assistant-messages{padding:14px;gap:10px}
 #cywolfAiAssistant .ai-mode-choices{gap:8px}
 #cywolfAiAssistant .ai-mode-card{min-height:100px;padding:10px 6px}
 #cywolfAiAssistant .ai-mode-card strong{font-size:12px}
 #cywolfAiAssistant .ai-mode-card small{font-size:10px}
 #cywolfAiAssistant .ai-welcome-copy h3{font-size:21px}
 #cywolfAiAssistant .ai-assistant-input{padding:10px 12px}
}
@media(prefers-reduced-motion:reduce){
 #cywolfAiAssistant .ai-assistant-toggle,#cywolfAiAssistant .ai-mode-card{transition:none}
 #cywolfAiAssistant .ai-assistant-toggle:hover,#cywolfAiAssistant .ai-mode-card:hover{transform:none}
}

#cywolfAiAssistant .ai-mode-switch .ai-mode-back{
  margin-left:4px;background:transparent;color:#1763f5;border:1px solid #b9cdf0;
}
#cywolfAiAssistant .ai-mode-switch .ai-mode-back:hover{background:#edf4ff;}

/* The label belongs to the same accessible launcher and click target. */
#cywolfAiAssistant .ai-assistant-toggle{position:relative}
#cywolfAiAssistant .ai-assistant-toggle .ai-assistant-launcher-label{
 position:absolute;right:calc(100% + 10px);top:50%;transform:translateY(-50%);
 padding:10px 15px;border:1px solid #dbe7f7;border-radius:24px;
 background:#fff;color:#12315a;font:700 13px/1.2 Inter,system-ui,sans-serif;
 white-space:nowrap;box-shadow:0 6px 24px #12315a18;
}
#cywolfAiAssistant.open .ai-assistant-launcher-label{display:none}
@media(max-width:600px){
 #cywolfAiAssistant .ai-assistant-toggle .ai-assistant-launcher-label{display:none}
}

/* Selected 03 Minimal chooser; conversation and handoff retain their full layouts. */
#cywolfAiAssistant .ai-chooser-brand,#cywolfAiAssistant .ai-chooser-team,#cywolfAiAssistant .ai-chooser-hint{display:none}
#cywolfAiAssistant.choosing-mode .ai-assistant-panel{height:auto;min-height:0;max-height:calc(100dvh - 178px);width:min(400px,calc(100vw - 28px));border-radius:26px;background:#fff;backdrop-filter:none;box-shadow:0 20px 65px #15345a26}
#cywolfAiAssistant.choosing-mode .ai-assistant-head{padding:22px 24px 10px;background:#fff;flex-shrink:0;gap:12px}
#cywolfAiAssistant.choosing-mode .ai-assistant-title{display:none}
#cywolfAiAssistant.choosing-mode .ai-chooser-brand{display:flex;align-items:center;gap:10px;color:#10264a;font-size:15px;font-weight:800;line-height:1.05;letter-spacing:.2px}
#cywolfAiAssistant .ai-chooser-brand img{display:block;width:34px;height:34px;object-fit:contain;flex:none}
#cywolfAiAssistant .ai-chooser-brand span{display:flex;min-width:0;flex-direction:column;justify-content:center}
#cywolfAiAssistant .ai-chooser-brand em{display:block;font-size:9px;line-height:1;letter-spacing:2.6px;color:#0960f5;font-style:normal;margin-top:4px}
#cywolfAiAssistant.choosing-mode .ai-assistant-close{width:36px;height:36px;flex:none;border-radius:50%;background:#f7faff;color:#49617e;border:1px solid #e1e9f4;font-size:24px}
#cywolfAiAssistant.choosing-mode .ai-assistant-close:hover{background:#edf4ff;color:#0960f5}
#cywolfAiAssistant.choosing-mode .ai-assistant-messages{display:block;flex:0 1 auto;padding:14px 24px 20px;overflow-y:auto;background:#fff;min-height:0}
#cywolfAiAssistant.choosing-mode .ai-assistant-welcome{display:flex;flex-direction:column;gap:0;width:100%}
#cywolfAiAssistant.choosing-mode .ai-welcome-copy{text-align:left}
#cywolfAiAssistant.choosing-mode .ai-welcome-profile{justify-content:flex-start;gap:15px;margin:4px 0 23px;text-align:left}
#cywolfAiAssistant.choosing-mode .ai-welcome-profile img{width:84px;height:84px;flex:none;box-shadow:none;border:0;background:#f0f6ff;object-position:center 27%}
#cywolfAiAssistant .ai-welcome-profile div{display:flex;flex-direction:column;gap:5px;min-width:0}
#cywolfAiAssistant .ai-welcome-profile strong{font-size:23px;line-height:1.2;color:#10264a;letter-spacing:-.5px}
#cywolfAiAssistant .ai-welcome-profile span{font-size:12px;line-height:1.4;font-weight:400;color:#64758c}
#cywolfAiAssistant.choosing-mode .ai-welcome-copy h3{font-size:26px;letter-spacing:-.8px;margin:0 0 7px;color:#10264a;line-height:1.2}
#cywolfAiAssistant.choosing-mode .ai-welcome-copy p{font-size:13px;line-height:1.5;margin:0;color:#64758c}
#cywolfAiAssistant.choosing-mode .ai-mode-choices{display:flex;flex-direction:column;gap:12px;margin:23px 0 0}
#cywolfAiAssistant.choosing-mode .ai-mode-card{min-height:56px;padding:14px 18px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;border-radius:18px;background:#0960f5;border:1px solid #0960f5;color:#fff;box-shadow:none;text-align:left;transform:none}
#cywolfAiAssistant.choosing-mode .ai-mode-card strong{font-size:14px;line-height:1.3;color:inherit;font-weight:650}
#cywolfAiAssistant.choosing-mode .ai-mode-card[data-assistant-mode="voice"]{background:#fff;color:#0960f5;border-color:#0960f5}
#cywolfAiAssistant.choosing-mode .ai-mode-card:hover{background:#084ed0;border-color:#084ed0;box-shadow:0 3px 12px #0960f51c}
#cywolfAiAssistant.choosing-mode .ai-mode-card[data-assistant-mode="voice"]:hover{background:#eff5ff}
#cywolfAiAssistant.choosing-mode .ai-mode-card[data-assistant-mode="voice"] .ai-mode-card-icon,#cywolfAiAssistant.choosing-mode .ai-mode-card-icon{background:none;color:inherit;border-radius:0;width:23px;height:24px;flex:none}
#cywolfAiAssistant.choosing-mode .ai-mode-card-icon svg{width:23px;height:23px}
#cywolfAiAssistant .ai-mode-arrow{margin-left:auto;font-size:25px;line-height:1;font-weight:400}
#cywolfAiAssistant.choosing-mode .ai-chooser-hint{display:block;text-align:center;font-size:12px;color:#6c7c92;margin:15px 0 20px}
#cywolfAiAssistant.choosing-mode .ai-chooser-team{display:flex;align-items:center;justify-content:center;gap:9px;border:0;border-top:1px solid #e5ecf5;background:#fff;color:#284361;min-height:53px;width:100%;padding:16px 8px 0;font:600 13px/1.3 Inter,system-ui,sans-serif;cursor:pointer}
#cywolfAiAssistant.choosing-mode .ai-chooser-team svg{width:21px;height:21px;flex:none}
#cywolfAiAssistant.choosing-mode .ai-chooser-team:hover{color:#0960f5}
#cywolfAiAssistant .ai-chooser-team:focus-visible{outline:3px solid #75aaff;outline-offset:-3px;border-radius:8px}
#cywolfAiAssistant.choosing-mode .ai-assistant-input,#cywolfAiAssistant.choosing-mode .ai-service-grid,#cywolfAiAssistant.choosing-mode .ai-mode-switch,#cywolfAiAssistant.choosing-mode .ai-msg{display:none}
@media(max-width:600px){
 #cywolfAiAssistant.choosing-mode .ai-assistant-panel{width:min(400px,calc(100vw - 24px));max-height:calc(100dvh - 164px);bottom:70px;border-radius:24px}
 #cywolfAiAssistant.choosing-mode .ai-assistant-head{padding:19px 20px 9px}
 #cywolfAiAssistant.choosing-mode .ai-assistant-messages{padding:12px 20px 18px}
 #cywolfAiAssistant.choosing-mode .ai-welcome-profile{margin-bottom:21px;gap:13px}
 #cywolfAiAssistant.choosing-mode .ai-welcome-profile img{width:75px;height:75px}
 #cywolfAiAssistant.choosing-mode .ai-welcome-copy h3{font-size:25px}
 #cywolfAiAssistant.choosing-mode .ai-mode-card{padding:14px;gap:10px}
 #cywolfAiAssistant.choosing-mode .ai-mode-card strong{font-size:13px}
}
@media(max-height:600px){
 #cywolfAiAssistant.choosing-mode .ai-welcome-profile img{width:60px;height:60px}
 #cywolfAiAssistant.choosing-mode .ai-welcome-profile{margin-bottom:14px}
 #cywolfAiAssistant.choosing-mode .ai-mode-choices{margin-top:16px;gap:9px}
 #cywolfAiAssistant.choosing-mode .ai-chooser-hint{margin:12px 0}
}
