#root{flex-direction:column;flex:1;width:100%;min-height:0;display:flex}body[data-ui-variant=sage]{flex-direction:column;display:flex}.analysis-tags{flex-wrap:wrap;gap:6px;margin-bottom:.65em;display:flex}.analysis-tags .tag{border-radius:999px;padding:2px 8px;font-size:.75em;font-weight:600;line-height:1.3}.analysis-tags .tag.category{color:#3d5a73;background:#eef4f8}.analysis-tags .tag.escalate{color:#9a5c45;background:#fdf4f0}.analysis-tags .tag.ok{color:#3d5a73;background:#eef4f8}.analysis-tags .tag.urgent{color:#9a5c45;background:#fdf8f3}.analysis-tags .tag.rag{color:#4a6741;background:#f0f4ee}.analysis-tags .tag.review{color:#8a6d3b;background:#fff8eb}.analysis-tags .tag.priority-high{color:#9a5c45;background:#fdf8f3}[data-ui-variant=sage] .message.bot .ui-bubble--status-reply{border:1px solid var(--ui-border,#dce3ea);background:#fff;border-radius:18px 18px 12px;max-width:96%;margin:0;padding:.85rem .95rem;box-shadow:0 2px 12px #3b5a730f}[data-ui-variant=sage] .ui-bubble--status-reply .ui-status-block--pro{gap:10px}.reply-bubble__head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.reply-bubble__head-text{flex:1;min-width:0}.reply-bubble__head .ui-status-compact__title{color:var(--ui-primary-dark,#2d4a5e);margin:0 0 6px;font-size:.95em;font-weight:700}.reply-bubble__tags{margin-bottom:0}.reply-bubble__tags .tag{padding:2px 7px;font-size:.68em}.reply-bubble__copy{flex-shrink:0;margin-top:2px}.reply-bubble__body{background:var(--ui-primary-soft,#f4f7fa);border:1px solid color-mix(in srgb, var(--ui-primary,#5b7c99) 12%, transparent);white-space:pre-wrap;color:var(--ui-text,#1f2937);font-size:inherit;border-radius:12px;margin:0;padding:12px 14px;line-height:1.65}[data-ui-variant=sage] .ui-bubble--status-reply .ui-feedback-compact{margin-top:2px}[data-ui-variant=sage] .ui-bubble--status-reply .voice-read-progress{margin-top:4px}.voice-read-progress__track{background:#e8edf2;border-radius:999px;height:3px;overflow:hidden}.voice-read-progress__bar{background:var(--ui-primary,#5b7c99);width:0%;height:100%;transition:width .3s}.voice-read-progress__label{text-align:center;color:var(--ui-text-muted,#6b7280);margin:.3em 0 0;font-size:.75em}[data-ui-variant=sage] .recommendation-result.ui-bubble--status-reply{border-color:var(--ui-border,#dce3ea);background:var(--ui-surface-elevated,#f8fbfd);margin:.25em 0 0}[data-ui-variant=sage] .recommendation-result.ui-bubble--status-reply .analysis-tags{margin-bottom:.5em}.recommendation-result__header{margin-bottom:.35em}.recommendation-result__header .section-title{color:var(--ui-primary-dark,#2d4a5e);border-bottom:2px solid var(--ui-primary,#4caf50);margin:0;padding-bottom:.35em;font-size:1.05em;font-weight:700}.customer-reply-body{white-space:pre-wrap;font-family:inherit;font-size:inherit;color:#1f2937;margin:0;line-height:1.65}.customer-reply-section{background:#f8fbfd;border:2px solid #3d5a73;border-radius:12px;margin-top:.25em;padding:12px 14px}.section-header{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.section-title{color:#2d4a5e;margin:0;font-size:.92em;font-weight:700}.copy-btn{color:#3d5a73;cursor:pointer;background:#fff;border:1px solid #bcc6d4;border-radius:999px;padding:3px 10px;font-family:inherit;font-size:.75em;font-weight:600}.copy-btn:hover{background:#eef4f8}.customer-reply-text{white-space:pre-wrap;font-family:inherit;font-size:inherit;color:#1f2937;margin:0;line-height:1.65}.reply-warning{color:#9a5c45;background:#fdf4f0;border:1px solid #f0d4c8;border-radius:8px;margin:10px 0 0;padding:8px 10px;font-size:.82em}.reply-note{color:#8a6d3b;background:#fff8eb;border:1px solid #f0e0b8;border-radius:8px;margin:10px 0 0;padding:8px 10px;font-size:.82em}.agent-panel{background:#fafbfc;border:1px solid #dce3ea;border-radius:10px;margin-top:10px;overflow:hidden}.agent-panel-summary{cursor:pointer;color:#6b7280;padding:8px 12px;font-size:.82em;font-weight:600;list-style:none}.agent-panel-summary::-webkit-details-marker{display:none}.agent-panel[open] .agent-panel-summary{border-bottom:1px solid #e5e7eb}.agent-meta{margin:0;padding:10px 12px 0}.agent-meta-row{grid-template-columns:6.5em 1fr;gap:8px;margin-bottom:8px;font-size:.82em;display:grid}.agent-meta-row dt{color:#6b7280;margin:0;font-weight:600}.agent-meta-row dd{color:#374151;margin:0}.agent-block{border-top:1px solid #eef1f4;padding:8px 12px 10px}.agent-block--alert{background:#fdf8f3}.agent-block-title{color:#6b7280;text-transform:none;margin:0 0 6px;font-size:.78em;font-weight:700}.agent-text{white-space:pre-wrap;color:#4b5563;margin:0;font-family:inherit;font-size:.82em;line-height:1.55}.agent-list{color:#4b5563;margin:0;padding-left:1.2em;font-size:.82em}.agent-list li+li{margin-top:4px}.mode-tabs{gap:6px;margin-top:8px;display:flex}.mode-tab{color:#3d5a73;cursor:pointer;background:#fff;border:1px solid #bcc6d4;border-radius:999px;padding:4px 14px;font-family:inherit;font-size:.8em;font-weight:600}.mode-tab.active{color:#fff;background:#3d5a73;border-color:#3d5a73}.rag-kb-badge{color:#4a6741;background:#f0f4ee;border:1px solid #c5d4bc;border-radius:8px;margin-top:.65em;padding:6px 10px;font-size:.82em;display:inline-block}.sample-chip--rag{color:#4a6741;background:#f0f4ee;border-color:#c5d4bc}.rag-sources{flex-direction:column;gap:8px;margin-top:12px;display:flex}.rag-source-card{background:#f8faf8;border:1px solid #dce6d8;border-radius:10px;padding:10px 12px}.rag-source-header{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:4px;display:flex}.rag-source-index{color:#4a6741;font-size:.85em;font-weight:700}.rag-source-title{color:#2d4a28;font-size:.9em;font-weight:700}.rag-source-score{color:#6b8065;background:#eef4ea;border-radius:999px;margin-left:auto;padding:2px 8px;font-size:.75em}.rag-source-section{color:#5a6b55;margin-bottom:6px;font-size:.82em}.rag-source-snippet{color:#374151;margin:0;font-size:.85em;line-height:1.5}.message-text{white-space:pre-wrap;font-family:inherit;font-size:inherit;line-height:inherit;margin:0}.message-content.loading-content{color:var(--ui-text-muted,#6b7280);align-items:center;gap:8px;display:flex}.typing-dots{gap:4px;display:inline-flex}.typing-dots span{background:#9ca3af;border-radius:50%;width:7px;height:7px;animation:1.2s infinite sage-bounce}.typing-dots span:nth-child(2){animation-delay:.2s}.typing-dots span:nth-child(3){animation-delay:.4s}@keyframes sage-bounce{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-5px)}}.sample-chips{flex-wrap:wrap;gap:6px;margin-top:.75em;display:flex}.sample-chip{color:#3d5a73;cursor:pointer;background:#eef4f8;border:1px solid #bcc6d4;border-radius:999px;padding:4px 12px;font-family:inherit;font-size:.85em;font-weight:600;transition:background .15s}.sample-chip:hover:not(:disabled){background:#dfe6ef}.sample-chip:disabled{opacity:.5;cursor:not-allowed}.message-content.error-content{color:#991b1b!important;background:#fef2f2!important;border-color:#fecaca!important}.modal.is-open{display:flex!important}
