@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{color-scheme:dark;--bg:#10131b;--panel:#171c27;--panel-2:#1d2431;--line:#2a3242;--text:#f2f4f8;--muted:#9ba5b6;--accent:#b7a7ff;--accent-2:#8f7bea}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 50% 0%,#25243a 0%,var(--bg) 48%);color:var(--text);font-family:'DM Sans',sans-serif}
a{color:inherit}
.shell{min-height:100vh;display:flex;flex-direction:column}
.topbar{height:76px;padding:0 clamp(20px,5vw,72px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.07)}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:700;letter-spacing:.01em}
.brand-mark{width:30px;height:30px;border-radius:10px;background:#f2f0ff;color:#171522;display:grid;place-items:center;font-family:Manrope,sans-serif;font-weight:800}
.topbar-note,.session-label{font-size:12px;color:var(--muted)}
.chat-layout{width:min(760px,calc(100% - 32px));margin:auto;display:flex;flex-direction:column;align-items:center;padding:52px 0 24px;flex:1}
.intro{text-align:center;max-width:590px;margin-bottom:28px}
.alba-mark{width:54px;height:54px;border:1px solid #5d527f;background:linear-gradient(145deg,#39304f,#242536);border-radius:18px;display:grid;place-items:center;margin:0 auto 18px;box-shadow:0 12px 40px #0005}
.alba-mark span{font-size:26px;color:#d9d0ff}
.eyebrow{font-size:10px;letter-spacing:.2em;color:var(--accent);font-weight:700;margin:0 0 10px}
h1{font:700 clamp(32px,5vw,43px)/1.12 Manrope,sans-serif;letter-spacing:-.04em;margin:0}
.intro-copy{color:var(--muted);font-size:14px;line-height:1.65;margin:13px auto 0;max-width:510px}
.chat-panel{width:100%;height:min(590px,62vh);min-height:420px;border:1px solid var(--line);border-radius:22px;background:rgba(23,28,39,.94);box-shadow:0 24px 80px #0004;display:flex;flex-direction:column;overflow:hidden}
.chat-heading{height:68px;flex-shrink:0;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 20px;gap:12px}
.avatar,.message-avatar{width:36px;height:36px;border-radius:13px;background:#39334f;color:#e4ddff;display:grid;place-items:center;font-weight:700}
.chat-heading-copy{display:flex;flex-direction:column;gap:3px}
.chat-heading-copy strong{font-size:14px}
.chat-heading-copy span{font-size:11px;color:var(--muted)}
.status-dot{display:inline-block;width:6px;height:6px;background:#6fd5a0;border-radius:50%;margin-right:5px}
.session-label{margin-left:auto}
.messages{padding:22px 20px;display:flex;flex:1;flex-direction:column;gap:18px;overflow:auto}
.message{display:flex;gap:10px;align-items:flex-start;max-width:88%}
.message-avatar{width:27px;height:27px;border-radius:9px;font-size:11px;flex-shrink:0}
.bubble{padding:12px 15px;border-radius:4px 16px 16px 16px;background:var(--panel-2);color:#e7eaf0;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.user-message{align-self:flex-end;flex-direction:row-reverse}
.user-message .bubble{background:#4d4274;color:white;border-radius:16px 4px 16px 16px}
.typing .bubble{color:var(--muted)}
.composer{margin:0 16px 0;padding:8px 9px 8px 15px;display:flex;align-items:flex-end;gap:10px;background:#111620;border:1px solid #30394a;border-radius:15px}
textarea{width:100%;resize:none;max-height:120px;border:0;outline:0;background:transparent;color:var(--text);font:13px/1.5 'DM Sans',sans-serif;padding:7px 0}
textarea::placeholder{color:#788397}
.send-button{width:36px;height:36px;flex-shrink:0;border:0;border-radius:11px;background:var(--accent);color:#171522;display:grid;place-items:center;cursor:pointer;transition:background .15s,transform .15s}
.send-button:hover{background:#d1c8ff;transform:translateY(-1px)}
.send-button:disabled{opacity:.45;cursor:wait;transform:none}
.send-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.privacy-note{font-size:10px;color:#778194;text-align:center;padding:0 12px;margin:11px 0 14px}
.page-footer{padding-top:20px;color:#7f899a;font-size:11px}
.page-footer a{color:#c7baff;text-decoration:none}
.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:600px){.topbar{height:62px}.chat-layout{padding-top:36px}.intro{margin-bottom:22px}.intro-copy{font-size:13px}.chat-panel{height:64vh;min-height:390px;border-radius:18px}.chat-heading{padding:0 14px}.messages{padding:16px 13px}.message{max-width:96%}.composer{margin:0 10px}.session-label{font-size:10px}}
