.gem-chat .str-chat__message .str-chat__message-inner>.gem-message-actions{width:calc(var(--str-chat-message-options-size) + 12px);grid-area:options;align-items:flex-start;min-width:0;display:flex}.gem-chat .str-chat__message.str-chat__message--other .str-chat__message-inner>.gem-message-actions{justify-content:flex-start}.gem-chat .str-chat__message.str-chat__message--me .str-chat__message-inner>.gem-message-actions{justify-content:flex-end}.gem-chat .str-chat__message .str-chat__message-inner>.gem-message-actions:empty{display:none}.gem-chat .str-chat__message.str-chat__message--other .str-chat__message-inner:has(>.gem-message-actions){margin-inline-end:0}.gem-chat .str-chat__message.str-chat__message--me .str-chat__message-inner:has(>.gem-message-actions){margin-inline-start:0}.gem-chat .str-chat__message-inner>.gem-message-actions .str-chat__message-options{border:1px solid var(--gem-card-border);border-radius:var(--gem-radius-pill);background:var(--gem-panel);width:max-content;box-shadow:var(--gem-shadow-raised);--str-chat__message-options-color:var(--gem-accent);--str-chat__message-options-active-color:var(--gem-accent);--str-chat__background-utility-hover:var(--gem-accent-soft);--str-chat__background-utility-pressed:var(--gem-accent-soft);align-items:center;gap:2px;padding:2px}.gem-chat .gem-message-actions .str-chat__message-options .str-chat__button.str-chat__button--ghost{color:var(--gem-accent);transition:background-color var(--gem-motion) ease}.gem-chat .str-chat .str-chat__context-menu.str-chat__message-actions-box{border:1px solid var(--gem-card-border);border-radius:var(--gem-radius-control);background:var(--gem-panel);min-width:200px;color:var(--gem-text);box-shadow:var(--gem-shadow-menu);padding:4px}.gem-chat .str-chat .str-chat__message-actions-box .str-chat__context-menu__button.str-chat__message-actions-list-item-button{min-height:36px;color:var(--gem-text);transition:background-color var(--gem-motion) ease;border-radius:8px;gap:10px;padding:0 10px;font-size:14px;font-weight:500;line-height:20px}.gem-chat .str-chat .str-chat__message-actions-box .str-chat__context-menu__button.str-chat__message-actions-list-item-button:hover:not(:disabled){background-color:var(--gem-fill-hover)}.gem-chat .str-chat .str-chat__message-actions-box .str-chat__context-menu__button.str-chat__message-actions-list-item-button:active:not(:disabled){background-color:var(--gem-fill-pressed)}.gem-chat .str-chat .str-chat__message-actions-box .str-chat__context-menu__button:focus-visible{outline-offset:-2px}.gem-chat .str-chat .str-chat__message-actions-box .str-chat__context-menu__button .str-chat__icon{width:18px;height:18px;color:var(--gem-accent)}.gem-chat .str-chat .str-chat__message-actions-box .str-chat__context-menu__button.str-chat__context-menu__button--destructive .str-chat__context-menu__button__label,.gem-chat .str-chat .str-chat__message-actions-box .str-chat__context-menu__button.str-chat__context-menu__button--destructive .str-chat__icon{color:var(--gem-danger)}.gem-chat .str-chat__message.str-chat__message--me~.gem-message-edit{margin-inline-start:auto}.gem-chat .gem-message-edit .gem-message-edit-actions{align-items:center}.gem-chat .gem-message-edit .gem-message-edit-actions .gem-note{margin-inline-end:auto}.gem-chat .gem-message-edit textarea.gem-input{font-size:15px;line-height:22px}.gem-chat .gem-note.gem-message-error{padding:2px 8px 6px}.gem-chat .str-chat__message.str-chat__message--me~.gem-note.gem-message-error{text-align:end}.gem-chat .gem-poll .gem-poll-header{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:8px;display:flex}.gem-chat .gem-poll .gem-poll-meta{color:var(--gem-text-secondary);font-size:12px;font-weight:500}.gem-chat .gem-poll>p{margin:0 0 12px}.gem-chat .gem-poll .gem-poll-option{gap:4px;display:grid}.gem-chat .gem-poll .gem-poll-option-label{overflow-wrap:anywhere;align-items:center;gap:6px;min-width:0;display:inline-flex}.gem-chat .gem-poll .gem-poll-option .gem-note{padding-inline:12px}.gem-chat .gem-poll .gem-poll-comments{gap:8px;margin-top:12px;display:grid}.gem-chat .gem-poll .gem-poll-comments>p{color:var(--gem-text);margin:0;font-size:13px}.gem-chat .gem-poll .gem-poll-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.gem-chat .gem-poll .gem-poll-comments .gem-poll-actions{margin-top:0}.gem-chat .gem-poll .gem-poll-inline-form{justify-items:start;gap:8px;margin-top:12px;display:grid}.gem-chat .gem-poll .gem-poll-inline-form label{flex-direction:column;align-items:stretch;gap:6px;width:100%}.gem-chat.gem-dialog-host{display:contents}.gem-chat .gem-dialog{width:min(var(--gem-dialog-field-width), calc(100vw - 32px));border:1px solid var(--gem-card-border);border-radius:var(--gem-radius-card);background:var(--gem-panel);max-width:none;max-height:calc(100dvh - 48px);color:var(--gem-text);box-shadow:var(--gem-shadow-menu);padding:0;overflow:hidden}.gem-chat .gem-dialog[open]{flex-direction:column;display:flex}.gem-chat .gem-dialog::backdrop{background:var(--gem-scrim)}.gem-chat .gem-dialog .gem-dialog-card,.gem-chat .gem-dialog .gem-dialog-form{flex-direction:column;flex:auto;min-height:0;display:flex}.gem-chat .gem-dialog .gem-dialog-header{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:14px 14px 6px 24px;display:flex}.gem-chat .gem-dialog .gem-dialog-header h2{font-size:18px;font-weight:600}.gem-chat .gem-dialog .gem-dialog-body{flex:auto;gap:16px;min-height:0;padding:8px 24px 20px;display:grid;overflow:auto}.gem-chat .gem-dialog .gem-dialog-actions{border-top:1px solid var(--gem-divider);flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;gap:8px;padding:12px 24px 20px;display:flex}.gem-chat .gem-dialog .gem-poll-fields{border:0;gap:18px;min-width:0;margin:0;padding:0;display:grid}.gem-chat .gem-dialog .gem-poll-fields .gem-field{gap:8px}.gem-chat .gem-dialog .gem-poll-add-option{align-self:flex-start}.gem-chat .gem-dialog .gem-poll-toggle{cursor:pointer;align-items:flex-start;gap:10px;font-size:14px;display:flex}.gem-chat .gem-dialog .gem-poll-toggle>span{gap:2px;display:grid}.gem-chat .gem-dialog .gem-poll-toggle input{accent-color:var(--gem-accent);cursor:pointer;margin:3px 0 0}.gem-chat .gem-dialog .gem-poll-toggle-label{font-weight:500}.gem-chat .gem-field{flex-direction:column;gap:6px;min-width:0;display:flex}.gem-chat .gem-field .gem-input{width:100%;min-width:0}.gem-chat .gem-field-label{letter-spacing:.4px;text-transform:uppercase;color:var(--gem-text-secondary);font-size:12px;font-weight:600}.gem-chat .gem-button.gem-button-disabled{opacity:.55;cursor:default;pointer-events:none}.gem-chat .gem-tool-surface{flex-direction:column;gap:16px;min-width:0;display:flex}.gem-chat .gem-tool-surface.gem-tool-surface-embedded{max-width:none;padding:12px 16px 24px}.gem-chat .gem-tool-surface .gem-tool-header,.gem-chat.gem-share .gem-tool-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;margin:0;display:flex}.gem-chat .gem-tool-surface .gem-tool-header h2,.gem-chat.gem-share .gem-tool-header h1{overflow-wrap:anywhere;min-width:0}.gem-chat .gem-tool-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.gem-chat .gem-tool-section{gap:10px;min-width:0;display:grid}.gem-chat .gem-tool-section-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.gem-chat .gem-tool-section-header h3{margin:0;font-size:15px;font-weight:600}.gem-chat .gem-tool-callout{border-radius:var(--gem-radius-control);background:var(--gem-accent-soft);gap:10px;padding:12px 14px;display:grid}.gem-chat .gem-tool-callout p{margin:0;font-size:13px;line-height:1.5}.gem-chat .gem-tool-surface .gem-conversation-links{padding:0}.gem-chat .gem-group-settings input.gem-visually-hidden[type=file]{border:0;width:1px;height:1px;padding:0}.gem-chat .gem-tool-surface .gem-group-directory{padding:4px 0}.gem-chat .gem-tool-surface .gem-group-member{gap:12px;min-width:0}.gem-chat .gem-tool-surface .gem-group-member>span{overflow-wrap:anywhere;min-width:0}.gem-chat .gem-conversation-archive .gem-archive-item{gap:4px;min-width:0;display:grid}.gem-chat .gem-conversation-archive .gem-archive-item>.gem-button{justify-self:start}.gem-chat.gem-share>section{align-content:start;gap:12px;display:grid}.gem-chat.gem-share .gem-share-columns h2{margin:12px 0 4px}.gem-chat.gem-share .gem-share-option{cursor:pointer}.gem-chat .gem-chat-state.gem-share-state{justify-items:center;gap:12px;display:grid}