.bpg-user-turn{position:relative;display:flex;flex-direction:column;align-items:flex-end;min-width:0;max-width:100%;width:fit-content;padding-bottom:31px;margin-bottom:-21px}.bpg-user-turn.bpg-user-brief{width:100%;margin-bottom:2px}.bpg-user-turn>.brief-summary{width:100%;margin-bottom:0}.studio-chat-user .bpg-user-turn>.studio-chat-user-text,.user-message .bpg-user-turn>p{border-radius:28px;padding:14px 20px;overflow-wrap:anywhere}.bpg-user-actions{position:absolute;bottom:0;right:7px;display:flex;align-items:center;gap:3px;height:29px;opacity:0;pointer-events:none;transition:opacity .16s ease}.bpg-user-turn:focus-within>.bpg-user-actions,.bpg-user-turn:hover>.bpg-user-actions{opacity:1;pointer-events:auto}.bpg-user-actions button{display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--muted-foreground);cursor:pointer;transition:background .16s ease,color .16s ease,transform .16s ease}.bpg-user-actions button:hover{background:var(--muted);color:var(--foreground)}.bpg-user-actions button:active{transform:scale(.91)}.bpg-user-actions button:disabled{opacity:.4;cursor:default}.bpg-edit-cancel:focus-visible,.bpg-user-actions button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.bpg-message-action-tooltip[data-slot=tooltip-content]{padding:5px 9px;border:1px solid var(--border);border-radius:999px;background:var(--popover);color:var(--popover-foreground);font-family:inherit;font-size:12px;font-weight:400;line-height:1.2;box-shadow:0 2px 8px #00000012;animation:bpg-message-tooltip-in .12s ease-out}.bpg-message-action-tooltip[data-slot=tooltip-content]>span{display:none}.bpg-message-action-tooltip[data-state=closed]{animation:none}@keyframes bpg-message-tooltip-in{0%{opacity:0}to{opacity:1}}.bpg-user-turn[data-editing]{width:min(660px,100%);padding-bottom:0;margin-bottom:0}.bpg-message-editor{width:100%;min-width:0;padding:15px 18px;border:1px solid var(--border);border-radius:28px;background:var(--card)}.bpg-message-editor textarea{display:block;width:100%;min-height:88px;max-height:360px;resize:vertical;overflow-y:auto;border:0;background:transparent;color:var(--foreground);font:inherit;line-height:1.65;outline:none}.bpg-message-editor small{display:block;margin-top:10px;color:var(--muted-foreground);font-size:12px;line-height:1.5}.bpg-message-editor-buttons{display:flex;justify-content:flex-end;gap:9px;margin-top:12px}.bpg-edit-cancel,.bpg-message-editor .bpg-edit-send{min-height:36px;height:36px;min-width:72px;padding:0 16px;border-radius:20px;font-size:13px}.bpg-edit-cancel{border:1px solid var(--border);background:var(--background);color:var(--foreground);cursor:pointer}.bpg-message-error{font-size:12px;color:var(--muted-foreground);padding-top:5px}@media(hover:none),(pointer:coarse){.bpg-user-actions{opacity:1;pointer-events:auto}}@media(prefers-reduced-motion:reduce){.bpg-user-actions,.bpg-user-actions button{transition:none}.bpg-message-action-tooltip[data-slot=tooltip-content]{animation:none}}.user-message-content:has(.bpg-user-turn[data-editing]){width:85%}.bpg-message-delete-dialog [data-slot=alert-dialog-footer]{display:flex;flex-direction:row;justify-content:flex-end;gap:12px}.bpg-message-delete-dialog .shared-control-button{min-height:44px;min-width:104px;padding:10px 22px;font-size:15px}.bpg-message-delete-dialog .bpg-message-delete-cancel{background:transparent;border-color:var(--border)}.bpg-message-delete-dialog .bpg-message-delete-confirm{background:#fee2e2;color:#b42318;border-color:transparent;--control-hover-fill:#b42318;--control-hover-ink:#fff}.dark .bpg-message-delete-dialog .bpg-message-delete-confirm{background:#482522;color:#ffaaa1}