body.zd-doc-chat{--c2-green:#128c7e;--c2-green-dark:#075e54;--c2-ink:var(--ink);--c2-muted:var(--muted);--c2-muted-soft:var(--muted-2, var(--muted));--c2-line:var(--line);--c2-line-soft:rgba(15, 23, 42, 0.055);--c2-surface:var(--surface-card);--c2-surface-2:#f4f8f7;--c2-tint:rgba(18, 140, 126, 0.055);--c2-tint-strong:rgba(18, 140, 126, 0.11);--c2-tint-border:rgba(18, 140, 126, 0.18);--c2-shadow-md:0 14px 36px rgba(15, 23, 42, 0.08);--c2-fw-medium:500;--c2-fw-semibold:600}@media (prefers-color-scheme: dark){body.zd-doc-chat{--c2-green:#45d1bf;--c2-green-dark:#7be2d5;--c2-line-soft:rgba(255, 255, 255, 0.075);--c2-surface-2:#1b1b1b;--c2-tint:rgba(45, 212, 191, 0.095);--c2-tint-strong:rgba(45, 212, 191, 0.16);--c2-tint-border:rgba(94, 234, 212, 0.27);--c2-shadow-md:0 18px 42px rgba(0, 0, 0, 0.38)}}body.zd-doc-chat .message-row--assistant .message-avatar{display:none}body.zd-doc-chat .message-row--assistant.ai-answer-row .message-bubble{border-radius:0}body.zd-doc-chat .message-row--assistant.ai-answer-row .message-bubble__content{font-size:0.95rem}body.zd-doc-chat .message-row--assistant.ai-answer-row .message-response-footer{border-top:0}body.zd-doc-chat .message-bubble .zd-refs a.ai-reference-link{color:var(--c2-ink);text-decoration:none}body.zd-doc-chat .zd-src-sheet{z-index:2000}body.zd-doc-chat #typing-indicator .typing-bubble{max-width:100%;border:0;border-radius:0;padding:4px 2px;background:transparent}body.zd-doc-chat #typing-indicator.has-steps .typing-bubble{flex-wrap:wrap}body.zd-doc-chat #typing-indicator .typing-bubble__label{flex:1 1 0;min-width:0;color:var(--c2-ink);font-size:0.88rem;font-weight:600;white-space:normal}body.zd-doc-chat .typing-bubble__seconds{color:var(--c2-muted);font-weight:400;font-variant-numeric:tabular-nums;white-space:nowrap}body.zd-doc-chat .typing-steps{flex:1 0 100%;margin:0 0 4px;padding:0;list-style:none}body.zd-doc-chat .typing-step{display:flex;align-items:flex-start;gap:10px;padding:4px 0;color:var(--c2-muted);font-size:0.86rem;line-height:1.4}body.zd-doc-chat .typing-step::before{content:"\2713";flex:0 0 20px;width:20px;height:20px;display:inline-grid;place-items:center;border-radius:50%;background:var(--c2-tint-strong);color:var(--c2-green);font-size:0.7rem;font-weight:700;line-height:1}body.zd-doc-chat .typing-step.is-failed::before{content:"\2013";background:var(--c2-surface-2);color:var(--c2-muted)}body.zd-doc-chat .message-row--user .message-bubble{max-width:86%;border:1px solid rgba(18,140,126,0.2);border-radius:18px 18px 6px 18px;padding:10px 14px 7px;background:rgba(18,140,126,0.1);box-shadow:none}body.zd-doc-chat .message-row--user .message-bubble__content{font-size:0.95rem;line-height:1.45}@media (prefers-color-scheme: dark){body.zd-doc-chat .message-row--user .message-bubble{border-color:rgba(94,234,212,0.2);background:rgba(69,209,191,0.1);color:#eef5f4}}body.zd-doc-chat .chat-titlebar{position:relative;z-index:15;flex:0 0 auto;display:flex;align-items:center;gap:10px;min-height:52px;padding:6px calc(12px + var(--safe-right,0px)) 6px calc(16px + var(--safe-left,0px));border-bottom:1px solid var(--c2-line);background:var(--c2-surface)}body.zd-doc-chat .chat-titlebar[hidden]{display:none}body.zd-doc-chat .chat-titlebar__title{flex:1 1 auto;min-width:0;margin:0;overflow:hidden;color:var(--c2-ink);font-size:0.95rem;font-weight:650;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}body.zd-doc-chat .chat-titlebar__new{flex:0 0 auto;width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--c2-line);border-radius:50%;color:var(--c2-ink)}body.zd-doc-chat .chat-titlebar__new .icon{width:20px;height:20px}body.zd-doc-chat .chat-titlebar__new:focus-visible{outline:2px solid var(--c2-green);outline-offset:2px}body.zd-doc-chat .chat-welcome__visual{display:none}body.zd-doc-chat .chat-welcome{align-items:stretch;gap:6px}body.zd-doc-chat .chat-welcome h2{margin-bottom:10px;text-align:center}body.zd-doc-chat .chat-welcome__examples{display:flex;flex-direction:column;pointer-events:auto}body.zd-doc-chat .chat-welcome__example{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:13px 2px;border:0;border-bottom:1px solid var(--c2-line);background:none;color:var(--c2-ink);font:inherit;font-size:0.95rem;line-height:1.4;text-align:left;cursor:pointer}body.zd-doc-chat .chat-welcome__example:focus-visible{outline:2px solid var(--c2-green);outline-offset:2px}body.zd-doc-chat .chat-welcome__example-chev{flex:0 0 auto;color:var(--c2-muted-soft);font-size:1.3rem}body.zd-doc-chat .chat-welcome p.chat-welcome__sources{max-width:none;margin-top:10px;text-align:center;font-size:0.8rem}body.zd-doc-chat .composer.composer--two-row{position:relative;grid-template-columns:40px auto minmax(0,1fr) 40px 40px;grid-template-rows:auto 40px;align-items:center;column-gap:6px;grid-template-areas:"input input input input input" "attach mode . mic send";row-gap:2px;padding:8px 6px 6px;border-radius:24px}body.zd-doc-chat .composer--two-row .composer__field{grid-area:input;min-height:0}body.zd-doc-chat .composer--two-row .composer__field textarea{padding:4px 8px 6px;font-size:0.9rem;line-height:1.4}body.zd-doc-chat .composer--two-row .composer__attach{grid-area:attach;width:40px;height:40px;align-self:center;border:1px solid var(--c2-line);background:var(--c2-surface-2);color:var(--c2-muted)}body.zd-doc-chat .composer--two-row .composer__attach .icon{width:20px;height:20px}body.zd-doc-chat .composer--two-row .composer__send{grid-area:send;width:40px;height:40px;align-self:center;box-shadow:none}body.zd-doc-chat .composer--two-row .composer__send .icon{width:19px;height:19px}body.zd-doc-chat .composer--two-row .composer__send .stop-icon{width:16px;height:16px}body.zd-doc-chat .composer--two-row .composer__mode{grid-area:mode;justify-self:start;min-height:40px;height:40px;gap:1px;margin-left:4px;padding:0 6px 0 9px}body.zd-doc-chat .composer--two-row .composer__mode-icon{display:inline-flex}body.zd-doc-chat .composer--two-row .composer__mode-icon .icon{flex-basis:20px;width:20px;height:20px}body.zd-doc-chat .composer--two-row .composer__mode .composer__mode-chevron{opacity:0.7}body.zd-doc-chat .composer--two-row .composer__mode-icon--advanced,body.zd-doc-chat .composer--two-row .composer__mode.is-advanced .composer__mode-icon--standard{display:none}body.zd-doc-chat .composer--two-row .composer__mode.is-advanced .composer__mode-icon--advanced{display:inline-flex}body.zd-doc-chat .composer--two-row .composer__mic{grid-area:mic;justify-self:center;align-self:center}body.zd-doc-chat .composer.composer--two-row.is-collapsed{grid-template-columns:40px minmax(0,1fr) 40px 40px;grid-template-rows:40px;grid-template-areas:"attach input mic send";align-items:center;padding:6px;min-height:0;border-radius:28px}body.zd-doc-chat .composer.composer--two-row.is-collapsed:not(:has(.composer__mic)){grid-template-columns:40px minmax(0,1fr) 40px;grid-template-areas:"attach input send"}body.zd-doc-chat .composer--two-row.is-collapsed .composer__mode{display:none}body.zd-doc-chat .composer--two-row.is-collapsed .composer__field{display:flex;align-items:center;align-self:center;height:40px;min-height:0}body.zd-doc-chat .composer--two-row.is-collapsed .composer__field textarea{display:block;height:22px;min-height:22px;padding:0 4px;line-height:22px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}body.zd-doc-chat .composer--two-row.is-expanding{overflow:hidden}body.zd-doc-chat .composer--two-row.is-expanding .composer__mode{animation:zd-app-composer-tools 0.2s ease-out both}@keyframes zd-app-composer-tools{from{opacity:0;transform:translateY(4px)}}@media (prefers-reduced-motion: reduce){body.zd-doc-chat .composer--two-row.is-expanding .composer__mode{animation:none}}body.zd-doc-chat .zd-dictate-btn{width:40px;height:40px;display:grid;place-items:center;padding:0;border:1px solid var(--c2-line);border-radius:50%;background:var(--c2-surface-2);color:var(--c2-muted);cursor:pointer}body.zd-doc-chat .zd-dictate-btn .icon{width:20px;height:20px}body.zd-doc-chat .zd-dictate-btn:disabled{opacity:0.45;cursor:default}body.zd-doc-chat .zd-dictate-btn[hidden]{display:none}body.zd-doc-chat .zd-dictate-bar{position:absolute;right:0;bottom:0;left:0;z-index:3;height:54px;box-sizing:border-box;display:flex;align-items:center;gap:6px;padding:0 6px 6px;border-radius:0 0 24px 24px;background:var(--c2-surface);color:var(--c2-ink)}body.zd-doc-chat .composer.zd-dictating > :not(.zd-dictate-bar):not(.composer__field){visibility:hidden}body.zd-doc-chat .zd-dictate-bar button{flex:0 0 auto;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:50%;cursor:pointer}body.zd-doc-chat .zd-dictate-bar button svg{width:18px;height:18px}body.zd-doc-chat .zd-dictate-cancel,body.zd-doc-chat .zd-dictate-stop{background:var(--c2-surface-2);color:var(--c2-ink);box-shadow:inset 0 0 0 1px var(--c2-line)}body.zd-doc-chat .zd-dictate-stop svg{width:15px;height:15px}body.zd-doc-chat .zd-dictate-bar .zd-dictate-send{width:40px;height:40px;color:#fff;background:linear-gradient(145deg,var(--green-700),var(--green-900))}body.zd-doc-chat .zd-dictate-wave{position:relative;flex:1 1 auto;min-width:0;height:30px}body.zd-doc-chat .zd-dictate-wave canvas{display:block;width:100%;height:100%;color:var(--c2-ink)}body.zd-doc-chat .zd-dictate-status{position:absolute;inset:0;display:none;align-items:center;justify-content:center;color:var(--c2-muted);font-size:0.86rem}body.zd-doc-chat .zd-dictate-time{flex:0 0 auto;min-width:32px;color:var(--c2-muted);font-size:0.8rem;font-variant-numeric:tabular-nums;text-align:right}body.zd-doc-chat .zd-dictate-bar.is-transcribing canvas,body.zd-doc-chat .zd-dictate-bar.is-transcribing .zd-dictate-time,body.zd-doc-chat .zd-dictate-bar.is-transcribing .zd-dictate-stop{visibility:hidden}body.zd-doc-chat .zd-dictate-bar.is-transcribing .zd-dictate-status{display:flex}body.zd-doc-chat .zd-dictate-bar.is-transcribing .zd-dictate-wave{position:static}body.zd-doc-chat .zd-dictate-bar.is-transcribing .zd-dictate-status{inset:0 0 6px;pointer-events:none}body.zd-doc-chat .zd-dictate-bar.is-transcribing .zd-dictate-send{opacity:0.7;pointer-events:none}body.zd-doc-chat .zd-dictate-bar.is-transcribing .zd-dictate-send svg{display:none}body.zd-doc-chat .zd-dictate-bar.is-transcribing .zd-dictate-send::after{content:"";width:16px;height:16px;border:2px solid rgba(255,255,255,0.45);border-top-color:#fff;border-radius:50%;animation:zd-app-dictate-spin 0.8s linear infinite}@keyframes zd-app-dictate-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){body.zd-doc-chat .zd-dictate-bar.is-transcribing .zd-dictate-send::after{animation-duration:2.4s}}body.zd-doc-chat .zd-visual-download{display:none}body.zd-doc-chat .zd-dictate-live{caret-color:transparent}