.agent-editor-init-modal, .agent-editor-avatar-modal { max-width: calc(100vw - 1rem); } .agent-editor-init-content { padding: 0.5rem 0; } .agent-editor-init-header { margin-bottom: 1.125rem; } .agent-editor-init-badge { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.875rem; padding: 0.375rem 0.75rem; border-radius: 999px; background: rgba(0, 97, 255, 0.08); color: var(--color-brand); font-size: 0.75rem; font-weight: 700; } .agent-editor-init-title { margin-bottom: 0.5rem; color: var(--color-text); font-size: 1.75rem; font-weight: 800; } .agent-editor-init-subtitle { color: var(--color-text-secondary); font-size: 0.90625rem; line-height: 1.75; } .agent-editor-modal-hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 1rem; } .agent-editor-modal-card { border: 1px solid rgba(150, 177, 217, 0.32); border-radius: 1.25rem; background: var(--color-surface); box-shadow: 0 18px 42px rgba(10, 28, 72, 0.08); } .agent-editor-preview-card { padding: 1.375rem 1.25rem; background: linear-gradient(180deg, rgba(235, 246, 255, 0.98), rgba(247, 251, 255, 0.98)); } .agent-editor-avatar-preview { position: relative; display: flex; width: 5.5rem; height: 5.5rem; align-items: center; justify-content: center; margin: 0 auto; overflow: hidden; border-radius: 999px; background: linear-gradient(135deg, #0046c8, #12b7ff); box-shadow: 0 18px 32px rgba(0, 97, 255, 0.22); color: #fff; font-size: 1.875rem; font-weight: 800; outline: 4px solid #fff; } .agent-editor-avatar-image { width: 100%; height: 100%; object-fit: cover; } .agent-editor-preview-text { margin-top: 1rem; text-align: center; } .agent-editor-preview-name { margin-bottom: 0.25rem; color: var(--color-text); font-size: 1.0625rem; font-weight: 800; } .agent-editor-preview-caption { color: var(--color-text-secondary); font-size: 0.78125rem; line-height: 1.7; } .agent-editor-init-form { padding: 1.25rem; } .agent-editor-form-label { color: var(--color-text-secondary); font-weight: 700; } .agent-editor-form-input, .agent-editor-form-textarea { border-color: rgba(150, 177, 217, 0.45); border-radius: 0.75rem; } .agent-editor-form-input { height: 3rem; } .agent-editor-suggestion-list { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 1rem; } .agent-editor-suggestion-chip { border: 0; border-radius: 999px; padding: 0.375rem 0.625rem; background: var(--color-surface-2); color: var(--color-text-secondary); cursor: pointer; font-size: 0.78125rem; transition: background 0.2s ease, color 0.2s ease; } .agent-editor-suggestion-chip:hover { background: rgba(0, 97, 255, 0.1); color: var(--color-brand); } .agent-editor-init-actions { display: flex; gap: 1rem; padding-top: 0.5rem; } .agent-editor-secondary-action, .agent-editor-primary-action { flex: 1; height: 3rem; border-radius: 0.75rem; font-weight: 700; } .agent-editor-primary-action { border: 0; } .agent-editor-avatar-section { margin-top: 1rem; } .agent-editor-avatar-heading { margin-bottom: 0.75rem; padding: 0 0.25rem; color: #8a9ab8; font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; } .agent-editor-avatar-toolbar, .agent-editor-avatar-modal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.75rem; } .agent-editor-avatar-hint { color: var(--color-text-secondary); font-size: 0.78125rem; } .agent-editor-upload-button { border-radius: 0.625rem; } .agent-editor-avatar-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.75rem; } .agent-editor-avatar-grid-panel { max-height: 25rem; overflow-y: auto; border-radius: 1rem; background: var(--color-surface-2); padding: 1rem; } .agent-editor-avatar-option { position: relative; width: 5rem; height: 5rem; min-width: 5rem; margin: 0 auto; overflow: hidden; border: 2px solid transparent; border-radius: 999px; background: #f3f7ff; cursor: pointer; opacity: 0.72; transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; } .agent-editor-avatar-option:hover, .agent-editor-avatar-option-active { opacity: 1; transform: scale(1.06); } .agent-editor-avatar-option-active { z-index: 1; border-color: var(--color-brand); box-shadow: 0 12px 26px rgba(0, 97, 255, 0.18); } .agent-editor-avatar-selected { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 97, 255, 0.1); } .agent-editor-avatar-dot { width: 0.75rem; height: 0.75rem; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 0.25rem var(--color-brand); }