/* V9.10.8 – clickable Joey Sources rows */
.sources tr.j8-row{cursor:pointer}
.sources tr.j8-row:hover td{background:rgba(214,170,60,.10);color:var(--text,#fff)}
.sources td.j8-link{color:var(--gold-hi,#e3c06b);text-decoration:underline;text-decoration-color:rgba(214,170,60,.45);text-underline-offset:2px}
.sources tr.j8-row:hover td.j8-link{text-decoration-color:currentColor}
.sources .src small{display:block;white-space:normal;overflow-wrap:anywhere}
.client-history tr.j8-hl td,.record-body tr.j8-hl td{background:rgba(214,170,60,.22)!important;transition:background .4s}
/* keep the Sources block inside the drawer: only the table scrolls sideways, the summary line wraps */
#chatLog .msg.bot{min-width:0;max-width:100%;overflow-x:hidden}
#chatLog .sources,#chatLog .sources .src{min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden}
#chatLog .sources table{max-width:100%;width:max-content;min-width:100%}
