Spaces:
Running
Running
| :root { | |
| color-scheme: light; | |
| --bg: #f7f7f8; | |
| --shell: #ffffff; | |
| --soft: #f2f4f7; | |
| --soft-2: #eef1f5; | |
| --border: #d9dce2; | |
| --text: #1f2430; | |
| --muted: #6a7280; | |
| --accent: #4f46e5; | |
| --accent-2: #6d5efc; | |
| --accent-soft: rgba(79, 70, 229, 0.12); | |
| --assistant: #f4f5f7; | |
| --user: #e9f3ff; | |
| --danger: #b42318; | |
| } | |
| * { | |
| box-sizing: border-box; | |
| } | |
| body { | |
| margin: 0; | |
| min-height: 100vh; | |
| font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; | |
| background: var(--bg); | |
| color: var(--text); | |
| } | |
| button, | |
| select, | |
| textarea { | |
| font: inherit; | |
| } | |
| .app-layout { | |
| min-height: 100vh; | |
| display: grid; | |
| grid-template-columns: 320px 1fr; | |
| gap: 18px; | |
| padding: 18px; | |
| } | |
| .sidebar, | |
| .chat-panel { | |
| background: var(--shell); | |
| border: 1px solid var(--border); | |
| border-radius: 26px; | |
| box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06); | |
| } | |
| .sidebar { | |
| padding: 18px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 14px; | |
| } | |
| .brand-block h1 { | |
| margin: 6px 0 0; | |
| font-size: 1.8rem; | |
| } | |
| .brand-kicker, | |
| .eyebrow, | |
| .label { | |
| text-transform: uppercase; | |
| letter-spacing: 0.11em; | |
| font-size: 11px; | |
| color: var(--accent); | |
| font-weight: 700; | |
| } | |
| .control-card { | |
| border: 1px solid var(--border); | |
| border-radius: 18px; | |
| background: var(--soft); | |
| padding: 14px; | |
| } | |
| .select-input, | |
| textarea { | |
| width: 100%; | |
| border-radius: 14px; | |
| border: 1px solid var(--border); | |
| background: #fff; | |
| color: var(--text); | |
| padding: 12px 14px; | |
| } | |
| .select-input { | |
| margin-top: 10px; | |
| } | |
| .connector-grid, | |
| .mode-picker, | |
| .quick-actions { | |
| margin-top: 10px; | |
| display: flex; | |
| gap: 10px; | |
| flex-wrap: wrap; | |
| } | |
| .connector, | |
| .mode, | |
| .quick-btn, | |
| .composer button { | |
| border: none; | |
| border-radius: 999px; | |
| padding: 10px 14px; | |
| background: var(--soft-2); | |
| color: var(--text); | |
| cursor: pointer; | |
| transition: 0.2s ease; | |
| } | |
| .connector.active, | |
| .mode.active, | |
| .composer button { | |
| background: linear-gradient(135deg, var(--accent), var(--accent-2)); | |
| color: white; | |
| font-weight: 700; | |
| } | |
| .quick-btn.danger { | |
| background: rgba(180, 35, 24, 0.08); | |
| color: var(--danger); | |
| } | |
| button:hover { | |
| transform: translateY(-1px); | |
| filter: saturate(1.05); | |
| } | |
| .chat-panel { | |
| padding: 18px; | |
| display: grid; | |
| grid-template-rows: auto 1fr auto; | |
| gap: 16px; | |
| } | |
| .chat-header { | |
| display: flex; | |
| justify-content: space-between; | |
| gap: 16px; | |
| align-items: center; | |
| } | |
| .chat-header h2 { | |
| margin: 4px 0 0; | |
| font-size: 1.8rem; | |
| } | |
| .status-pill { | |
| border-radius: 999px; | |
| background: var(--accent-soft); | |
| border: 1px solid rgba(79, 70, 229, 0.2); | |
| color: var(--accent); | |
| padding: 8px 12px; | |
| font-size: 12px; | |
| font-weight: 700; | |
| white-space: nowrap; | |
| } | |
| .chat-area { | |
| min-height: 420px; | |
| max-height: calc(100vh - 230px); | |
| overflow-y: auto; | |
| padding: 14px; | |
| border-radius: 18px; | |
| background: #fbfbfc; | |
| border: 1px solid var(--border); | |
| display: flex; | |
| flex-direction: column; | |
| gap: 12px; | |
| } | |
| .chat-message { | |
| padding: 12px 14px; | |
| border-radius: 16px; | |
| max-width: 82%; | |
| line-height: 1.55; | |
| white-space: pre-wrap; | |
| border: 1px solid rgba(15, 23, 42, 0.05); | |
| } | |
| .chat-message.user { | |
| align-self: flex-end; | |
| background: var(--user); | |
| } | |
| .chat-message.assistant { | |
| align-self: flex-start; | |
| background: var(--assistant); | |
| } | |
| .composer { | |
| display: grid; | |
| grid-template-columns: 1fr auto; | |
| gap: 12px; | |
| align-items: end; | |
| } | |
| textarea { | |
| resize: vertical; | |
| min-height: 96px; | |
| } | |
| @media (max-width: 900px) { | |
| .app-layout { | |
| grid-template-columns: 1fr; | |
| } | |
| .chat-area { | |
| max-height: 55vh; | |
| } | |
| } | |
| @media (max-width: 700px) { | |
| .composer { | |
| grid-template-columns: 1fr; | |
| } | |
| .chat-header { | |
| flex-direction: column; | |
| align-items: flex-start; | |
| } | |
| } | |