/* Prompt assist: the status line, the review note and the "what to change in the example" panel under a prompt field. */
.pa-status,.pa-note{box-sizing:border-box;margin:10px 0 0;font-family:inherit;font-size:13px;line-height:1.5;color:var(--zs-text,var(--ink,var(--text,#20242c)));text-align:left}
.pa-status{display:flex;align-items:center;gap:10px;padding:2px 2px 0;color:var(--zs-text-2,var(--muted,var(--dim,#596270)))}
.pa-spin{flex:none;width:16px;height:16px;border-radius:50%;border:2px solid rgba(51,77,206,.22);border-top-color:#334dce;animation:pa-turn .8s linear infinite}
@keyframes pa-turn{to{transform:rotate(360deg)}}
.pa-note{padding:13px 14px 14px;border:1px solid rgba(51,77,206,.24);border-radius:12px;background:rgba(51,77,206,.07)}
.pa-note strong{display:block;font-size:13px;font-weight:600;margin:0 0 2px}
.pa-note p{margin:0;font-size:13px;line-height:1.5;color:inherit;opacity:.82;text-align:left}
.pa-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}
.pa-btn{appearance:none;min-height:40px;padding:0 15px;border-radius:9px;font:inherit;font-size:13px;font-weight:600;line-height:1;cursor:pointer;white-space:nowrap;transition:background .18s,border-color .18s}
.pa-primary{border:1px solid #334dce;background:#334dce;color:#fff}
.pa-primary:hover{background:#283fae;border-color:#283fae}
.pa-ghost{border:1px solid rgba(127,134,150,.45);background:transparent;color:inherit}
.pa-ghost:hover{border-color:#334dce}
.pa-btn:focus-visible{outline:2px solid #334dce;outline-offset:2px}
.pa-note .pa-change{display:block;box-sizing:border-box;width:100%;height:68px;min-height:68px!important;max-height:180px;margin:10px 0 0;padding:10px 12px;border:1px solid rgba(127,134,150,.45);border-radius:10px;background:var(--zs-bg,var(--bg,#fff));color:inherit;font:inherit;font-size:14px;line-height:1.45!important;resize:vertical}
.pa-note.pa-top{margin:0 0 10px}
.pa-change:focus{outline:none;border-color:#334dce;box-shadow:0 0 0 3px rgba(51,77,206,.16)}
.pa-change::placeholder{color:inherit;opacity:.55}
.pa-btn[hidden]{display:none}
.pa-btn[aria-pressed="true"]{border-color:#334dce;background:rgba(51,77,206,.12);color:#334dce}
textarea.pa-open{max-height:70vh!important;overflow-y:auto}
/* Studio fields: a long text (handed over, restored or written out) is shown whole, and the round send button
   in the bottom-right corner never covers its last lines. */
.prompt-box textarea{max-height:70vh!important;padding-bottom:44px!important}
textarea[aria-busy="true"]{opacity:.6}
@media(max-width:600px){.pa-btn{min-height:44px;flex:1 1 auto}.pa-note .pa-change{font-size:16px;height:94px;min-height:94px!important}}
@media(prefers-reduced-motion:reduce){.pa-spin{animation-duration:2.4s}}
