:root { --bg: #0A0A0C; --bg-base: #0F0D10; --bg-surface: #161218; --bg-elevated: #1C1719; --bg-card: #221B1E; --bg-input: #2A2225; --bg-hover: #332528; --accent: #FF0033; --accent-dark: #8B0020; --accent-deep: #5C0015; --accent-light: #FF1A5E; --accent-muted: #FF4D6D; --accent-bright: #FF1744; --accent-soft: #FF5252; --accent-dim: #6B2033; --accent-bg: #4A1525; --text-primary: #EAE0E2; --text-secondary: #D4C4C8; --text-tertiary: #8A7A7E; --text-disabled: #5A4F52; --success: #00E676; --warning: #FFD740; --error: #FF1744; --info: #448AFF; --border: #2A1F22; --border-accent: #FF003344; --border-accent-full: #FF0033; --radius-sm: 6px; --radius: 8px; --radius-lg: 12px; --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'SF Mono', 'Menlo', monospace; --header-h: 52px; --sidebar-w: 280px; } * { margin: 0; padding: 0; box-sizing: border-box; } html, body, #root { height: 100%; width: 100%; overflow: hidden; } body { background: var(--bg); color: var(--text-secondary); font-family: var(--font-sans); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } ::selection { background: var(--accent); color: #fff; } ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: var(--accent-dark); } a { color: var(--accent); text-decoration: none; cursor: pointer; } a:hover { color: var(--accent-light); } button { font-family: var(--font-sans); font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-card); color: var(--text-secondary); cursor: pointer; transition: all 0.15s ease; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; } button:hover:not(:disabled) { background: var(--bg-hover); border-color: var(--accent-dark); color: var(--text-primary); } button:active:not(:disabled) { transform: scale(0.97); } button:disabled { opacity: 0.4; cursor: not-allowed; } button.primary { background: var(--accent); color: #fff; border-color: var(--accent); } button.primary:hover:not(:disabled) { background: var(--accent-bright); border-color: var(--accent-bright); } button.ghost { background: transparent; border-color: transparent; color: var(--text-tertiary); } button.ghost:hover:not(:disabled) { background: var(--bg-hover); color: var(--text-primary); } button.sm { font-size: 12px; padding: 4px 10px; } input, textarea { font-family: var(--font-sans); font-size: 14px; background: var(--bg-input); color: var(--text-primary); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 12px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; width: 100%; } input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--border-accent); } input::placeholder { color: var(--text-disabled); } .app-layout { display: flex; flex-direction: column; height: 100vh; overflow: hidden; } .header { height: var(--header-h); background: var(--bg-surface); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 20px; gap: 12px; flex-shrink: 0; } .header-brand { display: flex; align-items: center; gap: 8px; } .header-logo { font-family: var(--font-mono); font-weight: 900; font-size: 18px; color: var(--accent); letter-spacing: 3px; user-select: none; } .header-version { font-size: 11px; color: var(--accent-dim); font-family: var(--font-mono); } .header-nav { display: flex; gap: 4px; margin-left: 32px; } .nav-tab { padding: 8px 18px; border-radius: var(--radius); font-size: 13px; font-weight: 600; color: var(--text-tertiary); cursor: pointer; transition: all 0.15s ease; background: transparent; display: flex; align-items: center; gap: 8px; user-select: none; } .nav-tab:hover { color: var(--text-primary); background: var(--bg-card); } .nav-tab.active { color: #fff; background: var(--accent); } .tab-icon { display: flex; align-items: center; } .header-spacer { flex: 1; } .header-indicators { display: flex; align-items: center; gap: 12px; } .indicator { width: 8px; height: 8px; border-radius: 50%; transition: background 0.3s; } .indicator.ok { background: var(--success); } .indicator.warn { background: var(--warning); } .indicator.error { background: var(--error); } .indicator.off { background: var(--text-disabled); } .header-clock { font-family: var(--font-mono); font-size: 12px; color: var(--accent); font-weight: 600; } .content { flex: 1; overflow: hidden; } .statusbar { height: 28px; background: var(--bg-surface); border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 16px; flex-shrink: 0; font-size: 11px; color: var(--text-disabled); } .statusbar-left, .statusbar-right { display: flex; align-items: center; gap: 12px; } .statusbar-sudo { font-size: 10px; font-weight: 700; font-family: var(--font-mono); padding: 1px 6px; border-radius: 3px; background: rgba(239, 68, 68, 0.15); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); text-transform: uppercase; letter-spacing: 0.5px; } .statusbar-shortcut { display: inline-flex; align-items: center; gap: 4px; } .statusbar-shortcut kbd { display: inline-block; padding: 1px 5px; border-radius: 3px; background: var(--bg-card); border: 1px solid var(--border); font-family: var(--font-mono); font-size: 10px; color: var(--text-tertiary); } .card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; transition: border-color 0.2s; } .card:hover { border-color: var(--accent-dim); } .card-header { font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; } .badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; } .badge.ok { background: rgba(0,230,118,0.15); color: var(--success); } .badge.error { background: rgba(255,23,68,0.15); color: var(--error); } .badge.warn { background: rgba(255,215,64,0.15); color: var(--warning); } .badge.info { background: rgba(68,138,255,0.15); color: var(--info); } .badge.neutral { background: var(--bg-hover); color: var(--text-tertiary); } .badge.accent { background: var(--accent-bg); color: var(--accent); } .chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border); font-size: 12px; color: var(--text-secondary); cursor: pointer; transition: all 0.15s; user-select: none; } .chip:hover { border-color: var(--accent-dark); background: var(--bg-hover); } .chip.active { background: var(--accent); border-color: var(--accent); color: #fff; } .progress { height: 6px; background: var(--bg-input); border-radius: 3px; overflow: hidden; } .progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-light)); border-radius: 3px; transition: width 0.4s ease; } .tool-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; } .tool-row:last-child { border-bottom: none; } .tool-name { flex: 1; color: var(--text-primary); font-weight: 500; } .tool-version { color: var(--text-tertiary); font-size: 12px; font-family: var(--font-mono); } .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; height: 100%; padding: 20px; overflow: auto; } .split-horizontal { display: flex; height: 100%; } .split-right { width: var(--sidebar-w); border-left: 1px solid var(--border); background: var(--bg-surface); overflow: auto; padding: 16px; } .chat-layout { display: flex; flex-direction: column; height: 100%; } .chat-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; } .message { max-width: 80%; padding: 12px 16px; border-radius: var(--radius-lg); font-size: 14px; line-height: 1.6; word-break: break-word; } .message.user { align-self: flex-end; background: var(--accent-bg); color: var(--text-primary); border-bottom-right-radius: 4px; } .message.ai { align-self: flex-start; background: var(--bg-card); color: var(--text-primary); border-bottom-left-radius: 4px; border-left: 3px solid var(--accent); } .chat-input-bar { display: flex; gap: 8px; padding: 16px 20px; border-top: 1px solid var(--border); background: var(--bg-surface); } .chat-input-bar input { flex: 1; } .sidebar-nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 20px; } .sidebar-tab { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--radius); font-size: 13px; color: var(--text-tertiary); cursor: pointer; transition: all 0.15s; } .sidebar-tab:hover { background: var(--bg-card); color: var(--text-primary); } .sidebar-tab.active { background: var(--accent); color: #fff; font-weight: 600; } .shell-layout { display: flex; height: 100%; } .shell-terminal-col { flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; } .shell-tabs-bar { display: flex; align-items: center; background: var(--bg-surface); border-bottom: 1px solid var(--border); flex-shrink: 0; height: 36px; padding: 0 8px; gap: 4px; } .shell-tabs { display: flex; align-items: center; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; } .shell-tabs::-webkit-scrollbar { display: none; } .shell-tab { display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius) var(--radius) 0 0; font-size: 12px; font-weight: 500; color: var(--text-tertiary); cursor: pointer; transition: all 0.15s; user-select: none; border: 1px solid transparent; border-bottom: none; white-space: nowrap; max-width: 180px; position: relative; background: transparent; } .shell-tab:hover { color: var(--text-primary); background: var(--bg-card); } .shell-tab.active { color: var(--text-primary); background: var(--bg); border-color: var(--border); border-bottom-color: var(--bg); margin-bottom: -1px; } .shell-tab-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 120px; font-size: 12px; } .shell-tab-index { font-size: 9px; color: var(--text-disabled); font-family: var(--font-mono); padding: 0 3px; background: var(--bg-input); border-radius: 3px; line-height: 1.4; } .shell-tab-close { display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 3px; border: none; background: transparent; color: var(--text-disabled); cursor: pointer; padding: 0; transition: all 0.1s; flex-shrink: 0; } .shell-tab-close:hover { background: var(--accent-bg); color: var(--accent); } .shell-tab-rename { width: 80px; font-size: 12px; padding: 1px 4px; border-radius: 3px; background: var(--bg-input); color: var(--text-primary); border: 1px solid var(--accent); outline: none; font-family: var(--font-sans); } .shell-tab-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; } .shell-new-tab-wrapper { position: relative; } .shell-new-tab-btn { display: flex; align-items: center; gap: 2px; padding: 4px 8px; border-radius: var(--radius); background: transparent; border: 1px solid var(--border); color: var(--text-tertiary); cursor: pointer; transition: all 0.15s; font-size: 12px; } .shell-new-tab-btn:hover { color: var(--text-primary); background: var(--bg-card); border-color: var(--accent-dark); } .shell-menu-overlay { position: fixed; inset: 0; z-index: 998; } .shell-new-tab-menu { position: absolute; top: 100%; right: 0; z-index: 999; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 6px; min-width: 260px; max-height: 400px; overflow-y: auto; box-shadow: 0 8px 24px rgba(0,0,0,0.4); } .shell-menu-label { font-size: 10px; font-weight: 700; color: var(--text-disabled); text-transform: uppercase; letter-spacing: 0.5px; padding: 6px 10px 4px; } .shell-menu-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 10px; border-radius: var(--radius); background: transparent; border: none; color: var(--text-secondary); cursor: pointer; transition: all 0.1s; font-size: 12px; text-align: left; font-family: var(--font-sans); } .shell-menu-item:hover { background: var(--bg-hover); color: var(--text-primary); } .shell-menu-item.accent { color: var(--accent); } .shell-menu-item.accent:hover { background: var(--accent-bg); } .shell-menu-item-sub { font-size: 10px; color: var(--text-disabled); font-family: var(--font-mono); margin-left: auto; } .shell-menu-item-row { display: flex; align-items: center; } .shell-menu-item-icon { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: var(--radius); background: transparent; border: none; color: var(--text-disabled); cursor: pointer; transition: all 0.1s; flex-shrink: 0; } .shell-menu-item-icon:hover { background: var(--accent-bg); color: var(--accent); } .shell-menu-empty { font-size: 12px; color: var(--text-disabled); padding: 8px 10px; font-style: italic; } .shell-menu-divider { height: 1px; background: var(--border); margin: 4px 6px; } .shell-xterm-wrapper { flex: 1; background: var(--bg); overflow: hidden; position: relative; } .shell-xterm-instance { position: absolute; inset: 0; padding: 4px; display: block !important; } .shell-xterm-instance .xterm { height: 100%; padding: 4px; } .connection-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; } .connection-dot.on { background: var(--success); box-shadow: 0 0 6px var(--success); } .connection-dot.off { background: var(--error); } .shell-ai-col { width: 320px; border-left: 1px solid var(--border); background: var(--bg-surface); display: flex; flex-direction: column; flex-shrink: 0; } .ai-panel-header { padding: 12px 16px; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 13px; color: var(--accent); } .ai-panel-messages { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; } .ai-message { padding: 8px 12px; border-radius: var(--radius); font-size: 13px; line-height: 1.5; word-break: break-word; } .ai-message.ai { background: var(--bg-card); border-left: 3px solid var(--accent); } .ai-message.user { background: var(--accent-bg); border-left: 3px solid var(--accent-muted); } .ai-message.thinking { background: var(--bg-elevated); border-left: 3px solid var(--info); font-style: italic; color: var(--text-tertiary); } .ai-message.tool { background: var(--bg-elevated); border-left: 3px solid var(--warning); } .ai-message.tool .tool-name { font-weight: 700; color: var(--warning); } .ai-message.tool .tool-args { font-family: var(--font-mono); font-size: 12px; color: var(--text-tertiary); margin-top: 4px; } .ai-panel-input { display: flex; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--border); } .ai-panel-input input { flex: 1; font-size: 13px; padding: 6px 10px; } .shell-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; z-index: 1000; } .shell-modal { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg); min-width: 380px; max-width: 480px; box-shadow: 0 16px 48px rgba(0,0,0,0.5); } .shell-modal-header { padding: 16px 20px; font-size: 14px; font-weight: 700; color: var(--text-primary); border-bottom: 1px solid var(--border); } .shell-modal-body { padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; } .shell-modal-label { font-size: 11px; font-weight: 600; color: var(--text-tertiary); margin-bottom: 2px; } .shell-modal-row { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; } .shell-modal-field { display: flex; flex-direction: column; } .shell-modal-footer { padding: 12px 20px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; } .config-window { display: flex; flex-direction: column; height: 100%; overflow: hidden; } .config-tabs-bar { display: flex; gap: 4px; padding: 12px 20px; background: var(--bg-surface); border-bottom: 1px solid var(--border); flex-shrink: 0; } .config-panel-area { flex: 1; display: flex; flex-direction: column; overflow: hidden; } .config-panel-body { flex: 1; overflow-y: auto; padding: 16px 28px 28px; } .config-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 16px; } .config-card-row { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); gap: 16px; } .config-card-row:last-of-type { border-bottom: none; } .config-card-label { width: 130px; flex-shrink: 0; color: var(--text-tertiary); font-size: 13px; } .config-card-value { color: var(--text-primary); font-size: 14px; flex: 1; } .config-card-value.mono { font-family: var(--font-mono); } .config-card-value:not(.mono)[style*="—"] { color: var(--text-disabled); font-style: italic; } .config-card-actions { display: flex; gap: 8px; padding-top: 16px; } .config-form-field { margin-bottom: 14px; } .config-form-label { display: block; font-size: 11px; font-weight: 600; color: var(--text-tertiary); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.3px; } .config-form-input { width: 100%; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 12px; color: var(--text-primary); font-size: 13px; font-family: var(--font-mono); outline: none; transition: border-color 0.2s, box-shadow 0.2s; } .config-form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--border-accent); } .config-card-group { margin-bottom: 20px; } .config-card-group:last-child { margin-bottom: 0; } .config-card-group-label { display: block; font-size: 11px; font-weight: 700; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; } .config-providers-list { display: flex; flex-direction: column; gap: 12px; } .provider-card-v2 { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px 20px; transition: border-color 0.2s; } .provider-card-v2:hover { border-color: var(--accent-dim); } .provider-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .provider-card-identity { display: flex; align-items: center; gap: 10px; } .provider-card-name { font-weight: 600; color: var(--text-primary); font-size: 14px; } .provider-card-actions { display: flex; gap: 8px; flex-shrink: 0; } .provider-card-meta { display: flex; gap: 16px; font-size: 12px; color: var(--text-tertiary); font-family: var(--font-mono); margin-top: 8px; } .provider-card-form { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); } .provider-setup-hint { font-size: 13px; color: var(--text-tertiary); margin-bottom: 16px; padding: 10px 14px; border-radius: var(--radius); background: var(--bg-surface); border-left: 3px solid var(--accent-dim); } .provider-setup-token-row { display: flex; gap: 12px; align-items: flex-end; } .provider-setup-token-input { flex: 1; } .provider-setup-token-actions { display: flex; gap: 8px; flex-shrink: 0; padding-bottom: 1px; } .config-update-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; } .config-update-stats { display: flex; gap: 8px; } .config-update-buttons { display: flex; gap: 8px; } .config-update-list { display: flex; flex-direction: column; gap: 2px; } .config-update-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border); margin-bottom: 6px; } .config-update-row:hover { border-color: var(--accent-dim); } .config-update-info { display: flex; align-items: center; gap: 16px; flex: 1; } .config-update-name { color: var(--text-primary); font-weight: 600; font-size: 13px; min-width: 100px; } .config-update-versions { color: var(--text-tertiary); font-size: 12px; font-family: var(--font-mono); } .config-skill-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; } .config-skill-row:last-child { border-bottom: none; } .config-skill-name { color: var(--text-primary); font-weight: 600; min-width: 120px; } .config-skill-desc { color: var(--text-tertiary); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .chip-row { display: flex; gap: 8px; flex-wrap: wrap; } .config-toast { position: fixed; bottom: 40px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; padding: 10px 24px; border-radius: var(--radius-lg); font-size: 13px; font-weight: 600; z-index: 100; animation: fadeIn 0.2s ease-out; box-shadow: 0 4px 24px rgba(255, 0, 51, 0.3); } .spin-icon { animation: spin 0.8s linear infinite; display: inline-block; vertical-align: middle; } .mono { font-family: var(--font-mono); } .section-title { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; } .actions-stack { display: flex; flex-direction: column; gap: 6px; } .agent-card { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius); background: var(--bg-card); margin-bottom: 6px; } .agent-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-bg); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; } .agent-name { font-weight: 600; color: var(--text-primary); font-size: 13px; } .agent-status { font-size: 11px; color: var(--text-tertiary); margin-top: 2px; } .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; color: var(--text-disabled); font-size: 13px; text-align: center; gap: 8px; } /* ── Dashboard Grid ── */ .dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px; height: 100%; overflow: hidden; } .dash-card { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; } .dash-span-2 { grid-column: span 2; } .dash-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; } .dash-label { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; } .dash-count { font-size: 10px; font-family: var(--font-mono); background: var(--bg-input); padding: 1px 6px; border-radius: 10px; } .dash-count.warn { background: var(--accent-bg); color: var(--accent); } /* Tools row */ .dash-tools-row { display: flex; flex-wrap: wrap; gap: 6px; } .dash-tool-tag { font-size: 11px; font-family: var(--font-mono); padding: 3px 8px; border-radius: var(--radius); background: var(--bg-surface); } .dash-tool-tag.ok { color: var(--success); } .dash-tool-tag.missing { color: var(--error); } /* Quota */ .dash-quota-list { display: flex; flex-direction: column; gap: 6px; max-height: 270px; overflow-y: auto; } .dash-quota-row { display: flex; align-items: center; gap: 8px; } .dash-quota-name { font-size: 11px; font-weight: 600; color: var(--text-primary); min-width: 80px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dash-bar { flex: 1; height: 4px; background: var(--bg-input); border-radius: 2px; overflow: hidden; } .dash-bar-fill { height: 100%; background: var(--accent); border-radius: 2px; transition: width 0.3s; } .dash-quota-val { font-size: 10px; font-family: var(--font-mono); color: var(--text-tertiary); white-space: nowrap; } /* Processes */ .dash-proc-list { display: flex; flex-direction: column; gap: 4px; max-height: 270px; overflow-y: auto; } .dash-proc-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; } .dash-proc-name { font-size: 11px; font-weight: 600; color: var(--text-primary); font-family: var(--font-mono); } .dash-proc-res { font-size: 10px; font-family: var(--font-mono); color: var(--text-tertiary); } /* Commands */ .dash-cmd-list { display: flex; flex-direction: column; gap: 3px; max-height: 270px; overflow-y: auto; } .dash-cmd-row { display: flex; align-items: center; gap: 6px; padding: 3px 0; overflow: hidden; } .dash-cmd-shell { font-size: 9px; font-family: var(--font-mono); color: var(--text-disabled); background: var(--bg-input); padding: 1px 4px; border-radius: 3px; text-transform: uppercase; flex-shrink: 0; } .dash-cmd-text { font-size: 11px; font-family: var(--font-mono); color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* Services */ .dash-services { display: flex; flex-direction: column; gap: 6px; } .dash-svc-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; } .dash-svc-name { font-size: 12px; font-weight: 600; color: var(--text-primary); } .dash-svc-val { font-size: 11px; font-family: var(--font-mono); color: var(--text-tertiary); } .dash-svc-issues { margin-top: 4px; } .dash-svc-issue { font-size: 10px; color: var(--warning); padding: 2px 0; } /* Updates */ .dash-updates-list { display: flex; flex-direction: column; gap: 4px; } .dash-update-row { display: flex; justify-content: space-between; align-items: center; } .dash-update-name { font-size: 12px; font-weight: 600; color: var(--text-primary); } .dash-update-ver { font-size: 11px; font-family: var(--font-mono); color: var(--text-tertiary); } .dash-empty { font-size: 11px; color: var(--text-disabled); } /* Graph */ .dash-graph-wrap { display: flex; flex-direction: column; gap: 2px; } .dash-graph-header { display: flex; justify-content: space-between; align-items: center; } .dash-graph-label { font-size: 9px; color: var(--text-disabled); text-transform: uppercase; } .dash-graph-value { font-size: 10px; font-family: var(--font-mono); font-weight: 600; } .dash-graph-svg { width: 100%; height: 32px; } .dash-graph-empty { font-size: 10px; color: var(--text-disabled); text-align: center; padding: 8px 0; } /* Legacy dashboard kept for reference */ .dashboard-layout { display: flex; flex-direction: column; height: 100%; } .dashboard-content { flex: 1; overflow-y: auto; } .dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 24px; } .dashboard-section { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; transition: border-color 0.2s; } .dashboard-section:hover { border-color: var(--accent-dim); } .dashboard-section.full-width { grid-column: 1 / -1; } .dashboard-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; } .dashboard-section-title { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; } .dashboard-workflows-inline { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .dashboard-notifications-inline { display: flex; flex-direction: column; gap: 2px; } .dashboard-notifications { padding: 0; } .notif-row { display: flex; align-items: flex-start; gap: 12px; padding: 8px 12px; border-radius: var(--radius); margin-bottom: 4px; } .notif-row:hover { background: var(--bg-card); } .notif-time { color: var(--text-disabled); font-size: 11px; font-family: var(--font-mono); flex-shrink: 0; padding-top: 1px; } .notif-text { font-size: 13px; color: var(--text-secondary); } .notif-info .notif-text { color: var(--info); } .notif-ok .notif-text { color: var(--success); } .notif-warn .notif-text { color: var(--warning); } .notif-error .notif-text { color: var(--error); } .dashboard-workflows { padding: 0; display: flex; flex-direction: column; gap: 24px; } .workflow-section { } .section-label { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--border); } .panel-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--border); background: var(--bg-surface); } .panel-title { font-weight: 700; font-size: 13px; color: var(--accent); display: flex; align-items: center; gap: 8px; } .panel-subtitle { font-weight: 400; font-size: 12px; color: var(--text-tertiary); margin-left: 8px; } @keyframes spin { to { transform: rotate(360deg); } } .spinner { width: 16px; height: 16px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.6s linear infinite; display: inline-block; vertical-align: middle; } @keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } } .fade-in { animation: fadeIn 0.2s ease-out; } /* ── Studio Feed ── */ .studio-feed-layout { display: flex; flex-direction: column; height: 100%; overflow: hidden; } .studio-feed { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; } .feed-loading { display: flex; align-items: center; justify-content: center; padding: 60px 0; } .feed-item { display: flex; gap: 10px; padding: 8px 12px; border-radius: var(--radius); animation: fadeIn 0.15s ease-out; } .feed-item:hover { background: var(--bg-card); } .feed-item.user { background: var(--bg-card); border-left: 3px solid #FFD740; } .feed-item.assistant { border-left: 3px solid transparent; } .feed-item.assistant:hover { border-left-color: var(--accent-dark); } .feed-item.system { align-items: center; gap: 8px; padding: 6px 12px; } .feed-avatar { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; font-size: 14px; } .feed-avatar.user-rank { background: rgba(255, 215, 64, 0.15); } .feed-avatar.ai-rank { background: var(--accent-bg); } .feed-rank-icon { display: flex; align-items: center; justify-content: center; } .feed-body { flex: 1; min-width: 0; } .feed-header { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; } .feed-rank-badge { font-size: 9px; font-weight: 800; font-family: var(--font-mono); padding: 1px 6px; border-radius: 3px; border: 1px solid; letter-spacing: 0.5px; text-transform: uppercase; background: rgba(255, 215, 64, 0.08); } .feed-role { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; } .feed-time { font-size: 10px; color: var(--text-disabled); font-family: var(--font-mono); } .feed-content { font-size: 14px; line-height: 1.7; color: var(--text-primary); word-break: break-word; } .feed-system-badge { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-dim); flex-shrink: 0; } .feed-system-text { font-size: 12px; color: var(--text-tertiary); font-style: italic; flex: 1; } .feed-system-text.compressed { color: var(--accent); font-style: normal; } .feed-compressed-indicator { display: flex; align-items: center; gap: 8px; padding: 10px 12px; margin: 4px 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: all 0.2s ease; } .feed-compressed-indicator:hover { background: var(--bg-hover); border-color: var(--accent-dim); } .feed-compressed-indicator svg { color: var(--accent); flex-shrink: 0; } .feed-compressed-text { font-size: 12px; color: var(--text-tertiary); flex: 1; } .feed-compressed-count { font-size: 11px; color: var(--text-disabled); font-family: var(--font-mono); } .feed-thinking-block { background: var(--bg-surface); border: 1px solid var(--border); border-left: 2px solid var(--accent-dim); border-radius: var(--radius); margin: 6px 0 8px; overflow: hidden; transition: all 0.3s ease; max-height: 200px; overflow-y: auto; } .feed-thinking-block.active { border-left-color: var(--warning); } .feed-thinking-block.done { border-left-color: var(--text-disabled); opacity: 0.7; } .feed-thinking-block.done .feed-thinking-content { max-height: 80px; overflow-y: auto; } .feed-thinking-header { display: flex; align-items: center; gap: 6px; padding: 6px 10px; font-size: 10px; font-weight: 700; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.5px; background: var(--bg-card); border-bottom: 1px solid var(--border); } .feed-thinking-header svg { color: var(--warning); } .feed-thinking-dots { display: inline-flex; gap: 2px; margin-left: 4px; } .feed-thinking-dots span { width: 4px; height: 4px; border-radius: 50%; background: var(--warning); animation: bounce 1.2s ease-in-out infinite; } .feed-thinking-dots span:nth-child(2) { animation-delay: 0.15s; } .feed-thinking-dots span:nth-child(3) { animation-delay: 0.3s; } .feed-thinking-content { padding: 8px 10px; font-size: 12px; color: var(--text-tertiary); font-style: italic; line-height: 1.5; max-height: 120px; overflow-y: auto; } .studio-code-block { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 8px 0; } .studio-code-block pre { padding: 12px 16px; font-family: var(--font-mono); font-size: 13px; line-height: 1.5; overflow-x: auto; color: var(--text-primary); margin: 0; } .studio-code-lang { padding: 4px 12px; font-size: 11px; font-weight: 600; color: var(--text-tertiary); background: var(--bg-surface); border-bottom: 1px solid var(--border); text-transform: uppercase; letter-spacing: 0.5px; } .inline-code { background: var(--bg-input); padding: 2px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: 13px; color: var(--accent-muted); } .msg-h3 { font-size: 16px; font-weight: 700; color: var(--text-primary); margin: 16px 0 8px; display: block; } .msg-h4 { font-size: 14px; font-weight: 700; color: var(--text-secondary); margin: 12px 0 6px; display: block; } .msg-bullet { display: block; padding-left: 16px; position: relative; margin: 2px 0; } .msg-bullet::before { content: '\2022'; position: absolute; left: 4px; color: var(--accent); } .msg-step { display: flex; gap: 8px; align-items: baseline; margin: 3px 0; } .msg-step-num { color: var(--accent); font-weight: 700; font-family: var(--font-mono); font-size: 13px; flex-shrink: 0; min-width: 20px; } .studio-cursor { display: inline-block; width: 8px; height: 16px; background: var(--accent); margin-left: 2px; vertical-align: text-bottom; animation: blink 0.8s step-end infinite; } @keyframes blink { 50% { opacity: 0; } } .studio-thinking { display: flex; gap: 4px; padding: 8px 0; } .studio-thinking span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-dim); animation: bounce 1.2s ease-in-out infinite; } .studio-thinking span:nth-child(2) { animation-delay: 0.15s; } .studio-thinking span:nth-child(3) { animation-delay: 0.3s; } @keyframes bounce { 0%, 80%, 100% { transform: translateY(0); opacity: 0.4; } 40% { transform: translateY(-6px); opacity: 1; } } .studio-input-area { padding: 12px 20px 8px; border-top: 1px solid var(--border); background: var(--bg-surface); } .studio-token-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; } .studio-token-track { flex: 1; height: 3px; background: var(--bg-input); border-radius: 2px; overflow: hidden; } .studio-token-fill { height: 100%; background: var(--accent); border-radius: 2px; transition: width 0.4s, background 0.3s; } .studio-token-fill.warn { background: var(--warning); } .studio-token-fill.compressed { height: 2px; } .studio-token-text { font-size: 10px; font-family: var(--font-mono); color: var(--text-tertiary); white-space: nowrap; } .studio-token-text.compressed { font-size: 9px; } .studio-token-track.compressed { height: 2px; } .studio-token-bar.compressed { margin-bottom: 4px; } .studio-input-row { display: flex; gap: 8px; align-items: flex-end; } .studio-input-row textarea { flex: 1; resize: none; min-height: 42px; max-height: 200px; padding: 10px 14px; font-size: 14px; line-height: 1.5; border-radius: var(--radius); background: var(--bg-input); color: var(--text-primary); border: 1px solid var(--border); font-family: var(--font-sans); outline: none; transition: border-color 0.2s, box-shadow 0.2s; } .studio-input-row textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--border-accent); } .studio-input-row textarea::placeholder { color: var(--text-disabled); } .studio-send-btn { width: 42px; height: 42px; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--accent); color: #fff; border: 1px solid var(--accent); cursor: pointer; transition: all 0.15s; flex-shrink: 0; } .studio-send-btn:hover:not(:disabled) { background: var(--accent-bright); border-color: var(--accent-bright); } .studio-send-btn:disabled { opacity: 0.3; cursor: not-allowed; } .studio-stop-btn { width: 42px; height: 42px; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--error); color: #fff; border: 1px solid var(--error); cursor: pointer; transition: all 0.15s; flex-shrink: 0; } .studio-stop-btn:hover { opacity: 0.8; } .studio-input-hint { font-size: 11px; color: var(--text-disabled); text-align: center; margin-top: 6px; } /* ── Collapsed Messages ── */ .feed-collapsed-messages { display: flex; align-items: center; gap: 10px; padding: 8px 16px; margin: 4px 0; background: linear-gradient(135deg, var(--bg-surface), var(--bg-elevated)); border: 1px dashed var(--border-accent); border-radius: var(--radius); cursor: pointer; transition: all 0.2s ease; } .feed-collapsed-messages:hover { background: var(--bg-hover); border-color: var(--accent); } .feed-collapsed-messages svg { color: var(--accent); flex-shrink: 0; } .feed-collapsed-text { font-size: 11px; color: var(--text-tertiary); flex: 1; } .feed-collapsed-count { font-size: 10px; color: var(--text-disabled); font-family: var(--font-mono); } .feed-expanded-messages { animation: fadeIn 0.2s ease-out; } /* ── Studio Tool Blocks ── */ .studio-tool-block { background: var(--bg-surface); border: 1px solid var(--border); border-left: 3px solid var(--accent-dim); border-radius: var(--radius); margin: 6px 0; overflow: hidden; transition: all 0.3s ease; } .studio-tool-block.running { border-left-color: var(--warning); } .studio-tool-block.error { border-left-color: var(--error); background: rgba(255, 23, 68, 0.05); } .studio-tool-header { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: var(--bg-card); border-bottom: 1px solid var(--border); font-size: 12px; } .studio-tool-icon { font-size: 14px; flex-shrink: 0; } .studio-tool-name { color: var(--text-tertiary); font-weight: 600; font-family: var(--font-mono); font-size: 12px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .studio-tool-spinner { display: inline-flex; gap: 2px; margin-left: 4px; } .studio-tool-spinner span { width: 4px; height: 4px; border-radius: 50%; background: var(--warning); animation: bounce 1.2s ease-in-out infinite; } .studio-tool-spinner span:nth-child(2) { animation-delay: 0.15s; } .studio-tool-spinner span:nth-child(3) { animation-delay: 0.3s; } .studio-tool-status { font-weight: 700; font-size: 14px; flex-shrink: 0; } .studio-tool-status.ok { color: var(--success); } .studio-tool-status.error { color: var(--error); } .studio-tool-args { padding: 6px 10px; font-size: 12px; font-family: var(--font-mono); color: var(--text-tertiary); white-space: pre-wrap; word-break: break-all; overflow: hidden; text-overflow: ellipsis; border-bottom: 1px solid var(--border); background: var(--bg-elevated); } .studio-tool-result { max-height: 200px; overflow-y: auto; } .studio-tool-result pre { padding: 8px 10px; font-family: var(--font-mono); font-size: 12px; line-height: 1.5; color: var(--text-secondary); margin: 0; white-space: pre-wrap; word-break: break-word; background: var(--bg); }