/* Auren — живият агент. Същите елементи като в стария index.html
   (.aur-chat_*), пребоядисани с токените на auren-v2.css, за да стоят
   в .agent-mount на новия дизайн. Зарежда се след auren-v2.css. */
.aur-chat{display:flex;flex-direction:column;min-height:432px;border-radius:12px;overflow:hidden}
.aur-chat_bar{display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid var(--line)}
.aur-chat_dot{width:10px;height:10px;border-radius:9999px;background:var(--line)}
.aur-chat_dot:first-child{background:var(--accent)}
.aur-chat_title{margin-left:auto;font-size:14px;line-height:20px;font-weight:600;color:var(--muted)}

.aur-chat_body{flex:1;height:340px;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:16px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
/* pre-wrap: the bot's line breaks are part of the answer */
.aur-chat_msg{max-width:85%;padding:12px 16px;border-radius:16px;font-size:16px;line-height:24px;white-space:pre-wrap;overflow-wrap:break-word}
.aur-chat_msg--bot{align-self:flex-start;background:var(--surface);border:1px solid var(--line);color:var(--ink);border-bottom-left-radius:4px}
.aur-chat_msg--user{align-self:flex-end;background:var(--accent);color:#fff;border-bottom-right-radius:4px}
.aur-chat_msg.is-typing{color:var(--muted);letter-spacing:.15em}

.aur-chat_link{display:inline-block;margin-top:8px;color:var(--accent);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;transition:color .7s var(--ease)}
.aur-chat_link:hover{color:var(--accent-hover)}

/* Готовите въпроси изчезват след първото съобщение. */
.aur-chat_chips{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 16px}
.aur-chat_chips[hidden]{display:none}
.aur-chat_chip{padding:8px 12px;font:inherit;font-size:14px;line-height:20px;font-weight:600;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:9999px;cursor:pointer;transition:border-color .7s var(--ease),background-color .7s var(--ease)}
.aur-chat_chip:hover{border-color:var(--ink)}

.aur-chat_timing{display:block;margin-top:8px;font-size:12px;line-height:16px;color:var(--muted);font-variant-numeric:tabular-nums}

.aur-chat_input{display:flex;align-items:center;gap:8px;padding:12px;border-top:1px solid var(--line)}
/* 16px minimum — below that iOS Safari zooms the page on focus */
.aur-chat_input input{flex:1;min-width:0;min-height:48px;padding:12px 16px;font:inherit;font-size:16px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:12px;transition:border-color .7s var(--ease)}
.aur-chat_input input::placeholder{color:var(--muted)}
.aur-chat_input input:focus{outline:2px solid var(--accent);outline-offset:2px;border-color:var(--ink)}
.aur-chat_input input:disabled{opacity:.6}
.aur-chat_send{flex:none;width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;border-radius:9999px;border:0;background:var(--accent);color:#fff;font:inherit;font-size:20px;line-height:1;cursor:pointer;transition:background-color .7s var(--ease),transform .7s var(--ease)}
.aur-chat_send:hover{background:var(--accent-hover);transform:translateY(-2px)}
.aur-chat_send:disabled{opacity:.5;cursor:default;transform:none}

@media(max-width:720px){
  .aur-chat_body{height:300px}
  .aur-chat_msg{max-width:90%}
}
