* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: 'SF Mono', 'Menlo', 'Monaco', 'Consolas', monospace;
background: #1a1b26;
color: #a9b1d6;
height: 100vh;
display: flex;
flex-direction: column;
}
header {
display: flex;
align-items: center;
padding: 8px 16px;
background: #16161e;
border-bottom: 1px solid #292e42;
}
header h1 {
font-size: 16px;
color: #7aa2f7;
margin-right: 16px;
}
#connection-tabs {
display: flex;
gap: 4px;
margin-right: auto;
}
.conn-tab {
font-size: 12px;
padding: 2px 10px;
border-radius: 4px;
cursor: pointer;
color: #565f89;
border: 1px solid transparent;
}
.conn-tab:hover {
color: #a9b1d6;
border-color: #3b4261;
}
.conn-tab.active {
color: #e0af68;
border-color: #e0af68;
font-weight: bold;
}
.status {
font-size: 12px;
padding: 2px 8px;
border-radius: 4px;
}
.status.connected { background: #1a3a2a; color: #9ece6a; }
.status.disconnected { background: #3a1a1a; color: #f7768e; }
#app {
display: flex;
flex: 1;
overflow: hidden;
}
#sidebar {
width: 220px;
background: #16161e;
border-right: 1px solid #292e42;
padding: 8px;
overflow-y: auto;
flex-shrink: 0;
}
.section { margin-bottom: 16px; }
.section h3 {
font-size: 11px;
text-transform: uppercase;
color: #565f89;
margin-bottom: 4px;
padding: 4px;
}
.section ul { list-style: none; }
.section li {
padding: 4px 8px;
cursor: pointer;
border-radius: 4px;
font-size: 13px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.section li:hover { background: #292e42; }
.section li.active { background: #292e42; color: #7aa2f7; }
.section li .badge {
display: inline-block;
font-size: 10px;
padding: 1px 4px;
border-radius: 2px;
margin-left: 4px;
}
.badge.needs { background: #3a2a1a; color: #e0af68; }
.badge.idle { background: #1a3a2a; color: #9ece6a; }
.actions {
display: flex;
gap: 8px;
padding: 8px 0;
}
button {
background: #292e42;
color: #a9b1d6;
border: 1px solid #3b4261;
padding: 4px 12px;
border-radius: 4px;
cursor: pointer;
font-family: inherit;
font-size: 12px;
}
button:hover { background: #3b4261; }
#main-content {
flex: 1;
padding: 16px;
overflow-y: auto;
}
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 16px;
}
th {
text-align: left;
font-size: 11px;
text-transform: uppercase;
color: #565f89;
padding: 8px;
border-bottom: 1px solid #292e42;
}
td {
padding: 8px;
border-bottom: 1px solid #1e2030;
font-size: 13px;
}
h2 {
font-size: 14px;
color: #7aa2f7;
margin-bottom: 8px;
}
#terminal-container, #conversation-container {
height: 100%;
display: flex;
flex-direction: column;
}
#terminal-header, #conversation-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px;
background: #16161e;
border-bottom: 1px solid #292e42;
margin-bottom: 8px;
}
#terminal {
flex: 1;
background: #000;
border-radius: 4px;
overflow: hidden;
}
#conversation-lines {
flex: 1;
overflow-y: auto;
padding: 8px;
font-size: 13px;
line-height: 1.6;
}
#conversation-lines .line { padding: 4px 0; border-bottom: 1px solid #1e2030; }
#conversation-lines .line.user { color: #7aa2f7; }
#conversation-lines .line.user .user-prefix { font-weight: bold; }
#conversation-lines .line.assistant { color: #a9b1d6; }
#conversation-lines .line.tool { color: #565f89; font-style: italic; }
#conversation-lines .line.raw-only { display: none; }
body.show-raw #conversation-lines .line.raw-only { display: block; }
#conversation-lines .line p { margin: 4px 0; }
#conversation-lines .line pre {
background: #16161e;
border: 1px solid #292e42;
border-radius: 4px;
padding: 8px;
overflow-x: auto;
margin: 6px 0;
}
#conversation-lines .line code {
background: #16161e;
padding: 1px 4px;
border-radius: 2px;
font-size: 12px;
}
#conversation-lines .line pre code {
background: none;
padding: 0;
}
#conversation-lines .line h1,
#conversation-lines .line h2,
#conversation-lines .line h3 {
font-size: 13px;
font-weight: bold;
color: #7aa2f7;
margin: 8px 0 4px;
}
#conversation-lines .line ul,
#conversation-lines .line ol {
padding-left: 20px;
margin: 4px 0;
}
#conversation-lines .line blockquote {
border-left: 3px solid #3b4261;
padding-left: 8px;
color: #565f89;
margin: 4px 0;
}
#conversation-lines .line a { color: #7aa2f7; }
#conversation-lines .line strong { color: #c0caf5; }
#conversation-lines .line table {
border-collapse: collapse;
margin: 6px 0;
}
#conversation-lines .line th,
#conversation-lines .line td {
border: 1px solid #292e42;
padding: 4px 8px;
font-size: 12px;
}
#prompt-bar {
display: flex;
gap: 8px;
padding: 8px;
background: #16161e;
border-top: 1px solid #292e42;
}
#prompt-input {
flex: 1;
background: #1a1b26;
color: #a9b1d6;
border: 1px solid #3b4261;
padding: 8px;
border-radius: 4px;
font-family: inherit;
font-size: 13px;
resize: none;
overflow-y: auto;
min-height: 36px;
max-height: 150px;
line-height: 1.4;
}
#prompt-input:focus { outline: none; border-color: #7aa2f7; }
.action-btn {
background: none;
border: none;
color: #565f89;
cursor: pointer;
padding: 2px 6px;
font-size: 12px;
}
.action-btn:hover { color: #7aa2f7; }
.action-btn.danger:hover { color: #f7768e; }
.modal-overlay {
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0, 0, 0, 0.6);
display: flex;
align-items: center;
justify-content: center;
z-index: 100;
}
.modal-content {
background: #1a1b26;
border: 1px solid #3b4261;
border-radius: 8px;
padding: 16px;
width: 420px;
max-height: 80vh;
overflow-y: auto;
}
.modal-content h3 {
font-size: 14px;
color: #7aa2f7;
margin-bottom: 12px;
}
.modal-path {
font-size: 13px;
padding: 4px 0 8px;
display: flex;
align-items: center;
gap: 8px;
}
.modal-path button {
padding: 2px 8px;
font-size: 14px;
}
.modal-filter {
width: 100%;
background: #1a1b26;
color: #a9b1d6;
border: 1px solid #3b4261;
padding: 6px 8px;
border-radius: 4px;
font-family: inherit;
font-size: 13px;
margin-bottom: 8px;
}
.modal-filter:focus { outline: none; border-color: #9ece6a; }
.modal-dir-list {
list-style: none;
max-height: 200px;
overflow-y: auto;
border: 1px solid #292e42;
border-radius: 4px;
margin-bottom: 12px;
}
.modal-dir-list li {
padding: 4px 8px;
font-size: 13px;
cursor: pointer;
border-bottom: 1px solid #1e2030;
}
.modal-dir-list li:last-child { border-bottom: none; }
.modal-dir-list li:hover { background: #292e42; }
.modal-dir-list li.loading,
.modal-dir-list li.empty {
color: #565f89;
cursor: default;
}
.modal-dir-list li.loading:hover,
.modal-dir-list li.empty:hover { background: none; }
.modal-field {
margin-bottom: 8px;
display: flex;
align-items: center;
gap: 8px;
font-size: 13px;
}
.modal-field input {
flex: 1;
background: #16161e;
color: #a9b1d6;
border: 1px solid #3b4261;
padding: 6px 8px;
border-radius: 4px;
font-family: inherit;
font-size: 13px;
}
.modal-field input:focus { outline: none; border-color: #7aa2f7; }
.modal-git {
font-size: 12px;
color: #565f89;
padding: 4px 0 8px;
}
.modal-actions {
display: flex;
gap: 8px;
justify-content: flex-end;
padding-top: 8px;
}
.section li.nested-ws {
padding-left: 20px;
font-size: 12px;
color: #7dcfff;
}
.section li.nested-agent {
padding-left: 32px;
font-size: 11px;
color: #a9b1d6;
}
#repo-detail-container, #workstream-detail-container {
height: 100%;
display: flex;
flex-direction: column;
}
#repo-detail-header, #workstream-detail-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px;
background: #16161e;
border-bottom: 1px solid #292e42;
margin-bottom: 8px;
}
#repo-detail-header span, #workstream-detail-header span {
font-size: 14px;
color: #7aa2f7;
font-weight: bold;
}
#repo-detail-body, #workstream-detail-body {
flex: 1;
overflow-y: auto;
padding: 8px 16px;
}
.detail-section {
margin-bottom: 20px;
}
.detail-section h3 {
font-size: 12px;
text-transform: uppercase;
color: #565f89;
margin-bottom: 8px;
}
.detail-section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
}
.detail-section-header h3 {
margin-bottom: 0;
}
.detail-dl {
display: grid;
grid-template-columns: auto 1fr;
gap: 4px 12px;
font-size: 13px;
margin-bottom: 8px;
}
.detail-dl dt {
color: #565f89;
}
.detail-dl dd {
color: #a9b1d6;
}
.detail-list {
list-style: none;
}
.detail-list li {
padding: 6px 8px;
border-radius: 4px;
font-size: 13px;
cursor: pointer;
border-bottom: 1px solid #1e2030;
}
.detail-list li:hover {
background: #292e42;
}
.detail-list li:last-child {
border-bottom: none;
}
.detail-empty {
color: #565f89;
font-size: 13px;
font-style: italic;
}
.detail-actions {
display: flex;
gap: 8px;
}
.detail-actions button {
background: #1a3a2a;
color: #9ece6a;
border: 1px solid #2a4a3a;
}
.detail-actions button:hover {
background: #2a4a3a;
}
.detail-actions button.danger {
background: #3a1a1a;
color: #f7768e;
border: 1px solid #4a2a2a;
}
.detail-actions button.danger:hover {
background: #4a2a2a;
}
.modal-field select {
flex: 1;
background: #16161e;
color: #a9b1d6;
border: 1px solid #3b4261;
padding: 6px 8px;
border-radius: 4px;
font-family: inherit;
font-size: 13px;
}
.modal-field select:focus { outline: none; border-color: #7aa2f7; }
.actions {
flex-wrap: wrap;
}
@media (max-width: 768px) {
#app {
flex-direction: column;
}
#sidebar {
width: 100%;
border-right: none;
border-bottom: 1px solid #292e42;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 4px;
padding: 8px;
overflow-y: visible;
overflow-x: auto;
flex-shrink: 0;
}
#sidebar .section {
margin-bottom: 0;
display: flex;
align-items: center;
gap: 4px;
}
#sidebar .section h3 {
margin-bottom: 0;
padding: 2px 4px;
font-size: 10px;
}
#sidebar .section ul {
display: flex;
gap: 4px;
}
#sidebar .section li {
padding: 6px 10px;
min-height: 44px;
display: flex;
align-items: center;
font-size: 12px;
}
#sidebar .actions {
padding: 4px 0;
gap: 4px;
}
#sidebar .actions button {
min-height: 44px;
min-width: 44px;
padding: 6px 12px;
}
#main-content {
padding: 8px;
flex: 1;
overflow-y: auto;
}
table, thead, tbody, th, td, tr {
display: block;
}
thead {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
}
tr {
background: #16161e;
border: 1px solid #292e42;
border-radius: 6px;
margin-bottom: 8px;
padding: 8px;
}
td {
border-bottom: none;
padding: 4px 8px;
font-size: 13px;
display: flex;
justify-content: space-between;
align-items: center;
}
td::before {
content: attr(data-label);
font-size: 11px;
text-transform: uppercase;
color: #565f89;
margin-right: 8px;
flex-shrink: 0;
}
button {
min-height: 44px;
min-width: 44px;
padding: 8px 16px;
font-size: 14px;
}
.action-btn {
min-height: 44px;
min-width: 44px;
padding: 8px 12px;
font-size: 14px;
}
#terminal-container, #conversation-container {
height: 100%;
}
#terminal {
flex: 1;
min-height: 0;
}
#terminal-header, #conversation-header {
padding: 8px;
flex-shrink: 0;
}
#terminal-header button, #conversation-header button {
min-height: 44px;
min-width: 44px;
}
#prompt-bar {
padding: 8px;
flex-shrink: 0;
}
#prompt-input {
min-height: 44px;
font-size: 16px;
}
#prompt-bar button {
min-height: 44px;
min-width: 44px;
}
#conversation-lines {
flex: 1;
min-height: 0;
padding: 8px;
font-size: 14px;
}
.modal-content {
width: calc(100% - 32px);
max-width: 100%;
margin: 16px;
}
.modal-content button {
min-height: 44px;
}
.modal-path button {
min-height: 44px;
min-width: 44px;
}
.modal-dir-list li {
min-height: 44px;
display: flex;
align-items: center;
padding: 8px;
}
.modal-filter {
min-height: 44px;
font-size: 16px;
}
.modal-field input {
min-height: 44px;
font-size: 16px;
}
}