/* Agent replies rendered from Markdown (production-chat-markdown.js); colours follow the message text */
[data-fid-md-src] { display: none !important; }
.fid-md { display: grid; gap: 8px; line-height: 1.6; overflow-wrap: anywhere; }
.fid-md > * { margin: 0; }
.fid-md h2, .fid-md h3 { font-size: 1.05em; font-weight: 650; margin-top: 4px; }
.fid-md h4, .fid-md h5, .fid-md h6 { font-size: 1em; font-weight: 650; }
.fid-md ul, .fid-md ol { padding-left: 1.4em; display: grid; gap: 4px; }
.fid-md ul { list-style: disc outside !important; } .fid-md ol { list-style: decimal outside !important; }
.fid-md li { display: list-item !important; }
.fid-md hr { border: 0; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); margin: 4px 0; }
.fid-md code { font-size: .92em; padding: 0 4px; border-radius: 4px; background: color-mix(in srgb, currentColor 10%, transparent); }
.fid-md-tw { overflow-x: auto; max-width: 100%; }
.fid-md table { border-collapse: collapse; width: 100%; font-size: .9em; line-height: 1.5; }
.fid-md th, .fid-md td { border: 1px solid color-mix(in srgb, currentColor 16%, transparent); padding: 6px 8px; text-align: left; vertical-align: top; }
.fid-md th { font-weight: 600; background: color-mix(in srgb, currentColor 6%, transparent); white-space: nowrap; }
