    .stack-stream-demo { --stream-border:#24243a; margin:1.5rem 0; overflow:hidden; border:1px solid var(--stream-border); border-radius:12px; background:#161628; color:#e5e7eb; font-size:13px; }
    .stack-stream-demo-header { align-items:center; border-bottom:1px solid var(--stream-border); display:flex; flex-wrap:wrap; gap:9px 12px; justify-content:space-between; padding:9px 20px; }
    .stack-stream-demo-header h4 { color:#e5e7eb; font-size:16px; font-weight:700; margin:0; }
    .stack-stream-demo-mission-updates { align-items:center; background:transparent; border:1px solid #4b5563; border-radius:6px; color:#cbd5e1; display:inline-flex; flex:0 0 auto; font-size:11px; font-weight:600; gap:6px; line-height:1.2; margin-left:auto; padding:5px 9px; pointer-events:none; user-select:none; }
    .stack-stream-demo-mission-updates-icon { flex:none; height:14px; width:14px; }
    .stack-stream-demo-roster-toggle { align-items:center; background:#111a2e; border:1px solid rgba(128,167,255,.42); border-radius:7px; color:#dbe7ff; cursor:pointer; display:none; flex:0 0 auto; font:600 11px Inter,ui-sans-serif,system-ui,sans-serif; gap:6px; line-height:1; margin-left:auto; padding:7px 9px; }
    .stack-stream-demo-roster-toggle:focus-visible, .stack-stream-demo-roster-drawer-header button:focus-visible { outline:2px solid #9ac4ff; outline-offset:2px; }
    .stack-stream-demo-roster-toggle svg { flex:none; height:16px; width:16px; }
    .stack-stream-demo-roster-toggle-count { align-items:center; background:rgba(128,167,255,.18); border-radius:999px; display:inline-flex; height:18px; justify-content:center; min-width:18px; padding:0 4px; }
    .stack-stream-demo-room { display:grid; grid-template-columns:minmax(0,1fr) 176px; min-height:430px; }
    .stack-stream-demo.is-dropping-out .stack-stream-demo-room { animation:stack-stream-demo-drop-out .45s ease-in both; }
    .stack-stream-demo.is-dropping-in .stack-stream-demo-room { animation:stack-stream-demo-drop-in .45s ease-out both; }
    .stack-stream-demo-conversation { display:flex; flex-direction:column; grid-column:1; grid-row:1; height:430px; min-width:0; position:relative; }
    .stack-stream-demo-roster { background:#101020; border-left:1px solid var(--stream-border); border-radius:0 0 12px 0; grid-column:2; grid-row:1; max-height:430px; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:14px 5px; scrollbar-color:#4b5563 transparent; scrollbar-width:thin; }
    .stack-stream-demo-roster:focus-visible { outline:2px solid #80a7ff; outline-offset:-2px; }
    .stack-stream-demo-roster-drawer-header { display:none; }
    .stack-stream-demo-roster-backdrop { display:none; }
    .stack-stream-demo-roster::-webkit-scrollbar { width:6px; }
    .stack-stream-demo-roster::-webkit-scrollbar-thumb { background:#4b5563; border-radius:999px; }
    .stack-stream-demo-roster-heading { color:#9ca3af; font-size:11px; margin:0 0 8px 10px; }
    .stack-stream-demo-roster-summary { align-items:center; color:#9ca3af; display:none; font-size:11px; gap:9px; min-height:30px; }
    .stack-stream-demo-roster-overlap { display:inline-flex; padding-left:5px; }
    .stack-stream-demo-roster-overlap .stack-stream-demo-avatar { border:2px solid #101020; flex-basis:23px; height:23px; margin-left:-5px; width:23px; }
    .stack-stream-demo-persona { align-items:center; display:flex; gap:9px; margin-bottom:2px; min-width:0; padding:3px 10px; }
    .stack-stream-demo-roster-list .stack-stream-demo-avatar { flex-basis:28px; height:28px; width:28px; }
    .stack-stream-demo-persona > span:last-child { min-width:0; }
    .stack-stream-demo-persona strong { color:#e5e7eb; display:block; font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .stack-stream-demo-persona small { color:#9ca3af; display:block; font-size:10px; margin-top:2px; }
    .stack-stream-demo-users-heading { margin-top:14px !important; }
    .stack-stream-demo-users-list { display:grid; gap:2px; }
    .stack-stream-demo-user { align-items:center; display:flex; gap:9px; min-width:0; padding:3px 10px; }
    .stack-stream-demo-user .stack-stream-demo-avatar { flex-basis:28px; height:28px; width:28px; }
    .stack-stream-demo-user strong { color:#e5e7eb; font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .stack-stream-demo-avatar { align-items:center; background:#30304b; border-radius:50%; color:#d8d8ea; display:inline-flex; flex:0 0 34px; font-size:11px; height:34px; justify-content:center; line-height:1; position:relative; width:34px; }
    .stack-stream-demo-avatar img { border-radius:50%; clip-path:circle(50%); display:block; height:100%; object-fit:cover; width:100%; }
    .stack-stream-demo-avatar--dark-theme img { filter:brightness(1.6) saturate(1.2); }
    .stack-stream-demo-stakeholder-avatar { background:#39415d; color:#e5e7eb; font-size:9px; font-weight:700; }
    .stack-stream-demo-avatar.is-thinking::after { animation:stack-stream-demo-thinking-spin 1.5s linear infinite; border:2px solid transparent; border-right-color:#22c55e; border-top-color:#22c55e; border-radius:50%; content:""; inset:-3px; pointer-events:none; position:absolute; z-index:1; }
    .stack-stream-demo-avatar--small { flex-basis:22px; font-size:9px; height:22px; width:22px; }
    .stack-stream-demo-viewport { flex:1; min-height:0; min-width:0; position:relative; }
    .stack-stream-demo-feed { height:100%; min-height:0; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; padding:24px 18px 20px 24px; scrollbar-width:none; width:100%; }
    .stack-stream-demo-feed:focus-visible { outline:2px solid #80a7ff; outline-offset:-2px; scrollbar-width:thin; }
    .stack-stream-demo-feed::-webkit-scrollbar { display:none; }
    .stack-stream-demo-row { display:flex; gap:12px; min-width:0; padding:0 0 18px; }
    .stack-stream-demo-row[hidden] { display:none; }
    .stack-stream-demo-row.is-current { animation:stack-stream-demo-enter .32s ease-out both; }
    .stack-stream-demo-row[data-stack-stream-kind="concern"] .stack-stream-demo-symbol { color:#edb86f; }
    .stack-stream-demo-event-content { flex:1; min-width:0; }
    .stack-stream-demo-event-header { align-items:center; display:flex; flex-wrap:wrap; gap:6px; min-height:22px; }
    .stack-stream-demo-event-header strong { color:#e5e7eb; font-size:11px; overflow-wrap:anywhere; }
    .stack-stream-demo-tool-integration { align-items:center; display:inline-flex; gap:4px; }
    .stack-stream-demo-integration-icon { align-items:center; display:inline-flex; flex:0 0 34px; height:34px; justify-content:center; }
    .stack-stream-demo-integration-icon img { height:58%; object-fit:contain; width:58%; }
    .stack-stream-demo-integration-icon--small { flex-basis:18px; height:18px; width:18px; }
    .stack-stream-demo-integration-icon--small img { height:100%; width:100%; }
    .stack-stream-demo-integration-icon--notion { background:#fff; border-radius:7px; }
    .stack-stream-demo-browser-icon { background:rgba(128,167,255,.12); border:1px solid rgba(128,167,255,.32); border-radius:6px; color:#a9bfff; flex:0 0 22px; height:22px; width:22px; }
    .stack-stream-demo-browser-icon svg { height:16px; width:16px; }
    .stack-stream-demo-event-label { color:#9ca3af; font-size:10px; }
    .stack-stream-demo-arrow { color:#9ca3af; flex:none; height:13px; width:13px; }
    .stack-stream-demo-symbol { color:#80a7ff; flex:none; height:14px; width:14px; }
    .stack-stream-demo-memory-icon { color:#80a7ff; flex:none; height:14px; width:14px; }
    .stack-stream-demo-row[data-stack-stream-kind="mission_update"] .stack-stream-demo-event-label { color:#80a7ff; }
    .stack-stream-demo-row[data-stack-stream-kind="concern"] .stack-stream-demo-event-label { color:#edb86f; }
    .stack-stream-demo-time { color:#727b90; font-size:9px; margin-left:auto; white-space:nowrap; }
    .stack-stream-demo-message { color:#cbd0df; line-height:1.55; margin:4px 0 0; overflow-wrap:anywhere; white-space:pre-wrap; }
    .stack-stream-demo-row[data-stack-stream-kind="wake_received"] .stack-stream-demo-message { color:#8c96ab; font-size:11px; }
    .stack-stream-demo-concern-link { color:#edb86f; display:inline-block; font-size:10px; margin-top:5px; }
    .stack-stream-demo-composer { align-items:flex-end; background:#161628; border-top:1px solid var(--stream-border); display:flex; flex-wrap:wrap; gap:8px; padding:10px; }
    .stack-stream-demo-composer-entry { align-items:flex-end; display:flex; flex:1 1 0; gap:8px; min-width:calc(8.4rem + 3rem + 8px); }
    .stack-stream-demo-recipients { align-items:center; color:#cbd0df; display:flex; flex:0 0 auto; font-size:10px; gap:5px; min-height:34px; }
    .stack-stream-demo-recipient-avatars { display:inline-flex; padding-left:5px; }
    .stack-stream-demo-recipient-avatars .stack-stream-demo-avatar { border:2px solid #161628; flex-basis:20px; height:20px; margin-left:-5px; width:20px; }
    .stack-stream-demo-input { background:#0e1020; border:1px solid #30344b; border-radius:8px; color:#9ca3af; flex:1 1 10rem; font:inherit; min-height:36px; min-width:8.4rem; overflow:hidden; padding:9px; scrollbar-width:none; white-space:nowrap; }
    .stack-stream-demo-input.is-typing { color:#e5e7eb; }
    .stack-stream-demo-input.is-typing::after { animation:stack-stream-demo-caret .75s steps(1,end) infinite; border-left:1px solid #8ebeff; content:""; display:inline-block; height:1em; margin-left:2px; vertical-align:-.15em; }
    .stack-stream-demo-send { align-items:center; background:#3374ff; border:0; border-radius:8px; color:white; display:inline-flex; flex:none; font:inherit; font-size:11px; justify-content:center; line-height:1; min-height:36px; padding:0 12px; }
    @keyframes stack-stream-demo-enter { from { opacity:0; transform:translateY(0.35rem); } to { opacity:1; transform:translateY(0); } }
    @keyframes stack-stream-demo-drop-out { to { opacity:0; transform:translateY(16px); } }
    @keyframes stack-stream-demo-drop-in { from { opacity:0; transform:translateY(-16px); } to { opacity:1; transform:translateY(0); } }
    @keyframes stack-stream-demo-thinking-spin { to { transform:rotate(360deg); } }
    @keyframes stack-stream-demo-caret { 50% { opacity:0; } }
    @media (prefers-reduced-motion:reduce) { .stack-stream-demo-row.is-current, .stack-stream-demo-avatar.is-thinking::after, .stack-stream-demo-input.is-typing::after, .stack-stream-demo.is-dropping-out .stack-stream-demo-room, .stack-stream-demo.is-dropping-in .stack-stream-demo-room { animation:none; } .stack-stream-demo-roster, .stack-stream-demo-roster-backdrop { transition:none !important; } }
    @media (max-width:720px) {
      .stack-stream-demo { margin-inline:-1.5rem; }
      .stack-stream-demo-header { padding:9px 14px; }
      .stack-stream-demo-mission-updates { display:none; }
      .stack-stream-demo:not(.has-mobile-roster-drawer) .stack-stream-demo-room { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:360px minmax(0,180px); min-height:0; }
      .stack-stream-demo:not(.has-mobile-roster-drawer) .stack-stream-demo-conversation { grid-column:1; grid-row:1; }
      .stack-stream-demo:not(.has-mobile-roster-drawer) .stack-stream-demo-composer { padding-inline:5px; }
      .stack-stream-demo:not(.has-mobile-roster-drawer) .stack-stream-demo-roster { border-left:0; border-top:1px solid var(--stream-border); grid-column:1; grid-row:2; max-height:none; }
      .stack-stream-demo.has-mobile-roster-drawer .stack-stream-demo-room { display:block; height:360px; min-height:0; overflow:hidden; position:relative; }
      .stack-stream-demo.has-mobile-roster-drawer .stack-stream-demo-roster { background:#101020; border:0; border-radius:0 0 11px 11px; bottom:0; height:100%; left:auto; max-height:none; padding:0 12px 12px; position:absolute; right:0; top:0; transform:translateX(100%); transition:transform .24s ease,visibility .24s ease; visibility:hidden; width:100%; z-index:6; }
      .stack-stream-demo.has-mobile-roster-drawer .stack-stream-demo-room.is-roster-open .stack-stream-demo-roster { transform:translateX(0); visibility:visible; }
      .stack-stream-demo.has-mobile-roster-drawer .stack-stream-demo-roster-drawer-header { align-items:center; background:#101020; border-bottom:1px solid rgba(128,167,255,.18); display:flex; justify-content:space-between; margin:0 -12px 10px; padding:10px 12px; position:sticky; top:0; z-index:1; }
      .stack-stream-demo-roster-drawer-header strong { color:#e5e7eb; font-size:13px; }
      .stack-stream-demo-roster-drawer-header button { align-items:center; background:rgba(255,255,255,.06); border:1px solid rgba(203,213,225,.2); border-radius:6px; color:#e5e7eb; cursor:pointer; display:inline-flex; height:30px; justify-content:center; padding:0; width:30px; }
      .stack-stream-demo-roster-drawer-header svg { height:16px; width:16px; }
      .stack-stream-demo-roster-backdrop { background:rgba(3,7,18,.76); border:0; bottom:0; display:block; inset:0; opacity:0; padding:0; pointer-events:none; position:absolute; right:0; transition:opacity .24s ease,visibility .24s ease; visibility:hidden; width:100%; z-index:5; }
      .stack-stream-demo.has-mobile-roster-drawer .stack-stream-demo-room.is-roster-open .stack-stream-demo-roster-backdrop { opacity:1; pointer-events:auto; visibility:visible; }
      .stack-stream-demo.has-mobile-roster-drawer .stack-stream-demo-roster-summary { display:none; }
      .stack-stream-demo.has-mobile-roster-drawer .stack-stream-demo-roster-heading { display:block; margin:10px 0 8px 4px; }
      .stack-stream-demo.has-mobile-roster-drawer .stack-stream-demo-users-heading { margin-top:14px !important; }
      .stack-stream-demo-roster-list { display:grid; gap:4px 10px; grid-template-columns:repeat(2,minmax(0,1fr)); }
      .stack-stream-demo-persona { gap:7px; margin:0; padding:4px; }
      .stack-stream-demo-user { gap:7px; padding:4px; }
      .stack-stream-demo-users-list { gap:4px 10px; grid-template-columns:repeat(2,minmax(0,1fr)); }
      .stack-stream-demo-avatar { flex-basis:29px; height:29px; width:29px; }
      .stack-stream-demo-conversation { height:360px; }
      .stack-stream-demo-feed { padding:22px 12px 18px 16px; }
      .stack-stream-demo-row { gap:9px; padding-bottom:16px; }
      .stack-stream-demo-composer { padding:9px 10px; }
      .stack-stream-demo-input { font-size:12px; }
    }
