/* Case Chat — round 3 (DESIGN-SPEC §2.4, §2.5, §12).
   1. Compact in-flow invitation pill (440 × 56) in the integrator's [data-case-chat-invite] slot, or as the hero
   box's last child. 2. Floating dock: a 52 px icon-only disc (48 ≤ 600) in the bottom-end corner at every width,
   shown only after the pill is ≥ 1 viewport above the fold. 3. The existing scripted dialog.
   Solid colours first; glass as progressive enhancement; identical fallback set for every glass surface.
   Selectors are written with `.cc-entry …` specificity so they beat the legacy site.css launcher rules
   (`.cc-lifted`, the ≤ 600 icon-only block) whichever order the two stylesheets load in. */
.has-case-chat .float-call{display:none!important}

/* ---------- 1. Invitation slot + pill ---------- */
.cc-invite{display:flow-root;box-sizing:border-box;padding:32px var(--gutter-a,10px) 0}
.cc-invite.cc-invite--hero{padding-top:0}
.cc-launcher-wrap{position:relative;z-index:2;isolation:isolate;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:8px;width:fit-content;max-width:calc(100% - 40px);margin:0 auto;padding:0;transition:none}
.cc-launcher-wrap--pad{margin-bottom:40px}
.cc-launcher-wrap[data-placement=after-hero],.cc-launcher-wrap[data-placement=main],.cc-launcher-wrap[data-placement=body]{margin-block:24px}
.cc-launcher-wrap.cc-is-open{visibility:hidden}
.cc-entry .cc-launcher{position:relative;box-sizing:border-box;flex:1 1 auto;width:440px;max-width:100%;min-width:0;min-height:56px;display:flex;align-items:center;gap:12px;margin:0;padding:7px 8px;padding-inline-end:10px;border:1px solid rgba(204,225,246,.38);border-radius:999px;background:#182658;color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 14px 34px rgba(5,13,43,.35);cursor:pointer;font-family:var(--f-text,Montserrat,sans-serif);text-align:start;-webkit-tap-highlight-color:transparent;transition:transform .2s var(--ease-std,cubic-bezier(.2,.7,.2,1)),border-color .2s ease,box-shadow .2s ease}
.cc-entry .cc-launcher:hover{transform:translateY(-2px);border-color:rgba(204,225,246,.7);box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 18px 40px rgba(5,13,43,.42)}
.cc-entry .cc-launcher:focus-visible{outline:3px solid #F9E900;outline-offset:4px}
.cc-launcher-wrap[data-surface=light] .cc-launcher:focus-visible{outline-color:#0072C7;box-shadow:0 0 0 3px #fff,0 14px 34px rgba(5,13,43,.35)}
.cc-entry .cc-launcher .cc-launcher__copy{position:static;display:grid;gap:1px;flex:1 1 auto;min-width:0;width:auto;height:auto;overflow:visible;clip:auto}
.cc-entry .cc-launcher .cc-launcher__copy strong{display:block;font:600 15px/1.3 var(--f-text,Montserrat,sans-serif);color:#F9E900}
.cc-entry .cc-launcher .cc-launcher__copy>span{display:block;font:400 13px/1.4 var(--f-text,Montserrat,sans-serif);color:#E3E9FF}
html[lang=es] .cc-entry .cc-launcher .cc-launcher__copy>span{font-size:12px} /* the Spanish line is 340 px at 13 px; 314 px at 12 px fits the 324 px copy column */
.cc-mascot{order:-1;flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#F9E900;color:#0C1D55}
.cc-mascot svg{display:block;width:24px;height:24px;overflow:visible}
.cc-entry .cc-launcher .cc-mascot{width:40px;height:40px}
.cc-entry .cc-launcher .cc-mascot svg{width:24px;height:24px}
.cc-launcher--lemon .cc-mascot,.cc-dock--lemon .cc-mascot{background:#F3F6FF}
.cc-entry .cc-launcher--lemon .cc-mascot svg,.cc-dock--lemon .cc-mascot svg{width:32px;height:32px}
.cc-launcher--lemon .cc-mascot svg{transform-origin:50% 95%;animation:cc-lemon-hop 8s .4s infinite ease-in-out}
.cc-launcher__go{flex:none;margin-inline-start:auto;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;border:1.5px solid rgba(249,233,0,.6);color:#F9E900;transition:transform .2s var(--ease-std,cubic-bezier(.2,.7,.2,1)),background-color .2s ease,border-color .2s ease,color .2s ease}
.cc-launcher__go svg{display:block;width:18px;height:18px}
.cc-entry .cc-launcher:hover .cc-launcher__go{background:#F9E900;border-color:#F9E900;color:#0C1D55;transform:translateX(2px)}
.cc-motion-toggle{flex:none;width:44px;height:44px;display:grid;place-items:center;border:1px solid rgba(204,225,246,.45);background:rgba(12,29,85,.72);color:#fff;border-radius:50%;font-size:12px;line-height:1;cursor:pointer}
.cc-motion-toggle:focus-visible{outline:3px solid #F9E900;outline-offset:3px}
.cc-launcher-wrap[data-surface=light] .cc-motion-toggle:focus-visible{outline-color:#0072C7;box-shadow:0 0 0 3px #fff}
.cc-motion-paused .cc-mascot svg,.cc-page-hidden .cc-mascot svg,.cc-offscreen .cc-mascot svg{animation-play-state:paused}
@keyframes cc-lemon-hop{0%,12%,100%{transform:translateY(0) rotate(0)}3%{transform:translateY(-4px) rotate(-4deg)}6%{transform:translateY(0) rotate(0)}9%{transform:translateY(-2px) rotate(2deg)}}

/* ---------- 2. Floating dock — DESIGN-SPEC §12: a 52 px yellow disc (48 ≤ 600), navy glyph, 2 px navy ring, in the
   bottom-end corner at every width ("never the centre, never a box"); solid, because the dock is not one of the five
   glass surfaces (§2). The label stays in the DOM for localize() but is hidden; the accessible name is the aria-label.
   Lemon pages keep the lemon on the light #F3F6FF disc so the yellow fruit stays readable. ---------- */
.cc-dock{position:fixed;z-index:90;inset-inline-end:20px;bottom:max(20px,env(safe-area-inset-bottom,0px));box-sizing:border-box;display:grid;place-items:center;width:52px;height:52px;min-width:0;margin:0;padding:0;border:2px solid #0C1D55;border-radius:50%;background:#F9E900;color:#0C1D55;font:600 13px/1 var(--f-text,Montserrat,sans-serif);box-shadow:0 12px 32px -12px rgba(8,19,56,.5);cursor:pointer;-webkit-tap-highlight-color:transparent;opacity:0;visibility:hidden;transform:translateY(8px);pointer-events:none;transition:opacity .2s ease,transform .2s var(--ease-std,cubic-bezier(.2,.7,.2,1)),visibility 0s linear .2s}
.cc-dock.is-visible{opacity:1;visibility:visible;transform:none;pointer-events:auto;transition-delay:0s}
.cc-dock.is-visible:hover{transform:translateY(-2px)}
.cc-dock.cc-obscured,html.cc-open .cc-dock{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px)}
.cc-dock.cc-opposite{inset-inline-end:auto;inset-inline-start:20px}
.cc-dock .cc-mascot,.cc-dock--lemon .cc-mascot{order:0;width:100%;height:100%;border-radius:inherit;background:transparent}
.cc-dock .cc-mascot svg{width:26px;height:26px}
.cc-dock--lemon{background:#F3F6FF}
.cc-dock--lemon .cc-mascot svg{width:34px;height:34px}
.cc-dock__label{display:none}
.cc-dock:focus-visible{outline:3px solid #0072C7;outline-offset:3px;box-shadow:0 0 0 3px #fff,0 12px 32px -12px rgba(8,19,56,.5)}

/* ---------- 3. Dialog ---------- */
html.cc-open,html.cc-open body{overflow:hidden!important}
.cc-dialog{box-sizing:border-box;position:fixed;inset:0;width:min(480px,calc(100vw - 32px));max-width:calc(100vw - 32px);height:min(720px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid #9AA9DD;border-radius:24px;background:#F0F2FB;color:#0c1d55;box-shadow:0 28px 90px #080e3659,inset 0 1px 0 #ffffffb3;overflow:hidden;font-family:var(--f-text,Montserrat,sans-serif);text-align:start}
.cc-dialog *{box-sizing:border-box}.cc-dialog[open]{display:flex;flex-direction:column}.cc-dialog::backdrop{background:rgba(16,22,50,.55)}.cc-dialog.cc-fallback[open]{z-index:10000;box-shadow:0 0 0 100vmax #050d2b99}
.cc-dialog.cc-animating{will-change:transform}
.cc-header{position:relative;flex:none;background:linear-gradient(120deg,#122b61,#302054);color:#fff;padding:16px 18px 12px;border-bottom:1px solid #ffffff20}.cc-heading{display:flex;align-items:center;gap:12px;padding-inline-end:35px}.cc-brand{width:44px;height:44px;flex:none;display:block;background:#152c65;border:1px solid #496396;border-radius:12px}.cc-dialog #cc-title{font:600 28px/1.1 var(--f-primary,'Barlow Condensed',sans-serif);color:#f9e900;margin:0 0 5px}.cc-dialog #cc-intro{color:#d7e5f4;font-size:11px;line-height:1.6;margin:0}.cc-close{position:absolute;inset-inline-end:9px;top:12px;width:44px;height:44px;background:none;color:#d1e0f3;border:0;cursor:pointer;border-radius:50%;display:grid;place-items:center}.cc-close:hover{background:#ffffff15}.cc-close svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.cc-header-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:13px}.cc-step{font-size:11px;line-height:1.6;color:#cce1f6}.cc-language select{min-height:44px;background:#203563;color:#fff;border:1px solid #6b80a8;border-radius:7px;padding:5px 9px;font-size:12px;max-width:135px;font-family:inherit}.cc-scroll{position:relative;overflow:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:18px 17px 22px;scrollbar-color:#aabbd2 #edf3fa}.cc-stream{position:relative;display:flex;flex-direction:column;gap:13px}.cc-message{display:flex;max-width:93%;align-self:flex-start;position:relative}.cc-message--visitor{align-self:flex-end;max-width:86%}.cc-bubble{padding:14px 16px;border:1px solid #dbe4ef;border-radius:17px 17px 17px 3px;background:#fff;font-size:13px;line-height:1.8;overflow-wrap:anywhere;box-shadow:0 2px 4px #12275906}.cc-message--visitor .cc-bubble{background:#0c1d55;border-color:#0c1d55;color:#fff;border-radius:17px 17px 3px 17px;padding:11px 16px;font-size:12px}.cc-sync-note{font-size:10px;line-height:1.7;text-align:center;color:#65758e;margin:0 9px 3px}.cc-bubble h3{font:600 24px/1.25 var(--f-primary,'Barlow Condensed',sans-serif);margin:0 0 9px;color:#0c1d55;letter-spacing:0}.cc-bubble h3:focus{outline:none}.cc-bubble p{font-size:12px;line-height:1.8;margin:8px 0;color:#4c5c74;max-width:none}.cc-bubble p:last-child{margin-bottom:0}.cc-dock-area{margin-top:16px}.cc-replies{display:grid;gap:9px;padding-inline-start:24px}.cc-reply{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f7f7ff;color:#0c1d55;border:1px solid #bdc8e5;border-radius:13px 13px 3px 13px;padding:12px 14px;min-height:49px;font:600 12px/1.65 var(--f-text,Montserrat,sans-serif);text-align:start;cursor:pointer;transition:background .15s ease,border-color .15s ease}.cc-reply>span{min-width:0;overflow-wrap:anywhere}.cc-reply>i{font-size:16px;font-style:normal;flex:none}.cc-reply:hover{background:#fffbd4;border-color:#a39220}.cc-history-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:16px 0 0}.cc-history-tools button{border:0;background:none;color:#0c1d55;font:600 11px/1.6 var(--f-text,Montserrat,sans-serif);cursor:pointer;min-height:44px;text-align:start;padding:4px 0;text-decoration:underline;text-underline-offset:3px;max-width:48%}.cc-history-tools button:disabled{opacity:.4;cursor:default}.cc-history-tools>span{font-size:10px;line-height:1.7;max-width:50%;text-align:end;color:#596b86}.cc-footer{flex:none;border-top:1px solid #d5e0ee;padding:11px 20px 13px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px}.cc-footer p{color:#5e6f88;font-size:10px;line-height:1.75;margin:0;max-width:245px}.cc-return{background:none;color:#0c1d55;border:0;text-align:start;min-height:44px;font:600 10px/1.7 var(--f-text,Montserrat,sans-serif);cursor:pointer;text-decoration:underline;text-underline-offset:3px;max-width:120px;padding:3px 0}.cc-result-message{max-width:100%}.cc-result{padding:18px}.cc-result-label{font-size:10px!important;font-weight:700;letter-spacing:.05em;color:#0072c7!important}.cc-result .cc-notice{background:#edf4fb;border-inline-start:3px solid #0072c7;padding:11px 12px;border-radius:0 8px 8px 0;font-size:11px}.cc-result details{border-block:1px solid #dce5ef;padding:3px 0;margin:15px 0}.cc-result summary{font-size:12px;font-weight:700;min-height:44px;align-content:center;cursor:pointer}.cc-result ul{padding-inline-start:19px;font-size:11px;line-height:1.9;margin-block:5px 13px}.cc-result li+li{margin-top:8px}.cc-result .cc-legal{font-size:10px;color:#5d6c83;line-height:1.85}.cc-result h4{font:600 22px/1.3 var(--f-primary,'Barlow Condensed',sans-serif);color:#0c1d55;margin:18px 0 12px}.cc-call{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;min-height:47px;padding:12px 15px;background:#f9e900;border:1px solid #f9e900;color:#0c1d55;border-radius:25px;font-size:12px;line-height:1.5;font-weight:700;text-decoration:none}.cc-dialog button:focus-visible,.cc-dialog a:focus-visible,.cc-dialog select:focus-visible,.cc-dialog summary:focus-visible{outline:3px solid #0072c7;outline-offset:3px}.cc-header button:focus-visible,.cc-header select:focus-visible{outline-color:#f9e900}.cc-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Dialog motion. GSAP drives the from-rect → to-rect expansion inline (case-chat.js); these keyframes are the
   no-GSAP fallback (`.cc-anim-css`) and the ≤ 600 bottom sheet. Transform/opacity only. */
.cc-dialog[open]::backdrop{animation:cc-backdrop-in .24s ease both}
.cc-dialog.is-closing::backdrop{animation:cc-backdrop-out .24s ease both}
.cc-dialog.cc-anim-css[open]{animation:cc-dialog-in .24s var(--ease-std,cubic-bezier(.2,.7,.2,1)) both}
.cc-dialog.cc-anim-css.is-closing{animation:cc-dialog-out .24s var(--ease-std,cubic-bezier(.2,.7,.2,1)) both}
@keyframes cc-backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes cc-backdrop-out{from{opacity:1}to{opacity:0}}
@keyframes cc-dialog-in{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:none}}
@keyframes cc-dialog-out{from{opacity:1;transform:none}to{opacity:0;transform:scale(.96)}}
@keyframes cc-sheet-in{from{transform:translateY(100%)}to{transform:none}}
@keyframes cc-sheet-out{from{transform:none}to{transform:translateY(100%)}}

/* ---------- RTL ---------- */
[dir=rtl] .cc-launcher,[dir=rtl] .cc-dock,.cc-dock[dir=rtl]{font-family:Vazirmatn,sans-serif}
[dir=rtl] .cc-launcher__go svg,.cc-dock[dir=rtl] .cc-arrow{transform:scaleX(-1)}
[dir=rtl] .cc-entry .cc-launcher:hover .cc-launcher__go{transform:translateX(-2px)}
[dir=rtl] .cc-entry .cc-launcher .cc-launcher__copy strong{font:700 15px/1.35 Vazirmatn,sans-serif}
[dir=rtl] .cc-entry .cc-launcher .cc-launcher__copy>span{font:400 12.5px/1.5 Vazirmatn,sans-serif} /* 20.25 + 18.75 + 1 gap + 14 padding + 2 border = 56 px; at 12.5 px the fa hint is 284 px wide, so it stays on one line in the 324 px copy column */
.cc-dialog[dir=rtl]{font-family:Vazirmatn,sans-serif}.cc-dialog[dir=rtl] #cc-title{font:700 21px/1.6 Vazirmatn,sans-serif}.cc-dialog[dir=rtl] #cc-intro{font-size:11px;line-height:1.9}.cc-dialog[dir=rtl] .cc-bubble{border-radius:17px 17px 3px 17px;font-size:13px;line-height:1.95}.cc-dialog[dir=rtl] .cc-message--visitor .cc-bubble{border-radius:17px 17px 17px 3px}.cc-dialog[dir=rtl] .cc-bubble h3{font:700 20px/1.8 Vazirmatn,sans-serif}.cc-dialog[dir=rtl] .cc-bubble h4{font:700 18px/1.8 Vazirmatn,sans-serif}.cc-dialog[dir=rtl] .cc-reply{font:500 13px/1.9 Vazirmatn,sans-serif;border-radius:13px 13px 13px 3px}.cc-dialog[dir=rtl] .cc-reply>i{transform:scaleX(-1)}.cc-dialog[dir=rtl] .cc-result .cc-notice{border-radius:8px 0 0 8px}.cc-dialog[dir=rtl] .cc-result-label{letter-spacing:0}.cc-dialog[dir=rtl] .cc-bubble p,.cc-dialog[dir=rtl] .cc-result li{line-height:1.95}

/* ---------- Breakpoints ---------- */
@media(max-width:1024px){.cc-dock{bottom:max(16px,env(safe-area-inset-bottom,0px))}}
@media(max-width:767px){
 .cc-launcher-wrap{max-width:calc(100% - 32px)}
 .cc-entry .cc-launcher .cc-launcher__copy>span{font-size:12px}
}
@media(max-width:600px){
 .home-hero__box .cc-launcher-wrap--pad{margin-bottom:72px} /* clears the 40 px .video-toggle at bottom 18 until the hero module moves it (DESIGN-SPEC §15.1) */
 .cc-entry .cc-launcher{padding:7px;padding-inline-end:9px;gap:10px}
 .cc-entry .cc-launcher .cc-launcher__copy strong{font-size:14px}
 .cc-dock{width:48px;height:48px;inset-inline-end:16px}.cc-dock.cc-opposite{inset-inline-start:16px}.cc-dock .cc-mascot svg{width:24px;height:24px}.cc-dock--lemon .cc-mascot svg{width:30px;height:30px}
 .cc-dialog{inset:0;width:calc(100vw - 24px);max-width:calc(100vw - 24px);height:min(680px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);margin:auto;border-radius:21px}
 .cc-dialog.cc-anim-css[open]{animation:cc-sheet-in .32s cubic-bezier(.2,.8,.2,1) both}
 .cc-dialog.cc-anim-css.is-closing{animation:cc-sheet-out .24s cubic-bezier(.2,.8,.2,1) both}
 .cc-header{padding:15px 15px 10px}.cc-heading{gap:10px}.cc-brand{width:37px;height:37px}.cc-dialog #cc-title{font-size:26px}.cc-close{top:8px;inset-inline-end:5px}.cc-header-tools{margin-top:8px}.cc-scroll{padding:15px 12px 20px}.cc-bubble{padding:12px 14px}.cc-bubble h3{font-size:23px}.cc-replies{padding-inline-start:15px}.cc-reply{font-size:12px;padding:11px 13px}.cc-footer{padding:8px 14px 10px;gap:13px}.cc-footer p{font-size:10px}.cc-return{font-size:10px;max-width:100px}.cc-result{padding:14px}.cc-dialog[dir=rtl] #cc-title{font-size:19px}.cc-dialog[dir=rtl] .cc-bubble h3{font-size:18px}
}

/* ---------- Glass (progressive enhancement; DESIGN-SPEC §2.4 pill, §2.5 dialog) ---------- */
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
 .cc-launcher-wrap[data-surface=dark] .cc-launcher{background:radial-gradient(ellipse 60% 45% at 18% 0%,rgba(255,255,255,.16) 0%,rgba(255,255,255,0) 62%),rgba(41,62,122,.42);-webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%)}
 .cc-launcher-wrap[data-surface=light] .cc-launcher{background:radial-gradient(ellipse 60% 45% at 18% 0%,rgba(255,255,255,.14) 0%,rgba(255,255,255,0) 62%),rgba(12,29,85,.86);-webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%)}
 .cc-dialog{background:rgba(240,242,251,.92);-webkit-backdrop-filter:blur(24px) saturate(130%);backdrop-filter:blur(24px) saturate(130%)}
 .cc-dialog::backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
}
/* Fallbacks — the identical set for every glass surface here (pill, both variants; dialog; backdrop). The
   `[data-surface=…]` selectors are repeated so each fallback matches the (0,3,0) specificity of the glass rules above
   (round-1 QA: the light pill kept its blur under prefers-reduced-transparency). `html[data-glass=opaque]` mirrors
   glass.js (forced-colors / reduced-transparency). `html[data-glass=fallback]` is deliberately not used: glass.js sets
   it whenever OpenGlass is absent, blur support or not (same reasoning as header.css §10). */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
 .cc-entry .cc-launcher,.cc-launcher-wrap[data-surface=dark] .cc-launcher,.cc-launcher-wrap[data-surface=light] .cc-launcher{background:#182658}.cc-dialog{background:#F0F2FB}
}
@media(prefers-reduced-transparency:reduce){
 .cc-entry .cc-launcher,.cc-launcher-wrap[data-surface=dark] .cc-launcher,.cc-launcher-wrap[data-surface=light] .cc-launcher,.cc-dialog,.cc-dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}
 .cc-entry .cc-launcher,.cc-launcher-wrap[data-surface=dark] .cc-launcher,.cc-launcher-wrap[data-surface=light] .cc-launcher{background:#182658}.cc-dialog{background:#F0F2FB}
}
html[data-glass=opaque] .cc-entry .cc-launcher,html[data-glass=opaque] .cc-launcher-wrap[data-surface=dark] .cc-launcher,html[data-glass=opaque] .cc-launcher-wrap[data-surface=light] .cc-launcher{background:#182658;-webkit-backdrop-filter:none;backdrop-filter:none}
html[data-glass=opaque] .cc-dialog{background:#F0F2FB;-webkit-backdrop-filter:none;backdrop-filter:none}
html[data-glass=opaque] .cc-dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}
@media(prefers-reduced-motion:reduce){
 .cc-launcher--lemon .cc-mascot svg{animation:none!important}.cc-motion-toggle{display:none}
 .cc-entry .cc-launcher,.cc-launcher__go,.cc-dock,.cc-dialog *{transition:none!important;scroll-behavior:auto!important}
 .cc-entry .cc-launcher:hover,.cc-dock.is-visible:hover{transform:none}
 .cc-dialog,.cc-dialog::backdrop,.cc-dialog.cc-anim-css[open],.cc-dialog.cc-anim-css.is-closing,.cc-dialog.is-closing::backdrop{animation:none!important}
}
@media(forced-colors:active){
 .cc-entry .cc-launcher,.cc-launcher-wrap[data-surface=dark] .cc-launcher,.cc-launcher-wrap[data-surface=light] .cc-launcher,.cc-dock,.cc-dialog,.cc-bubble,.cc-reply,.cc-call,.cc-motion-toggle,.cc-mascot,.cc-launcher__go{background:Canvas;color:CanvasText;border:2px solid CanvasText;-webkit-backdrop-filter:none;backdrop-filter:none}
 .cc-launcher__copy strong,.cc-launcher__copy>span,.cc-dock__label,.cc-header,.cc-dialog #cc-title,.cc-dialog #cc-intro,.cc-step,.cc-close{background:Canvas;color:CanvasText}
 .cc-message--visitor .cc-bubble{border-color:Highlight}.cc-dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}
}

/* Approved phone-style conversation. Scoped to the dialog; invitation and dock rules above are unchanged. */
html body #case-chat-dialog.cc-dialog.cc-phone{width:min(460px,calc(100vw - 32px));height:min(820px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);border:1px solid #53668f;border-radius:30px;background:#0b173e;color:#f5f7ff;box-shadow:0 32px 100px #030a2f80,inset 0 1px 0 #ffffff18;isolation:isolate}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-header{padding:15px 18px 12px;background:#0d1a43;border-bottom:1px solid #7e97d124}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-heading{min-height:46px;gap:10px;padding-inline-end:92px}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-brand{width:43px;height:43px;border:0;border-radius:13px;background:#172d69}
html body #case-chat-dialog.cc-dialog.cc-phone #cc-title{margin:0 0 3px;color:#fff;font:700 24px/1.05 var(--f-primary,'Barlow Condensed',sans-serif);letter-spacing:-.02em}
html body #case-chat-dialog.cc-dialog.cc-phone #cc-intro{font-size:10px;font-weight:600;line-height:1.5;color:#bdcce8}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-header-actions{position:absolute;inset-inline-end:12px;top:15px;display:flex;gap:3px}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-header-actions button{position:static;display:grid;place-items:center;width:42px;height:42px;border:1px solid #8ca2d12e;border-radius:50%;background:#ffffff06;color:#e1e9fb;cursor:pointer}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-header-actions button:hover{background:#ffffff12;border-color:#8ca2d17d}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-header-actions button:disabled{opacity:.4;cursor:default}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-header-actions svg{display:block;width:19px;height:19px;min-width:19px;max-width:19px;min-height:19px;max-height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-header-tools{margin-top:6px;gap:10px;min-height:40px}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-step{color:#a8bcdf;font-size:10px;font-weight:600}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-language select{min-height:40px;max-width:120px;padding:4px 9px;border-color:#8ca2d12e;border-radius:12px;background:#14254e;color:#dbe6fb;font-size:11px}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-progress{display:flex;gap:5px;height:4px;margin-top:5px;border-radius:2px;overflow:hidden}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-progress span{flex:1;min-width:0;border-radius:2px;background:#7284b237}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-progress .is-complete{background:#f7ec24}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-progress .is-current{background:#b1a62b}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-scroll{min-height:120px;overflow:auto; padding:18px 16px 22px;background:radial-gradient(circle,#7ba4e612 1px,transparent 1.5px) 0 0/20px 20px,linear-gradient(155deg,#172d6b 0%,#101f50 48%,#0a1538 100%);scrollbar-color:#657ca0 #111f48;scrollbar-width:thin}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-stream{gap:12px}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-welcome{text-align:center;padding:0 18px 12px}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-welcome-crest{display:grid;place-items:center;width:65px;height:65px;margin:0 auto 10px;border:1px solid #a2b5de25;border-radius:22px;background:#13265c;box-shadow:0 0 0 6px #ffffff04,inset 0 1px 0 #ffffff0c}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-welcome-crest .cc-brand{width:57px;height:57px;background:transparent}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-welcome h3{margin:0 0 4px;color:#fff;font:700 28px/1.2 var(--f-primary,'Barlow Condensed',sans-serif);letter-spacing:-.02em}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-welcome-intro{margin:0;color:#8dbafa;font-size:11px;font-weight:600;line-height:1.65}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-private-note{margin:9px auto 0;color:#a7b8da;font-size:10px;line-height:1.7;max-width:290px}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-message{max-width:97%;gap:8px;align-items:flex-end}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-avatar{display:block;flex:none;width:25px;height:29px;padding-bottom:4px}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-avatar .cc-brand{display:block;width:25px;height:25px;border-radius:8px;background:#18377b}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-bubble{min-width:0;padding:12px 14px;background:linear-gradient(135deg,#ffffff13,#ffffff09);border:1px solid #b5c8ec1f;border-radius:20px 20px 20px 5px;color:#e9effe;font-size:13px;line-height:1.85;box-shadow:0 2px 8px #020b2a0f}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-message--visitor{max-width:83%;padding-inline-end:5px;margin-block:1px 3px}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-message--visitor .cc-bubble{position:relative;border:1px solid #fff260;background:#f8ed2b;color:#13234c;border-radius:19px 19px 5px 19px;padding:10px 15px;font-size:12px;font-weight:600;box-shadow:0 3px 12px #080e3624}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-message--visitor .cc-bubble::after{content:'';position:absolute;inset-inline-end:-5px;bottom:-1px;width:10px;height:10px;background:#f8ed2b;clip-path:polygon(0 0,100% 100%,0 100%)}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-sync-note{margin:0 33px 3px;color:#a8bbdc;font-size:9px;line-height:1.7}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-bubble h3{color:#f4f7ff;font:600 16px/1.6 var(--f-text,Montserrat,sans-serif);margin:0 0 7px;letter-spacing:0}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-bubble p{color:#c0cdeb;font-size:11px;line-height:1.85;margin:7px 0}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-question-message .cc-bubble{background:linear-gradient(135deg,#3c5086,#263961);border-color:#bacdf12b}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-composer{min-height:0;max-height:min(330px,42dvh);padding:11px 15px 0;background:#0d193e;border-top:1px solid #a3b8e42b;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#657ca0 #111f48}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-dock-area{margin:0}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-reply-label{margin:0 1px 8px;color:#a9bbdd;font-size:10px;font-weight:600}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-replies{padding:0;gap:7px}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-reply{border:1px solid #738fbd80;border-radius:14px;background:#1a2b55;color:#f0f4ff;min-height:44px;padding:9px 13px;font:600 12px/1.6 var(--f-text,Montserrat,sans-serif);box-shadow:inset 0 1px 0 #ffffff05;transition:background .15s ease,border-color .15s ease}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-reply i{font-size:16px;color:#a8c3f0}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-reply:hover{background:#f8ed2b;border-color:#f8ed2b;color:#13234c}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-reply:hover i{color:inherit}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-reply:active{background:#ece227}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-history-tools{margin:4px 1px 0;gap:10px}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-history-tools button{min-height:36px;color:#bfd0ec;font-size:9px;max-width:50%}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-history-tools>span{font-size:9px;color:#9badce;line-height:1.5}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-contact-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #a3b8e41a;padding:5px 0 0}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-phone-link{display:inline-flex;align-items:center;gap:8px;min-height:42px;color:#e1ebff;text-decoration:none;font-size:11px;font-weight:600;line-height:1.6}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-phone-link[hidden]{display:none}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-phone-link svg{display:block;width:18px;height:18px;min-width:18px;max-width:18px;min-height:18px;max-height:18px;flex:0 0 18px;fill:none;stroke:#88b8f5;stroke-width:1.5;stroke-linejoin:round}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-return{color:#9eb2d4;max-width:48%;font-size:9px;min-height:40px;text-align:end;line-height:1.55}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-footer{display:block;padding:7px 20px 11px;background:#0d193e;border-top:0;text-align:center}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-footer p{max-width:none;margin:0;color:#a5b6d3;font-size:9px;line-height:1.65}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-result-message{max-width:100%}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-result{padding:14px}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-result .cc-result-label{color:#8dc4ff!important;font-size:10px!important}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-result .cc-notice{background:#0c1b41;border-inline-start-color:#91bfff;color:#d4e1f8}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-result details{border-color:#98b3e23b}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-result summary{font-size:11px;line-height:1.7;color:#e5edff}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-result ul{color:#d0ddf3}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-result .cc-legal{color:#a8bcde;font-size:10px}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-result h4{color:#f4f7ff;font:600 16px/1.65 var(--f-text,Montserrat,sans-serif)}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-call{border-radius:16px}
html body #case-chat-dialog.cc-dialog.cc-phone button:focus-visible,html body #case-chat-dialog.cc-dialog.cc-phone a:focus-visible,html body #case-chat-dialog.cc-dialog.cc-phone select:focus-visible,html body #case-chat-dialog.cc-dialog.cc-phone summary:focus-visible{outline-color:#f8ed2b;outline-offset:2px}
html body #case-chat-dialog.cc-dialog.cc-phone .cc-message-enter{animation:cc-message-arrive .24s ease-out both}
@keyframes cc-message-arrive{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
html[data-glass] body #case-chat-dialog.cc-dialog.cc-phone{background:#0b173e;backdrop-filter:none;-webkit-backdrop-filter:none}
html body #case-chat-dialog.cc-dialog.cc-phone[dir=rtl] #cc-title{font:700 24px/1.1 var(--f-primary,'Barlow Condensed',sans-serif)}
html body #case-chat-dialog.cc-dialog.cc-phone[dir=rtl] #cc-intro{font-size:10px;line-height:1.7}
html body #case-chat-dialog.cc-dialog.cc-phone[dir=rtl] .cc-bubble{border-radius:20px 20px 5px 20px;font-size:13px}
html body #case-chat-dialog.cc-dialog.cc-phone[dir=rtl] .cc-bubble h3,html body #case-chat-dialog.cc-dialog.cc-phone[dir=rtl] .cc-bubble h4{font:600 16px/1.9 Vazirmatn,sans-serif}
html body #case-chat-dialog.cc-dialog.cc-phone[dir=rtl] .cc-message--visitor .cc-bubble{border-radius:19px 19px 19px 5px}
html body #case-chat-dialog.cc-dialog.cc-phone[dir=rtl] .cc-message--visitor .cc-bubble::after{clip-path:polygon(100% 0,100% 100%,0 100%)}
html body #case-chat-dialog.cc-dialog.cc-phone[dir=rtl] .cc-reply{font:500 13px/1.8 Vazirmatn,sans-serif;border-radius:14px}
@media(max-width:600px){
 html body #case-chat-dialog.cc-dialog.cc-phone{width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(100dvh - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));border-radius:25px}
 html body #case-chat-dialog.cc-dialog.cc-phone .cc-header{padding:12px 14px 10px}html body #case-chat-dialog.cc-dialog.cc-phone .cc-header-actions{inset-inline-end:9px;top:12px}
 html body #case-chat-dialog.cc-dialog.cc-phone .cc-language select{font-size:16px}
 html body #case-chat-dialog.cc-dialog.cc-phone .cc-scroll{padding:15px 12px 20px}html body #case-chat-dialog.cc-dialog.cc-phone .cc-message{gap:6px}html body #case-chat-dialog.cc-dialog.cc-phone .cc-bubble{padding:10px 12px}
 html body #case-chat-dialog.cc-dialog.cc-phone .cc-composer{padding-inline:12px;max-height:42dvh}html body #case-chat-dialog.cc-dialog.cc-phone .cc-footer{padding:6px 15px 9px}
 html body #case-chat-dialog.cc-dialog.cc-phone .cc-welcome{padding-bottom:9px}html body #case-chat-dialog.cc-dialog.cc-phone .cc-welcome-crest{width:53px;height:53px;margin-bottom:8px;border-radius:18px}html body #case-chat-dialog.cc-dialog.cc-phone .cc-welcome-crest .cc-brand{width:47px;height:47px}
}
@media(max-height:650px){html body #case-chat-dialog.cc-dialog.cc-phone .cc-welcome{padding-bottom:6px}html body #case-chat-dialog.cc-dialog.cc-phone .cc-welcome-crest{display:none}html body #case-chat-dialog.cc-dialog.cc-phone .cc-welcome h3{font-size:24px}html body #case-chat-dialog.cc-dialog.cc-phone .cc-private-note{margin-top:5px}html body #case-chat-dialog.cc-dialog.cc-phone .cc-header-tools{margin-top:2px}html body #case-chat-dialog.cc-dialog.cc-phone .cc-header{padding-block:9px}html body #case-chat-dialog.cc-dialog.cc-phone .cc-composer{max-height:40dvh}}
@media(prefers-reduced-motion:reduce){html body #case-chat-dialog.cc-dialog.cc-phone .cc-message-enter{animation:none!important}}
html[data-experience-motion=reduced] body #case-chat-dialog.cc-dialog.cc-phone .cc-message-enter{animation:none!important}
@media(forced-colors:active){
 html[data-glass] body #case-chat-dialog.cc-dialog.cc-phone{background:Canvas;color:CanvasText;border-color:CanvasText}
 html body #case-chat-dialog.cc-dialog.cc-phone,html body #case-chat-dialog.cc-dialog.cc-phone .cc-header,html body #case-chat-dialog.cc-dialog.cc-phone .cc-scroll,html body #case-chat-dialog.cc-dialog.cc-phone .cc-composer,html body #case-chat-dialog.cc-dialog.cc-phone .cc-footer,html body #case-chat-dialog.cc-dialog.cc-phone .cc-bubble,html body #case-chat-dialog.cc-dialog.cc-phone .cc-message--visitor .cc-bubble,html body #case-chat-dialog.cc-dialog.cc-phone .cc-reply{background:Canvas;color:CanvasText;border-color:CanvasText}
 html body #case-chat-dialog.cc-dialog.cc-phone .cc-progress span{background:GrayText}html body #case-chat-dialog.cc-dialog.cc-phone .cc-progress .is-complete,html body #case-chat-dialog.cc-dialog.cc-phone .cc-progress .is-current{background:Highlight}
 html body #case-chat-dialog.cc-dialog.cc-phone .cc-message--visitor .cc-bubble::after{display:none}html body #case-chat-dialog.cc-dialog.cc-phone .cc-bubble h3,html body #case-chat-dialog.cc-dialog.cc-phone .cc-bubble p,html body #case-chat-dialog.cc-dialog.cc-phone .cc-footer p,html body #case-chat-dialog.cc-dialog.cc-phone .cc-phone-link,html body #case-chat-dialog.cc-dialog.cc-phone .cc-return{color:CanvasText}
}

/* Explicit four-row layout reserves the transcript independently of the reply list.
   The ID scope wins over later v3 experience styles without changing their launcher. */
html body #case-chat-dialog.cc-dialog.cc-phone[open]{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto auto;align-content:stretch}
html body #case-chat-dialog.cc-dialog.cc-phone>.cc-header,html body #case-chat-dialog.cc-dialog.cc-phone>.cc-scroll,html body #case-chat-dialog.cc-dialog.cc-phone>.cc-composer,html body #case-chat-dialog.cc-dialog.cc-phone>.cc-footer{min-width:0}
@media(max-height:500px){html body #case-chat-dialog.cc-dialog.cc-phone .cc-scroll{min-height:0}html body #case-chat-dialog.cc-dialog.cc-phone .cc-composer{max-height:35dvh}}
