#ia-panel.ych{width: min(440px,100%);background: color-mix(in srgb,var(--card,#fff) 86%,transparent);-webkit-backdrop-filter: blur(26px) saturate(170%);backdrop-filter: blur(26px) saturate(170%);border-left: 1px solid rgba(255,255,255,.5);box-shadow: -24px 0 60px rgba(15,23,42,.25);transition: transform .45s cubic-bezier(.22,1.2,.36,1)}@media (max-width: 640px){#ia-panel.ych{top: auto;height: 92vh;height: 92dvh;width: 100%;border-radius: 26px 26px 0 0;transform: translateY(105%)}#ia-panel.ych.open{transform: none}}.ych-head{position: relative;gap: 10px;padding: 14px 14px 14px 16px;border: 0;color: #fff;overflow: hidden;background: radial-gradient(120% 140% at 0% 0%,#14b863 0%,#029B49 38%,#027a3a 62%,#1e1b4b 120%)}.ych-head::after{content: "";position: absolute;inset: auto -20% -60% 30%;height: 120%;background: radial-gradient(closest-side,rgba(253,131,1,.35),transparent);pointer-events: none}.ych-head .btn{color: #fff;background: rgba(255,255,255,.14);position: relative;z-index: 1}.ych-logo{width: 42px;height: 42px;border-radius: 15px;display: grid;place-items: center;background: rgba(255,255,255,.18);box-shadow: inset 0 1px 0 rgba(255,255,255,.4);flex: none;position: relative;z-index: 1}.ych-title{flex: 1;min-width: 0;position: relative;z-index: 1}.ych-title h3{margin: 0;font-size: 1.08rem;color: #fff;letter-spacing: .02em}.ych-title small{display: block;font-size: .76rem;opacity: .88;color: #fff;white-space: nowrap;overflow: hidden;text-overflow: ellipsis}.ych-agents{display: flex;align-items: center;position: relative;z-index: 1;margin-right: 2px}.ych-ag{position: relative;width: 34px;height: 34px;border-radius: 50%;margin-left: -9px;border: 2px solid #fff;background: #1e1b4b;color: #fff;font: 800 12px/30px Nunito,system-ui,sans-serif;text-align: center;overflow: visible;animation: ychPop .5s cubic-bezier(.34,1.56,.64,1) both}.ych-ag:first-child{margin-left: 0}.ych-ag img{width: 100%;height: 100%;border-radius: 50%;object-fit: cover;display: block}.ych-ag::after{content: "";position: absolute;right: -1px;bottom: -1px;width: 10px;height: 10px;border-radius: 50%;background: #22c55e;border: 2px solid #fff}.ych-on{position: absolute;left: 50%;bottom: -16px;transform: translateX(-50%);font: 800 9px Nunito,system-ui,sans-serif;color: #bbf7d0;white-space: nowrap;letter-spacing: .03em}.ych-body{background: transparent;gap: 10px;padding: 16px 14px;scroll-behavior: smooth}.ych-body .msg{font-size: 15px;line-height: 1.5;box-shadow: 0 4px 14px rgba(15,23,42,.06);animation: ychIn .38s cubic-bezier(.34,1.56,.64,1) both;overflow-wrap: anywhere}.ych-body .msg.bot{background: color-mix(in srgb,var(--card,#fff) 92%,transparent);border: 1px solid rgba(2,155,73,.14);border-radius: 18px 18px 18px 6px}.ych-body .msg.me{background: linear-gradient(135deg,#12a05c,#027a3a);border-radius: 18px 18px 6px 18px;box-shadow: 0 8px 18px rgba(2,122,58,.25)}.ych-body .msg.agent{align-self: flex-start;max-width: 86%;background: linear-gradient(135deg,#eef2ff,#fff);border: 1px solid rgba(67,56,202,.18);border-radius: 18px 18px 18px 6px;color: var(--text,#1f2937)}.ych-body .msg.sys{align-self: center;max-width: 92%;font-size: 12.5px;background: rgba(2,155,73,.08);border: 1px dashed rgba(2,155,73,.35);color: #027a3a;border-radius: 12px;box-shadow: none;text-align: center}.ych-who{display: flex;align-items: center;gap: 7px;font-size: 12px;font-weight: 800;color: #4338ca;margin: 4px 0 -4px 2px;animation: ychIn .3s both}.ych-who img,.ych-who i{width: 22px;height: 22px;border-radius: 50%;object-fit: cover;background: #4338ca;color: #fff;font: 800 10px/22px Nunito,system-ui,sans-serif;text-align: center;font-style: normal}.ych-t{font-size: 10.5px;opacity: .55;margin-top: 4px;text-align: right}.ych-cats{display: grid;grid-template-columns: repeat(2,1fr);gap: 8px}.ych-cat,.ych-q,.ych-choice,.ych-act{font: inherit;cursor: pointer;text-align: left;transition: transform .3s cubic-bezier(.34,1.56,.64,1),box-shadow .2s,background .2s}.ych-cat{display: flex;align-items: center;gap: 9px;padding: 11px 12px;border-radius: 16px;border: 1px solid rgba(2,155,73,.16);color: var(--text,#1f2937);background: color-mix(in srgb,var(--card,#fff) 80%,transparent);box-shadow: 0 6px 16px rgba(15,23,42,.05),inset 0 1px 0 rgba(255,255,255,.7);font-weight: 800;font-size: 13.5px;animation: ychIn .4s both}.ych-cat span{font-size: 20px;flex: none}.ych-cat:hover{transform: translateY(-2px) rotateX(4deg);box-shadow: 0 12px 22px rgba(2,122,58,.14)}.ych-cat:active,.ych-q:active,.ych-choice:active,.ych-act:active{transform: scale(.96)}.ych-more{grid-column: 1 / -1;justify-self: center;border: 0;background: none;color: #027a3a;font: inherit;font-weight: 800;cursor: pointer;padding: 6px}.ych-qs{display: flex;flex-direction: column;gap: 7px}.ych-q{padding: 11px 14px;border-radius: 14px;border: 1px solid var(--line,#e5e7eb);background: var(--card,#fff);color: var(--text,#1f2937);font-weight: 700;font-size: 14px;animation: ychIn .35s both}.ych-q:hover{border-color: #12a05c;transform: translateX(3px)}.ych-q.agent{background: linear-gradient(135deg,#1e1b4b,#4338ca);color: #fff;border: 0}.ych-choices,.ych-acts{display: flex;flex-wrap: wrap;gap: 7px;animation: ychIn .35s both}.ych-choice{padding: 9px 14px;border-radius: 99px;border: 1.5px solid #12a05c;background: rgba(18,160,92,.06);color: #027a3a;font-weight: 800;font-size: 13.5px}.ych-act{display: inline-flex;align-items: center;gap: 6px;padding: 9px 14px;border-radius: 14px;border: 0;background: linear-gradient(135deg,#12a05c,#027a3a);color: #fff !important;font-weight: 800;font-size: 13.5px;text-decoration: none;box-shadow: 0 6px 14px rgba(2,122,58,.22)}.ych-act.alt{background: var(--card,#fff);color: #1e1b4b !important;border: 1px solid var(--line,#e5e7eb);box-shadow: none}.ych-act.agent{background: linear-gradient(135deg,#1e1b4b,#4338ca);box-shadow: 0 6px 14px rgba(67,56,202,.25)}.ych-typing{align-self: flex-start;display: inline-flex;gap: 5px;padding: 12px 14px;border-radius: 18px 18px 18px 6px;background: color-mix(in srgb,var(--card,#fff) 92%,transparent);border: 1px solid rgba(2,155,73,.14)}.ych-typing i{width: 7px;height: 7px;border-radius: 50%;background: #12a05c;animation: ychDot 1s infinite}.ych-typing i:nth-child(2){animation-delay: .15s}.ych-typing i:nth-child(3){animation-delay: .3s}.ych-live{display: flex;align-items: center;gap: 8px;padding: 8px 14px;font-size: 12.5px;font-weight: 800;color: #4338ca;background: rgba(67,56,202,.07);border-top: 1px solid rgba(67,56,202,.15)}.ych-live span:nth-child(2){flex: 1;min-width: 0}.ych-live button{border: 0;background: none;color: #dc2626;font: inherit;cursor: pointer}.ych-live-dot{width: 9px;height: 9px;border-radius: 50%;background: #22c55e;box-shadow: 0 0 0 0 rgba(34,197,94,.6);animation: ychPulse 1.6s infinite}.ych-foot{border: 0;padding: 10px 12px calc(10px + env(safe-area-inset-bottom));background: color-mix(in srgb,var(--card,#fff) 90%,transparent);box-shadow: 0 -8px 24px rgba(15,23,42,.06)}.ych-foot .in{border-radius: 16px;min-height: 48px;font-size: 16px}.ia-human{display: none !important}.ych-fab-dot{position: absolute;top: -3px;right: -3px;width: 13px;height: 13px;border-radius: 50%;background: #dc2626;border: 2px solid #fff}.ia-fab{position: fixed}/* Bulle d'accueil sur la page d'accueil */ .ych-tease{position: fixed;z-index: 73;right: 18px;bottom: 84px;max-width: min(300px,calc(100vw - 36px));display: flex;align-items: center;gap: 10px;padding: 12px 34px 12px 12px;border-radius: 20px 20px 6px 20px;background: color-mix(in srgb,#fff 82%,transparent);-webkit-backdrop-filter: blur(18px) saturate(160%);backdrop-filter: blur(18px) saturate(160%);box-shadow: 0 16px 36px rgba(15,23,42,.18),inset 0 1px 0 rgba(255,255,255,.8),0 0 0 1px rgba(2,155,73,.16);color: #1f2937;font-weight: 700;font-size: 14px;cursor: pointer;transform-origin: 100% 100%;animation: ychTease .6s cubic-bezier(.34,1.56,.64,1) both}.ych-tease[hidden]{display: none}.ych-tease-av{width: 36px;height: 36px;flex: none;border-radius: 13px;display: grid;place-items: center;font-size: 19px;background: linear-gradient(135deg,#14b863,#027a3a)}.ych-tease-x{position: absolute;top: 4px;right: 6px;border: 0;background: none;font-size: 18px;line-height: 1;color: #6b7280;cursor: pointer;padding: 4px}html[data-theme=dark] .ych-tease{background: color-mix(in srgb,#1b1f2a 86%,transparent);color: #f3f4f6}@media (max-width: 640px){body:has(.bottom-nav) .ia-fab{bottom: calc(92px + env(safe-area-inset-bottom)) !important}body:has(.bottom-nav) .garde-fab{bottom: calc(154px + env(safe-area-inset-bottom)) !important}.ych-tease{right: 12px;bottom: calc(150px + env(safe-area-inset-bottom))}body:has(.garde-fab) .ych-tease{bottom: calc(210px + env(safe-area-inset-bottom))}}@keyframes ychIn{from{opacity: 0;transform: translateY(10px) scale(.97)}to{opacity: 1;transform: none}}@keyframes ychPop{from{opacity: 0;transform: scale(.4)}to{opacity: 1;transform: none}}@keyframes ychDot{0%,100%{opacity: .3;transform: translateY(0)}50%{opacity: 1;transform: translateY(-3px)}}@keyframes ychPulse{70%{box-shadow: 0 0 0 8px rgba(34,197,94,0)}100%{box-shadow: 0 0 0 0 rgba(34,197,94,0)}}@keyframes ychTease{from{opacity: 0;transform: translateY(14px) scale(.7) rotate(-4deg)}to{opacity: 1;transform: none}}html[data-theme=dark] .ych-body .msg.agent{background: linear-gradient(135deg,#25224d,#1b1f2a);color: #e5e7eb}@media (prefers-reduced-motion: reduce){.ych-body .msg,.ych-cat,.ych-q,.ych-tease,.ych-ag{animation: none}}