/* ARCHITEKTON AI 1.0.0 — izolovaný dizajn pre WordPress/Uncode */
#aa-ai-widget, #aa-ai-widget * { box-sizing: border-box; }
#aa-ai-widget { --aa-dark:#17191b; --aa-line:#e6e8eb; --aa-muted:#737880; --aa-surface:#f4f5f6; color:#202326; font-family:inherit; position:fixed; bottom:24px; right:25px; z-index:99996; font-size:14px; letter-spacing:normal; line-height:1.5; }
#aa-ai-widget button, #aa-ai-widget textarea { font:inherit; letter-spacing:normal; text-transform:none; }
#aa-ai-widget button { cursor:pointer; }
#aa-ai-widget button:focus-visible, #aa-ai-widget textarea:focus-visible, #aa-ai-widget a:focus-visible, #aa-ai-widget input:focus-visible { outline:2px solid #5c626b; outline-offset:3px; }
#aa-ai-widget .aa-ai-launcher { display:flex; align-items:center; gap:10px; height:56px; border:1px solid #25272b; border-radius:40px; padding:6px 18px 6px 7px; background:var(--aa-dark); color:white; box-shadow:0 12px 35px rgba(0,0,0,.20); transition:transform .2s,box-shadow .2s; margin-left:auto; }
#aa-ai-widget .aa-ai-launcher:hover { transform:translateY(-2px); box-shadow:0 15px 38px rgba(0,0,0,.25); }
#aa-ai-widget .aa-ai-launcher-icon { width:40px; height:40px; display:grid; place-items:center; font-size:24px; font-weight:600; border:1px solid rgba(255,255,255,.22); border-radius:50%; }
#aa-ai-widget .aa-ai-launcher-label { font-weight:600; color:#fff; white-space:nowrap; font-size:13px; }
#aa-ai-widget .aa-ai-panel { width:390px; max-width:calc(100vw - 26px); height:min(610px,calc(100dvh - 112px)); min-height:390px; margin-bottom:14px; background:#fff; border:1px solid var(--aa-line); border-radius:18px; overflow:hidden; display:flex; flex-direction:column; box-shadow:0 24px 70px rgba(13,19,24,.20); }
#aa-ai-widget .aa-ai-panel[hidden] { display:none!important; }
#aa-ai-widget .aa-ai-header { background:var(--aa-dark); padding:17px 16px; display:flex; align-items:center; gap:11px; min-height:77px; color:#fff; }
#aa-ai-widget .aa-ai-mark { display:grid; place-items:center; width:39px; height:39px; flex-shrink:0; border:1px solid rgba(255,255,255,.32); border-radius:10px; font-weight:600; font-size:23px; }
#aa-ai-widget .aa-ai-identity { flex:1; display:flex; flex-direction:column; gap:0; min-width:0; }
#aa-ai-widget .aa-ai-identity strong { font-size:14px; font-weight:700; line-height:1.25; color:#fff; }
#aa-ai-widget .aa-ai-identity small { font-size:11px; color:#bec1c4; }
#aa-ai-widget .aa-ai-close { color:white; background:transparent; border:0; border-radius:8px; font-size:26px; padding:0; width:32px; height:32px; line-height:1; }
#aa-ai-widget .aa-ai-close:hover { background:rgba(255,255,255,.15); }
#aa-ai-widget .aa-ai-messages { flex:1; min-height:0; overflow-y:auto; padding:20px 15px; display:flex; flex-direction:column; gap:12px; scrollbar-color:#d5d5d5 transparent; }
#aa-ai-widget .aa-ai-message { font-size:13.5px; white-space:pre-wrap; overflow-wrap:anywhere; padding:12px 14px; border-radius:14px; max-width:92%; margin:0; line-height:1.55; }
#aa-ai-widget .aa-ai-assistant { align-self:flex-start; background:var(--aa-surface); color:#222529; border-bottom-left-radius:4px; }
#aa-ai-widget .aa-ai-user { align-self:flex-end; background:var(--aa-dark); color:#fff; border-bottom-right-radius:4px; }
#aa-ai-widget .aa-ai-error { background:#fff3f2; border:1px solid #f0d6d2; color:#8e3c34; align-self:flex-start; }
#aa-ai-widget .aa-ai-quick { display:flex; flex-wrap:wrap; gap:7px; }
#aa-ai-widget .aa-ai-quick button { background:white; color:#292c30; padding:7px 10px; line-height:1.3; font-size:12px; border:1px solid #d9dcdf; border-radius:50px; }
#aa-ai-widget .aa-ai-quick button:hover { background:#eef0f2; }
#aa-ai-widget .aa-ai-typing { display:inline-flex; gap:4px; align-items:center; }
#aa-ai-widget .aa-ai-typing span { width:5px; height:5px; background:#777; border-radius:50%; animation:aa-ai-pulse 1.2s infinite ease-in-out; }
#aa-ai-widget .aa-ai-typing span:nth-child(2) { animation-delay:.2s; }
#aa-ai-widget .aa-ai-typing span:nth-child(3) { animation-delay:.4s; }
@keyframes aa-ai-pulse { 0%,65%,100% {opacity:.25;} 30% {opacity:1;} }
#aa-ai-widget .aa-ai-compose { padding:12px 12px 11px; border-top:1px solid var(--aa-line); background:white; }
#aa-ai-widget .aa-ai-consent { display:flex; gap:7px; align-items:flex-start; margin:0 0 9px; font-size:10.5px; line-height:1.35; font-weight:400; color:#6b7077; cursor:pointer; }
#aa-ai-widget .aa-ai-consent input { margin:1px 0 0; width:14px; height:14px; flex-shrink:0; accent-color:#242424; }
#aa-ai-widget .aa-ai-consent span { flex:1; }
#aa-ai-widget .aa-ai-consent a, #aa-ai-widget .aa-ai-bottom a { color:#23262b; text-decoration:underline; text-underline-offset:2px; }
#aa-ai-widget #aa-ai-form { display:flex; gap:7px; align-items:flex-end; border:1px solid #d9dcdf; padding:6px 7px 6px 12px; border-radius:12px; min-height:43px; }
#aa-ai-widget #aa-ai-form:focus-within { border-color:#767d85; }
#aa-ai-widget #aa-ai-input { width:100%; min-width:0; max-height:105px; resize:none; margin:0; outline:none; box-shadow:none; font-size:13px; border:0; background:transparent; padding:5px 0; line-height:1.55; color:#1c2025; }
#aa-ai-widget #aa-ai-input::placeholder { color:#969ba0; }
#aa-ai-widget #aa-ai-send { width:31px; height:31px; flex-shrink:0; border:0; border-radius:9px; background:var(--aa-dark); color:white; display:grid; place-items:center; padding:0; }
#aa-ai-widget #aa-ai-send:disabled { opacity:.3; cursor:not-allowed; }
#aa-ai-widget .aa-ai-bottom { display:flex; flex-wrap:wrap; justify-content:space-between; column-gap:9px; row-gap:3px; margin-top:8px; color:var(--aa-muted); font-size:10px; line-height:1.3; }
#aa-ai-widget .aa-ai-bottom a { white-space:nowrap; text-decoration:none; font-weight:600; }
@media(max-width:600px){ #aa-ai-widget { right:12px; bottom:12px; } #aa-ai-widget .aa-ai-panel { width:calc(100vw - 24px); max-width:420px; height:min(620px,calc(100dvh - 93px)); margin-bottom:9px; border-radius:15px; } #aa-ai-widget .aa-ai-launcher { height:54px; } }
@media(prefers-reduced-motion:reduce){ #aa-ai-widget *, #aa-ai-widget *:before, #aa-ai-widget *:after { animation:none!important; transition:none!important; } }
