:root { color: #e2e8f0; font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif; background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.35), transparent 45%), radial-gradient(circle at bottom right, rgba(217, 70, 239, 0.25), transparent 40%), #030712; min-height: 100%; } * { box-sizing: border-box; } body { margin: 0; min-height: 100vh; background: transparent; } button, input, textarea, select { font: inherit; color: inherit; } .glass { background: rgba(15, 23, 42, 0.65); border: 1px solid rgba(226, 232, 240, 0.08); box-shadow: 0 30px 80px rgba(2, 6, 23, 0.55); border-radius: 24px; backdrop-filter: blur(24px); } .chat-shell { min-height: 100vh; padding: clamp(1rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 1.25rem; max-width: 1200px; margin: 0 auto; } .chat-header { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; padding: clamp(1.25rem, 3vw, 2rem); align-items: center; justify-content: space-between; } .chat-header h1 { margin: 0.2rem 0; font-size: clamp(1.8rem, 4vw, 2.6rem); } .status-row { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.25rem; } .status-chip { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; border-radius: 999px; padding: 0.2rem 0.65rem; border: 1px solid rgba(148, 163, 184, 0.35); background: rgba(15, 23, 42, 0.5); } .status-chip.online { border-color: rgba(34, 197, 94, 0.5); background: rgba(16, 185, 129, 0.15); } .status-chip.offline { border-color: rgba(248, 113, 113, 0.5); background: rgba(248, 113, 113, 0.15); } .status-dot { width: 8px; height: 8px; border-radius: 999px; background: currentColor; display: inline-block; } .status-chip.online .status-dot { background: #34d399; } .status-chip.offline .status-dot { background: #f87171; } .eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; margin: 0; color: #a5b4fc; } .muted { color: rgba(226, 232, 240, 0.75); } .muted.danger { color: #fca5a5; } .tiny { font-size: 0.85rem; } .header-controls { display: flex; flex-direction: column; gap: 0.4rem; min-width: 260px; } .header-controls label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.85rem; } .header-controls input, .header-controls select { border: 1px solid rgba(148, 163, 184, 0.4); border-radius: 999px; padding: 0.45rem 0.95rem; background: rgba(2, 6, 23, 0.4); } .reset-chat { border-radius: 999px; border: 1px solid rgba(148, 163, 184, 0.4); padding: 0.35rem 1rem; background: rgba(2, 6, 23, 0.35); cursor: pointer; } .stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; } .stat-card { padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; } .stat-label { text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.72rem; margin: 0; color: rgba(226, 232, 240, 0.65); } .stat-card strong { font-size: 1.6rem; } .mode-switch { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.75rem; } .mode-pill { border-radius: 20px; border: 1px solid rgba(148, 163, 184, 0.35); background: rgba(15, 23, 42, 0.4); padding: 0.75rem 1rem; text-align: left; cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease; } .mode-pill.active { border-color: rgba(248, 250, 252, 0.85); background: rgba(51, 65, 85, 0.6); transform: translateY(-2px); } .mode-pill__label { display: flex; align-items: center; gap: 0.45rem; font-weight: 600; } .mode-pill__dot { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 10px currentColor; } .mode-pill small { display: block; margin-top: 0.4rem; color: rgba(226, 232, 240, 0.75); } .dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr); gap: 1.5rem; align-items: flex-start; } .conversation-stack { display: flex; flex-direction: column; gap: 1rem; padding: clamp(1rem, 2vw, 1.5rem); } .conversation-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; } .chat-main { flex: 1; padding: clamp(1rem, 2vw, 1.25rem); overflow-y: auto; display: flex; flex-direction: column; gap: 1rem; border-radius: 20px; border: 1px solid rgba(226, 232, 240, 0.05); background: rgba(2, 6, 23, 0.4); } .bubble { padding: 0.85rem 1.1rem; border-radius: 18px; border: 1px solid transparent; background: rgba(15, 23, 42, 0.55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); animation: fadeIn 0.25s ease; } .bubble.user { align-self: flex-end; background: rgba(59, 130, 246, 0.18); border-color: rgba(59, 130, 246, 0.35); } .bubble.assistant { align-self: flex-start; background: rgba(129, 140, 248, 0.18); border-color: rgba(99, 102, 241, 0.3); } .bubble.system { align-self: center; background: rgba(45, 212, 191, 0.18); border-color: rgba(16, 185, 129, 0.35); } .bubble.ghost { opacity: 0.8; } .meta { display: flex; justify-content: space-between; font-size: 0.78rem; color: rgba(226, 232, 240, 0.65); gap: 0.5rem; } .bubble p { margin: 0.35rem 0 0; line-height: 1.55; } .pill { display: inline-flex; align-items: center; gap: 0.35rem; border-radius: 999px; padding: 0.15rem 0.7rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; border: 1px solid rgba(148, 163, 184, 0.35); background: rgba(148, 163, 184, 0.12); } .pill--pending { border-color: rgba(14, 165, 233, 0.5); background: rgba(14, 165, 233, 0.15); } .pill--error { border-color: rgba(248, 113, 113, 0.5); background: rgba(248, 113, 113, 0.2); } .typing-dots { display: flex; gap: 0.3rem; } .typing-dots span { width: 8px; height: 8px; background: rgba(255, 255, 255, 0.7); border-radius: 50%; animation: pulse 1.2s infinite ease-in-out; } .typing-dots span:nth-child(2) { animation-delay: 0.2s; } .typing-dots span:nth-child(3) { animation-delay: 0.4s; } .composer-wrapper { padding: 1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; border-radius: 20px; border: 1px solid rgba(226, 232, 240, 0.05); background: rgba(2, 6, 23, 0.45); } .composer-form { display: flex; gap: 0.75rem; align-items: flex-end; } .composer-form textarea { flex: 1; border-radius: 18px; border: 1px solid rgba(148, 163, 184, 0.4); background: rgba(3, 7, 18, 0.75); padding: 0.75rem 1rem; resize: none; min-height: 56px; max-height: 240px; line-height: 1.4; } .composer-form button { border: none; border-radius: 999px; padding: 0.85rem 1.8rem; background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(236, 72, 153, 0.95)); color: #fff; font-weight: 600; cursor: pointer; box-shadow: 0 15px 30px rgba(14, 165, 233, 0.35); transition: transform 0.2s ease, box-shadow 0.2s ease; } .composer-form button:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; } .composer-form button:not(:disabled):hover { transform: translateY(-2px); } .composer-meta { display: flex; justify-content: space-between; font-size: 0.82rem; color: rgba(226, 232, 240, 0.65); } .suggestion-row { display: flex; flex-wrap: wrap; gap: 0.4rem; } .suggestion-row button { border-radius: 999px; border: 1px solid rgba(148, 163, 184, 0.4); padding: 0.3rem 0.9rem; background: rgba(2, 6, 23, 0.35); cursor: pointer; font-size: 0.85rem; } .actions-panel { padding: clamp(1rem, 2vw, 1.5rem); display: flex; flex-direction: column; gap: 1rem; } .actions-panel__header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; } .refresh-button { border-radius: 999px; border: 1px solid rgba(148, 163, 184, 0.4); padding: 0.45rem 1.2rem; background: rgba(2, 6, 23, 0.35); cursor: pointer; } .new-action-form { display: flex; flex-direction: column; gap: 0.75rem; } .new-action-form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; } .new-action-form input, .new-action-form select, .new-action-form textarea { border: 1px solid rgba(148, 163, 184, 0.35); border-radius: 14px; background: rgba(2, 6, 23, 0.35); padding: 0.5rem 0.75rem; } .new-action-form button { align-self: flex-start; border: none; border-radius: 999px; padding: 0.6rem 1.4rem; background: rgba(129, 140, 248, 0.85); color: #fff; cursor: pointer; } .field-cluster { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.8rem; } .action-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; } .action-card { padding: 1rem; border-radius: 24px; border: 1px solid rgba(226, 232, 240, 0.08); } .action-card__title-row { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.35rem; } .action-card__body { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; } .action-card__body h3 { margin: 0; } .action-card__body p { margin: 0; max-width: 480px; } .action-card__body dl { display: flex; gap: 1rem; margin: 0; flex-wrap: wrap; } .action-card__body dl div { min-width: 120px; } .action-card__body dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(226, 232, 240, 0.65); } .action-card__body dd { margin: 0.25rem 0 0; font-weight: 600; } .action-card__progress { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; } .action-card__progress form { display: flex; flex-wrap: wrap; gap: 0.5rem; } .action-card__progress select, .action-card__progress input { border: 1px solid rgba(148, 163, 184, 0.35); border-radius: 999px; padding: 0.4rem 0.8rem; background: rgba(2, 6, 23, 0.35); } .action-card__progress button { border-radius: 999px; border: none; padding: 0.45rem 1.1rem; background: rgba(59, 130, 246, 0.8); color: #fff; cursor: pointer; } .action-card__progress button.ghost { background: rgba(239, 68, 68, 0.2); border: 1px solid rgba(239, 68, 68, 0.4); } .error-banner { margin: 0; padding: 0.6rem 0.9rem; border-radius: 14px; border: 1px solid rgba(239, 68, 68, 0.35); background: rgba(248, 113, 113, 0.18); font-size: 0.9rem; } @keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } } @keyframes pulse { 0%, 80%, 100% { transform: scale(0.8); opacity: 0.6; } 40% { transform: scale(1); opacity: 1; } } @media (max-width: 960px) { .dashboard-grid { grid-template-columns: 1fr; } } @media (max-width: 768px) { .chat-header { flex-direction: column; align-items: flex-start; } .composer-form { flex-direction: column; } .composer-form textarea { width: 100%; } .composer-form button { width: 100%; text-align: center; } .action-card__body { flex-direction: column; } .action-card__progress form { flex-direction: column; } }