/* ==========================================================================
   AGENT EXTRAS (agent-history.js): the dock's More, Earlier chats and the Activity tab of From agents.
   Kit parts only (row list, pill, chat bubbles, menu); tokens only.
   ========================================================================== */

/* A7: Debate and Tools are pressed from More; their own buttons stay in the column, out of sight. */
.story-actions>.story-action-folded{display:none}
/* The column is as wide as its widest name ("From agents"), each button the same width, never under 56px. */
.story-actions{align-items:stretch}
.story-actions>.story-action{inline-size:auto;min-inline-size:56px;padding-inline:var(--space-1)}
.story-action-label{white-space:nowrap}
/* On the phone stage the column is the picture's width and every icon and name is centred on the picture's centre line,
   as ☰ above it is; a name wider than the picture runs out evenly on both sides (the lead, 6 Nov: the column sat off to
   the side of the picture). */
body.verser-open .story-actions{inline-size:56px;align-items:center}
body.verser-open .story-actions>.story-action{inline-size:56px;min-inline-size:0;padding-inline:0;overflow:visible}
/* A name wider than the picture ("From agents") wraps under its icon inside the picture's width, so it stays on the
   screen's gutter (it ran 8px past it); its button grows to hold the two lines and the buttons under it move down with
   it (the chat's floor is the column's measured end, workspace.js STAGE FACE GUARD). */
body.verser-open .story-actions>.story-action>.story-action-label{white-space:normal;text-align:center;text-wrap:balance}
body.verser-open #storyActions>.story-action{flex:none;block-size:auto}

/* A3: Earlier chats in a sheet. */
.ax-note{margin:0 0 var(--space-3);font-family:var(--font-mono);font-size:var(--font-size-caption);color:var(--text-muted)}
.ax-days{padding-inline:var(--space-3)}
.ax-day{min-block-size:var(--tap-min)}
.ax-day .verser-row-card-text{gap:2px}
.ax-day-summary{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
  font-size:var(--font-size-caption);line-height:1.4;color:var(--text-secondary)}
.ax-day-summary.is-empty{color:var(--text-muted)}
.ax-day .verser-row-card-meta{white-space:nowrap}

.ax-day-head{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);margin-block-end:var(--space-3)}
.ax-day-head .ax-back{margin-inline-start:calc(var(--space-2) * -1)}
.ax-day-title{flex:1 1 auto;margin:0;font-size:var(--font-size-body);font-weight:700}
.ax-readonly{flex:none}
.ax-day-summary-full{margin:0 0 var(--space-3);padding:var(--space-3);border-radius:var(--radius-md);background:var(--fill-2);
  font-size:var(--font-size-small);line-height:1.5;color:var(--text-secondary);white-space:pre-line}
/* The day's messages: the chat kit's bubbles, the whole day in the sheet's own scroll. */
.ax-messages.messages{max-height:none;overflow:visible;padding-inline:0}
.ax-messages .msg{display:grid}
.ax-messages .msg-name{display:block;font-size:var(--font-size-meta);font-weight:600;opacity:.8}
.ax-messages .msg-text{display:block;white-space:pre-line}
.ax-msg-time{display:block;margin-block-start:2px;font-family:var(--font-mono);font-size:var(--font-size-meta);opacity:.7;
  font-variant-numeric:tabular-nums}

/* N4: Activity in From agents. Nothing to decide there, so no write button and no pages. */
#inboxScreen[data-view="activity"] #inboxComposeFab,#inboxScreen[data-view="activity"] #inboxPager{display:none}
.ax-act-when{font-variant-numeric:tabular-nums}
.ax-act{padding-inline:var(--vx-sp-4h)}
