Ship War Room UX, CEO inbox, mobile chat, and Agents NAS workspace.

Make A2A togglable, keep reply context while reading, route agent data to //10.4.7.11/share/Agents, and polish themes plus export-intel sync cancel.
This commit is contained in:
Aissa
2026-08-16 22:40:32 +00:00
parent 910ba465d7
commit c5ea8cbb63
26 changed files with 2891 additions and 407 deletions
+285 -8
View File
@@ -279,12 +279,23 @@
background: rgba(255,255,255,0.06);
}
/* Call overlay must escape wr-main overflow clipping */
.wr-main { position: relative; }
.wr-main { position: relative; z-index: 1; }
.wr-composer {
position: relative;
z-index: 6;
pointer-events: auto !important;
}
.wr-composer textarea,
.wr-composer .form-input {
pointer-events: auto !important;
position: relative;
z-index: 7;
}
.wr-log { position: relative; z-index: 1; }
.wr-call-overlay {
position: fixed !important;
inset: 0 !important;
z-index: 11000 !important;
display: none !important;
pointer-events: none !important;
visibility: hidden !important;
}
.btn.is-recording, button.is-recording {
@@ -300,14 +311,16 @@
.wr-voice-overlay {
position: fixed !important; inset: 0 !important; z-index: 11000 !important;
background: rgba(3, 8, 18, 0.88);
display: none; /* CRITICAL: never cover chat when closed */
display: none !important;
align-items: center; justify-content: center;
padding: 1rem;
pointer-events: none;
pointer-events: none !important;
visibility: hidden !important;
}
.wr-voice-overlay.is-open {
display: flex !important;
pointer-events: auto;
pointer-events: auto !important;
visibility: visible !important;
}
.wr-voice-panel {
width: min(920px, 96vw);
@@ -385,3 +398,267 @@
border-top: 1px solid rgba(255,255,255,0.08);
font-size: 0.78rem;
}
/* War Room roster / message avatars — brighter */
.wr-roster .agent-char-wrap,
.wr-avatar .agent-char-wrap {
background: linear-gradient(145deg, #245a82, #1a4568) !important;
border: 1px solid rgba(56, 189, 248, 0.4) !important;
border-radius: 10px;
overflow: hidden;
}
.wr-roster .agent-char-wrap .agent-char-svg,
.wr-avatar .agent-char-wrap .agent-char-svg {
filter: brightness(1.22) contrast(1.1) saturate(1.2);
}
.wr-chan-icon {
display: inline-flex;
width: 16px;
height: 16px;
color: #38bdf8;
margin-right: 0.35rem;
vertical-align: -2px;
}
.wr-chan-icon svg { width: 16px; height: 16px; display: block; }
/* Agents vertical tabs — SVG icons */
.vtabs-nav .vtab-icon-svg {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
border-radius: 8px;
color: #7dd3fc;
background: color-mix(in srgb, #22d3ee 14%, rgba(15,23,42,.6));
border: 1px solid color-mix(in srgb, #22d3ee 35%, transparent);
font-size: 0;
}
.vtabs-nav .vtab-icon-svg svg { width: 15px; height: 15px; display: block; }
.vtabs-nav .vtab-btn.active .vtab-icon-svg {
color: #fff;
background: color-mix(in srgb, #22d3ee 45%, #0b1220);
border-color: #22d3ee;
box-shadow: 0 0 12px rgba(34, 211, 238, 0.35);
}
/* War Room richer toolbar / search / dates */
.wr-head-title { min-width: 0; }
.wr-msg-count { display: block; margin-top: 0.15rem; font-size: 0.7rem; opacity: 0.65; }
.wr-tool-btn.active {
border-color: rgba(34, 211, 238, 0.55) !important;
background: rgba(34, 211, 238, 0.15) !important;
}
.wr-tools-wrap { position: relative; }
.wr-tools-menu {
position: absolute; right: 0; top: calc(100% + 4px); z-index: 40;
min-width: 200px;
background: #0f2438;
border: 1px solid rgba(56, 189, 248, 0.3);
border-radius: 10px;
padding: 0.35rem;
box-shadow: 0 12px 32px rgba(0,0,0,0.45);
display: flex; flex-direction: column; gap: 0.15rem;
}
.wr-tools-menu button {
text-align: left; background: transparent; border: 0; color: #e2e8f0;
padding: 0.45rem 0.55rem; border-radius: 7px; cursor: pointer; font-size: 0.8rem;
}
.wr-tools-menu button:hover { background: rgba(56, 189, 248, 0.12); }
.wr-tools-menu button.wr-danger { color: #fda4af; }
.wr-tools-menu button.wr-danger:hover { background: rgba(244, 63, 94, 0.15); }
.wr-tools-menu hr {
border: 0; border-top: 1px solid rgba(148,163,184,0.2); margin: 0.25rem 0;
}
.wr-searchbar {
display: flex; gap: 0.4rem; align-items: center;
margin-bottom: 0.4rem; flex: 0 0 auto;
}
.wr-searchbar .form-input { flex: 1; min-width: 0; font-size: 0.85rem; padding: 0.4rem 0.65rem; }
.wr-day-sep {
display: flex; align-items: center; justify-content: center;
margin: 0.75rem 0 0.55rem;
}
.wr-day-sep span {
font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em;
text-transform: uppercase;
color: #7dd3fc;
background: rgba(14, 165, 233, 0.12);
border: 1px solid rgba(56, 189, 248, 0.25);
padding: 0.2rem 0.7rem;
border-radius: 999px;
}
.wr-bubble-meta {
display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap;
}
.wr-who { font-weight: 600; color: #e2e8f0; opacity: 1; }
.wr-handle { opacity: 0.55; font-size: 0.65rem; }
.wr-time {
margin-left: auto;
font-variant-numeric: tabular-nums;
opacity: 0.55;
font-size: 0.65rem;
}
.wr-bubble.is-user .wr-time { margin-left: 0; margin-right: auto; order: -1; }
.wr-a2a-btn {
font-weight: 700;
letter-spacing: 0.03em;
cursor: pointer;
}
.wr-a2a-btn.is-on {
background: rgba(34, 197, 94, 0.18) !important;
border: 1px solid rgba(34, 197, 94, 0.45) !important;
color: #86efac !important;
}
.wr-a2a-btn.is-off {
background: rgba(148, 163, 184, 0.12) !important;
border: 1px solid rgba(148, 163, 184, 0.35) !important;
color: #94a3b8 !important;
}
.wr-mobile-bar { display: none; }
/* CEO inbox */
.wr-ceo-btn { position: relative; }
.wr-ceo-badge {
display: inline-grid; place-items: center;
min-width: 1.1rem; height: 1.1rem; padding: 0 0.25rem;
margin-left: 0.25rem; border-radius: 999px;
background: #f43f5e; color: #fff; font-size: 0.65rem; font-weight: 700;
}
.wr-ceo-overlay {
position: absolute; inset: 0; z-index: 80;
background: rgba(2, 8, 20, 0.72);
display: flex; align-items: stretch; justify-content: flex-end;
border-radius: 10px;
}
.wr-main { position: relative; }
.wr-ceo-panel {
width: min(420px, 100%);
background: linear-gradient(180deg, #0f2744, #0a1c33);
border-left: 1px solid rgba(56, 189, 248, 0.35);
box-shadow: -12px 0 40px rgba(0,0,0,0.45);
display: flex; flex-direction: column;
padding: 0.75rem;
}
.wr-ceo-head { display: flex; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.65rem; }
.wr-ceo-head h3 { margin: 0; font-size: 0.95rem; }
.wr-ceo-head-actions { display: flex; gap: 0.3rem; flex-wrap: wrap; align-items: flex-start; }
.wr-ceo-list { flex: 1; overflow: auto; min-height: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.wr-ceo-item {
border: 1px solid rgba(148,163,184,0.18);
background: rgba(15, 23, 42, 0.55);
border-radius: 10px;
padding: 0.55rem 0.65rem;
}
.wr-ceo-item.unread {
border-color: rgba(251, 191, 36, 0.55);
box-shadow: inset 3px 0 0 #fbbf24;
background: rgba(251, 191, 36, 0.08);
}
.wr-ceo-item-meta {
display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center;
font-size: 0.72rem; opacity: 0.85; margin-bottom: 0.35rem;
}
.wr-ceo-unread-dot {
background: #fbbf24; color: #111; font-weight: 700;
padding: 0.05rem 0.4rem; border-radius: 999px; font-size: 0.65rem;
}
.wr-ceo-item-body {
white-space: pre-wrap; word-break: break-word;
font-size: 0.86rem; line-height: 1.35;
}
.wr-ceo-item-actions { margin-top: 0.4rem; }
.wr-bubble.is-ceo-direct .wr-bubble-body {
border-color: rgba(251, 191, 36, 0.55) !important;
box-shadow: inset 3px 0 0 #fbbf24;
background: rgba(251, 191, 36, 0.08) !important;
}
/* Reply */
.wr-msg-reply {
margin-left: auto;
border: 0;
background: transparent;
color: inherit;
opacity: 0;
cursor: pointer;
font-size: 0.68rem;
padding: 0 0.2rem;
}
.wr-bubble:hover .wr-msg-reply { opacity: 0.7; }
.wr-msg-reply:hover { opacity: 1 !important; color: var(--accent, #3b82f6); }
.wr-reply-quote {
border-left: 3px solid color-mix(in srgb, var(--accent, #3b82f6) 70%, transparent);
padding: 0.2rem 0.45rem;
margin: 0.15rem 0 0.35rem;
font-size: 0.72rem;
opacity: 0.85;
background: color-mix(in srgb, var(--surface-2, #111) 60%, transparent);
border-radius: 0 6px 6px 0;
}
.wr-reply-quote-who { display: block; font-weight: 600; margin-bottom: 0.1rem; }
.wr-reply-quote-text { display: block; opacity: 0.85; white-space: pre-wrap; }
.wr-reply-bar {
grid-column: 1 / -1;
display: flex;
align-items: flex-start;
gap: 0.5rem;
padding: 0.4rem 0.55rem;
margin-bottom: 0.25rem;
border-radius: 8px;
border-left: 3px solid var(--accent, #3b82f6);
background: color-mix(in srgb, var(--accent, #3b82f6) 12%, transparent);
font-size: 0.78rem;
}
.wr-reply-bar-text { flex: 1; min-width: 0; }
.wr-reply-bar-text strong { display: block; margin-bottom: 0.1rem; }
.wr-reply-bar-text span {
display: block;
opacity: 0.8;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.wr-bubble.is-reply-target .wr-bubble-body {
outline: 2px solid color-mix(in srgb, var(--accent, #38bdf8) 70%, transparent);
box-shadow: 0 0 0 3px color-mix(in srgb, #38bdf8 18%, transparent);
}
.wr-msg-wrap { scroll-margin: 4rem; }
.wr-log-wrap {
position: relative;
flex: 1 1 auto;
min-height: 0;
display: flex;
flex-direction: column;
}
.wr-log-wrap .wr-log {
flex: 1 1 auto;
min-height: 0;
}
.wr-jump-latest {
position: absolute;
right: 0.75rem;
bottom: 0.75rem;
z-index: 25;
border: 1px solid rgba(56, 189, 248, 0.45);
background: rgba(8, 20, 36, 0.94);
color: #e0f2fe;
border-radius: 999px;
padding: 0.45rem 0.85rem;
font-size: 0.8rem;
font-weight: 600;
cursor: pointer;
box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.wr-jump-latest:hover {
background: rgba(14, 40, 64, 0.98);
border-color: rgba(56, 189, 248, 0.7);
}