:root { color-scheme: dark; --bg: #0d1321; --panel: #151d31; --panel-2: #1c2742; --text: #e8ecf8; --muted: #9aa6c8; --accent: #72e0a8; --accent-2: #7ca8ff; --border: #2e3a5f; --danger: #ff6b6b; } * { box-sizing: border-box; } body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, sans-serif; background: linear-gradient(180deg, #0b1020 0%, #12192b 100%); color: var(--text); } .layout { max-width: 1320px; margin: 0 auto; padding: 32px; } .hero, .panel, .tabs { background: rgba(21, 29, 49, 0.92); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 18px 50px rgba(0,0,0,0.2); } .hero { padding: 24px 28px; display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 18px; } .tabs { display: inline-flex; gap: 10px; padding: 10px; margin-bottom: 24px; } .tab-button { width: auto; padding: 12px 18px; border-radius: 14px; border: 1px solid var(--border); background: transparent; color: var(--text); cursor: pointer; } .tab-button.active { background: linear-gradient(135deg, var(--accent) 0%, #4fceff 100%); color: #0b1020; border: none; } .tab-panel { display: none; margin-bottom: 24px; } .tab-panel.active { display: block; } .eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; } h1, h2, h3 { margin: 0 0 12px; } .lead { margin: 0; color: var(--muted); max-width: 760px; } .helper { color: var(--muted); font-size: 13px; margin: 0 0 16px; } .grid { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; margin-bottom: 24px; } .single-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .chat-grid { grid-template-columns: 0.9fr 1.3fr; } .panel { padding: 24px; } label { display: block; margin-bottom: 14px; color: var(--muted); font-size: 14px; } input, textarea, select, button { width: 100%; border-radius: 12px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); padding: 12px 14px; font: inherit; } textarea { resize: vertical; } button { width: auto; cursor: pointer; background: linear-gradient(135deg, var(--accent) 0%, #4fceff 100%); color: #0b1020; font-weight: 700; border: none; } button.secondary { background: transparent; color: var(--text); border: 1px solid var(--border); } .actions, .checkbox { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; } .checkbox input { width: auto; } pre { background: #0b1020; border: 1px solid var(--border); border-radius: 16px; padding: 16px; overflow: auto; min-height: 160px; white-space: pre-wrap; word-break: break-word; } .context-status { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--border); background: #0b1020; margin-bottom: 18px; } .context-status p { margin: 4px 0 0; color: var(--muted); } .indicator { width: 16px; height: 16px; border-radius: 999px; box-shadow: 0 0 14px rgba(255,255,255,0.15); } .indicator-off { background: var(--danger); } .indicator-on { background: var(--accent); } .chat-messages { min-height: 260px; max-height: 520px; overflow: auto; border: 1px solid var(--border); border-radius: 16px; padding: 16px; background: #0b1020; margin-bottom: 16px; } .empty-chat { color: var(--muted); margin: 0; } .message { margin-bottom: 14px; padding: 14px; border-radius: 14px; background: rgba(28, 39, 66, 0.9); border: 1px solid var(--border); } .message.user { border-left: 4px solid #4fceff; } .message.assistant { border-left: 4px solid var(--accent); } .message header { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; } .message p { margin: 0; white-space: pre-wrap; } @media (max-width: 980px) { .grid, .single-grid, .chat-grid { grid-template-columns: 1fr; } .hero { flex-direction: column; } }