.agent-create-modal{--openclaw-modal-width:440px}.agent-create-dialog{border:1px solid var(--border);border-radius:var(--radius-xl);background:var(--bg-elevated);width:100%;height:min(540px,100dvh - 48px);max-height:calc(100dvh - 48px);color:var(--text);box-shadow:var(--shadow-xl);grid-template-rows:auto minmax(0,1fr) auto;display:grid;overflow:hidden}.agent-create-dialog__header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:54px;padding:12px 16px;display:flex}.agent-create-dialog__header h2{margin:0;font-size:14px;font-weight:600}.agent-create-dialog__close{border-radius:var(--radius-md);width:30px;height:30px;color:var(--muted);background:0 0;border:0;flex:none;place-items:center;display:grid}@media (hover:hover){.agent-create-dialog__close:hover{background:var(--bg-hover);color:var(--text)}}.agent-create-dialog__body{min-height:0;padding:16px;overflow:auto}.agent-create-dialog__preview{place-items:center;min-height:92px;margin-bottom:12px;display:grid}.agent-create-dialog__preview .identity-avatar--agent{border-radius:50%;width:76px;height:76px;overflow:hidden}.agent-create-dialog__preview .agent-create-dialog__ghost{width:76px;animation:none}.agent-create-dialog__name input{border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--bg);width:100%;height:42px;color:var(--text);font:inherit;text-align:center}.agent-create-dialog .avatar-picker{width:100%;margin-top:12px}.agent-create-dialog .avatar-picker__panel{background:0 0;border:0;border-radius:0}.agent-create-dialog .avatar-picker__tabs{border-bottom:0;justify-content:center;padding:4px 0 8px}.agent-create-dialog .avatar-picker__grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;max-height:180px;padding:8px 20px}.agent-create-dialog__error{color:var(--danger);margin:10px 0 0;font-size:12px}.agent-create-dialog__actions{padding:12px 16px}@media (width<=560px){.agent-create-dialog__body{padding:12px}.agent-create-dialog .avatar-picker__grid{grid-template-columns:repeat(4,minmax(0,1fr));padding:8px 10px}}
