:root { color-scheme: dark; --bg: #111316; --panel: #191d22; --panel-2: #20262d; --text: #edf1f5; --muted: #97a1ad; --accent: #44c2a5; --accent-2: #e6b94d; --border: #303842; --danger: #e66b6b; } * { box-sizing: border-box; } body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font-family: Inter, Segoe UI, Arial, sans-serif; } .shell { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1px; min-height: 100vh; background: var(--border); } .workspace, .actions { background: var(--panel); } .workspace { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; } .topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--border); } h1, h2, p { margin: 0; } h1 { font-size: 22px; font-weight: 700; } h2 { font-size: 16px; margin-bottom: 14px; } .topbar p, .muted { color: var(--muted); font-size: 13px; } .status { min-width: 76px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 6px; color: var(--muted); font-size: 13px; text-align: center; } .warning { padding: 10px 22px; border-bottom: 1px solid rgba(230, 185, 77, 0.32); background: rgba(230, 185, 77, 0.11); color: #f0d28a; font-size: 13px; } .messages { overflow: auto; padding: 22px; } .message { max-width: 900px; margin-bottom: 14px; padding: 13px 14px; border: 1px solid var(--border); border-radius: 8px; line-height: 1.45; } .message p { margin: 0 0 8px; } .message p:last-child, .message ul:last-child { margin-bottom: 0; } .message ul { margin: 0 0 10px 20px; padding: 0; } .message li { margin: 3px 0; } .message li.nested { margin-left: 20px; color: #d7dde4; } .message strong { color: #ffffff; } .message h3 { margin: 12px 0 8px; font-size: 15px; line-height: 1.3; } .message hr { height: 1px; margin: 12px 0; border: 0; background: var(--border); } .message code { padding: 1px 5px; border: 1px solid var(--border); border-radius: 4px; background: #0e1114; color: #dfe5eb; font-family: Consolas, Monaco, monospace; font-size: 0.92em; } .message.user { margin-left: auto; background: var(--panel-2); } .message.assistant { background: #15191e; } .message.warning-message { border-color: rgba(230, 185, 77, 0.42); background: rgba(230, 185, 77, 0.1); } .composer-wrap { border-top: 1px solid var(--border); } .activity { min-height: 24px; padding: 7px 16px 0; color: rgba(151, 161, 173, 0.72); font-size: 12px; } .working-dots { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; transform: translateY(-1px); } .working-dots i { width: 4px; height: 4px; border-radius: 50%; background: rgba(151, 161, 173, 0.8); animation: pulse-dot 1.2s infinite ease-in-out; } .working-dots i:nth-child(2) { animation-delay: 0.16s; } .working-dots i:nth-child(3) { animation-delay: 0.32s; } @keyframes pulse-dot { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } } .composer { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 16px; } textarea { width: 100%; resize: vertical; min-height: 48px; max-height: 180px; padding: 12px; border: 1px solid var(--border); border-radius: 8px; outline: none; background: #101316; color: var(--text); font: inherit; } textarea:disabled { opacity: 0.62; } button { min-width: 92px; border: 0; border-radius: 8px; background: var(--accent); color: #07110f; font-weight: 700; cursor: pointer; } button.secondary { min-width: 0; padding: 9px 12px; border: 1px solid var(--border); background: transparent; color: var(--text); } .small-button { min-width: 0; padding: 6px 9px; font-size: 12px; } .danger-button { width: 100%; min-width: 0; padding: 9px 10px; margin: 10px 0; border: 1px solid rgba(230, 107, 107, 0.45); background: rgba(230, 107, 107, 0.14); color: #f0b1b1; } .actions { padding: 18px; overflow: auto; } .side-section { margin-bottom: 22px; } .section-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .memory-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; color: var(--muted); font-size: 12px; } .memory-controls label { display: flex; align-items: center; gap: 6px; } .memory-inspector { font-size: 12px; } .memory-counts { color: var(--text); margin-bottom: 6px; } .memory-path { overflow-wrap: anywhere; color: var(--muted); margin-bottom: 10px; } .memory-group { margin-bottom: 8px; border: 1px solid var(--border); border-radius: 8px; background: #15191e; } .memory-group summary { cursor: pointer; padding: 9px 10px; color: var(--text); } .memory-group pre { margin: 0 10px 10px; white-space: pre-wrap; } .pending-empty { color: var(--muted); font-size: 13px; } .pending-card { padding: 12px; margin-bottom: 12px; border: 1px solid var(--border); border-radius: 8px; background: #15191e; } .pending-card strong { display: block; margin-bottom: 8px; } pre { overflow: auto; max-height: 240px; padding: 10px; border-radius: 6px; background: #0e1114; color: #dfe5eb; font-size: 12px; } .pending-card button { width: 100%; padding: 10px; } @media (max-width: 860px) { .shell { grid-template-columns: 1fr; } .actions { border-top: 1px solid var(--border); } }