.rag-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.65fr);gap:18px}.rag-chat{display:flex;min-height:520px;flex-direction:column}.rag-messages{flex:1;padding:18px;display:grid;gap:12px;max-height:570px;overflow:auto;background:linear-gradient(180deg,#fbfdfc,#f4f8f6)}.rag-message{max-width:90%;padding:13px 15px;border-radius:14px;font-size:12px;line-height:1.6;border:1px solid var(--line);background:#fff}.rag-message b{font-size:10px;color:var(--green);text-transform:uppercase;letter-spacing:.07em}.rag-message p{margin:5px 0 0}.rag-message.user{margin-left:auto;background:#0a6b55;color:#fff;border-color:#0a6b55}.rag-message.user b{color:#bde8db}.rag-composer{padding:16px;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:10px}.rag-composer textarea{border:1px solid #cfdcd6;border-radius:12px;padding:11px;font:500 12px Manrope;resize:vertical}.rag-composer .btn:disabled,.btn:disabled{opacity:.5;cursor:not-allowed}.alert-card p{font-size:11px;line-height:1.55;color:var(--muted)}.live-tool-card{margin-top:14px;padding:14px;border:1px solid #b8dfd1;border-left:4px solid #0a6b55;border-radius:12px;background:#f7fcf9;color:#132e28}.live-tool-card.error{border-color:#e7b8bd;border-left-color:#c84d5d;background:#fff8f8}.live-tool-kicker{font-size:9px;font-weight:800;letter-spacing:.12em;color:#08725b}.live-tool-head{display:flex;justify-content:space-between;gap:12px;align-items:start}.live-tool-head h3{font-size:15px;margin:5px 0 0}.live-tool-head p{color:#567068;margin:2px 0 8px}.live-tool-head span{white-space:nowrap;border-radius:999px;background:#dff3ea;padding:3px 8px;font-size:10px;font-weight:800}.live-tool-table{overflow:auto;border:1px solid #d6e7df;border-radius:9px;background:white}.live-tool-table table{border-collapse:collapse;width:100%;min-width:520px;font-size:10px}.live-tool-table th{background:#edf7f2;color:#436158;text-align:left;font-size:9px;letter-spacing:.04em;text-transform:uppercase}.live-tool-table th,.live-tool-table td{padding:7px 8px;border-bottom:1px solid #e5efe9;vertical-align:top}.live-tool-table tbody tr:last-child td{border-bottom:0}.live-tool-action{display:inline-block!important;margin-top:10px!important;font-size:10px!important}.live-empty,.rag-source-empty{color:var(--muted);font-size:12px}.rag-presenter-links{margin-top:18px;padding:18px 20px;border:1px solid #c7dfd5;border-radius:16px;background:linear-gradient(110deg,#effaf5,#fff);display:flex;align-items:center;justify-content:space-between;gap:18px}.rag-presenter-links b{font-size:16px;color:var(--green)}.rag-presenter-links p{margin:5px 0 0;font-size:12px;color:var(--muted)}.rag-presenter-actions{display:flex;gap:10px;flex-wrap:wrap}.rag-presenter-actions .btn{white-space:nowrap}@media(max-width:900px){.rag-layout{grid-template-columns:1fr}.rag-chat{min-height:440px}.rag-composer{grid-template-columns:1fr}.rag-presenter-links{align-items:flex-start;flex-direction:column}}
