:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; color: #edf1f5; background: #0b0d10; font-synthesis: none; --bg: #0b0d10; --panel: #111419; --panel-2: #171b21; --line: #242a32; --muted: #89919d; --text: #edf1f5; --accent: #c8ff52; --danger: #ff6b6b; --radius: 14px; } * { box-sizing: border-box; } body { margin: 0; min-width: 320px; background: radial-gradient(circle at 85% -20%, #273219 0, transparent 32%), var(--bg); } button, input, textarea, select { font: inherit; } button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } button:disabled { cursor: not-allowed; opacity: .45; } .shell { height: 100vh; display: grid; grid-template-columns: 232px 1fr; } .sidebar { border-right: 1px solid var(--line); background: #0d1014; display: flex; flex-direction: column; padding: 20px 14px; } .brand { display: flex; align-items: center; gap: 12px; padding: 2px 8px 26px; } .brand-mark, .empty-logo { display: grid; place-items: center; background: var(--accent); color: #10130b; font-weight: 900; border-radius: 10px; } .brand-mark { width: 35px; height: 35px; } .brand strong, .brand small { display: block; } .brand small { color: var(--muted); font-size: 11px; margin-top: 2px; } .sidebar nav { display: grid; gap: 5px; } .sidebar nav button, .settings-nav button { border: 0; background: transparent; color: var(--muted); text-align: left; padding: 11px 13px; border-radius: 9px; cursor: pointer; } .sidebar nav button span { display: inline-block; width: 25px; } .sidebar nav button:hover, .sidebar nav button.active, .settings-nav button:hover, .settings-nav button[data-state="active"] { background: #1b201d; color: var(--text); } .sidebar nav button.active { color: var(--accent); } .gateway-status { margin-top: auto; border-top: 1px solid var(--line); padding: 18px 8px 2px; display: flex; gap: 10px; align-items: center; } .gateway-status i { width: 9px; height: 9px; border-radius: 50%; background: #d8a444; box-shadow: 0 0 12px currentColor; } .gateway-status i.online { background: var(--accent); } .gateway-status b, .gateway-status small { display: block; font-size: 12px; } .gateway-status small { color: var(--muted); margin-top: 2px; } main { min-width: 0; height: 100vh; display: flex; flex-direction: column; } .topbar { height: 76px; flex: 0 0 76px; border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 26px; background: rgb(11 13 16 / 76%); backdrop-filter: blur(16px); } .topbar h1 { font-size: 18px; margin: 0; } .topbar p { font-size: 12px; color: var(--muted); margin: 4px 0 0; } .topbar .menu { display: none; background: none; border: 0; color: var(--text); font-size: 20px; margin-right: 12px; } .page { min-height: 0; flex: 1; } .chat-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); } .chat-layout.todo-open { grid-template-columns: 270px minmax(0, 1fr) 320px; } .sessions-panel { border-right: 1px solid var(--line); padding: 16px; background: rgb(14 17 21 / 66%); overflow: auto; } .primary, .secondary { border-radius: 9px; padding: 9px 14px; font-weight: 650; cursor: pointer; } .primary { border: 1px solid var(--accent); background: var(--accent); color: #11160a; } .primary:hover { background: #ddff91; } .secondary { border: 1px solid var(--line); background: var(--panel-2); color: var(--text); } .full { width: 100%; padding: 11px; } .search { height: 39px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); display: flex; align-items: center; padding: 0 11px; color: var(--muted); } .sessions-panel > .search { margin: 13px 0; } .search input { border: 0; outline: 0; background: transparent; color: var(--text); width: 100%; padding: 0 7px; } .session-list { display: grid; gap: 5px; } .session-item { width: 100%; padding: 10px; border-radius: 9px; cursor: pointer; border: 1px solid transparent; color: var(--text); background: transparent; text-align: left; } .session-item:hover, .session-item.active { background: var(--panel-2); border-color: var(--line); } .session-item.active { border-left-color: var(--accent); } .session-item strong { font-size: 13px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .plan-unread { display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px var(--accent); } .session-item small { color: var(--muted); font-size: 11px; display: flex; justify-content: space-between; margin-top: 6px; } .chat-panel { display: flex; flex-direction: column; min-width: 0; min-height: 0; } .chat-heading { height: 57px; flex: 0 0 57px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; } .chat-heading strong, .chat-heading small { display: block; } .chat-heading strong { font-size: 13px; } .chat-heading-actions { display: flex; align-items: center; gap: 9px; } .todo-toggle { border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px; background: var(--panel-2); color: var(--muted); font-size: 11px; cursor: pointer; } .todo-toggle.active { border-color: #657d32; color: var(--accent); } .chat-heading small { font-size: 10px; color: var(--muted); margin-top: 3px; } .icon-button { border: 0; background: none; color: var(--muted); font-size: 20px; cursor: pointer; border-radius: 6px; } .tooltip { z-index: 50; border: 1px solid #3c4652; background: #222831; color: var(--text); padding: 6px 9px; border-radius: 7px; font-size: 11px; box-shadow: 0 8px 24px #0008; } .tooltip-arrow { fill: #222831; } .messages { flex: 1; min-height: 0; overflow-y: auto; padding: 26px max(24px, calc((100% - 850px) / 2)) 18px; } .empty { text-align: center; color: var(--muted); padding-top: 12vh; } .empty-logo { width: 54px; height: 54px; margin: auto; font-size: 24px; } .empty h2 { color: var(--text); font-size: 24px; margin: 18px 0 8px; } .empty p { font-size: 13px; } .message { display: flex; gap: 12px; margin: 15px 0; align-items: flex-start; } .message.user { flex-direction: row-reverse; } .avatar { width: 28px; height: 28px; flex: 0 0 28px; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; font-size: 11px; background: var(--panel-2); } .message.assistant .avatar { background: var(--accent); color: #11160a; border-color: var(--accent); font-weight: bold; } .bubble { max-width: min(78%, 720px); padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); font-size: 14px; line-height: 1.62; white-space: pre-wrap; overflow-wrap: anywhere; } .message.user .bubble { background: #20271a; border-color: #3a4726; } .typing .bubble { color: var(--muted); } .pulse { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.1s infinite; } @keyframes pulse { 50% { opacity: .25; transform: scale(.8); } } .composer { position: relative; margin: 0 max(18px, calc((100% - 850px) / 2)) 18px; border: 1px solid #343d47; background: var(--panel-2); border-radius: 14px; padding: 10px 11px 6px; display: grid; grid-template-columns: 1fr 38px; box-shadow: 0 10px 35px #0006; } .composer textarea { resize: none; max-height: 180px; background: transparent; border: 0; outline: 0; color: var(--text); padding: 7px; line-height: 1.5; } .send { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); border: 0; font-size: 19px; cursor: pointer; } .composer small { grid-column: 1 / -1; display: flex; justify-content: space-between; padding: 3px 7px; color: var(--muted); font-size: 10px; } .composer small .online { color: var(--accent); } .todo-panel { display: none; min-width: 0; border-left: 1px solid var(--line); background: #0e1115; overflow: hidden; } .todo-open .todo-panel { display: flex; flex-direction: column; } .todo-heading { min-height: 78px; padding: 14px 14px 12px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; } .todo-heading small, .todo-heading strong { display: block; } .todo-heading small { color: var(--muted); font-size: 10px; margin-bottom: 5px; } .todo-heading strong { font-size: 13px; line-height: 1.4; } .todo-progress { height: 3px; background: #252b32; } .todo-progress span { display: block; height: 100%; background: var(--accent); transition: width .2s; } .todo-summary { display: flex; justify-content: space-between; padding: 11px 16px; color: var(--muted); font-size: 10px; } .todo-items { min-height: 0; overflow-y: auto; padding: 4px 12px 18px; } .todo-item { display: grid; grid-template-columns: 24px 1fr; gap: 8px; padding: 10px 8px; border-radius: 9px; color: #b8bec6; } .todo-item + .todo-item { margin-top: 3px; } .todo-item.running { background: #202519; color: var(--text); } .todo-item.blocked { background: #28191c; } .todo-item.done { color: #727a83; } .todo-icon { width: 21px; height: 21px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 11px; } .todo-item.running .todo-icon { color: var(--accent); border-color: #657d32; } .todo-item.blocked .todo-icon { color: #ff8d8d; border-color: #74363b; } .todo-item.done .todo-icon { color: var(--accent); } .todo-item strong, .todo-item small { display: block; } .todo-item strong { font-size: 12px; line-height: 1.45; } .todo-item small { color: var(--muted); font-size: 10px; margin-top: 3px; } .todo-item p { margin: 6px 0 0; color: #aab1ba; font-size: 10px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; } .command-menu { position: absolute; z-index: 5; left: 0; right: 0; bottom: calc(100% + 8px); max-height: min(360px, 48vh); overflow-y: auto; padding: 6px; border: 1px solid #3b454f; border-radius: 13px; background: #14181d; box-shadow: 0 18px 50px #000b; } .command-menu-heading { position: sticky; top: -6px; z-index: 1; display: flex; justify-content: space-between; gap: 16px; padding: 9px 10px 8px; color: var(--muted); background: #14181df2; font-size: 10px; } .command-menu-heading kbd { color: #89919a; font: inherit; } .command-menu button { display: grid; grid-template-columns: minmax(100px, auto) 1fr; gap: 14px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; color: var(--text); background: transparent; text-align: left; cursor: pointer; } .command-menu button:hover, .command-menu button.selected { background: #252d22; } .command-menu code { color: var(--accent); font: 600 12px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; } .command-menu button span { color: #b8bec5; font-size: 12px; line-height: 1.4; } .content-page { padding: 22px 26px; overflow: auto; } .toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 10px; } .tabs { display: flex; background: var(--panel); padding: 3px; border: 1px solid var(--line); border-radius: 10px; } .tabs button { border: 0; background: none; color: var(--muted); padding: 7px 13px; border-radius: 7px; cursor: pointer; } .tabs button[data-state="active"] { background: var(--panel-2); color: var(--text); } .filters select { height: 39px; background: var(--panel); border: 1px solid var(--line); color: var(--text); border-radius: 9px; padding: 0 10px; } .grow { flex: 1; max-width: 520px; } .cards { display: grid; gap: 11px; } .card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 15px 17px; } .card-row { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; } .card h3 { font-size: 14px; margin: 0 0 7px; } .card p { color: #c4c9d0; font-size: 12px; line-height: 1.55; margin: 5px 0; white-space: pre-wrap; } .meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 11px; } .badge { border-radius: 99px; padding: 4px 8px; font-size: 10px; background: #222831; color: #bac1cb; white-space: nowrap; } .badge.ok { background: #26331b; color: var(--accent); } .badge.fail { background: #351d20; color: #ff9a9a; } .badge.run { background: #302a18; color: #ffd66b; } .details { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; } .run-row + .run-row { margin-top: 7px; } .metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; } .metric { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; } .metric b { font-size: 22px; display: block; } .metric small { color: var(--muted); } .memory-content { font-size: 13px !important; } .memory-key { color: var(--accent); font-family: ui-monospace, monospace; } .log-view { margin: 0; background: #090b0e; border: 1px solid var(--line); border-radius: 12px; padding: 16px; color: #b9c1ca; min-height: calc(100vh - 190px); font: 11px/1.65 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow: auto; } .log-meta { color: var(--muted); font-size: 11px; margin: -8px 0 8px; } .switch-label { color: var(--muted); font-size: 12px; display: flex; gap: 7px; align-items: center; cursor: pointer; } .switch { width: 34px; height: 20px; padding: 2px; border: 1px solid var(--line); border-radius: 99px; background: var(--panel); cursor: pointer; } .switch[data-state="checked"] { background: var(--accent); border-color: var(--accent); } .switch-thumb { display: block; width: 14px; height: 14px; background: var(--muted); border-radius: 50%; transition: transform .15s, background .15s; } .switch-thumb[data-state="checked"] { transform: translateX(14px); background: #11160a; } .settings-grid { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; } .settings-nav { display: flex; flex-direction: column; gap: 4px; } .editor-card { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); overflow: hidden; } .editor-head { height: 62px; padding: 0 15px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); } .editor-head strong, .editor-head small { display: block; } .editor-head small { color: var(--muted); font-size: 10px; margin-top: 4px; } .editor-card textarea { display: block; width: 100%; height: calc(100vh - 275px); min-height: 420px; resize: vertical; border: 0; outline: 0; padding: 18px; background: #0a0c0f; color: #d5dae0; font: 12px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; tab-size: 2; } .notice { padding: 11px 15px; color: var(--muted); font-size: 11px; border-top: 1px solid var(--line); } code { color: var(--accent); } #toast { position: fixed; z-index: 100; right: 22px; bottom: 22px; background: #222831; border: 1px solid #3c4652; border-radius: 10px; padding: 11px 15px; font-size: 12px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: .2s; } #toast.show { opacity: 1; transform: none; } #toast.error { border-color: #6b3030; color: #ffaaaa; } .loading, .empty-card { text-align: center; color: var(--muted); padding: 50px; } .empty-card.compact { padding: 24px 8px; } .error-text { color: #ff9a9a !important; } @media (max-width: 800px) { .shell { grid-template-columns: 1fr; } .sidebar { position: fixed; z-index: 10; inset: 0 auto 0 0; width: 232px; transform: translateX(-100%); transition: .2s; box-shadow: 20px 0 50px #000; } .sidebar.open { transform: none; } .topbar .menu { display: block; } .chat-layout { grid-template-columns: 1fr; } .chat-layout.todo-open { grid-template-columns: 1fr; } .sessions-panel { display: none; } .todo-open .todo-panel { position: fixed; z-index: 20; top: 76px; right: 0; bottom: 0; width: min(340px, 92vw); box-shadow: -18px 0 50px #000b; } .content-page { padding: 16px; } .settings-grid { grid-template-columns: 1fr; } .settings-nav { flex-direction: row; overflow: auto; } .metrics { grid-template-columns: 1fr; } .filters { align-items: stretch; flex-wrap: wrap; } .grow { max-width: none; width: 100%; flex-basis: 100%; } .bubble { max-width: 88%; } }