/* Babuba super-chat typography - VM patch 2026-10-09 (v2)
   Tailwind Typography .prose set lifted from the local build, scoped to
   .chat-md.prose = specificity (0,2,1) so it beats the legacy legacy-bundle
   rules ".chat-md.prose :where(x)" = (0,2,0) in index-cqzlTJim.css.
   Loaded last in <head> so equal-specificity ties resolve to this file. */
.chat-md.prose{color:#1e293b;word-break:normal;overflow-wrap:break-word;font-size:.875rem;line-height:1.7}
.chat-md.prose>:first-child{margin-top:0!important}
.chat-md.prose>:last-child{margin-bottom:0!important}
.chat-md.prose,.chat-md.prose>*,.chat-md.prose>*>*{max-width:100%}
.chat-md.prose *{min-width:0}
.chat-md.prose iframe,.chat-md.prose canvas,.chat-md.prose object,.chat-md.prose embed,.chat-md.prose table,.chat-md.prose pre,.chat-md.prose [style*=width]{max-width:100%!important}
.chat-md.prose h1{color:#0f172a;letter-spacing:-.01em;margin:1.1rem 0 .6rem;font-size:1.35rem;font-weight:700;line-height:1.3}
.chat-md.prose h2{color:#0f172a;border-bottom:1px solid #e2e8f0;margin:1.1rem 0 .5rem;padding-bottom:.3rem;font-size:1.15rem;font-weight:700;line-height:1.35}
.chat-md.prose h3{color:#0f172a;margin:.95rem 0 .4rem;font-size:1rem;font-weight:600}
.chat-md.prose h4{color:#334155;margin:.8rem 0 .35rem;font-size:.9rem;font-weight:600}
.chat-md.prose h5,.chat-md.prose h6{color:#475569;margin:.7rem 0 .3rem;font-size:.85rem;font-weight:600}
.chat-md.prose p{margin:.55rem 0}
.chat-md.prose strong,.chat-md.prose b{color:#0f172a;font-weight:700}
.chat-md.prose em,.chat-md.prose i{font-style:italic}
.chat-md.prose del{opacity:.7;text-decoration:line-through}
.chat-md.prose a{color:#4f46e5;text-underline-offset:2px;font-weight:500;text-decoration:underline}
.chat-md.prose a:hover{color:#4338ca}
.chat-md.prose hr{border:0;border-top:1px solid #e2e8f0;margin:1rem 0}
.chat-md.prose ul,.chat-md.prose ol{margin:.55rem 0;padding-left:1.35rem}
.chat-md.prose ul{list-style:outside}
.chat-md.prose ol{list-style:decimal}
.chat-md.prose ul ul{list-style:circle}
.chat-md.prose ul ul ul{list-style:square}
.chat-md.prose li{margin:.25rem 0;padding-left:.15rem}
.chat-md.prose li::marker{color:#6366f1;font-weight:600}
.chat-md.prose li>ul,.chat-md.prose li>ol{margin:.3rem 0}
.chat-md.prose li>p{margin:.2rem 0}
.chat-md.prose input[type=checkbox]{accent-color:#4f46e5;vertical-align:middle;margin-right:.4rem}
.chat-md.prose li:has(>input[type=checkbox]){margin-left:-1rem;list-style:none}
.chat-md.prose table{-webkit-overflow-scrolling:touch;border-collapse:collapse;width:100%;max-width:100%;margin:.8rem 0;font-size:.82rem;display:block;overflow-x:auto}
.chat-md.prose thead{background-color:#f1f5f9}
.chat-md.prose th{text-align:left;color:#0f172a;white-space:nowrap;border:1px solid #e2e8f0;padding:.45rem .6rem;font-weight:600}
.chat-md.prose td{vertical-align:top;border:1px solid #e2e8f0;padding:.4rem .6rem}
.chat-md.prose tbody tr:nth-child(2n){background-color:#f8fafc}
.chat-md.prose code{color:#be185d;overflow-wrap:anywhere;background-color:#f1f5f9;border:1px solid #e2e8f0;border-radius:.25rem;padding:.1rem .3rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.8em}
.chat-md.prose pre{color:#e2e8f0;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;background-color:#0f172a;border:1px solid #1e293b;border-radius:.5rem;max-width:100%;margin:.8rem 0;padding:.7rem .8rem;font-size:.78rem;line-height:1.5;overflow-x:auto}
.chat-md.prose pre code{color:inherit;font-size:inherit;background:0 0;border:0;padding:0}
.chat-md.prose pre::-webkit-scrollbar{height:8px}
.chat-md.prose pre::-webkit-scrollbar-thumb{background:#334155;border-radius:4px}
.chat-md.prose blockquote{color:#3730a3;background-color:#eef2ff;border-left:3px solid #6366f1;border-radius:0 .375rem .375rem 0;margin:.8rem 0;padding:.5rem .85rem}
.chat-md.prose blockquote p{margin:.25rem 0}
.chat-md.prose img,.chat-md.prose video,.chat-md.prose svg{border-radius:.5rem;max-width:100%;height:auto;margin:.6rem 0}
.chat-md.prose figure{margin:.8rem 0}
.chat-md.prose figcaption{color:#64748b;text-align:center;margin-top:.3rem;font-size:.75rem}
.dark .chat-md.prose{color:#cbd5e1}
.dark .chat-md.prose h1,.dark .chat-md.prose h2,.dark .chat-md.prose h3{color:#f8fafc}
.dark .chat-md.prose h4,.dark .chat-md.prose h5,.dark .chat-md.prose h6{color:#e2e8f0}
.dark .chat-md.prose h2{border-bottom-color:#334155}
.dark .chat-md.prose strong,.dark .chat-md.prose b{color:#f8fafc}
.dark .chat-md.prose a{color:#a5b4fc}
.dark .chat-md.prose a:hover{color:#c7d2fe}
.dark .chat-md.prose hr{border-top-color:#334155}
.dark .chat-md.prose li::marker{color:#818cf8}
.dark .chat-md.prose thead{background-color:#1e293b}
.dark .chat-md.prose th{color:#f1f5f9;border-color:#334155}
.dark .chat-md.prose td{border-color:#334155}
.dark .chat-md.prose tbody tr:nth-child(2n){background-color:#172033}
.dark .chat-md.prose code{color:#fbcfe8;background-color:#1e293b;border-color:#334155}
.dark .chat-md.prose pre{color:#e2e8f0;background-color:#0b1220;border-color:#1e293b}
.dark .chat-md.prose blockquote{color:#c7d2fe;background-color:#6366f11f;border-left-color:#818cf8}
.dark .chat-md.prose figcaption{color:#94a3b8}
/* --- width ---
   legacy index-cqzlTJim.css pins the reply body to max-width:68ch (~68 chars
   per line). Equal specificity (0,2,0), later stylesheet wins -> uncapped,
   matching the local dashboard where the bubble width governs. */
.chat-md.prose{max-width:none}
