/* Try without signing up (BACKLOG «رشد-۱۵»): one sheet over the sign-in screen. Bubbles and the waiting nuqta are the chat's own. */
/* As tall as the conversation, up to the sheet's ceiling; then only the messages scroll. */
#guest-trial-dialog[open] { grid-template-rows: auto auto minmax(0, 1fr) auto auto auto; max-block-size: min(92dvh, 720px); }
#guest-trial-dialog h2 { margin: 0; font-size: var(--text-title3); }
.guest-trial-intro { display: grid; gap: var(--space-1); justify-items: start; }
.guest-trial-intro .subtitle { margin: 0; color: var(--color-muted); font-size: var(--text-subhead); }
.guest-trial-privacy { color: var(--color-accent); font-size: var(--text-caption); }
.guest-trial-messages { display: flex; flex-direction: column; min-block-size: 96px; overflow-y: auto; overscroll-behavior: contain; padding-block: var(--space-2); }
.guest-trial-messages > .message:first-of-type { margin-block-start: auto; }
.guest-trial-messages[hidden] { display: none; }
.guest-trial-empty { margin: auto; color: var(--color-muted); font-size: var(--text-subhead); text-align: center; }
.guest-trial-empty[hidden] { display: none; }
#guest-trial-dialog .status:empty { display: none; }
.guest-trial-composer { display: flex; align-items: flex-end; gap: var(--space-2); padding: var(--space-2); border-radius: var(--radius-xl); background: var(--color-fill); }
.guest-trial-composer[hidden] { display: none; }
.guest-trial-composer:focus-within { box-shadow: inset 0 0 0 2px var(--color-accent); } /* taste-skill-ignore: the focus ring, not a resting shadow */
/* The capsule carries the ring, as on the chat composer; the field itself draws nothing. */
.guest-trial-composer textarea, .guest-trial-composer textarea:hover, .guest-trial-composer textarea:focus-visible {
  flex: 1; min-inline-size: 0; min-block-size: var(--tap); max-block-size: 160px; padding: var(--space-2) var(--space-3); border: 0; border-radius: 0;
  outline-color: transparent; box-shadow: none; /* taste-skill-ignore: removes the global field ring */ background: transparent; color: var(--color-ink); font-size: max(16px, var(--text-body)); line-height: 1.6; resize: none;
}
[dir="rtl"] .guest-trial-composer textarea:placeholder-shown { direction: rtl; text-align: start; }
.guest-trial-composer textarea::placeholder { color: var(--color-muted); }
.guest-trial-send { flex: none; }
.guest-trial-used { display: grid; gap: var(--space-3); justify-items: start; padding: var(--space-4); border-radius: var(--radius-lg); background: var(--color-accent-soft); }
.guest-trial-used[hidden] { display: none; }
.guest-trial-used p { margin: 0; }
.guest-trial-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); }
.guest-trial-left { margin: 0; color: var(--color-muted); font-size: var(--text-caption); font-variant-numeric: var(--numeric); }
.guest-trial-foot[hidden] { display: none; }
