.kpi-hostess{position:fixed;right:18px;bottom:max(14px,env(safe-area-inset-bottom));z-index:80;font-family:"Barlow",Arial,sans-serif}.kpi-hostess[hidden],.kpi-hostess [hidden]{display:none!important}.kpi-hostess button:focus-visible,.kpi-hostess a:focus-visible{outline:3px solid #6be5ff;outline-offset:5px}.kpi-hostess-launcher{position:relative;width:82px;height:108px;padding:0;border:0;border-radius:18px;background:transparent;cursor:pointer;filter:drop-shadow(0 5px 15px #00182d55)}.kpi-hostess-launcher img{width:100%;height:100%;object-fit:contain;object-position:center bottom;pointer-events:none}.kpi-hostess-label{position:absolute;bottom:0;left:50%;transform:translateX(-50%);white-space:nowrap;padding:8px 12px;border:1px solid #4ba4bb;border-radius:24px;background:#0c304a;color:#d6f9ff;font-size:11px;font-weight:700}.kpi-hostess-badge{position:absolute;right:-1px;top:0;min-width:24px;height:24px;border:2px solid white;border-radius:50%;background:#e95e20;color:white;display:grid;place-items:center;font-size:11px;font-weight:700}
.kpi-hostess-stage:not([open]){display:none}.kpi-hostess-stage[open]{display:block}.kpi-hostess-stage{position:fixed;inset:0;width:min(980px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);overflow:auto;margin:auto;padding:56px 12px 20px;border:0;background:transparent;color:#e9f7ff;box-sizing:border-box}.kpi-hostess-stage::backdrop{background:#020e20c9;backdrop-filter:blur(7px)}.kpi-hostess-skip{position:absolute!important;inset:6px 14px auto auto!important;width:auto!important;height:auto!important;display:flex;align-items:center;gap:12px;padding:9px 17px!important;border:1px solid #43798f!important;border-radius:30px!important;background:#102e43!important;color:#effaff!important;font:600 13px/1.4 Arial,sans-serif!important;cursor:pointer}.kpi-hostess-skip span{font-size:20px}.kpi-hostess-scene{display:grid;grid-template-columns:minmax(220px,330px) minmax(0,1fr);gap:26px;align-items:center}.kpi-hostess-character{position:relative;text-align:center;align-self:end;isolation:isolate}.kpi-hostess-character>img{position:relative;display:block;width:100%;height:440px;max-height:57dvh;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 0 30px #5ccdea35);animation:kpi-hostess-arrive .65s ease both}.kpi-hostess-halo{position:absolute;width:85%;aspect-ratio:1;top:20%;left:7.5%;z-index:-1;border-radius:50%;background:radial-gradient(ellipse,#2bc7ea27,transparent 70%);border:1px solid #67dff220;box-shadow:0 0 100px #52d7ef15}.kpi-hostess-onair{display:inline-flex;gap:9px;align-items:center;margin-top:14px;padding:10px 16px;border:1px solid #43849b;border-radius:30px;background:#123649b3;color:#c4e9f0;font-size:10px;font-weight:700;letter-spacing:1.2px}.kpi-hostess-onair i{width:7px;height:7px;border-radius:50%;background:#6de4f5;box-shadow:0 0 14px #56d6ea}
.kpi-hostess-bubble{position:relative;background:linear-gradient(145deg,#092b40f5,#061b2bf2);border:1px solid #4c9bb2;border-radius:23px 23px 23px 4px;box-shadow:0 18px 70px #00122599,inset 0 1px 0 #8af1ff12;padding:30px;animation:kpi-hostess-arrive .5s ease both}.kpi-hostess-kicker{margin:0 0 17px;color:#68daed;font-size:10px;font-weight:800;letter-spacing:2px;line-height:1.7}.kpi-hostess .kpi-hostess-bubble h2{font:700 29px/1.15 "Barlow Condensed",Arial,sans-serif;letter-spacing:-.2px;color:#f3fcff;margin:0 0 19px}.kpi-hostess-speech{font-size:17px;line-height:1.8;margin:0 0 24px;min-height:150px;color:#dfedf5}.kpi-hostess-cursor{display:none;width:7px;height:18px;margin-left:3px;vertical-align:middle;background:#64e2f0}.is-typing .kpi-hostess-cursor{display:inline-block;animation:kpi-hostess-blink .8s steps(2,start) infinite}.kpi-hostess-reader{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.kpi-hostess-story{display:flex;align-items:center;gap:14px;background:#e8f7fc0b;border:1px solid #397286;border-radius:12px;padding:12px;text-decoration:none;color:#e4f9ff;margin-bottom:24px}.kpi-hostess-story img{width:72px;height:66px;object-fit:cover;border-radius:6px}.kpi-hostess-story span{flex:1}.kpi-hostess-story small{display:block;color:#8fd9e8;font-size:11px;margin-bottom:5px}.kpi-hostess-story strong{font-size:14px}.kpi-hostess-progress{height:2px;background:#28465c;margin:12px 0 20px;border-radius:2px}.kpi-hostess-progress span{display:block;height:100%;background:#65d8ea}.kpi-hostess-controls{display:flex;align-items:center;gap:10px}.kpi-hostess-controls button{padding:10px 13px;border:1px solid #397286;border-radius:8px;background:#122f42;color:#d9edf5;font-size:13px;cursor:pointer}.kpi-hostess-controls button:disabled{opacity:.35;cursor:default}.kpi-hostess-controls>span{font-size:12px;color:#9fc0d1;margin-right:auto}.kpi-hostess-controls .kpi-hostess-next{background:#63d9ec;border-color:#63d9ec;color:#092c42;font-weight:800}body:has(dialog[open]) .kpi-hostess-launcher{visibility:hidden}
@keyframes kpi-hostess-arrive{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes kpi-hostess-blink{50%{opacity:.25}}@media(max-width:680px){.kpi-hostess-stage{width:calc(100vw - 22px);max-height:calc(100dvh - 18px);padding:46px 3px 8px}.kpi-hostess-scene{grid-template-columns:1fr;gap:0}.kpi-hostess-character{width:145px;justify-self:center}.kpi-hostess-character>img{height:164px;max-height:24dvh}.kpi-hostess-halo{top:5%}.kpi-hostess-onair{display:none}.kpi-hostess-bubble{padding:21px;border-radius:18px}.kpi-hostess-kicker{font-size:9px;letter-spacing:1.3px;margin-bottom:10px}.kpi-hostess .kpi-hostess-bubble h2{font-size:25px;margin-bottom:12px}.kpi-hostess-speech{font-size:15px;line-height:1.7;min-height:145px;margin-bottom:17px}.kpi-hostess-story{margin-bottom:16px;padding:9px;gap:11px}.kpi-hostess-story img{width:52px;height:48px}.kpi-hostess-story strong{font-size:13px}.kpi-hostess-skip{top:0!important;right:2px!important}.kpi-hostess-controls button{padding:9px 11px}.kpi-hostess-launcher{width:73px;height:96px}}@media(max-height:650px) and (min-width:681px){.kpi-hostess-character>img{height:330px}.kpi-hostess-bubble{padding:22px}.kpi-hostess-speech{min-height:100px;font-size:15px}}@media(prefers-reduced-motion:reduce){.kpi-hostess *{animation:none!important;transition:none!important}}

/* Le maillage déplace séparément la tête, le buste et la main pendant la saisie. */
.kpi-hostess-character.has-motion>img{opacity:0;animation:none}
.kpi-hostess-motion{position:absolute;top:0;left:0;display:block;width:100%;height:440px;max-height:57dvh;pointer-events:none;filter:drop-shadow(0 0 30px #5ccdea35)}
@media(max-width:680px){.kpi-hostess-motion{height:164px;max-height:24dvh}}
@media(max-height:650px) and (min-width:681px){.kpi-hostess-motion{height:330px}}
@media(prefers-reduced-motion:reduce){.kpi-hostess-motion{display:none}.kpi-hostess-character.has-motion>img{opacity:1}}

/* Nom de Écho lisible sans débordement sur mobile. */
.kpi-hostess-label{left:auto;right:0;transform:none}

/* Le rappel réduit apparaît seulement après la présentation centrale. */
.kpi-hostess.is-opening .kpi-hostess-launcher{visibility:hidden}

/* Le rappel réduit apparaît seulement après la présentation centrale. */
.kpi-hostess.is-opening .kpi-hostess-launcher{visibility:hidden}

/* Écho est uniquement présentée dans la scène centrale, jamais dans un coin. */
.kpi-hostess-launcher{display:none!important}

/* Robot articulated with three layers; works without WebGL. */
.kpi-hostess-character.has-echo-motion>img{opacity:0;animation:none}
.kpi-echo-rig{position:absolute;top:0;left:50%;transform:translateX(-50%);pointer-events:none;filter:drop-shadow(0 0 18px #40cdeb30)}
.kpi-echo-part,.kpi-echo-part img{position:absolute;inset:0;width:100%;height:100%}
.kpi-echo-part img{object-fit:contain}
.kpi-echo-body{clip-path:polygon(0 50%,70% 50%,72% 63%,100% 63%,100% 100%,0 100%)}
.kpi-echo-head{clip-path:polygon(0 0,82% 0,82% 48%,70% 51%,0 51%);transform-origin:49% 49%}
.kpi-echo-arm{clip-path:polygon(77% 40%,100% 40%,100% 63%,70% 63%,70% 52%);transform-origin:76% 57%}
.is-speaking .kpi-echo-head{animation:kpi-echo-nod 1.5s ease-in-out infinite,kpi-echo-light .65s ease-in-out infinite alternate}
.is-speaking .kpi-echo-arm{animation:kpi-echo-wave .85s ease-in-out infinite alternate}
.kpi-hostess-stage:not([open]) .kpi-echo-part{animation:none}
@keyframes kpi-echo-nod{0%,100%{transform:rotate(-.7deg)}50%{transform:rotate(.9deg)}}
@keyframes kpi-echo-wave{from{transform:rotate(-2deg)}to{transform:rotate(3deg)}}
@keyframes kpi-echo-light{from{filter:brightness(1)}to{filter:brightness(1.12) drop-shadow(0 0 4px #37d5ee35)}}
@media(prefers-reduced-motion:reduce){.kpi-echo-rig{display:none}.kpi-hostess-character.has-echo-motion>img{opacity:1}}

/* The decorative beam points at the card edge without covering its text. */
.kpi-hostess-scene{position:relative}
.kpi-echo-laser{position:fixed;inset:0;width:100vw;height:100dvh;overflow:visible;pointer-events:none;opacity:0;z-index:2}
.kpi-hostess-stage.is-speaking.has-echo-nav-target .kpi-echo-laser{opacity:1}
.kpi-echo-nav-focus{position:fixed;z-index:3;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:4px 5px;border:1px solid #75ecff;border-radius:5px;background:#0a2b43;color:#eaffff;font:700 11px/1.2 Arial,sans-serif;white-space:nowrap;text-transform:uppercase;letter-spacing:.2px;box-shadow:0 0 15px #47dbff70;cursor:pointer}
.kpi-echo-nav-focus.is-mobile-target:before{content:'Menu ·';margin-right:8px;color:#73dcec;font-weight:400;text-transform:none}
.kpi-hostess-stage:not([open]) .kpi-echo-nav-focus{display:none}
.kpi-echo-laser line{stroke-linecap:round;vector-effect:non-scaling-stroke}
.kpi-echo-beam-glow{stroke:#35dafa;stroke-width:9;filter:blur(4px);opacity:.38}
.kpi-echo-beam-core{stroke:#90efff;stroke-width:1.4;opacity:.85}
.kpi-echo-beam-flow{stroke:#fff8e7;stroke-width:2;stroke-dasharray:4 19;animation:kpi-echo-laser-flow 1.6s linear infinite}
.kpi-echo-laser circle{fill:#ecfdff;stroke:#36dafa;stroke-width:1;filter:drop-shadow(0 0 5px #32dbff)}
.kpi-echo-spark-source{fill:#ffc76c!important;stroke:#ffad35!important}
.kpi-hostess-stage:not(.is-speaking) .kpi-echo-beam-flow,.kpi-hostess-stage:not([open]) .kpi-echo-beam-flow{animation-play-state:paused}
@keyframes kpi-echo-laser-flow{to{stroke-dashoffset:-46}}
@media(prefers-reduced-motion:reduce){.kpi-echo-laser{display:none!important}}
