#ekegr-ai-launcher{position:fixed;right:22px;bottom:22px;z-index:99990;width:58px;height:58px;border:0;border-radius:50%;background:#176b4b;color:#fff;box-shadow:0 10px 30px rgba(0,0,0,.28);cursor:pointer;font:700 18px system-ui}
#ekegr-ai-badge{position:absolute;right:-3px;top:-5px;min-width:21px;height:21px;padding:0 5px;border-radius:11px;background:#d92d20;color:#fff;font:700 11px/21px system-ui;display:none}
#ekegr-ai-panel{position:fixed;right:22px;bottom:90px;z-index:99991;width:min(420px,calc(100vw - 24px));height:min(670px,calc(100vh - 120px));background:#fff;border:1px solid #dfe5e1;border-radius:18px;box-shadow:0 18px 60px rgba(0,0,0,.27);display:none;overflow:hidden;font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#18221d}
#ekegr-ai-panel.open{display:flex;flex-direction:column}.ekegr-ai-head{padding:14px 16px;background:#176b4b;color:#fff;display:flex;align-items:center;justify-content:space-between}.ekegr-ai-head strong{font-size:15px}.ekegr-ai-head small{display:block;opacity:.82;font-size:11px;margin-top:2px}.ekegr-ai-close{border:0;background:transparent;color:#fff;font-size:22px;cursor:pointer}
#ekegr-ai-alerts{max-height:150px;overflow:auto;background:#fff8e7;border-bottom:1px solid #eadfbf;padding:8px 10px;display:none}.ai-alert{font-size:12px;padding:7px 4px;border-bottom:1px solid #eee1bd}.ai-alert b{display:block}
#ekegr-ai-messages{flex:1;overflow:auto;padding:14px;background:#f4f7f5}.ai-msg{max-width:88%;padding:10px 12px;border-radius:14px;margin:8px 0;font-size:13px;line-height:1.45;white-space:pre-wrap}.ai-user{margin-left:auto;background:#176b4b;color:#fff;border-bottom-right-radius:4px}.ai-bot{background:#fff;border:1px solid #e1e6e3;border-bottom-left-radius:4px}.ai-meta{font-size:10px;color:#738078;margin:3px 5px 9px}
.ai-proposal{background:#fff8e7;border:1px solid #ecd28f;padding:11px;border-radius:12px;margin:10px 0}.ai-proposal b{display:block;margin-bottom:5px}.ai-actions{display:flex;gap:8px;margin-top:9px}.ai-actions button{border:0;border-radius:8px;padding:8px 10px;cursor:pointer}.ai-approve{background:#176b4b;color:#fff}.ai-reject{background:#ecefed;color:#333}
.ekegr-ai-form{display:flex;gap:8px;padding:10px;background:#fff;border-top:1px solid #e1e6e3}.ekegr-ai-form textarea{flex:1;resize:none;max-height:110px;min-height:42px;border:1px solid #ccd5d0;border-radius:12px;padding:10px;font:13px system-ui}.ekegr-ai-send{width:44px;border:0;border-radius:12px;background:#176b4b;color:#fff;cursor:pointer}
@media(max-width:600px){#ekegr-ai-launcher{right:14px;bottom:14px}#ekegr-ai-panel{right:12px;bottom:80px;height:74vh}}
