/* Fleuriste d'ici — interface WebRTC premium. Entièrement isolée de Tailwind/Alpine. */
.fdi-cc { --cc-accent:#027a61; --cc-ink:#152935; --cc-muted:#71828a; --cc-line:#e2ece9; --cc-soft:#f2f8f6; font: 500 14px/1.5 Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; color:var(--cc-ink) }
.fdi-cc *, .fdi-cc *::before, .fdi-cc *::after { box-sizing:border-box }
.fdi-cc [hidden] { display:none!important }
.fdi-cc button,.fdi-cc input { font:inherit }
.fdi-cc button { cursor:pointer; -webkit-tap-highlight-color:transparent }
.fdi-cc button:disabled { cursor:not-allowed; opacity:.55 }
.fdi-cc button:focus-visible,.fdi-cc input:focus-visible,.fdi-cc summary:focus-visible { outline:3px solid #61bba3; outline-offset:2px }
.fdi-cc .cc-launcher,.fdi-cc .cc-mini { position:fixed; right:22px; bottom:22px; z-index:1050; background:#0d554b; border:1px solid #ffffff35; border-radius:100px; padding:13px 18px; display:inline-flex; align-items:center; justify-content:center; gap:10px; color:white; box-shadow:0 12px 40px #113c3280; font-size:13px; font-weight:800; max-width:min(92vw,320px); transition:transform .2s,box-shadow .2s }
.fdi-cc .cc-launcher:hover,.fdi-cc .cc-mini:hover { transform:translateY(-3px); box-shadow:0 16px 44px #10443a8c }
/* V4: l'accès client est intégré au chat Flora, pas de bouton d'appel flottant séparé. */
.fdi-cc .cc-mini { bottom:82px; z-index:1051; background:#064b45 }
.fdi-cc .cc-dot { width:9px; height:9px; display:inline-block; border-radius:50%; background:#a1a8af; flex:none; box-shadow:0 0 0 4px #ffffff24 }
.fdi-cc .cc-dot-live { background:#64e7a7; box-shadow:0 0 0 4px #83edb431; animation:cc-pulse 1.8s infinite }
@keyframes cc-pulse { 50% { box-shadow:0 0 0 9px #83edb400 } }
.fdi-cc .cc-count { display:inline-flex; align-items:center; justify-content:center; border-radius:9px; background:#fff3; padding:0 6px }
.fdi-cc .cc-dialog { margin:0; position:fixed; bottom:84px; top:auto; right:22px; left:auto; z-index:2100; width:min(430px,calc(100vw - 26px)); max-height:min(760px,calc(100dvh - 112px)); padding:0; overflow-y:auto; border:1px solid #d8e7e0; border-radius:27px; background:#fff; box-shadow:0 24px 85px #031c1a52; color:var(--cc-ink); scrollbar-width:thin; scrollbar-color:#b4cfc6 transparent; overscroll-behavior:contain }
.fdi-cc .cc-dialog::backdrop { background:transparent }
.fdi-cc .cc-hero { background:linear-gradient(132deg,#004a3e 0%,#107f6e 75%,#249e83 100%); color:white; border-radius:25px 25px 0 0; padding:20px 24px 22px; position:relative; text-align:center; overflow:hidden }
.fdi-cc .cc-hero:before { content:''; position:absolute; width:260px; height:260px; right:-135px; top:-155px; border:42px solid #ffffff10; border-radius:50% }
.fdi-cc .cc-hero-icon { width:52px; height:52px; display:grid; place-items:center; margin:12px auto 8px; background:#ffffff27; border:1px solid #ffffff50; border-radius:18px; backdrop-filter:blur(12px) }
.fdi-cc .cc-hero-icon svg { width:28px; height:28px }
.fdi-cc .cc-eyebrow { display:flex; justify-content:center; align-items:center; gap:9px; font-size:10px; text-transform:uppercase; letter-spacing:.13em; opacity:.91; font-weight:850; padding-right:15px }
.fdi-cc .cc-close { position:absolute; right:13px; top:10px; width:34px; height:34px; display:grid; place-items:center; border:1px solid #ffffff4a; border-radius:12px; font-size:23px; line-height:1; background:#ffffff20; color:white; z-index:1 }
.fdi-cc .cc-hero h2 { color:#fff; font-size:21px; font-weight:850; line-height:1.25; letter-spacing:-.03em; margin:8px auto 5px }
.fdi-cc .cc-hero p { font-size:12px; color:#eefaf7; max-width:330px; margin:0 auto }
.fdi-cc .cc-body { padding:20px 21px 18px }
.fdi-cc .cc-footer { display:flex; gap:7px; align-items:center; justify-content:center; padding:13px 20px; color:#607c74; font-size:10px; font-weight:750; letter-spacing:.04em; background:#f6faf9; border-top:1px solid #eaf1ee; border-radius:0 0 25px 25px }
.fdi-cc .cc-error { color:#b02f39; background:#fff1f0; border:1px solid #ffd6d1; padding:10px 12px; border-radius:12px; font-size:12px; margin:0 0 13px }
.fdi-cc .cc-presence-card,.fdi-cc .cc-alert-card,.fdi-cc .cc-pro-toggle { display:flex; gap:12px; align-items:center; justify-content:space-between; background:#f3faf7; border:1px solid #d8eee5; border-radius:16px; padding:12px 13px; margin-bottom:12px }
.fdi-cc .cc-presence-card strong,.fdi-cc .cc-alert-card strong,.fdi-cc .cc-pro-toggle strong { font-size:13px; font-weight:850; display:block }
.fdi-cc .cc-presence-card p,.fdi-cc .cc-alert-card p { color:var(--cc-muted); font-size:11px; margin:3px 0 0 }
.fdi-cc .cc-switch { background:#016b55; border:0; padding:9px 12px; border-radius:10px; color:white; font-weight:800; flex-shrink:0; font-size:12px }
.fdi-cc .cc-switch[aria-pressed="true"] { background:#d4f4e3; color:#046149 }
.fdi-cc .cc-pro-toggle { align-items:flex-start; justify-content:flex-start; cursor:pointer; background:#fff; padding:13px; margin:14px 0 }
.fdi-cc .cc-pro-toggle input { flex:none; width:19px; height:19px; accent-color:#08775e; margin:2px 0 0 }
.fdi-cc .cc-pro-toggle small { color:var(--cc-muted); font-size:11px; display:block; line-height:1.5; margin-top:3px }
.fdi-cc .cc-pro-toggle:has(input:checked) { background:#f0fbf7; border-color:#8bdac1 }
.fdi-cc .cc-hint { font-size:11px; color:var(--cc-muted); line-height:1.55; margin:9px 0 15px }
.fdi-cc .cc-center { text-align:center }
.fdi-cc .cc-primary,.fdi-cc .cc-danger,.fdi-cc .cc-outline { border:0; border-radius:12px; padding:11px 16px; font-weight:850; font-size:12px; color:white; background:#007760; text-align:center; transition:background .2s,transform .2s }
.fdi-cc .cc-primary:hover { background:#00634d }
.fdi-cc .cc-danger { background:#d83547 }
.fdi-cc .cc-danger:hover { background:#b72536 }
.fdi-cc .cc-outline { background:#f0f7f4; color:#125b4d; border:1px solid #c9e2d7 }
.fdi-cc .cc-text-button { border:0; background:transparent; color:#07745e; font-weight:800; font-size:12px; padding:7px 0 }
.fdi-cc .cc-text-button:hover { text-decoration:underline }
.fdi-cc .cc-alert-card { background:#f8fafc; border-color:#e7ebf1; align-items:flex-start }
.fdi-cc .cc-alert-card .cc-text-button { font-size:11px; max-width:140px; text-align:right; line-height:1.35 }
.fdi-cc .fdi-alerts-inline { border:1px solid #d2e8df; background:#fff; color:#08745d; border-radius:9px; padding:8px 12px; font-size:11px; font-weight:800; width:100%; margin:6px auto 13px }
.fdi-cc .cc-section-title { display:flex; align-items:center; justify-content:space-between; margin:13px 0 9px; gap:10px }
.fdi-cc .cc-section-title h3 { margin:0; color:var(--cc-ink); font-size:13px; font-weight:850 }
.fdi-cc .cc-contacts,.fdi-cc .cc-agent-list { max-height:210px; overflow-y:auto; display:grid; gap:7px; margin:8px 0 12px; scrollbar-width:thin }
.fdi-cc .cc-contact-row { display:flex; align-items:center; justify-content:space-between; gap:10px; border:1px solid var(--cc-line); border-radius:13px; padding:9px 10px; background:#fff }
.fdi-cc .cc-contact-text { min-width:0; display:flex; flex-direction:column }
.fdi-cc .cc-contact-text strong { font-size:12px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis }
.fdi-cc .cc-contact-text small { font-size:10px; color:#678077; margin-top:1px }
.fdi-cc .cc-dial { flex:none; padding:8px 11px; border-radius:10px; font-size:11px }
.fdi-cc .cc-agent-row { width:100%; text-align:left; padding:11px 12px; color:#235345; background:#f6faf8; border:1px solid #dce9e1; border-radius:11px; font-size:12px; font-weight:750 }
.fdi-cc .cc-agent-row[aria-pressed="true"] { border-color:#0b8d6d; box-shadow:inset 0 0 0 1px #0b8d6d; background:#edf9f4 }
.fdi-cc .cc-name-label { display:block; color:#496459; font-size:11px; font-weight:800; margin:9px 0 4px }
.fdi-cc .cc-name-label span { font-weight:500; color:#94a69e }
.fdi-cc .cc-input { display:block; width:100%; border:1px solid #dbe7e1; background:#fff; border-radius:11px; padding:11px 12px; outline:none; font-size:13px; margin-bottom:9px; color:#21332e }
.fdi-cc .cc-empty { padding:12px; font-size:11px; border:1px dashed #bdcfca; border-radius:12px; color:#71817a; background:#f9fcfb }
.fdi-cc [data-cc-start] { display:block; width:100%; margin:8px 0 }
.fdi-cc .cc-call { text-align:center; border:1px solid #e1eee9; border-radius:17px; padding:17px 13px; background:linear-gradient(180deg,#f5fbf8,#fff) }
.fdi-cc .cc-avatar-large { width:68px; height:68px; background:linear-gradient(120deg,#065c4e,#2baf8f); box-shadow:0 10px 28px #067e5d37; border-radius:23px; display:grid; place-items:center; font-size:30px; font-weight:800; color:#fff; margin:0 auto 13px }
.fdi-cc .cc-call-eyebrow { font-size:10px; font-weight:900; color:#008063; letter-spacing:.13em; margin:0 }
.fdi-cc .cc-call h3 { font-size:19px; font-weight:900; margin:3px 0; color:#164337 }
.fdi-cc .cc-call-status { color:#648078; font-size:12px; margin:4px 0 12px }
.fdi-cc .cc-call-actions,.fdi-cc .cc-choice-actions { display:flex; gap:8px; justify-content:center; align-items:center; flex-wrap:wrap; margin:14px auto 6px }
.fdi-cc .cc-call-actions button { flex:1 1 auto }
.fdi-cc .cc-round { color:#136b56; background:#edf7f2; border:1px solid #c6dfd4; border-radius:12px; padding:11px 12px; font-size:12px; font-weight:800 }
.fdi-cc .cc-round[aria-pressed="true"] { background:#fff1ed; color:#b13c35; border-color:#f8d4ce }
.fdi-cc .cc-queue { display:grid; justify-items:center; gap:2px; background:#f0f7f3; border-radius:12px; padding:11px; font-size:11px }
.fdi-cc .cc-queue strong { font-size:22px; font-weight:900; color:#007358 }
.fdi-cc .cc-queue small { color:#71817c; font-size:10px }
.fdi-cc .cc-wave { height:28px; display:flex; gap:3px; align-items:center; justify-content:center }
.fdi-cc .cc-wave i { background:#07916f; width:4px; height:13px; border-radius:8px; animation:cc-wave 1.1s ease-in-out infinite alternate }
.fdi-cc .cc-wave i:nth-child(2n) { animation-delay:.3s }
.fdi-cc .cc-wave i:nth-child(3n) { animation-delay:.6s }
@keyframes cc-wave { 100% {height:25px} }
.fdi-cc .cc-timer { font:900 23px/1.4 ui-monospace,monospace; letter-spacing:.08em; margin:6px 0 }
.fdi-cc .cc-message-option { margin:12px 0; border:1px solid #e3ebee; border-radius:17px; padding:15px; text-align:center; background:#fcfdfd }
.fdi-cc .cc-message-icon { display:grid; place-items:center; margin:auto auto 7px; color:#00836a }
.fdi-cc .cc-message-option strong { font-size:13px; display:block }
.fdi-cc .cc-message-option p { color:var(--cc-muted); font-size:11px; margin:7px 0 }
.fdi-cc .cc-choice-actions button { flex:1 }
.fdi-cc .cc-diagnostics { padding:9px 0; border-top:1px solid #e7eeeb; margin-top:14px; color:#758981; font-size:10px }
.fdi-cc .cc-diagnostics summary { cursor:pointer; font-weight:750; user-select:none }
.fdi-cc .cc-diagnostics p { font-size:11px; padding:4px 0 }
.fdi-cc .cc-agent-wait { text-align:center; font-size:11px; color:#7a8d85; margin:12px 0 0 }
.fdi-cc [data-cc-audio] { display:none }
html.dark .fdi-cc .cc-dialog { background:#10211c; color:#e9f8f2; border-color:#37574d }
html.dark .fdi-cc .cc-dialog .cc-body { --cc-ink:#e7f6ef; --cc-muted:#94aba2; --cc-line:#3b5850; color:#e7f6ef }
html.dark .fdi-cc .cc-presence-card, html.dark .fdi-cc .cc-alert-card, html.dark .fdi-cc .cc-pro-toggle, html.dark .fdi-cc .cc-contact-row, html.dark .fdi-cc .cc-call { background:#172d25; border-color:#38594c }
html.dark .fdi-cc .cc-agent-row,html.dark .fdi-cc .cc-empty,html.dark .fdi-cc .cc-outline { color:#bcead9; background:#19392e; border-color:#47715e }
html.dark .fdi-cc .cc-pro-toggle:has(input:checked) {background:#16523d}
html.dark .fdi-cc .cc-name-label,html.dark .fdi-cc .cc-call h3 {color:#d1efe0}
html.dark .fdi-cc .cc-footer { background:#0d1916; color:#a5c5b7; border-top-color:#37574d }
@media(max-width:600px) { .fdi-cc .cc-dialog { right:10px; bottom:72px; max-height:calc(100dvh - 84px); width:calc(100vw - 20px); border-radius:21px } .fdi-cc .cc-launcher { right:11px; bottom:12px } .fdi-cc .cc-mini { bottom:72px; right:11px } .fdi-cc .cc-hero {padding:17px 19px 19px} .fdi-cc .cc-body {padding:14px 16px} }
@media(prefers-reduced-motion:reduce) { .fdi-cc *, .fdi-cc *::before { animation:none!important; transition:none!important } }

.fdi-cc .cc-popout { width:100%; margin:8px 0; background:#edf7f3; color:#06654f; border:1px solid #a9dac7; border-radius:12px; padding:12px 13px; font-size:12px; font-weight:850 }
.fdi-cc .cc-popout:hover { background:#dff2e8 }

/* V3 : service permanent, appairage Push et PWA */
.fdi-cc .cc-shift-device{padding:15px 16px;border:1px solid #d5e6d8;border-radius:15px;background:#f4faf5;margin:14px 0;display:grid;gap:7px}
.fdi-cc .cc-shift-device strong{font-size:12px;color:#194e37}
.fdi-cc .cc-shift-device p{font-size:11px;line-height:1.6;color:#53695d;margin:0}
.fdi-cc .cc-install-actions{margin:12px 0;padding:10px;border-left:3px solid #34845f;color:#526f5e}
.fdi-cc .cc-install-actions p{font-size:11px;line-height:1.65;margin:0}
.fdi-cc .cc-text-button[disabled]{opacity:.45;cursor:not-allowed}

/* Sur mobile, le rappel d'un appel en cours reste au-dessus de la bulle Flora. */
.fdi-cc .cc-mini { right:22px; bottom:104px; }
@media(max-width:600px) { .fdi-cc .cc-mini { right:12px; bottom:93px; } }

/* V5 : sélecteur immédiat, centré sur les agents ou le chat */
.fdi-cc[data-cc-mode="visitor"] .cc-hero{min-height:70px;padding:18px 58px 16px 18px;border-radius:25px 25px 0 0;text-align:left}
.fdi-cc[data-cc-mode="visitor"] .cc-hero .cc-eyebrow,.fdi-cc[data-cc-mode="visitor"] .cc-hero .cc-hero-icon,.fdi-cc[data-cc-mode="visitor"] .cc-hero [data-cc-intro]{display:none}
.fdi-cc[data-cc-mode="visitor"] .cc-hero h2{font-size:17px;margin:0;text-align:left}
.fdi-cc[data-cc-mode="visitor"] .cc-body{padding:16px 17px 18px}
.fdi-cc[data-cc-mode="visitor"] .cc-footer,.fdi-cc[data-cc-mode="visitor"] .cc-diagnostics{display:none}
.fdi-cc[data-cc-mode="visitor"] .cc-agent-list{max-height:min(58vh,435px);gap:9px;margin:0}
.fdi-cc[data-cc-mode="visitor"] .cc-agent-direct{padding:12px;min-height:67px;display:flex;align-items:center;gap:12px;text-align:left;border-radius:15px;background:white;border:1px solid #dcece5;transition:background .15s,border-color .15s,transform .15s}
.fdi-cc[data-cc-mode="visitor"] .cc-agent-direct:hover{background:#effaf5;border-color:#60b99b;transform:translateY(-1px)}
.fdi-cc .cc-agent-avatar{display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;border-radius:14px;background:linear-gradient(135deg,#066b53,#21a986);color:#fff;font-size:17px;font-weight:900}
.fdi-cc .cc-agent-info{display:flex;flex:1;flex-direction:column;min-width:0;gap:2px}
.fdi-cc .cc-agent-info strong{color:#163f34;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fdi-cc .cc-agent-info small{color:#568f7c;font-size:11px;font-weight:650}
.fdi-cc .cc-agent-action{display:grid;place-items:center;flex:0 0 37px;width:37px;height:37px;border-radius:12px;background:#e0f5eb;color:#087c5f;font-size:17px}
.fdi-cc .cc-picker-loading{display:flex;justify-content:center;align-items:center;padding:28px 0}
.fdi-cc .cc-loading-spinner{display:inline-block;width:26px;height:26px;border-radius:100%;border:3px solid #cde8dc;border-top-color:#0c8c70;animation:cc-spinner .7s linear infinite}
@keyframes cc-spinner{to{transform:rotate(360deg)}}
.fdi-cc .cc-picker-empty{display:grid;justify-items:center;text-align:center;gap:14px;padding:19px 9px}
.fdi-cc .cc-picker-empty .cc-empty-icon{width:53px;height:53px;border-radius:18px;background:#eaf7f0;display:grid;place-items:center;font-size:23px;color:#087b5e}
.fdi-cc .cc-picker-empty p{color:#4b645c;font-size:13px;line-height:1.5;max-width:295px;margin:0}
.fdi-cc .cc-picker-empty button{min-width:205px;padding:12px 17px;font-size:13px}
.fdi-cc .cc-agent-direct:disabled{transform:none;opacity:.6}
@media(max-width:500px){.fdi-cc[data-cc-mode="visitor"] .cc-dialog{bottom:12px;right:12px;left:12px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px)} }

/* V6 — commandes audio accessibles aux agents et aux clients. */
.fdi-cc .cc-speaker { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-width:132px; white-space:nowrap; }
.fdi-cc .cc-speaker svg { flex:none; width:19px; height:19px }
.fdi-cc .cc-speaker:hover { background:#ddf5e9; border-color:#85cdb2 }
.fdi-cc .cc-speaker:disabled { opacity:.65 }
.fdi-cc .cc-output-status { font-size:11px; font-weight:650; text-align:center; color:#625344; background:#fff8eb; border:1px solid #f1dfbf; border-radius:11px; padding:9px 11px; margin:10px 0 4px; line-height:1.5 }
.fdi-cc .cc-output-status[data-ok="true"] { color:#166047; background:#eff9f3; border-color:#cce7d6 }
.aw-call-top-button.cc-agent-on-shift .aw-call-active-dot { background:#14b881; }
.fdi-cc .cc-call-actions .cc-speaker, .fdi-cc .cc-call-actions .cc-mute { flex:1 1 126px }
@media(max-width:390px) { .fdi-cc .cc-speaker { min-width:0; } .fdi-cc .cc-call-actions { gap:6px; } }

/* V7 — autorisation avant connexion et sonnerie de secours dans l'onglet. */
.fdi-cc .cc-media-check { margin:0 0 12px; padding:9px 12px; background:#eef8f4; border:1px solid #cce9da; color:#166448; border-radius:10px; font-size:12px; font-weight:750; }
.fdi-cc .cc-ring-unlock { display:block; margin:0 auto 12px; padding:10px 16px; background:#087456; }
.fdi-cc .cc-ring-unlock[hidden] { display:none!important; }

/* V9 — sortie audio pendant l'attente et explication Push non activé. */
.fdi-cc .cc-call-actions .cc-speaker { display:inline-flex; }
.fdi-cc .cc-push-modal {position:fixed; inset:0; margin:auto; width:min(calc(100vw - 32px),410px); max-height:calc(100dvh - 30px); overflow:auto; padding:25px 24px; background:#fff; color:#1a4235; border:1px solid #d2e5da; border-radius:20px; box-shadow:0 18px 80px #001e1545; text-align:left; z-index:999999}
.fdi-cc .cc-push-modal::backdrop {background:#061a13a8; backdrop-filter:blur(3px)}
.fdi-cc .cc-push-modal-icon {width:51px;height:51px;display:grid;place-items:center;border-radius:15px;background:#eaf8f0;font-size:25px;margin-bottom:12px}
.fdi-cc .cc-push-modal h2 {font-size:19px;line-height:1.25;font-weight:850;margin:0 0 9px}
.fdi-cc .cc-push-modal p {font-size:13px;line-height:1.65;color:#516d60;margin:0 0 18px}
.fdi-cc .cc-push-modal .cc-push-modal-error {background:#fff1ee;color:#9c342c;padding:9px 11px;border-radius:10px}
.fdi-cc .cc-push-modal-actions {display:grid;gap:8px}
.fdi-cc .cc-push-modal-actions button {min-height:42px}
.fdi-cc .cc-push-modal small {display:block;margin-top:13px;color:#64766d;font-size:11px;line-height:1.5}
.fdi-cc .cc-push-modal[hidden] {display:none!important}
html.dark .fdi-cc .cc-push-modal {color:#e6f9ed;background:#152d25;border-color:#345846}
html.dark .fdi-cc .cc-push-modal p,html.dark .fdi-cc .cc-push-modal small {color:#b7c6bb}

/* V10 - invitation discrète dans le chat Flora, jamais dans le sélecteur d'agents. */
.fdi-client-push-invite{display:flex;gap:9px;align-items:center;padding:10px 12px;background:#f0faf5;border-bottom:1px solid #cce7da;flex:0 0 auto;z-index:2;font-family:inherit}
.fdi-client-push-invite[hidden]{display:none!important}
.fdi-client-push-icon{flex:none;width:29px;height:29px;display:grid;place-items:center;background:white;border-radius:11px;font-size:16px}
.fdi-client-push-copy{min-width:0;flex:1}
.fdi-client-push-copy strong{font-size:11px;color:#155942;font-weight:850;display:block}
.fdi-client-push-copy p{font-size:10px;color:#557369;margin:2px 0 0;line-height:1.3}
.fdi-client-push-action{flex:none;border:0;border-radius:9px;padding:7px 9px;background:#05765b;color:white;font-size:11px;font-weight:800;cursor:pointer}
.fdi-client-push-dismiss{flex:none;border:0;color:#68857b;background:transparent;font-size:20px;padding:0 3px;cursor:pointer}

/* V11 : retour immédiat et accessible au clic sur « Activer la réception d’appels ». */
.fdi-cc .cc-switch[disabled]{cursor:wait;opacity:.68}
.fdi-cc .cc-switch[aria-busy="true"]{position:relative;padding-right:26px}
.fdi-cc .cc-switch[aria-busy="true"]::after{content:"";position:absolute;right:9px;top:calc(50% - 5px);width:9px;height:9px;border:2px solid currentColor;border-left-color:transparent;border-radius:100%;animation:cc-spin-v11 .7s linear infinite}
@keyframes cc-spin-v11{to{transform:rotate(360deg)}}
.fdi-cc .cc-shift-feedback{margin:-3px 0 12px;padding:10px 12px;background:#eff7ff;color:#134f79;border:1px solid #c8e2ff;border-radius:12px;font-size:12px;line-height:1.5}
.fdi-cc .cc-shift-feedback[data-kind="success"]{background:#edf9f0;color:#176643;border-color:#bde4c8}
.fdi-cc .cc-shift-feedback[data-kind="error"]{background:#fff3f0;color:#a1392c;border-color:#efc5bd}
.fdi-cc .cc-shift-feedback[hidden]{display:none!important}
html.dark .fdi-cc .cc-shift-feedback{background:#153244;color:#e3f3ff;border-color:#476c82}
html.dark .fdi-cc .cc-shift-feedback[data-kind="success"]{background:#164434;color:#d0f8df;border-color:#327c5a}
html.dark .fdi-cc .cc-shift-feedback[data-kind="error"]{background:#4e2420;color:#ffe6dd;border-color:#92534a}

/* V13 : état réel de la sortie audio, réversible si pris en charge. */
.fdi-cc .cc-speaker[aria-pressed="true"] { background:#d3f1e4; color:#0b624a; border-color:#69be9c; }

/* V15 : alerte d’appel reçue sur un autre onglet agent. Toujours visible sur le tableau de bord. */
.fdi-cc .cc-claim-banner { position:fixed;top:88px;right:20px;width:min(392px,calc(100vw - 32px));z-index:3200;display:flex;gap:13px;padding:17px;border-radius:19px;background:#083d32;color:#fff;border:1px solid #52bc9b;box-shadow:0 18px 65px #011d1a80;font:inherit;line-height:1.4 }
.fdi-cc .cc-claim-icon {display:grid;place-items:center;flex:0 0 46px;height:46px;border-radius:15px;background:#12b886;color:#fff;font-size:25px;animation:cc-pulse 1.5s infinite}
.fdi-cc .cc-claim-body {min-width:0;flex:1;display:grid;gap:5px}
.fdi-cc .cc-claim-kicker {font-size:10px;letter-spacing:.13em;color:#a0f5d2;font-weight:850}
.fdi-cc .cc-claim-body strong {font-size:15px;color:#fff}
.fdi-cc .cc-claim-body p {margin:0;color:#d3f2e7;font-size:12px}
.fdi-cc .cc-claim-body .cc-claim-error {color:#ffe8d7;font-weight:700}
.fdi-cc .cc-claim-answer {border:0;border-radius:12px;padding:12px 14px;margin-top:8px;background:#e9fff3;color:#06513d;font-size:13px;font-weight:850;min-height:44px}
.fdi-cc .cc-claim-answer:hover {background:#b8f1d4}
.fdi-cc .cc-claim-answer:disabled {opacity:.7}
@media(max-width:650px) {.fdi-cc .cc-claim-banner {top:72px;left:12px;right:12px;width:auto}}

/* V16 — Sélection automatique : aucun annuaire d'agents exposé au visiteur. */
.fdi-cc .cc-auto-dial { display:block; width:100%; margin-top:12px; }
.fdi-cc [data-cc-auto-call][hidden], .fdi-cc [data-cc-agents] { display:none !important; }
.fdi-cc [data-cc-picker-loading] p { margin:10px 0 0; font-size:14px; text-align:center; }
