/* Scoped exclusively to final assistant answers. */
.answer-bank{--ab:#334155;--ab-soft:#f8fafc;position:relative;border-inline-start:3px solid var(--ab);padding:.2rem .85rem;line-height:1.9;overflow-wrap:anywhere}.answer-bank-palette-blue{--ab:#174c9c;--ab-soft:#eff6ff}.answer-bank-palette-teal{--ab:#0f635d;--ab-soft:#f0fdfa}.answer-bank-palette-amber{--ab:#825112;--ab-soft:#fffbeb}.answer-bank-palette-violet{--ab:#6530a0;--ab-soft:#faf5ff}.answer-bank-palette-slate{--ab:#334155;--ab-soft:#f1f5f9}.answer-bank-mark{display:inline-flex;align-items:center;justify-content:center;width:1.7rem;height:1.7rem;color:var(--ab);background:var(--ab-soft);border-radius:.55rem;margin-block-end:.3rem}.answer-bank-mark img,.answer-bank-mark svg{width:1.1rem;height:1.1rem}.answer-bank-body>:first-child{margin-top:0}.answer-bank-body>:last-child{margin-bottom:0}.answer-bank h1,.answer-bank h2,.answer-bank h3{font-size:1.05rem;color:var(--ab);margin:.65rem 0 .35rem}.answer-bank .chat-answer-section{margin:.7rem 0}.answer-bank table{font-size:.92em}.answer-bank tbody tr:nth-child(even){background:var(--ab-soft)}.answer-bank th{background:var(--ab-soft);color:var(--ab)}.answer-bank th,.answer-bank td{padding:.45rem .65rem}.answer-bank-compact,.answer-bank-clarification{border:0;padding:0}.answer-bank-code{border:0;padding:0}.answer-bank-notice{border-radius:.5rem;background:var(--ab-soft);padding:.5rem .85rem}.answer-bank-flow{list-style:none;counter-reset:answerstep;padding-inline-start:0!important}.answer-bank-flow>li{position:relative;counter-increment:answerstep;padding-inline-start:2rem;min-height:2.2rem}.answer-bank-flow>li:before{content:counter(answerstep);position:absolute;inset-inline-start:0;top:.25rem;display:grid;place-items:center;z-index:1;background:var(--ab-soft);border:1px solid var(--ab);border-radius:50%;width:1.35rem;height:1.35rem;font-size:.8rem;color:var(--ab)}.answer-bank-flow>li:not(:last-child):after{content:"";position:absolute;inset-inline-start:.65rem;top:1.6rem;bottom:-.2rem;border-inline-start:1px solid var(--ab)}.answer-bank-chart{margin:1rem 0;padding:.7rem;border:1px solid #dce3eb;border-radius:.7rem;max-width:100%;background:var(--ab-soft)}.answer-bank-bar-row{display:grid;grid-template-columns:minmax(60px,1fr) minmax(50px,2fr) minmax(55px,1fr);gap:.5rem;align-items:center;font-size:.86em;margin:.5rem 0}.answer-bank-bar-row b{font-weight:500;direction:ltr;text-align:end}.answer-bank-bar-track{height:.65rem;border-radius:1rem;background:#dce3eb;overflow:hidden}.answer-bank-bar-track i{display:block;height:100%;background:var(--ab);border-radius:1rem}.chat-source-label{display:flex;align-items:center;gap:.4rem;font-size:.86em;padding:.3rem .5rem;color:#475569}.chat-source-label b{font-weight:500}@media(max-width:480px){.answer-bank{padding-inline:.55rem}.answer-bank th,.answer-bank td{padding:.35rem .45rem}.answer-bank-bar-row{grid-template-columns:1fr 1.3fr 1fr;gap:.3rem}}

.answer-bank-table-compact td,.answer-bank-table-compact th{padding:.35rem .5rem}.answer-bank-table-striped tbody tr:nth-child(even){background:var(--ab-soft)}.answer-bank-table-comparison td:first-child,.answer-bank-table-checklist td:first-child{font-weight:600}.answer-bank-table-metrics td{font-variant-numeric:tabular-nums}.answer-bank-table-metrics td:not(:first-child){text-align:center}.answer-bank-table-checklist th{border-bottom:2px solid var(--ab)}.answer-bank-table-timeline td:first-child{white-space:nowrap;color:var(--ab)}

/* Color illustrations + real domain icons; styles scoped to answer content. */
.answer-bank-mark{width:2.35rem;height:2.35rem;background:transparent;border-radius:.7rem}.answer-bank-mark img{width:2.1rem;height:2.1rem;object-fit:contain;filter:drop-shadow(0 2px 3px #17255422)}
.chat-source-favicon{width:20px!important;height:20px!important;flex:0 0 20px;object-fit:contain;border-radius:4px;background:#fff;vertical-align:middle}
.chat-sources a{max-width:100%;min-width:0;gap:.4rem}.chat-sources a b{max-width:18rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-source-inline{display:inline-flex;align-items:center;gap:.3rem;max-width:100%;vertical-align:middle;overflow-wrap:anywhere}.chat-source-number{flex:0 0 auto}
@media(max-width:480px){.chat-sources a b{max-width:12rem}.chat-source-inline{font-size:.94em}}

/* Compact RTL source cards; long names wrap instead of forming a single long line. */
.chat-sources{direction:rtl;text-align:right}.chat-sources>div{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:.4rem;direction:rtl}
.chat-sources>div>a,.chat-sources>div>.chat-source-label{display:inline-flex;direction:rtl;text-align:right;align-items:center;width:auto;max-width:15rem;min-width:0;margin:0;padding:.4rem .6rem;border-radius:.65rem;gap:.35rem}
.chat-sources a b{white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.5;max-width:11rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;text-align:right;unicode-bidi:plaintext}
.chat-source-inline{direction:rtl;display:inline-flex;flex-wrap:wrap;text-align:right;max-width:14rem;line-height:1.6;white-space:normal;overflow-wrap:anywhere}.chat-sources a>.ui-icon{flex-shrink:0}
@media(max-width:480px){.chat-sources>div>a{max-width:12rem}.chat-sources a b{max-width:8rem}.chat-source-inline{max-width:11rem}}

.chat-sources a .chat-source-copy,.chat-source-label .chat-source-copy{display:flex;flex-direction:column;align-items:flex-start;gap:.15rem;min-width:0;width:auto;height:auto;border-radius:0;background:transparent;color:inherit;font-size:inherit}
.chat-sources a .chat-source-copy b{-webkit-line-clamp:1;font-size:.88rem}.chat-source-copy small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;white-space:normal;font-size:.76rem;line-height:1.5;color:#64748b;max-width:11rem;text-align:right;unicode-bidi:plaintext}
.chat-sources a{align-items:flex-start}.chat-source-favicon{margin-top:.15rem}.chat-source-number{align-self:center}
