.brice-ai-chat{position:fixed;right:22px;bottom:22px;z-index:99990;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#15191b}
.brice-ai-chat *{box-sizing:border-box}
.brice-ai-chat__launcher{display:flex;align-items:center;gap:10px;min-height:54px;padding:8px 17px 8px 8px;border:0;border-radius:999px;background:#111b20;color:#fff;box-shadow:0 16px 44px rgba(9,20,25,.28);font-weight:800;font-size:14px;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
.brice-ai-chat__launcher:hover,.brice-ai-chat__launcher:focus-visible{transform:translateY(-2px);box-shadow:0 18px 50px rgba(9,20,25,.34);outline:3px solid rgba(245,130,32,.32);outline-offset:3px}
.brice-ai-chat__launcher-mark,.brice-ai-chat__brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:linear-gradient(145deg,#ffffff 0%,#e8edf0 38%,#aeb9c0 72%,#f8fafb 100%);border:1px solid rgba(255,255,255,.9);box-shadow:inset 0 1px 1px rgba(255,255,255,.9),0 5px 16px rgba(0,0,0,.24);color:#101b20}.brice-ai-chat__launcher-mark svg,.brice-ai-chat__brand-mark svg{width:24px;height:24px;fill:#17252b}.brice-ai-chat__launcher-mark svg .spark,.brice-ai-chat__brand-mark svg .spark{fill:#f58220}.brice-ai-chat__launcher-mark svg .line,.brice-ai-chat__brand-mark svg .line{fill:none;stroke:#eef3f5;stroke-width:1.8;stroke-linecap:round}
.brice-ai-chat__launcher b{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:#f58220;color:#111;font-size:11px}
.brice-ai-chat__panel{position:absolute;right:0;bottom:68px;width:min(390px,calc(100vw - 28px));height:min(650px,calc(100vh - 110px));border:1px solid rgba(17,27,32,.12);border-radius:20px;background:#fff;box-shadow:0 26px 70px rgba(8,18,22,.28);overflow:hidden}
.brice-ai-chat__panel[hidden]{display:none!important}
.brice-ai-chat__header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;background:linear-gradient(135deg,#101b20,#18272d);color:#fff;border-bottom:3px solid #f58220}
.brice-ai-chat__brand{display:flex;align-items:center;gap:10px;min-width:0}.brice-ai-chat__brand-mark{width:38px;height:38px;flex:0 0 auto}.brice-ai-chat__brand span:last-child{display:grid;gap:1px}.brice-ai-chat__brand strong{font-size:14px;line-height:1.2}.brice-ai-chat__brand small{font-size:11px;color:#bfc9cd}
.brice-ai-chat__close{width:34px;height:34px;border:0;border-radius:10px;background:rgba(255,255,255,.08);color:#fff;font-size:25px;line-height:1;cursor:pointer}.brice-ai-chat__close:hover{background:rgba(255,255,255,.15)}
.brice-ai-chat__status{display:flex;align-items:center;gap:7px;min-height:34px;padding:7px 15px;background:#f7faf8;border-bottom:1px solid #e4e9e7;color:#566267;font-size:11px;font-weight:700}.brice-ai-chat__status>span{width:7px;height:7px;border-radius:50%;background:#1b9a62;box-shadow:0 0 0 3px rgba(27,154,98,.11)}.brice-ai-chat__status.is-human>span{background:#f58220;box-shadow:0 0 0 3px rgba(245,130,32,.13)}.brice-ai-chat__status.is-error>span{background:#bf4242;box-shadow:0 0 0 3px rgba(191,66,66,.12)}
.brice-ai-chat__body{height:calc(100% - 163px);min-height:260px;background:#f3f5f4;position:relative}.brice-ai-chat__messages{height:100%;overflow:auto;padding:17px 14px 20px;scroll-behavior:smooth}
.brice-ai-chat__message{display:flex;margin:0 0 12px}.brice-ai-chat__message>div,.brice-ai-chat__message{max-width:88%}.brice-ai-chat__message--user{margin-left:auto;justify-content:flex-end}.brice-ai-chat__message--model,.brice-ai-chat__message--admin{margin-right:auto;justify-content:flex-start}
.brice-ai-chat__message small{display:block;margin:0 0 4px;color:#6e777b;font-size:10px;font-weight:800}.brice-ai-chat__message p{margin:0;padding:10px 12px;border-radius:14px 14px 14px 4px;background:#fff;border:1px solid #dde2e1;box-shadow:0 4px 12px rgba(20,30,34,.035);font-size:13px;line-height:1.48;color:#1a2023}.brice-ai-chat__message time{display:block;margin-top:3px;color:#899195;font-size:9px}.brice-ai-chat__message--user p{background:#16252b;border-color:#16252b;color:#fff;border-radius:14px 14px 4px 14px}.brice-ai-chat__message--user small,.brice-ai-chat__message--user time{text-align:right}.brice-ai-chat__message--admin p{border-color:#f3bc89;background:#fff8f1}
.brice-ai-chat__profile{position:absolute;inset:0;display:grid;align-content:center;gap:11px;padding:22px;background:#fff}.brice-ai-chat__profile[hidden]{display:none!important}.brice-ai-chat__intro{margin-bottom:3px}.brice-ai-chat__intro strong{font-size:19px;color:#111a1e}.brice-ai-chat__intro p{margin:6px 0 0;color:#667075;font-size:12px;line-height:1.5}.brice-ai-chat__profile label{display:grid;gap:5px;color:#2e393e;font-size:11px;font-weight:800}.brice-ai-chat__profile input{width:100%;height:44px;padding:0 12px;border:1px solid #d7dddf;border-radius:10px;background:#fff;color:#111;font:inherit;font-size:13px}.brice-ai-chat__profile input:focus{border-color:#f58220;outline:3px solid rgba(245,130,32,.12)}.brice-ai-chat__profile button{height:45px;border:0;border-radius:10px;background:#f58220;color:#111;font-size:13px;font-weight:900;cursor:pointer}.brice-ai-chat__profile button:hover{background:#ff9438}
.brice-ai-chat__composer{display:flex;align-items:flex-end;gap:8px;height:76px;padding:10px 11px;border-top:1px solid #e0e5e5;background:#fff}.brice-ai-chat__composer[hidden]{display:none!important}.brice-ai-chat__composer textarea{flex:1;min-width:0;min-height:44px;max-height:120px;resize:none;padding:11px 12px;border:1px solid #d7dddf;border-radius:12px;background:#fbfcfc;color:#15191b;font:inherit;font-size:13px;line-height:1.35}.brice-ai-chat__composer textarea:focus{border-color:#f58220;outline:3px solid rgba(245,130,32,.1)}.brice-ai-chat__composer button{height:44px;padding:0 15px;border:0;border-radius:11px;background:#f58220;color:#111;font-weight:900;cursor:pointer}.brice-ai-chat__composer button:disabled,.brice-ai-chat__profile button:disabled{opacity:.6;cursor:wait}
.brice-ai-chat__footer{display:flex;align-items:center;justify-content:center;gap:8px;height:36px;padding:7px 12px;background:#fff;border-top:1px solid #edf0ef;color:#7a8386;font-size:10px;font-weight:700}.brice-ai-chat__footer a{color:#5d6568;text-decoration:none}.brice-ai-chat__footer a:hover{color:#b85408;text-decoration:underline}
@media(max-width:560px){.brice-ai-chat{right:12px;bottom:12px}.brice-ai-chat__launcher{min-height:50px;padding-right:14px}.brice-ai-chat__panel{position:fixed;left:10px;right:10px;bottom:72px;width:auto;height:min(650px,calc(100vh - 92px));border-radius:17px}.brice-ai-chat__body{height:calc(100% - 163px)}}
