#aichat-root{--aichat-accent:#1f1f1f;--aichat-bg:#fff;--aichat-user:#e9f0fb;--aichat-bot:#f3f4f6;--aichat-text:#1f2937;--aichat-muted:#6b7280;--aichat-radius:14px;font-family:inherit}#aichat-root :where(button:not(.btn)){all:unset;box-sizing:border-box;cursor:pointer;font:inherit;line-height:1;display:inline-flex;align-items:center;justify-content:center;-webkit-appearance:none;appearance:none}#aichat-root :where(button:not(.btn)):focus-visible{outline:2px solid var(--aichat-accent);outline-offset:2px}#aichat-root :where(button) svg{display:block;width:1.25em;height:1.25em;flex:0 0 auto}#aichat-root :where(textarea.aichat-input,textarea.aichat-input:focus,textarea.aichat-input:not(:placeholder-shown)){all:unset;box-sizing:border-box;display:block;width:100%;min-height:42px;max-height:120px;height:42px;padding:10px 12px;margin:0;resize:none;overflow-y:auto;border:1px solid #d1d5db;border-radius:12px;background:#fff;color:var(--aichat-text);font:inherit;font-size:14.5px;line-height:1.35;-webkit-appearance:none;appearance:none}#aichat-root textarea.aichat-input:focus{border-color:var(--aichat-accent);box-shadow:0 0 0 3px rgba(31,31,31,.12)}#aichat-root textarea.aichat-input::placeholder{color:#9ca3af;opacity:1}#aichat-root textarea.aichat-input:disabled{opacity:.5}#aichat-root .aichat-fab{position:fixed;right:20px;bottom:20px;z-index:9999;gap:8px;background:var(--aichat-accent);color:#fff;border-radius:999px;padding:12px 18px 12px 14px;font-size:15px;font-weight:600;box-shadow:0 6px 20px rgba(0,0,0,.25);transition:transform .15s ease,box-shadow .15s ease}#aichat-root .aichat-fab svg{width:22px;height:22px}#aichat-root .aichat-fab:hover{transform:translateY(-1px);box-shadow:0 10px 26px rgba(0,0,0,.3)}#aichat-root .aichat-panel{position:fixed;right:20px;bottom:80px;z-index:9999;width:380px;max-width:calc(100vw - 32px);height:560px;max-height:calc(100vh - 110px);background:var(--aichat-bg);color:var(--aichat-text);border-radius:var(--aichat-radius);box-shadow:0 16px 48px rgba(0,0,0,.28);display:flex;flex-direction:column;overflow:hidden;font-size:14.5px;line-height:1.45;text-align:left}#aichat-root .aichat-panel[hidden]{display:none}#aichat-root .aichat-header{display:flex;justify-content:space-between;align-items:center;padding:10px 10px 10px 16px;background:var(--aichat-accent);color:#fff;font-weight:600;font-size:15px}#aichat-root .aichat-header>span:last-child{display:flex;gap:4px}#aichat-root .aichat-header button{width:32px;height:32px;border-radius:8px;background:rgba(255,255,255,.12);color:#fff;font-size:17px;padding:0}#aichat-root .aichat-header button:hover{background:rgba(255,255,255,.24)}#aichat-root .aichat-menu-wrap{position:relative;display:inline-flex}#aichat-root .aichat-menu{position:absolute;top:38px;right:0;min-width:260px;background:#fff;color:var(--aichat-text);border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.2);padding:6px;z-index:2;display:flex;flex-direction:column;font-weight:400;font-size:13.5px}#aichat-root .aichat-menu[hidden]{display:none}#aichat-root .aichat-menu button{width:auto;height:auto;justify-content:flex-start;text-align:left;background:transparent;color:var(--aichat-text);border-radius:8px;padding:9px 10px;font-size:13.5px}#aichat-root .aichat-menu button:hover{background:#f3f4f6}#aichat-root .aichat-menu button.on{color:#166534}#aichat-root .aichat-menu .aichat-menu-delete{color:#b00020}#aichat-root .aichat-status{background:#fff8e1;color:#7a5b00;font-size:12.5px;padding:6px 14px;border-bottom:1px solid #f3e2a8}#aichat-root .aichat-status[hidden]{display:none}#aichat-root .aichat-messages{flex:1;overflow-y:auto;padding:14px 14px 6px;display:flex;flex-direction:column;gap:10px;background:#fafafa}#aichat-root .aichat-msg{max-width:86%;padding:10px 14px;border-radius:var(--aichat-radius);word-wrap:break-word;overflow-wrap:anywhere}#aichat-root .aichat-user{align-self:flex-end;background:var(--aichat-user);border-bottom-right-radius:4px}#aichat-root .aichat-assistant{align-self:flex-start;background:var(--aichat-bot);border-bottom-left-radius:4px}#aichat-root .aichat-agent{align-self:flex-start;background:#e8f5e9;border-bottom-left-radius:4px}#aichat-root .aichat-system{align-self:center;background:transparent;color:var(--aichat-muted);font-size:12.5px;text-align:center;padding:4px 10px;max-width:95%}#aichat-root .aichat-who{font-size:11px;font-weight:600;color:#2e7d32;margin-bottom:2px}#aichat-root .aichat-thinking{opacity:.6;font-style:italic}#aichat-root .aichat-body p{margin:0}#aichat-root .aichat-body ul,#aichat-root .aichat-body ol{margin:6px 0 6px 18px;padding:0}#aichat-root .aichat-body li{margin:2px 0}#aichat-root .aichat-body a{color:#1d4ed8;text-decoration:underline}#aichat-root .aichat-body code{background:#e5e7eb;padding:0 4px;border-radius:4px;font-size:13px}#aichat-root .aichat-sources{margin-top:8px;padding-top:6px;border-top:1px solid rgba(0,0,0,.08);font-size:12px;color:var(--aichat-muted)}#aichat-root .aichat-sources a{color:#1d4ed8}#aichat-root .aichat-feedback{margin-top:6px;font-size:12px;color:var(--aichat-muted);display:flex;gap:4px;align-items:center;flex-wrap:wrap}#aichat-root .aichat-feedback button{border:1px solid #d1d5db;border-radius:6px;padding:2px 7px;font-size:13px;background:#fff}#aichat-root .aichat-comment{width:100%}#aichat-root :where(.aichat-comment textarea){all:unset;box-sizing:border-box;display:block;width:100%;min-height:40px;margin-bottom:6px;border:1px solid #d1d5db;border-radius:8px;padding:6px 8px;font:inherit;font-size:13px;background:#fff}#aichat-root .aichat-comment button{background:var(--aichat-accent);color:#fff;border-radius:6px;padding:5px 10px;font-size:12px}#aichat-root .aichat-cart{margin-top:8px}#aichat-root .aichat-cart-card{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:6px 8px;margin-bottom:6px}#aichat-root .aichat-cart-card img{width:56px;height:56px;object-fit:contain;border-radius:6px;background:#fff;flex:0 0 auto}#aichat-root .aichat-cart-info{min-width:0}#aichat-root .aichat-cart-name{font-size:13px;font-weight:600;line-height:1.3}#aichat-root .aichat-cart-meta{font-size:12px;color:var(--aichat-muted);margin-top:2px;line-height:1.3}#aichat-root .aichat-cart-price{color:var(--aichat-text);font-weight:600}#aichat-root .aichat-cart-name a{color:inherit;text-decoration:none}#aichat-root .aichat-cart-btn{background:#2e7d32;color:#fff;border-radius:8px;padding:8px 12px;font-size:13px;font-weight:600}#aichat-root .aichat-cart-btn:hover{background:#276b2a}#aichat-root .aichat-cart-btn:disabled{opacity:.6;cursor:default}#aichat-root .aichat-cart-error{color:#b00020;font-size:12px;margin-top:4px}#aichat-root .aichat-form{display:flex;align-items:flex-end;gap:8px;padding:10px 12px;margin:0;border-top:1px solid #e5e7eb;background:var(--aichat-bg)}#aichat-root .aichat-form[hidden]{display:none}#aichat-root .aichat-send{flex:0 0 42px;width:42px;height:42px;background:var(--aichat-accent);color:#fff;border-radius:12px;padding:0}#aichat-root .aichat-send svg{width:20px;height:20px}#aichat-root .aichat-send:hover{opacity:.9}#aichat-root .aichat-send:disabled{opacity:.45;cursor:default}#aichat-root .aichat-disclaimer{font-size:11px;color:var(--aichat-muted);padding:0 14px 10px;background:var(--aichat-bg)}#aichat-root :where(.aichat-handoff .form-element){display:flex;flex-direction:column-reverse;gap:4px}#aichat-root :where(.aichat-handoff .form-element label){font-size:12.5px;color:var(--aichat-muted);line-height:1.2}#aichat-root :where(.aichat-handoff .form-element input){box-sizing:border-box;width:100%;margin:0;padding:9px 12px;border:1px solid #d1d5db;border-radius:10px;background:#fff;color:var(--aichat-text);font:inherit;font-size:14px;line-height:1.3;-webkit-appearance:none;appearance:none}#aichat-root :where(.aichat-handoff .form-element input:focus){outline:0;border-color:var(--aichat-accent);box-shadow:0 0 0 3px rgba(31,31,31,.12)}#aichat-root :where(.aichat-handoff .form-element input::placeholder){color:#9ca3af;opacity:1}#aichat-root :where(.aichat-handoff .aichat-handoff-send){background:var(--aichat-accent);color:#fff;border-radius:10px;padding:9px 14px;font-size:13.5px;font-weight:600;border:0;cursor:pointer}#aichat-root .aichat-handoff{padding:12px 14px 10px;border-top:1px solid #e5e7eb;background:var(--aichat-bg);display:block;margin:0}#aichat-root .aichat-handoff[hidden]{display:none}#aichat-root .aichat-handoff .form-element{margin-bottom:.6rem}#aichat-root .aichat-handoff-intro{margin:0 0 10px;font-size:13.5px}#aichat-root .aichat-handoff-consent{margin:0 0 6px;font-size:11.5px;color:var(--aichat-muted)}#aichat-root .aichat-handoff-errors{color:#b00020;font-size:12.5px;margin-bottom:6px}#aichat-root .aichat-handoff-errors:empty{display:none}#aichat-root .aichat-handoff-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center}#aichat-root .aichat-handoff-cancel{color:var(--aichat-muted);padding:8px 10px;text-decoration:underline}@media(max-width:480px){#aichat-root .aichat-panel{right:8px;bottom:74px;width:calc(100vw - 16px);height:calc(100vh - 90px)}#aichat-root .aichat-fab{right:12px;bottom:12px}}
