.aurora-ui {
  --chat-surface:var(--mouka-surface,var(--surface,#fff));
  --chat-ink:var(--mouka-ink,var(--ink,#193850));
  --chat-line:var(--mouka-edge,var(--line,#d5e7df));
  --chat-soft:var(--mouka-green-soft,var(--tint,#e8f4ee));
  --chat-accent:#126947;
  --chat-muted:var(--muted,#506958);
  position:fixed; inset-inline-end:18px; inset-block-end:18px; z-index:20;
  font-family:inherit; color:var(--chat-ink);
}
.aurora-ui [hidden] { display:none!important; }
.aurora-ui button { cursor:pointer; font:inherit; }
.aurora-open-button,.aurora-close-button {
  border:1px solid var(--chat-line); color:var(--chat-ink); background:var(--chat-surface); border-radius:11px;
}
.aurora-open-button { display:flex; align-items:center; gap:6px; min-height:50px; padding:4px 11px 4px 6px; font-weight:700!important; box-shadow:0 5px 20px #13392927; }
.aurora-open-button:hover,.aurora-close-button:hover { background:var(--chat-soft); }
.aurora-logo { display:grid; place-items:center; width:39px; height:36px; border-radius:7px; background:white; flex:none; }
.aurora-logo img { width:33px; height:28px; object-fit:contain; }
.aurora-chat {
  width:min(390px,calc(100vw - 36px)); height:min(560px,calc(100dvh - 36px)); display:grid;
  grid-template-rows:auto minmax(0,1fr) auto; overflow:hidden; border:1px solid var(--chat-line); border-radius:15px;
  background:var(--chat-surface); box-shadow:0 12px 40px #10312236; font-size:.875rem;
}
.aurora-chat > header { display:flex; gap:10px; align-items:center; padding:13px; border-bottom:1px solid var(--chat-line); background:var(--chat-soft); }
.aurora-chat h2 { font:inherit; font-size:1rem; line-height:1.3; font-weight:700; margin:0; }
.aurora-chat header p { color:var(--chat-muted); margin:2px 0 0; font-size:.78rem; }
.aurora-close-button { display:grid; place-items:center; width:39px; height:39px; margin-inline-start:auto; }
.aurora-messages { padding:12px; overflow:auto; overscroll-behavior:contain; display:flex; flex-direction:column; gap:9px; }
.aurora-start { padding:6px 2px; }
.aurora-start p { margin:0 0 10px; }
.aurora-suggestions { display:grid; gap:6px; }
.aurora-suggestions button { text-align:start; padding:8px; background:var(--chat-soft); border:1px solid var(--chat-line); border-radius:8px; color:var(--chat-ink); }
.aurora-note { align-self:start; max-width:94%; border:1px solid var(--chat-line); border-radius:9px; padding:8px 10px; background:var(--chat-soft); }
.aurora-note.is-user { align-self:end; background:var(--chat-surface); }
.aurora-note strong { font-size:.74rem; }
.aurora-note p { margin:3px 0 0; white-space:pre-wrap; overflow-wrap:anywhere; }
.aurora-thinking { display:flex; align-items:center; gap:7px; color:var(--chat-muted); font-size:.8rem; }
.aurora-thinking canvas { width:20px; height:20px; }
.aurora-ui .aurora-composer { padding:9px 11px; border-top:1px solid var(--chat-line); background:var(--chat-surface); }
.aurora-compose { display:flex; gap:5px; border:1px solid var(--chat-line); border-radius:8px; padding:3px; }
.aurora-compose input { flex:1; width:100%; min-width:0; height:41px; padding:7px; border:0; background:var(--chat-surface); color:var(--chat-ink); font:inherit; }
.aurora-compose button { display:grid; place-items:center; flex:none; width:42px; min-height:41px; color:#fff; background:var(--chat-accent); border:0; border-radius:6px; }
.aurora-compose button:disabled { opacity:.6; cursor:wait; }
.aurora-scope,.aurora-problem { margin:6px 0 0; color:var(--chat-muted); font-size:.76rem; }
.aurora-problem { color:#a32938; }
[data-theme=dark] .aurora-problem { color:#ffbdc3; }
@media(max-width:550px) {
  .aurora-ui { inset-inline-end:10px; inset-block-end:10px; }
  .aurora-chat { width:calc(100vw - 20px); height:min(530px,calc(100dvh - 20px)); }
}
