/* ==========================================================================
   CHAT (.messages, .msg, .bubble, .msg-text, .chat-starters). The agent chat's look; chat.js makes the markup.
   Moved as it was from index.html (29 Oct), in the same order, and linked right after the composer, so it stands
   where it stood in the cascade: after the kit, before the screen's own styles.
     .messages            the list: a grid of messages, scrolling up and down only
     .msg.user|agent      one message; .bubble.user|agent inside it: the sender line (.msg-name) and the words
                          (.msg-text, dir="auto"; .rich when drawn with light formatting)
     .story …             the chat strip over My Agent's stage (the phone and the docked agent)
     .tool-confirm        the link rows under a reply (a confirm is the kit's action card)
     .chat-starters       the greeting and starter chips on an empty chat
   ========================================================================== */
.messages{max-height:300px;overflow:auto;display:grid;gap:8px;padding:4px 4px 10px}
.messages:empty{display:none}
.bubble{max-width:86%;padding:10px 14px;border-radius:var(--r-row);background:var(--fill-3);color:var(--text);font-size:var(--font-size-small);line-height:1.45;overflow-wrap:anywhere}
.bubble.agent{justify-self:start;border-end-start-radius:var(--radius-3xs)}
.bubble.user{justify-self:end;border-end-end-radius:var(--radius-3xs);background:var(--a);color:var(--vx-on-ink)}

/* Chat: about a sixth of the stage. It scrolls up and down with no visible scrollbar, never sideways (the lead,
   2026-10-14). Every message is on the left, the sender's name (Inter) on the
   first line inside the bubble and the text under it, in Inter too: it is reading text (Arabic falls to IBM Plex Sans Arabic).
   Its columns never grow past the strip, so nothing in it is wider than the chat: a reply's one-line step summary ends
   in "…" with its time and arrow in view, and long words and links wrap (.bubble). */
.story .messages{flex:0 1 auto;min-height:0;max-height:calc(100% / 6);gap:6px;padding:14px 2px 2px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;grid-template-columns:minmax(0,1fr);-webkit-mask-image:var(--story-fade);mask-image:var(--story-fade)}
#messages{scrollbar-width:none}
#messages::-webkit-scrollbar{display:none}
.story .msg{display:grid;grid-template-columns:minmax(0,1fr);justify-items:start;min-width:0}
.story .bubble,.story .bubble.user{justify-self:start;max-width:100%;padding:6px 10px;border-radius:var(--r-inner);border-end-start-radius:var(--verser-bubble-tail-radius);line-height:1.4}
.story .msg-name{display:block;color:var(--text-2);font-family:var(--font);font-size:var(--font-size-meta);font-weight:600;line-height:1.3}
/* pre-line: a reply's own line breaks (a plan, a list of times) show as lines, not one block (the lead, 2026-10-29). */
.story .msg-text{display:block;font-family:var(--font);font-size:var(--font-size-small);font-weight:400;line-height:1.5;letter-spacing:0;white-space:pre-line}
/* An agent's reply with light formatting (chat.js, VerserUI.chat.rich), set like a chat answer: paragraphs 8px apart, a bold line
   heading each part (a step larger, more room above it than under it), a list close under the line that leads into
   it, lists indented from the reading side (logical, so an Arabic list hangs from the right) with their items close
   together. Weights 600 and 700, which Inter and IBM Plex Sans Arabic both carry; sizes in em, so the docked agent's
   13px text scales with it. :where keeps the reset weaker than the gaps after it. */
.msg-text.rich :where(p,ul,ol){margin:0}
.msg-text.rich>*+*{margin-top:8px}
.msg-text.rich>p+:is(ul,ol){margin-top:4px}
.msg-text.rich>*+.md-h{margin-top:14px}
.msg-text.rich>.md-h+*{margin-top:4px}
.msg-text.rich :is(ul,ol){padding-inline-start:1.4em}
.msg-text.rich li{padding-inline-start:2px}
.msg-text.rich li+li,.msg-text.rich li>:is(ul,ol){margin-top:3px}
.msg-text.rich li::marker{color:var(--text-2)}
.msg-text.rich ol>li::marker{font-weight:600;font-variant-numeric:tabular-nums}
.msg-text.rich strong{font-weight:600;color:var(--text)}
.msg-text.rich .md-h{font-size:1.07em;font-weight:700;line-height:1.4;color:var(--text)}
.msg-text.rich code{padding:0 4px;border-radius:var(--radius-3xs);background:color-mix(in srgb,var(--text) 12%,transparent);font-family:var(--mono);font-size:.9em}
/* The action the agent proposed, inside its own bubble. Nothing runs until the person taps. (.confirm-row is the admin pill row.) */
/* The rows of links under a reply (Open document, Open in Outlook…). A confirm is the kit's action card (.verser-action). */
.tool-confirm:not(.verser-action){display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.tool-confirm .btn{min-height:44px;padding:0 14px;font-family:var(--font);font-size:var(--font-size-meta);font-weight:600;box-shadow:none}
.tool-confirm .btn.primary{box-shadow:none}
/* Typed text stays 16px so iOS does not zoom; the placeholder is 14px so it fits on one line. */
.story .composer textarea::placeholder{font-size:var(--font-size-small);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.story .composer textarea{padding-inline:4px 2px}
/* Under 375px, with the mic in the row, the box is about 136-143px: the meta size and the prompt starting at the
   paperclip's edge keep "Type in any language…" (148px at the small size, 137 at meta) on its one line (Inter, wider than
   Geist was); a textarea's placeholder cannot end in an ellipsis. */
@media (max-width:374px){.story .composer textarea::placeholder{font-size:var(--font-size-meta)}.story .composer textarea{padding-inline-start:0}}
/* The text box grows with what is in it, up to about six lines, then scrolls (the kit); the buttons stay on its last line. */
.story .composer{flex:none}
/* Files attached to the next message can go without words: Send stays live while their chips show. */
#chatAttachments:not(.hidden)~.composer .verser-composer-send{opacity:1;pointer-events:auto}
/* Starters on an empty chat (chat-starters.js): a greeting and up to four kit chips over the text bar; gone once the chat
   has a message, and during a live. */
.chat-starters{flex:none;display:grid;gap:8px;margin:0 0 8px;text-shadow:none}
.chat-starters[hidden],.story-overlay:has(#messages:not(:empty)) .chat-starters,body.broadcasting .chat-starters{display:none}
.chat-starters-hello{margin:0;padding-inline:4px;font-family:var(--font-ui);font-size:var(--font-size-body);font-weight:600;line-height:1.35;color:var(--text)}
.chat-starters-row{display:flex;flex-wrap:wrap;gap:6px}
/* Keyboard up on the phone's full-screen My Agent: the starters keep a short strip over the text bar (as the chat does)
   and scroll up and down inside it, fading at both ends, so the text bar stays right above the keyboard on short phones. */
body.verser-open.kb-open .chat-starters{flex:0 1 auto;min-height:0;max-height:132px;padding-block:14px 12px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;-webkit-mask-image:var(--story-fade-ends);mask-image:var(--story-fade-ends)}
.story .chat-starter{--verser-chip-fill:var(--story-glass);--verser-chip-border:transparent;-webkit-backdrop-filter:var(--story-glass-filter);backdrop-filter:var(--story-glass-filter)}

/* =========================================================================
   REPLY ACTIONS (.msg-actions, VerserUI.chat.actions; deep review A1): Copy, Retry, Good, Bad under an agent reply, as
   in the chat apps people already use. A row of small ghost icon buttons under the bubble's reading edge. A desktop shows the row
   while the pointer is over the message or a button has focus, and always under the newest message; a phone shows it
   under the newest message, and under another once its bubble is tapped (.msg.show-actions). Good or Bad, once picked,
   stays lit in the accent.
   ========================================================================= */
.msg-actions{display:flex;gap:2px;margin-top:2px;justify-self:start;--verser-icon-button-size:32px}
.msg-actions .msg-action{position:relative;color:var(--text-2)}
.msg-actions .msg-action .icon{width:16px;height:16px}
/* A 32px button with a 44px touch target. */
.msg-actions .msg-action::after{content:"";position:absolute;inset:-6px}
.msg-actions .msg-action[aria-pressed="true"]{color:var(--a)}
.msg-actions .msg-action[data-done]{color:var(--success)}
.msg:not(:last-child) .msg-actions{display:none}
.msg.show-actions .msg-actions,.msg:focus-within .msg-actions{display:flex}
/* While a decision waits in the reply, its card's own buttons are the actions: no row under it, so the card shows whole
   in the chat (which grows to 40% of the screen for it). The row comes back once it is decided. */
.msg:has(.tool-confirm:not(.retired) .tool-run:not(:disabled),.tool-confirm.brief-ask .btn:not(:disabled))>.msg-actions{display:none}
@media (hover:hover) and (pointer:fine){
  .msg:hover .msg-actions{display:flex}
  .msg-actions{opacity:.72;transition:opacity var(--duration-fast) var(--ease-out)}
  .msg:is(:hover,:focus-within) .msg-actions,.msg-actions:has([aria-pressed="true"]){opacity:1}
}
.story .msg-actions{margin-top:0}


/* ==========================================================================
   AGENT PANEL CHAT (.verser-agent-panel around a chat; 9 Nov, the lead: "this is the ideal way i want my agent to be,
   just with a name above his responses and mine. the ai status to be part of the chat"). Used by the app's agent on the
   phone and in the dock; the look is the kit's agent panel (frontend/kit .vx-agent-msg) and reads its tier-3 tokens.
   - Every message is a card with the sender's name above it, outside the card and as wide as the chat (not the card):
     the agent's at the start, its tail at the top, the person's at the end in the main action's ink.
   - What the agent is doing or did (agent-activity.js .aa-box) sits inside its card as a small trace, and the
     microphone's state (#liveMicStatus) reads as a small note under the chat, keeping its own state colours.
   - A reply that failed keeps its card, with a red dot before its words, and no red edge.
   The card's fill is --_agent-card: the story's own glass over the phone's portrait (so the words keep their contrast),
   the kit's well in the dock (desktop.css). The selectors start :root .verser-agent-panel.verser-agent-panel so they win
   over the app's own story bubble rules (index.html), which load after the kit.
   ========================================================================== */
:root .verser-agent-panel.verser-agent-panel{--_agent-card:var(--story-bubble-glass);--_agent-card-blur:var(--story-glass-filter)}
/* The list starts on the chat's own line (no inset of its own: the cards share the edge of the note and the text bar),
   and is the container the senders' names measure against. */
:root .verser-agent-panel.verser-agent-panel .messages{gap:var(--vx-sp-2h);padding-inline:0;container-type:inline-size}
:root .verser-agent-panel.verser-agent-panel .msg{gap:var(--vx-sp-1)}
:root .verser-agent-panel.verser-agent-panel .bubble{
  position:relative;margin-block-start:calc(var(--vx-agent-who-fs) * 1.3 + var(--vx-sp-1));padding:var(--vx-agent-msg-pad-y) var(--vx-agent-msg-pad-x);border:0;
  border-radius:var(--vx-agent-msg-r);border-start-start-radius:var(--vx-agent-msg-tail-r);background:var(--_agent-card);color:var(--vx-agent-msg-fg);
  box-shadow:none;text-shadow:none;-webkit-backdrop-filter:var(--_agent-card-blur);backdrop-filter:var(--_agent-card-blur)
}
:root .verser-agent-panel.verser-agent-panel .bubble>.msg-name{
  position:absolute;inset-block-end:calc(100% + var(--vx-sp-1));inset-inline-start:var(--vx-sp-1h);inline-size:max-content;max-inline-size:calc(100cqi - var(--vx-sp-3));
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--font);font-size:var(--vx-agent-who-fs);font-weight:var(--vx-fw-semibold);line-height:1.3;
  color:var(--vx-agent-who-fg);text-shadow:0 1px 3px var(--text-shadow-strong)
}
:root .verser-agent-panel.verser-agent-panel .msg.user{justify-items:end}
:root .verser-agent-panel.verser-agent-panel .bubble.user{
  justify-self:end;border-start-start-radius:var(--vx-agent-msg-r);border-start-end-radius:var(--vx-agent-msg-tail-r);
  background:var(--vx-agent-mine-bg);color:var(--vx-agent-mine-fg);-webkit-backdrop-filter:none;backdrop-filter:none
}
:root .verser-agent-panel.verser-agent-panel .bubble.user>.msg-name{inset-inline-start:auto;inset-inline-end:var(--vx-sp-1h);text-align:end}
:root .verser-agent-panel.verser-agent-panel .bubble.user .msg-text{color:var(--vx-agent-mine-fg)}
:root .verser-agent-panel.verser-agent-panel .msg.user .msg-actions{justify-self:end}
/* No red edge on a failed reply (the app's story rule draws one): its dot says it. */
:root .verser-agent-panel.verser-agent-panel .bubble.failed{border:0}
:root .verser-agent-panel.verser-agent-panel .bubble.failed>.msg-text::before{
  content:"";display:inline-block;inline-size:7px;block-size:7px;margin-inline-end:var(--vx-sp-2);border-radius:var(--vx-r-round);vertical-align:.1em;
  background:var(--vx-danger);box-shadow:0 0 var(--vx-sp-2) var(--vx-danger)
}
/* The agent's work, inside its card: a small trace (the kit's .vx-think / .vx-steps look) on the card's own surface (no
   well inside the card's well) and on its text line, the card's padding even round it; the reply's words follow it a
   --vx-sp-2 lower. */
:root .verser-agent-panel.verser-agent-panel .aa-box{margin:0;padding:0;border-radius:0;background:none;color:var(--vx-ink-2)}
:root .verser-agent-panel.verser-agent-panel .aa-box+.msg-text:not(:empty){margin-block-start:var(--vx-sp-2)}
:root .verser-agent-panel.verser-agent-panel .aa-box .aa-steps{border-inline-start:1px dashed var(--vx-hair-2)}
:root .verser-agent-panel.verser-agent-panel .aa-now .aa-ico{color:var(--vx-agent)}
/* The microphone's state as a small note under the chat (its live green and blocked red stay, workspace.css). */
:root .verser-agent-panel.verser-agent-panel .live-mic-status{
  --_note-pb:var(--vx-sp-1);--_note-pi:var(--vx-sp-3);--_note-stop-in:var(--vx-sp-0h);
  align-self:flex-start;inline-size:fit-content;max-inline-size:100%;margin-block:var(--vx-sp-0h) var(--vx-sp-1h);padding:var(--_note-pb) var(--_note-pi);
  border-radius:var(--vx-r-pill);background:var(--_agent-card);font-size:var(--vx-fs-4);text-shadow:none;
  -webkit-backdrop-filter:var(--_agent-card-blur);backdrop-filter:var(--_agent-card-blur)
}
/* Stop (and Listen now) while a reply is on its way: a pill inside the note's end, its line plus the note's padding less
   --_note-stop-in above and below, so it takes no more height than a line of the note: the note keeps its height when
   Stop comes and goes and the chat above it does not jump mid-reply (it grew the note by 24-28px). A finger still gets
   44px round it (an invisible area of its own). */
:root .verser-agent-panel.verser-agent-panel .live-mic-status>.listen-now{
  align-self:center;line-height:inherit;block-size:calc(1lh + 2 * (var(--_note-pb) - var(--_note-stop-in)));min-block-size:0;margin-block:calc(var(--_note-stop-in) - var(--_note-pb));
  margin-inline-end:calc(var(--_note-stop-in) - var(--_note-pi));padding-block:0;padding-inline:var(--vx-sp-2h);border-radius:var(--vx-r-pill)
}
@media (pointer:coarse){
  :root .verser-agent-panel.verser-agent-panel .live-mic-status>.listen-now::after{
    content:"";position:absolute;inset-block:min(0px,calc((100% - var(--vx-h)) / 2));inset-inline:min(0px,calc((100% - var(--vx-h)) / 2))}
}

/* Explicit main-dialogue variant: shared safe markup and actions, with two logical conversation edges. */
:root .verser-agent-panel.verser-agent-panel .messages[data-chat-variant="dialogue"]{gap:var(--vx-sp-3);min-inline-size:0;overflow-x:hidden;align-content:start}
:root .verser-agent-panel.verser-agent-panel .messages[data-chat-variant="dialogue"]>.msg{inline-size:100%;min-inline-size:0;justify-items:start}
:root .verser-agent-panel.verser-agent-panel .messages[data-chat-variant="dialogue"]>.msg.user{justify-items:end}
:root .verser-agent-panel.verser-agent-panel .messages[data-chat-variant="dialogue"]>.msg>.bubble{
  min-inline-size:0;max-inline-size:94%;justify-self:start;padding:var(--vx-sp-3);background:var(--vx-card-solid);color:var(--text);
  border-radius:var(--vx-r-md);border-start-start-radius:var(--vx-r-3xs);font-size:var(--vx-fs-8);text-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none
}
:root .verser-agent-panel.verser-agent-panel .messages[data-chat-variant="dialogue"]>.msg.user>.bubble{
  max-inline-size:88%;justify-self:end;background:var(--vx-btn-primary-bg);color:var(--vx-btn-primary-fg);
  border-start-start-radius:var(--vx-r-md);border-start-end-radius:var(--vx-r-3xs)
}
:root .verser-agent-panel.verser-agent-panel .messages[data-chat-variant="dialogue"]>.msg.user>.bubble>.msg-text{color:inherit}
:root .verser-agent-panel.verser-agent-panel .messages[data-chat-variant="dialogue"]>.msg>.bubble>.msg-name{color:var(--text-2);font-size:var(--vx-fs-4);text-shadow:none;max-inline-size:calc(100cqi - var(--vx-sp-3))}
:root .verser-agent-panel.verser-agent-panel .messages[data-chat-variant="dialogue"] .msg-text{font-size:var(--vx-fs-8);line-height:1.5;overflow-wrap:anywhere;min-inline-size:0}
:root .verser-agent-panel.verser-agent-panel .messages[data-chat-variant="dialogue"] .aa-box{color:var(--text-2)}
/* The phone dialogue fills the remaining stage below the header; an inline-size container must have an explicit
   width inside flex, or its intrinsic inline size can collapse to zero. */
@media (max-width:767px){
  #liveScreen:has(.messages[data-chat-variant="dialogue"]) .story-head{flex:none;margin-block-end:0;gap:var(--vx-sp-2)}
  #liveScreen:has(.messages[data-chat-variant="dialogue"]) .story-lower{flex:1 1 0;min-block-size:0;min-inline-size:0;inline-size:100%;flex-direction:column;align-items:stretch}
  #liveScreen:has(.messages[data-chat-variant="dialogue"]) #messages[data-chat-variant="dialogue"]{
    flex:1 1 auto;inline-size:100%;max-inline-size:100%;min-block-size:0;max-height:100%;padding-block:var(--vx-sp-4) var(--vx-sp-2)
  }
  #liveScreen:has(.messages[data-chat-variant="dialogue"]) #storyActions{
    position:static;flex-direction:row;flex-wrap:wrap;align-items:stretch;align-self:stretch;inline-size:100%;block-size:auto;min-block-size:0;gap:var(--vx-sp-1)
  }
  #liveScreen:has(.messages[data-chat-variant="dialogue"]) #storyActions>.story-action{
    flex:0 1 auto;inline-size:auto;min-inline-size:var(--vx-h);block-size:auto;min-block-size:var(--vx-h);padding:var(--vx-sp-1h) var(--vx-sp-2)
  }
}

:root .verser-agent-panel.verser-agent-panel .messages[data-chat-variant="dialogue"] .msg-time{display:block;margin-block-start:var(--vx-sp-1h);font-size:var(--vx-fs-2);font-weight:var(--vx-fw-regular);line-height:1.3;color:var(--text-2);text-align:end}
:root .verser-agent-panel.verser-agent-panel .messages[data-chat-variant="dialogue"]>.msg.user>.bubble>.msg-time{color:inherit}

/* Keep complete messages visible in the dialogue; the portrait-style fade belongs to the older chat strip. */
#liveScreen:has(.messages[data-chat-variant="dialogue"]) #messages[data-chat-variant="dialogue"]{-webkit-mask-image:none;mask-image:none}
/* The open desktop dialogue keeps its existing shortcuts in a wrapped toolbar under the agent identity. */
body.desk.desk-dock:not(.desk-dock-min,.desk-dock-chat) #liveScreen.docked:has(.messages[data-chat-variant="dialogue"]) .story-head{flex:none;margin-block-end:0;gap:var(--vx-sp-3)}
body.desk.desk-dock:not(.desk-dock-min,.desk-dock-chat) #liveScreen.docked:has(.messages[data-chat-variant="dialogue"]) #storyActions{
  flex-direction:row;flex-wrap:wrap;align-items:stretch;align-self:stretch;inline-size:auto;block-size:auto;min-inline-size:0;gap:var(--vx-sp-1)
}
body.desk.desk-dock:not(.desk-dock-min,.desk-dock-chat) #liveScreen.docked:has(.messages[data-chat-variant="dialogue"]) #storyActions>.story-action{
  flex:0 1 auto;inline-size:auto;min-inline-size:var(--vx-h);min-block-size:var(--vx-h);padding:var(--vx-sp-1h) var(--vx-sp-2)
}
body.desk.desk-dock:not(.desk-dock-min,.desk-dock-chat) #liveScreen.docked:has(.messages[data-chat-variant="dialogue"]) #storyActions>.story-action:not(.hidden,.story-action-folded){display:flex}

/* Sender identity belongs inside each primary-dialogue bubble, ahead of real activity and reply text. */
#liveScreen:has(.messages[data-chat-variant="dialogue"]) #avatarStage{display:none}
#liveScreen:has(.messages[data-chat-variant="dialogue"]) #storyActions{order:-1}
:root .verser-agent-panel.verser-agent-panel .messages[data-chat-variant="dialogue"]>.msg>.bubble{margin-block-start:0}
:root .verser-agent-panel.verser-agent-panel .messages[data-chat-variant="dialogue"] .msg-sender{
  display:flex;align-items:center;gap:var(--vx-sp-2);min-inline-size:0;margin-block-end:var(--vx-sp-2);color:var(--text-2)
}
:root .verser-agent-panel.verser-agent-panel .messages[data-chat-variant="dialogue"] .msg-sender>.msg-name{
  position:static;inset:auto;inline-size:auto;min-inline-size:0;max-inline-size:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:var(--vx-fs-4);font-weight:var(--vx-fw-semibold);line-height:1.3;color:inherit;text-shadow:none
}
:root .verser-agent-panel.verser-agent-panel .messages[data-chat-variant="dialogue"]>.msg.user>.bubble>.msg-sender{color:inherit}

/* Debate and Tools keep their existing entries in More, leaving four primary actions in the top row. */
body.desk.desk-dock:not(.desk-dock-min,.desk-dock-chat) #liveScreen.docked:has(.messages[data-chat-variant="dialogue"]) #storyActions>.story-action-folded{display:none}

/* The phone menu occupies the same top row as the four dialogue actions, rather than a separate reserved band. */
body.verser-open:not(.desk):has(#liveScreen .messages[data-chat-variant="dialogue"]) #liveScreen .story-overlay{padding-block-start:var(--verser-nav-top)}
body.verser-open:not(.desk):has(#liveScreen .messages[data-chat-variant="dialogue"]) #profileBtn{inset-inline-start:var(--edge-left)}
body.verser-open:not(.desk):has(#liveScreen .messages[data-chat-variant="dialogue"]) #storyActions{
  box-sizing:border-box;flex-wrap:nowrap;min-block-size:var(--verser-nav-size);padding-inline-start:calc(var(--verser-nav-size) + var(--vx-sp-2));gap:var(--vx-sp-1)
}
body.verser-open:not(.desk):has(#liveScreen .messages[data-chat-variant="dialogue"]) #storyActions>.story-action{
  flex:0 1 auto;min-inline-size:var(--verser-nav-size);block-size:var(--verser-nav-size);min-block-size:var(--verser-nav-size);padding:var(--vx-sp-0h) var(--vx-sp-1)
}

/* Primary AI work belongs to its message, before the reply card, and uses the conversation's own surface. */
:root .verser-agent-panel.verser-agent-panel .messages[data-chat-variant="dialogue"]>.msg.agent>.aa-dialogue{
  justify-self:stretch;inline-size:100%;min-inline-size:0;margin:0;padding:0;background:none;border:0;border-radius:unset;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none
}
/* Sender and timestamp alone do not make an empty streaming placeholder a reply. Other meaningful content keeps it visible. */
:root .verser-agent-panel.verser-agent-panel .messages[data-chat-variant="dialogue"]>.msg.agent>.bubble.agent:not(.failed):has(>.msg-text:empty):not(:has(>:not(.msg-sender,.msg-text,.msg-time))){display:none}

/* The primary dialogue header uses the requested smaller, light native system face. */
#liveScreen:has(.messages#messages[data-chat-variant="dialogue"]) :is(#storyActions .story-action-label,#liveName){
  font-family:system-ui,-apple-system,BlinkMacSystemFont,sans-serif;font-weight:300;line-height:1.2;letter-spacing:normal;text-shadow:none
}
#liveScreen:has(.messages#messages[data-chat-variant="dialogue"]) #storyActions .story-action-label{font-size:var(--vx-fs-2)}
#liveScreen:has(.messages#messages[data-chat-variant="dialogue"]) #liveName{font-size:var(--vx-fs-6)}
