feat(studio): drop 3D Poster Lab and ship Multi-Tenant Multi-Expert Brain OS, Live Playground & n8n Playbooks

This commit is contained in:
Amirul Islam Redwan71
2026-11-26 13:42:25 +06:00
parent 7c5bcd9ac7
commit 6a46c419f2
8 changed files with 1274 additions and 8031 deletions
+170
View File
@@ -1782,3 +1782,173 @@ body {
/* ── Multi-Expert AI Brain OS Styles (v11) ───────────────────────────────── */
.mx-telemetry-strip {
display: flex;
flex-wrap: wrap;
gap: 8px;
padding: 10px 20px;
background: rgba(14, 20, 31, 0.85);
border-bottom: 1px solid var(--card-border);
justify-content: center;
}
.mx-stat-pill {
font-size: 12px;
padding: 6px 12px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.09);
color: var(--text-secondary);
display: inline-flex;
gap: 6px;
align-items: center;
}
.mx-stat-pill strong { color: #f8fafc; font-weight: 700; }
.mx-stat-live strong { color: #34d399; }
.mx-main { max-width: 1120px; width: 100%; margin: 0 auto; padding: 18px 16px 32px; }
.mx-experts-grid, .mx-playbooks-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
gap: 14px;
margin-top: 14px;
}
.mx-expert-card, .mx-playbook-card {
background: rgba(12, 18, 30, 0.82);
border: 1px solid rgba(139, 92, 246, 0.22);
border-radius: 16px;
padding: 16px;
display: flex;
flex-direction: column;
gap: 10px;
transition: border-color 0.2s, transform 0.2s;
}
.mx-expert-card.is-paused, .mx-playbook-card.is-paused {
opacity: 0.65;
border-color: rgba(148, 163, 184, 0.18);
}
.mx-expert-card:hover, .mx-playbook-card:hover {
border-color: rgba(139, 92, 246, 0.55);
}
.mx-expert-top {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 10px;
}
.mx-expert-title-row { display: flex; gap: 10px; align-items: flex-start; }
.mx-role-icon {
font-size: 22px;
width: 38px;
height: 38px;
border-radius: 10px;
background: rgba(139, 92, 246, 0.16);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.mx-expert-card h3, .mx-playbook-card h3 { font-size: 14.5px; font-weight: 700; color: #f8fafc; margin-bottom: 4px; }
.mx-expert-desc { font-size: 12.5px; color: var(--text-secondary); line-height: 1.5; }
.mx-meta-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.mx-badge {
font-size: 10px;
font-weight: 700;
padding: 2px 8px;
border-radius: 999px;
text-transform: uppercase;
background: rgba(139, 92, 246, 0.2);
color: #c4b5fd;
}
.mx-badge.role-sales { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }
.mx-badge.role-logistics { background: rgba(59, 130, 246, 0.2); color: #93c5fd; }
.mx-badge.role-risk { background: rgba(244, 63, 94, 0.2); color: #fda4af; }
.mx-badge.role-booking { background: rgba(245, 158, 11, 0.2); color: #fde68a; }
.mx-badge.subtle { background: rgba(255, 255, 255, 0.06); color: #94a3b8; }
.mx-chips-section { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.mx-mini-label { font-size: 11px; color: var(--text-muted); font-weight: 700; margin-right: 2px; }
.mx-chip {
font-size: 11px;
padding: 3px 8px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.06);
color: #cbd5e1;
}
.mx-chip.intent { background: rgba(6, 182, 212, 0.16); color: #67e8f9; }
.mx-chip.tool { background: rgba(245, 158, 11, 0.15); color: #fcd34d; font-family: monospace; font-size: 10.5px; }
.mx-chip.expert { background: rgba(139, 92, 246, 0.22); color: #ddd6fe; font-weight: 600; }
.mx-chip.ok { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; font-weight: 700; }
.mx-chip.warn { background: rgba(244, 63, 94, 0.2); color: #fda4af; font-weight: 700; }
.mx-card-actions { display: flex; gap: 8px; align-items: center; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.mx-pb-result { font-size: 12px; color: #34d399; font-weight: 600; }
/* Toggle Switch */
.mx-switch { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; }
.mx-switch input { opacity: 0; width: 0; height: 0; }
.mx-slider {
position: absolute; cursor: pointer; inset: 0;
background: #334155; border-radius: 999px; transition: 0.2s;
}
.mx-slider:before {
position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px;
background: #fff; border-radius: 50%; transition: 0.2s;
}
.mx-switch input:checked + .mx-slider { background: #10b981; }
.mx-switch input:checked + .mx-slider:before { transform: translateX(18px); }
/* Playground Trace */
.mx-scenario-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mx-trace-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.mx-trace-box {
background: rgba(255, 255, 255, 0.03);
border: 1px solid var(--card-border);
border-radius: 12px;
padding: 12px;
}
.mx-trace-box label { display: block; font-size: 11px; font-weight: 700; color: var(--text-secondary); margin-bottom: 8px; }
.mx-chip-list { display: flex; flex-wrap: wrap; gap: 6px; }
.mx-tools-log pre, .mx-ugc-output {
background: rgba(5, 8, 14, 0.85);
border: 1px solid rgba(255, 255, 255, 0.09);
border-radius: 12px;
padding: 14px;
font-size: 12px;
color: #e2e8f0;
white-space: pre-wrap;
word-break: break-word;
max-height: 460px;
overflow: auto;
user-select: text;
}
.mx-tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin-top: 6px; }
.mx-tool-opt {
display: flex; align-items: center; gap: 8px; font-size: 11.5px;
background: rgba(255, 255, 255, 0.04); padding: 7px 10px; border-radius: 8px; cursor: pointer;
}
.mx-tool-opt input { width: auto; }
.mx-alert {
background: rgba(244, 63, 94, 0.14); border: 1px solid rgba(244, 63, 94, 0.35);
color: #fecdd3; padding: 10px 14px; border-radius: 10px; font-size: 12.5px; margin-top: 10px;
}
.mx-loading { padding: 28px; text-align: center; color: var(--text-secondary); font-size: 13px; }
.mx-picker-list { display: flex; flex-direction: column; gap: 8px; max-height: 380px; overflow: auto; }
.mx-picker-item {
display: flex; align-items: center; gap: 10px; padding: 8px 10px;
background: rgba(255, 255, 255, 0.04); border: 1px solid var(--card-border);
border-radius: 10px; color: #f8fafc; cursor: pointer; width: 100%;
}
.mx-picker-item:hover { border-color: var(--purple-primary); }
.mx-picker-item img, .mx-picker-ph {
width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.06);
}
.mx-stores-list { display: flex; flex-direction: column; gap: 8px; }
.mx-store-row {
display: flex; justify-content: space-between; align-items: center;
padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.03);
border: 1px solid var(--card-border);
}