Spaces:
Running
Running
| /* Global light-mode baseline */ | |
| :root { | |
| --radius: 0.75rem; | |
| } | |
| /* Simple scrollbar for messages area */ | |
| #messages::-webkit-scrollbar { | |
| width: 10px; | |
| } | |
| #messages::-webkit-scrollbar-thumb { | |
| background: #e5e7eb; | |
| border-radius: 9999px; | |
| } | |
| #messages { | |
| scrollbar-width: thin; | |
| scrollbar-color: #e5e7eb transparent; | |
| } | |
| /* Message bubbles */ | |
| .message { | |
| display: flex; | |
| gap: 12px; | |
| max-width: 860px; | |
| } | |
| .message .avatar { | |
| flex: 0 0 auto; | |
| width: 36px; | |
| height: 36px; | |
| border-radius: 9999px; | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-weight: 700; | |
| font-size: 14px; | |
| color: white; | |
| } | |
| .message.user .avatar { | |
| background: linear-gradient(135deg, #0ea5e9, #6366f1); | |
| } | |
| .message.assistant .avatar { | |
| background: linear-gradient(135deg, #22c55e, #14b8a6); | |
| } | |
| .message .bubble { | |
| border: 1px solid #e5e7eb; | |
| background: white; | |
| padding: 12px 14px; | |
| border-radius: 14px; | |
| line-height: 1.55; | |
| white-space: pre-wrap; | |
| word-break: break-word; | |
| } | |
| .message.assistant .bubble { | |
| background: #f8fafc; | |
| } | |
| /* Mobile sidebar overlay */ | |
| .mobile-overlay { | |
| position: fixed; | |
| inset: 0; | |
| background: rgba(0,0,0,0.35); | |
| z-index: 40; | |
| } | |
| .mobile-sidebar { | |
| position: fixed; | |
| inset: 0 auto 0 0; | |
| width: 80%; | |
| max-width: 320px; | |
| background: white; | |
| z-index: 50; | |
| transform: translateX(-100%); | |
| transition: transform 0.25s ease-in-out; | |
| } | |
| .mobile-sidebar.open { | |
| transform: translateX(0); | |
| } | |
| @media (min-width: 768px) { | |
| .mobile-overlay, .mobile-sidebar { | |
| display: none ; | |
| } | |
| } | |
| /* Buttons subtle hover */ | |
| .btn { | |
| transition: background 120ms ease-in-out, border-color 120ms ease-in-out; | |
| } | |
| /* Small utilities */ | |
| .small-muted { | |
| font-size: 12px; | |
| color: #6b7280; | |
| } |