/* Reserve the same composer and activity geometry throughout every run. */
#dash-playground.pg-workspace .pg-chat-wrap,#dash-playground.pg-workspace .pg-chat-wrap:has(.pg-empty){justify-content:flex-start;padding-bottom:4px}
#dash-playground.pg-workspace .pg-chat,#dash-playground.pg-workspace .pg-chat:has(.pg-empty){flex:1 1 0%;min-height:0;overflow:auto;padding:20px 10px;overflow-anchor:none}
#dash-playground.pg-workspace .pg-chat:has(.pg-empty){display:flex;align-items:center;justify-content:center}
#dash-playground.pg-workspace .pg-empty{padding:24px 12px}
#dash-playground.pg-workspace .pg-composer{flex-shrink:0}
#dash-playground.pg-workspace .pg-agent-trace,#dash-playground.pg-workspace .pg-agent-trace:empty{display:block!important;flex:none;position:relative;box-sizing:border-box;height:36px;min-height:36px;max-height:36px;margin:0 auto 4px;padding:0 8px;overflow:visible}
#dash-playground .pg-run-status{height:36px;box-sizing:border-box;min-width:0;white-space:nowrap}
#dash-playground .pg-trace-status{overflow:hidden;text-overflow:ellipsis}
#dash-playground .pg-agent-trace:not(.has-activity) .pg-trace-dot{visibility:hidden}
#dash-playground #pgTyping{display:none!important}
#dash-playground .pg-msg.pg-streaming{animation:none!important;opacity:1}
#dash-playground .pg-msg.pg-streaming .pg-bubble:empty{min-height:28px}
#dash-playground .pg-activity-toggle{border:0;background:transparent;color:var(--d-muted);font:inherit;font-size:11px;padding:5px 8px;border-radius:6px;cursor:pointer}
#dash-playground .pg-activity-toggle[hidden]{display:none}
#dash-playground .pg-trace-metadata{position:absolute;bottom:100%;right:0;width:min(380px,calc(100vw - 60px));box-sizing:border-box;max-height:230px;overflow:auto;padding:16px;background:var(--d-panel);border:1px solid var(--d-border);border-radius:12px;box-shadow:0 12px 36px #0003;z-index:10}
#dash-playground .pg-trace-metadata small{display:block;margin-top:4px;color:var(--d-muted)}
#dash-playground .pg-workspace-notice:empty{display:none}
#dash-playground .pg-agent-trace .pg-run-status{visibility:hidden}
#dash-playground .pg-agent-trace.has-visible-status .pg-run-status{visibility:visible}
#dash-playground .pg-thinking{border:0;background:transparent;border-radius:0;margin:0 0 12px;box-shadow:none}
#dash-playground .pg-thinking summary{display:flex;align-items:center;gap:7px;list-style:none;padding:5px 0;min-height:28px;font-size:12px;color:var(--d-muted);width:max-content}
#dash-playground .pg-thinking summary::-webkit-details-marker{display:none}
#dash-playground .pg-thinking summary::after{content:'›';display:inline-block;transform:rotate(90deg);font-size:15px;transition:transform .12s}
#dash-playground .pg-thinking[open] summary::after{transform:rotate(-90deg)}
#dash-playground .pg-thinking pre{padding:0 0 0 12px;margin:7px 0 0;border-left:1px solid var(--d-border);font-size:12px;line-height:1.7;max-height:220px}
#dash-playground .pg-thinking-note{display:none}
