/* The guided flow for enquiries and applications (public/conversation.js) inside the irv2 pages. Same script, same markup, same rules:
   only the palette, the type, the motion and the fit to this page's header are set here. The flow's own stylesheet reads its colours
   from the --body-* names, so giving those the irv2 values is most of the work. */
.pg-form{--body-paper:var(--paper);--body-ink:var(--ink);--body-muted:var(--g1);--body-surface:var(--g5);--body-line:var(--g3);--body-accent:var(--orange)}
.pg-form main{max-width:none;margin:0!important;padding:0!important}
.pg-form .conversation-surface,.pg-form .conversation-surface *{box-sizing:border-box}
body.pg-form{padding-top:0!important}
.pg-form main>section.conversation-surface{height:100dvh;min-height:520px;max-width:none;margin:0;padding:96px clamp(20px,5vw,60px) 24px;border:0}
.pg-form main>section.conversation-surface>*{opacity:1;transform:none;transition:none}
.pg-form .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:where(.pg-form .conversation-surface) button{font:inherit;color:inherit;cursor:pointer;background:none;border:0}
:where(.pg-form .conversation-surface) :is(textarea,input){font:inherit;color:inherit;background:none}
/* The palette's orange is a signal here, not a surface: the sender's mark sits on a quiet light disc, and what you can press answers in orange. */
.pg-form .conversation-avatar:not(.has-portrait),.pg-form .conversation-assistant-avatar{background:#f7f7f5;border:1px solid var(--g3)}
.pg-form .conversation-chip{transition:background var(--t-hover) ease,border-color var(--t-hover) ease,color var(--t-hover) ease}
.pg-form .conversation-chip:hover{background:var(--orange);border-color:var(--orange);color:#0d0d0d}
/* Sending is one of the identity's squares: an outline until there is something to send, then filled. */
.pg-form .conversation-send{border-radius:10px;background:var(--orange);color:#0d0d0d;transition:background var(--t-hover) ease,transform var(--t-hover) ease}
.pg-form .conversation-send:not(:disabled):hover{transform:scale(1.06)}
.pg-form .conversation-send:disabled{background:transparent;border:1px solid var(--g3);color:var(--g1)}
.pg-form .conversation-note{font-size:12.5px;line-height:1.5}
/* Each question and each answer rises into the thread as it arrives. */
@keyframes flow-in{from{opacity:0;transform:translateY(14px)}}
.pg-form .conversation-history>*,.pg-form .conversation-choices>*,.pg-form .conversation-review>*{animation:flow-in var(--t-stage) cubic-bezier(.2,.8,.2,1) both}
.pg-form .conversation-choices>*:nth-child(2){animation-delay:.04s}.pg-form .conversation-choices>*:nth-child(3){animation-delay:.08s}.pg-form .conversation-choices>*:nth-child(n+4){animation-delay:.12s}
@media (prefers-reduced-motion:reduce){.pg-form .conversation-history>*,.pg-form .conversation-choices>*,.pg-form .conversation-review>*{animation:none}}
/* The review is as wide as the thread and the box you write in, so its edges line up with them. */
.pg-form .conversation-review{max-width:none;margin-left:0;margin-right:0}
.pg-form .conversation-review .conversation-help+.conversation-help{margin-top:8px!important}
