/* ════════════════════════════════════════════════════
   Signal side-panel chat transcript — the same reading shape as the Chat app

   Both apps mount the same ChatWidget; Chat gives it a right-hugging user bubble
   with no "You" header (css/apps/chat-components.css, scoped to
   #chat-widget-container), and Signal's side panel now matches it. The assistant
   half needs no CSS here: `hideModelName` (apps/signals/sidebar.js) makes a
   plain reply nameless, which the widget draws as the Lani mark beside the text.

   Its own stylesheet rather than another section in css/apps/signals.css, which
   is already far past the 600-line cap (.claude/rules/file-size-cap.md).
   #sidebar-chat-panel outranks the widget's injected <style>, the same
   convention the composer rules in signals.css use. Every value is a skin token.
   ════════════════════════════════════════════════════ */

#sidebar-chat-panel .cw-msg--user .cw-msg-header {
    display: none;
}

#sidebar-chat-panel .cw-msg--user .cw-msg-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-end;          /* right-align the bubble and its attachment chips */
    background: none;
    border: none;
    padding: 0;
    margin: 0 0 10px;
}

#sidebar-chat-panel .cw-msg--user .cw-msg-content {
    background: var(--bg-surface);
    border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
    /* Squared bottom-right corner, the tail toward the sender's edge, as in Chat. */
    border-radius: calc(var(--radius) + 6px) calc(var(--radius) + 6px) 0 calc(var(--radius) + 6px);
    padding: 10px 14px;
    width: fit-content;
    max-width: 85%;                 /* the side panel is narrow; Chat's 80% of 880px is wider */
}
