#swekam-ai-root{position:fixed;right:22px;bottom:22px;z-index:999999;font-family:Arial,sans-serif;color:#111}
#swekam-ai-launcher{border:0;border-radius:999px;padding:14px 18px;background:#111;color:#fff;font-weight:700;box-shadow:0 8px 28px rgba(0,0,0,.2);cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}
#swekam-ai-launcher:hover{transform:translateY(-1px);box-shadow:0 10px 32px rgba(0,0,0,.24)}
#swekam-ai-panel{width:min(410px,calc(100vw - 30px));background:#fff;border:1px solid #ddd;border-radius:18px;box-shadow:0 16px 46px rgba(0,0,0,.24);overflow:hidden}
#swekam-ai-panel header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #eee;background:#fff}
#swekam-ai-panel header>div:first-child{display:flex;flex-direction:column}#swekam-ai-panel header small{color:#777;margin-top:2px}
.swekam-ai-header-actions{display:flex;gap:4px;align-items:center}.swekam-ai-header-actions button{width:34px;height:34px;border:0;border-radius:50%;background:transparent;font-size:21px;line-height:1;cursor:pointer;color:#333}.swekam-ai-header-actions button:hover{background:#f2f2f2}
#swekam-ai-messages{padding:14px;max-height:min(480px,58vh);overflow:auto;scroll-behavior:smooth;background:#fafafa}
.swekam-ai-bubble{padding:11px 13px;border-radius:14px;margin-bottom:10px;line-height:1.45;font-size:14px;overflow-wrap:anywhere}.swekam-ai-bubble.assistant{background:#fff;border:1px solid #ececec}.swekam-ai-bubble.user{background:#111;color:#fff;margin-left:45px}.swekam-ai-bubble a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.swekam-ai-status{font-size:12px;color:#666;padding:5px 3px;display:flex;align-items:center;gap:7px}.swekam-ai-status-dot{width:7px;height:7px;border-radius:50%;background:#aaa;flex:0 0 auto}.swekam-ai-status.loading .swekam-ai-status-dot{animation:swekam-ai-pulse 1.2s infinite}.swekam-ai-status.ok{color:#3f6b4d}.swekam-ai-status.ok .swekam-ai-status-dot{background:#4c8a60}.swekam-ai-status.error{color:#8a5b32}.swekam-ai-status.error .swekam-ai-status-dot{background:#b27a43}
.swekam-ai-quick{display:flex;gap:8px;padding:12px 14px;border-top:1px solid #eee;background:#fff}.swekam-ai-quick button,.swekam-ai-quick a{flex:1;text-align:center;border:1px solid #222;border-radius:10px;padding:10px;text-decoration:none;background:#fff;color:#111;cursor:pointer;font-weight:600}.swekam-ai-quick button:hover,.swekam-ai-quick a:hover{background:#f5f5f5}
#swekam-ai-form,#swekam-ai-followup{display:flex;gap:8px;padding:12px 14px;border-top:1px solid #eee;background:#fff}#swekam-ai-form[hidden],#swekam-ai-followup[hidden],.swekam-ai-quick[hidden]{display:none}
#swekam-ai-input,#swekam-ai-followup input{flex:1;min-width:0;border:1px solid #ccc;border-radius:10px;padding:11px 12px;font-size:16px;outline:none}#swekam-ai-input:focus,#swekam-ai-followup input:focus{border-color:#555;box-shadow:0 0 0 2px rgba(0,0,0,.06)}
#swekam-ai-form button,#swekam-ai-followup button{border:0;border-radius:10px;padding:0 15px;background:#111;color:#fff;font-weight:700;cursor:pointer}#swekam-ai-form button:disabled,#swekam-ai-followup button:disabled{opacity:.55;cursor:wait}
.swekam-ai-thinking{display:flex;align-items:center;gap:5px;color:#555}.swekam-ai-thinking span{width:6px;height:6px;border-radius:50%;background:currentColor;animation:swekam-ai-dot 1.1s infinite ease-in-out}.swekam-ai-thinking span:nth-child(2){animation-delay:.15s}.swekam-ai-thinking span:nth-child(3){animation-delay:.3s}.swekam-ai-thinking em{font-size:12px;font-style:normal;margin-left:4px}.swekam-ai-thinking+*{clear:both}
.swekam-ai-actions{display:flex;flex-wrap:wrap;gap:7px;margin:4px 0 12px;padding:10px;border:1px solid #e5e5e5;border-radius:12px;background:#fff}.swekam-ai-actions-note{width:100%;font-size:12px;color:#666;margin-bottom:2px}.swekam-ai-actions button,.swekam-ai-actions a{border:1px solid #222;background:#fff;color:#111;border-radius:999px;padding:7px 10px;font-size:12px;text-decoration:none;cursor:pointer}.swekam-ai-actions button:hover,.swekam-ai-actions a:hover{background:#f3f3f3}.swekam-ai-actions .swekam-ai-add-cart{background:#111;color:#fff;font-weight:700}.swekam-ai-actions .swekam-ai-add-cart:hover{background:#222}
@keyframes swekam-ai-dot{0%,60%,100%{transform:translateY(0);opacity:.35}30%{transform:translateY(-4px);opacity:1}}@keyframes swekam-ai-pulse{0%,100%{opacity:.35;transform:scale(.9)}50%{opacity:1;transform:scale(1.15)}}
@media(max-width:520px){#swekam-ai-root{right:10px;bottom:10px;left:10px}#swekam-ai-launcher{margin-left:auto;display:block;max-width:calc(100vw - 20px)}#swekam-ai-panel{width:100%;max-height:82vh;border-radius:16px}#swekam-ai-messages{max-height:55vh;padding:12px}.swekam-ai-bubble.user{margin-left:25px}.swekam-ai-quick{padding:10px 12px}#swekam-ai-form,#swekam-ai-followup{padding:10px 12px}}
@media(prefers-reduced-motion:reduce){#swekam-ai-launcher,.swekam-ai-thinking span,.swekam-ai-status-dot{animation:none!important;transition:none!important}}

/* v0.16.5 — business-ready visual polish only; planner/cart logic unchanged */
#swekam-ai-launcher{letter-spacing:.01em;min-height:48px;padding:13px 19px}
#swekam-ai-panel{border-color:rgba(17,17,17,.12);box-shadow:0 20px 60px rgba(0,0,0,.22)}
#swekam-ai-panel header{padding:15px 16px}#swekam-ai-panel header strong{font-size:15px;letter-spacing:.01em}#swekam-ai-panel header small{font-size:11px}
#swekam-ai-messages{overscroll-behavior:contain}.swekam-ai-bubble.assistant{box-shadow:0 1px 1px rgba(0,0,0,.02)}
.swekam-ai-actions{box-shadow:0 1px 2px rgba(0,0,0,.025)}.swekam-ai-actions-note{font-weight:600;color:#555}
.swekam-ai-actions button,.swekam-ai-actions a{min-height:34px;display:inline-flex;align-items:center;justify-content:center;line-height:1.2}
.swekam-ai-actions .swekam-ai-add-cart{min-height:38px}.swekam-ai-cart-link{font-weight:700}
#swekam-ai-form button,#swekam-ai-followup button{min-width:64px}.swekam-ai-quick button,.swekam-ai-quick a{min-height:42px;display:flex;align-items:center;justify-content:center}
#swekam-ai-input::placeholder,#swekam-ai-followup input::placeholder{color:#777}
@media(max-width:520px){#swekam-ai-root{bottom:max(10px,env(safe-area-inset-bottom));right:10px;left:10px}#swekam-ai-panel{max-height:calc(100dvh - 20px)}#swekam-ai-messages{max-height:calc(100dvh - 230px)}.swekam-ai-actions button,.swekam-ai-actions a{padding:8px 11px}}
