dd-chat-message { display:block; min-width:0; color:var(--text,#e6e6e6); font:inherit; }
dd-chat-message[hidden] { display:none; }
dd-chat-message details { border:1px solid var(--border,#2a3035); background:var(--surface,#101315); padding:8px; }
dd-chat-message summary { display:flex; flex-wrap:wrap; align-items:center; gap:8px; cursor:pointer; }
dd-chat-message .dd-chat-preview { flex:1; min-width:80px; overflow-wrap:anywhere; color:var(--text-muted,#8a9299); }
dd-chat-message pre { white-space:pre-wrap; overflow-wrap:anywhere; font:inherit; margin:12px 0 0; }
dd-chat-message button { min-width:28px; min-height:28px; font:inherit; color:inherit; background:transparent; border:1px solid var(--border,#2a3035); cursor:pointer; }
dd-chat-message :is(summary,button):focus-visible { outline:2px solid var(--focus-ring,#b7ffb0); outline-offset:2px; }
