refactor: simplify presentation audience surface

This commit is contained in:
lda
2026-07-05 18:31:34 +07:00 Verified
parent 20f99a5034
commit 8a18732007
15 changed files with 118 additions and 956 deletions
@@ -574,131 +574,6 @@
white-space: pre-wrap;
}
/* Chat remains an app surface while the workflow stage stays cinematic. */
.presentation-stage[data-chat-theme="light"] .presentation-stage__chat {
border-right: 1px solid oklch(0.82 0.015 80);
background: oklch(0.975 0.004 80);
}
.presentation-stage[data-chat-theme="light"] .operator-chat {
gap: 1.05rem;
padding: 1rem 0.85rem;
background: transparent;
}
.presentation-stage[data-chat-theme="light"] .chat-message {
border: 0;
border-radius: 0;
padding: 0;
background: transparent;
box-shadow: none;
color: oklch(0.22 0.015 80);
font-size: 0.78rem;
line-height: 1.45;
}
.presentation-stage[data-chat-theme="light"] .chat-message > strong {
display: block;
margin-bottom: 0.35rem;
color: oklch(0.42 0.025 80);
font: 650 0.6rem/1 var(--font-mono, monospace);
letter-spacing: 0.09em;
text-transform: uppercase;
}
.presentation-stage[data-chat-theme="light"] .chat-message--operator {
margin-left: 1rem;
border-radius: 0.85rem;
padding: 0.65rem 0.75rem;
background: oklch(0.925 0.012 80);
}
.presentation-stage[data-chat-theme="light"] .chat-message p {
margin: 0.2rem 0;
}
.presentation-stage[data-chat-theme="light"] .chat-tool-part {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 0.3rem;
margin-top: 0.5rem;
border: 1px solid oklch(0.82 0.015 80);
border-radius: 0.55rem;
padding: 0.55rem 0.65rem;
background: oklch(0.95 0.006 80);
}
.presentation-stage[data-chat-theme="light"] .chat-tool-part span {
grid-column: 1 / -1;
color: oklch(0.48 0.04 195);
font: 650 0.56rem/1 var(--font-mono, monospace);
letter-spacing: 0.09em;
}
.presentation-stage[data-chat-theme="light"] .chat-tool-part code {
overflow: hidden;
color: oklch(0.26 0.025 250);
font-size: 0.68rem;
text-overflow: ellipsis;
}
.presentation-stage[data-chat-theme="light"] .chat-tool-part--handoff {
border-color: oklch(0.56 0.13 195 / 0.55);
background: oklch(0.94 0.025 195);
}
.presentation-route .presentation-stage__discussion-toggle {
position: absolute;
right: 1.25rem;
bottom: 0.7rem;
z-index: 8;
border: 0;
padding: 0.25rem 0;
background: transparent;
color: var(--text-muted);
font: 600 0.62rem/1 var(--font-mono, monospace);
cursor: pointer;
}
.presentation-route .presentation-stage__mode {
position: absolute;
bottom: 0.7rem;
left: 1.25rem;
z-index: 8;
margin: 0;
color: var(--text-muted);
font: 600 0.6rem/1 var(--font-mono, monospace);
letter-spacing: 0.06em;
text-transform: uppercase;
}
.presentation-route .scene-rail {
gap: 0.25rem;
min-height: 2.7rem;
border-top: 1px solid oklch(0.36 0.04 250 / 0.7);
padding: 0.35rem 0.45rem;
background: oklch(0.095 0.02 250);
}
.presentation-route .scene-rail__scene {
min-width: 2.5rem;
min-height: 1.9rem;
border: 0;
border-radius: 0.35rem;
padding: 0.25rem 0.35rem;
background: transparent;
color: oklch(0.62 0.025 250);
}
.presentation-route .scene-rail__scene[data-active="true"] {
background: oklch(0.72 0.17 195 / 0.13);
color: var(--text-primary);
}
.presentation-route .scene-rail__title {
display: none;
}
@media (max-width: 1050px) {
.demo-workflow-stage__graph:has(.interrupt-contract-preview) {
grid-template-columns: minmax(0, 1fr) 15rem;