:root{color-scheme:dark;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5}*{box-sizing:border-box;margin:0}html,body,#root{min-height:100vh;background:#0f1117;color:#e8eaed}.service-app{display:flex;flex-direction:column;max-width:520px;height:100vh;margin:0 auto;background:#161822}.service-header{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;background:linear-gradient(135deg,#1e6f5c,#1a5c7a);border-bottom:1px solid rgba(255,255,255,.08)}.header-icon{font-size:1.75rem;line-height:1}.header-text h1{font-size:1.1rem;font-weight:600;color:#fff;margin:0;letter-spacing:-.01em}.header-subtitle{font-size:.78rem;color:#ffffffb3;margin:0}.status-badge{margin-left:auto;display:flex;align-items:center;gap:.4rem;font-size:.75rem;font-weight:500;color:#b8f0d8;background:#ffffff14;padding:.25rem .65rem;border-radius:999px}.status-dot{width:8px;height:8px;border-radius:50%;background:#34d399;box-shadow:0 0 6px #34d39988;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.chat-area{flex:1;overflow-y:auto;padding:1.25rem 1rem;display:flex;flex-direction:column;gap:.75rem;scrollbar-width:thin;scrollbar-color:#2a2d3a transparent}.message-row{display:flex;align-items:flex-end;gap:.5rem;max-width:88%}.message-row.user{align-self:flex-end;flex-direction:row}.message-row.agent{align-self:flex-start}.avatar{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;flex-shrink:0;color:#fff}.agent-avatar{background:linear-gradient(135deg,#22c55e,#16a34a)}.user-avatar{background:linear-gradient(135deg,#6366f1,#818cf8)}.bubble{padding:.7rem 1rem;border-radius:1rem;font-size:.9rem;line-height:1.5;position:relative}.bubble p{margin:0}.bubble.agent{background:#1e2233;color:#e0e3ea;border-bottom-left-radius:.35rem}.bubble.user{background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff;border-bottom-right-radius:.35rem}.timestamp{display:block;font-size:.65rem;color:#ffffff59;margin-top:.35rem;text-align:right}.bubble.user .timestamp{color:#ffffff80}.typing-bubble{padding:.7rem 1.2rem}.typing-dots{display:flex;gap:5px}.typing-dots span{width:7px;height:7px;background:#6b7280;border-radius:50%;animation:bounce 1.4s ease-in-out infinite}.typing-dots span:nth-child(2){animation-delay:.2s}.typing-dots span:nth-child(3){animation-delay:.4s}@keyframes bounce{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-6px)}}.quick-actions{display:flex;gap:.5rem;padding:.6rem 1rem;overflow-x:auto;scrollbar-width:none;border-top:1px solid rgba(255,255,255,.05)}.quick-actions::-webkit-scrollbar{display:none}.quick-actions button{flex-shrink:0;padding:.4rem .85rem;font-size:.75rem;font-weight:500;color:#93c5fd;background:#3b82f61a;border:1px solid rgba(59,130,246,.2);border-radius:999px;cursor:pointer;transition:all .15s ease;white-space:nowrap}.quick-actions button:hover{background:#3b82f633;border-color:#3b82f666;color:#bfdbfe}.input-area{display:flex;align-items:flex-end;gap:.5rem;padding:.75rem 1rem;background:#13151e;border-top:1px solid rgba(255,255,255,.06)}.input-area textarea{flex:1;resize:none;border:1px solid rgba(255,255,255,.1);border-radius:.75rem;background:#1a1d2b;color:#e8eaed;padding:.6rem .9rem;font-size:.88rem;font-family:inherit;line-height:1.4;max-height:120px;outline:none;transition:border-color .2s}.input-area textarea::placeholder{color:#4b5068}.input-area textarea:focus{border-color:#3b82f6}.send-btn{width:40px;height:40px;border-radius:50%;border:none;background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .15s,transform .15s;flex-shrink:0}.send-btn svg{width:18px;height:18px}.send-btn:disabled{opacity:.35;cursor:not-allowed}.send-btn:not(:disabled):hover{opacity:.9;transform:scale(1.05)}
