@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root {
  --bg: #111311;
  --panel: #171a19;
  --card: #202725;
  --line: #354442;
  --text: #f4f5f1;
  --muted: #b0bbb7;
  --accent: #fbe477;
  --accent-ink: #103f43;
}
*{box-sizing:border-box}
body{margin:0;background:#101210;color:var(--text);font-family:'DM Sans',sans-serif}
button,textarea{font:inherit}
.demo{max-width:900px;margin:14vh auto;padding:32px 28px}
.eyebrow {
  font-size: 10px;
  letter-spacing: .17em;
  font-weight: 700;
  color: var(--accent);
}
.demo h1{font:800 clamp(38px,7vw,76px)/1.04 Manrope,sans-serif;letter-spacing:-.055em;margin:22px 0}
.demo h1 span{color:var(--accent)}
.demo p{max-width:520px;line-height:1.7;color:var(--muted)}
.launcher{position:fixed;z-index:99998;right:24px;bottom:24px;display:flex;align-items:center;gap:10px;border:0;border-radius:999px;background:var(--accent);color:var(--accent-ink);padding:15px 19px;font-weight:700;box-shadow:0 10px 36px #0008;cursor:pointer}
.launcher svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.panel{position:fixed;z-index:99999;right:24px;bottom:88px;width:min(390px,calc(100vw - 28px));height:min(650px,calc(100dvh - 120px));min-height:420px;background:var(--panel);border:1px solid var(--line);border-radius:22px;box-shadow:0 24px 90px #0009;overflow:hidden;display:flex;flex-direction:column}
.panel[hidden]{display:none}
.panel-head{height:76px;flex:0 0 76px;display:flex;align-items:center;gap:12px;padding:15px 17px;border-bottom:1px solid var(--line);background:#151815}
.brand-mark{height:39px;width:39px;border-radius:12px;background:var(--accent);color:var(--accent-ink);display:grid;place-items:center;font:800 14px Manrope,sans-serif;letter-spacing:-.06em}
.brand-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.brand-copy strong{font:700 11px Manrope,sans-serif;letter-spacing:.13em}
.brand-copy span{font-size:11px;color:var(--muted)}
.brand-copy i{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--accent);margin-right:5px}
.close{margin-left:auto;background:none;border:0;color:var(--muted);font-size:27px;cursor:pointer;padding:0 4px}
.intro{padding:20px 18px 13px}
.intro h2{font:800 25px Manrope,sans-serif;margin:9px 0 7px;letter-spacing:-.04em}
.intro p{font-size:13px;line-height:1.55;color:var(--muted);margin:0 0 14px}
.quick-actions{display:flex;flex-wrap:wrap;gap:7px}
.quick-actions button {
  border: 1px solid #3c5552;
  border-radius: 999px;
  padding: 8px 10px;
  background: #1b2927;
  color: #f4f5f1;
  font-size: 11px;
  cursor: pointer;
}

.quick-actions button:hover {
  border-color: var(--accent);
}
.messages{flex:1;overflow-y:auto;padding:6px 15px 16px;display:flex;flex-direction:column;gap:11px}
.message{max-width:91%;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:15px;padding:11px 13px;font-size:13px;line-height:1.55}
.message.assistant{align-self:flex-start;background:var(--card);color:var(--text);border-bottom-left-radius:5px}
.message.user{align-self:flex-end;background:var(--accent);color:var(--accent-ink);border-bottom-right-radius:5px}
.message.error{border:1px solid #784e42}
.action-links{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
.action-links a {
  color: var(--accent);
  border: 1px solid #52605a;
  border-radius: 999px;
  padding: 7px 9px;
  font-size: 11px;
  text-decoration: none;
}
.composer{display:flex;align-items:flex-end;gap:9px;margin:0 13px;padding:10px 10px 10px 13px;border:1px solid #3a4139;border-radius:15px;background:#101310}
.composer textarea{resize:none;max-height:100px;flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--text);font-size:13px;line-height:1.5;padding:4px 0}
.composer textarea::placeholder{color:#879087}
.composer button{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border:0;border-radius:10px;background:var(--accent);color:var(--accent-ink);cursor:pointer}
.composer button:disabled{opacity:.55;cursor:wait}
.composer svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.disclaimer{font-size:9px;text-align:center;color:#828a81;margin:8px 10px 11px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:520px){.launcher{right:14px;bottom:14px;padding:14px 16px}.panel{right:8px;bottom:76px;width:calc(100vw - 16px);height:min(690px,calc(100dvh - 92px));border-radius:19px}.demo{margin:8vh auto;padding:22px}}
