/* ALLAI-CUSTOM: ALC-2026-0002 — compact, display-only Council content. */
.model-council-bubble, .model-council-replies, .model-council-reply-content { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.model-council-bubble .model-council-replies > div { padding: 1rem; border-radius: var(--radius, 1rem); }
.model-council-bubble .model-council-final-answer { white-space: normal; }
.model-council-bubble pre code { white-space: pre; }
.model-council-bubble pre, .model-council-bubble .lqd-markdown-table-scroll { max-width: 100%; overflow-x: auto; }
.model-council-bubble button { font-family: inherit; }
.model-council-bubble button:focus-visible { outline: 2px solid hsl(var(--primary)); outline-offset: 2px; }
.model-council-bubble .lqd-chat-actions-wrap:focus-within { visibility: visible; opacity: 1; }
html[lang^="ar"] .model-council-bubble { font-family: var(--font-family-arabic, Tahoma, Arial, sans-serif); }
.model-council-bubble [dir="rtl"] { font-family: var(--font-family-arabic, Tahoma, Arial, sans-serif); }
.model-council-bubble .model-response-name { unicode-bidi: isolate; }

.model-council-bubble :dir(rtl) { font-family: var(--font-family-arabic, Tahoma, Arial, sans-serif); }
.model-council-bubble .prose { color: hsl(var(--heading-foreground)); --tw-prose-body: hsl(var(--heading-foreground)); --tw-prose-headings: hsl(var(--heading-foreground)); --tw-prose-bold: hsl(var(--heading-foreground)); }
.model-council-bubble .prose :where(p, li, td, th), .model-council-bubble button { color: hsl(var(--heading-foreground)); }
.model-council-bubble button[aria-expanded]:hover { background-color: hsl(var(--heading-foreground)); color: hsl(var(--background)); }

.model-council-bubble [data-council-section][hidden] { display: none; }
.model-council-bubble .council-reference-badges { display: inline-flex; flex-wrap: wrap; gap: .25rem; max-width: 100%; vertical-align: baseline; unicode-bidi: isolate; }
.model-council-bubble .council-reference-badge { display: inline-block; max-width: 100%; padding: .05em .45em; border: 1px solid hsl(var(--heading-foreground) / .2); border-radius: var(--radius, .5rem); color: inherit; font-size: .9em; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; unicode-bidi: isolate; }
.model-council-bubble .council-reference-badge:hover { text-decoration: underline; }
.model-council-bubble .council-reference-badge:focus-visible, .model-council-bubble .model-council-replies > div:focus { outline: 2px solid hsl(var(--primary)); outline-offset: 2px; }
.model-council-bubble .model-council-replies > div { scroll-margin-block-start: 5rem; }

.model-council-bubble .council-finding-text { unicode-bidi: isolate; }
