.term-card .term-preview.streaming-card-preview{color:#4a5160;background:#f6f7f9;border-color:#d8dce3}.streaming-card-preview .streaming-card-heading{justify-content:space-between;align-items:center;gap:6px;min-width:0;display:flex}.streaming-card-preview .streaming-card-heading small{color:#8a93a3;font-family:var(--font-geist-mono), ui-monospace, monospace;font-weight:700}.streaming-card-preview .streaming-card-heading strong{color:#2b3344;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.streaming-card-preview .streaming-card-rail{background:#fff;border:1px solid #e3e6ec;border-radius:5px;gap:3px;padding:5px 6px;display:grid}.streaming-card-preview .streaming-card-rail[data-mode=batch]{background:#fbfbfd}.streaming-card-preview .streaming-card-rail-head{justify-content:space-between;align-items:baseline;gap:5px;min-width:0;display:flex}.streaming-card-preview .streaming-card-rail-head b{color:#2b3344;font-size:9px}.streaming-card-preview .streaming-card-rail-head small{color:#8a93a3;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:8px;overflow:hidden}.streaming-card-preview .streaming-card-cells{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.streaming-card-preview .streaming-cell{background:#fff;border:1px solid #e3e6ec;border-radius:3px;align-content:center;justify-items:center;gap:1px;min-width:0;min-height:22px;padding:2px 1px;display:grid;overflow:hidden}.streaming-card-preview .streaming-cell .streaming-cell-tick{color:#aab0bd;font-family:var(--font-geist-mono), ui-monospace, monospace;font-size:7px}.streaming-card-preview .streaming-cell .streaming-cell-token{color:#4a5160;text-align:center;text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;font-size:8px;font-weight:700;overflow:hidden}.streaming-card-preview .streaming-cell.is-filled{background:#eef0f5;border-color:#c4cad6}.streaming-card-preview .streaming-cell.is-filled .streaming-cell-token{color:#2b3344}.streaming-card-preview .streaming-cell.is-waiting{background:#fff;border-style:dashed;border-color:#d8dce3}.streaming-card-preview .streaming-cell.is-waiting .streaming-cell-token{color:#c0c5d1}.streaming-card-preview .streaming-cell.is-batch-all{background:#2b3344;border-color:#2b3344}.streaming-card-preview .streaming-cell.is-batch-all .streaming-cell-tick{color:#9aa3b2}.streaming-card-preview .streaming-cell.is-batch-all .streaming-cell-token{color:#fff}.streaming-card-preview .streaming-card-rail-note{color:#6a7282;font-size:8px}.streaming-card-preview .streaming-card-rail-note b{color:#2b3344}.streaming-card-preview .streaming-card-foot{color:#4a5160;background:#eef0f5;border-radius:4px;padding:4px 6px;font-size:9px}.streaming-card-preview .streaming-card-foot strong{color:#2b3344}@media (max-width:780px){.streaming-card-preview .streaming-card-cells{gap:2px}.streaming-card-preview .streaming-card-rail{padding-inline:5px}}.term-interactive-demo.streaming-demo{border:1px solid var(--line,#e1e4ec);background:var(--color-white,#fff);color:var(--ink,#222);border-radius:10px;gap:12px;padding:16px}.streaming-demo .streaming-demo-brief{color:#4a5160;margin:0 0 4px;font-size:13px;line-height:1.55}.streaming-demo .streaming-demo-modes{flex-wrap:wrap;gap:8px;display:flex}.term-interactive-demo.streaming-demo .streaming-mode-btn{color:#4a5160;min-height:34px;font:inherit;background:#fff;border:1px solid #d6dae3;border-radius:7px;padding:6px 14px;font-size:13px;font-weight:650}.term-interactive-demo.streaming-demo .streaming-mode-btn:hover:not([aria-pressed=true]){border-color:var(--ink,#222);color:var(--ink,#222)}.term-interactive-demo.streaming-demo .streaming-mode-btn[aria-pressed=true]{border-color:var(--ink,#222);background:var(--ink,#222);color:#fff}.term-interactive-demo.streaming-demo .streaming-mode-btn:focus-visible{outline:2px solid var(--ink,#222);outline-offset:2px}.streaming-demo .streaming-rails{background:#fbfbfd;border:1px solid #e3e6ec;border-radius:8px;gap:10px;padding:12px;display:grid}.streaming-demo .streaming-rail{opacity:.5;background:#fff;border:1px solid #e3e6ec;border-radius:6px;gap:5px;padding:8px 10px;transition:opacity .15s ease-out;display:grid}.streaming-demo .streaming-rail.is-active{opacity:1;border-color:#c4cad6}.streaming-demo .streaming-rail-head{justify-content:space-between;align-items:baseline;gap:8px;min-width:0;display:flex}.streaming-demo .streaming-rail-head b{color:var(--ink,#222);font-size:13px}.streaming-demo .streaming-rail-head small{color:#8a93a3;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:11px;overflow:hidden}.streaming-demo .streaming-cells{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.streaming-demo .streaming-cell{background:#fff;border:1px solid #e3e6ec;border-radius:5px;align-content:center;justify-items:center;gap:2px;min-width:0;min-height:42px;padding:4px 2px;display:grid;overflow:hidden}.streaming-demo .streaming-cell .streaming-cell-tick{color:#aab0bd;font-family:var(--font-geist-mono), ui-monospace, monospace;font-size:10px;font-weight:700}.streaming-demo .streaming-cell .streaming-cell-token{color:#4a5160;text-align:center;text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;font-size:14px;font-weight:700;overflow:hidden}.streaming-demo .streaming-cell.is-filled{background:#eef0f5;border-color:#c4cad6}.streaming-demo .streaming-cell.is-filled .streaming-cell-token{color:var(--ink,#222)}.streaming-demo .streaming-cell.is-next{border-style:dashed;border-color:#2b3344}.streaming-demo .streaming-cell.is-computed{background:#f4f5f8;border-color:#d0d4dd}.streaming-demo .streaming-cell.is-computed .streaming-cell-token{color:#8a93a3;font-size:12px}.streaming-demo .streaming-cell.is-batch-all{border-color:var(--ink,#222);background:var(--ink,#222)}.streaming-demo .streaming-cell.is-batch-all .streaming-cell-tick{color:#9aa3b2}.streaming-demo .streaming-cell.is-batch-all .streaming-cell-token{color:#fff}.streaming-demo .streaming-output{background:#fff;border:1px solid #e3e6ec;border-radius:8px;gap:6px;padding:10px 12px;display:grid}.streaming-demo .streaming-output-head{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.streaming-demo .streaming-output-head small{color:#8a93a3;font-family:var(--font-geist-mono), ui-monospace, monospace;font-size:11px;font-weight:700}.streaming-demo .streaming-output-state{color:#4a5160;white-space:nowrap;background:#eef0f5;border-radius:99px;padding:2px 9px;font-size:11px;font-weight:700}.streaming-demo .streaming-output-state[data-phase=running]{color:#7a5a17;background:#fdf0d5}.streaming-demo .streaming-output-state[data-phase=stopped]{color:#8a1f2c;background:#fde2e2}.streaming-demo .streaming-output-state[data-phase=done]{color:#1f6a3c;background:#dcf5e3}.streaming-demo .streaming-output-text{min-height:28px;color:var(--ink,#222);word-break:break-word;background:#f6f7f9;border-radius:6px;margin:0;padding:9px 11px;font-size:15px;line-height:1.5}.streaming-demo .streaming-output-text[data-empty=true]{color:#aab0bd;font-size:13px;font-style:italic}.streaming-demo .streaming-output-cursor{color:var(--ink,#222);margin-left:1px;font-style:normal;animation:1s steps(2,start) infinite streaming-blink;display:inline-block}@keyframes streaming-blink{to{visibility:hidden}}@media (prefers-reduced-motion:reduce){.streaming-demo .streaming-output-cursor{animation:none}}.streaming-demo .streaming-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.streaming-demo .streaming-metrics>div{background:#fbfbfd;border:1px solid #e3e6ec;border-radius:6px;gap:2px;padding:8px 10px;display:grid}.streaming-demo .streaming-metrics small{color:#8a93a3;font-size:11px}.streaming-demo .streaming-metrics b{color:var(--ink,#222);font-size:15px;font-weight:750}.streaming-demo .streaming-metrics i{color:#8a93a3;font-size:11px;font-style:normal}.streaming-demo .streaming-actions{flex-wrap:wrap;gap:8px;display:flex}.term-interactive-demo.streaming-demo .streaming-cta{min-height:38px;font:inherit;padding:9px 22px;font-size:14px;font-weight:750;transition:background-color .15s ease-out;background:var(--color-rausch-600)!important;color:#fff!important;border:0!important;border-radius:8px!important}.term-interactive-demo.streaming-demo .streaming-cta:hover:not(:disabled){background:color-mix(in srgb, var(--color-rausch-600) 88%, #000)!important;color:#fff!important}.term-interactive-demo.streaming-demo .streaming-cta:focus-visible{outline:3px solid color-mix(in srgb, var(--color-rausch-600) 38%, #fff);outline-offset:2px}.term-interactive-demo.streaming-demo .streaming-cta:disabled{opacity:.5;cursor:not-allowed}.term-interactive-demo.streaming-demo .streaming-stop,.term-interactive-demo.streaming-demo .streaming-reset{min-height:38px;font:inherit;padding:9px 16px;font-size:13px;font-weight:650;color:var(--ink,#222)!important;background:#fff!important;border:1px solid #d6dae3!important;border-radius:8px!important}.term-interactive-demo.streaming-demo .streaming-stop:hover:not(:disabled),.term-interactive-demo.streaming-demo .streaming-reset:hover:not(:disabled){border-color:var(--ink,#222)!important;color:var(--ink,#222)!important;background:#f4f5f8!important}.term-interactive-demo.streaming-demo .streaming-stop:focus-visible,.term-interactive-demo.streaming-demo .streaming-reset:focus-visible{outline:2px solid var(--ink,#222);outline-offset:2px}.term-interactive-demo.streaming-demo .streaming-stop:disabled,.term-interactive-demo.streaming-demo .streaming-reset:disabled{opacity:.5;cursor:not-allowed}.streaming-demo .streaming-status{color:#4a5160;background:#f6f7f9;border-left:3px solid #c4cad6;border-radius:0 6px 6px 0;margin:0;padding:10px 12px;font-size:13px;line-height:1.55}.streaming-demo .streaming-static{color:#6a7282;background:#fbfbfd;border-radius:6px;margin:0;padding:8px 12px;font-size:12px;line-height:1.6}@media (max-width:600px){.streaming-demo .streaming-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.streaming-demo .streaming-cells{gap:3px}.streaming-demo .streaming-cell{min-height:36px;padding:3px 1px}.streaming-demo .streaming-cell .streaming-cell-token{font-size:12px}.streaming-demo .streaming-rails{gap:8px;padding:8px}.streaming-demo .streaming-rail{padding:6px 8px}}.term-card .term-preview.streaming-card-preview.streaming-chat-card{--streaming-card-blue:#2f67c8;color:#18345d;background:#edf4ff;border-color:#c4d6f4;gap:6px;padding:8px;display:grid}.streaming-chat-card .streaming-card-appbar{color:#fff;background:#1c4280;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:5px 7px;font-size:8px;display:flex}.streaming-chat-card .streaming-card-appbar span{align-items:center;gap:5px;font-weight:850;display:inline-flex}.streaming-chat-card .streaming-card-appbar i{background:#70dfad;border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 2px #70dfad2e}.streaming-chat-card .streaming-card-appbar b{color:#cfe0ff;font-size:7px}.streaming-chat-card .streaming-card-user{background:var(--streaming-card-blue);color:#fff;border-radius:8px 8px 2px;justify-self:end;max-width:72%;padding:5px 7px;font-size:8px;font-weight:750}.streaming-chat-card .streaming-card-assistant{background:#fff;border:1px solid #c8d8ef;border-radius:2px 8px 8px;justify-self:start;gap:3px;max-width:88%;padding:6px 7px;display:grid;box-shadow:0 5px 12px #254e8b17}.streaming-chat-card .streaming-card-assistant small{color:#657b9d;font-size:7px;font-weight:800}.streaming-chat-card .streaming-card-assistant p{color:#18345d;margin:0;font-size:8px;font-weight:800;line-height:1.35}.streaming-chat-card .streaming-card-assistant p span+span{color:var(--streaming-card-blue)}.streaming-chat-card .streaming-card-assistant p i{color:#e68a3e;font-style:normal}.streaming-chat-card .streaming-card-assistant>b{color:#2e62b5;font-size:7px}.streaming-chat-card .streaming-card-foot{color:#395a8d;background:#dbe9ff;border-radius:6px;margin:0;padding:5px 7px;font-size:8px}.streaming-chat-card .streaming-card-foot strong{color:#1e4e9a}.term-interactive-demo.streaming-demo.streaming-message-demo{--streaming-blue:#2f67c8;--streaming-blue-dark:#1c4280;--streaming-coral:#c65c52;--streaming-green:#2a8061;color:#18345d;background:#edf4ff;border-color:#b7cff2;gap:14px;padding:clamp(13px,2.6vw,20px)}.streaming-chat-object{background:#f6f9ff;border:1px solid #9dbbe7;border-radius:16px;min-width:0;overflow:hidden;box-shadow:0 18px 34px #1c428024}.streaming-chat-appbar{background:var(--streaming-blue-dark);color:#fff;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:11px 14px;display:grid}.streaming-chat-avatar{color:#214f99;background:#d9e7ff;border-radius:50%;place-items:center;width:32px;height:32px;font-size:11px;font-weight:900;display:grid}.streaming-chat-appbar>span:nth-child(2){gap:1px;min-width:0;display:grid}.streaming-chat-appbar>span:nth-child(2) b{color:#fff;font-size:12px}.streaming-chat-appbar>span:nth-child(2) small{color:#bfd2f2;font-size:9px}.streaming-chat-appbar>strong{color:#dce9ff;white-space:nowrap;background:#ffffff1a;border:1px solid #fff3;border-radius:999px;padding:5px 8px;font-size:9px}.streaming-chat-object.is-stopped .streaming-chat-appbar>strong{color:#ffd0cb;background:#c65c5238;border-color:#ffb1a96b}.streaming-chat-object.is-complete .streaming-chat-appbar>strong{color:#c6f2de;background:#2a806147;border-color:#97e6c26b}.streaming-chat-thread{background:linear-gradient(145deg,#eef5ff,#f8fbff);gap:14px;padding:clamp(15px,3vw,24px);display:grid}.streaming-chat-user{justify-self:end;gap:3px;max-width:74%;display:grid}.streaming-chat-user small{color:#7186a8;text-align:right;font-size:9px}.streaming-chat-user p{background:var(--streaming-blue);color:#fff;border-radius:13px 13px 3px;margin:0;padding:10px 13px;font-size:12px;font-weight:800;line-height:1.45}.streaming-chat-assistant{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:9px;max-width:92%;display:grid}.streaming-chat-speaker{justify-items:center;gap:4px;display:grid}.streaming-chat-speaker .streaming-chat-avatar{background:var(--streaming-blue-dark);color:#fff;width:30px;height:30px;font-size:9px}.streaming-chat-speaker small{color:#647c9e;white-space:nowrap;font-size:8px}.streaming-chat-bubble{background:#fff;border:1px solid #c0d3ef;border-radius:4px 14px 14px;min-width:0;overflow:hidden;box-shadow:0 10px 22px #264e8b1a}.streaming-chat-object.is-stopped .streaming-chat-bubble{border-color:#d9a39e;box-shadow:0 10px 22px #a0473f17}.streaming-chat-bubble>p{color:#17345f;overflow-wrap:anywhere;min-height:48px;margin:0;padding:14px 14px 7px;font-size:14px;font-weight:780;line-height:1.65}.streaming-chat-bubble>p i{color:#df8537;margin-left:2px;font-style:normal}.streaming-chat-state{color:#416cae;padding:0 14px 11px;font-size:10px;display:block}.streaming-chat-object.is-stopped .streaming-chat-state{color:#a5443c}.streaming-chat-object.is-complete .streaming-chat-state{color:#247258}.streaming-fragment-receipt{background:#f7faff;border-block:1px solid #d9e4f5;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0;padding:10px 12px;list-style:none;display:grid}.streaming-fragment-receipt li{color:#7788a2;background:#fff;border:1px dashed #bdcce1;border-radius:7px;gap:2px;min-width:0;padding:6px;display:grid}.streaming-fragment-receipt li span{text-overflow:ellipsis;white-space:nowrap;font-size:8px;font-weight:800;overflow:hidden}.streaming-fragment-receipt li b{font-size:9px}.streaming-fragment-receipt li.is-delivered{color:#295cae;background:#eaf2ff;border-style:solid;border-color:#9bb9e4}.streaming-chat-object.is-stopped .streaming-fragment-receipt li.is-pending{color:#a56862;background:#fff6f5;border-color:#d6aca8}.streaming-chat-evidence{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:11px 12px 13px;display:grid}.streaming-chat-evidence>span{background:#edf4ff;border-radius:7px;justify-content:space-between;align-items:baseline;gap:6px;padding:7px 8px;display:flex}.streaming-chat-evidence small{color:#647b9e;font-size:8px}.streaming-chat-evidence span b{color:#214f99;font-size:11px}.streaming-chat-evidence>strong{color:#3c5f93;grid-column:1/-1;font-size:10px;line-height:1.45}.streaming-chat-object.is-stopped .streaming-chat-evidence>strong{color:#9e443d}.streaming-message-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.term-interactive-demo.streaming-demo.streaming-message-demo .streaming-message-actions button{color:#2459a8;min-height:44px;font:inherit;background:#fff;border:1px solid #7299d5;border-radius:10px;padding:9px 12px;font-size:11px;font-weight:850}.term-interactive-demo.streaming-demo.streaming-message-demo .streaming-message-actions button:hover:not(:disabled){border-color:var(--streaming-blue);color:#17488f;background:#e1ecff}.term-interactive-demo.streaming-demo.streaming-message-demo .streaming-message-actions button.streaming-message-stop{background:var(--streaming-coral);color:#fff;border-color:#b9635b}.term-interactive-demo.streaming-demo.streaming-message-demo .streaming-message-actions button.streaming-message-stop:hover:not(:disabled){color:#fff;background:#b44c43;border-color:#98423b}.term-interactive-demo.streaming-demo.streaming-message-demo .streaming-message-actions button.streaming-message-retry{color:#246e54;border-color:#4f987d}.term-interactive-demo.streaming-demo.streaming-message-demo .streaming-message-actions button.streaming-message-retry:hover:not(:disabled){border-color:var(--streaming-green);color:#195b43;background:#e3f2eb}.term-interactive-demo.streaming-demo.streaming-message-demo .streaming-message-actions button:focus-visible{outline-offset:3px;outline:3px solid #2f67c861}.term-interactive-demo.streaming-demo.streaming-message-demo .streaming-message-actions button:disabled{cursor:not-allowed;opacity:.46}.streaming-message-status{border-left:4px solid var(--streaming-blue);color:#315d9f;background:#dce9ff;border-radius:8px;margin:0;padding:10px 12px;font-size:11px;font-weight:750;line-height:1.55}.streaming-chat-object.is-stopped+.streaming-message-actions+.streaming-message-status{border-left-color:var(--streaming-coral);color:#994139;background:#fff0ee}@media (max-width:620px){.streaming-chat-appbar{grid-template-columns:auto minmax(0,1fr)}.streaming-chat-appbar>strong{grid-column:1/-1;justify-self:start}.streaming-chat-user{max-width:88%}.streaming-chat-assistant{grid-template-columns:1fr;max-width:100%}.streaming-chat-speaker{grid-template-columns:auto 1fr;place-items:center start}.streaming-fragment-receipt,.streaming-chat-evidence{grid-template-columns:1fr}.streaming-chat-evidence>strong{grid-column:1}.streaming-message-actions{grid-template-columns:1fr}}
