/* The Agent Hub demonstration uses the product's chat + source-preview model. */
.agent-chat-app{background:#0e2030;color:#e9f2f0}
.agent-chat-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.8fr);min-height:377px}
.agent-chat-conversation{display:flex;flex-direction:column;min-width:0}
.agent-chat-toolbar,.agent-chat-evidence-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 20px;border-bottom:1px solid #426074}
.agent-chat-toolbar small,.agent-chat-evidence-head{font:9px/1.3 monospace;color:#a9c1ca;letter-spacing:.035em}
.agent-chat-mode{padding:6px 9px;border:1px solid #a05d83;border-radius:999px;color:#ffc4df;background:#983f6c33;font-size:10px}
.agent-chat-stream{display:flex;flex-direction:column;align-items:flex-start;gap:13px;flex:1;padding:21px 24px;min-height:265px}
.agent-chat-bubble{max-width:88%;padding:13px 16px;border:1px solid #607f91;border-radius:14px 14px 14px 3px;background:#213d52;box-shadow:0 8px 22px #06142227}
.agent-chat-bubble.user{align-self:flex-end;border-color:#af7194;background:#593b58;border-radius:14px 14px 3px 14px}
.agent-chat-bubble small{font:9px monospace;letter-spacing:.06em;color:#f4a7cb}
.agent-chat-bubble p{font-size:13px;line-height:1.55;margin:7px 0 0;color:#eef5f3}
.agent-chat-bubble.assistant{background:#1c4552;border-color:#5d9a9d}
.agent-chat-citation{display:inline-block;margin-top:10px;padding:6px 8px;border-radius:5px;background:#84ddc724;color:#a9eddb;font-size:10px}
.agent-chat-thinking{display:flex;align-items:center;gap:4px;padding:11px 14px;border-radius:12px;background:#1b394c;color:#b4d9db;font-size:10px}
.agent-chat-thinking i{width:5px;height:5px;border-radius:50%;background:#95d7c8;animation:chatThinking 1s ease-in-out infinite}
.agent-chat-thinking i:nth-child(2){animation-delay:.16s}.agent-chat-thinking i:nth-child(3){animation-delay:.32s}.agent-chat-thinking span{margin-left:8px}
@keyframes chatThinking{50%{opacity:.3;transform:translateY(-4px)}}
.agent-chat-copy{padding:8px 10px;border:1px solid #63b799;border-radius:6px;color:#c2f4d9;background:#275a4d;font-size:10px}
.agent-chat-compose{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 24px 17px;padding:10px 11px 10px 15px;border:1px solid #607d8d;border-radius:9px;color:#aec6cc;font-size:11px}
.agent-chat-compose b{display:grid;place-items:center;width:24px;height:24px;border-radius:5px;background:#e87aa9;color:#0d1b2a;font-size:17px;line-height:1}
.agent-chat-evidence{border-left:1px solid #426074;background:#163347}
.agent-chat-evidence-head i{font-style:normal;color:#c4e5e2}
.agent-chat-empty{margin:20px;padding:18px;border:1px dashed #628499;border-radius:9px;color:#acc1c8;font-size:11px;line-height:1.5}
.agent-chat-source{display:grid;gap:4px;margin:14px 16px 0;padding:14px;border:1px solid #62899c;border-radius:8px;background:#244659;font-size:11px}
.agent-chat-source b{color:#b5e6de;font-size:10px}.agent-chat-source span{line-height:1.4}
.agent-chat-source.selected{border-color:#9addcc;background:#245361}
.agent-chat-document{margin:14px 16px;padding:14px;background:#e9efeb;color:#17323f;border-radius:7px;box-shadow:0 8px 25px #07162433}
.agent-chat-document small{font:9px monospace;color:#9b2256}
.agent-chat-document p{margin:8px 0 0;font-size:11px;line-height:1.5;color:#17323f}
.agent-chat-review{margin:13px 16px;color:#aeefd4;font-size:10px}
.journey-frame.active .agent-chat-bubble,.journey-frame.active .agent-chat-source,.journey-frame.active .agent-chat-document,.journey-frame.active .agent-chat-copy{animation:journeyItemIn .6s both}
.journey-frame.active .agent-chat-bubble.assistant,.journey-frame.active .agent-chat-document{animation-delay:.22s}
.journey-frame.active .agent-chat-copy{animation-delay:.5s}
.journey-outcome{display:flex;align-items:center;gap:16px;margin-top:14px;padding:19px 23px;border:1px solid #b9c9c6;border-radius:12px;background:#e5ece7;color:#102c37}
.journey-outcome>span{font:10px monospace;letter-spacing:.05em;color:#a82059;white-space:nowrap}
.journey-outcome strong{font-size:17px;letter-spacing:-.03em;font-weight:650}
.journey-outcome p{margin:0 0 0 auto!important;font-size:12px!important;line-height:1.5!important;color:#3d5663!important}
@media(max-width:800px){.agent-chat-layout{grid-template-columns:minmax(0,1fr) 250px}.agent-chat-stream{padding:17px}.journey-outcome{flex-wrap:wrap}.journey-outcome p{margin-left:0!important}}
@media(max-width:700px){.journey-agent .journey-viewport,.journey-agent .journey-app{min-height:0}.agent-chat-layout{display:flex;flex-direction:column;min-height:0}.agent-chat-toolbar,.agent-chat-evidence-head{padding:9px 13px}.agent-chat-toolbar small,.agent-chat-evidence-head{font-size:8px}.agent-chat-stream{min-height:0;gap:9px;padding:13px}.agent-chat-bubble{max-width:96%;padding:10px 12px}.agent-chat-bubble small{font-size:8px}.agent-chat-bubble p{font-size:10px;line-height:1.45}.agent-chat-citation,.agent-chat-copy{font-size:8px;padding:6px}.agent-chat-thinking{font-size:9px;padding:8px}.agent-chat-compose{margin:0 13px 10px;padding:7px 9px;font-size:9px}.agent-chat-compose b{width:19px;height:19px;font-size:13px}.agent-chat-evidence{border-left:0;border-top:1px solid #426074}.agent-chat-empty{margin:9px 13px;padding:8px;font-size:9px}.agent-chat-source{display:inline-grid;vertical-align:top;min-width:calc(50% - 22px);max-width:calc(50% - 22px);margin:8px 0 8px 13px;padding:8px;font-size:9px}.agent-chat-source b{font-size:8px}.agent-chat-document{margin:8px 13px;padding:9px}.agent-chat-document p{font-size:9px}.agent-chat-review{margin:0 13px 9px;font-size:9px}.journey-outcome{display:grid;gap:3px;padding:13px 16px}.journey-outcome strong{font-size:15px}.journey-outcome p{font-size:10px!important}}
@media(prefers-reduced-motion:reduce){.agent-chat-thinking i,.journey-frame.active .agent-chat-bubble,.journey-frame.active .agent-chat-source,.journey-frame.active .agent-chat-document,.journey-frame.active .agent-chat-copy{animation:none!important}}
body.motion-off .agent-chat-thinking i,body.motion-off .journey-frame.active .agent-chat-bubble,body.motion-off .journey-frame.active .agent-chat-source,body.motion-off .journey-frame.active .agent-chat-document,body.motion-off .journey-frame.active .agent-chat-copy{animation:none!important}
