Add command center screen

This commit is contained in:
2026-05-25 10:29:31 -04:00
parent 571edb9b5a
commit e539abcc5f
17 changed files with 1182 additions and 10 deletions

View File

@@ -970,6 +970,266 @@ a { color: inherit; text-decoration: none; }
.analysis-notice strong { color: var(--text); }
.analysis-notice code { font-family: var(--f-mono); font-size: 11px; color: var(--text-3); }
/* ── Command Center ── */
.cc-page {
max-width: 1120px;
margin: 0 auto;
padding: var(--s5) var(--s6);
min-height: calc(100vh - var(--nav-h));
}
.cc-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: var(--s5);
margin-bottom: var(--s5);
padding-bottom: var(--s5);
border-bottom: 1px solid var(--border);
}
.cc-title {
font-size: 16px;
font-weight: 700;
margin-bottom: 2px;
}
.cc-subtitle {
font-size: 12px;
font-family: var(--f-mono);
color: var(--text-3);
}
.cc-live-pill {
display: flex;
align-items: center;
gap: var(--s3);
font-size: 11px;
font-family: var(--f-mono);
color: var(--text-2);
white-space: nowrap;
}
.cc-live-dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--text-3);
flex-shrink: 0;
}
.cc-live-dot.live {
background: var(--red);
box-shadow: 0 0 6px rgba(225, 6, 0, 0.6);
}
.badge-live {
background: rgba(225, 6, 0, 0.15);
color: var(--red);
border: 1px solid rgba(225, 6, 0, 0.35);
}
.cc-summary {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 1px;
border: 1px solid var(--border);
margin-bottom: var(--s5);
}
.cc-stat {
padding: var(--s4);
background: var(--surface);
display: flex;
flex-direction: column;
gap: 2px;
}
.cc-stat-label {
font-size: 9px;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--text-3);
}
.cc-stat-val {
font-family: var(--f-mono);
font-size: 18px;
font-weight: 700;
color: var(--text-2);
}
.cc-stat-full { color: var(--green); }
.cc-stat-partial { color: var(--yellow); }
.cc-grid {
display: grid;
grid-template-columns: 1fr;
gap: var(--s5);
align-items: start;
}
.cc-panel {
background: var(--surface);
border: 1px solid var(--border);
padding: var(--s5);
}
.cc-side {
display: flex;
flex-direction: column;
gap: var(--s5);
}
.cc-focus-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: var(--s4);
margin-bottom: var(--s4);
}
.cc-focus-name {
font-size: 15px;
font-weight: 700;
margin-bottom: 2px;
}
.cc-focus-meta {
font-size: 11px;
color: var(--text-3);
}
.cc-circuit {
font-size: 11px;
color: var(--text-2);
padding: 2px 8px;
border: 1px solid var(--border);
border-radius: 2px;
}
.cc-focus-status {
margin-bottom: var(--s5);
display: flex;
flex-direction: column;
gap: var(--s3);
}
.cc-status-row {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: var(--s3);
font-size: 12px;
color: var(--text-2);
}
.cc-status-row.muted { color: var(--text-3); }
.cc-status-label {
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--text-3);
}
.cc-status-value { font-weight: 600; color: var(--text); }
.cc-countdown {
font-size: 13px;
font-weight: 700;
color: var(--red);
}
.cc-schedule-table { margin-top: var(--s3); }
.cc-schedule-table .badge { margin-left: var(--s3); }
.cc-session-type {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 28px;
padding: 1px 4px;
margin-right: var(--s3);
font-family: var(--f-mono);
font-size: 10px;
font-weight: 700;
color: var(--text-3);
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: 2px;
}
.cc-row-live td { background: rgba(225, 6, 0, 0.06); }
.cc-row-next td { background: rgba(255, 214, 0, 0.04); }
.cc-actions {
display: flex;
flex-direction: column;
gap: 1px;
border: 1px solid var(--border);
}
.cc-action {
display: flex;
flex-direction: column;
gap: 2px;
padding: var(--s4);
background: var(--surface-h);
transition: background 0.1s;
}
.cc-action:hover { background: var(--surface-2); }
.cc-action-label {
font-size: 13px;
font-weight: 600;
color: var(--text);
}
.cc-action-meta {
font-size: 11px;
font-family: var(--f-mono);
color: var(--text-3);
}
.cc-session-list {
display: flex;
flex-direction: column;
gap: 1px;
border: 1px solid var(--border);
}
.cc-session-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--s4);
padding: var(--s3) var(--s4);
background: var(--surface-h);
transition: background 0.1s;
}
.cc-session-row:hover { background: var(--surface-2); }
.cc-session-row-title {
font-size: 12px;
font-weight: 600;
}
.cc-session-row-meta {
font-size: 10px;
color: var(--text-3);
margin-top: 1px;
}
.cc-side-empty,
.cc-cli-section {
font-size: 12px;
color: var(--text-3);
}
.mono { font-family: var(--f-mono); }
@media (min-width: 1101px) {
.cc-grid { grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); }
}
/* ── Mobile ── */
@media (max-width: 640px) {
.page { padding: var(--s3); }
@@ -1017,4 +1277,8 @@ a { color: inherit; text-decoration: none; }
.dl-detail-wrap { border-top: 1px solid var(--border); }
.dl-content-header { padding: var(--s3) var(--s4); }
.dl-content-meta { font-size: 11px; }
.cc-page { padding: var(--s4); }
.cc-header { flex-direction: column; align-items: flex-start; }
.cc-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}